translate via i18next
This commit is contained in:
parent
a8c9bf0c6d
commit
f54d72644b
20 changed files with 1410 additions and 155 deletions
|
|
@ -9,7 +9,7 @@ BR.RoutingOptions = L.Evented.extend({
|
|||
for (var i = 0; i < profiles.length; i++) {
|
||||
var option = document.createElement("option");
|
||||
option.value = profiles[i];
|
||||
option.text = profiles[i];
|
||||
option.text = i18next.t("navbar.profile." + profiles[i]);
|
||||
profiles_list.appendChild(option);
|
||||
}
|
||||
// set default value, used as indicator for empty custom profile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue