@@ -46,76 +46,76 @@ const blockOptions: BlockOption[] = [
4646 {
4747 type : 'heading1' ,
4848 icon : Heading1 ,
49- label : 'document.slashMenu.name.heading1 ' ,
49+ label : 'toolbar.h1 ' ,
5050 blockType : BlockType . HeadingBlock ,
5151 data : { level : 1 } ,
5252 group : 'text' ,
5353 } ,
5454 {
5555 type : 'heading2' ,
5656 icon : Heading2 ,
57- label : 'document.slashMenu.name.heading2 ' ,
57+ label : 'toolbar.h2 ' ,
5858 blockType : BlockType . HeadingBlock ,
5959 data : { level : 2 } ,
6060 group : 'text' ,
6161 } ,
6262 {
6363 type : 'heading3' ,
6464 icon : Heading3 ,
65- label : 'document.slashMenu.name.heading3 ' ,
65+ label : 'toolbar.h3 ' ,
6666 blockType : BlockType . HeadingBlock ,
6767 data : { level : 3 } ,
6868 group : 'text' ,
6969 } ,
7070 {
7171 type : 'bulleted' ,
7272 icon : BulletedListSvg ,
73- label : 'toolbar.bulletList ' ,
73+ label : 'editor.bulletedListShortForm ' ,
7474 blockType : BlockType . BulletedListBlock ,
7575 group : 'list' ,
7676 } ,
7777 {
7878 type : 'numbered' ,
7979 icon : NumberedListSvg ,
80- label : 'editor.numberedList ' ,
80+ label : 'editor.numberedListShortForm ' ,
8181 blockType : BlockType . NumberedListBlock ,
8282 group : 'list' ,
8383 } ,
8484 {
8585 type : 'toggle' ,
8686 icon : ToggleListIcon ,
87- label : 'document.slashMenu.name.toggleList ' ,
87+ label : 'editor.toggleListShortForm ' ,
8888 blockType : BlockType . ToggleListBlock ,
8989 group : 'toggle' ,
9090 } ,
9191 {
9292 type : 'toggleHeading1' ,
9393 icon : ToggleHeading1Icon ,
94- label : 'document.slashMenu.name.toggleHeading1 ' ,
94+ label : 'editor.toggleHeading1ShortForm ' ,
9595 blockType : BlockType . ToggleListBlock ,
9696 data : { level : 1 } ,
9797 group : 'toggle' ,
9898 } ,
9999 {
100100 type : 'toggleHeading2' ,
101101 icon : ToggleHeading2Icon ,
102- label : 'document.slashMenu.name.toggleHeading2 ' ,
102+ label : 'editor.toggleHeading2ShortForm ' ,
103103 blockType : BlockType . ToggleListBlock ,
104104 data : { level : 2 } ,
105105 group : 'toggle' ,
106106 } ,
107107 {
108108 type : 'toggleHeading3' ,
109109 icon : ToggleHeading3Icon ,
110- label : 'document.slashMenu.name.toggleHeading3 ' ,
110+ label : 'editor.toggleHeading3ShortForm ' ,
111111 blockType : BlockType . ToggleListBlock ,
112112 data : { level : 3 } ,
113113 group : 'toggle' ,
114114 } ,
115115 {
116116 type : 'quote' ,
117117 icon : QuoteSvg ,
118- label : 'toolbar .quote' ,
118+ label : 'editor .quote' ,
119119 blockType : BlockType . QuoteBlock ,
120120 group : 'other' ,
121121 } ,
@@ -305,7 +305,7 @@ function TurnInfo() {
305305 userSelect : 'none' ,
306306 } }
307307 >
308- { t ( 'toolbar.suggestion ' , { defaultValue : 'Suggestion ' } ) }
308+ { t ( 'toolbar.suggestions ' , { defaultValue : 'Suggestions ' } ) }
309309 </ Typography >
310310 { suggestionOptions . map ( ( option , index ) => (
311311 < MenuItem
@@ -355,7 +355,7 @@ function TurnInfo() {
355355 userSelect : 'none' ,
356356 } }
357357 >
358- { t ( 'document.plugins.optionAction .turnInto' , { defaultValue : 'Turn into' } ) }
358+ { t ( 'toolbar .turnInto' , { defaultValue : 'Turn into' } ) }
359359 </ Typography >
360360 { turnIntoOptions . map ( ( option , index ) => (
361361 < MenuItem
0 commit comments