diff --git a/src/admin/components/page-active.tsx b/src/admin/components/page-active.tsx index 7aa7c46..4bb4cef 100644 --- a/src/admin/components/page-active.tsx +++ b/src/admin/components/page-active.tsx @@ -130,7 +130,15 @@ export const PageActive = ( props: IActiveData ): ReactElement => { { props.reassign_to && ( <> - { __( 'Content Attributed', 'temporary-login' ) }: { props.reassign_to } + + { __( + 'Content Attributed:', + 'temporary-login' + ) } + { ' ' } + + { props.reassign_to } + { '. ' } ) } diff --git a/src/admin/components/page-inactive.tsx b/src/admin/components/page-inactive.tsx index be1248c..be3a7a3 100644 --- a/src/admin/components/page-inactive.tsx +++ b/src/admin/components/page-inactive.tsx @@ -1,5 +1,5 @@ import { ReactElement } from 'react'; -import { Button, CheckboxControl, ExternalLink, Icon, Notice } from '@wordpress/components'; +import { Button, CheckboxControl, Notice } from '@wordpress/components'; import { useMutation, useQueryClient } from '@tanstack/react-query'; import { QUERY_KEY } from '../common/constants'; import { __, sprintf } from '@wordpress/i18n'; @@ -42,7 +42,10 @@ export const PageInactive = (): ReactElement => {
@@ -87,6 +90,7 @@ export const PageInactive = (): ReactElement => { const ContentAttributedExplain = ( { displayName } ) => { const formattedMessage = sprintf( + /* translators: %s: user display name */ __( 'Content created by the temporary login user is temporary. To save it, select the option provided. The content will then be attributed to the %s user once the temporary access expires.', 'temporary-login'