wip: ESLint Rule against loss of reactivity + prep for string-only locale files
This commit is contained in:
parent
d2020cafec
commit
3c26238ca4
7 changed files with 251 additions and 223 deletions
|
|
@ -1,15 +1,14 @@
|
|||
import type { DeepPartialLocale } from "@/i18n";
|
||||
import { type LocaleMask } from "@/i18n/locale";
|
||||
import { messagePack } from "@/i18n/marker";
|
||||
import type { DeepPartial } from "@/utils/types";
|
||||
|
||||
export default messagePack({
|
||||
export default {
|
||||
localeName: "Viossa",
|
||||
home: messagePack({
|
||||
sections: messagePack({
|
||||
whatIsViossa: messagePack({
|
||||
home: {
|
||||
sections: {
|
||||
whatIsViossa: {
|
||||
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 DeepPartialLocale<LocaleMask>;
|
||||
body: "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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue