Browse Source

rewrite localizeLabels()

nin-v2
Simon Grim 7 years ago
parent
commit
8f94945651
  1. 10
      js/theme_option.js

10
js/theme_option.js

@ -162,10 +162,8 @@ function newLoader() { // create divs for new loader @@ -162,10 +162,8 @@ function newLoader() { // create divs for new loader
}
function localizeLabels() {
$("label[for=tab_language]").text(polyglot.t("Language"));
$("label[for=t-2]").text(polyglot.t("Theme"));
$("label[for=t-3]").text(polyglot.t("Notifications"));
$("label[for=t-4]").text(polyglot.t("Keys"));
$("label[for=t-5]").text(polyglot.t("Appearance"));
$("label[for=t-6]").text(polyglot.t("Users"));
$('label.tabs').each(function (i, elem) {
var elem = $(elem);
elem.text(polyglot.t(elem.text()));
});
}

Loading…
Cancel
Save