replace @ec with i18n variables

This commit is contained in:
Felix Staud 2024-07-12 14:10:19 -07:00
parent b95e9cbfa4
commit 53f178fde2

View File

@ -6,21 +6,21 @@ export const lostAtSea = {
query: "What will you do?", query: "What will you do?",
option: { option: {
1: { 1: {
label: "Use @ec{pokemonCanLearnMove}", // pkm has to be of type water label: "Use {{pokemonCanLearnMove}}", // pkm has to be of type water
tooltip: tooltip:
"Use @ec{pokemonCanLearnMove} to guide you back. @ec{pokemonCanLearnMove} earns EXP as if having defeated a Lapras.", "Use {{pokemonCanLearnMove}} to guide you back. {{pokemonCanLearnMove}} earns EXP as if having defeated a Lapras.",
selected: "@ec{pokemonCanLearnMove} guides you back and earns EXP.", selected: "{{pokemonCanLearnMove}} guides you back and earns EXP.",
}, },
2: { 2: {
label: "Use @ec{flyingPkm}", // pkm has to be of type flying label: "Use {{flyingPkm}}", // pkm has to be of type flying
tooltip: tooltip:
"Use @ec{flyingPkm} to guide you back. @ec{flyingPkm} earns EXP as if having defeated a Lapras.", "Use {{flyingPkm}} to guide you back. {{flyingPkm}} earns EXP as if having defeated a Lapras.",
selected: "@ec{flyingPkm} guides you back and earns EXP.", selected: "{{flyingPkm}} guides you back and earns EXP.",
}, },
3: { 3: {
label: "Wander aimlessly", label: "Wander aimlessly",
tooltip: tooltip:
"Wander aimlessly until you're back. All your Pokémon lose @ec{damagePercentage}% of their HP. Any below that are KO'd.", "Wander aimlessly until you're back. All your Pokémon lose {{damagePercentage}}% of their HP. Any below that are KO'd.",
selected: selected:
"You wander aimlessly around. After hours of wandering, you find your way back. You and your team take the toll.", "You wander aimlessly around. After hours of wandering, you find your way back. You and your team take the toll.",
}, },