mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
migrate i18n helper.js some code to typescript and migrate vue file to composition API and typescript
This commit is contained in:
@@ -2,7 +2,7 @@ import en from './en.json';
|
||||
import vi from './vi.json';
|
||||
import zhHans from './zh_Hans.json';
|
||||
|
||||
interface LanguageInfo {
|
||||
export interface LanguageInfo {
|
||||
name: string;
|
||||
displayName: string;
|
||||
alternativeLanguageTag: string;
|
||||
@@ -10,7 +10,7 @@ interface LanguageInfo {
|
||||
content: object;
|
||||
}
|
||||
|
||||
export const defaultLanguage: string = 'en';
|
||||
export const DEFAULT_LANGUAGE: string = 'en';
|
||||
|
||||
// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating
|
||||
export const allLanguages: Record<string, LanguageInfo> = {
|
||||
|
||||
Reference in New Issue
Block a user