mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
migrate unlock page to composition API and typescript
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user