(Experimental) Replace htmlarea with XINHA. Thanks to abdussamad!
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */
|
||||
/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */
|
||||
/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/plugins/ClientsideSpellcheck/clientside-spellcheck.js */
|
||||
function ClientsideSpellcheck(_1){
|
||||
this.editor=_1;
|
||||
var _2=_1.config;
|
||||
var bl=ClientsideSpellcheck.btnList;
|
||||
var _4=this;
|
||||
var id="clientsidespellcheck";
|
||||
_2.registerButton(id,this._lc("Spell Check using ieSpell"),_1.imgURL("clientside-spellcheck.gif","ClientsideSpellcheck"),false,function(_6,id){
|
||||
_4.buttonPress(_6,id);
|
||||
});
|
||||
if(Xinha.is_ie){
|
||||
_2.addToolbarElement("clientsidespellcheck","print",1);
|
||||
}
|
||||
}
|
||||
ClientsideSpellcheck._pluginInfo={name:"ClientsideSpellcheck",version:"1.0",developer:"Michael Harris",developer_url:"http://www.jonesinternational.edu",c_owner:"Red Egg Software",sponsor:"Jones International University",sponsor_url:"http://www.jonesinternational.edu",license:"htmlArea"};
|
||||
ClientsideSpellcheck.prototype._lc=function(_8){
|
||||
return Xinha._lc(_8,"ClientsideSpellcheck");
|
||||
};
|
||||
ClientsideSpellcheck.prototype.buttonPress=function(_9){
|
||||
try{
|
||||
var _a=new ActiveXObject("ieSpell.ieSpellExtension");
|
||||
_a.CheckAllLinkedDocuments(document);
|
||||
}
|
||||
catch(exception){
|
||||
if(exception.number==-2146827859){
|
||||
if(confirm(this.lc("ieSpell not detected. Click Ok to go to download page."))){
|
||||
window.open("http://www.iespell.com/download.php","DownLoad");
|
||||
}
|
||||
}else{
|
||||
alert(this.lc("ieSpell can only be used in Internet Explorer"));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
BIN
htmlarea/plugins/ClientsideSpellcheck/img/clientside-spellcheck.gif
Executable file
BIN
htmlarea/plugins/ClientsideSpellcheck/img/clientside-spellcheck.gif
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 97 B |
BIN
htmlarea/plugins/ClientsideSpellcheck/img/he-spell-check.gif
Executable file
BIN
htmlarea/plugins/ClientsideSpellcheck/img/he-spell-check.gif
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 100 B |
8
htmlarea/plugins/ClientsideSpellcheck/lang/de.js
Normal file
8
htmlarea/plugins/ClientsideSpellcheck/lang/de.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// I18N constants
|
||||
// LANG: "de", ENCODING: UTF-8
|
||||
// translated: Udo Schmal (gocher), http://www.schaffrath-neuemedien.de/, udo.schmal@t-online.de
|
||||
{
|
||||
"Spell Check using ieSpell": "Englische Rechtschreibkontrolle mit ieSpell",
|
||||
"ieSpell can only be used in Internet Explorer": "ieSpell kann nur mit dem Internet Explorer benutzt werden",
|
||||
"ieSpell not detected. Click Ok to go to download page.": "ieSpell wurde nicht gefunden. Drücken sie Ok um ieSpeck herunter zu laden."
|
||||
};
|
||||
7
htmlarea/plugins/ClientsideSpellcheck/lang/ja.js
Normal file
7
htmlarea/plugins/ClientsideSpellcheck/lang/ja.js
Normal file
@@ -0,0 +1,7 @@
|
||||
// I18N constants
|
||||
// LANG: "ja", ENCODING: UTF-8
|
||||
{
|
||||
"Spell Check using ieSpell": "スペルチェックに ieSpell を使う",
|
||||
"ieSpell can only be used in Internet Explorer": "ieSpell は Internet Explorer でのみ使用できます",
|
||||
"ieSpell not detected. Click Ok to go to download page.": "ieSpell が検知されませんでした。OK をクリックしてダウンロードページを開いてください。"
|
||||
};
|
||||
3
htmlarea/plugins/ClientsideSpellcheck/lang/nb.js
Normal file
3
htmlarea/plugins/ClientsideSpellcheck/lang/nb.js
Normal file
@@ -0,0 +1,3 @@
|
||||
// Dummy file
|
||||
|
||||
{};
|
||||
8
htmlarea/plugins/ClientsideSpellcheck/lang/nl.js
Normal file
8
htmlarea/plugins/ClientsideSpellcheck/lang/nl.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// I18N constants
|
||||
// LANG: "nl", ENCODING: UTF-8
|
||||
// Author: Maarten Molenschot, maarten@nrgmm.nl
|
||||
{
|
||||
"Spell Check using ieSpell": "Engelse spellingscontrole met ieSpell",
|
||||
"ieSpell can only be used in Internet Explorer": "ieSpell kan alleen worden gebruikt in Internet Explorer",
|
||||
"ieSpell not detected. Click Ok to go to download page.": "ieSpell werd niet gevonden. Klik op Ok om ieSpell te downloaden"
|
||||
};
|
||||
18
htmlarea/plugins/ClientsideSpellcheck/lang/pt_br.js
Normal file
18
htmlarea/plugins/ClientsideSpellcheck/lang/pt_br.js
Normal file
@@ -0,0 +1,18 @@
|
||||
// I18N constants
|
||||
|
||||
// LANG: "pt_br", ENCODING: UTF-8
|
||||
// Portuguese Brazilian Translation
|
||||
|
||||
// Author: Marcio Barbosa, <marcio@mpg.com.br>
|
||||
// MSN: tomarshall@msn.com - ICQ: 69419933
|
||||
// Site: http://www.mpg.com.br
|
||||
|
||||
// Last revision: 05 september 2007
|
||||
// Please don´t remove this information
|
||||
// If you modify any source, please insert a comment with your name and e-mail
|
||||
|
||||
// Distributed under the same terms as HTMLArea itself.
|
||||
// This notice MUST stay intact for use (see license.txt).
|
||||
{
|
||||
"Spell Check using ieSpell": "Verificação Ortográfica utilizando ieSpell"
|
||||
}
|
||||
Reference in New Issue
Block a user