/* Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.dialog.add('scaytcheck',function(a){var b=true,c,d=CKEDITOR.document,e='en',f=['dic_create,dic_restore','dic_rename,dic_delete'],g=function(){var n=this,o=n.data.scayt.getLangList(),p=['dic_create','dic_delete','dic_rename','dic_restore'],q=['mixedCase','mixedWithDigits','allCaps','ignoreDomainNames'],r;for(r in p){var s=p[r];d.getById(s).setHtml('');}d.getById('dic_info').setHtml(c.dic_info);for(r in q){var t='label_'+q[r],u=d.getById(t);if('undefined'!=typeof u&&'undefined'!=typeof c[t]&&'undefined'!=typeof n.options[q[r]]){u.setHtml(c[t]);var v=u.getParent();v.$.style.display='block';}}var w='
'+c.about_throwt_image+'
'+''+c.version+n.data.scayt.version.toString()+'
'+''+c.about_throwt_copy+'
';d.getById('scayt_about').setHtml(w);var x=function(G,H){var I=d.createElement('label');I.setAttribute('for','cke_option'+G);I.setHtml(H[G]);if(n.sLang==G)n.chosed_lang=G;var J=d.createElement('div'),K=CKEDITOR.dom.element.createFromHtml('');K.on('click',function(){this.$.checked=true;n.chosed_lang=G;});J.append(K);J.append(I);return{lang:H[G],code:G,radio:J};},y=[];for(r in o.rtl)y[y.length]=x(r,o.ltr);for(r in o.ltr)y[y.length]=x(r,o.ltr);y.sort(function(G,H){return H.lang>G.lang?-1:1;});var z=d.getById('scayt_lcol'),A=d.getById('scayt_rcol');for(r=0;r0)return;c=p;g.apply(n);h.apply(n);b=false;});else h.apply(n);n.selectPage(n.data.tab);},onOk:function(){var s=this;var n=s.data.scayt_control,o=n.option(),p=0;for(var q in s.options)if(o[q]!=s.options[q]&&p===0){n.option(s.options);p++;}var r=s.chosed_lang;if(r&&s.data.sLang!=r){n.setLang(r);p++;}if(p>0)n.refresh();},contents:[{id:'options',label:a.lang.scayt.optionsTab,elements:[{type:'html',id:'options',html:''}]},{id:'langs',label:a.lang.scayt.languagesTab,elements:[{type:'html',id:'langs',html:'\t\t'}]},{id:'dictionaries',label:a.lang.scayt.dictionariesTab,elements:[{type:'html',style:'',id:'dic',html:'\t\t'}]},{id:'about',label:a.lang.scayt.aboutTab,elements:[{type:'html',id:'about',style:'margin: 10px 40px;',html:''}]}]}; });Dictionary name\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t