|
25 | 25 | > |
26 | 26 | <EditorAbsoluteCommands |
27 | 27 | :title="t('editor.aside.commands.contents[0].title')" |
28 | | - :description="t('editor.aside.commands.contents[0].description')" |
| 28 | + :description=" |
| 29 | + t('editor.aside.commands.contents[0].description', { |
| 30 | + prefix: `${EDITOR.configuration.commands.prefix}${EDITOR.configuration.commands.paragraph.prefix}`, |
| 31 | + }) |
| 32 | + " |
29 | 33 | > |
30 | 34 | <template #icon> |
31 | 35 | <svg |
|
47 | 51 | </EditorAbsoluteCommands> |
48 | 52 | <EditorAbsoluteCommands |
49 | 53 | :title="t('editor.aside.commands.contents[4].title')" |
50 | | - :description="t('editor.aside.commands.contents[4].description')" |
| 54 | + :description=" |
| 55 | + t('editor.aside.commands.contents[4].description', { |
| 56 | + prefix: `${EDITOR.configuration.commands.prefix}${EDITOR.configuration.commands.headingTwo.prefix}`, |
| 57 | + }) |
| 58 | + " |
51 | 59 | > |
52 | 60 | <template #icon> |
53 | 61 | <svg |
|
75 | 83 | </EditorAbsoluteCommands> |
76 | 84 | <EditorAbsoluteCommands |
77 | 85 | :title="t('editor.aside.commands.contents[5].title')" |
78 | | - :description="t('editor.aside.commands.contents[5].description')" |
| 86 | + :description=" |
| 87 | + t('editor.aside.commands.contents[5].description', { |
| 88 | + prefix: `${EDITOR.configuration.commands.prefix}${EDITOR.configuration.commands.lineBreak.prefix}`, |
| 89 | + }) |
| 90 | + " |
79 | 91 | > |
80 | 92 | <template #icon> |
81 | 93 | <svg |
|
103 | 115 | </EditorAbsoluteCommands> |
104 | 116 | <EditorAbsoluteCommands |
105 | 117 | :title="t('editor.aside.commands.contents[6].title')" |
106 | | - :description="t('editor.aside.commands.contents[6].description')" |
| 118 | + :description=" |
| 119 | + t('editor.aside.commands.contents[6].description', { |
| 120 | + prefix: `${EDITOR.configuration.commands.prefix}${EDITOR.configuration.commands.pageBreak.prefix}`, |
| 121 | + }) |
| 122 | + " |
107 | 123 | > |
108 | 124 | <template #icon> |
109 | 125 | <svg |
|
151 | 167 | </EditorAbsoluteCommands> |
152 | 168 | <EditorAbsoluteCommands |
153 | 169 | :title="t('editor.aside.commands.contents[7].title')" |
154 | | - :description="t('editor.aside.commands.contents[7].description')" |
| 170 | + :description=" |
| 171 | + t('editor.aside.commands.contents[7].description', { |
| 172 | + prefix: `${EDITOR.configuration.commands.prefix}${EDITOR.configuration.commands.lineBreak.prefix}`, |
| 173 | + }) |
| 174 | + " |
155 | 175 | > |
156 | 176 | <template #icon> |
157 | 177 | <svg |
|
174 | 194 | </EditorAbsoluteCommands> |
175 | 195 | <EditorAbsoluteCommands |
176 | 196 | :title="t('editor.aside.commands.contents[8].title')" |
177 | | - :description="t('editor.aside.commands.contents[8].description')" |
| 197 | + :description=" |
| 198 | + t('editor.aside.commands.contents[8].description', { |
| 199 | + prefix: `${EDITOR.configuration.commands.prefix}${EDITOR.configuration.commands.image.prefix}`, |
| 200 | + }) |
| 201 | + " |
178 | 202 | > |
179 | 203 | <template #icon> |
180 | 204 | <svg |
|
196 | 220 | </EditorAbsoluteCommands> |
197 | 221 | <EditorAbsoluteCommands |
198 | 222 | :title="t('editor.aside.commands.contents[9].title')" |
199 | | - :description="t('editor.aside.commands.contents[9].description')" |
| 223 | + :description=" |
| 224 | + t('editor.aside.commands.contents[9].description', { |
| 225 | + prefix: `${EDITOR.configuration.commands.prefix}${EDITOR.configuration.commands.dialogue.prefix}`, |
| 226 | + value: EDITOR.configuration.commands.dialogue.value, |
| 227 | + }) |
| 228 | + " |
200 | 229 | > |
201 | 230 | <template #icon> |
202 | 231 | <svg |
|
220 | 249 | </template> |
221 | 250 |
|
222 | 251 | <script setup lang="ts"> |
| 252 | + import { useEditorStore } from '@/store/editor' |
223 | 253 | import { useI18n } from 'vue-i18n' |
224 | 254 |
|
| 255 | + const EDITOR = useEditorStore() |
| 256 | +
|
225 | 257 | const { t } = useI18n() |
226 | 258 | </script> |
0 commit comments