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:
parent
771a8cc4bf
commit
d2020cafec
19 changed files with 529 additions and 420 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue