@ -35,6 +35,10 @@
return text.replace(/\[\[([\S]*?)\]\]/g, '\\[\\[$1\\]\\]');
};
translator.unescape = function(text) {
return text.replace(/\\\[\\\[([\S]*?)\\\]\\\]/g, '[[$1]]');
translator.getLanguage = function() {
return config.defaultLang;