@ckeditor/ckeditor5-undo 41.3.0-alpha.3 → 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.
Files changed (138) hide show
  1. package/package.json +4 -5
  2. package/src/undoui.d.ts +5 -1
  3. package/src/undoui.js +31 -17
  4. package/dist/content-index.css +0 -4
  5. package/dist/editor-index.css +0 -4
  6. package/dist/index.css +0 -4
  7. package/dist/translations/ar.d.ts +0 -8
  8. package/dist/translations/ar.js +0 -5
  9. package/dist/translations/ast.d.ts +0 -8
  10. package/dist/translations/ast.js +0 -5
  11. package/dist/translations/az.d.ts +0 -8
  12. package/dist/translations/az.js +0 -5
  13. package/dist/translations/bg.d.ts +0 -8
  14. package/dist/translations/bg.js +0 -5
  15. package/dist/translations/bn.d.ts +0 -8
  16. package/dist/translations/bn.js +0 -5
  17. package/dist/translations/ca.d.ts +0 -8
  18. package/dist/translations/ca.js +0 -5
  19. package/dist/translations/cs.d.ts +0 -8
  20. package/dist/translations/cs.js +0 -5
  21. package/dist/translations/da.d.ts +0 -8
  22. package/dist/translations/da.js +0 -5
  23. package/dist/translations/de-ch.d.ts +0 -8
  24. package/dist/translations/de-ch.js +0 -5
  25. package/dist/translations/de.d.ts +0 -8
  26. package/dist/translations/de.js +0 -5
  27. package/dist/translations/el.d.ts +0 -8
  28. package/dist/translations/el.js +0 -5
  29. package/dist/translations/en-au.d.ts +0 -8
  30. package/dist/translations/en-au.js +0 -5
  31. package/dist/translations/en-gb.d.ts +0 -8
  32. package/dist/translations/en-gb.js +0 -5
  33. package/dist/translations/en.d.ts +0 -8
  34. package/dist/translations/en.js +0 -5
  35. package/dist/translations/eo.d.ts +0 -8
  36. package/dist/translations/eo.js +0 -5
  37. package/dist/translations/es.d.ts +0 -8
  38. package/dist/translations/es.js +0 -5
  39. package/dist/translations/et.d.ts +0 -8
  40. package/dist/translations/et.js +0 -5
  41. package/dist/translations/eu.d.ts +0 -8
  42. package/dist/translations/eu.js +0 -5
  43. package/dist/translations/fa.d.ts +0 -8
  44. package/dist/translations/fa.js +0 -5
  45. package/dist/translations/fi.d.ts +0 -8
  46. package/dist/translations/fi.js +0 -5
  47. package/dist/translations/fr.d.ts +0 -8
  48. package/dist/translations/fr.js +0 -5
  49. package/dist/translations/gl.d.ts +0 -8
  50. package/dist/translations/gl.js +0 -5
  51. package/dist/translations/he.d.ts +0 -8
  52. package/dist/translations/he.js +0 -5
  53. package/dist/translations/hi.d.ts +0 -8
  54. package/dist/translations/hi.js +0 -5
  55. package/dist/translations/hr.d.ts +0 -8
  56. package/dist/translations/hr.js +0 -5
  57. package/dist/translations/hu.d.ts +0 -8
  58. package/dist/translations/hu.js +0 -5
  59. package/dist/translations/id.d.ts +0 -8
  60. package/dist/translations/id.js +0 -5
  61. package/dist/translations/it.d.ts +0 -8
  62. package/dist/translations/it.js +0 -5
  63. package/dist/translations/ja.d.ts +0 -8
  64. package/dist/translations/ja.js +0 -5
  65. package/dist/translations/km.d.ts +0 -8
  66. package/dist/translations/km.js +0 -5
  67. package/dist/translations/kn.d.ts +0 -8
  68. package/dist/translations/kn.js +0 -5
  69. package/dist/translations/ko.d.ts +0 -8
  70. package/dist/translations/ko.js +0 -5
  71. package/dist/translations/ku.d.ts +0 -8
  72. package/dist/translations/ku.js +0 -5
  73. package/dist/translations/lt.d.ts +0 -8
  74. package/dist/translations/lt.js +0 -5
  75. package/dist/translations/lv.d.ts +0 -8
  76. package/dist/translations/lv.js +0 -5
  77. package/dist/translations/ms.d.ts +0 -8
  78. package/dist/translations/ms.js +0 -5
  79. package/dist/translations/nb.d.ts +0 -8
  80. package/dist/translations/nb.js +0 -5
  81. package/dist/translations/ne.d.ts +0 -8
  82. package/dist/translations/ne.js +0 -5
  83. package/dist/translations/nl.d.ts +0 -8
  84. package/dist/translations/nl.js +0 -5
  85. package/dist/translations/no.d.ts +0 -8
  86. package/dist/translations/no.js +0 -5
  87. package/dist/translations/pl.d.ts +0 -8
  88. package/dist/translations/pl.js +0 -5
  89. package/dist/translations/pt-br.d.ts +0 -8
  90. package/dist/translations/pt-br.js +0 -5
  91. package/dist/translations/pt.d.ts +0 -8
  92. package/dist/translations/pt.js +0 -5
  93. package/dist/translations/ro.d.ts +0 -8
  94. package/dist/translations/ro.js +0 -5
  95. package/dist/translations/ru.d.ts +0 -8
  96. package/dist/translations/ru.js +0 -5
  97. package/dist/translations/si.d.ts +0 -8
  98. package/dist/translations/si.js +0 -5
  99. package/dist/translations/sk.d.ts +0 -8
  100. package/dist/translations/sk.js +0 -5
  101. package/dist/translations/sq.d.ts +0 -8
  102. package/dist/translations/sq.js +0 -5
  103. package/dist/translations/sr-latn.d.ts +0 -8
  104. package/dist/translations/sr-latn.js +0 -5
  105. package/dist/translations/sr.d.ts +0 -8
  106. package/dist/translations/sr.js +0 -5
  107. package/dist/translations/sv.d.ts +0 -8
  108. package/dist/translations/sv.js +0 -5
  109. package/dist/translations/th.d.ts +0 -8
  110. package/dist/translations/th.js +0 -5
  111. package/dist/translations/tk.d.ts +0 -8
  112. package/dist/translations/tk.js +0 -5
  113. package/dist/translations/tr.d.ts +0 -8
  114. package/dist/translations/tr.js +0 -5
  115. package/dist/translations/tt.d.ts +0 -8
  116. package/dist/translations/tt.js +0 -5
  117. package/dist/translations/ug.d.ts +0 -8
  118. package/dist/translations/ug.js +0 -5
  119. package/dist/translations/uk.d.ts +0 -8
  120. package/dist/translations/uk.js +0 -5
  121. package/dist/translations/ur.d.ts +0 -8
  122. package/dist/translations/ur.js +0 -5
  123. package/dist/translations/uz.d.ts +0 -8
  124. package/dist/translations/uz.js +0 -5
  125. package/dist/translations/vi.d.ts +0 -8
  126. package/dist/translations/vi.js +0 -5
  127. package/dist/translations/zh-cn.d.ts +0 -8
  128. package/dist/translations/zh-cn.js +0 -5
  129. package/dist/translations/zh.d.ts +0 -8
  130. package/dist/translations/zh.js +0 -5
  131. package/dist/types/augmentation.d.ts +0 -20
  132. package/dist/types/basecommand.d.ts +0 -76
  133. package/dist/types/index.d.ts +0 -17
  134. package/dist/types/redocommand.d.ts +0 -31
  135. package/dist/types/undo.d.ts +0 -121
  136. package/dist/types/undocommand.d.ts +0 -41
  137. package/dist/types/undoediting.d.ts +0 -41
  138. package/dist/types/undoui.d.ts +0 -34
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-undo",
3
- "version": "41.3.0-alpha.3",
3
+ "version": "41.3.0",
4
4
  "description": "Undo feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -13,9 +13,9 @@
13
13
  "type": "module",
14
14
  "main": "src/index.js",
15
15
  "dependencies": {
16
- "@ckeditor/ckeditor5-core": "41.3.0-alpha.3",
17
- "@ckeditor/ckeditor5-engine": "41.3.0-alpha.3",
18
- "@ckeditor/ckeditor5-ui": "41.3.0-alpha.3"
16
+ "@ckeditor/ckeditor5-core": "41.3.0",
17
+ "@ckeditor/ckeditor5-engine": "41.3.0",
18
+ "@ckeditor/ckeditor5-ui": "41.3.0"
19
19
  },
20
20
  "author": "CKSource (http://cksource.com/)",
21
21
  "license": "GPL-2.0-or-later",
@@ -27,7 +27,6 @@
27
27
  "directory": "packages/ckeditor5-undo"
28
28
  },
29
29
  "files": [
30
- "dist",
31
30
  "lang",
32
31
  "src/**/*.js",
33
32
  "src/**/*.d.ts",
package/src/undoui.d.ts CHANGED
@@ -26,5 +26,9 @@ export default class UndoUI extends Plugin {
26
26
  * @param keystroke Command keystroke.
27
27
  * @param Icon Source of the icon.
28
28
  */
29
- private _addButton;
29
+ private _addButtonsToFactory;
30
+ /**
31
+ * TODO
32
+ */
33
+ private _createButton;
30
34
  }
package/src/undoui.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * @module undo/undoui
7
7
  */
8
8
  import { icons, Plugin } from '@ckeditor/ckeditor5-core';
9
- import { ButtonView } from '@ckeditor/ckeditor5-ui';
9
+ import { ButtonView, MenuBarMenuListItemButtonView } from '@ckeditor/ckeditor5-ui';
10
10
  /**
11
11
  * The undo UI feature. It introduces the `'undo'` and `'redo'` buttons to the editor.
12
12
  */
@@ -26,8 +26,8 @@ export default class UndoUI extends Plugin {
26
26
  const t = editor.t;
27
27
  const localizedUndoIcon = locale.uiLanguageDirection == 'ltr' ? icons.undo : icons.redo;
28
28
  const localizedRedoIcon = locale.uiLanguageDirection == 'ltr' ? icons.redo : icons.undo;
29
- this._addButton('undo', t('Undo'), 'CTRL+Z', localizedUndoIcon);
30
- this._addButton('redo', t('Redo'), 'CTRL+Y', localizedRedoIcon);
29
+ this._addButtonsToFactory('undo', t('Undo'), 'CTRL+Z', localizedUndoIcon);
30
+ this._addButtonsToFactory('redo', t('Redo'), 'CTRL+Y', localizedRedoIcon);
31
31
  }
32
32
  /**
33
33
  * Creates a button for the specified command.
@@ -37,23 +37,37 @@ export default class UndoUI extends Plugin {
37
37
  * @param keystroke Command keystroke.
38
38
  * @param Icon Source of the icon.
39
39
  */
40
- _addButton(name, label, keystroke, Icon) {
40
+ _addButtonsToFactory(name, label, keystroke, Icon) {
41
41
  const editor = this.editor;
42
- editor.ui.componentFactory.add(name, locale => {
43
- const command = editor.commands.get(name);
44
- const view = new ButtonView(locale);
45
- view.set({
46
- label,
47
- icon: Icon,
48
- keystroke,
42
+ editor.ui.componentFactory.add(name, () => {
43
+ const buttonView = this._createButton(ButtonView, name, label, keystroke, Icon);
44
+ buttonView.set({
49
45
  tooltip: true
50
46
  });
51
- view.bind('isEnabled').to(command, 'isEnabled');
52
- this.listenTo(view, 'execute', () => {
53
- editor.execute(name);
54
- editor.editing.view.focus();
55
- });
56
- return view;
47
+ return buttonView;
48
+ });
49
+ editor.ui.componentFactory.add('menuBar:' + name, () => {
50
+ return this._createButton(MenuBarMenuListItemButtonView, name, label, keystroke, Icon);
51
+ });
52
+ }
53
+ /**
54
+ * TODO
55
+ */
56
+ _createButton(ButtonClass, name, label, keystroke, Icon) {
57
+ const editor = this.editor;
58
+ const locale = editor.locale;
59
+ const command = editor.commands.get(name);
60
+ const view = new ButtonClass(locale);
61
+ view.set({
62
+ label,
63
+ icon: Icon,
64
+ keystroke
65
+ });
66
+ view.bind('isEnabled').to(command, 'isEnabled');
67
+ this.listenTo(view, 'execute', () => {
68
+ editor.execute(name);
69
+ editor.editing.view.focus();
57
70
  });
71
+ return view;
58
72
  }
59
73
  }
@@ -1,4 +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
- */
@@ -1,4 +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
- */
package/dist/index.css DELETED
@@ -1,4 +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
- */
@@ -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 {"ar":{"dictionary":{"Undo":"تراجع","Redo":"إعادة"},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;
@@ -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 {"ast":{"dictionary":{"Undo":"Desfacer","Redo":"Refacer"},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 {"az":{"dictionary":{"Undo":"İmtina et","Redo":"Təkrar et"},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 {"bg":{"dictionary":{"Undo":"Отмени","Redo":"Повтори"},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 {"bn":{"dictionary":{"Undo":"পূর্বাবস্থায় ফেরান","Redo":"রেডো"},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 {"ca":{"dictionary":{"Undo":"Desfer","Redo":"Refer"},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 {"cs":{"dictionary":{"Undo":"Zpět","Redo":"Znovu"},getPluralForm(n){return (n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 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 {"da":{"dictionary":{"Undo":"Fortryd","Redo":"Gentag"},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 {"de-ch":{"dictionary":{"Undo":"Rückgängig","Redo":"Wiederherstellen"},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 {"de":{"dictionary":{"Undo":"Rückgängig","Redo":"Wiederherstellen"},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 {"el":{"dictionary":{"Undo":"Αναίρεση","Redo":"Επανάληψη"},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 {"en-au":{"dictionary":{"Undo":"Undo","Redo":"Redo"},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 {"en-gb":{"dictionary":{"Undo":"Undo","Redo":"Redo"},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 {"en":{"dictionary":{"Undo":"Undo","Redo":"Redo"},"getPluralForm":null}}
@@ -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 {"eo":{"dictionary":{"Undo":"Malfari","Redo":"Refari"},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 {"es":{"dictionary":{"Undo":"Deshacer","Redo":"Rehacer"},getPluralForm(n){return 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 {"et":{"dictionary":{"Undo":"Võta tagasi","Redo":"Tee uuesti"},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 {"eu":{"dictionary":{"Undo":"Desegin","Redo":"Berregin"},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 {"fa":{"dictionary":{"Undo":"بازگردانی","Redo":"باز انجام"},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 {"fi":{"dictionary":{"Undo":"Peru","Redo":"Tee uudelleen"},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 {"fr":{"dictionary":{"Undo":"Annuler","Redo":"Restaurer"},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 {"gl":{"dictionary":{"Undo":"Desfacer","Redo":"Refacer"},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 {"he":{"dictionary":{"Undo":"ביטול","Redo":"ביצוע מחדש"},getPluralForm(n){return (n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 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 {"hi":{"dictionary":{"Undo":"Undo","Redo":"Redo"},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 {"hr":{"dictionary":{"Undo":"Poništi","Redo":"Ponovi"},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 {"hu":{"dictionary":{"Undo":"Visszavonás","Redo":"Újra"},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 {"id":{"dictionary":{"Undo":"Batal","Redo":"Lakukan lagi"},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 {"it":{"dictionary":{"Undo":"Annulla","Redo":"Ripristina"},getPluralForm(n){return 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;