mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 14:45:47 +01:00
add example of how to use i18n for Convert To buttons
This commit is contained in:
parent
9612e0d247
commit
a04c37b30b
1 changed files with 15 additions and 5 deletions
|
|
@ -107,7 +107,7 @@
|
|||
image: ImageTool,
|
||||
|
||||
list: {
|
||||
class: List,
|
||||
class: EditorjsList,
|
||||
inlineToolbar: true,
|
||||
shortcut: 'CMD+SHIFT+L'
|
||||
},
|
||||
|
|
@ -198,7 +198,11 @@
|
|||
},
|
||||
"popover": {
|
||||
"Filter": "Поиск",
|
||||
"Nothing found": "Ничего не найдено"
|
||||
"Nothing found": "Ничего не найдено",
|
||||
/**
|
||||
* Translation of "Convert To" at the Block Tunes Popover
|
||||
*/
|
||||
"Convert to": "Конвертировать в"
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -221,7 +225,7 @@
|
|||
"Bold": "Полужирный",
|
||||
"Italic": "Курсив",
|
||||
"InlineCode": "Моноширинный",
|
||||
"Image": "Картинка"
|
||||
"Image": "Картинка",
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
@ -274,7 +278,13 @@
|
|||
"list": {
|
||||
"Ordered": "Нумерованный",
|
||||
"Unordered": "Маркированный",
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Translation of "Convert To" at the Inline Toolbar hint
|
||||
*/
|
||||
"convertTo": {
|
||||
"Convert to": "Конвертировать в"
|
||||
},
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
@ -295,7 +305,7 @@
|
|||
},
|
||||
"moveDown": {
|
||||
"Move down": "Переместить вниз"
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue