X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fa11yhelp%2Fplugin.js;h=be3377d0f126a81f6283d04ab51979ea7b680882;hb=6e682412d5cc0dfaedb376482e585bf2989c6863;hp=293bab3c737b0b5a68365c46dd8e5f7514c6fb59;hpb=8665a7c6c60586526e32e8941fe2896739b6ebfb;p=ckeditor.git diff --git a/_source/plugins/a11yhelp/plugin.js b/_source/plugins/a11yhelp/plugin.js index 293bab3..be3377d 100644 --- a/_source/plugins/a11yhelp/plugin.js +++ b/_source/plugins/a11yhelp/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -15,8 +15,10 @@ For licensing, see LICENSE.html or http://ckeditor.com/license CKEDITOR.plugins.add( pluginName, { + requires: [ 'dialog' ], + // List of available localizations. - availableLangs : { en:1, he:1 }, + 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 }, init : function( editor ) { @@ -32,11 +34,12 @@ For licensing, see LICENSE.html or http://ckeditor.com/license CKEDITOR.getUrl( plugin.path + 'lang/' + langCode + '.js' ), function() { - CKEDITOR.tools.extend( editor.lang, plugin.lang[ langCode ] ); + CKEDITOR.tools.extend( editor.lang, plugin.langEntries[ langCode ] ); editor.openDialog( commandName ); }); }, modes : { wysiwyg:1, source:1 }, + readOnly : 1, canUndo : false });