Merge branch 'juliancoffee/fix-i18n-keys' into 'master'

Fix i18n keys

See merge request veloren/veloren!3567
This commit is contained in:
Ben Wallis 2022-08-25 14:15:21 +00:00
commit a00a92def1
4 changed files with 4 additions and 4 deletions

View File

@ -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"),
}),
"",

View File

@ -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",

View File

@ -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))

View File

@ -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