@ckeditor/ckeditor5-word-count 31.1.0 → 32.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE.md +2 -2
- package/build/translations/fa.js +1 -1
- package/build/translations/ne.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/word-count.js +3 -3
- package/lang/translations/az.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/en-au.po +1 -1
- package/lang/translations/en-gb.po +1 -1
- package/lang/translations/en.po +1 -1
- package/lang/translations/es.po +1 -1
- package/lang/translations/et.po +1 -1
- package/lang/translations/fa.po +3 -3
- 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/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/ne.po +3 -3
- package/lang/translations/nl.po +3 -3
- 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/ro.po +1 -1
- package/lang/translations/ru.po +1 -1
- package/lang/translations/sk.po +1 -1
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +1 -1
- package/lang/translations/tk.po +1 -1
- package/lang/translations/tr.po +1 -1
- package/lang/translations/uk.po +1 -1
- 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 +19 -19
- package/src/index.js +1 -1
- package/src/utils.js +1 -1
- package/src/wordcount.js +1 -1
package/LICENSE.md
CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
|
|
2
2
|
==========================
|
3
3
|
|
4
4
|
**CKEditor 5 word and character count feature** – https://github.com/ckeditor/ckeditor5-word-count <br>
|
5
|
-
Copyright (c) 2003-
|
5
|
+
Copyright (c) 2003-2022, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
|
6
6
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
8
8
|
|
@@ -14,4 +14,4 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
|
|
14
14
|
Trademarks
|
15
15
|
----------
|
16
16
|
|
17
|
-
**CKEditor** is a trademark of [CKSource](http://cksource.com)
|
17
|
+
**CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
package/build/translations/fa.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(i){const n=i.fa=i.fa||{};n.dictionary=Object.assign(n.dictionary||{},{"Characters: %0":"تعداد حروف : 0
|
1
|
+
!function(i){const n=i.fa=i.fa||{};n.dictionary=Object.assign(n.dictionary||{},{"Characters: %0":"تعداد حروف : %0","Words: %0":"تعداد لغات : %0"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/ne.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(n){const i=n.ne=n.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Characters: %0":"क्यारेक्टरहरू: 0
|
1
|
+
!function(n){const i=n.ne=n.ne||{};i.dictionary=Object.assign(i.dictionary||{},{"Characters: %0":"क्यारेक्टरहरू: %0","Words: %0":"शब्दहरू: %0"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/translations/nl.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(n){const o=n.nl=n.nl||{};o.dictionary=Object.assign(o.dictionary||{},{"Characters: %0":"Tekens: 0
|
1
|
+
!function(n){const o=n.nl=n.nl||{};o.dictionary=Object.assign(o.dictionary||{},{"Characters: %0":"Tekens: %0","Words: %0":"Woorden: %0"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={}));
|
package/build/word-count.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
+
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Characters: %0":"Characters: %0","Words: %0":"Words: %0"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
1
2
|
/*!
|
2
|
-
* @license Copyright (c) 2003-
|
3
|
+
* @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved.
|
3
4
|
* For licensing, see LICENSE.md.
|
4
|
-
*/
|
5
|
-
!function(t){const e=t.en=t.en||{};e.dictionary=Object.assign(e.dictionary||{},{"Characters: %0":"Characters: %0","Words: %0":"Words: %0"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),window.CKEditor5=window.CKEditor5||{},window.CKEditor5.wordCount=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=6)}([function(t,e){t.exports=CKEditor5.dll},function(t,e,r){t.exports=r(0)("./src/ui.js")},function(t,e,r){t.exports=r(0)("./src/core.js")},function(t,e,r){t.exports=r(0)("./src/utils.js")},function(t,e,r){"use strict";(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.a=r}).call(this,r(5))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";r.r(e),r.d(e,"WordCount",(function(){return Z}));var n=r(2),o=r(1),i=r(3);var u=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},c=r(4),a="object"==typeof self&&self&&self.Object===Object&&self,s=c.a||a||Function("return this")(),d=function(){return s.Date.now()},f=/\s/;var l=function(t){for(var e=t.length;e--&&f.test(t.charAt(e)););return e},h=/^\s+/;var p=function(t){return t?t.slice(0,l(t)+1).replace(h,""):t},g=s.Symbol,v=Object.prototype,w=v.hasOwnProperty,b=v.toString,y=g?g.toStringTag:void 0;var _=function(t){var e=w.call(t,y),r=t[y];try{t[y]=void 0;var n=!0}catch(t){}var o=b.call(t);return n&&(e?t[y]=r:delete t[y]),o},m=Object.prototype.toString;var j=function(t){return m.call(t)},O=g?g.toStringTag:void 0;var x=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":O&&O in Object(t)?_(t):j(t)};var C=function(t){return null!=t&&"object"==typeof t};var S=function(t){return"symbol"==typeof t||C(t)&&"[object Symbol]"==x(t)},T=/^[-+]0x[0-9a-f]+$/i,E=/^0b[01]+$/i,P=/^0o[0-7]+$/i,W=parseInt;var N=function(t){if("number"==typeof t)return t;if(S(t))return NaN;if(u(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=u(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=p(t);var r=E.test(t);return r||P.test(t)?W(t.slice(2),r?2:8):T.test(t)?NaN:+t},R=Math.max,V=Math.min;var L=function(t,e,r){var n,o,i,c,a,s,f=0,l=!1,h=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=n,i=o;return n=o=void 0,f=e,c=t.apply(i,r)}function v(t){return f=t,a=setTimeout(b,e),l?g(t):c}function w(t){var r=t-s;return void 0===s||r>=e||r<0||h&&t-f>=i}function b(){var t=d();if(w(t))return y(t);a=setTimeout(b,function(t){var r=e-(t-s);return h?V(r,i-(t-f)):r}(t))}function y(t){return a=void 0,p&&n?g(t):(n=o=void 0,c)}function _(){var t=d(),r=w(t);if(n=arguments,o=this,s=t,r){if(void 0===a)return v(s);if(h)return clearTimeout(a),a=setTimeout(b,e),g(s)}return void 0===a&&(a=setTimeout(b,e)),c}return e=N(e)||0,u(r)&&(l=!!r.leading,i=(h="maxWait"in r)?R(N(r.maxWait)||0,e):i,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==a&&clearTimeout(a),f=0,n=s=o=a=void 0},_.flush=function(){return void 0===a?c:y(d())},_};var M=function(t,e,r){var n=!0,o=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return u(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),L(t,e,{leading:n,maxWait:e,trailing:o})};var A=function(t,e){return function(r){return t(e(r))}}(Object.getPrototypeOf,Object),K=Function.prototype,I=Object.prototype,$=K.toString,k=I.hasOwnProperty,U=$.call(Object);var D=function(t){if(!C(t)||"[object Object]"!=x(t))return!1;var e=A(t);if(null===e)return!0;var r=k.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&$.call(r)==U};var F=function(t){return C(t)&&1===t.nodeType&&!D(t)};function z(t){if(t.is("$text")||t.is("$textProxy"))return t.data;let e="",r=null;for(const n of t.getChildren()){const t=z(n);r&&r.is("element")&&(e+="\n"),e+=t,r=n}return e}class Z extends n.Plugin{constructor(t){super(t),this.set("characters",0),this.set("words",0),Object.defineProperties(this,{characters:{get(){return this.characters=this._getCharacters()}},words:{get(){return this.words=this._getWords()}}}),this.set("_wordsLabel"),this.set("_charactersLabel"),this._config=t.config.get("wordCount")||{},this._outputView=void 0,this._wordsMatchRegExp=i.env.features.isRegExpUnicodePropertySupported?new RegExp("([\\p{L}\\p{N}]+\\S?)+","gu"):/([a-zA-Z0-9À-ž]+\S?)+/gu}static get pluginName(){return"WordCount"}init(){this.editor.model.document.on("change:data",M(this._refreshStats.bind(this),250)),"function"==typeof this._config.onUpdate&&this.on("update",(t,e)=>{this._config.onUpdate(e)}),F(this._config.container)&&this._config.container.appendChild(this.wordCountContainer)}destroy(){this._outputView&&(this._outputView.element.remove(),this._outputView.destroy()),super.destroy()}get wordCountContainer(){const t=this.editor,e=t.t,r=t.config.get("wordCount.displayWords"),n=t.config.get("wordCount.displayCharacters"),i=o.Template.bind(this,this),u=[];return this._outputView||(this._outputView=new o.View,(r||void 0===r)&&(this.bind("_wordsLabel").to(this,"words",t=>e("Words: %0",t)),u.push({tag:"div",children:[{text:[i.to("_wordsLabel")]}],attributes:{class:"ck-word-count__words"}})),(n||void 0===n)&&(this.bind("_charactersLabel").to(this,"characters",t=>e("Characters: %0",t)),u.push({tag:"div",children:[{text:[i.to("_charactersLabel")]}],attributes:{class:"ck-word-count__characters"}})),this._outputView.setTemplate({tag:"div",attributes:{class:["ck","ck-word-count"]},children:u}),this._outputView.render()),this._outputView.element}_getCharacters(){return z(this.editor.model.document.getRoot()).replace(/\n/g,"").length}_getWords(){return(z(this.editor.model.document.getRoot()).match(this._wordsMatchRegExp)||[]).length}_refreshStats(){const t=this.words=this._getWords(),e=this.characters=this._getCharacters();this.fire("update",{words:t,characters:e})}}}]);
|
5
|
+
*/(()=>{var t={704:(t,e,r)=>{t.exports=r(79)("./src/core.js")},273:(t,e,r)=>{t.exports=r(79)("./src/ui.js")},209:(t,e,r)=>{t.exports=r(79)("./src/utils.js")},79:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function r(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};(()=>{"use strict";r.r(o),r.d(o,{WordCount:()=>z});var t=r(704),e=r(273),n=r(209);const i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const s="object"==typeof global&&global&&global.Object===Object&&global;var c="object"==typeof self&&self&&self.Object===Object&&self;const a=s||c||Function("return this")();const u=function(){return a.Date.now()};var d=/\s/;const l=function(t){for(var e=t.length;e--&&d.test(t.charAt(e)););return e};var f=/^\s+/;const h=function(t){return t?t.slice(0,l(t)+1).replace(f,""):t};const p=a.Symbol;var g=Object.prototype,v=g.hasOwnProperty,b=g.toString,w=p?p.toStringTag:void 0;const y=function(t){var e=v.call(t,w),r=t[w];try{t[w]=void 0;var o=!0}catch(t){}var n=b.call(t);return o&&(e?t[w]=r:delete t[w]),n};var _=Object.prototype.toString;const m=function(t){return _.call(t)};var j=p?p.toStringTag:void 0;const O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":j&&j in Object(t)?y(t):m(t)};const x=function(t){return null!=t&&"object"==typeof t};const C=function(t){return"symbol"==typeof t||x(t)&&"[object Symbol]"==O(t)};var S=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,E=/^0o[0-7]+$/i,W=parseInt;const N=function(t){if("number"==typeof t)return t;if(C(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=h(t);var r=T.test(t);return r||E.test(t)?W(t.slice(2),r?2:8):S.test(t)?NaN:+t};var P=Math.max,R=Math.min;const V=function(t,e,r){var o,n,s,c,a,d,l=0,f=!1,h=!1,p=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var r=o,i=n;return o=n=void 0,l=e,c=t.apply(i,r)}function v(t){return l=t,a=setTimeout(w,e),f?g(t):c}function b(t){var r=t-d;return void 0===d||r>=e||r<0||h&&t-l>=s}function w(){var t=u();if(b(t))return y(t);a=setTimeout(w,function(t){var r=e-(t-d);return h?R(r,s-(t-l)):r}(t))}function y(t){return a=void 0,p&&o?g(t):(o=n=void 0,c)}function _(){var t=u(),r=b(t);if(o=arguments,n=this,d=t,r){if(void 0===a)return v(d);if(h)return clearTimeout(a),a=setTimeout(w,e),g(d)}return void 0===a&&(a=setTimeout(w,e)),c}return e=N(e)||0,i(r)&&(f=!!r.leading,s=(h="maxWait"in r)?P(N(r.maxWait)||0,e):s,p="trailing"in r?!!r.trailing:p),_.cancel=function(){void 0!==a&&clearTimeout(a),l=0,o=d=n=a=void 0},_.flush=function(){return void 0===a?c:y(u())},_};const L=function(t,e,r){var o=!0,n=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,n="trailing"in r?!!r.trailing:n),V(t,e,{leading:o,maxWait:e,trailing:n})};const A=function(t,e){return function(r){return t(e(r))}}(Object.getPrototypeOf,Object);var M=Function.prototype,I=Object.prototype,K=M.toString,$=I.hasOwnProperty,k=K.call(Object);const U=function(t){if(!x(t)||"[object Object]"!=O(t))return!1;var e=A(t);if(null===e)return!0;var r=$.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&K.call(r)==k};const D=function(t){return x(t)&&1===t.nodeType&&!U(t)};function F(t){if(t.is("$text")||t.is("$textProxy"))return t.data;let e="",r=null;for(const o of t.getChildren()){const t=F(o);r&&r.is("element")&&(e+="\n"),e+=t,r=o}return e}class z extends t.Plugin{constructor(t){super(t),this.set("characters",0),this.set("words",0),Object.defineProperties(this,{characters:{get(){return this.characters=this._getCharacters()}},words:{get(){return this.words=this._getWords()}}}),this.set("_wordsLabel"),this.set("_charactersLabel"),this._config=t.config.get("wordCount")||{},this._outputView=void 0,this._wordsMatchRegExp=n.env.features.isRegExpUnicodePropertySupported?new RegExp("([\\p{L}\\p{N}]+\\S?)+","gu"):/([a-zA-Z0-9À-ž]+\S?)+/gu}static get pluginName(){return"WordCount"}init(){this.editor.model.document.on("change:data",L(this._refreshStats.bind(this),250)),"function"==typeof this._config.onUpdate&&this.on("update",((t,e)=>{this._config.onUpdate(e)})),D(this._config.container)&&this._config.container.appendChild(this.wordCountContainer)}destroy(){this._outputView&&(this._outputView.element.remove(),this._outputView.destroy()),super.destroy()}get wordCountContainer(){const t=this.editor,r=t.t,o=t.config.get("wordCount.displayWords"),n=t.config.get("wordCount.displayCharacters"),i=e.Template.bind(this,this),s=[];return this._outputView||(this._outputView=new e.View,(o||void 0===o)&&(this.bind("_wordsLabel").to(this,"words",(t=>r("Words: %0",t))),s.push({tag:"div",children:[{text:[i.to("_wordsLabel")]}],attributes:{class:"ck-word-count__words"}})),(n||void 0===n)&&(this.bind("_charactersLabel").to(this,"characters",(t=>r("Characters: %0",t))),s.push({tag:"div",children:[{text:[i.to("_charactersLabel")]}],attributes:{class:"ck-word-count__characters"}})),this._outputView.setTemplate({tag:"div",attributes:{class:["ck","ck-word-count"]},children:s}),this._outputView.render()),this._outputView.element}_getCharacters(){return F(this.editor.model.document.getRoot()).replace(/\n/g,"").length}_getWords(){return(F(this.editor.model.document.getRoot()).match(this._wordsMatchRegExp)||[]).length}_refreshStats(){const t=this.words=this._getWords(),e=this.characters=this._getCharacters();this.fire("update",{words:t,characters:e})}}})(),(window.CKEditor5=window.CKEditor5||{}).wordCount=o})();
|
package/lang/translations/az.po
CHANGED
package/lang/translations/cs.po
CHANGED
package/lang/translations/da.po
CHANGED
package/lang/translations/de.po
CHANGED
package/lang/translations/en.po
CHANGED
package/lang/translations/es.po
CHANGED
package/lang/translations/et.po
CHANGED
package/lang/translations/fa.po
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) 2003-
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
2
|
#
|
3
3
|
# !!! IMPORTANT !!!
|
4
4
|
#
|
@@ -18,8 +18,8 @@ msgstr ""
|
|
18
18
|
|
19
19
|
msgctxt "Label showing the number of words in the editor content."
|
20
20
|
msgid "Words: %0"
|
21
|
-
msgstr "تعداد لغات : 0
|
21
|
+
msgstr "تعداد لغات : %0"
|
22
22
|
|
23
23
|
msgctxt "Label showing the number of characters in the editor content."
|
24
24
|
msgid "Characters: %0"
|
25
|
-
msgstr "تعداد حروف : 0
|
25
|
+
msgstr "تعداد حروف : %0"
|
package/lang/translations/fi.po
CHANGED
package/lang/translations/fr.po
CHANGED
package/lang/translations/gl.po
CHANGED
package/lang/translations/he.po
CHANGED
package/lang/translations/hi.po
CHANGED
package/lang/translations/hr.po
CHANGED
package/lang/translations/hu.po
CHANGED
package/lang/translations/id.po
CHANGED
package/lang/translations/it.po
CHANGED
package/lang/translations/ja.po
CHANGED
package/lang/translations/ko.po
CHANGED
package/lang/translations/ku.po
CHANGED
package/lang/translations/lt.po
CHANGED
package/lang/translations/lv.po
CHANGED
package/lang/translations/ne.po
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) 2003-
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
2
|
#
|
3
3
|
# !!! IMPORTANT !!!
|
4
4
|
#
|
@@ -18,8 +18,8 @@ msgstr ""
|
|
18
18
|
|
19
19
|
msgctxt "Label showing the number of words in the editor content."
|
20
20
|
msgid "Words: %0"
|
21
|
-
msgstr "शब्दहरू: 0
|
21
|
+
msgstr "शब्दहरू: %0"
|
22
22
|
|
23
23
|
msgctxt "Label showing the number of characters in the editor content."
|
24
24
|
msgid "Characters: %0"
|
25
|
-
msgstr "क्यारेक्टरहरू: 0
|
25
|
+
msgstr "क्यारेक्टरहरू: %0"
|
package/lang/translations/nl.po
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (c) 2003-
|
1
|
+
# Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
2
2
|
#
|
3
3
|
# !!! IMPORTANT !!!
|
4
4
|
#
|
@@ -18,8 +18,8 @@ msgstr ""
|
|
18
18
|
|
19
19
|
msgctxt "Label showing the number of words in the editor content."
|
20
20
|
msgid "Words: %0"
|
21
|
-
msgstr "Woorden: 0
|
21
|
+
msgstr "Woorden: %0"
|
22
22
|
|
23
23
|
msgctxt "Label showing the number of characters in the editor content."
|
24
24
|
msgid "Characters: %0"
|
25
|
-
msgstr "Tekens: 0
|
25
|
+
msgstr "Tekens: %0"
|
package/lang/translations/no.po
CHANGED
package/lang/translations/pl.po
CHANGED
package/lang/translations/ro.po
CHANGED
package/lang/translations/ru.po
CHANGED
package/lang/translations/sk.po
CHANGED
package/lang/translations/sr.po
CHANGED
package/lang/translations/tk.po
CHANGED
package/lang/translations/tr.po
CHANGED
package/lang/translations/uk.po
CHANGED
package/lang/translations/vi.po
CHANGED
package/lang/translations/zh.po
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-word-count",
|
3
|
-
"version": "
|
3
|
+
"version": "32.0.0",
|
4
4
|
"description": "Word and character count feature for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -13,28 +13,28 @@
|
|
13
13
|
"main": "src/index.js",
|
14
14
|
"dependencies": {
|
15
15
|
"lodash-es": "^4.17.15",
|
16
|
-
"ckeditor5": "^
|
16
|
+
"ckeditor5": "^32.0.0"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
20
|
-
"@ckeditor/ckeditor5-block-quote": "^
|
21
|
-
"@ckeditor/ckeditor5-core": "^
|
22
|
-
"@ckeditor/ckeditor5-dev-utils": "^
|
23
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
24
|
-
"@ckeditor/ckeditor5-engine": "^
|
25
|
-
"@ckeditor/ckeditor5-enter": "^
|
26
|
-
"@ckeditor/ckeditor5-image": "^
|
27
|
-
"@ckeditor/ckeditor5-link": "^
|
28
|
-
"@ckeditor/ckeditor5-list": "^
|
29
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
30
|
-
"@ckeditor/ckeditor5-table": "^
|
31
|
-
"@ckeditor/ckeditor5-theme-lark": "^
|
32
|
-
"@ckeditor/ckeditor5-utils": "^
|
33
|
-
"webpack": "^
|
34
|
-
"webpack-cli": "^
|
19
|
+
"@ckeditor/ckeditor5-basic-styles": "^32.0.0",
|
20
|
+
"@ckeditor/ckeditor5-block-quote": "^32.0.0",
|
21
|
+
"@ckeditor/ckeditor5-core": "^32.0.0",
|
22
|
+
"@ckeditor/ckeditor5-dev-utils": "^27.1.0",
|
23
|
+
"@ckeditor/ckeditor5-editor-classic": "^32.0.0",
|
24
|
+
"@ckeditor/ckeditor5-engine": "^32.0.0",
|
25
|
+
"@ckeditor/ckeditor5-enter": "^32.0.0",
|
26
|
+
"@ckeditor/ckeditor5-image": "^32.0.0",
|
27
|
+
"@ckeditor/ckeditor5-link": "^32.0.0",
|
28
|
+
"@ckeditor/ckeditor5-list": "^32.0.0",
|
29
|
+
"@ckeditor/ckeditor5-paragraph": "^32.0.0",
|
30
|
+
"@ckeditor/ckeditor5-table": "^32.0.0",
|
31
|
+
"@ckeditor/ckeditor5-theme-lark": "^32.0.0",
|
32
|
+
"@ckeditor/ckeditor5-utils": "^32.0.0",
|
33
|
+
"webpack": "^5.58.1",
|
34
|
+
"webpack-cli": "^4.9.0"
|
35
35
|
},
|
36
36
|
"engines": {
|
37
|
-
"node": ">=
|
37
|
+
"node": ">=14.0.0",
|
38
38
|
"npm": ">=5.7.1"
|
39
39
|
},
|
40
40
|
"author": "CKSource (http://cksource.com/)",
|
package/src/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
package/src/utils.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
package/src/wordcount.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @license Copyright (c) 2003-
|
2
|
+
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|