From b29a29d4dc8a42732ce46720e1efc30c826e4c93 Mon Sep 17 00:00:00 2001 From: w8tcha Date: Thu, 17 Aug 2017 09:25:28 +0200 Subject: [PATCH] Add Traditional Chinese language --- wordcount/lang/zh.js | 13 +++++++++++++ wordcount/plugin.js | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 wordcount/lang/zh.js diff --git a/wordcount/lang/zh.js b/wordcount/lang/zh.js new file mode 100644 index 0000000..f877a55 --- /dev/null +++ b/wordcount/lang/zh.js @@ -0,0 +1,13 @@ +/* +Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ +CKEDITOR.plugins.setLang('wordcount', 'zh', { + WordCount: '詞數:', + CharCount: '字數:', + CharCountWithHTML: '字數 (含HTML)', + Paragraphs: '段落:', + pasteWarning: '由於字數達到上限,內容不能粘貼', + Selected: '已選擇: ', + title: '統計' +}); \ No newline at end of file diff --git a/wordcount/plugin.js b/wordcount/plugin.js index 7bcc54c..03a6f5e 100644 --- a/wordcount/plugin.js +++ b/wordcount/plugin.js @@ -4,7 +4,7 @@ */ CKEDITOR.plugins.add("wordcount", { - lang: "ar,ca,cs,da,de,el,en,es,eu,fa,fi,fr,he,hr,hu,it,ja,nl,no,pl,pt,pt-br,ru,sk,sv,tr,zh-cn", // %REMOVE_LINE_CORE% + lang: "ar,ca,cs,da,de,el,en,es,eu,fa,fi,fr,he,hr,hu,it,ja,nl,no,pl,pt,pt-br,ru,sk,sv,tr,zh-cn,zh", // %REMOVE_LINE_CORE% version: 1.17, requires: 'htmlwriter,notification,undo', bbcodePluginLoaded: false,