X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fa11yhelp%2Fplugin.js;h=e825f8680a02da84c2b8da4b3ea6d38abb35702c;hb=3fe9cac293e090ea459a3ee10d78cbe9e1dd0e03;hp=455d21e297f2e98e31ef547c20d10330b3c46732;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/plugins/a11yhelp/plugin.js b/_source/plugins/a11yhelp/plugin.js index 455d21e..e825f86 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-2013, 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 }, + 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, ku: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 });