diff --git a/packages/core/lang/en.json b/packages/core/lang/en.json index a44b3035e..3f1316d86 100644 --- a/packages/core/lang/en.json +++ b/packages/core/lang/en.json @@ -827,6 +827,7 @@ "seo_description": "Statistics, armor, and more for all tanks in World of Tanks Blitz", "tank_seo_title": "%s1 - Tier %s2 %s3 %s4 | %s5 Tankopedia | World of Tanks Blitz (WoTB)", "tank_seo_description": "%s1 armor, statistics, equipment, provisions, and more. %s2 DPM, %s3hp alpha, %s4mm penetration, %s5kph top speed, %s6hp health.", + "sandbox": { "poses": { "hull_down": "Hull down", @@ -901,6 +902,27 @@ "reset": "Reset" } } + }, + + "meta": { + "back": "Back", + "compare": "Compare", + "swap": { + "button": "Swap", + "title": "Swap tanks" + }, + "vanilla": "Vanilla", + "opentest": "OpenTest", + "full_name": "Full name", + "nation": "Nation", + "class": "Class", + "tier": "Tier", + "type": "Type", + "dev_id": "DEV: ID", + "purchase": "Purchase price", + "restoration": "Restoration price", + "sale": "Sale price", + "research": "Research XP" } }, "compare": { diff --git a/packages/website/src/components/Tankopedia/MetaSection/index.tsx b/packages/website/src/components/Tankopedia/MetaSection/index.tsx index 8678724a0..b95ae93fa 100644 --- a/packages/website/src/components/Tankopedia/MetaSection/index.tsx +++ b/packages/website/src/components/Tankopedia/MetaSection/index.tsx @@ -47,7 +47,7 @@ export function MetaSection() { @@ -57,7 +57,7 @@ export function MetaSection() { > @@ -73,8 +73,8 @@ export function MetaSection() { {assertSecret(import.meta.env.PUBLIC_ASSET_BRANCH) === 'opentest' - ? 'Vanilla' - : 'OpenTest'} + ? strings.website.tools.tankopedia.meta.vanilla + : strings.website.tools.tankopedia.meta.opentest} )} @@ -83,12 +83,14 @@ export function MetaSection() { - Swap tanks + + {strings.website.tools.tankopedia.meta.swap.title} + {protagonist.name_full && ( - {protagonist.name_full} + + {protagonist.name_full} + )} - + - + {strings.common.tank_class_short[protagonist.class]} - + {TIER_ROMAN_NUMERALS[protagonist.tier]} {developerMode && ( - + {protagonist.id} )} {protagonist.type === TankType.PREMIUM && ( - + {protagonist.price.value / 400} )} {protagonist.price.value.toLocaleString(locale)} @@ -200,7 +204,7 @@ export function MetaSection() { /> - + {(protagonist.price.value / 2).toLocaleString(locale)} {protagonist.research_cost && ( - + {( protagonist.research_cost.research_cost_type! @@ -233,8 +237,6 @@ export function MetaSection() { )} - - {/* */} );