OSDN Git Service

CKEditorにMagic3用のコンテンツテンプレート取得プラグインを追加。
authornaoki hirata <naoki@magic3.org>
Sun, 24 Aug 2014 12:28:33 +0000 (21:28 +0900)
committernaoki hirata <naoki@magic3.org>
Sun, 24 Aug 2014 12:28:33 +0000 (21:28 +0900)
78 files changed:
scripts/ckeditor4.4.2/plugins/info.txt
scripts/ckeditor4.4.2/plugins/m3templates/dialogs/templates.css [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/dialogs/templates.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates-rtl.png [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates.png [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/icons/templates-rtl.png [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/icons/templates.png [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/af.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ar.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/bg.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/bn.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/bs.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ca.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/cs.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/cy.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/da.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/de.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/el.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/en-au.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/en-ca.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/en-gb.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/en.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/eo.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/es.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/et.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/eu.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/fa.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/fi.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/fo.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/fr-ca.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/fr.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/gl.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/gu.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/he.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/hi.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/hr.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/hu.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/id.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/is.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/it.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ja.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ka.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/km.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ko.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ku.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/lt.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/lv.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/mk.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/mn.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ms.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/nb.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/nl.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/no.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/pl.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/pt-br.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/pt.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ro.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ru.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/si.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/sk.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/sl.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/sq.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/sr-latn.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/sr.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/sv.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/th.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/tr.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/tt.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/ug.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/uk.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/vi.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/zh-cn.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/lang/zh.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/plugin.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/templates/default.js [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template1.gif [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template2.gif [new file with mode: 0644]
scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template3.gif [new file with mode: 0644]

index 7278dd1..a6d4dec 100644 (file)
@@ -8,6 +8,8 @@
  Googleマップ埋め込みプラグイン
 ・m3link - リンク
  Magic3用のリンク作成プラグイン
+・m3link - テンプレート
+ Magic3用コンテンツテンプレート取得プラグイン
 
 ・bbcode - BBCode処理 v4.4.2
  CKEditorオプション
\ No newline at end of file
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/dialogs/templates.css b/scripts/ckeditor4.4.2/plugins/m3templates/dialogs/templates.css
new file mode 100644 (file)
index 0000000..d6186f0
--- /dev/null
@@ -0,0 +1,84 @@
+/*
+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;
+}
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/dialogs/templates.js b/scripts/ckeditor4.4.2/plugins/m3templates/dialogs/templates.js
new file mode 100644 (file)
index 0000000..0f1ebf2
--- /dev/null
@@ -0,0 +1,203 @@
+/**
+ * @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 );
+                       }
+               };
+       } );
+} )();
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates-rtl.png b/scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates-rtl.png
new file mode 100644 (file)
index 0000000..9a26340
Binary files /dev/null and b/scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates-rtl.png differ
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates.png b/scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates.png
new file mode 100644 (file)
index 0000000..9a26340
Binary files /dev/null and b/scripts/ckeditor4.4.2/plugins/m3templates/icons/hidpi/templates.png differ
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/icons/templates-rtl.png b/scripts/ckeditor4.4.2/plugins/m3templates/icons/templates-rtl.png
new file mode 100644 (file)
index 0000000..202b604
Binary files /dev/null and b/scripts/ckeditor4.4.2/plugins/m3templates/icons/templates-rtl.png differ
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/icons/templates.png b/scripts/ckeditor4.4.2/plugins/m3templates/icons/templates.png
new file mode 100644 (file)
index 0000000..202b604
Binary files /dev/null and b/scripts/ckeditor4.4.2/plugins/m3templates/icons/templates.png differ
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/af.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/af.js
new file mode 100644 (file)
index 0000000..06ed3b4
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ar.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ar.js
new file mode 100644 (file)
index 0000000..4328951
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'قوالب المحتوى'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/bg.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/bg.js
new file mode 100644 (file)
index 0000000..a2838bd
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'Шаблони'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/bn.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/bn.js
new file mode 100644 (file)
index 0000000..d9c70f6
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'কনটেন্ট টেমপ্লেট'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/bs.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/bs.js
new file mode 100644 (file)
index 0000000..9b4a904
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ca.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ca.js
new file mode 100644 (file)
index 0000000..66bfa6b
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/cs.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/cs.js
new file mode 100644 (file)
index 0000000..80dde75
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/cy.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/cy.js
new file mode 100644 (file)
index 0000000..7865e30
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/da.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/da.js
new file mode 100644 (file)
index 0000000..19f52b4
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/de.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/de.js
new file mode 100644 (file)
index 0000000..3c1dedc
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/el.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/el.js
new file mode 100644 (file)
index 0000000..adc7598
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'Πρότυπα Περιεχομένου'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/en-au.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/en-au.js
new file mode 100644 (file)
index 0000000..69de861
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/en-ca.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/en-ca.js
new file mode 100644 (file)
index 0000000..03c93ab
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/en-gb.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/en-gb.js
new file mode 100644 (file)
index 0000000..679d553
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/en.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/en.js
new file mode 100644 (file)
index 0000000..043ca1f
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/eo.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/eo.js
new file mode 100644 (file)
index 0000000..5b85b05
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/es.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/es.js
new file mode 100644 (file)
index 0000000..71a0279
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/et.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/et.js
new file mode 100644 (file)
index 0000000..6efffaa
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/eu.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/eu.js
new file mode 100644 (file)
index 0000000..37ef4af
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/fa.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/fa.js
new file mode 100644 (file)
index 0000000..3ba179f
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'الگوهای محتویات'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/fi.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/fi.js
new file mode 100644 (file)
index 0000000..6b7c514
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/fo.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/fo.js
new file mode 100644 (file)
index 0000000..47af6c9
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/fr-ca.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/fr-ca.js
new file mode 100644 (file)
index 0000000..c5a98cb
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/fr.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/fr.js
new file mode 100644 (file)
index 0000000..b526a64
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/gl.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/gl.js
new file mode 100644 (file)
index 0000000..9a666fb
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/gu.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/gu.js
new file mode 100644 (file)
index 0000000..1fa94fc
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'કન્ટેન્ટ ટેમ્પ્લેટ'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/he.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/he.js
new file mode 100644 (file)
index 0000000..f9c4efe
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'תביות תוכן'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/hi.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/hi.js
new file mode 100644 (file)
index 0000000..71f23a6
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'कन्टेन्ट टॅम्प्लेट'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/hr.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/hr.js
new file mode 100644 (file)
index 0000000..fe50067
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/hu.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/hu.js
new file mode 100644 (file)
index 0000000..f216693
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/id.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/id.js
new file mode 100644 (file)
index 0000000..49b60c3
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/is.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/is.js
new file mode 100644 (file)
index 0000000..b7d80d9
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/it.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/it.js
new file mode 100644 (file)
index 0000000..01a896d
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ja.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ja.js
new file mode 100644 (file)
index 0000000..eaca707
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: '内容テンプレート'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ka.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ka.js
new file mode 100644 (file)
index 0000000..3921f6b
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'თარგები'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/km.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/km.js
new file mode 100644 (file)
index 0000000..b07094f
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'ពុម្ព​គំរូ​មាតិកា'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ko.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ko.js
new file mode 100644 (file)
index 0000000..1022f98
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: '내용 템플릿'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ku.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ku.js
new file mode 100644 (file)
index 0000000..abc47f2
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'پێکهاتەی ڕووکار'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/lt.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/lt.js
new file mode 100644 (file)
index 0000000..b434496
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/lv.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/lv.js
new file mode 100644 (file)
index 0000000..35c0f1b
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/mk.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/mk.js
new file mode 100644 (file)
index 0000000..98dccae
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/mn.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/mn.js
new file mode 100644 (file)
index 0000000..c9652f9
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'Загварын агуулга'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ms.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ms.js
new file mode 100644 (file)
index 0000000..a4e921a
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/nb.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/nb.js
new file mode 100644 (file)
index 0000000..d41891f
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/nl.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/nl.js
new file mode 100644 (file)
index 0000000..13ea5fa
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/no.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/no.js
new file mode 100644 (file)
index 0000000..1665fd1
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/pl.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/pl.js
new file mode 100644 (file)
index 0000000..8959b86
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/pt-br.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/pt-br.js
new file mode 100644 (file)
index 0000000..cc1fd1d
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/pt.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/pt.js
new file mode 100644 (file)
index 0000000..c9da144
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ro.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ro.js
new file mode 100644 (file)
index 0000000..c2a488b
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ru.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ru.js
new file mode 100644 (file)
index 0000000..8929875
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'Шаблоны содержимого'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/si.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/si.js
new file mode 100644 (file)
index 0000000..8f649b4
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'අන්තර්ගත් අච්චුන්'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/sk.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/sk.js
new file mode 100644 (file)
index 0000000..f6f67f5
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/sl.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/sl.js
new file mode 100644 (file)
index 0000000..9c87972
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/sq.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/sq.js
new file mode 100644 (file)
index 0000000..432e323
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/sr-latn.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/sr-latn.js
new file mode 100644 (file)
index 0000000..c336bc3
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/sr.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/sr.js
new file mode 100644 (file)
index 0000000..09eee6b
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'Обрасци за садржај'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/sv.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/sv.js
new file mode 100644 (file)
index 0000000..683c73a
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/th.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/th.js
new file mode 100644 (file)
index 0000000..c2595af
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'เทมเพลตของส่วนเนื้อหาเว็บไซต์'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/tr.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/tr.js
new file mode 100644 (file)
index 0000000..1d1c38f
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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ı'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/tt.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/tt.js
new file mode 100644 (file)
index 0000000..32da9a8
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'Эчтәлек шаблоннары'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/ug.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/ug.js
new file mode 100644 (file)
index 0000000..be50a69
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'مەزمۇن قېلىپى'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/uk.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/uk.js
new file mode 100644 (file)
index 0000000..9d8c7ac
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: 'Шаблони змісту'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/vi.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/vi.js
new file mode 100644 (file)
index 0000000..e05794d
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/zh-cn.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/zh-cn.js
new file mode 100644 (file)
index 0000000..8d9803f
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: '内容模板'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/lang/zh.js b/scripts/ckeditor4.4.2/plugins/m3templates/lang/zh.js
new file mode 100644 (file)
index 0000000..871b003
--- /dev/null
@@ -0,0 +1,12 @@
+/*
+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: '內容範本'
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/plugin.js b/scripts/ckeditor4.4.2/plugins/m3templates/plugin.js
new file mode 100644 (file)
index 0000000..fe7a821
--- /dev/null
@@ -0,0 +1,91 @@
+/**
+ * @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;
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/templates/default.js b/scripts/ckeditor4.4.2/plugins/m3templates/templates/default.js
new file mode 100644 (file)
index 0000000..8b051b5
--- /dev/null
@@ -0,0 +1,89 @@
+/**
+ * @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>&nbsp;</td>' +
+                                       '<td>&nbsp;</td>' +
+                                       '<td>&nbsp;</td>' +
+                               '</tr>' +
+                               '<tr>' +
+                                       '<td>&nbsp;</td>' +
+                                       '<td>&nbsp;</td>' +
+                                       '<td>&nbsp;</td>' +
+                               '</tr>' +
+                               '<tr>' +
+                                       '<td>&nbsp;</td>' +
+                                       '<td>&nbsp;</td>' +
+                                       '<td>&nbsp;</td>' +
+                               '</tr>' +
+                       '</table>' +
+                       '<p>' +
+                               'Type the text here' +
+                       '</p>' +
+                       '</div>'
+       }
+       ]
+} );
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template1.gif b/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template1.gif
new file mode 100644 (file)
index 0000000..efdabbe
Binary files /dev/null and b/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template1.gif differ
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template2.gif b/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template2.gif
new file mode 100644 (file)
index 0000000..d1cebb3
Binary files /dev/null and b/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template2.gif differ
diff --git a/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template3.gif b/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template3.gif
new file mode 100644 (file)
index 0000000..db41cb4
Binary files /dev/null and b/scripts/ckeditor4.4.2/plugins/m3templates/templates/images/template3.gif differ