wip: fixed issues with i18n fallbacking for value-type objects/arrays, removed i18n integration and replaced with proprietary implementation again

This commit is contained in:
Benjamin Singleton 2026-02-15 23:33:35 -06:00
parent 771a8cc4bf
commit d2020cafec
19 changed files with 529 additions and 420 deletions

View file

@ -1,14 +1,15 @@
import type { DeepPartialLocale } from "@/i18n";
import { type LocaleMask } from "@/i18n/locale";
import type { DeepPartial } from "@/utils/types";
import { messagePack } from "@/i18n/marker";
export default {
export default messagePack({
localeName: "Viossa",
home: {
sections: {
whatIsViossa: {
home: messagePack({
sections: messagePack({
whatIsViossa: messagePack({
title: "Kafaen afto Viossa",
text: "Viossa tte glossa mahena grun vi nai vil fshtojena na bakadjin, grun vi svinnur ja! De aldjin zovti lera ne",
},
},
},
} as const satisfies DeepPartial<LocaleMask>;
}),
}),
}),
} as const) satisfies DeepPartialLocale<LocaleMask>;