Googleマップ埋め込みプラグイン
・m3link - リンク
Magic3用のリンク作成プラグイン
+・m3link - テンプレート
+ Magic3用コンテンツテンプレート取得プラグイン
・bbcode - BBCode処理 v4.4.2
CKEditorオプション
\ No newline at end of file
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+
+.cke_tpl_list
+{
+ border: #dcdcdc 2px solid;
+ background-color: #ffffff;
+ overflow-y: auto;
+ overflow-x: hidden;
+ width: 100%;
+ height: 220px;
+}
+
+.cke_tpl_item
+{
+ margin: 5px;
+ padding: 7px;
+ border: #eeeeee 1px solid;
+ *width: 88%;
+}
+
+.cke_tpl_preview
+{
+ border-collapse: separate;
+ text-indent:0;
+ width: 100%;
+}
+.cke_tpl_preview td
+{
+ padding: 2px;
+ vertical-align: middle;
+}
+.cke_tpl_preview .cke_tpl_preview_img
+{
+ width: 100px;
+}
+.cke_tpl_preview span
+{
+ white-space: normal;
+}
+
+.cke_tpl_title
+{
+ font-weight: bold;
+}
+
+.cke_tpl_list a:hover .cke_tpl_item,
+.cke_tpl_list a:focus .cke_tpl_item,
+.cke_tpl_list a:active .cke_tpl_item
+{
+ border: #ff9933 1px solid;
+ background-color: #fffacd;
+}
+
+.cke_tpl_list a:hover *,
+.cke_tpl_list a:focus *,
+.cke_tpl_list a:active *
+{
+ cursor: pointer;
+}
+
+/* IE Quirks contextual selectors children will not get :hover transition until
+ the hover style of the link itself contains certain CSS declarations. */
+.cke_browser_quirks .cke_tpl_list a:active,
+.cke_browser_quirks .cke_tpl_list a:hover,
+.cke_browser_quirks .cke_tpl_list a:focus
+{
+ background-position: 0 0;
+}
+
+.cke_hc .cke_tpl_list a:hover .cke_tpl_item,
+.cke_hc .cke_tpl_list a:focus .cke_tpl_item,
+.cke_hc .cke_tpl_list a:active .cke_tpl_item
+{
+ border-width: 3px;
+}
+
+.cke_tpl_empty, .cke_tpl_loading
+{
+ text-align: center;
+ padding: 5px;
+}
--- /dev/null
+/**
+ * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+( function() {
+ var doc = CKEDITOR.document;
+
+ CKEDITOR.dialog.add( 'templates', function( editor ) {
+ // Constructs the HTML view of the specified templates data.
+ function renderTemplatesList( container, templatesDefinitions ) {
+ // clear loading wait text.
+ container.setHtml( '' );
+
+ for ( var i = 0, totalDefs = templatesDefinitions.length; i < totalDefs; i++ ) {
+ var definition = CKEDITOR.getTemplates( templatesDefinitions[ i ] ),
+ imagesPath = definition.imagesPath,
+ templates = definition.templates,
+ count = templates.length;
+
+ for ( var j = 0; j < count; j++ ) {
+ var template = templates[ j ],
+ item = createTemplateItem( template, imagesPath );
+ item.setAttribute( 'aria-posinset', j + 1 );
+ item.setAttribute( 'aria-setsize', count );
+ container.append( item );
+ }
+ }
+ }
+
+ function createTemplateItem( template, imagesPath ) {
+ var item = CKEDITOR.dom.element.createFromHtml( '<a href="javascript:void(0)" tabIndex="-1" role="option" >' +
+ '<div class="cke_tpl_item"></div>' +
+ '</a>' );
+
+ // Build the inner HTML of our new item DIV.
+ var html = '<table style="width:350px;" class="cke_tpl_preview" role="presentation"><tr>';
+
+ if ( template.image && imagesPath )
+ html += '<td class="cke_tpl_preview_img"><img src="' + CKEDITOR.getUrl( imagesPath + template.image ) + '"' + ( CKEDITOR.env.ie6Compat ? ' onload="this.width=this.width"' : '' ) + ' alt="" title=""></td>';
+
+ html += '<td style="white-space:normal;"><span class="cke_tpl_title">' + template.title + '</span><br/>';
+
+ if ( template.description )
+ html += '<span>' + template.description + '</span>';
+
+ html += '</td></tr></table>';
+
+ item.getFirst().setHtml( html );
+
+ item.on( 'click', function() {
+ insertTemplate( template.html );
+ } );
+
+ return item;
+ }
+
+ // Insert the specified template content into editor.
+ // @param {Number} index
+ function insertTemplate( html ) {
+ var dialog = CKEDITOR.dialog.getCurrent(),
+ isReplace = dialog.getValueOf( 'selectTpl', 'chkInsertOpt' );
+
+ if ( isReplace ) {
+ editor.fire( 'saveSnapshot' );
+ // Everything should happen after the document is loaded (#4073).
+ editor.setData( html, function() {
+ dialog.hide();
+
+ // Place the cursor at the first editable place.
+ var range = editor.createRange();
+ range.moveToElementEditStart( editor.editable() );
+ range.select();
+ setTimeout( function() {
+ editor.fire( 'saveSnapshot' );
+ }, 0 );
+
+ } );
+ } else {
+ editor.insertHtml( html );
+ dialog.hide();
+ }
+ }
+
+ function keyNavigation( evt ) {
+ var target = evt.data.getTarget(),
+ onList = listContainer.equals( target );
+
+ // Keyboard navigation for template list.
+ if ( onList || listContainer.contains( target ) ) {
+ var keystroke = evt.data.getKeystroke(),
+ items = listContainer.getElementsByTag( 'a' ),
+ focusItem;
+
+ if ( items ) {
+ // Focus not yet onto list items?
+ if ( onList )
+ focusItem = items.getItem( 0 );
+ else {
+ switch ( keystroke ) {
+ case 40: // ARROW-DOWN
+ focusItem = target.getNext();
+ break;
+
+ case 38: // ARROW-UP
+ focusItem = target.getPrevious();
+ break;
+
+ case 13: // ENTER
+ case 32: // SPACE
+ target.fire( 'click' );
+ }
+ }
+
+ if ( focusItem ) {
+ focusItem.focus();
+ evt.data.preventDefault();
+ }
+ }
+ }
+ }
+
+ // Load skin at first.
+ var plugin = CKEDITOR.plugins.get( 'templates' );
+ CKEDITOR.document.appendStyleSheet( CKEDITOR.getUrl( plugin.path + 'dialogs/templates.css' ) );
+
+
+ var listContainer;
+
+ var templateListLabelId = 'cke_tpl_list_label_' + CKEDITOR.tools.getNextNumber(),
+ lang = editor.lang.templates,
+ config = editor.config;
+ return {
+ title: editor.lang.templates.title,
+
+ minWidth: CKEDITOR.env.ie ? 440 : 400,
+ minHeight: 340,
+
+ contents: [
+ {
+ id: 'selectTpl',
+ label: lang.title,
+ elements: [
+ {
+ type: 'vbox',
+ padding: 5,
+ children: [
+ {
+ id: 'selectTplText',
+ type: 'html',
+ html: '<span>' +
+ lang.selectPromptMsg +
+ '</span>'
+ },
+ {
+ id: 'templatesList',
+ type: 'html',
+ focus: true,
+ html: '<div class="cke_tpl_list" tabIndex="-1" role="listbox" aria-labelledby="' + templateListLabelId + '">' +
+ '<div class="cke_tpl_loading"><span></span></div>' +
+ '</div>' +
+ '<span class="cke_voice_label" id="' + templateListLabelId + '">' + lang.options + '</span>'
+ },
+ {
+ id: 'chkInsertOpt',
+ type: 'checkbox',
+ label: lang.insertOption,
+ 'default': config.templates_replaceContent
+ }
+ ]
+ }
+ ]
+ }
+ ],
+
+ buttons: [ CKEDITOR.dialog.cancelButton ],
+
+ onShow: function() {
+ var templatesListField = this.getContentElement( 'selectTpl', 'templatesList' );
+ listContainer = templatesListField.getElement();
+
+ CKEDITOR.loadTemplates( config.templates_files, function() {
+ var templates = ( config.templates || 'default' ).split( ',' );
+
+ if ( templates.length ) {
+ renderTemplatesList( listContainer, templates );
+ templatesListField.focus();
+ } else {
+ listContainer.setHtml( '<div class="cke_tpl_empty">' +
+ '<span>' + lang.emptyListMsg + '</span>' +
+ '</div>' );
+ }
+ } );
+
+ this._.element.on( 'keydown', keyNavigation );
+ },
+
+ onHide: function() {
+ this._.element.removeListener( 'keydown', keyNavigation );
+ }
+ };
+ } );
+} )();
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'af', {
+ button: 'Sjablone',
+ emptyListMsg: '(Geen sjablone gedefineer nie)',
+ insertOption: 'Vervang huidige inhoud',
+ options: 'Sjabloon opsies',
+ selectPromptMsg: 'Kies die sjabloon om te gebruik in die redigeerder (huidige inhoud gaan verlore):',
+ title: 'Inhoud Sjablone'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ar', {
+ button: 'القوالب',
+ emptyListMsg: '(لم يتم تعريف أي قالب)',
+ insertOption: 'استبدال المحتوى',
+ options: 'خصائص القوالب',
+ selectPromptMsg: 'اختر القالب الذي تود وضعه في المحرر',
+ title: 'قوالب المحتوى'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'bg', {
+ button: 'Шаблони',
+ emptyListMsg: '(Няма дефинирани шаблони)',
+ insertOption: 'Препокрива актуалното съдържание',
+ options: 'Опции за шаблона',
+ selectPromptMsg: 'Изберете шаблон <br>(текущото съдържание на редактора ще бъде загубено):',
+ title: 'Шаблони'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'bn', {
+ button: 'টেমপ্লেট',
+ emptyListMsg: '(কোন টেমপ্লেট ডিফাইন করা নেই)',
+ insertOption: 'Replace actual contents', // MISSING
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'অনুগ্রহ করে এডিটরে ওপেন করার জন্য টেমপ্লেট বাছাই করুন<br>(আসল কনটেন্ট হারিয়ে যাবে):',
+ title: 'কনটেন্ট টেমপ্লেট'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'bs', {
+ button: 'Templates', // MISSING
+ emptyListMsg: '(No templates defined)', // MISSING
+ insertOption: 'Replace actual contents', // MISSING
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Please select the template to open in the editor', // MISSING
+ title: 'Content Templates' // MISSING
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ca', {
+ button: 'Plantilles',
+ emptyListMsg: '(No hi ha plantilles definides)',
+ insertOption: 'Reemplaça el contingut actual',
+ options: 'Opcions de plantilla',
+ selectPromptMsg: 'Seleccioneu una plantilla per usar a l\'editor<br>(per defecte s\'elimina el contingut actual):',
+ title: 'Plantilles de contingut'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'cs', {
+ button: 'Šablony',
+ emptyListMsg: '(Není definována žádná šablona)',
+ insertOption: 'Nahradit aktuální obsah',
+ options: 'Nastavení šablon',
+ selectPromptMsg: 'Prosím zvolte šablonu pro otevření v editoru<br>(aktuální obsah editoru bude ztracen):',
+ title: 'Šablony obsahu'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'cy', {
+ button: 'Templedi',
+ emptyListMsg: '(Dim templedi wedi\'u diffinio)',
+ insertOption: 'Amnewid y cynnwys go iawn',
+ options: 'Opsiynau Templedi',
+ selectPromptMsg: 'Dewiswch dempled i\'w agor yn y golygydd',
+ title: 'Templedi Cynnwys'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'da', {
+ button: 'Skabeloner',
+ emptyListMsg: '(Der er ikke defineret nogen skabelon)',
+ insertOption: 'Erstat det faktiske indhold',
+ options: 'Skabelon muligheder',
+ selectPromptMsg: 'Vælg den skabelon, som skal åbnes i editoren (nuværende indhold vil blive overskrevet):',
+ title: 'Indholdsskabeloner'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'de', {
+ button: 'Vorlagen',
+ emptyListMsg: '(keine Vorlagen definiert)',
+ insertOption: 'Aktuellen Inhalt ersetzen',
+ options: 'Vorlagen Optionen',
+ selectPromptMsg: 'Klicken Sie auf eine Vorlage, um sie im Editor zu öffnen (der aktuelle Inhalt wird dabei gelöscht!):',
+ title: 'Vorlagen'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'el', {
+ button: 'Πρότυπα',
+ emptyListMsg: '(Δεν έχουν καθοριστεί πρότυπα)',
+ insertOption: 'Αντικατάσταση υπάρχοντων περιεχομένων',
+ options: 'Επιλογές Προτύπου',
+ selectPromptMsg: 'Παρακαλώ επιλέξτε πρότυπο για εισαγωγή στο πρόγραμμα',
+ title: 'Πρότυπα Περιεχομένου'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'en-au', {
+ button: 'Templates',
+ emptyListMsg: '(No templates defined)',
+ insertOption: 'Replace actual contents',
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Please select the template to open in the editor',
+ title: 'Content Templates'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'en-ca', {
+ button: 'Templates',
+ emptyListMsg: '(No templates defined)',
+ insertOption: 'Replace actual contents',
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Please select the template to open in the editor',
+ title: 'Content Templates'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'en-gb', {
+ button: 'Templates',
+ emptyListMsg: '(No templates defined)',
+ insertOption: 'Replace actual contents',
+ options: 'Template Options',
+ selectPromptMsg: 'Please select the template to open in the editor',
+ title: 'Content Templates'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'en', {
+ button: 'Templates',
+ emptyListMsg: '(No templates defined)',
+ insertOption: 'Replace actual contents',
+ options: 'Template Options',
+ selectPromptMsg: 'Please select the template to open in the editor',
+ title: 'Content Templates'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'eo', {
+ button: 'Ŝablonoj',
+ emptyListMsg: '(Neniu ŝablono difinita)',
+ insertOption: 'Anstataŭigi la nunan enhavon',
+ options: 'Opcioj pri ŝablonoj',
+ selectPromptMsg: 'Bonvolu selekti la ŝablonon por malfermi ĝin en la redaktilo',
+ title: 'Enhavo de ŝablonoj'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'es', {
+ button: 'Plantillas',
+ emptyListMsg: '(No hay plantillas definidas)',
+ insertOption: 'Reemplazar el contenido actual',
+ options: 'Opciones de plantillas',
+ selectPromptMsg: 'Por favor selecciona la plantilla a abrir en el editor<br>(el contenido actual se perderá):',
+ title: 'Contenido de Plantillas'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'et', {
+ button: 'Mall',
+ emptyListMsg: '(Ühtegi malli ei ole defineeritud)',
+ insertOption: 'Praegune sisu asendatakse',
+ options: 'Malli valikud',
+ selectPromptMsg: 'Palun vali mall, mis avada redaktoris<br />(praegune sisu läheb kaotsi):',
+ title: 'Sisumallid'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'eu', {
+ button: 'Txantiloiak',
+ emptyListMsg: '(Ez dago definitutako txantiloirik)',
+ insertOption: 'Ordeztu oraingo edukiak',
+ options: 'Txantiloi Aukerak',
+ selectPromptMsg: 'Mesedez txantiloia aukeratu editorean kargatzeko<br>(orain dauden edukiak galduko dira):',
+ title: 'Eduki Txantiloiak'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'fa', {
+ button: 'الگوها',
+ emptyListMsg: '(الگوئی تعریف نشده است)',
+ insertOption: 'محتویات کنونی جایگزین شوند',
+ options: 'گزینههای الگو',
+ selectPromptMsg: 'لطفاً الگوی مورد نظر را برای بازکردن در ویرایشگر انتخاب کنید',
+ title: 'الگوهای محتویات'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'fi', {
+ button: 'Pohjat',
+ emptyListMsg: '(Ei määriteltyjä pohjia)',
+ insertOption: 'Korvaa koko sisältö',
+ options: 'Sisältöpohjan ominaisuudet',
+ selectPromptMsg: 'Valitse editoriin avattava pohja',
+ title: 'Sisältöpohjat'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'fo', {
+ button: 'Skabelónir',
+ emptyListMsg: '(Ongar skabelónir tøkar)',
+ insertOption: 'Yvirskriva núverandi innihald',
+ options: 'Møguleikar fyri Template',
+ selectPromptMsg: 'Vinarliga vel ta skabelón, ið skal opnast í tekstviðgeranum<br>(Hetta yvirskrivar núverandi innihald):',
+ title: 'Innihaldsskabelónir'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'fr-ca', {
+ button: 'Modèles',
+ emptyListMsg: '(Aucun modèle disponible)',
+ insertOption: 'Remplacer tout le contenu actuel',
+ options: 'Options de modèles',
+ selectPromptMsg: 'Sélectionner le modèle à ouvrir dans l\'éditeur',
+ title: 'Modèles de contenu'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'fr', {
+ button: 'Modèles',
+ emptyListMsg: '(Aucun modèle disponible)',
+ insertOption: 'Remplacer le contenu actuel',
+ options: 'Options des modèles',
+ selectPromptMsg: 'Veuillez sélectionner le modèle pour l\'ouvrir dans l\'éditeur',
+ title: 'Contenu des modèles'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'gl', {
+ button: 'Modelos',
+ emptyListMsg: '(Non hai modelos definidos)',
+ insertOption: 'Substituír o contido actual',
+ options: 'Opcións de modelos',
+ selectPromptMsg: 'Seleccione o modelo a abrir no editor',
+ title: 'Modelos de contido'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'gu', {
+ button: 'ટેમ્પ્લેટ',
+ emptyListMsg: '(કોઈ ટેમ્પ્લેટ ડિફાઇન નથી)',
+ insertOption: 'મૂળ શબ્દને બદલો',
+ options: 'ટેમ્પ્લેટના વિકલ્પો',
+ selectPromptMsg: 'એડિટરમાં ઓપન કરવા ટેમ્પ્લેટ પસંદ કરો (વર્તમાન કન્ટેન્ટ સેવ નહીં થાય):',
+ title: 'કન્ટેન્ટ ટેમ્પ્લેટ'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'he', {
+ button: 'תבניות',
+ emptyListMsg: '(לא הוגדרו תבניות)',
+ insertOption: 'החלפת תוכן ממשי',
+ options: 'אפשרויות התבניות',
+ selectPromptMsg: 'יש לבחור תבנית לפתיחה בעורך.<br />התוכן המקורי ימחק:',
+ title: 'תביות תוכן'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'hi', {
+ button: 'टॅम्प्लेट',
+ emptyListMsg: '(कोई टॅम्प्लेट डिफ़ाइन नहीं किया गया है)',
+ insertOption: 'मूल शब्दों को बदलें',
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'ऍडिटर में ओपन करने हेतु टॅम्प्लेट चुनें(वर्तमान कन्टॅन्ट सेव नहीं होंगे):',
+ title: 'कन्टेन्ट टॅम्प्लेट'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'hr', {
+ button: 'Predlošci',
+ emptyListMsg: '(Nema definiranih predložaka)',
+ insertOption: 'Zamijeni trenutne sadržaje',
+ options: 'Opcije predložaka',
+ selectPromptMsg: 'Molimo odaberite predložak koji želite otvoriti<br>(stvarni sadržaj će biti izgubljen):',
+ title: 'Predlošci sadržaja'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'hu', {
+ button: 'Sablonok',
+ emptyListMsg: '(Nincs sablon megadva)',
+ insertOption: 'Kicseréli a jelenlegi tartalmat',
+ options: 'Sablon opciók',
+ selectPromptMsg: 'Válassza ki melyik sablon nyíljon meg a szerkesztőben<br>(a jelenlegi tartalom elveszik):',
+ title: 'Elérhető sablonok'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'id', {
+ button: 'Contoh',
+ emptyListMsg: '(Tidak ada contoh didefinisikan)',
+ insertOption: 'Ganti konten sebenarnya',
+ options: 'Opsi Contoh',
+ selectPromptMsg: 'Mohon pilih contoh untuk dibuka di editor',
+ title: 'Contoh Konten'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'is', {
+ button: 'Sniðmát',
+ emptyListMsg: '(Ekkert sniðmát er skilgreint!)',
+ insertOption: 'Skipta út raunverulegu innihaldi',
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Veldu sniðmát til að opna í ritlinum.<br>(Núverandi innihald víkur fyrir því!):',
+ title: 'Innihaldssniðmát'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'it', {
+ button: 'Modelli',
+ emptyListMsg: '(Nessun modello definito)',
+ insertOption: 'Cancella il contenuto corrente',
+ options: 'Opzioni del Modello',
+ selectPromptMsg: 'Seleziona il modello da aprire nell\'editor',
+ title: 'Contenuto dei modelli'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ja', {
+ button: 'テンプレート',
+ emptyListMsg: '(テンプレートが定義されていません)',
+ insertOption: '現在のエディタの内容と置き換えます',
+ options: 'テンプレートオプション',
+ selectPromptMsg: 'エディターで使用するテンプレートを選択してください。<br>(現在のエディタの内容は失われます):',
+ title: '内容テンプレート'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ka', {
+ button: 'თარგები',
+ emptyListMsg: '(თარგი არაა განსაზღვრული)',
+ insertOption: 'მიმდინარე შეგთავსის შეცვლა',
+ options: 'თარგების პარამეტრები',
+ selectPromptMsg: 'აირჩიეთ თარგი რედაქტორისთვის',
+ title: 'თარგები'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'km', {
+ button: 'ពុម្ពគំរូ',
+ emptyListMsg: '(មិនមានពុម្ពគំរូត្រូវបានកំណត់)',
+ insertOption: 'ជំនួសក្នុងមាតិកាបច្ចុប្បន្ន',
+ options: 'ជម្រើសពុម្ពគំរូ',
+ selectPromptMsg: 'សូមរើសពុម្ពគំរូដើម្បីបើកក្នុងកម្មវិធីសរសេរអត្ថបទ',
+ title: 'ពុម្ពគំរូមាតិកា'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ko', {
+ button: '템플릿',
+ emptyListMsg: '(템플릿이 없습니다.)',
+ insertOption: '현재 내용 바꾸기',
+ options: '템플릿 옵션',
+ selectPromptMsg: '에디터에서 사용할 템플릿을 선택하십시요.<br>(지금까지 작성된 내용은 사라집니다.):',
+ title: '내용 템플릿'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ku', {
+ button: 'ڕووکار',
+ emptyListMsg: '(هیچ ڕووکارێك دیارینەکراوە)',
+ insertOption: 'لە شوێن دانانی ئەم پێکهاتانەی ئێستا',
+ options: 'هەڵبژاردەکانی ڕووکار',
+ selectPromptMsg: 'ڕووکارێك هەڵبژێره بۆ کردنەوەی له سەرنووسەر:',
+ title: 'پێکهاتەی ڕووکار'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'lt', {
+ button: 'Šablonai',
+ emptyListMsg: '(Šablonų sąrašas tuščias)',
+ insertOption: 'Pakeisti dabartinį turinį pasirinktu šablonu',
+ options: 'Template Options',
+ selectPromptMsg: 'Pasirinkite norimą šabloną<br>(<b>Dėmesio!</b> esamas turinys bus prarastas):',
+ title: 'Turinio šablonai'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'lv', {
+ button: 'Sagataves',
+ emptyListMsg: '(Nav norādītas sagataves)',
+ insertOption: 'Aizvietot pašreizējo saturu',
+ options: 'Sagataves uzstādījumi',
+ selectPromptMsg: 'Lūdzu, norādiet sagatavi, ko atvērt editorā<br>(patreizējie dati tiks zaudēti):',
+ title: 'Satura sagataves'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'mk', {
+ button: 'Templates', // MISSING
+ emptyListMsg: '(No templates defined)', // MISSING
+ insertOption: 'Replace actual contents', // MISSING
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Please select the template to open in the editor', // MISSING
+ title: 'Content Templates' // MISSING
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'mn', {
+ button: 'Загварууд',
+ emptyListMsg: '(Загвар тодорхойлогдоогүй байна)',
+ insertOption: 'Одоогийн агууллагыг дарж бичих',
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Загварыг нээж editor-рүү сонгож оруулна уу<br />(Одоогийн агууллагыг устаж магадгүй):',
+ title: 'Загварын агуулга'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ms', {
+ button: 'Templat',
+ emptyListMsg: '(Tiada Templat Disimpan)',
+ insertOption: 'Replace actual contents', // MISSING
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Sila pilih templat untuk dibuka oleh editor<br>(kandungan sebenar akan hilang):',
+ title: 'Templat Kandungan'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'nb', {
+ button: 'Maler',
+ emptyListMsg: '(Ingen maler definert)',
+ insertOption: 'Erstatt gjeldende innhold',
+ options: 'Alternativer for mal',
+ selectPromptMsg: 'Velg malen du vil åpne i redigeringsverktøyet:',
+ title: 'Innholdsmaler'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'nl', {
+ button: 'Sjablonen',
+ emptyListMsg: '(Geen sjablonen gedefinieerd)',
+ insertOption: 'Vervang de huidige inhoud',
+ options: 'Template opties',
+ selectPromptMsg: 'Selecteer het sjabloon dat in de editor geopend moet worden (de actuele inhoud gaat verloren):',
+ title: 'Inhoud sjablonen'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'no', {
+ button: 'Maler',
+ emptyListMsg: '(Ingen maler definert)',
+ insertOption: 'Erstatt gjeldende innhold',
+ options: 'Alternativer for mal',
+ selectPromptMsg: 'Velg malen du vil åpne i redigeringsverktøyet:',
+ title: 'Innholdsmaler'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'pl', {
+ button: 'Szablony',
+ emptyListMsg: '(Brak zdefiniowanych szablonów)',
+ insertOption: 'Zastąp obecną zawartość',
+ options: 'Opcje szablonów',
+ selectPromptMsg: 'Wybierz szablon do otwarcia w edytorze<br>(obecna zawartość okna edytora zostanie utracona):',
+ title: 'Szablony zawartości'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'pt-br', {
+ button: 'Modelos de layout',
+ emptyListMsg: '(Não foram definidos modelos de layout)',
+ insertOption: 'Substituir o conteúdo atual',
+ options: 'Opções de Template',
+ selectPromptMsg: 'Selecione um modelo de layout para ser aberto no editor<br>(o conteúdo atual será perdido):',
+ title: 'Modelo de layout de conteúdo'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'pt', {
+ button: 'Modelos',
+ emptyListMsg: '(Sem modelos definidos)',
+ insertOption: 'Substituir conteúdos actuais',
+ options: 'Opções do Modelo',
+ selectPromptMsg: 'Por favor, selecione o modelo para abrir no editor',
+ title: 'Conteúdo dos Modelos'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ro', {
+ button: 'Template-uri (şabloane)',
+ emptyListMsg: '(Niciun template (şablon) definit)',
+ insertOption: 'Înlocuieşte cuprinsul actual',
+ options: 'Opțiuni șabloane',
+ selectPromptMsg: 'Vă rugăm selectaţi template-ul (şablonul) ce se va deschide în editor<br>(conţinutul actual va fi pierdut):',
+ title: 'Template-uri (şabloane) de conţinut'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ru', {
+ button: 'Шаблоны',
+ emptyListMsg: '(не определено ни одного шаблона)',
+ insertOption: 'Заменить текущее содержимое',
+ options: 'Параметры шаблона',
+ selectPromptMsg: 'Пожалуйста, выберите, какой шаблон следует открыть в редакторе',
+ title: 'Шаблоны содержимого'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'si', {
+ button: 'අච්චුව',
+ emptyListMsg: 'කිසිම අච්චුවක් කලින් තීරණය කර ',
+ insertOption: 'සත්ය අන්තර්ගතයන් ප්රතිස්ථාපනය කරන්න',
+ options: 'අච්චු ',
+ selectPromptMsg: 'කරුණාකර සංස්කරණය සදහා අච්චුවක් ',
+ title: 'අන්තර්ගත් අච්චුන්'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'sk', {
+ button: 'Šablóny',
+ emptyListMsg: '(Žiadne šablóny nedefinované)',
+ insertOption: 'Nahradiť aktuálny obsah',
+ options: 'Možnosti šablóny',
+ selectPromptMsg: 'Prosím vyberte šablónu na otvorenie v editore',
+ title: 'Šablóny obsahu'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'sl', {
+ button: 'Predloge',
+ emptyListMsg: '(Ni pripravljenih predlog)',
+ insertOption: 'Zamenjaj trenutno vsebino',
+ options: 'Možnosti Predloge',
+ selectPromptMsg: 'Izberite predlogo, ki jo želite odpreti v urejevalniku<br>(trenutna vsebina bo izgubljena):',
+ title: 'Vsebinske predloge'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'sq', {
+ button: 'Shabllonet',
+ emptyListMsg: '(Asnjë shabllon nuk është paradefinuar)',
+ insertOption: 'Zëvendëso përmbajtjen aktuale',
+ options: 'Opsionet e Shabllonit',
+ selectPromptMsg: 'Përzgjidhni shabllonin për të hapur tek redaktuesi',
+ title: 'Përmbajtja e Shabllonit'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'sr-latn', {
+ button: 'Obrasci',
+ emptyListMsg: '(Nema definisanih obrazaca)',
+ insertOption: 'Replace actual contents', // MISSING
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Molimo Vas da odaberete obrazac koji ce biti primenjen na stranicu (trenutni sadržaj ce biti obrisan):',
+ title: 'Obrasci za sadržaj'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'sr', {
+ button: 'Обрасци',
+ emptyListMsg: '(Нема дефинисаних образаца)',
+ insertOption: 'Replace actual contents', // MISSING
+ options: 'Template Options', // MISSING
+ selectPromptMsg: 'Молимо Вас да одаберете образац који ће бити примењен на страницу (тренутни садржај ће бити обрисан):',
+ title: 'Обрасци за садржај'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'sv', {
+ button: 'Sidmallar',
+ emptyListMsg: '(Ingen mall är vald)',
+ insertOption: 'Ersätt aktuellt innehåll',
+ options: 'Inställningar för mall',
+ selectPromptMsg: 'Var god välj en mall att använda med editorn<br>(allt nuvarande innehåll raderas):',
+ title: 'Sidmallar'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'th', {
+ button: 'เทมเพลต',
+ emptyListMsg: '(ยังไม่มีการกำหนดเทมเพลต)',
+ insertOption: 'แทนที่เนื้อหาเว็บไซต์ที่เลือก',
+ options: 'ตัวเลือกเกี่ยวกับเทมเพลท',
+ selectPromptMsg: 'กรุณาเลือก เทมเพลต เพื่อนำไปแก้ไขในอีดิตเตอร์<br />(เนื้อหาส่วนนี้จะหายไป):',
+ title: 'เทมเพลตของส่วนเนื้อหาเว็บไซต์'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'tr', {
+ button: 'Şablonlar',
+ emptyListMsg: '(Belirli bir şablon seçilmedi)',
+ insertOption: 'Mevcut içerik ile değiştir',
+ options: 'Şablon Seçenekleri',
+ selectPromptMsg: 'Düzenleyicide açmak için lütfen bir şablon seçin.<br>(hali hazırdaki içerik kaybolacaktır.):',
+ title: 'İçerik Şablonları'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'tt', {
+ button: 'Шаблоннар',
+ emptyListMsg: '(Шаблоннар билгеләнмәгән)',
+ insertOption: 'Әлеге эчтәлекне алмаштыру',
+ options: 'Шаблон үзлекләре',
+ selectPromptMsg: 'Please select the template to open in the editor', // MISSING
+ title: 'Эчтәлек шаблоннары'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'ug', {
+ button: 'قېلىپ',
+ emptyListMsg: '(قېلىپ يوق)',
+ insertOption: 'نۆۋەتتىكى مەزمۇننى ئالماشتۇر',
+ options: 'قېلىپ تاللانمىسى',
+ selectPromptMsg: 'تەھرىرلىگۈچنىڭ مەزمۇن قېلىپىنى تاللاڭ:',
+ title: 'مەزمۇن قېلىپى'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'uk', {
+ button: 'Шаблони',
+ emptyListMsg: '(Не знайдено жодного шаблону)',
+ insertOption: 'Замінити поточний вміст',
+ options: 'Опції шаблону',
+ selectPromptMsg: 'Оберіть, будь ласка, шаблон для відкриття в редакторі<br>(поточний зміст буде втрачено):',
+ title: 'Шаблони змісту'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'vi', {
+ button: 'Mẫu dựng sẵn',
+ emptyListMsg: '(Không có mẫu dựng sẵn nào được định nghĩa)',
+ insertOption: 'Thay thế nội dung hiện tại',
+ options: 'Tùy chọn mẫu dựng sẵn',
+ selectPromptMsg: 'Hãy chọn mẫu dựng sẵn để mở trong trình biên tập<br>(nội dung hiện tại sẽ bị mất):',
+ title: 'Nội dung Mẫu dựng sẵn'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'zh-cn', {
+ button: '模板',
+ emptyListMsg: '(没有模板)',
+ insertOption: '替换当前内容',
+ options: '模板选项',
+ selectPromptMsg: '请选择要在编辑器中使用的模板:',
+ title: '内容模板'
+} );
--- /dev/null
+/*
+Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+For licensing, see LICENSE.md or http://ckeditor.com/license
+*/
+CKEDITOR.plugins.setLang( 'templates', 'zh', {
+ button: '範本',
+ emptyListMsg: '(尚未定義任何範本)',
+ insertOption: '替代實際內容',
+ options: '範本選項',
+ selectPromptMsg: '請選擇要在編輯器中開啟的範本。',
+ title: '內容範本'
+} );
--- /dev/null
+/**
+ * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+( function() {
+ CKEDITOR.plugins.add( 'templates', {
+ requires: 'dialog',
+ lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
+ icons: 'templates,templates-rtl', // %REMOVE_LINE_CORE%
+ hidpi: true, // %REMOVE_LINE_CORE%
+ init: function( editor ) {
+ CKEDITOR.dialog.add( 'templates', CKEDITOR.getUrl( this.path + 'dialogs/templates.js' ) );
+
+ editor.addCommand( 'templates', new CKEDITOR.dialogCommand( 'templates' ) );
+
+ editor.ui.addButton && editor.ui.addButton( 'Templates', {
+ label: editor.lang.templates.button,
+ command: 'templates',
+ toolbar: 'doctools,10'
+ } );
+ }
+ } );
+
+ var templates = {},
+ loadedTemplatesFiles = {};
+
+ CKEDITOR.addTemplates = function( name, definition ) {
+ templates[ name ] = definition;
+ };
+
+ CKEDITOR.getTemplates = function( name ) {
+ return templates[ name ];
+ };
+
+ CKEDITOR.loadTemplates = function( templateFiles, callback ) {
+ // Holds the templates files to be loaded.
+ var toLoad = [];
+
+ // Look for pending template files to get loaded.
+ for ( var i = 0, count = templateFiles.length; i < count; i++ ) {
+ if ( !loadedTemplatesFiles[ templateFiles[ i ] ] ) {
+ toLoad.push( templateFiles[ i ] );
+ loadedTemplatesFiles[ templateFiles[ i ] ] = 1;
+ }
+ }
+
+ if ( toLoad.length )
+ CKEDITOR.scriptLoader.load( toLoad, callback );
+ else
+ setTimeout( callback, 0 );
+ };
+} )();
+
+
+
+/**
+ * The templates definition set to use. It accepts a list of names separated by
+ * comma. It must match definitions loaded with the {@link #templates_files} setting.
+ *
+ * config.templates = 'my_templates';
+ *
+ * @cfg {String} [templates='default']
+ * @member CKEDITOR.config
+ */
+
+/**
+ * The list of templates definition files to load.
+ *
+ * config.templates_files = [
+ * '/editor_templates/site_default.js',
+ * 'http://www.example.com/user_templates.js
+ * ];
+ *
+ * @cfg
+ * @member CKEDITOR.config
+ */
+CKEDITOR.config.templates_files = [
+ CKEDITOR.getUrl( 'plugins/templates/templates/default.js' )
+];
+
+/**
+ * Whether the "Replace actual contents" checkbox is checked by default in the
+ * Templates dialog.
+ *
+ * config.templates_replaceContent = false;
+ *
+ * @cfg
+ * @member CKEDITOR.config
+ */
+CKEDITOR.config.templates_replaceContent = true;
--- /dev/null
+/**
+ * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md or http://ckeditor.com/license
+ */
+
+// Register a templates definition set named "default".
+CKEDITOR.addTemplates( 'default', {
+ // The name of sub folder which hold the shortcut preview images of the
+ // templates.
+ imagesPath: CKEDITOR.getUrl( CKEDITOR.plugins.getPath( 'templates' ) + 'templates/images/' ),
+
+ // The templates definitions.
+ templates: [
+ {
+ title: 'Image and Title',
+ image: 'template1.gif',
+ description: 'One main image with a title and text that surround the image.',
+ html: '<h3>' +
+ // Use src=" " so image is not filtered out by the editor as incorrect (src is required).
+ '<img src=" " alt="" style="margin-right: 10px" height="100" width="100" align="left" />' +
+ 'Type the title here' +
+ '</h3>' +
+ '<p>' +
+ 'Type the text here' +
+ '</p>'
+ },
+ {
+ title: 'Strange Template',
+ image: 'template2.gif',
+ description: 'A template that defines two colums, each one with a title, and some text.',
+ html: '<table cellspacing="0" cellpadding="0" style="width:100%" border="0">' +
+ '<tr>' +
+ '<td style="width:50%">' +
+ '<h3>Title 1</h3>' +
+ '</td>' +
+ '<td></td>' +
+ '<td style="width:50%">' +
+ '<h3>Title 2</h3>' +
+ '</td>' +
+ '</tr>' +
+ '<tr>' +
+ '<td>' +
+ 'Text 1' +
+ '</td>' +
+ '<td></td>' +
+ '<td>' +
+ 'Text 2' +
+ '</td>' +
+ '</tr>' +
+ '</table>' +
+ '<p>' +
+ 'More text goes here.' +
+ '</p>'
+ },
+ {
+ title: 'Text and Table',
+ image: 'template3.gif',
+ description: 'A title with some text and a table.',
+ html: '<div style="width: 80%">' +
+ '<h3>' +
+ 'Title goes here' +
+ '</h3>' +
+ '<table style="width:150px;float: right" cellspacing="0" cellpadding="0" border="1">' +
+ '<caption style="border:solid 1px black">' +
+ '<strong>Table title</strong>' +
+ '</caption>' +
+ '<tr>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '</tr>' +
+ '<tr>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '</tr>' +
+ '<tr>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '<td> </td>' +
+ '</tr>' +
+ '</table>' +
+ '<p>' +
+ 'Type the text here' +
+ '</p>' +
+ '</div>'
+ }
+ ]
+} );