@ckeditor/ckeditor5-show-blocks 48.4.0 → 48.5.0-alpha.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.
Files changed (147) hide show
  1. package/dist/translations/af.js +1 -1
  2. package/dist/translations/af.umd.js +5 -3
  3. package/dist/translations/ar.js +1 -1
  4. package/dist/translations/ar.umd.js +5 -3
  5. package/dist/translations/ast.js +1 -1
  6. package/dist/translations/ast.umd.js +5 -3
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +5 -3
  9. package/dist/translations/be.js +1 -1
  10. package/dist/translations/be.umd.js +5 -3
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +5 -3
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +5 -3
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +5 -3
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +5 -3
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +5 -3
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +5 -3
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +5 -3
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +5 -3
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +5 -3
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +5 -3
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +5 -3
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +5 -3
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +5 -3
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +5 -3
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +5 -3
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +5 -3
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +5 -3
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +5 -3
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +5 -3
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +5 -3
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +5 -3
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +5 -3
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +5 -3
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +5 -3
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +5 -3
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +5 -3
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +5 -3
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +5 -3
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +5 -3
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +5 -3
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +5 -3
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +5 -3
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +5 -3
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +5 -3
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +5 -3
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +5 -3
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +5 -3
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +5 -3
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +5 -3
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +5 -3
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +5 -3
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +5 -3
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +5 -3
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +5 -3
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +5 -3
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +5 -3
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +5 -3
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +5 -3
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +5 -3
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +5 -3
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +5 -3
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +5 -3
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +5 -3
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +5 -3
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +5 -3
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +5 -3
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +5 -3
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +5 -3
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +5 -3
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +5 -3
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +5 -3
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +5 -3
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +5 -3
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +5 -3
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +5 -3
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +5 -3
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +5 -3
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +5 -3
  147. package/package.json +6 -6
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'ro' ]: { dictionary, getPluralForm } } = {"ro":{"dictionary":{"Show blocks":"Arată casetele"},getPluralForm(n){return (n == 1 ? 0 : (n == 0 || (n % 100 > 0 && n % 100 < 20)) ? 1 : 2);}}};
7
+ const { [ 'ro' ]: translations } = {"ro":{"dictionary":{"Show blocks":"Arată casetele"}}};
8
8
  e[ 'ro' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'ro' ].dictionary = Object.assign( e[ 'ro' ].dictionary, dictionary );
10
- e[ 'ro' ].getPluralForm = getPluralForm;
9
+ e[ 'ro' ].dictionary = Object.assign( e[ 'ro' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'ro' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"ru":{"dictionary":{"Show blocks":"Показать блоки"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}}
5
+ export default {"ru":{"dictionary":{"Show blocks":"Показать блоки"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'ru' ]: { dictionary, getPluralForm } } = {"ru":{"dictionary":{"Show blocks":"Показать блоки"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}};
7
+ const { [ 'ru' ]: translations } = {"ru":{"dictionary":{"Show blocks":"Показать блоки"}}};
8
8
  e[ 'ru' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'ru' ].dictionary = Object.assign( e[ 'ru' ].dictionary, dictionary );
10
- e[ 'ru' ].getPluralForm = getPluralForm;
9
+ e[ 'ru' ].dictionary = Object.assign( e[ 'ru' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'ru' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"si":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n != 1);}}}
5
+ export default {"si":{"dictionary":{"Show blocks":""}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'si' ]: { dictionary, getPluralForm } } = {"si":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n != 1);}}};
7
+ const { [ 'si' ]: translations } = {"si":{"dictionary":{"Show blocks":""}}};
8
8
  e[ 'si' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'si' ].dictionary = Object.assign( e[ 'si' ].dictionary, dictionary );
10
- e[ 'si' ].getPluralForm = getPluralForm;
9
+ e[ 'si' ].dictionary = Object.assign( e[ 'si' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'si' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"sk":{"dictionary":{"Show blocks":"Zobraziť bloky"},getPluralForm(n){return (n == 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2);}}}
5
+ export default {"sk":{"dictionary":{"Show blocks":"Zobraziť bloky"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'sk' ]: { dictionary, getPluralForm } } = {"sk":{"dictionary":{"Show blocks":"Zobraziť bloky"},getPluralForm(n){return (n == 1 ? 0 : (n >= 2 && n <= 4) ? 1 : 2);}}};
7
+ const { [ 'sk' ]: translations } = {"sk":{"dictionary":{"Show blocks":"Zobraziť bloky"}}};
8
8
  e[ 'sk' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'sk' ].dictionary = Object.assign( e[ 'sk' ].dictionary, dictionary );
10
- e[ 'sk' ].getPluralForm = getPluralForm;
9
+ e[ 'sk' ].dictionary = Object.assign( e[ 'sk' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'sk' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"sl":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0);}}}
5
+ export default {"sl":{"dictionary":{"Show blocks":""}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'sl' ]: { dictionary, getPluralForm } } = {"sl":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n % 100 == 1 ? 1 : n % 100 == 2 ? 2 : n % 100 == 3 || n % 100 == 4 ? 3 : 0);}}};
7
+ const { [ 'sl' ]: translations } = {"sl":{"dictionary":{"Show blocks":""}}};
8
8
  e[ 'sl' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'sl' ].dictionary = Object.assign( e[ 'sl' ].dictionary, dictionary );
10
- e[ 'sl' ].getPluralForm = getPluralForm;
9
+ e[ 'sl' ].dictionary = Object.assign( e[ 'sl' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'sl' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"sq":{"dictionary":{"Show blocks":"Shfaq blloqet"},getPluralForm(n){return (n != 1);}}}
5
+ export default {"sq":{"dictionary":{"Show blocks":"Shfaq blloqet"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'sq' ]: { dictionary, getPluralForm } } = {"sq":{"dictionary":{"Show blocks":"Shfaq blloqet"},getPluralForm(n){return (n != 1);}}};
7
+ const { [ 'sq' ]: translations } = {"sq":{"dictionary":{"Show blocks":"Shfaq blloqet"}}};
8
8
  e[ 'sq' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'sq' ].dictionary = Object.assign( e[ 'sq' ].dictionary, dictionary );
10
- e[ 'sq' ].getPluralForm = getPluralForm;
9
+ e[ 'sq' ].dictionary = Object.assign( e[ 'sq' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'sq' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"sr-latn":{"dictionary":{"Show blocks":"Prikaži blokove"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}}
5
+ export default {"sr-latn":{"dictionary":{"Show blocks":"Prikaži blokove"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'sr-latn' ]: { dictionary, getPluralForm } } = {"sr-latn":{"dictionary":{"Show blocks":"Prikaži blokove"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}};
7
+ const { [ 'sr-latn' ]: translations } = {"sr-latn":{"dictionary":{"Show blocks":"Prikaži blokove"}}};
8
8
  e[ 'sr-latn' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'sr-latn' ].dictionary = Object.assign( e[ 'sr-latn' ].dictionary, dictionary );
10
- e[ 'sr-latn' ].getPluralForm = getPluralForm;
9
+ e[ 'sr-latn' ].dictionary = Object.assign( e[ 'sr-latn' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'sr-latn' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"sr":{"dictionary":{"Show blocks":"Prikaži blokove"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}}
5
+ export default {"sr":{"dictionary":{"Show blocks":"Prikaži blokove"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'sr' ]: { dictionary, getPluralForm } } = {"sr":{"dictionary":{"Show blocks":"Prikaži blokove"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}};
7
+ const { [ 'sr' ]: translations } = {"sr":{"dictionary":{"Show blocks":"Prikaži blokove"}}};
8
8
  e[ 'sr' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'sr' ].dictionary = Object.assign( e[ 'sr' ].dictionary, dictionary );
10
- e[ 'sr' ].getPluralForm = getPluralForm;
9
+ e[ 'sr' ].dictionary = Object.assign( e[ 'sr' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'sr' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"sv":{"dictionary":{"Show blocks":"Visa block"},getPluralForm(n){return (n != 1);}}}
5
+ export default {"sv":{"dictionary":{"Show blocks":"Visa block"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'sv' ]: { dictionary, getPluralForm } } = {"sv":{"dictionary":{"Show blocks":"Visa block"},getPluralForm(n){return (n != 1);}}};
7
+ const { [ 'sv' ]: translations } = {"sv":{"dictionary":{"Show blocks":"Visa block"}}};
8
8
  e[ 'sv' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'sv' ].dictionary = Object.assign( e[ 'sv' ].dictionary, dictionary );
10
- e[ 'sv' ].getPluralForm = getPluralForm;
9
+ e[ 'sv' ].dictionary = Object.assign( e[ 'sv' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'sv' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"th":{"dictionary":{"Show blocks":"แสดงบล็อก"},getPluralForm(n){return 0;}}}
5
+ export default {"th":{"dictionary":{"Show blocks":"แสดงบล็อก"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'th' ]: { dictionary, getPluralForm } } = {"th":{"dictionary":{"Show blocks":"แสดงบล็อก"},getPluralForm(n){return 0;}}};
7
+ const { [ 'th' ]: translations } = {"th":{"dictionary":{"Show blocks":"แสดงบล็อก"}}};
8
8
  e[ 'th' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'th' ].dictionary = Object.assign( e[ 'th' ].dictionary, dictionary );
10
- e[ 'th' ].getPluralForm = getPluralForm;
9
+ e[ 'th' ].dictionary = Object.assign( e[ 'th' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'th' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"ti":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n > 1);}}}
5
+ export default {"ti":{"dictionary":{"Show blocks":""}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'ti' ]: { dictionary, getPluralForm } } = {"ti":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n > 1);}}};
7
+ const { [ 'ti' ]: translations } = {"ti":{"dictionary":{"Show blocks":""}}};
8
8
  e[ 'ti' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'ti' ].dictionary = Object.assign( e[ 'ti' ].dictionary, dictionary );
10
- e[ 'ti' ].getPluralForm = getPluralForm;
9
+ e[ 'ti' ].dictionary = Object.assign( e[ 'ti' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'ti' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"tk":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n != 1);}}}
5
+ export default {"tk":{"dictionary":{"Show blocks":""}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'tk' ]: { dictionary, getPluralForm } } = {"tk":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n != 1);}}};
7
+ const { [ 'tk' ]: translations } = {"tk":{"dictionary":{"Show blocks":""}}};
8
8
  e[ 'tk' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'tk' ].dictionary = Object.assign( e[ 'tk' ].dictionary, dictionary );
10
- e[ 'tk' ].getPluralForm = getPluralForm;
9
+ e[ 'tk' ].dictionary = Object.assign( e[ 'tk' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'tk' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"tr":{"dictionary":{"Show blocks":"Blokları göster"},getPluralForm(n){return (n > 1);}}}
5
+ export default {"tr":{"dictionary":{"Show blocks":"Blokları göster"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'tr' ]: { dictionary, getPluralForm } } = {"tr":{"dictionary":{"Show blocks":"Blokları göster"},getPluralForm(n){return (n > 1);}}};
7
+ const { [ 'tr' ]: translations } = {"tr":{"dictionary":{"Show blocks":"Blokları göster"}}};
8
8
  e[ 'tr' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'tr' ].dictionary = Object.assign( e[ 'tr' ].dictionary, dictionary );
10
- e[ 'tr' ].getPluralForm = getPluralForm;
9
+ e[ 'tr' ].dictionary = Object.assign( e[ 'tr' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'tr' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"tt":{"dictionary":{"Show blocks":""},getPluralForm(n){return 0;}}}
5
+ export default {"tt":{"dictionary":{"Show blocks":""}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'tt' ]: { dictionary, getPluralForm } } = {"tt":{"dictionary":{"Show blocks":""},getPluralForm(n){return 0;}}};
7
+ const { [ 'tt' ]: translations } = {"tt":{"dictionary":{"Show blocks":""}}};
8
8
  e[ 'tt' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'tt' ].dictionary = Object.assign( e[ 'tt' ].dictionary, dictionary );
10
- e[ 'tt' ].getPluralForm = getPluralForm;
9
+ e[ 'tt' ].dictionary = Object.assign( e[ 'tt' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'tt' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"ug":{"dictionary":{"Show blocks":"بۆلەكلەرنى كۆرسەت"},getPluralForm(n){return 0;}}}
5
+ export default {"ug":{"dictionary":{"Show blocks":"بۆلەكلەرنى كۆرسەت"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'ug' ]: { dictionary, getPluralForm } } = {"ug":{"dictionary":{"Show blocks":"بۆلەكلەرنى كۆرسەت"},getPluralForm(n){return 0;}}};
7
+ const { [ 'ug' ]: translations } = {"ug":{"dictionary":{"Show blocks":"بۆلەكلەرنى كۆرسەت"}}};
8
8
  e[ 'ug' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'ug' ].dictionary = Object.assign( e[ 'ug' ].dictionary, dictionary );
10
- e[ 'ug' ].getPluralForm = getPluralForm;
9
+ e[ 'ug' ].dictionary = Object.assign( e[ 'ug' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'ug' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"uk":{"dictionary":{"Show blocks":"Показати блоки"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}}
5
+ export default {"uk":{"dictionary":{"Show blocks":"Показати блоки"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'uk' ]: { dictionary, getPluralForm } } = {"uk":{"dictionary":{"Show blocks":"Показати блоки"},getPluralForm(n){return (n % 10 == 1 && n % 100 != 11 ? 0 : n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20) ? 1 : 2);}}};
7
+ const { [ 'uk' ]: translations } = {"uk":{"dictionary":{"Show blocks":"Показати блоки"}}};
8
8
  e[ 'uk' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'uk' ].dictionary = Object.assign( e[ 'uk' ].dictionary, dictionary );
10
- e[ 'uk' ].getPluralForm = getPluralForm;
9
+ e[ 'uk' ].dictionary = Object.assign( e[ 'uk' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'uk' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"ur":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n != 1);}}}
5
+ export default {"ur":{"dictionary":{"Show blocks":""}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'ur' ]: { dictionary, getPluralForm } } = {"ur":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n != 1);}}};
7
+ const { [ 'ur' ]: translations } = {"ur":{"dictionary":{"Show blocks":""}}};
8
8
  e[ 'ur' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'ur' ].dictionary = Object.assign( e[ 'ur' ].dictionary, dictionary );
10
- e[ 'ur' ].getPluralForm = getPluralForm;
9
+ e[ 'ur' ].dictionary = Object.assign( e[ 'ur' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'ur' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"uz":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n > 1);}}}
5
+ export default {"uz":{"dictionary":{"Show blocks":""}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'uz' ]: { dictionary, getPluralForm } } = {"uz":{"dictionary":{"Show blocks":""},getPluralForm(n){return (n > 1);}}};
7
+ const { [ 'uz' ]: translations } = {"uz":{"dictionary":{"Show blocks":""}}};
8
8
  e[ 'uz' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'uz' ].dictionary = Object.assign( e[ 'uz' ].dictionary, dictionary );
10
- e[ 'uz' ].getPluralForm = getPluralForm;
9
+ e[ 'uz' ].dictionary = Object.assign( e[ 'uz' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'uz' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"vi":{"dictionary":{"Show blocks":"Hiện các khối"},getPluralForm(n){return 0;}}}
5
+ export default {"vi":{"dictionary":{"Show blocks":"Hiện các khối"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'vi' ]: { dictionary, getPluralForm } } = {"vi":{"dictionary":{"Show blocks":"Hiện các khối"},getPluralForm(n){return 0;}}};
7
+ const { [ 'vi' ]: translations } = {"vi":{"dictionary":{"Show blocks":"Hiện các khối"}}};
8
8
  e[ 'vi' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'vi' ].dictionary = Object.assign( e[ 'vi' ].dictionary, dictionary );
10
- e[ 'vi' ].getPluralForm = getPluralForm;
9
+ e[ 'vi' ].dictionary = Object.assign( e[ 'vi' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'vi' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"zh-cn":{"dictionary":{"Show blocks":"显示区块"},getPluralForm(n){return 0;}}}
5
+ export default {"zh-cn":{"dictionary":{"Show blocks":"显示区块"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'zh-cn' ]: { dictionary, getPluralForm } } = {"zh-cn":{"dictionary":{"Show blocks":"显示区块"},getPluralForm(n){return 0;}}};
7
+ const { [ 'zh-cn' ]: translations } = {"zh-cn":{"dictionary":{"Show blocks":"显示区块"}}};
8
8
  e[ 'zh-cn' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'zh-cn' ].dictionary = Object.assign( e[ 'zh-cn' ].dictionary, dictionary );
10
- e[ 'zh-cn' ].getPluralForm = getPluralForm;
9
+ e[ 'zh-cn' ].dictionary = Object.assign( e[ 'zh-cn' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'zh-cn' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
@@ -2,4 +2,4 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- export default {"zh":{"dictionary":{"Show blocks":"顯示區塊"},getPluralForm(n){return 0;}}}
5
+ export default {"zh":{"dictionary":{"Show blocks":"顯示區塊"}}}
@@ -4,8 +4,10 @@
4
4
  */
5
5
 
6
6
  ( e => {
7
- const { [ 'zh' ]: { dictionary, getPluralForm } } = {"zh":{"dictionary":{"Show blocks":"顯示區塊"},getPluralForm(n){return 0;}}};
7
+ const { [ 'zh' ]: translations } = {"zh":{"dictionary":{"Show blocks":"顯示區塊"}}};
8
8
  e[ 'zh' ] ||= { dictionary: {}, getPluralForm: null };
9
- e[ 'zh' ].dictionary = Object.assign( e[ 'zh' ].dictionary, dictionary );
10
- e[ 'zh' ].getPluralForm = getPluralForm;
9
+ e[ 'zh' ].dictionary = Object.assign( e[ 'zh' ].dictionary, translations.dictionary );
10
+ if ( translations.getPluralForm ) {
11
+ e[ 'zh' ].getPluralForm = translations.getPluralForm;
12
+ }
11
13
  } )( window.CKEDITOR_TRANSLATIONS ||= {} );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-show-blocks",
3
- "version": "48.4.0",
3
+ "version": "48.5.0-alpha.0",
4
4
  "description": "Show blocks feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -26,11 +26,11 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@ckeditor/ckeditor5-core": "48.4.0",
30
- "@ckeditor/ckeditor5-engine": "48.4.0",
31
- "@ckeditor/ckeditor5-icons": "48.4.0",
32
- "@ckeditor/ckeditor5-ui": "48.4.0",
33
- "@ckeditor/ckeditor5-utils": "48.4.0"
29
+ "@ckeditor/ckeditor5-core": "48.5.0-alpha.0",
30
+ "@ckeditor/ckeditor5-engine": "48.5.0-alpha.0",
31
+ "@ckeditor/ckeditor5-icons": "48.5.0-alpha.0",
32
+ "@ckeditor/ckeditor5-ui": "48.5.0-alpha.0",
33
+ "@ckeditor/ckeditor5-utils": "48.5.0-alpha.0"
34
34
  },
35
35
  "files": [
36
36
  "dist",