From ae667b4222a718f99091ec8bb1fb130970b051e7 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 15 May 2016 17:07:16 -0400 Subject: initial commit --- .../plugins/scayt/dialogs/options.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 data/assets/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js (limited to 'data/assets/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js') diff --git a/data/assets/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js b/data/assets/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js new file mode 100644 index 0000000..12dbfd1 --- /dev/null +++ b/data/assets/ckeditor-4.5.8-custom/plugins/scayt/dialogs/options.js @@ -0,0 +1,19 @@ +CKEDITOR.dialog.add("scaytDialog",function(c){var f=c.scayt,q='\x3cp\x3e\x3cimg src\x3d"'+f.getLogo()+'" /\x3e\x3c/p\x3e\x3cp\x3e'+f.getLocal("version")+f.getVersion()+"\x3c/p\x3e\x3cp\x3e"+f.getLocal("text_copyrights")+"\x3c/p\x3e",r=CKEDITOR.document,n={isChanged:function(){return null===this.newLang||this.currentLang===this.newLang?!1:!0},currentLang:f.getLang(),newLang:null,reset:function(){this.currentLang=f.getLang();this.newLang=null},id:"lang"},q=[{id:"options",label:f.getLocal("tab_options"), +onShow:function(){},elements:[{type:"vbox",id:"scaytOptions",children:function(){var a=f.getApplicationConfig(),b=[],g={"ignore-all-caps-words":"label_allCaps","ignore-domain-names":"label_ignoreDomainNames","ignore-words-with-mixed-cases":"label_mixedCase","ignore-words-with-numbers":"label_mixedWithDigits"},e;for(e in a)a={type:"checkbox"},a.id=e,a.label=f.getLocal(g[e]),b.push(a);return b}(),onShow:function(){this.getChild();for(var a=c.scayt,b=0;bb[1]?c=1:a[1]