@ckeditor/ckeditor5-language 41.3.0-alpha.4 → 41.3.1

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.
Files changed (113) hide show
  1. package/build/language.js +1 -1
  2. package/package.json +2 -3
  3. package/src/textpartlanguageui.d.ts +4 -0
  4. package/src/textpartlanguageui.js +84 -34
  5. package/dist/content-index.css +0 -4
  6. package/dist/editor-index.css +0 -4
  7. package/dist/index.css +0 -4
  8. package/dist/translations/ar.d.ts +0 -8
  9. package/dist/translations/ar.js +0 -5
  10. package/dist/translations/bg.d.ts +0 -8
  11. package/dist/translations/bg.js +0 -5
  12. package/dist/translations/bn.d.ts +0 -8
  13. package/dist/translations/bn.js +0 -5
  14. package/dist/translations/ca.d.ts +0 -8
  15. package/dist/translations/ca.js +0 -5
  16. package/dist/translations/cs.d.ts +0 -8
  17. package/dist/translations/cs.js +0 -5
  18. package/dist/translations/da.d.ts +0 -8
  19. package/dist/translations/da.js +0 -5
  20. package/dist/translations/de-ch.d.ts +0 -8
  21. package/dist/translations/de-ch.js +0 -5
  22. package/dist/translations/de.d.ts +0 -8
  23. package/dist/translations/de.js +0 -5
  24. package/dist/translations/el.d.ts +0 -8
  25. package/dist/translations/el.js +0 -5
  26. package/dist/translations/en-au.d.ts +0 -8
  27. package/dist/translations/en-au.js +0 -5
  28. package/dist/translations/en.d.ts +0 -8
  29. package/dist/translations/en.js +0 -5
  30. package/dist/translations/es.d.ts +0 -8
  31. package/dist/translations/es.js +0 -5
  32. package/dist/translations/et.d.ts +0 -8
  33. package/dist/translations/et.js +0 -5
  34. package/dist/translations/fi.d.ts +0 -8
  35. package/dist/translations/fi.js +0 -5
  36. package/dist/translations/fr.d.ts +0 -8
  37. package/dist/translations/fr.js +0 -5
  38. package/dist/translations/gl.d.ts +0 -8
  39. package/dist/translations/gl.js +0 -5
  40. package/dist/translations/he.d.ts +0 -8
  41. package/dist/translations/he.js +0 -5
  42. package/dist/translations/hi.d.ts +0 -8
  43. package/dist/translations/hi.js +0 -5
  44. package/dist/translations/hr.d.ts +0 -8
  45. package/dist/translations/hr.js +0 -5
  46. package/dist/translations/hu.d.ts +0 -8
  47. package/dist/translations/hu.js +0 -5
  48. package/dist/translations/id.d.ts +0 -8
  49. package/dist/translations/id.js +0 -5
  50. package/dist/translations/it.d.ts +0 -8
  51. package/dist/translations/it.js +0 -5
  52. package/dist/translations/ja.d.ts +0 -8
  53. package/dist/translations/ja.js +0 -5
  54. package/dist/translations/jv.d.ts +0 -8
  55. package/dist/translations/jv.js +0 -5
  56. package/dist/translations/ko.d.ts +0 -8
  57. package/dist/translations/ko.js +0 -5
  58. package/dist/translations/lt.d.ts +0 -8
  59. package/dist/translations/lt.js +0 -5
  60. package/dist/translations/lv.d.ts +0 -8
  61. package/dist/translations/lv.js +0 -5
  62. package/dist/translations/ms.d.ts +0 -8
  63. package/dist/translations/ms.js +0 -5
  64. package/dist/translations/nl.d.ts +0 -8
  65. package/dist/translations/nl.js +0 -5
  66. package/dist/translations/no.d.ts +0 -8
  67. package/dist/translations/no.js +0 -5
  68. package/dist/translations/pl.d.ts +0 -8
  69. package/dist/translations/pl.js +0 -5
  70. package/dist/translations/pt-br.d.ts +0 -8
  71. package/dist/translations/pt-br.js +0 -5
  72. package/dist/translations/pt.d.ts +0 -8
  73. package/dist/translations/pt.js +0 -5
  74. package/dist/translations/ro.d.ts +0 -8
  75. package/dist/translations/ro.js +0 -5
  76. package/dist/translations/ru.d.ts +0 -8
  77. package/dist/translations/ru.js +0 -5
  78. package/dist/translations/sk.d.ts +0 -8
  79. package/dist/translations/sk.js +0 -5
  80. package/dist/translations/sr-latn.d.ts +0 -8
  81. package/dist/translations/sr-latn.js +0 -5
  82. package/dist/translations/sr.d.ts +0 -8
  83. package/dist/translations/sr.js +0 -5
  84. package/dist/translations/sv.d.ts +0 -8
  85. package/dist/translations/sv.js +0 -5
  86. package/dist/translations/th.d.ts +0 -8
  87. package/dist/translations/th.js +0 -5
  88. package/dist/translations/tk.d.ts +0 -8
  89. package/dist/translations/tk.js +0 -5
  90. package/dist/translations/tr.d.ts +0 -8
  91. package/dist/translations/tr.js +0 -5
  92. package/dist/translations/tt.d.ts +0 -8
  93. package/dist/translations/tt.js +0 -5
  94. package/dist/translations/ug.d.ts +0 -8
  95. package/dist/translations/ug.js +0 -5
  96. package/dist/translations/uk.d.ts +0 -8
  97. package/dist/translations/uk.js +0 -5
  98. package/dist/translations/ur.d.ts +0 -8
  99. package/dist/translations/ur.js +0 -5
  100. package/dist/translations/vi.d.ts +0 -8
  101. package/dist/translations/vi.js +0 -5
  102. package/dist/translations/zh-cn.d.ts +0 -8
  103. package/dist/translations/zh-cn.js +0 -5
  104. package/dist/translations/zh.d.ts +0 -8
  105. package/dist/translations/zh.js +0 -5
  106. package/dist/types/augmentation.d.ts +0 -51
  107. package/dist/types/index.d.ts +0 -17
  108. package/dist/types/textpartlanguage.d.ts +0 -39
  109. package/dist/types/textpartlanguagecommand.d.ts +0 -74
  110. package/dist/types/textpartlanguageconfig.d.ts +0 -29
  111. package/dist/types/textpartlanguageediting.d.ts +0 -32
  112. package/dist/types/textpartlanguageui.d.ts +0 -27
  113. package/dist/types/utils.d.ts +0 -44
@@ -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;
@@ -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 {"jv":{"dictionary":{"Language":"Basa","Choose language":"Pilih basa","Remove language":"Busek basa"},getPluralForm(n){return 0;}}}
@@ -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;
@@ -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 {"ko":{"dictionary":{"Language":"언어","Choose language":"언어 선택","Remove language":"언어 제거"},getPluralForm(n){return 0;}}}
@@ -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;
@@ -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 {"lt":{"dictionary":{"Language":"Kalba","Choose language":"Pasirinkti kalbą","Remove language":"Pašalinti kalbą"},getPluralForm(n){return (n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);}}}
@@ -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;
@@ -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 {"lv":{"dictionary":{"Language":"Valoda","Choose language":"Izvēlēties valodu","Remove language":"Dzēst valodu"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);}}}
@@ -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;
@@ -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 {"ms":{"dictionary":{"Language":"Bahasa","Choose language":"Pilih bahasa","Remove language":"Buang bahasa"},getPluralForm(n){return 0;}}}
@@ -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;
@@ -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 {"nl":{"dictionary":{"Language":"Taal","Choose language":"Kies taal","Remove language":"Taal verwijderen"},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;
@@ -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 {"no":{"dictionary":{"Language":"Språk","Choose language":"Velg språk","Remove language":"Fjern språk"},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;
@@ -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 {"pl":{"dictionary":{"Language":"Język","Choose language":"Wybierz język","Remove language":"Usuń język"},getPluralForm(n){return (n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);}}}
@@ -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;
@@ -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 {"pt-br":{"dictionary":{"Language":"Idioma","Choose language":"Escolher idioma","Remove language":"Remover idioma"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -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;
@@ -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 {"pt":{"dictionary":{"Language":"Idioma","Choose language":"Escolher idioma","Remove language":"Remover idioma"},getPluralForm(n){return (n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;}}}
@@ -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;
@@ -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 {"ro":{"dictionary":{"Language":"Limbă","Choose language":"Alege limba","Remove language":"Șterge limba"},getPluralForm(n){return (n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2: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;
@@ -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 {"ru":{"dictionary":{"Language":"Язык","Choose language":"Выбрать язык","Remove language":"Убрать язык"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);}}}
@@ -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;
@@ -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 {"sk":{"dictionary":{"Language":"Jazyk","Choose language":"Vybrať jazyk","Remove language":"Odstrániť jazyk"},getPluralForm(n){return (n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);}}}
@@ -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;
@@ -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 {"sr-latn":{"dictionary":{"Language":"Jezik","Choose language":"Izaberi jezik","Remove language":"Odstrani jezik"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -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;
@@ -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 {"sr":{"dictionary":{"Language":"Језик","Choose language":"Изабери језик","Remove language":"Одстрани језик"},getPluralForm(n){return (n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);}}}
@@ -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;
@@ -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 {"sv":{"dictionary":{"Language":"Språk","Choose language":"Välj språk","Remove language":"Ta bort språk"},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;
@@ -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 {"th":{"dictionary":{"Language":"ภาษา","Choose language":"เลือกภาษา","Remove language":"ลบภาษา"},getPluralForm(n){return 0;}}}
@@ -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;
@@ -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 {"tk":{"dictionary":{"Language":"Dil","Choose language":"Dili saýlaň","Remove language":"Dili pozuň"},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;
@@ -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 {"tr":{"dictionary":{"Language":"Dil","Choose language":"Dil seç","Remove language":"Dili kaldır"},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;
@@ -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 {"tt":{"dictionary":{"Language":"Тел","Choose language":"","Remove language":""},getPluralForm(n){return 0;}}}
@@ -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;
@@ -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 {"ug":{"dictionary":{"Language":"تىل","Choose language":"تىل تاللاش","Remove language":"تىلنى چىقىرىۋەت"},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;
@@ -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 {"uk":{"dictionary":{"Language":"Мова","Choose language":"Обрати мову","Remove language":"Видалити мову"},getPluralForm(n){return (n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);}}}
@@ -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;
@@ -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 {"ur":{"dictionary":{"Language":"زبان","Choose language":"زبان کا انتخاب","Remove language":"زبان ہٹائیں"},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;
@@ -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 {"vi":{"dictionary":{"Language":"Ngôn ngữ","Choose language":"Chọn ngôn ngữ","Remove language":"Xóa ngôn ngữ"},getPluralForm(n){return 0;}}}
@@ -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;
@@ -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 {"zh-cn":{"dictionary":{"Language":"语言","Choose language":"选择语言","Remove language":"移除语言"},getPluralForm(n){return 0;}}}
@@ -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;
@@ -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 {"zh":{"dictionary":{"Language":"語言","Choose language":"選擇語言","Remove language":"移除語言"},getPluralForm(n){return 0;}}}
@@ -1,51 +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
- * @license 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
- import type { TextPartLanguageOption, TextPartLanguage, TextPartLanguageEditing, TextPartLanguageUI, TextPartLanguageCommand } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface LanguageConfig {
12
- /**
13
- * The available {@link module:language/textpartlanguage~TextPartLanguage}
14
- * options that allow setting the language of parts of the content.
15
- *
16
- * This configuration option is available only with the {@glink api/language text part language feature} enabled.
17
- *
18
- * Refer to the [WCAG 3.1.2 Language of Parts](https://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html) specification
19
- * to learn more.
20
- *
21
- * To change the editor's UI language, refer to the {@glink features/ui-language Setting the UI language} guide.
22
- *
23
- * The default value is:
24
- *
25
- * ```ts
26
- * const config = [
27
- * { title: 'Arabic', languageCode: 'ar' },
28
- * { title: 'French', languageCode: 'fr' },
29
- * { title: 'Spanish', languageCode: 'es' }
30
- * ];
31
- * ```
32
- *
33
- * The `title` property will be used by the text part language dropdown to render available options.
34
- *
35
- * The `languageCode` property is used for the `lang` attribute in the [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format.
36
- *
37
- * You can also specify the optional `textDirection` property indicating the reading direction of the language.
38
- * Correct values are `ltr` and `rtl`. When the `textDirection` property is missing, the text part language feature will
39
- * specify the text direction by itself.
40
- */
41
- textPartLanguage?: Array<TextPartLanguageOption>;
42
- }
43
- interface PluginsMap {
44
- [TextPartLanguage.pluginName]: TextPartLanguage;
45
- [TextPartLanguageEditing.pluginName]: TextPartLanguageEditing;
46
- [TextPartLanguageUI.pluginName]: TextPartLanguageUI;
47
- }
48
- interface CommandsMap {
49
- textPartLanguage: TextPartLanguageCommand;
50
- }
51
- }
@@ -1,17 +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
- * @license 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
- * @module language
11
- */
12
- export { default as TextPartLanguage } from './textpartlanguage.js';
13
- export { default as TextPartLanguageEditing } from './textpartlanguageediting.js';
14
- export { default as TextPartLanguageUI } from './textpartlanguageui.js';
15
- export type { TextPartLanguageOption } from './textpartlanguageconfig.js';
16
- export type { default as TextPartLanguageCommand } from './textpartlanguagecommand.js';
17
- import './augmentation.js';
@@ -1,39 +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
- * @license 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
- * @module language/textpartlanguage
11
- */
12
- import { Plugin } from 'ckeditor5/src/core.js';
13
- import TextPartLanguageEditing from './textpartlanguageediting.js';
14
- import TextPartLanguageUI from './textpartlanguageui.js';
15
- /**
16
- * The text part language feature.
17
- *
18
- * This feature allows setting a language of the document's text part to support
19
- * [WCAG 3.1.2 Language of Parts](https://www.w3.org/TR/UNDERSTANDING-WCAG20/meaning-other-lang-id.html) specification.
20
- *
21
- * To change the editor's UI language, refer to the {@glink features/ui-language Setting the UI language} guide.
22
- *
23
- * For more information about this feature, check the {@glink api/language package page} as well as the {@glink features/language
24
- * Text part language} feature guide.
25
- *
26
- * This is a "glue" plugin which loads the
27
- * {@link module:language/textpartlanguageediting~TextPartLanguageEditing text part language editing feature}
28
- * and the {@link module:language/textpartlanguageui~TextPartLanguageUI text part language UI feature}.
29
- */
30
- export default class TextPartLanguage extends Plugin {
31
- /**
32
- * @inheritDoc
33
- */
34
- static get requires(): readonly [typeof TextPartLanguageEditing, typeof TextPartLanguageUI];
35
- /**
36
- * @inheritDoc
37
- */
38
- static get pluginName(): "TextPartLanguage";
39
- }