fix: nation adjectives

This commit is contained in:
TrèsAbhi committed 2024-05-03 17:42:28 -05:00
1 parent 80c16bce1c
commit 1d955078ef
2 files changed
+17 -1

No files matched your search

@@ -44,7 +44,11 @@ export function HeroSection() {
<Heading size={wideFormat ? '9' : '8'}>{tank.name}</Heading>
<Text color="gray">
Tier {TIER_ROMAN_NUMERALS[tank.tier]}{' '}
{(strings.common.nations as Record<string, string>)[tank.nation]}{' '}
{
(strings.common.nations_adjectives as Record<string, string>)[
tank.nation
]
}{' '}
{strings.common.tank_class_short[tank.class]}
</Text>
</Flex>
+12
View File
@@ -25,6 +25,18 @@
"other": "Hybrid nation"
},
"nations_adjectives": {
"ussr": "U.S.S.R.",
"germany": "German",
"usa": "U.S.A.",
"china": "Chinese",
"uk": "U.K.",
"france": "French",
"japan": "Japanese",
"european": "European",
"other": "Hybrid"
},
"tank_class_short": {
"lightTank": "Light",
"mediumTank": "Medium",