refactor: updated locale structure, moved layout info from locales to vue component files
This commit is contained in:
parent
60ce6d75f7
commit
de86791e2a
22 changed files with 354 additions and 233 deletions
|
|
@ -1,19 +1,14 @@
|
|||
import type { Locale } from "@/i18n/locale";
|
||||
import flakkaImg from "@/assets/flakka.png";
|
||||
import type { DeepPartial } from "@/utils/deep-partial";
|
||||
import { type LocaleMask } from "@/i18n/locale";
|
||||
import type { DeepPartial } from "@/utils/types";
|
||||
|
||||
export default {
|
||||
localeName: "Viossa",
|
||||
home: {
|
||||
layout: {
|
||||
data: {
|
||||
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",
|
||||
image: flakkaImg,
|
||||
alt: "Flag of the Viossa Language",
|
||||
},
|
||||
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 DeepPartial<Locale>;
|
||||
} as const satisfies DeepPartial<LocaleMask>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue