Biomes langs
parent
faf05d8258
commit
fa052fbf32
|
@ -11,6 +11,8 @@ import i18next from "#app/plugins/i18n.js";
|
||||||
export function getBiomeName(biome: Biome | -1) {
|
export function getBiomeName(biome: Biome | -1) {
|
||||||
if (biome === -1)
|
if (biome === -1)
|
||||||
return i18next.t('biome:unknownLocation');
|
return i18next.t('biome:unknownLocation');
|
||||||
|
return i18next.exists(`biome:${Biome[biome]}`) ? i18next.t(`biome:${Biome[biome]}`) : Utils.toReadableString(Biome[biome]);
|
||||||
|
/*
|
||||||
switch (biome) {
|
switch (biome) {
|
||||||
case Biome.GRASS:
|
case Biome.GRASS:
|
||||||
return 'Grassy Field';
|
return 'Grassy Field';
|
||||||
|
@ -24,7 +26,7 @@ export function getBiomeName(biome: Biome | -1) {
|
||||||
return 'Final Destination';
|
return 'Final Destination';
|
||||||
default:
|
default:
|
||||||
return Utils.toReadableString(Biome[biome]);
|
return Utils.toReadableString(Biome[biome]);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
interface BiomeLinks {
|
interface BiomeLinks {
|
||||||
|
|
|
@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||||
|
|
||||||
export const biome: SimpleTranslationEntries = {
|
export const biome: SimpleTranslationEntries = {
|
||||||
"unknownLocation": "Somewhere you can\'t remember",
|
"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;
|
} as const;
|
|
@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||||
|
|
||||||
export const biome: SimpleTranslationEntries = {
|
export const biome: SimpleTranslationEntries = {
|
||||||
"unknownLocation": "Somewhere you can\'t remember",
|
"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;
|
} as const;
|
|
@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||||
|
|
||||||
export const biome: SimpleTranslationEntries = {
|
export const biome: SimpleTranslationEntries = {
|
||||||
"unknownLocation": "Un lugar que no logras recordar",
|
"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;
|
} as const;
|
|
@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||||
|
|
||||||
export const biome: SimpleTranslationEntries = {
|
export const biome: SimpleTranslationEntries = {
|
||||||
"unknownLocation": "Somewhere you can\'t remember",
|
"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;
|
} as const;
|
|
@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||||
|
|
||||||
export const biome: SimpleTranslationEntries = {
|
export const biome: SimpleTranslationEntries = {
|
||||||
"unknownLocation": "Somewhere you can\'t remember",
|
"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;
|
} as const;
|
|
@ -2,4 +2,39 @@ import { SimpleTranslationEntries } from "#app/plugins/i18n";
|
||||||
|
|
||||||
export const biome: SimpleTranslationEntries = {
|
export const biome: SimpleTranslationEntries = {
|
||||||
"unknownLocation": "Somewhere you can\'t remember",
|
"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;
|
} as const;
|
Loading…
Reference in New Issue