TankopediaLoadout

This commit is contained in:
tresabhi committed 2026-09-27 13:49:02 -05:00
1 parent 558a02b6ae
commit 488451d71f
9 files changed
+309 -299

No files matched your search

+5 -1
View File
@@ -2,7 +2,11 @@ import locales from "@blitzkit/i18n/locales.json";
import { I18nString } from "@blitzkit/protos";
export function unwrapper(locale: string) {
return function (i18nString: I18nString) {
return function (i18nString?: I18nString) {
if (i18nString === undefined) {
throw new Error("i18nString is undefined");
}
if (locale in i18nString.locales) {
return i18nString.locales[locale];
}