From f74b66dd5feb8b00d53dc262aca1e9bd019fa9f8 Mon Sep 17 00:00:00 2001
From: tresabhi <43380238+tresabhi@users.noreply.github.com>
Date: Mon, 9 Nov 2026 23:27:36 -0600
Subject: [PATCH] localize
---
packages/i18n/strings/en.json | 8 ++++++
.../components/CustomShellButton/index.tsx | 27 ++++++++++---------
.../src/components/Slider/index.module.css | 4 +--
.../TankopediaAntagonistControl/index.tsx | 10 +++----
4 files changed, 30 insertions(+), 19 deletions(-)
diff --git a/packages/i18n/strings/en.json b/packages/i18n/strings/en.json
index b64555c41..75b4b8ac1 100644
--- a/packages/i18n/strings/en.json
+++ b/packages/i18n/strings/en.json
@@ -40,12 +40,20 @@
},
"tanks": {
+ "antagonist_control": {
+ "calibrated_shells": "Calibrated shells",
+ "enhanced_armor": "Enhanced armor",
+ "equalize": "Equalize"
+ },
+
"custom_shell": {
+ "title": "Custom shell",
"type": "Type",
"caliber": "Caliber",
"penetration": "Penetration",
"normalization": "Normalization",
"ricochet": "Ricochet",
+ "explosion_radius": "Explosion radius",
"exit": "Exit",
"reset": "Reset"
},
diff --git a/packages/website/src/components/CustomShellButton/index.tsx b/packages/website/src/components/CustomShellButton/index.tsx
index 0025f778f..61724e2e8 100644
--- a/packages/website/src/components/CustomShellButton/index.tsx
+++ b/packages/website/src/components/CustomShellButton/index.tsx
@@ -12,6 +12,7 @@ import { Select } from "../Select";
import { Slider } from "../Slider";
import { Text } from "../Text";
import { TextField } from "../TextField";
+import { Tooltip } from "../Tooltip";
import styles from "./index.module.css";
interface NumberFieldProps {
@@ -90,17 +91,19 @@ export function CustomShellButton() {
});
}}
>
-
-
-
-
-
+
+
+
+
+
+
+
@@ -265,7 +268,7 @@ export function CustomShellButton() {
{customShell.type === ShellType.SHELL_TYPE_HE && (
-
Explosion radius
+
{strings.tanks.custom_shell.explosion_radius}
-
+
-
+
-
+