Skip to content

Commit

Permalink
fix: Updated strings to use panel
Browse files Browse the repository at this point in the history
  • Loading branch information
im3dabasia committed Feb 10, 2025
1 parent be0f32a commit cce5eec
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function AddCustomGenericTemplateModalContent( { onClose, createTemplate } ) {
placeholder={ defaultTitle }
disabled={ isBusy }
help={ __(
'Describe the template, e.g. "Post with sidebar". A custom template can be manually applied to any post or page.'
'Describe the template, e.g. "Post with panel". A custom template can be manually applied to any post or page.'
) }
/>
<HStack
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/welcome-guide/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function WelcomeGuidePage() {
</h1>
<p className="edit-site-welcome-guide__text">
{ __(
'It’s now possible to edit page content in the site editor. To customise other parts of the page like the header and footer switch to editing the template using the settings sidebar.'
'It’s now possible to edit page content in the site editor. To customise other parts of the page like the header and footer switch to editing the template using the settings panel.'
) }
</p>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function CreateNewTemplateModal( { onClose } ) {
placeholder={ DEFAULT_TITLE }
disabled={ isBusy }
help={ __(
'Describe the template, e.g. "Post with sidebar". A custom template can be manually applied to any post or page.'
'Describe the template, e.g. "Post with panel". A custom template can be manually applied to any post or page.'
) }
/>
<HStack justify="right">
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/preferences-modal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function PreferencesModalContents( { extraSections = {} } ) {
scope="core"
featureName="showListViewByDefault"
help={ __(
'Opens the List View sidebar by default.'
'Opens the List View panel by default.'
) }
label={ __( 'Always open List View' ) }
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/sidebar/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const SidebarHeader = ( _, ref ) => {
return {
documentLabel:
// translators: Default label for the Document sidebar tab, not selected.
getPostTypeLabel() || _x( 'Document', 'noun, sidebar' ),
getPostTypeLabel() || _x( 'Document', 'noun, panel' ),
};
}, [] );

Expand Down
2 changes: 1 addition & 1 deletion packages/editor/src/components/sidebar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const SidebarContent = ( {
headerClassName="editor-sidebar__panel-tabs"
title={
/* translators: button label text should, if possible, be under 16 characters. */
_x( 'Settings', 'sidebar button label' )
_x( 'Settings', 'panel button label' )
}
toggleShortcut={ keyboardShortcut }
icon={ isRTL() ? drawerLeft : drawerRight }
Expand Down

0 comments on commit cce5eec

Please sign in to comment.