mirror of
https://github.com/twisterarmy/theme_nin.git
synced 2025-01-30 16:44:31 +00:00
rewrite localizeLabels()
This commit is contained in:
parent
117058e09e
commit
8f94945651
@ -162,10 +162,8 @@ function newLoader() { // create divs for new loader
|
|||||||
}
|
}
|
||||||
|
|
||||||
function localizeLabels() {
|
function localizeLabels() {
|
||||||
$("label[for=tab_language]").text(polyglot.t("Language"));
|
$('label.tabs').each(function (i, elem) {
|
||||||
$("label[for=t-2]").text(polyglot.t("Theme"));
|
var elem = $(elem);
|
||||||
$("label[for=t-3]").text(polyglot.t("Notifications"));
|
elem.text(polyglot.t(elem.text()));
|
||||||
$("label[for=t-4]").text(polyglot.t("Keys"));
|
});
|
||||||
$("label[for=t-5]").text(polyglot.t("Appearance"));
|
|
||||||
$("label[for=t-6]").text(polyglot.t("Users"));
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user