@ckeditor/ckeditor5-autosave 37.0.1 → 38.0.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/build/autosave.js +1 -1
- package/build/translations/uz.js +1 -0
- package/lang/translations/af.po +1 -1
- package/lang/translations/ar.po +1 -1
- package/lang/translations/az.po +1 -1
- package/lang/translations/bg.po +1 -1
- package/lang/translations/bn.po +1 -1
- package/lang/translations/bs.po +1 -1
- package/lang/translations/ca.po +1 -1
- package/lang/translations/cs.po +1 -1
- package/lang/translations/da.po +1 -1
- package/lang/translations/de-ch.po +1 -1
- package/lang/translations/de.po +1 -1
- package/lang/translations/el.po +1 -1
- package/lang/translations/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/es-co.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fa.po +1 -1
- package/lang/translations/fi.po +1 -1
- package/lang/translations/fr.po +1 -1
- package/lang/translations/gl.po +1 -1
- package/lang/translations/he.po +1 -1
- package/lang/translations/hi.po +1 -1
- package/lang/translations/hr.po +1 -1
- package/lang/translations/hu.po +1 -1
- package/lang/translations/id.po +1 -1
- package/lang/translations/it.po +1 -1
- package/lang/translations/ja.po +1 -1
- package/lang/translations/jv.po +1 -1
- package/lang/translations/km.po +1 -1
- package/lang/translations/ko.po +1 -1
- package/lang/translations/ku.po +1 -1
- package/lang/translations/lt.po +1 -1
- package/lang/translations/lv.po +1 -1
- package/lang/translations/ms.po +1 -1
- package/lang/translations/ne.po +1 -1
- package/lang/translations/nl.po +1 -1
- package/lang/translations/no.po +1 -1
- package/lang/translations/pl.po +1 -1
- package/lang/translations/pt-br.po +1 -1
- package/lang/translations/pt.po +1 -1
- package/lang/translations/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sl.po +1 -1
- package/lang/translations/sq.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/sv.po +1 -1
- package/lang/translations/th.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/ug.po +1 -1
- package/lang/translations/uk.po +1 -1
- package/lang/translations/ur.po +1 -1
- package/lang/translations/uz.po +21 -0
- package/lang/translations/vi.po +1 -1
- package/lang/translations/zh-cn.po +1 -1
- package/lang/translations/zh.po +1 -1
- package/package.json +8 -8
- package/src/autosave.js +1 -1
package/build/autosave.js
CHANGED
@@ -2,4 +2,4 @@
|
|
2
2
|
/*!
|
3
3
|
* @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
4
4
|
* For licensing, see LICENSE.md.
|
5
|
-
*/(()=>{var t={704:(t,e,i)=>{t.exports=i(79)("./src/core.js")},209:(t,e,i)=>{t.exports=i(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Autosave:()=>D});var t=i(704),e=i(209);const s=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const o="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const a=o||r||Function("return this")();const c=function(){return a.Date.now()};var u=/\s/;const l=function(t){for(var e=t.length;e--&&u.test(t.charAt(e)););return e};var d=/^\s+/;const h=function(t){return t?t.slice(0,l(t)+1).replace(d,""):t};const v=a.Symbol;var f=Object.prototype,m=f.hasOwnProperty,g=f.toString,_=v?v.toStringTag:void 0;const p=function(t){var e=m.call(t,_),i=t[_];try{t[_]=void 0;var n=!0}catch(t){}var s=g.call(t);return n&&(e?t[_]=i:delete t[_]),s};var b=Object.prototype.toString;const y=function(t){return b.call(t)};var S=v?v.toStringTag:void 0;const T=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?p(t):y(t)};const j=function(t){return null!=t&&"object"==typeof t};const w=function(t){return"symbol"==typeof t||j(t)&&"[object Symbol]"==T(t)};var O=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,A=/^0o[0-7]+$/i,x=parseInt;const E=function(t){if("number"==typeof t)return t;if(w(t))return NaN;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=h(t);var i=P.test(t);return i||A.test(t)?x(t.slice(2),i?2:8):O.test(t)?NaN:+t};var N=Math.max,I=Math.min;const C=function(t,e,i){var n,o,r,a,u,l,d=0,h=!1,v=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var i=n,s=o;return n=o=void 0,d=e,a=t.apply(s,i)}function g(t){var i=t-l;return void 0===l||i>=e||i<0||v&&t-d>=r}function _(){var t=c();if(g(t))return p(t);u=setTimeout(_,function(t){var i=e-(t-l);return v?I(i,r-(t-d)):i}(t))}function p(t){return u=void 0,f&&n?m(t):(n=o=void 0,a)}function b(){var t=c(),i=g(t);if(n=arguments,o=this,l=t,i){if(void 0===u)return function(t){return d=t,u=setTimeout(_,e),h?m(t):a}(l);if(v)return clearTimeout(u),u=setTimeout(_,e),m(l)}return void 0===u&&(u=setTimeout(_,e)),a}return e=E(e)||0,s(i)&&(h=!!i.leading,r=(v="maxWait"in i)?N(E(i.maxWait)||0,e):r,f="trailing"in i?!!i.trailing:f),b.cancel=function(){void 0!==u&&clearTimeout(u),d=0,n=l=o=u=void 0},b.flush=function(){return void 0===u?a:p(c())},b};class D extends t.Plugin{
|
5
|
+
*/(()=>{var t={704:(t,e,i)=>{t.exports=i(79)("./src/core.js")},209:(t,e,i)=>{t.exports=i(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Autosave:()=>D});var t=i(704),e=i(209);const s=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const o="object"==typeof global&&global&&global.Object===Object&&global;var r="object"==typeof self&&self&&self.Object===Object&&self;const a=o||r||Function("return this")();const c=function(){return a.Date.now()};var u=/\s/;const l=function(t){for(var e=t.length;e--&&u.test(t.charAt(e)););return e};var d=/^\s+/;const h=function(t){return t?t.slice(0,l(t)+1).replace(d,""):t};const v=a.Symbol;var f=Object.prototype,m=f.hasOwnProperty,g=f.toString,_=v?v.toStringTag:void 0;const p=function(t){var e=m.call(t,_),i=t[_];try{t[_]=void 0;var n=!0}catch(t){}var s=g.call(t);return n&&(e?t[_]=i:delete t[_]),s};var b=Object.prototype.toString;const y=function(t){return b.call(t)};var S=v?v.toStringTag:void 0;const T=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?p(t):y(t)};const j=function(t){return null!=t&&"object"==typeof t};const w=function(t){return"symbol"==typeof t||j(t)&&"[object Symbol]"==T(t)};var O=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,A=/^0o[0-7]+$/i,x=parseInt;const E=function(t){if("number"==typeof t)return t;if(w(t))return NaN;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=h(t);var i=P.test(t);return i||A.test(t)?x(t.slice(2),i?2:8):O.test(t)?NaN:+t};var N=Math.max,I=Math.min;const C=function(t,e,i){var n,o,r,a,u,l,d=0,h=!1,v=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var i=n,s=o;return n=o=void 0,d=e,a=t.apply(s,i)}function g(t){var i=t-l;return void 0===l||i>=e||i<0||v&&t-d>=r}function _(){var t=c();if(g(t))return p(t);u=setTimeout(_,function(t){var i=e-(t-l);return v?I(i,r-(t-d)):i}(t))}function p(t){return u=void 0,f&&n?m(t):(n=o=void 0,a)}function b(){var t=c(),i=g(t);if(n=arguments,o=this,l=t,i){if(void 0===u)return function(t){return d=t,u=setTimeout(_,e),h?m(t):a}(l);if(v)return clearTimeout(u),u=setTimeout(_,e),m(l)}return void 0===u&&(u=setTimeout(_,e)),a}return e=E(e)||0,s(i)&&(h=!!i.leading,r=(v="maxWait"in i)?N(E(i.maxWait)||0,e):r,f="trailing"in i?!!i.trailing:f),b.cancel=function(){void 0!==u&&clearTimeout(u),d=0,n=l=o=u=void 0},b.flush=function(){return void 0===u?a:p(c())},b};class D extends t.Plugin{constructor(i){super(i),this._action=null;const n=i.config.get("autosave")||{},s=n.waitingTime||1e3;this.set("state","synchronized"),this._debouncedSave=C(this._save.bind(this),s),this._lastDocumentVersion=i.model.document.version,this._savePromise=null,this._domEmitter=new((0,e.DomEmitterMixin)()),this._config=n,this._pendingActions=i.plugins.get(t.PendingActions),this._makeImmediateSave=!1}static get pluginName(){return"Autosave"}static get requires(){return[t.PendingActions]}init(){const t=this.editor,e=t.model.document;this.listenTo(t,"ready",(()=>{this.listenTo(e,"change:data",((t,e)=>{this._saveCallbacks.length&&e.isLocal&&("synchronized"===this.state&&(this.state="waiting",this._setPendingAction()),"waiting"===this.state&&this._debouncedSave())}))})),this.listenTo(t,"destroy",(()=>this._flush()),{priority:"highest"}),this._domEmitter.listenTo(window,"beforeunload",((t,e)=>{this._pendingActions.hasAny&&(e.returnValue=this._pendingActions.first.message)}))}destroy(){this._domEmitter.stopListening(),super.destroy()}save(){return this._debouncedSave.cancel(),this._save()}_flush(){this._debouncedSave.flush()}_save(){return this._savePromise?(this._makeImmediateSave=this.editor.model.document.version>this._lastDocumentVersion,this._savePromise):(this._setPendingAction(),this.state="saving",this._lastDocumentVersion=this.editor.model.document.version,this._savePromise=Promise.resolve().then((()=>Promise.all(this._saveCallbacks.map((t=>t(this.editor)))))).finally((()=>{this._savePromise=null})).then((()=>{if(this._makeImmediateSave)return this._makeImmediateSave=!1,this._save();this.editor.model.document.version>this._lastDocumentVersion?(this.state="waiting",this._debouncedSave()):(this.state="synchronized",this._pendingActions.remove(this._action),this._action=null)})).catch((t=>{throw this.state="error",this.state="saving",this._debouncedSave(),t})),this._savePromise)}_setPendingAction(){const t=this.editor.t;this._action||(this._action=this._pendingActions.add(t("Saving changes")))}get _saveCallbacks(){const t=[];return this.adapter&&this.adapter.save&&t.push(this.adapter.save),this._config.save&&t.push(this._config.save),t}}})(),(window.CKEditor5=window.CKEditor5||{}).autosave=n})();
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(i){const n=i.uz=i.uz||{};n.dictionary=Object.assign(n.dictionary||{},{"Saving changes":"O'zgarishlarni saqlash"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/lang/translations/af.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Afrikaans (https://
|
15
|
+
"Language-Team: Afrikaans (https://app.transifex.com/ckeditor/teams/11143/af/)\n"
|
16
16
|
"Language: af\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/ar.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Arabic (https://
|
15
|
+
"Language-Team: Arabic (https://app.transifex.com/ckeditor/teams/11143/ar/)\n"
|
16
16
|
"Language: ar\n"
|
17
17
|
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
|
18
18
|
|
package/lang/translations/az.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Azerbaijani (https://
|
15
|
+
"Language-Team: Azerbaijani (https://app.transifex.com/ckeditor/teams/11143/az/)\n"
|
16
16
|
"Language: az\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/bg.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Bulgarian (https://
|
15
|
+
"Language-Team: Bulgarian (https://app.transifex.com/ckeditor/teams/11143/bg/)\n"
|
16
16
|
"Language: bg\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/bn.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Bengali (https://
|
15
|
+
"Language-Team: Bengali (https://app.transifex.com/ckeditor/teams/11143/bn/)\n"
|
16
16
|
"Language: bn\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/bs.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Bosnian (https://
|
15
|
+
"Language-Team: Bosnian (https://app.transifex.com/ckeditor/teams/11143/bs/)\n"
|
16
16
|
"Language: bs\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
18
18
|
|
package/lang/translations/ca.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Catalan (https://
|
15
|
+
"Language-Team: Catalan (https://app.transifex.com/ckeditor/teams/11143/ca/)\n"
|
16
16
|
"Language: ca\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/cs.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Czech (https://
|
15
|
+
"Language-Team: Czech (https://app.transifex.com/ckeditor/teams/11143/cs/)\n"
|
16
16
|
"Language: cs\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
|
18
18
|
|
package/lang/translations/da.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Danish (https://
|
15
|
+
"Language-Team: Danish (https://app.transifex.com/ckeditor/teams/11143/da/)\n"
|
16
16
|
"Language: da\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: German (Switzerland) (https://
|
15
|
+
"Language-Team: German (Switzerland) (https://app.transifex.com/ckeditor/teams/11143/de_CH/)\n"
|
16
16
|
"Language: de_CH\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/de.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: German (https://
|
15
|
+
"Language-Team: German (https://app.transifex.com/ckeditor/teams/11143/de/)\n"
|
16
16
|
"Language: de\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/el.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Greek (https://
|
15
|
+
"Language-Team: Greek (https://app.transifex.com/ckeditor/teams/11143/el/)\n"
|
16
16
|
"Language: el\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: English (Australia) (https://
|
15
|
+
"Language-Team: English (Australia) (https://app.transifex.com/ckeditor/teams/11143/en_AU/)\n"
|
16
16
|
"Language: en_AU\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: English (United Kingdom) (https://
|
15
|
+
"Language-Team: English (United Kingdom) (https://app.transifex.com/ckeditor/teams/11143/en_GB/)\n"
|
16
16
|
"Language: en_GB\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Spanish (Colombia) (https://
|
15
|
+
"Language-Team: Spanish (Colombia) (https://app.transifex.com/ckeditor/teams/11143/es_CO/)\n"
|
16
16
|
"Language: es_CO\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
package/lang/translations/es.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Spanish (https://
|
15
|
+
"Language-Team: Spanish (https://app.transifex.com/ckeditor/teams/11143/es/)\n"
|
16
16
|
"Language: es\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
package/lang/translations/et.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Estonian (https://
|
15
|
+
"Language-Team: Estonian (https://app.transifex.com/ckeditor/teams/11143/et/)\n"
|
16
16
|
"Language: et\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/fa.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Persian (https://
|
15
|
+
"Language-Team: Persian (https://app.transifex.com/ckeditor/teams/11143/fa/)\n"
|
16
16
|
"Language: fa\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
18
18
|
|
package/lang/translations/fi.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Finnish (https://
|
15
|
+
"Language-Team: Finnish (https://app.transifex.com/ckeditor/teams/11143/fi/)\n"
|
16
16
|
"Language: fi\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/fr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: French (https://
|
15
|
+
"Language-Team: French (https://app.transifex.com/ckeditor/teams/11143/fr/)\n"
|
16
16
|
"Language: fr\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
package/lang/translations/gl.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Galician (https://
|
15
|
+
"Language-Team: Galician (https://app.transifex.com/ckeditor/teams/11143/gl/)\n"
|
16
16
|
"Language: gl\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/he.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Hebrew (https://
|
15
|
+
"Language-Team: Hebrew (https://app.transifex.com/ckeditor/teams/11143/he/)\n"
|
16
16
|
"Language: he\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
|
18
18
|
|
package/lang/translations/hi.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Hindi (https://
|
15
|
+
"Language-Team: Hindi (https://app.transifex.com/ckeditor/teams/11143/hi/)\n"
|
16
16
|
"Language: hi\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/hr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Croatian (https://
|
15
|
+
"Language-Team: Croatian (https://app.transifex.com/ckeditor/teams/11143/hr/)\n"
|
16
16
|
"Language: hr\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
|
18
18
|
|
package/lang/translations/hu.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Hungarian (https://
|
15
|
+
"Language-Team: Hungarian (https://app.transifex.com/ckeditor/teams/11143/hu/)\n"
|
16
16
|
"Language: hu\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/id.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Indonesian (https://
|
15
|
+
"Language-Team: Indonesian (https://app.transifex.com/ckeditor/teams/11143/id/)\n"
|
16
16
|
"Language: id\n"
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
18
|
|
package/lang/translations/it.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Italian (https://
|
15
|
+
"Language-Team: Italian (https://app.transifex.com/ckeditor/teams/11143/it/)\n"
|
16
16
|
"Language: it\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
package/lang/translations/ja.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Japanese (https://
|
15
|
+
"Language-Team: Japanese (https://app.transifex.com/ckeditor/teams/11143/ja/)\n"
|
16
16
|
"Language: ja\n"
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
18
|
|
package/lang/translations/jv.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Javanese (https://
|
15
|
+
"Language-Team: Javanese (https://app.transifex.com/ckeditor/teams/11143/jv/)\n"
|
16
16
|
"Language: jv\n"
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
18
|
|
package/lang/translations/km.po
CHANGED
package/lang/translations/ko.po
CHANGED
package/lang/translations/ku.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Kurdish (https://
|
15
|
+
"Language-Team: Kurdish (https://app.transifex.com/ckeditor/teams/11143/ku/)\n"
|
16
16
|
"Language: ku\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/lt.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Lithuanian (https://
|
15
|
+
"Language-Team: Lithuanian (https://app.transifex.com/ckeditor/teams/11143/lt/)\n"
|
16
16
|
"Language: lt\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n"
|
18
18
|
|
package/lang/translations/lv.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Latvian (https://
|
15
|
+
"Language-Team: Latvian (https://app.transifex.com/ckeditor/teams/11143/lv/)\n"
|
16
16
|
"Language: lv\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
|
18
18
|
|
package/lang/translations/ms.po
CHANGED
package/lang/translations/ne.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Nepali (Nepal) (https://
|
15
|
+
"Language-Team: Nepali (Nepal) (https://app.transifex.com/ckeditor/teams/11143/ne_NP/)\n"
|
16
16
|
"Language: ne_NP\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/nl.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Dutch (https://
|
15
|
+
"Language-Team: Dutch (https://app.transifex.com/ckeditor/teams/11143/nl/)\n"
|
16
16
|
"Language: nl\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/no.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Norwegian (https://
|
15
|
+
"Language-Team: Norwegian (https://app.transifex.com/ckeditor/teams/11143/no/)\n"
|
16
16
|
"Language: no\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/pl.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Polish (https://
|
15
|
+
"Language-Team: Polish (https://app.transifex.com/ckeditor/teams/11143/pl/)\n"
|
16
16
|
"Language: pl\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
|
18
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Portuguese (Brazil) (https://
|
15
|
+
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/ckeditor/teams/11143/pt_BR/)\n"
|
16
16
|
"Language: pt_BR\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
package/lang/translations/pt.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Portuguese (https://
|
15
|
+
"Language-Team: Portuguese (https://app.transifex.com/ckeditor/teams/11143/pt/)\n"
|
16
16
|
"Language: pt\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
18
18
|
|
package/lang/translations/ro.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Romanian (https://
|
15
|
+
"Language-Team: Romanian (https://app.transifex.com/ckeditor/teams/11143/ro/)\n"
|
16
16
|
"Language: ro\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
18
18
|
|
package/lang/translations/ru.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Russian (https://
|
15
|
+
"Language-Team: Russian (https://app.transifex.com/ckeditor/teams/11143/ru/)\n"
|
16
16
|
"Language: ru\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
18
18
|
|
package/lang/translations/sk.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Slovak (https://
|
15
|
+
"Language-Team: Slovak (https://app.transifex.com/ckeditor/teams/11143/sk/)\n"
|
16
16
|
"Language: sk\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
|
18
18
|
|
package/lang/translations/sl.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Slovenian (https://
|
15
|
+
"Language-Team: Slovenian (https://app.transifex.com/ckeditor/teams/11143/sl/)\n"
|
16
16
|
"Language: sl\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
|
18
18
|
|
package/lang/translations/sq.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Albanian (https://
|
15
|
+
"Language-Team: Albanian (https://app.transifex.com/ckeditor/teams/11143/sq/)\n"
|
16
16
|
"Language: sq\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Serbian (Latin) (https://
|
15
|
+
"Language-Team: Serbian (Latin) (https://app.transifex.com/ckeditor/teams/11143/sr@latin/)\n"
|
16
16
|
"Language: sr@latin\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
18
18
|
|
package/lang/translations/sr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Serbian (https://
|
15
|
+
"Language-Team: Serbian (https://app.transifex.com/ckeditor/teams/11143/sr/)\n"
|
16
16
|
"Language: sr\n"
|
17
17
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
18
18
|
|
package/lang/translations/sv.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Swedish (https://
|
15
|
+
"Language-Team: Swedish (https://app.transifex.com/ckeditor/teams/11143/sv/)\n"
|
16
16
|
"Language: sv\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/th.po
CHANGED
package/lang/translations/tk.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Turkmen (https://
|
15
|
+
"Language-Team: Turkmen (https://app.transifex.com/ckeditor/teams/11143/tk/)\n"
|
16
16
|
"Language: tk\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/tr.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Turkish (https://
|
15
|
+
"Language-Team: Turkish (https://app.transifex.com/ckeditor/teams/11143/tr/)\n"
|
16
16
|
"Language: tr\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
18
18
|
|
package/lang/translations/ug.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Uyghur (https://
|
15
|
+
"Language-Team: Uyghur (https://app.transifex.com/ckeditor/teams/11143/ug/)\n"
|
16
16
|
"Language: ug\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
package/lang/translations/uk.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Ukrainian (https://
|
15
|
+
"Language-Team: Ukrainian (https://app.transifex.com/ckeditor/teams/11143/uk/)\n"
|
16
16
|
"Language: uk\n"
|
17
17
|
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
18
18
|
|
package/lang/translations/ur.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Urdu (https://
|
15
|
+
"Language-Team: Urdu (https://app.transifex.com/ckeditor/teams/11143/ur/)\n"
|
16
16
|
"Language: ur\n"
|
17
17
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18
18
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
2
|
+
#
|
3
|
+
# !!! IMPORTANT !!!
|
4
|
+
#
|
5
|
+
# Before you edit this file, please keep in mind that contributing to the project
|
6
|
+
# translations is possible ONLY via the Transifex online service.
|
7
|
+
#
|
8
|
+
# To submit your translations, visit https://www.transifex.com/ckeditor/ckeditor5.
|
9
|
+
#
|
10
|
+
# To learn more, check out the official contributor's guide:
|
11
|
+
# https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
|
12
|
+
#
|
13
|
+
msgid ""
|
14
|
+
msgstr ""
|
15
|
+
"Language-Team: Uzbek (https://app.transifex.com/ckeditor/teams/11143/uz/)\n"
|
16
|
+
"Language: uz\n"
|
17
|
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
|
+
|
19
|
+
msgctxt "A message that the data is being saved."
|
20
|
+
msgid "Saving changes"
|
21
|
+
msgstr "O'zgarishlarni saqlash"
|
package/lang/translations/vi.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Vietnamese (https://
|
15
|
+
"Language-Team: Vietnamese (https://app.transifex.com/ckeditor/teams/11143/vi/)\n"
|
16
16
|
"Language: vi\n"
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
18
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Chinese (China) (https://
|
15
|
+
"Language-Team: Chinese (China) (https://app.transifex.com/ckeditor/teams/11143/zh_CN/)\n"
|
16
16
|
"Language: zh_CN\n"
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
18
|
|
package/lang/translations/zh.po
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
#
|
13
13
|
msgid ""
|
14
14
|
msgstr ""
|
15
|
-
"Language-Team: Chinese (Taiwan) (https://
|
15
|
+
"Language-Team: Chinese (Taiwan) (https://app.transifex.com/ckeditor/teams/11143/zh_TW/)\n"
|
16
16
|
"Language: zh_TW\n"
|
17
17
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
18
18
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-autosave",
|
3
|
-
"version": "
|
3
|
+
"version": "38.0.0-rc.0",
|
4
4
|
"description": "Autosave feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -12,16 +12,16 @@
|
|
12
12
|
],
|
13
13
|
"main": "src/index.js",
|
14
14
|
"dependencies": {
|
15
|
-
"ckeditor5": "^
|
15
|
+
"ckeditor5": "^38.0.0-rc.0",
|
16
16
|
"lodash-es": "^4.17.15"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"@ckeditor/ckeditor5-core": "^
|
20
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
21
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
22
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
23
|
-
"@ckeditor/ckeditor5-source-editing": "^
|
24
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
19
|
+
"@ckeditor/ckeditor5-core": "^38.0.0-rc.0",
|
20
|
+
"@ckeditor/ckeditor5-dev-utils": "^37.0.0",
|
21
|
+
"@ckeditor/ckeditor5-editor-classic": "^38.0.0-rc.0",
|
22
|
+
"@ckeditor/ckeditor5-paragraph": "^38.0.0-rc.0",
|
23
|
+
"@ckeditor/ckeditor5-source-editing": "^38.0.0-rc.0",
|
24
|
+
"@ckeditor/ckeditor5-theme-lark": "^38.0.0-rc.0",
|
25
25
|
"typescript": "^4.8.4",
|
26
26
|
"webpack": "^5.58.1",
|
27
27
|
"webpack-cli": "^4.9.0"
|
package/src/autosave.js
CHANGED
@@ -106,7 +106,7 @@ export default class Autosave extends Plugin {
|
|
106
106
|
this.listenTo(editor, 'destroy', () => this._flush(), { priority: 'highest' });
|
107
107
|
// It's not possible to easy test it because karma uses `beforeunload` event
|
108
108
|
// to warn before full page reload and this event cannot be dispatched manually.
|
109
|
-
/* istanbul ignore next */
|
109
|
+
/* istanbul ignore next -- @preserve */
|
110
110
|
this._domEmitter.listenTo(window, 'beforeunload', (evtInfo, domEvt) => {
|
111
111
|
if (this._pendingActions.hasAny) {
|
112
112
|
domEvt.returnValue = this._pendingActions.first.message;
|