-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add wordcount plugin, feature request #36
- Loading branch information
Jelte Lagendijk
committed
May 11, 2016
1 parent
9c39917
commit 8c060c5
Showing
29 changed files
with
888 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/CKEditorForMendix/widget/lib/plugins/wordcount/css/wordcount.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.cke_wordcount {display:block;float:right;margin-top:-2px;margin-right:3px;color:black;} | ||
|
||
.cke_wordcountLimitReached {color:red! important} |
11 changes: 11 additions & 0 deletions
11
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/ar.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Arabic Translation by Amine BENHAMIDA | ||
|
||
CKEDITOR.plugins.setLang('wordcount', 'ar', { | ||
WordCount: 'كلمات:', | ||
CharCount: 'حروف:', | ||
CharCountWithHTML: 'حروف مع إتش تي إم إل', | ||
Paragraphs: 'فقرات', | ||
pasteWarning: 'لا يمكن اضافة هذا المحتوى لانه تجاوز الحد الاقصى', | ||
Selected: 'محدد: ', | ||
title: 'احصائيات' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/ca.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'ca', { | ||
WordCount: 'Paraules:', | ||
CharCount: 'Caràcters:', | ||
CharCountWithHTML: 'Caràcters (including HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Estadístiques' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/da.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'da', { | ||
WordCount: 'Ord:', | ||
CharCount: 'Karakterer:', | ||
CharCountWithHTML: 'Karakterer (med HTML):', | ||
Paragraphs: 'Afsnit:', | ||
pasteWarning: 'Indholdet kan ikke indsættes da det er længere end den tilladte grænse.', | ||
Selected: 'Markeret: ', | ||
title: 'Statistik' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/de.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'de', { | ||
WordCount: 'Wörter:', | ||
CharCount: 'Zeichen:', | ||
CharCountWithHTML: 'Zeichen (inkl. HTML):', | ||
Paragraphs: 'Absätze:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Statistik' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/el.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'el', { | ||
WordCount: 'Λέξεις:', | ||
CharCount: 'Χαρακτήρες:', | ||
CharCountWithHTML: 'Χαρακτήρες (μαζί με HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Στατιστικά' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/en.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'en', { | ||
WordCount: 'Words:', | ||
CharCount: 'Characters:', | ||
CharCountWithHTML: 'Characters (with HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Statistics' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/es.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'es', { | ||
WordCount: 'Palabras:', | ||
CharCount: 'Carácteres:', | ||
CharCountWithHTML: 'Carácteres (con HTML):', | ||
Paragraphs: 'Párrafos:', | ||
pasteWarning: 'El contenido no se puede pegar, ya que se encuentra fuera del límite permitido', | ||
Selected: 'Seleccionado: ', | ||
title: 'Estadísticas' | ||
}); |
14 changes: 14 additions & 0 deletions
14
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/fi.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* Finnish localisation. | ||
* | ||
* @author Joel Posti / Response200.pro | ||
*/ | ||
CKEDITOR.plugins.setLang('wordcount', 'fi', { | ||
WordCount: 'Sanoja:', | ||
CharCount: 'Merkkejä:', | ||
CharCountWithHTML: 'Merkkejä (ml. HTML):', | ||
Paragraphs: 'Kappaleita:', | ||
pasteWarning: 'Sisältöä ei voida liittää, koska se ylittää sallitun rajan.', | ||
Selected: 'Valittuna: ', | ||
title: 'Statistiikkaa' | ||
}); |
11 changes: 11 additions & 0 deletions
11
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/fr.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// French Translation by Nicolas M. et Pierre-Luc Auclair | ||
|
||
CKEDITOR.plugins.setLang('wordcount', 'fr', { | ||
WordCount: 'Mots :', | ||
CharCount: 'Caractères :', | ||
CharCountWithHTML: 'Caractères (incluant HTML) :', | ||
Paragraphs: 'Paragraphes :', | ||
pasteWarning: 'Le contenu ne peut pas être collé car il dépasse la limite autorisée', | ||
Selected: 'Sélectionné :', | ||
title: 'Statistiques' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/he.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'he', { | ||
WordCount: 'מילים:', | ||
CharCount: 'תווים:', | ||
CharCountWithHTML: 'תווים (כולל HTML):', | ||
Paragraphs: 'פסקאות:', | ||
pasteWarning: 'לא ניתן להדביק תוכן בשל עודף תווים', | ||
Selected: 'נבחר: ', | ||
title: 'סטטיסטיקות' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/hr.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'hr', { | ||
WordCount: 'Riječi:', | ||
CharCount: 'Znakova:', | ||
CharCountWithHTML: 'Znakova (uključujući HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Statistika' | ||
}); |
14 changes: 14 additions & 0 deletions
14
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/it.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. | ||
For licensing, see LICENSE.html or http://ckeditor.com/license | ||
@author translation: Davide Montorio | ||
*/ | ||
CKEDITOR.plugins.setLang('wordcount', 'it', { | ||
WordCount: 'Parole:', | ||
CharCount: 'Caratteri:', | ||
CharCountWithHTML: 'Caratteri (HTML incluso):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Statistiche' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/jp.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'jp', { | ||
WordCount: '単語数:', | ||
CharCount: '文字数:', | ||
CharCountWithHTML: '文字数 (with HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'ワードカウント' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/nl.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'nl', { | ||
WordCount: 'Woorden:', | ||
CharCount: 'Tekens:', | ||
CharCountWithHTML: 'Tekens (inclusief HTML):', | ||
Paragraphs: 'Paragraven:', | ||
pasteWarning: 'De tekst kan niet worden geplakt omdat de limiet is overschreden', | ||
Selected: 'Selected: ', | ||
title: 'Statistieken' | ||
}); |
10 changes: 10 additions & 0 deletions
10
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/no.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Norwegian translation by Vegard S. | ||
CKEDITOR.plugins.setLang('wordcount', 'no', { | ||
WordCount: 'Ord:', | ||
CharCount: 'Tegn:', | ||
CharCountWithHTML: 'Tegn (including HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Statistikk' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/pl.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'pl', { | ||
WordCount: 'Słów:', | ||
CharCount: 'Znaków:', | ||
CharCountWithHTML: 'Znaków (wraz z kodem HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Statystyka' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/pt-br.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'pt-br', { | ||
WordCount: 'Contagem de palavras:', | ||
CharCount: 'Contagem de carateres:', | ||
CharCountWithHTML: 'Carateres (incluindo HTML):', | ||
Paragraphs: 'Parágrafos:', | ||
pasteWarning: 'Conteúdo não pode ser colado porque ultrapassa o limite permitido', | ||
Selected: 'Selecionado: ', | ||
title: 'Estatísticas' | ||
}); |
9 changes: 9 additions & 0 deletions
9
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/pt.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
CKEDITOR.plugins.setLang('wordcount', 'pt', { | ||
WordCount: 'Palavras:', | ||
CharCount: 'Caracteres:', | ||
CharCountWithHTML: 'Carateres (incluindo HTML):', | ||
Paragraphs: 'Parágrafos:', | ||
pasteWarning: 'O conteúdo não pode ser colado porque ultrapassa o limite permitido', | ||
Selected: 'Selecionado: ', | ||
title: 'Estatísticas' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/ru.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. | ||
For licensing, see LICENSE.html or http://ckeditor.com/license | ||
*/ | ||
CKEDITOR.plugins.setLang('wordcount', 'ru', { | ||
WordCount: 'Слов:', | ||
CharCount: 'Символов:', | ||
CharCountWithHTML: ' (включая HTML разметку):', | ||
Paragraphs: 'Параграфов:', | ||
pasteWarning: 'Контент не может быть вставлен, т.к. привышает допустимый лимит', | ||
Selected: 'Выделено: ', | ||
title: 'Статистика' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/sv.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', 'sv', { | ||
WordCount: 'Ord:', | ||
CharCount: 'Tecken:', | ||
CharCountWithHTML: 'Tecken (inklusive HTML):', | ||
Paragraphs: 'Paragraphs:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'Statistik' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/tr.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
Mesut ÇAKIR | ||
[email protected] | ||
*/ | ||
CKEDITOR.plugins.setLang('wordcount', 'tr', { | ||
WordCount: 'Kelime:', | ||
CharCount: 'Karakter:', | ||
CharCountWithHTML: 'Karakter (HTML dahil):', | ||
Paragraphs: 'Paragraf:', | ||
pasteWarning: 'Content can not be pasted because it is above the allowed limit', | ||
Selected: 'Selected: ', | ||
title: 'İstatistik' | ||
}); |
13 changes: 13 additions & 0 deletions
13
src/CKEditorForMendix/widget/lib/plugins/wordcount/lang/zh-cn.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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-cn', { | ||
WordCount: '词数:', | ||
CharCount: '字符:', | ||
CharCountWithHTML: '字符 (含HTML)', | ||
Paragraphs: '段落:', | ||
pasteWarning: '由于上限允许,内容不能粘贴', | ||
Selected: '已选择: ', | ||
title: '统计' | ||
}); |
Oops, something went wrong.