Add missing translations in voxygen

Fix #436
This commit is contained in:
Rémy PHELIPOT 2020-01-21 21:10:49 +01:00
parent f60a68d96d
commit 8946ed8d82
2 changed files with 3 additions and 2 deletions

View File

@ -153,6 +153,7 @@ Want to free your cursor to close this window? Press TAB!
Enjoy your stay in the World of Veloren."#,
"hud.settings.general": "General",
"hud.settings.none": "None",
"hud.settings.help_window": "Help Window",
"hud.settings.debug_info": "Debug Info",
"hud.settings.tips_on_startup": "Tips-On-Startup",

View File

@ -445,7 +445,7 @@ impl<'a> Widget for SettingsWindow<'a> {
events.push(Event::UiScale(ScaleChange::ToRelative));
}
Text::new("Relative Scaling")
Text::new(self.localized_strings.get("hud.settings.relative_scaling"))
.right_from(state.ids.relative_to_win_button, 10.0)
.font_size(14)
.font_id(self.fonts.cyri)
@ -480,7 +480,7 @@ impl<'a> Widget for SettingsWindow<'a> {
events.push(Event::UiScale(ScaleChange::ToAbsolute));
}
Text::new("Custom Scaling")
Text::new(self.localized_strings.get("hud.settings.custom_scaling"))
.right_from(state.ids.absolute_scale_button, 10.0)
.font_size(14)
.font_id(self.fonts.cyri)