/*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
\r
CKEDITOR.plugins.add( pluginName,\r
{\r
+ requires: [ 'dialog' ],\r
+\r
// List of available localizations.\r
- availableLangs : { en:1 },\r
+ availableLangs : { cs:1, cy:1, da:1, de:1, el:1, en:1, eo:1, fa:1, fi:1, fr:1, gu:1, he:1, it:1, mk:1, nb:1, nl:1, no:1, 'pt-br':1, ro:1, tr:1, ug:1, vi:1, 'zh-cn':1 },\r
\r
init : function( editor )\r
{\r
CKEDITOR.getUrl( plugin.path + 'lang/' + langCode + '.js' ),\r
function()\r
{\r
- CKEDITOR.tools.extend( editor.lang, plugin.lang[ langCode ] );\r
+ CKEDITOR.tools.extend( editor.lang, plugin.langEntries[ langCode ] );\r
editor.openDialog( commandName );\r
});\r
},\r
modes : { wysiwyg:1, source:1 },\r
+ readOnly : 1,\r
canUndo : false\r
});\r
\r