Add missing text domains to translations

[MAILPOET-6438]
This commit is contained in:
Rostislav Wolny
2025-01-16 11:22:50 +01:00
committed by Oluwaseun Olorunsola
parent eb03fc9bac
commit 99d7191a23
7 changed files with 16 additions and 11 deletions

View File

@ -62,7 +62,7 @@ export default function EditTemplateBlocksNotification( { contentRef } ) {
return (
<ConfirmDialog
isOpen={ isDialogOpen }
confirmButtonText={ __( 'Edit template' ) }
confirmButtonText={ __( 'Edit template', 'mailpoet' ) }
onConfirm={ () => {
setIsDialogOpen( false );
onNavigateToEntityRecord( {

View File

@ -67,7 +67,7 @@ export function KeyboardShortcuts(): null {
void registerShortcut( {
name: 'mailpoet/email-editor/undo',
category: 'block',
description: __( 'Undo your last changes.' ),
description: __( 'Undo your last changes.', 'mailpoet' ),
keyCombination: {
modifier: 'primary',
character: 'z',
@ -77,7 +77,7 @@ export function KeyboardShortcuts(): null {
void registerShortcut( {
name: 'mailpoet/email-editor/redo',
category: 'block',
description: __( 'Redo your last undo.' ),
description: __( 'Redo your last undo.', 'mailpoet' ),
keyCombination: {
modifier: 'primaryShift',
character: 'z',

View File

@ -25,7 +25,7 @@ const CategoryMenu = ( {
onClick={ () => onCategorySelect( null ) }
className={ getMenuItemClass( null ) }
>
{ __( 'All' ) }
{ __( 'All', 'mailpoet' ) }
</MenuItem>
<div
className="mailpoet-personalization-tags-modal__menu-separator"

View File

@ -65,9 +65,10 @@ const CategorySection = ( {
}
} }
>
{ __( 'Insert' ) }
{ __( 'Insert', 'mailpoet' ) }
</Button>
{ category === __( 'Link' ) &&
{ category ===
__( 'Link', 'mailpoet' ) &&
canInsertLink && (
<>
<Button
@ -80,7 +81,8 @@ const CategorySection = ( {
} }
>
{ __(
'Insert as link'
'Insert as link',
'mailpoet'
) }
</Button>
</>

View File

@ -36,7 +36,7 @@ const LinkModal = ( { onInsert, isOpened, closeCallback, tag } ) => {
}
} }
>
{ __( 'Insert' ) }
{ __( 'Insert', 'mailpoet' ) }
</Button>
</Modal>
);

View File

@ -20,7 +20,9 @@ export function HeaderTabs( _, ref ) {
? __( 'Template', 'mailpoet' )
: __( 'Email', 'mailpoet' ) }
</Tabs.Tab>
<Tabs.Tab tabId={ mainSidebarBlockTab }>{ __( 'Block' ) }</Tabs.Tab>
<Tabs.Tab tabId={ mainSidebarBlockTab }>
{ __( 'Block', 'mailpoet' ) }
</Tabs.Tab>
</Tabs.TabList>
);
}

View File

@ -33,10 +33,11 @@ function TemplateNoResults() {
className="block-editor-inserter__no-results-icon"
icon={ blockDefault }
/>
<p>{ __( 'No recent templates.' ) }</p>
<p>{ __( 'No recent templates.', 'mailpoet' ) }</p>
<p>
{ __(
'Your recent creations will appear here as soon as you begin.'
'Your recent creations will appear here as soon as you begin.',
'mailpoet'
) }
</p>
</div>