Skip to content

Commit

Permalink
Add text domain to translation target
Browse files Browse the repository at this point in the history
  • Loading branch information
Olein-jp authored Dec 25, 2023
1 parent 1e7348b commit bdd7389
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/editor-sidebar/create-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' } );
}
Expand Down
5 changes: 3 additions & 2 deletions src/editor-sidebar/update-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
) }
<br />
<ExternalLink href="https://make.wordpress.org/themes/handbook/review/required/#6-plugins">
Expand All @@ -211,7 +212,7 @@ export const UpdateThemePanel = () => {
// eslint-disable-next-line @wordpress/i18n-no-collapsible-whitespace
placeholder={ __( `Plugin Name

Check failure on line 213 in src/editor-sidebar/update-panel.js

View workflow job for this annotation

GitHub Actions / Lint

Replace `·` with `⏎↹↹↹↹↹↹`
https://wordpress.org/plugins/plugin-name/
Plugin Description` ) }
Plugin Description`, 'create-block-theme' ) }

Check failure on line 215 in src/editor-sidebar/update-panel.js

View workflow job for this annotation

GitHub Actions / Lint

Replace `·'create-block-theme'·` with `⏎↹↹↹↹↹↹'create-block-theme'⏎↹↹↹↹↹`
value={ theme.recommended_plugins }
onChange={ ( value ) =>
setTheme( { ...theme, recommended_plugins: value } )
Expand Down

0 comments on commit bdd7389

Please sign in to comment.