tmp=function(){var a=Core.lang.getLocalizer("TextEncoding");Core.addAddon({name:"TextEncoding",settingsGroup:"viewer",onPreInit:function(){this.optionDefs=[{name:"encoding",title:a("OPTION_TITLE"),icon:"BOOK",defaultValue:"___latin___",values:["___latin___","___win1251___"],valueTitles:{___latin___:a("LATIN"),___win1251___:a("RUSSIAN")}}];},onSettingsChanged:function(b,c,d){if(c===d){return;}Core.ui.showMsg([a("MSG_RESTART")]);}});};try{tmp();}catch(e){log.error("in TextEncoding.js",e);}