diff --git a/src/data/biomes.ts b/src/data/biomes.ts index 1ccbd7d5e05..0e55dea00f6 100644 --- a/src/data/biomes.ts +++ b/src/data/biomes.ts @@ -11,6 +11,8 @@ import i18next from "#app/plugins/i18n.js"; export function getBiomeName(biome: Biome | -1) { if (biome === -1) return i18next.t('biome:unknownLocation'); + return i18next.exists(`biome:${Biome[biome]}`) ? i18next.t(`biome:${Biome[biome]}`) : Utils.toReadableString(Biome[biome]); + /* switch (biome) { case Biome.GRASS: return 'Grassy Field'; @@ -24,7 +26,7 @@ export function getBiomeName(biome: Biome | -1) { return 'Final Destination'; default: return Utils.toReadableString(Biome[biome]); - } + }*/ } interface BiomeLinks { diff --git a/src/locales/de/biome.ts b/src/locales/de/biome.ts index ae1841f82b9..8359b36176e 100644 --- a/src/locales/de/biome.ts +++ b/src/locales/de/biome.ts @@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const biome: SimpleTranslationEntries = { "unknownLocation": "Somewhere you can\'t remember", + "TOWN": "Town", + "PLAINS": "Plains", + "GRASS": "Grassy Field", + "TALL_GRASS": "Tall Grass", + "METROPOLIS": "Metropolis", + "FOREST": "Forest", + "SEA": "Sea", + "SWAMP": "Swamp", + "BEACH": "Beach", + "LAKE": "Lake", + "SEABED": "Seabed", + "MOUNTAIN": "Mountain", + "BADLANDS": "Badlands", + "CAVE": "Cave", + "DESERT": "Desert", + "ICE_CAVE": "Ice Cave", + "MEADOW": "Meadow", + "POWER_PLANT": "Power Plant", + "VOLCANO": "Volcano", + "GRAVEYARD": "Graveyard", + "DOJO": "Dojo", + "FACTORY": "Factory", + "RUINS": "Ancient Ruins", + "WASTELAND": "Wasteland", + "ABYSS": "The Abyss", + "SPACE": "Stratosphere", + "CONSTRUCTION_SITE": "Construction Site", + "JUNGLE": "Jungle", + "FAIRY_CAVE": "Fairy Cave", + "TEMPLE": "Temple", + "SLUM": "Slum", + "SNOWY_FOREST": "Snowy Forest", + "ISLAND": "Island", + "LABORATORY": "Laboratory", + "END": "Final Destination", } as const; \ No newline at end of file diff --git a/src/locales/en/biome.ts b/src/locales/en/biome.ts index ae1841f82b9..8359b36176e 100644 --- a/src/locales/en/biome.ts +++ b/src/locales/en/biome.ts @@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const biome: SimpleTranslationEntries = { "unknownLocation": "Somewhere you can\'t remember", + "TOWN": "Town", + "PLAINS": "Plains", + "GRASS": "Grassy Field", + "TALL_GRASS": "Tall Grass", + "METROPOLIS": "Metropolis", + "FOREST": "Forest", + "SEA": "Sea", + "SWAMP": "Swamp", + "BEACH": "Beach", + "LAKE": "Lake", + "SEABED": "Seabed", + "MOUNTAIN": "Mountain", + "BADLANDS": "Badlands", + "CAVE": "Cave", + "DESERT": "Desert", + "ICE_CAVE": "Ice Cave", + "MEADOW": "Meadow", + "POWER_PLANT": "Power Plant", + "VOLCANO": "Volcano", + "GRAVEYARD": "Graveyard", + "DOJO": "Dojo", + "FACTORY": "Factory", + "RUINS": "Ancient Ruins", + "WASTELAND": "Wasteland", + "ABYSS": "The Abyss", + "SPACE": "Stratosphere", + "CONSTRUCTION_SITE": "Construction Site", + "JUNGLE": "Jungle", + "FAIRY_CAVE": "Fairy Cave", + "TEMPLE": "Temple", + "SLUM": "Slum", + "SNOWY_FOREST": "Snowy Forest", + "ISLAND": "Island", + "LABORATORY": "Laboratory", + "END": "Final Destination", } as const; \ No newline at end of file diff --git a/src/locales/es/biome.ts b/src/locales/es/biome.ts index 27823201b17..59962bca136 100644 --- a/src/locales/es/biome.ts +++ b/src/locales/es/biome.ts @@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const biome: SimpleTranslationEntries = { "unknownLocation": "Un lugar que no logras recordar", + "TOWN": "Pueblo", + "PLAINS": "Llanura", + "GRASS": "Campo", + "TALL_GRASS": "Hierba Alta", + "METROPOLIS": "Ciudad", + "FOREST": "Bosque", + "SEA": "Mar", + "SWAMP": "Pantano", + "BEACH": "Playa", + "LAKE": "Lago", + "SEABED": "Fondo Marino", + "MOUNTAIN": "Montaña", + "BADLANDS": "Yermo", + "CAVE": "Cueva", + "DESERT": "Desierto", + "ICE_CAVE": "Cueva Helada", + "MEADOW": "Prado", + "POWER_PLANT": "Central Energía", + "VOLCANO": "Volcán", + "GRAVEYARD": "Cementerio", + "DOJO": "Dojo", + "FACTORY": "Fábrica", + "RUINS": "Ruinas Antiguas", + "WASTELAND": "Páramo Desolado", + "ABYSS": "El Abismo", + "SPACE": "Estratosfera", + "CONSTRUCTION_SITE": "Obras", + "JUNGLE": "Jungla", + "FAIRY_CAVE": "Cueva Hada", + "TEMPLE": "Templo", + "SLUM": "Suburbios", + "SNOWY_FOREST": "Bosque Nevado", + "ISLAND": "Isla", + "LABORATORY": "Laboratorio", + "END": "Destino Final", } as const; \ No newline at end of file diff --git a/src/locales/fr/biome.ts b/src/locales/fr/biome.ts index ae1841f82b9..8359b36176e 100644 --- a/src/locales/fr/biome.ts +++ b/src/locales/fr/biome.ts @@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const biome: SimpleTranslationEntries = { "unknownLocation": "Somewhere you can\'t remember", + "TOWN": "Town", + "PLAINS": "Plains", + "GRASS": "Grassy Field", + "TALL_GRASS": "Tall Grass", + "METROPOLIS": "Metropolis", + "FOREST": "Forest", + "SEA": "Sea", + "SWAMP": "Swamp", + "BEACH": "Beach", + "LAKE": "Lake", + "SEABED": "Seabed", + "MOUNTAIN": "Mountain", + "BADLANDS": "Badlands", + "CAVE": "Cave", + "DESERT": "Desert", + "ICE_CAVE": "Ice Cave", + "MEADOW": "Meadow", + "POWER_PLANT": "Power Plant", + "VOLCANO": "Volcano", + "GRAVEYARD": "Graveyard", + "DOJO": "Dojo", + "FACTORY": "Factory", + "RUINS": "Ancient Ruins", + "WASTELAND": "Wasteland", + "ABYSS": "The Abyss", + "SPACE": "Stratosphere", + "CONSTRUCTION_SITE": "Construction Site", + "JUNGLE": "Jungle", + "FAIRY_CAVE": "Fairy Cave", + "TEMPLE": "Temple", + "SLUM": "Slum", + "SNOWY_FOREST": "Snowy Forest", + "ISLAND": "Island", + "LABORATORY": "Laboratory", + "END": "Final Destination", } as const; \ No newline at end of file diff --git a/src/locales/it/biome.ts b/src/locales/it/biome.ts index ae1841f82b9..8359b36176e 100644 --- a/src/locales/it/biome.ts +++ b/src/locales/it/biome.ts @@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const biome: SimpleTranslationEntries = { "unknownLocation": "Somewhere you can\'t remember", + "TOWN": "Town", + "PLAINS": "Plains", + "GRASS": "Grassy Field", + "TALL_GRASS": "Tall Grass", + "METROPOLIS": "Metropolis", + "FOREST": "Forest", + "SEA": "Sea", + "SWAMP": "Swamp", + "BEACH": "Beach", + "LAKE": "Lake", + "SEABED": "Seabed", + "MOUNTAIN": "Mountain", + "BADLANDS": "Badlands", + "CAVE": "Cave", + "DESERT": "Desert", + "ICE_CAVE": "Ice Cave", + "MEADOW": "Meadow", + "POWER_PLANT": "Power Plant", + "VOLCANO": "Volcano", + "GRAVEYARD": "Graveyard", + "DOJO": "Dojo", + "FACTORY": "Factory", + "RUINS": "Ancient Ruins", + "WASTELAND": "Wasteland", + "ABYSS": "The Abyss", + "SPACE": "Stratosphere", + "CONSTRUCTION_SITE": "Construction Site", + "JUNGLE": "Jungle", + "FAIRY_CAVE": "Fairy Cave", + "TEMPLE": "Temple", + "SLUM": "Slum", + "SNOWY_FOREST": "Snowy Forest", + "ISLAND": "Island", + "LABORATORY": "Laboratory", + "END": "Final Destination", } as const; \ No newline at end of file diff --git a/src/locales/zh_CN/biome.ts b/src/locales/zh_CN/biome.ts index ae1841f82b9..8359b36176e 100644 --- a/src/locales/zh_CN/biome.ts +++ b/src/locales/zh_CN/biome.ts @@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n"; export const biome: SimpleTranslationEntries = { "unknownLocation": "Somewhere you can\'t remember", + "TOWN": "Town", + "PLAINS": "Plains", + "GRASS": "Grassy Field", + "TALL_GRASS": "Tall Grass", + "METROPOLIS": "Metropolis", + "FOREST": "Forest", + "SEA": "Sea", + "SWAMP": "Swamp", + "BEACH": "Beach", + "LAKE": "Lake", + "SEABED": "Seabed", + "MOUNTAIN": "Mountain", + "BADLANDS": "Badlands", + "CAVE": "Cave", + "DESERT": "Desert", + "ICE_CAVE": "Ice Cave", + "MEADOW": "Meadow", + "POWER_PLANT": "Power Plant", + "VOLCANO": "Volcano", + "GRAVEYARD": "Graveyard", + "DOJO": "Dojo", + "FACTORY": "Factory", + "RUINS": "Ancient Ruins", + "WASTELAND": "Wasteland", + "ABYSS": "The Abyss", + "SPACE": "Stratosphere", + "CONSTRUCTION_SITE": "Construction Site", + "JUNGLE": "Jungle", + "FAIRY_CAVE": "Fairy Cave", + "TEMPLE": "Temple", + "SLUM": "Slum", + "SNOWY_FOREST": "Snowy Forest", + "ISLAND": "Island", + "LABORATORY": "Laboratory", + "END": "Final Destination", } as const; \ No newline at end of file