@ckeditor/ckeditor5-undo 41.3.0-alpha.3 → 41.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -5
- package/src/undoui.d.ts +5 -1
- package/src/undoui.js +31 -17
- package/dist/content-index.css +0 -4
- package/dist/editor-index.css +0 -4
- package/dist/index.css +0 -4
- package/dist/translations/ar.d.ts +0 -8
- package/dist/translations/ar.js +0 -5
- package/dist/translations/ast.d.ts +0 -8
- package/dist/translations/ast.js +0 -5
- package/dist/translations/az.d.ts +0 -8
- package/dist/translations/az.js +0 -5
- package/dist/translations/bg.d.ts +0 -8
- package/dist/translations/bg.js +0 -5
- package/dist/translations/bn.d.ts +0 -8
- package/dist/translations/bn.js +0 -5
- package/dist/translations/ca.d.ts +0 -8
- package/dist/translations/ca.js +0 -5
- package/dist/translations/cs.d.ts +0 -8
- package/dist/translations/cs.js +0 -5
- package/dist/translations/da.d.ts +0 -8
- package/dist/translations/da.js +0 -5
- package/dist/translations/de-ch.d.ts +0 -8
- package/dist/translations/de-ch.js +0 -5
- package/dist/translations/de.d.ts +0 -8
- package/dist/translations/de.js +0 -5
- package/dist/translations/el.d.ts +0 -8
- package/dist/translations/el.js +0 -5
- package/dist/translations/en-au.d.ts +0 -8
- package/dist/translations/en-au.js +0 -5
- package/dist/translations/en-gb.d.ts +0 -8
- package/dist/translations/en-gb.js +0 -5
- package/dist/translations/en.d.ts +0 -8
- package/dist/translations/en.js +0 -5
- package/dist/translations/eo.d.ts +0 -8
- package/dist/translations/eo.js +0 -5
- package/dist/translations/es.d.ts +0 -8
- package/dist/translations/es.js +0 -5
- package/dist/translations/et.d.ts +0 -8
- package/dist/translations/et.js +0 -5
- package/dist/translations/eu.d.ts +0 -8
- package/dist/translations/eu.js +0 -5
- package/dist/translations/fa.d.ts +0 -8
- package/dist/translations/fa.js +0 -5
- package/dist/translations/fi.d.ts +0 -8
- package/dist/translations/fi.js +0 -5
- package/dist/translations/fr.d.ts +0 -8
- package/dist/translations/fr.js +0 -5
- package/dist/translations/gl.d.ts +0 -8
- package/dist/translations/gl.js +0 -5
- package/dist/translations/he.d.ts +0 -8
- package/dist/translations/he.js +0 -5
- package/dist/translations/hi.d.ts +0 -8
- package/dist/translations/hi.js +0 -5
- package/dist/translations/hr.d.ts +0 -8
- package/dist/translations/hr.js +0 -5
- package/dist/translations/hu.d.ts +0 -8
- package/dist/translations/hu.js +0 -5
- package/dist/translations/id.d.ts +0 -8
- package/dist/translations/id.js +0 -5
- package/dist/translations/it.d.ts +0 -8
- package/dist/translations/it.js +0 -5
- package/dist/translations/ja.d.ts +0 -8
- package/dist/translations/ja.js +0 -5
- package/dist/translations/km.d.ts +0 -8
- package/dist/translations/km.js +0 -5
- package/dist/translations/kn.d.ts +0 -8
- package/dist/translations/kn.js +0 -5
- package/dist/translations/ko.d.ts +0 -8
- package/dist/translations/ko.js +0 -5
- package/dist/translations/ku.d.ts +0 -8
- package/dist/translations/ku.js +0 -5
- package/dist/translations/lt.d.ts +0 -8
- package/dist/translations/lt.js +0 -5
- package/dist/translations/lv.d.ts +0 -8
- package/dist/translations/lv.js +0 -5
- package/dist/translations/ms.d.ts +0 -8
- package/dist/translations/ms.js +0 -5
- package/dist/translations/nb.d.ts +0 -8
- package/dist/translations/nb.js +0 -5
- package/dist/translations/ne.d.ts +0 -8
- package/dist/translations/ne.js +0 -5
- package/dist/translations/nl.d.ts +0 -8
- package/dist/translations/nl.js +0 -5
- package/dist/translations/no.d.ts +0 -8
- package/dist/translations/no.js +0 -5
- package/dist/translations/pl.d.ts +0 -8
- package/dist/translations/pl.js +0 -5
- package/dist/translations/pt-br.d.ts +0 -8
- package/dist/translations/pt-br.js +0 -5
- package/dist/translations/pt.d.ts +0 -8
- package/dist/translations/pt.js +0 -5
- package/dist/translations/ro.d.ts +0 -8
- package/dist/translations/ro.js +0 -5
- package/dist/translations/ru.d.ts +0 -8
- package/dist/translations/ru.js +0 -5
- package/dist/translations/si.d.ts +0 -8
- package/dist/translations/si.js +0 -5
- package/dist/translations/sk.d.ts +0 -8
- package/dist/translations/sk.js +0 -5
- package/dist/translations/sq.d.ts +0 -8
- package/dist/translations/sq.js +0 -5
- package/dist/translations/sr-latn.d.ts +0 -8
- package/dist/translations/sr-latn.js +0 -5
- package/dist/translations/sr.d.ts +0 -8
- package/dist/translations/sr.js +0 -5
- package/dist/translations/sv.d.ts +0 -8
- package/dist/translations/sv.js +0 -5
- package/dist/translations/th.d.ts +0 -8
- package/dist/translations/th.js +0 -5
- package/dist/translations/tk.d.ts +0 -8
- package/dist/translations/tk.js +0 -5
- package/dist/translations/tr.d.ts +0 -8
- package/dist/translations/tr.js +0 -5
- package/dist/translations/tt.d.ts +0 -8
- package/dist/translations/tt.js +0 -5
- package/dist/translations/ug.d.ts +0 -8
- package/dist/translations/ug.js +0 -5
- package/dist/translations/uk.d.ts +0 -8
- package/dist/translations/uk.js +0 -5
- package/dist/translations/ur.d.ts +0 -8
- package/dist/translations/ur.js +0 -5
- package/dist/translations/uz.d.ts +0 -8
- package/dist/translations/uz.js +0 -5
- package/dist/translations/vi.d.ts +0 -8
- package/dist/translations/vi.js +0 -5
- package/dist/translations/zh-cn.d.ts +0 -8
- package/dist/translations/zh-cn.js +0 -5
- package/dist/translations/zh.d.ts +0 -8
- package/dist/translations/zh.js +0 -5
- package/dist/types/augmentation.d.ts +0 -20
- package/dist/types/basecommand.d.ts +0 -76
- package/dist/types/index.d.ts +0 -17
- package/dist/types/redocommand.d.ts +0 -31
- package/dist/types/undo.d.ts +0 -121
- package/dist/types/undocommand.d.ts +0 -41
- package/dist/types/undoediting.d.ts +0 -41
- 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
|
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
|
17
|
-
"@ckeditor/ckeditor5-engine": "41.3.0
|
18
|
-
"@ckeditor/ckeditor5-ui": "41.3.0
|
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
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.
|
30
|
-
this.
|
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
|
-
|
40
|
+
_addButtonsToFactory(name, label, keystroke, Icon) {
|
41
41
|
const editor = this.editor;
|
42
|
-
editor.ui.componentFactory.add(name,
|
43
|
-
const
|
44
|
-
|
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
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
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
|
}
|
package/dist/content-index.css
DELETED
package/dist/editor-index.css
DELETED
package/dist/index.css
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
|
6
|
-
import type { Translations } from 'ckeditor5';
|
7
|
-
declare const translations: Translations;
|
8
|
-
export default translations;
|
package/dist/translations/ar.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"ar":{"dictionary":{"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;
|
package/dist/translations/ast.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/az.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"az":{"dictionary":{"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;
|
package/dist/translations/bg.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"bg":{"dictionary":{"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;
|
package/dist/translations/bn.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"bn":{"dictionary":{"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;
|
package/dist/translations/ca.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/cs.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/da.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/de.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/el.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/en.js
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
|
6
|
-
import type { Translations } from 'ckeditor5';
|
7
|
-
declare const translations: Translations;
|
8
|
-
export default translations;
|
package/dist/translations/eo.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/es.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/et.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/eu.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/fa.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/fi.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/fr.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/gl.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/he.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/hi.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/hr.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/hu.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/id.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|
package/dist/translations/it.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
export default {"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;
|