Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
f2a5323
Revert #55219 fix/block-settings-origins (#58951)
ajlende Feb 14, 2024
de9eb98
Font Library: fixes installed font families not rendering in the edit…
matiasbenedetto Feb 14, 2024
3f62ea1
Patterns: Check we are not within a pattern instance before running b…
glendaviesnz Feb 15, 2024
4d94d57
Fix wrong commas (#59029)
cbravobernal Feb 15, 2024
331f046
do not match firefox for ios because it's not Gecko but webkit. (#59037)
matiasbenedetto Feb 15, 2024
b348e5c
useEntityBlockEditor: Update 'content' type check (#59058)
Mamaduka Feb 15, 2024
6e5a64f
Enter editing mode via Enter or Spacebar (#58795)
jeryj Feb 15, 2024
ecb9f52
Fix logic error in #58951 (#59101)
matiasbenedetto Feb 15, 2024
27a9a28
Navigation: Avoid using embedded records from fallback API (#59076)
Mamaduka Feb 16, 2024
97eb1e1
Allow editing of image block alt and title attributes in content only…
talldan Feb 16, 2024
7b589f9
Elements: Fix block instance element styles for links applying to but…
aaronrobertshaw Feb 16, 2024
a2f73e6
DataViews: Correctly display featured image that don't have image siz…
t-hamano Feb 16, 2024
3a6fad4
Block Bindings: Add block context needed for bindings in PHP (#58554)
SantosGuillamot Feb 16, 2024
54b7e41
After Enter transform, skip other onEnter actions like splitting (#59…
jsnajdr Feb 16, 2024
e109bed
Fix status control display (#58775)
jameskoster Feb 16, 2024
35f7226
Make 'All pages' view label consistent with template and patterns (#5…
jameskoster Feb 16, 2024
07eaea9
Font Library: adds the ability to use generic() in font family names.…
matiasbenedetto Feb 16, 2024
9cf215c
fix wrong (unprefixed) function name for variation_callback (#59126)
gaambo Feb 16, 2024
245b544
Update: Increate footnotes meta priority and separate footnotes meta …
jorgefilipecosta Feb 16, 2024
e14c1d9
Make command palette string transatables (#59133)
MarieComet Feb 17, 2024
234fb7d
Global style changes: refactor output for a more flexible UI and grou…
ramonjd Feb 19, 2024
5044d4c
No need for first argument (#59160)
ramonjd Feb 19, 2024
1605148
Modules API: Script Modules add deregister option. (#58830)
cbravobernal Feb 19, 2024
302d96f
Block Hooks: Fix in Navigation block (#59021)
ockham Feb 19, 2024
27da58c
Revert "Navigation: Refactor mobile overlay breakpoints to JS (#57520…
cbravobernal Feb 19, 2024
4fcb480
Fix upload button on overriden empty image block in patterns (#59169)
kevin940726 Feb 20, 2024
245d24e
Fix missing source for binding attributes (#59194)
kevin940726 Feb 20, 2024
0a92dc2
Image: Mark connected controls as 'readyonly' (#59059)
Mamaduka Feb 15, 2024
e69818e
Revert footer in pages list with DataViews (#59151)
ntsekouras Feb 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make command palette string transatables (#59133)
* Make command palette string transatables

* Apply suggestions from code review

Co-authored-by: Aki Hamano <[email protected]>

* Fix %1$s in command palette comment translation

* fix lint JS in use-edit-mode-command.js

---------

Co-authored-by: MarieComet <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: huzaifaalmesbah <[email protected]>
  • Loading branch information
4 people authored and getdave committed Feb 20, 2024
commit e14c1d95d9a4b80619f2cb15c63f345ad4d89346
28 changes: 14 additions & 14 deletions packages/edit-site/src/hooks/commands/use-edit-mode-commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ function usePageContentFocusCommands() {
if ( currentPostType !== 'wp_template' ) {
commands.push( {
name: 'core/switch-to-template-focus',
/* translators: %1$s: template title */
label: sprintf(
'Edit template: %s',
/* translators: %s: template title */
__( 'Edit template: %s' ),
decodeEntities( template.title )
),
icon: layout,
Expand Down Expand Up @@ -154,14 +154,14 @@ function useManipulateDocumentCommands() {
if ( isTemplateRevertable( template ) && ! isEditingPage ) {
const label =
template.type === TEMPLATE_POST_TYPE
? /* translators: %1$s: template title */
sprintf(
'Reset template: %s',
? sprintf(
/* translators: %s: template title */
__( 'Reset template: %s' ),
decodeEntities( template.title )
)
: /* translators: %1$s: template part title */
sprintf(
'Reset template part: %s',
: sprintf(
/* translators: %s: template part title */
__( 'Reset template part: %s' ),
decodeEntities( template.title )
);
commands.push( {
Expand All @@ -178,14 +178,14 @@ function useManipulateDocumentCommands() {
if ( isTemplateRemovable( template ) && ! isEditingPage ) {
const label =
template.type === TEMPLATE_POST_TYPE
? /* translators: %1$s: template title */
sprintf(
'Delete template: %s',
? sprintf(
/* translators: %s: template title */
__( 'Delete template: %s' ),
decodeEntities( template.title )
)
: /* translators: %1$s: template part title */
sprintf(
'Delete template part: %s',
: sprintf(
/* translators: %s: template part title */
__( 'Delete template part: %s' ),
decodeEntities( template.title )
);
const path =
Expand Down