mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Crowdin localization support (#2310)
* Switching to use resource files * Update Crowdin configuration file * Code cleanup
This commit is contained in:
parent
a27491c1b6
commit
077e3a5e9f
193 changed files with 102089 additions and 3564 deletions
|
|
@ -48,26 +48,26 @@
|
|||
return c switch
|
||||
{
|
||||
#pragma warning disable format // @formatter:off
|
||||
ContainerType.PlayerInventory => DefaultConfigResource.ContainerType_PlayerInventory,
|
||||
ContainerType.Generic_9x3 => DefaultConfigResource.ContainerType_Generic_9x3,
|
||||
ContainerType.Generic_9x6 => DefaultConfigResource.ContainerType_Generic_9x6,
|
||||
ContainerType.Generic_3x3 => DefaultConfigResource.ContainerType_Generic_3x3,
|
||||
ContainerType.Crafting => DefaultConfigResource.ContainerType_Crafting,
|
||||
ContainerType.BlastFurnace => DefaultConfigResource.ContainerType_Furnace,
|
||||
ContainerType.Furnace => DefaultConfigResource.ContainerType_Furnace,
|
||||
ContainerType.Smoker => DefaultConfigResource.ContainerType_Furnace,
|
||||
ContainerType.Enchantment => DefaultConfigResource.ContainerType_EnchantingTable,
|
||||
ContainerType.BrewingStand => DefaultConfigResource.ContainerType_BrewingStand,
|
||||
ContainerType.PlayerInventory => AsciiArt.Container_PlayerInventory,
|
||||
ContainerType.Generic_9x3 => AsciiArt.Container_Generic_9x3,
|
||||
ContainerType.Generic_9x6 => AsciiArt.Container_Generic_9x6,
|
||||
ContainerType.Generic_3x3 => AsciiArt.Container_Generic_3x3,
|
||||
ContainerType.Crafting => AsciiArt.Container_Crafting,
|
||||
ContainerType.BlastFurnace => AsciiArt.Container_Furnace,
|
||||
ContainerType.Furnace => AsciiArt.Container_Furnace,
|
||||
ContainerType.Smoker => AsciiArt.Container_Furnace,
|
||||
ContainerType.Enchantment => AsciiArt.Container_EnchantingTable,
|
||||
ContainerType.BrewingStand => AsciiArt.Container_BrewingStand,
|
||||
ContainerType.Merchant => null,
|
||||
ContainerType.Beacon => null,
|
||||
ContainerType.Anvil => null,
|
||||
ContainerType.Hopper => DefaultConfigResource.ContainerType_Hopper,
|
||||
ContainerType.ShulkerBox => DefaultConfigResource.ContainerType_Generic_9x3,
|
||||
ContainerType.Hopper => AsciiArt.Container_Hopper,
|
||||
ContainerType.ShulkerBox => AsciiArt.Container_Generic_9x3,
|
||||
ContainerType.Loom => null,
|
||||
ContainerType.Stonecutter => null,
|
||||
ContainerType.Lectern => null,
|
||||
ContainerType.Cartography => null,
|
||||
ContainerType.Grindstone => DefaultConfigResource.ContainerType_Grindstone,
|
||||
ContainerType.Grindstone => AsciiArt.Container_Grindstone,
|
||||
ContainerType.Unknown => null,
|
||||
ContainerType.Generic_9x1 => null,
|
||||
ContainerType.Generic_9x2 => null,
|
||||
|
|
|
|||
|
|
@ -167,7 +167,7 @@ namespace MinecraftClient.Inventory
|
|||
|
||||
int damage = Damage;
|
||||
if (damage != 0)
|
||||
sb.AppendFormat(" | {0}: {1}", Translations.Get("cmd.inventory.damage"), damage);
|
||||
sb.AppendFormat(" | {0}: {1}", Translations.cmd_inventory_damage, damage);
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue