From bdd7389efcc9b631c9dc32f3cf849907374ac1d4 Mon Sep 17 00:00:00 2001 From: Koji Kuno Date: Mon, 25 Dec 2023 13:21:46 +0900 Subject: [PATCH] Add text domain to translation target --- src/editor-sidebar/create-panel.js | 3 ++- src/editor-sidebar/update-panel.js | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/editor-sidebar/create-panel.js b/src/editor-sidebar/create-panel.js index df64c898..e6600f70 100644 --- a/src/editor-sidebar/create-panel.js +++ b/src/editor-sidebar/create-panel.js @@ -72,7 +72,8 @@ export const CreateThemePanel = () => { error.message && error.code !== 'unknown_error' ? error.message : __( - 'An error occurred while attempting to export the theme.' + 'An error occurred while attempting to export the theme.', + 'create-block-theme' ); createErrorNotice( errorMessage, { type: 'snackbar' } ); } diff --git a/src/editor-sidebar/update-panel.js b/src/editor-sidebar/update-panel.js index d66a9bb5..5e652a08 100644 --- a/src/editor-sidebar/update-panel.js +++ b/src/editor-sidebar/update-panel.js @@ -200,7 +200,8 @@ export const UpdateThemePanel = () => { help={ <> { __( - 'List the recommended plugins for this theme. e.g. contact forms, social media. Plugins must be from the WordPress.org plugin repository.' + 'List the recommended plugins for this theme. e.g. contact forms, social media. Plugins must be from the WordPress.org plugin repository.', + 'create-block-theme' ) }
@@ -211,7 +212,7 @@ export const UpdateThemePanel = () => { // eslint-disable-next-line @wordpress/i18n-no-collapsible-whitespace placeholder={ __( `Plugin Name https://wordpress.org/plugins/plugin-name/ -Plugin Description` ) } +Plugin Description`, 'create-block-theme' ) } value={ theme.recommended_plugins } onChange={ ( value ) => setTheme( { ...theme, recommended_plugins: value } )