feat: fixed localize tankopedia chars

This commit is contained in:
tresabhi committed 2025-01-14 20:19:37 -06:00
1 parent c4f1d9f3b0
commit 6233c16b88
4 files changed
+30 -19

No files matched your search

@@ -1,11 +1,5 @@
import { times } from 'lodash-es';
import {
CrewType,
GunDefinition,
ShellType,
TankClass,
TankType,
} from '../../protos';
import { CrewType, ShellType, TankClass, TankType } from '../../protos';
export const SHELL_NAMES: Record<ShellType, string> = {
[ShellType.AP]: 'AP',
@@ -20,14 +14,7 @@ export const CREW_MEMBER_NAMES = {
[CrewType.LOADER]: 'loader',
[CrewType.RADIOMAN]: 'radioman',
} as const;
export const GUN_TYPE_NAMES: Record<
Exclude<GunDefinition['gun_type'], undefined>['$case'],
string
> = {
auto_loader: 'Auto loader',
auto_reloader: 'Auto reloader',
regular: 'Regular',
};
/**
* @deprecated use svg
*/