migrate unlock page to composition API and typescript

This commit is contained in:
MaysWind
2025-01-14 23:36:31 +08:00
parent cd2e6c1aae
commit 29c09cb10a
7 changed files with 387 additions and 396 deletions
+6 -1
View File
@@ -10,10 +10,15 @@ export interface LanguageInfo {
readonly content: object;
}
export interface LanguageOption {
readonly languageTag: string;
readonly displayName: string;
}
export const DEFAULT_LANGUAGE: string = 'en';
// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating
export const allLanguages: Record<string, LanguageInfo> = {
export const ALL_LANGUAGES: Record<string, LanguageInfo> = {
'en': {
name: 'English',
displayName: 'English',