|
|
@ -2247,7 +2247,10 @@ var fixedLabels = [ |
|
|
|
".login input", |
|
|
|
".login input", |
|
|
|
|
|
|
|
|
|
|
|
//options page
|
|
|
|
//options page
|
|
|
|
"option" |
|
|
|
"option", |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//page titles
|
|
|
|
|
|
|
|
"title" |
|
|
|
]; |
|
|
|
]; |
|
|
|
$(document).ready(function(){ |
|
|
|
$(document).ready(function(){ |
|
|
|
for(var i=0;i<fixedLabels.length;i++){ |
|
|
|
for(var i=0;i<fixedLabels.length;i++){ |
|
|
@ -2256,8 +2259,8 @@ $(document).ready(function(){ |
|
|
|
var content = $.trim($(elems[e]).text()); |
|
|
|
var content = $.trim($(elems[e]).text()); |
|
|
|
if(wordset[content]){ |
|
|
|
if(wordset[content]){ |
|
|
|
$(elems[e]).text( polyglot.t(content) ); |
|
|
|
$(elems[e]).text( polyglot.t(content) ); |
|
|
|
} |
|
|
|
|
|
|
|
else{ |
|
|
|
}else{ |
|
|
|
// uncomment to see translations not found
|
|
|
|
// uncomment to see translations not found
|
|
|
|
//console.log(content);
|
|
|
|
//console.log(content);
|
|
|
|
} |
|
|
|
} |
|
|
|