@ckeditor/ckeditor5-code-block 41.3.0-alpha.4 → 41.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/code-block.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/az.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/ku.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sq.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/contexts.json +2 -1
- package/lang/translations/af.po +4 -0
- package/lang/translations/ar.po +4 -0
- package/lang/translations/az.po +4 -0
- package/lang/translations/bg.po +4 -0
- package/lang/translations/bn.po +4 -0
- package/lang/translations/bs.po +4 -0
- package/lang/translations/ca.po +4 -0
- package/lang/translations/cs.po +4 -0
- package/lang/translations/da.po +4 -0
- package/lang/translations/de-ch.po +4 -0
- package/lang/translations/de.po +4 -0
- package/lang/translations/el.po +4 -0
- package/lang/translations/en-au.po +4 -0
- package/lang/translations/en.po +4 -0
- package/lang/translations/es-co.po +4 -0
- package/lang/translations/es.po +4 -0
- package/lang/translations/et.po +4 -0
- package/lang/translations/fa.po +4 -0
- package/lang/translations/fi.po +4 -0
- package/lang/translations/fr.po +4 -0
- package/lang/translations/gl.po +4 -0
- package/lang/translations/he.po +4 -0
- package/lang/translations/hi.po +4 -0
- package/lang/translations/hr.po +4 -0
- package/lang/translations/hu.po +4 -0
- package/lang/translations/id.po +4 -0
- package/lang/translations/it.po +4 -0
- package/lang/translations/ja.po +4 -0
- package/lang/translations/jv.po +4 -0
- package/lang/translations/ko.po +4 -0
- package/lang/translations/ku.po +4 -0
- package/lang/translations/lt.po +4 -0
- package/lang/translations/lv.po +4 -0
- package/lang/translations/ms.po +4 -0
- package/lang/translations/nl.po +4 -0
- package/lang/translations/no.po +4 -0
- package/lang/translations/pl.po +4 -0
- package/lang/translations/pt-br.po +4 -0
- package/lang/translations/pt.po +4 -0
- package/lang/translations/ro.po +4 -0
- package/lang/translations/ru.po +4 -0
- package/lang/translations/sk.po +4 -0
- package/lang/translations/sq.po +4 -0
- package/lang/translations/sr-latn.po +4 -0
- package/lang/translations/sr.po +4 -0
- package/lang/translations/sv.po +4 -0
- package/lang/translations/th.po +4 -0
- package/lang/translations/tk.po +4 -0
- package/lang/translations/tr.po +4 -0
- package/lang/translations/ug.po +4 -0
- package/lang/translations/uk.po +4 -0
- package/lang/translations/ur.po +4 -0
- package/lang/translations/uz.po +4 -0
- package/lang/translations/vi.po +4 -0
- package/lang/translations/zh-cn.po +4 -0
- package/lang/translations/zh.po +4 -0
- package/package.json +2 -3
- package/src/codeblockui.js +34 -3
- package/dist/content-index.css +0 -22
- package/dist/editor-index.css +0 -11
- package/dist/index.css +0 -46
- package/dist/index.css.map +0 -1
- package/dist/translations/af.d.ts +0 -8
- package/dist/translations/af.js +0 -5
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -5
- package/dist/translations/az.d.ts +0 -8
- package/dist/translations/az.js +0 -5
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -5
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -5
- package/dist/translations/bs.d.ts +0 -8
- package/dist/translations/bs.js +0 -5
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -5
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -5
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -5
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -5
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -5
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -5
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -5
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -5
- package/dist/translations/es-co.d.ts +0 -8
- package/dist/translations/es-co.js +0 -5
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -5
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -5
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -5
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -5
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -5
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -5
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -5
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -5
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -5
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -5
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -5
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -5
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -5
- package/dist/translations/jv.d.ts +0 -8
- package/dist/translations/jv.js +0 -5
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -5
- package/dist/translations/ku.d.ts +0 -8
- package/dist/translations/ku.js +0 -5
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -5
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -5
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -5
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -5
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -5
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -5
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -5
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -5
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -5
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -5
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -5
- package/dist/translations/sq.d.ts +0 -8
- package/dist/translations/sq.js +0 -5
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -5
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -5
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -5
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -5
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -5
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -5
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -5
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -5
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -5
- package/dist/translations/uz.d.ts +0 -8
- package/dist/translations/uz.js +0 -5
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -5
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -5
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -5
- package/dist/types/augmentation.d.ts +0 -29
- package/dist/types/codeblock.d.ts +0 -33
- package/dist/types/codeblockcommand.d.ts +0 -64
- package/dist/types/codeblockconfig.d.ts +0 -150
- package/dist/types/codeblockediting.d.ts +0 -40
- package/dist/types/codeblockui.d.ts +0 -33
- package/dist/types/converters.d.ts +0 -130
- package/dist/types/indentcodeblockcommand.d.ts +0 -37
- package/dist/types/index.d.ts +0 -19
- package/dist/types/outdentcodeblockcommand.d.ts +0 -37
- package/dist/types/utils.d.ts +0 -142
package/lang/translations/fr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Insérer un bloc de code"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Texte brut"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Bloc de code"
|
package/lang/translations/gl.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Inserir bloque de código"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Texto simple"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/he.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "הוספת קטע קוד"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "טקסט פשוט"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "בלוק קוד"
|
package/lang/translations/hi.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Insert code block"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Plain text"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "कोड ब्लॉक"
|
package/lang/translations/hr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Umetni blok koda"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Običan tekst"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/hu.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Kód blokk beszúrása"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Egyszerű szöveg"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Kódblokk"
|
package/lang/translations/id.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Sisipkan blok kode"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Teks mentah"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Blok kode"
|
package/lang/translations/it.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Inserisci blocco di codice"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Testo semplice"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Blocco di codice"
|
package/lang/translations/ja.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "コードブロックの挿入"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "プレインテキスト"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "コードブロック"
|
package/lang/translations/jv.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr ""
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Seratan biasa"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/ko.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "코드 블럭 삽입"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "평문"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "코드 블록"
|
package/lang/translations/ku.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "دانانی خشتەی کۆد"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "تێکستی سادە"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/lt.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Įterpti codų bloką"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Paprastasis tekstas"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Kodų blokas"
|
package/lang/translations/lv.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Ievietot koda bloku"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Vienkāršs teksts"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Koda bloks"
|
package/lang/translations/ms.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Masukkan blok kod"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Teks kosong"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Sekatan kod"
|
package/lang/translations/nl.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Codeblok invoegen"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Platte tekst"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Codeblok"
|
package/lang/translations/no.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Sett inn kodeblokk"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Ren tekst"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Kodeblokk"
|
package/lang/translations/pl.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Wstaw blok kodu"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Zwykły tekst"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Blok kodu"
|
|
@@ -24,3 +24,7 @@ msgstr "Inserir bloco de código"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Texto sem formatação"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Bloco de código"
|
package/lang/translations/pt.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Inserir bloco de citação"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Texto simples"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Bloco de código"
|
package/lang/translations/ro.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Inserează un bloc code"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Text simplu"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Bloc de cod"
|
package/lang/translations/ru.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Вставить код"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Простой текст"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Блок кодов"
|
package/lang/translations/sk.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Vložte blok kódu"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Čistý text"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Blok kódu"
|
package/lang/translations/sq.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Shto bllokun e kodit"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Teksti i thjeshtë"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
|
@@ -24,3 +24,7 @@ msgstr "Dodaj blok koda"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Običan tekst"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/sr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Додај блок кода"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Обичан текст"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Blok koda"
|
package/lang/translations/sv.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Infoga kodblock"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Vanlig text"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Kodblock"
|
package/lang/translations/th.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "เพิ่มโค้ดบล็อก"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "ข้อความธรรมดา"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "บล็อกรหัส"
|
package/lang/translations/tk.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Kod blogyna goýuň"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Düz tekst"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/tr.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Kod bloğu ekle"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Düz metin"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Kod bloku"
|
package/lang/translations/ug.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "كود بۆلىكى قىستۇر"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "ساپ تېكىست"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/uk.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Вставте блок коду"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Простий текст"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Блок коду"
|
package/lang/translations/ur.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "کوڈ خانہ نصب کیرں"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "سادہ متن"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/uz.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Kodni kiritish"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Oddiy matn"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr ""
|
package/lang/translations/vi.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "Chèn khối mã"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "Văn bản thuần"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "Khối mã"
|
|
@@ -24,3 +24,7 @@ msgstr "插入代码块"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "纯文本"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "代码块"
|
package/lang/translations/zh.po
CHANGED
|
@@ -24,3 +24,7 @@ msgstr "插入程式碼區塊"
|
|
|
24
24
|
msgctxt "A language of the code block in the editor content when no specific programming language is associated with it."
|
|
25
25
|
msgid "Plain text"
|
|
26
26
|
msgstr "純文字"
|
|
27
|
+
|
|
28
|
+
msgctxt "The accessible label of the menu bar button that inserts a code block into editor content."
|
|
29
|
+
msgid "Code block"
|
|
30
|
+
msgstr "程式碼區塊"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-code-block",
|
|
3
|
-
"version": "41.3.0
|
|
3
|
+
"version": "41.3.0",
|
|
4
4
|
"description": "Code block feature for CKEditor 5.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ckeditor",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "src/index.js",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"ckeditor5": "41.3.0
|
|
16
|
+
"ckeditor5": "41.3.0"
|
|
17
17
|
},
|
|
18
18
|
"author": "CKSource (http://cksource.com/)",
|
|
19
19
|
"license": "GPL-2.0-or-later",
|
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"directory": "packages/ckeditor5-code-block"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
|
-
"dist",
|
|
29
28
|
"lang",
|
|
30
29
|
"src/**/*.js",
|
|
31
30
|
"src/**/*.d.ts",
|
package/src/codeblockui.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { icons, Plugin } from 'ckeditor5/src/core.js';
|
|
9
9
|
import { Collection } from 'ckeditor5/src/utils.js';
|
|
10
|
-
import { ViewModel, SplitButtonView, createDropdown, addListToDropdown } from 'ckeditor5/src/ui.js';
|
|
10
|
+
import { ViewModel, SplitButtonView, createDropdown, addListToDropdown, MenuBarMenuListItemButtonView, MenuBarMenuListView, MenuBarMenuView, MenuBarMenuListItemView } from 'ckeditor5/src/ui.js';
|
|
11
11
|
import { getNormalizedAndLocalizedLanguageDefinitions } from './utils.js';
|
|
12
12
|
import '../theme/codeblock.css';
|
|
13
13
|
/**
|
|
@@ -30,8 +30,9 @@ export default class CodeBlockUI extends Plugin {
|
|
|
30
30
|
const t = editor.t;
|
|
31
31
|
const componentFactory = editor.ui.componentFactory;
|
|
32
32
|
const normalizedLanguageDefs = getNormalizedAndLocalizedLanguageDefinitions(editor);
|
|
33
|
+
const itemDefinitions = this._getLanguageListItemDefinitions(normalizedLanguageDefs);
|
|
34
|
+
const command = editor.commands.get('codeBlock');
|
|
33
35
|
componentFactory.add('codeBlock', locale => {
|
|
34
|
-
const command = editor.commands.get('codeBlock');
|
|
35
36
|
const dropdownView = createDropdown(locale, SplitButtonView);
|
|
36
37
|
const splitButtonView = dropdownView.buttonView;
|
|
37
38
|
const accessibleLabel = t('Insert code block');
|
|
@@ -57,12 +58,42 @@ export default class CodeBlockUI extends Plugin {
|
|
|
57
58
|
});
|
|
58
59
|
dropdownView.class = 'ck-code-block-dropdown';
|
|
59
60
|
dropdownView.bind('isEnabled').to(command);
|
|
60
|
-
addListToDropdown(dropdownView,
|
|
61
|
+
addListToDropdown(dropdownView, itemDefinitions, {
|
|
61
62
|
role: 'menu',
|
|
62
63
|
ariaLabel: accessibleLabel
|
|
63
64
|
});
|
|
64
65
|
return dropdownView;
|
|
65
66
|
});
|
|
67
|
+
componentFactory.add('menuBar:codeBlock', locale => {
|
|
68
|
+
const menuView = new MenuBarMenuView(locale);
|
|
69
|
+
menuView.buttonView.set({
|
|
70
|
+
label: t('Code block'),
|
|
71
|
+
icon: icons.codeBlock
|
|
72
|
+
});
|
|
73
|
+
menuView.bind('isEnabled').to(command);
|
|
74
|
+
const listView = new MenuBarMenuListView(locale);
|
|
75
|
+
listView.set({
|
|
76
|
+
ariaLabel: t('Insert code block')
|
|
77
|
+
});
|
|
78
|
+
for (const definition of itemDefinitions) {
|
|
79
|
+
const listItemView = new MenuBarMenuListItemView(locale, menuView);
|
|
80
|
+
const buttonView = new MenuBarMenuListItemButtonView(locale);
|
|
81
|
+
buttonView.bind(...Object.keys(definition.model)).to(definition.model);
|
|
82
|
+
buttonView.bind('ariaChecked').to(buttonView, 'isOn');
|
|
83
|
+
buttonView.delegate('execute').to(menuView);
|
|
84
|
+
buttonView.on('execute', () => {
|
|
85
|
+
editor.execute('codeBlock', {
|
|
86
|
+
language: definition.model._codeBlockLanguage,
|
|
87
|
+
forceValue: command.value == definition.model._codeBlockLanguage ? false : true
|
|
88
|
+
});
|
|
89
|
+
editor.editing.view.focus();
|
|
90
|
+
});
|
|
91
|
+
listItemView.children.add(buttonView);
|
|
92
|
+
listView.items.add(listItemView);
|
|
93
|
+
}
|
|
94
|
+
menuView.panelView.children.add(listView);
|
|
95
|
+
return menuView;
|
|
96
|
+
});
|
|
66
97
|
}
|
|
67
98
|
/**
|
|
68
99
|
* A helper returning a collection of the `codeBlock` dropdown items representing languages
|
package/dist/content-index.css
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
.ck-content pre {
|
|
6
|
-
padding: 1em;
|
|
7
|
-
color: hsl(0, 0%, 20.8%);
|
|
8
|
-
background: hsla(0, 0%, 78%, 0.3);
|
|
9
|
-
border: 1px solid hsl(0, 0%, 77%);
|
|
10
|
-
border-radius: 2px;
|
|
11
|
-
text-align: left;
|
|
12
|
-
direction: ltr;
|
|
13
|
-
tab-size: 4;
|
|
14
|
-
white-space: pre-wrap;
|
|
15
|
-
font-style: normal;
|
|
16
|
-
min-width: 200px;
|
|
17
|
-
}
|
|
18
|
-
.ck-content pre code {
|
|
19
|
-
background: unset;
|
|
20
|
-
padding: 0;
|
|
21
|
-
border-radius: 0;
|
|
22
|
-
}
|
package/dist/editor-index.css
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
.ck.ck-editor__editable pre {
|
|
6
|
-
position: relative;
|
|
7
|
-
}
|
|
8
|
-
.ck.ck-editor__editable pre[data-language]::after {
|
|
9
|
-
content: attr(data-language);
|
|
10
|
-
position: absolute;
|
|
11
|
-
}
|
package/dist/index.css
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
/*
|
|
6
|
-
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
7
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
.ck-content pre {
|
|
11
|
-
padding: 1em;
|
|
12
|
-
color: hsl(0, 0%, 20.8%);
|
|
13
|
-
background: hsla(0, 0%, 78%, 0.3);
|
|
14
|
-
border: 1px solid hsl(0, 0%, 77%);
|
|
15
|
-
border-radius: 2px;
|
|
16
|
-
|
|
17
|
-
/* Code block are language direction–agnostic. */
|
|
18
|
-
text-align: left;
|
|
19
|
-
direction: ltr;
|
|
20
|
-
|
|
21
|
-
tab-size: 4;
|
|
22
|
-
white-space: pre-wrap;
|
|
23
|
-
|
|
24
|
-
/* Don't inherit the style, e.g. when in a block quote. */
|
|
25
|
-
font-style: normal;
|
|
26
|
-
|
|
27
|
-
/* Don't let the code be squashed e.g. when in a table cell. */
|
|
28
|
-
min-width: 200px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ck-content pre code {
|
|
32
|
-
background: unset;
|
|
33
|
-
padding: 0;
|
|
34
|
-
border-radius: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ck.ck-editor__editable pre {
|
|
38
|
-
position: relative;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.ck.ck-editor__editable pre[data-language]::after {
|
|
42
|
-
content: attr(data-language);
|
|
43
|
-
position: absolute;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../theme/codeblock.css","index.css"],"names":[],"mappings":"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","file":"index.css.map","sourcesContent":["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content pre {\n\tpadding: 1em;\n\tcolor: hsl(0, 0%, 20.8%);\n\tbackground: hsla(0, 0%, 78%, 0.3);\n\tborder: 1px solid hsl(0, 0%, 77%);\n\tborder-radius: 2px;\n\n\t/* Code block are language direction–agnostic. */\n\ttext-align: left;\n\tdirection: ltr;\n\n\ttab-size: 4;\n\twhite-space: pre-wrap;\n\n\t/* Don't inherit the style, e.g. when in a block quote. */\n\tfont-style: normal;\n\n\t/* Don't let the code be squashed e.g. when in a table cell. */\n\tmin-width: 200px;\n\n\t& code {\n\t\tbackground: unset;\n\t\tpadding: 0;\n\t\tborder-radius: 0;\n\t}\n}\n\n.ck.ck-editor__editable pre {\n\tposition: relative;\n\n\t&[data-language]::after {\n\t\tcontent: attr(data-language);\n\t\tposition: absolute;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content pre {\n\tpadding: 1em;\n\tcolor: hsl(0, 0%, 20.8%);\n\tbackground: hsla(0, 0%, 78%, 0.3);\n\tborder: 1px solid hsl(0, 0%, 77%);\n\tborder-radius: 2px;\n\n\t/* Code block are language direction–agnostic. */\n\ttext-align: left;\n\tdirection: ltr;\n\n\ttab-size: 4;\n\twhite-space: pre-wrap;\n\n\t/* Don't inherit the style, e.g. when in a block quote. */\n\tfont-style: normal;\n\n\t/* Don't let the code be squashed e.g. when in a table cell. */\n\tmin-width: 200px;\n}\n\n.ck-content pre code {\n\t\tbackground: unset;\n\t\tpadding: 0;\n\t\tborder-radius: 0;\n\t}\n\n.ck.ck-editor__editable pre {\n\tposition: relative;\n}\n\n.ck.ck-editor__editable pre[data-language]::after {\n\t\tcontent: attr(data-language);\n\t\tposition: absolute;\n\t}\n\n/*# sourceMappingURL=index.css.map */"]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/af.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"af":{"dictionary":{"Insert code block":"Voeg bronkodeblok in","Plain text":"Gewone skrif"},getPluralForm(n){return (n != 1);}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/ar.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"ar":{"dictionary":{"Insert code block":"إدراج كتلة تعليمات برمجية","Plain text":"نص عادي"},getPluralForm(n){return n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/az.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"az":{"dictionary":{"Insert code block":"Kod blokunu əlavə et","Plain text":"Sadə mətn"},getPluralForm(n){return (n != 1);}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/bg.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"bg":{"dictionary":{"Insert code block":"Въведи кодов блок","Plain text":"Обикновен текст"},getPluralForm(n){return (n != 1);}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/bn.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"bn":{"dictionary":{"Insert code block":"কোড ব্লক ঢোকান","Plain text":"প্লেইন টেক্সট"},getPluralForm(n){return (n != 1);}}}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import type { Translations } from 'ckeditor5';
|
|
7
|
-
declare const translations: Translations;
|
|
8
|
-
export default translations;
|
package/dist/translations/bs.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
|
4
|
-
*/
|
|
5
|
-
export default {"bs":{"dictionary":{"Insert code block":"Umetni kod blok","Plain text":"Tekst"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
|