mirror of
https://github.com/codex-team/editor.js
synced 2024-06-26 09:20:07 +02:00
Improvements: more translations added to the i18n example (#1250)
This commit is contained in:
parent
52d919cea4
commit
33be2052ed
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -46,3 +46,6 @@
|
|||
[submodule "example/tools/warning"]
|
||||
path = example/tools/warning
|
||||
url = https://github.com/editor-js/warning
|
||||
[submodule "example/tools/underline"]
|
||||
path = example/tools/underline
|
||||
url = https://github.com/editor-js/underline
|
||||
|
|
2
dist/editor.js
vendored
2
dist/editor.js
vendored
File diff suppressed because one or more lines are too long
|
@ -44,7 +44,7 @@
|
|||
|
||||
<!-- Load Tools -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@editorjs/header@latest"></script><!-- Header -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@editorjs/simple-image@latest"></script><!-- Image -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@editorjs/image@latest"></script><!-- Image -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@editorjs/delimiter@latest"></script><!-- Delimiter -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@editorjs/list@latest"></script><!-- List -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/@editorjs/checklist@latest"></script><!-- Checklist -->
|
||||
|
@ -81,6 +81,11 @@
|
|||
* Tools list
|
||||
*/
|
||||
tools: {
|
||||
paragraph: {
|
||||
config: {
|
||||
placeholder: "Enter something"
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Each Tool is a Plugin. Pass them via 'class' option with necessary settings {@link docs/tools.md}
|
||||
*/
|
||||
|
@ -96,7 +101,7 @@
|
|||
/**
|
||||
* Or pass class directly without any configuration
|
||||
*/
|
||||
image: SimpleImage,
|
||||
image: ImageTool,
|
||||
|
||||
list: {
|
||||
class: List,
|
||||
|
@ -209,6 +214,7 @@
|
|||
"Bold": "Полужирный",
|
||||
"Italic": "Курсив",
|
||||
"InlineCode": "Моноширинный",
|
||||
"Image": "Картинка"
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -235,6 +241,32 @@
|
|||
*/
|
||||
"stub": {
|
||||
'The block can not be displayed correctly.': 'Блок не может быть отображен'
|
||||
},
|
||||
"image": {
|
||||
"Caption": "Подпись",
|
||||
"Select an Image": "Выберите файл",
|
||||
"With border": "Добавить рамку",
|
||||
"Stretch image": "Растянуть",
|
||||
"With background": "Добавить подложку",
|
||||
},
|
||||
"code": {
|
||||
"Enter a code": "Код",
|
||||
},
|
||||
"linkTool": {
|
||||
"Link": "Ссылка",
|
||||
"Couldn't fetch the link data": "Не удалось получить данные",
|
||||
"Couldn't get this link data, try the other one": "Не удалось получить данные по ссылке, попробуйте другую",
|
||||
"Wrong response format from the server": "Неполадки на сервере",
|
||||
},
|
||||
"header": {
|
||||
"Header": "Заголовок",
|
||||
},
|
||||
"paragraph": {
|
||||
"Enter something": "Введите текст"
|
||||
},
|
||||
"list": {
|
||||
"Ordered": "Нумерованный",
|
||||
"Unordered": "Маркированный",
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -354,7 +386,9 @@
|
|||
{
|
||||
type: 'image',
|
||||
data: {
|
||||
url: 'assets/codex2x.png',
|
||||
file : {
|
||||
url: 'assets/codex2x.png',
|
||||
},
|
||||
caption: '',
|
||||
stretched: false,
|
||||
withBorder: true,
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit df6dcedb92ef586901b04cf72946aced9e36e58d
|
||||
Subproject commit c4c3f564b30cd1bbdeb0bd75a7bd5e6b7dbef61b
|
|
@ -1 +1 @@
|
|||
Subproject commit 1297b8c280ff34efaca8f3a2a3d263ec4201077d
|
||||
Subproject commit 8b74d1bef0a925587841dc79a644f0fef2341a23
|
|
@ -1 +1 @@
|
|||
Subproject commit 6819831b7166c1cdfa31df77ab569274d9910aac
|
||||
Subproject commit 44ec669216315cd064629fe0d5cab4773d8bb8eb
|
|
@ -1 +1 @@
|
|||
Subproject commit 44473de4c60dd836ccb61b4dbcf4cc00088acd19
|
||||
Subproject commit 034240d58c3186967a0f5b692d9a52ae9cd584cb
|
|
@ -1 +1 @@
|
|||
Subproject commit 93e0b6d6418034f4e7ee704aba090cc25ca16ac2
|
||||
Subproject commit bd5249244eea80d061773aa45a4de877a7829041
|
|
@ -1 +1 @@
|
|||
Subproject commit 1d6f474c14613c60344d30ebd930a18ca123e4a4
|
||||
Subproject commit c78c013e1c3890dfd714f7957aa43c803c544e4b
|
|
@ -1 +1 @@
|
|||
Subproject commit 37a5e8d1db305cf75acd6622d9b82e2f308f71c6
|
||||
Subproject commit 051b8e9e03e2f6bea30875da8253f6c0d858b231
|
|
@ -1 +1 @@
|
|||
Subproject commit 33ffba6f9104d163c69c963ca06fed329a819238
|
||||
Subproject commit 0a0d73b49c2d8077a3e62096c44741db6295e12f
|
|
@ -1 +1 @@
|
|||
Subproject commit f537cf6ecb26fece34c56a85b51e79b07451e69e
|
||||
Subproject commit 497c0437c5572cb9010988e2edf0d5548d58c441
|
|
@ -1 +1 @@
|
|||
Subproject commit c68375288c40774e8d8ceff79aa559d562078aaa
|
||||
Subproject commit 6708697c1af79abbf6650f0f14e1cedc45eb5213
|
|
@ -1 +1 @@
|
|||
Subproject commit 58bf8bd571ae259e3d150ac0c12d1676e5706470
|
||||
Subproject commit 119611a4735eba7069776a2b2494d9e70c74e707
|
|
@ -1 +1 @@
|
|||
Subproject commit 7c6d41603797ebfd00d59fc7ff623342b8f5a48c
|
||||
Subproject commit 698d1e35a682126befdd381d1963242e6b3b9b82
|
|
@ -1 +1 @@
|
|||
Subproject commit 0fd96a70b371af0cc0720b8c2c0d0888b8a44bc5
|
||||
Subproject commit 369b7e7c5a7aaef72751a62702ca4fd1222d6c97
|
|
@ -1 +1 @@
|
|||
Subproject commit af9dc3885077ab2ea1b0ae8ae0d145ff1a40fc40
|
||||
Subproject commit b666a0dc2ec24e3a25582f4598ca39954d3b3a34
|
|
@ -1 +1 @@
|
|||
Subproject commit 293109d03d9ff3cdecc52ec959866662d80dd0ce
|
||||
Subproject commit 7a99d65f25c371976266062ff74b5d2d4c648433
|
|
@ -1 +1 @@
|
|||
Subproject commit 306ed49135905d56ebb7d55f90f26fcd603ca7f1
|
||||
Subproject commit c6c528aa2a5f660d1cbb5f3a45c088d65b11784d
|
Loading…
Reference in a new issue