mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'juliancoffee/fix-i18n-keys' into 'master'
Fix i18n keys See merge request veloren/veloren!3567
This commit is contained in:
commit
a00a92def1
@ -823,7 +823,7 @@ impl<'a> Widget for Bag<'a> {
|
||||
self.tooltip_manager,
|
||||
&(match inventory.next_sort_order() {
|
||||
InventorySortOrder::Name => i18n.get_msg("hud-bag-sort_by_name"),
|
||||
InventorySortOrder::Quality => i18n.get_msg("hudbag-sort_by_quality"),
|
||||
InventorySortOrder::Quality => i18n.get_msg("hud-bag-sort_by_quality"),
|
||||
InventorySortOrder::Tag => i18n.get_msg("hud-bag-sort_by_category"),
|
||||
}),
|
||||
"",
|
||||
|
@ -1487,7 +1487,7 @@ impl<'a> Widget for Crafting<'a> {
|
||||
let station_name = match recipe.craft_sprite {
|
||||
Some(SpriteKind::Anvil) => "hud-crafting-anvil",
|
||||
Some(SpriteKind::Cauldron) => "hud-crafting-cauldron",
|
||||
Some(SpriteKind::CookingPot) => "hud.crafting-cooking_pot",
|
||||
Some(SpriteKind::CookingPot) => "hud-crafting-cooking_pot",
|
||||
Some(SpriteKind::CraftingBench) => "hud-crafting-crafting_bench",
|
||||
Some(SpriteKind::Forge) => "hud-crafting-forge",
|
||||
Some(SpriteKind::Loom) => "hud-crafting-loom",
|
||||
|
@ -125,7 +125,7 @@ impl<'a> Widget for Gameplay<'a> {
|
||||
Text::new(
|
||||
&self
|
||||
.localized_strings
|
||||
.get_msg("hud-setting-pan_sensitivity"),
|
||||
.get_msg("hud-settings-pan_sensitivity"),
|
||||
)
|
||||
.top_left_with_margins_on(state.ids.window, 10.0, 10.0)
|
||||
.font_size(self.fonts.cyri.scale(14))
|
||||
|
@ -456,7 +456,7 @@ impl<'a> Widget for Video<'a> {
|
||||
.get_msg("hud-settings-present_mode-mailbox"),
|
||||
&self
|
||||
.localized_strings
|
||||
.get_msg("hud-settings-present_mode.immediate"),
|
||||
.get_msg("hud-settings-present_mode-immediate"),
|
||||
];
|
||||
|
||||
// Get which present mode is currently active
|
||||
|
Loading…
Reference in New Issue
Block a user