X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fa11yhelp%2Fplugin.js;h=31996a1ab9fb0c13d41dda0abf5fd493a768b350;hb=2f22c0c38f17e75be5541089076885442aaa2377;hp=455d21e297f2e98e31ef547c20d10330b3c46732;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/plugins/a11yhelp/plugin.js b/_source/plugins/a11yhelp/plugin.js index 455d21e..31996a1 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 */ @@ -16,7 +16,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license CKEDITOR.plugins.add( pluginName, { // 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, mk:1, nb:1, nl:1, no:1, tr:1, ug:1, vi:1, 'zh-cn':1 }, init : function( editor ) { @@ -32,11 +32,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 });