diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-06-04 00:16:28 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-06-04 00:16:28 -0700 |
commit | 7588a4ac90a9b07c08a3107cd1107d773be1c991 (patch) | |
tree | 55b8bedb5f899e705da0ba7f608267943bf89e94 /rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder | |
parent | 98d2b25256055abb0dfcb9f586b434474fa97afd (diff) |
RT 4.0.13
Diffstat (limited to 'rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder')
31 files changed, 240 insertions, 0 deletions
diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/dialogs/placeholder.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/dialogs/placeholder.js new file mode 100644 index 000000000..c609f750b --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/dialogs/placeholder.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){function a(b,c){var d=b.lang.placeholder,e=b.lang.common.generalTab;return{title:d.title,minWidth:300,minHeight:80,contents:[{id:'info',label:e,title:e,elements:[{id:'text',type:'text',style:'width: 100%;',label:d.text,'default':'',required:true,validate:CKEDITOR.dialog.validate.notEmpty(d.textMissing),setup:function(f){if(c)this.setValue(f.getText().slice(2,-2));},commit:function(f){var g='[['+this.getValue()+']]';CKEDITOR.plugins.placeholder.createPlaceholder(b,f,g);}}]}],onShow:function(){if(c)this._element=CKEDITOR.plugins.placeholder.getSelectedPlaceHoder(b);this.setupContent(this._element);},onOk:function(){this.commitContent(this._element);delete this._element;}};};CKEDITOR.dialog.add('createplaceholder',function(b){return a(b);});CKEDITOR.dialog.add('editplaceholder',function(b){return a(b,1);});})(); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/_translationstatus.txt b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/_translationstatus.txt new file mode 100644 index 000000000..e7f1e7d2c --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/_translationstatus.txt @@ -0,0 +1,30 @@ +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license + +bg.js Found: 5 Missing: 0 +cs.js Found: 5 Missing: 0 +cy.js Found: 5 Missing: 0 +da.js Found: 5 Missing: 0 +de.js Found: 5 Missing: 0 +el.js Found: 5 Missing: 0 +eo.js Found: 5 Missing: 0 +et.js Found: 5 Missing: 0 +fa.js Found: 5 Missing: 0 +fi.js Found: 5 Missing: 0 +fr.js Found: 5 Missing: 0 +he.js Found: 5 Missing: 0 +hr.js Found: 5 Missing: 0 +it.js Found: 5 Missing: 0 +ku.js Found: 5 Missing: 0 +lv.js Found: 5 Missing: 0 +nb.js Found: 5 Missing: 0 +nl.js Found: 5 Missing: 0 +no.js Found: 5 Missing: 0 +pl.js Found: 5 Missing: 0 +pt-br.js Found: 5 Missing: 0 +sk.js Found: 5 Missing: 0 +tr.js Found: 5 Missing: 0 +ug.js Found: 5 Missing: 0 +uk.js Found: 5 Missing: 0 +vi.js Found: 4 Missing: 1 +zh-cn.js Found: 5 Missing: 0 diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/bg.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/bg.js new file mode 100644 index 000000000..228c80b98 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/bg.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','bg',{placeholder:{title:'Настройки на контейнера',toolbar:'Нов контейнер',text:'Текст за контейнера',edit:'Промяна на контейнер',textMissing:'Контейнера трябва да съдържа текст.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/cs.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/cs.js new file mode 100644 index 000000000..432ca8d88 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/cs.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','cs',{placeholder:{title:'Vlastnosti vyhrazeného prostoru',toolbar:'Vytvořit vyhrazený prostor',text:'Vyhrazený text',edit:'Upravit vyhrazený prostor',textMissing:'Vyhrazený prostor musí obsahovat text.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/cy.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/cy.js new file mode 100644 index 000000000..f4d0c446a --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/cy.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','cy',{placeholder:{title:"Priodweddau'r Daliwr Geiriau",toolbar:'Creu Daliwr Geiriau',text:'Testun y Daliwr Geiriau',edit:"Golygu'r Dailwr Geiriau",textMissing:"Mae'n rhaid i'r daliwr geiriau gynnwys testun."}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/da.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/da.js new file mode 100644 index 000000000..6cbce4009 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/da.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','da',{placeholder:{title:'Egenskaber for pladsholder',toolbar:'Opret pladsholder',text:'Tekst til pladsholder',edit:'Redigér pladsholder',textMissing:'Pladsholder skal indeholde tekst'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/de.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/de.js new file mode 100644 index 000000000..7312b1bc8 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/de.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','de',{placeholder:{title:'Platzhalter Einstellungen',toolbar:'Platzhalter erstellen',text:'Platzhalter Text',edit:'Platzhalter bearbeiten',textMissing:'Der Platzhalter muss einen Text beinhalten.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/el.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/el.js new file mode 100644 index 000000000..b2a05cceb --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/el.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','el',{placeholder:{title:'Ιδιότητες Υποκατάστατου Κειμένου',toolbar:'Δημιουργία Υποκατάσταστου Κειμένου',text:'Υποκαθιστόμενο Κείμενο',edit:'Επεξεργασία Υποκατάσταστου Κειμένου',textMissing:'Πρέπει να υπάρχει υποκαθιστόμενο κείμενο.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/en.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/en.js new file mode 100644 index 000000000..77ff1e6c1 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/en.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',textMissing:'The placeholder must contain text.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/eo.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/eo.js new file mode 100644 index 000000000..ba0d3b479 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/eo.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','eo',{placeholder:{title:'Atributoj de la rezervita spaco',toolbar:'Krei la rezervitan spacon',text:'Texto de la rezervita spaco',edit:'Modifi la rezervitan spacon',textMissing:'La rezervita spaco devas enteni tekston.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/et.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/et.js new file mode 100644 index 000000000..a4967b115 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/et.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','et',{placeholder:{title:'Kohahoidja omadused',toolbar:'Kohahoidja loomine',text:'Kohahoidja tekst',edit:'Kohahoidja muutmine',textMissing:'Kohahoidja peab sisaldama teksti.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fa.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fa.js new file mode 100644 index 000000000..9044d1558 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fa.js @@ -0,0 +1,21 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang( 'placeholder', 'fa', +{ + placeholder : + { + title : 'ویژگیهای محل نگهداری', + toolbar : 'ایجاد یک محل نگهداری', + text : 'متن محل نگهداری', + edit : 'ویرایش محل نگهداری', + textMissing : 'محل نگهداری باید محتوی متن باشد.' + } +}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fi.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fi.js new file mode 100644 index 000000000..de6a9ea72 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fi.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','fi',{placeholder:{title:'Paikkamerkin ominaisuudet',toolbar:'Luo paikkamerkki',text:'Paikkamerkin teksti',edit:'Muokkaa paikkamerkkiä',textMissing:'Paikkamerkin täytyy sisältää tekstiä'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fr.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fr.js new file mode 100644 index 000000000..0143f17a4 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/fr.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','fr',{placeholder:{title:"Propriétés de l'Espace réservé",toolbar:"Créer l'Espace réservé",text:"Texte de l'Espace réservé",edit:"Modifier l'Espace réservé",textMissing:"L'Espace réservé doit contenir du texte."}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/he.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/he.js new file mode 100644 index 000000000..134a388fe --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/he.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שומר המקום חייב להכיל טקסט.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/hr.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/hr.js new file mode 100644 index 000000000..f7b7bddc1 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/hr.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','hr',{placeholder:{title:'Svojstva rezerviranog mjesta',toolbar:'Napravi rezervirano mjesto',text:'Tekst rezerviranog mjesta',edit:'Uredi rezervirano mjesto',textMissing:'Rezervirano mjesto mora sadržavati tekst.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/it.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/it.js new file mode 100644 index 000000000..fcfd09834 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/it.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','it',{placeholder:{title:'Proprietà segnaposto',toolbar:'Crea segnaposto',text:'Testo segnaposto',edit:'Modifica segnaposto',textMissing:'Il segnaposto deve contenere del testo.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/ku.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/ku.js new file mode 100644 index 000000000..e6bf47bf8 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/ku.js @@ -0,0 +1,21 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang( 'placeholder', 'ku', +{ + placeholder : + { + title : 'خاسیهتی شوێن ههڵگر', + toolbar : 'درووستکردنی شوێن ههڵگر', + text : 'دهق بۆ شوێن ههڵگڕ', + edit : 'چاکسازی شوێن ههڵگڕ', + textMissing : 'شوێن ههڵگڕ دهبێت لهدهق پێکهاتبێت.' + } +}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/lv.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/lv.js new file mode 100644 index 000000000..1f01e467e --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/lv.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','lv',{placeholder:{title:'Viettura uzstādījumi',toolbar:'Izveidot vietturi',text:'Viettura teksts',edit:'Labot vietturi',textMissing:'Vietturim jāsatur tekstu'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/nb.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/nb.js new file mode 100644 index 000000000..484bef0de --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/nb.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','nb',{placeholder:{title:'Egenskaper for plassholder',toolbar:'Opprett plassholder',text:'Tekst for plassholder',edit:'Rediger plassholder',textMissing:'Plassholderen må inneholde tekst.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/nl.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/nl.js new file mode 100644 index 000000000..891903bb7 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/nl.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','nl',{placeholder:{title:'Eigenschappen placeholder',toolbar:'Placeholder aanmaken',text:'Placeholder tekst',edit:'Placeholder wijzigen',textMissing:'De placeholder moet tekst bevatten.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/no.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/no.js new file mode 100644 index 000000000..2c9f3d782 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/no.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','no',{placeholder:{title:'Egenskaper for plassholder',toolbar:'Opprett plassholder',text:'Tekst for plassholder',edit:'Rediger plassholder',textMissing:'Plassholderen må inneholde tekst.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/pl.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/pl.js new file mode 100644 index 000000000..e2d31a1b8 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/pl.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','pl',{placeholder:{title:'Właściwości wypełniacza',toolbar:'Utwórz wypełniacz',text:'Tekst wypełnienia',edit:'Edytuj wypełnienie',textMissing:'Wypełnienie musi posiadać jakiś tekst.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/pt-br.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/pt-br.js new file mode 100644 index 000000000..a55f14635 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/pt-br.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','pt-br',{placeholder:{title:'Propriedades do Espaço Reservado',toolbar:'Criar Espaço Reservado',text:'Texto do Espaço Reservado',edit:'Editar Espaço Reservado',textMissing:'O espaço reservado deve conter texto.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/sk.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/sk.js new file mode 100644 index 000000000..ec8375a67 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/sk.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','sk',{placeholder:{title:'Vlastnosti placeholdera',toolbar:'Vytvoriť placeholder',text:'Text placeholdera',edit:'Upraviť placeholder',textMissing:'Placeholder musí obsahovať text.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/tr.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/tr.js new file mode 100644 index 000000000..3937960d7 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/tr.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','tr',{placeholder:{title:'Yer tutucu özellikleri',toolbar:'Yer tutucu oluşturun',text:'Yer tutucu metini',edit:'Yer tutucuyu düzenle',textMissing:'Yer tutucu metin içermelidir.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/ug.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/ug.js new file mode 100644 index 000000000..d83beaee5 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/ug.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','ug',{placeholder:{title:'ئورۇن بەلگە خاسلىقى',toolbar:'ئورۇن بەلگە قۇر',text:'ئورۇن بەلگە تېكىستى',edit:'ئورۇن بەلگە تەھرىر',textMissing:'ئورۇن بەلگىسىدە چوقۇم تېكىست بولۇشى لازىم'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/uk.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/uk.js new file mode 100644 index 000000000..f2a91f014 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/uk.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','uk',{placeholder:{title:'Налаштування Заповнювача',toolbar:'Створити Заповнювач',text:'Текст Заповнювача',edit:'Редагувати Заповнювач',textMissing:'Заповнювач повинен містити текст.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/vi.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/vi.js new file mode 100644 index 000000000..d83b9930f --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/vi.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','vi',{placeholder:{title:'Thuộc tính đặt chỗ',toolbar:'Tạo đặt chỗ',text:'Văn bản đặt chỗ',edit:'Chỉnh sửa ',textMissing:'The placeholder must contain text.'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/zh-cn.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/zh-cn.js new file mode 100644 index 000000000..d6b506bd8 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/lang/zh-cn.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +CKEDITOR.plugins.setLang('placeholder','zh-cn',{placeholder:{title:'占位符属性',toolbar:'创建占位符',text:'占位符文字',edit:'编辑占位符',textMissing:'占位符必须包含文字。'}}); diff --git a/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/plugin.js b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/plugin.js new file mode 100644 index 000000000..e6c11a6b3 --- /dev/null +++ b/rt/share/html/NoAuth/RichText/ckeditor/plugins/placeholder/plugin.js @@ -0,0 +1,6 @@ +/* +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. +For licensing, see LICENSE.html or http://ckeditor.com/license +*/ + +(function(){var a=/\[\[[^\]]+\]\]/g;CKEDITOR.plugins.add('placeholder',{requires:['dialog'],lang:['bg','cs','cy','da','de','el','en','eo','et','fa','fi','fr','he','hr','it','ku','nb','nl','no','pl','pt-br','sk','tr','ug','uk','vi','zh-cn'],init:function(b){var c=b.lang.placeholder;b.addCommand('createplaceholder',new CKEDITOR.dialogCommand('createplaceholder'));b.addCommand('editplaceholder',new CKEDITOR.dialogCommand('editplaceholder'));b.ui.addButton('CreatePlaceholder',{label:c.toolbar,command:'createplaceholder',icon:this.path+'placeholder.gif'});if(b.addMenuItems){b.addMenuGroup('placeholder',20);b.addMenuItems({editplaceholder:{label:c.edit,command:'editplaceholder',group:'placeholder',order:1,icon:this.path+'placeholder.gif'}});if(b.contextMenu)b.contextMenu.addListener(function(d,e){if(!d||!d.data('cke-placeholder'))return null;return{editplaceholder:CKEDITOR.TRISTATE_OFF};});}b.on('doubleclick',function(d){if(CKEDITOR.plugins.placeholder.getSelectedPlaceHoder(b))d.data.dialog='editplaceholder';});b.addCss('.cke_placeholder{background-color: #ffff00;'+(CKEDITOR.env.gecko?'cursor: default;':'')+'}');b.on('contentDom',function(){b.document.getBody().on('resizestart',function(d){if(b.getSelection().getSelectedElement().data('cke-placeholder'))d.data.preventDefault();});});CKEDITOR.dialog.add('createplaceholder',this.path+'dialogs/placeholder.js');CKEDITOR.dialog.add('editplaceholder',this.path+'dialogs/placeholder.js');},afterInit:function(b){var c=b.dataProcessor,d=c&&c.dataFilter,e=c&&c.htmlFilter;if(d)d.addRules({text:function(f){return f.replace(a,function(g){return CKEDITOR.plugins.placeholder.createPlaceholder(b,null,g,1);});}});if(e)e.addRules({elements:{span:function(f){if(f.attributes&&f.attributes['data-cke-placeholder'])delete f.name;}}});}});})();CKEDITOR.plugins.placeholder={createPlaceholder:function(a,b,c,d){var e=new CKEDITOR.dom.element('span',a.document);e.setAttributes({contentEditable:'false','data-cke-placeholder':1,'class':'cke_placeholder'});c&&e.setText(c);if(d)return e.getOuterHtml();if(b){if(CKEDITOR.env.ie){e.insertAfter(b);setTimeout(function(){b.remove();e.focus();},10);}else e.replace(b);}else a.insertElement(e);return null;},getSelectedPlaceHoder:function(a){var b=a.getSelection().getRanges()[0];b.shrink(CKEDITOR.SHRINK_TEXT);var c=b.startContainer;while(c&&!(c.type==CKEDITOR.NODE_ELEMENT&&c.data('cke-placeholder')))c=c.getParent();return c;}}; |