format code

This commit is contained in:
MaysWind
2025-02-09 17:50:08 +08:00
parent 0e4cd10376
commit 6021c24da9
8 changed files with 33 additions and 33 deletions
+3 -3
View File
@@ -10,6 +10,9 @@ var DefaultLanguage = en
// AllLanguages represents all the supported language
// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating
var AllLanguages = map[string]*LocaleInfo{
"de": {
Content: de,
},
"en": {
Content: en,
},
@@ -25,9 +28,6 @@ var AllLanguages = map[string]*LocaleInfo{
"zh-Hans": {
Content: zhHans,
},
"de": {
Content: de,
}
}
func GetLocaleTextItems(locale string) *LocaleTextItems {
+3 -3
View File
@@ -5,12 +5,12 @@
}
},
"language": {
"Deutsch": "Deutsch",
"English": "English",
"Spanish": "Spanish",
"Russian": "Russian",
"Vietnamese": "Vietnamese",
"Simplified Chinese": "Simplified Chinese",
"Deutsch": "Deutsch"
"Simplified Chinese": "Simplified Chinese"
},
"default": {
"currency": "EUR",
@@ -1923,4 +1923,4 @@
"Parameter Invalid": "Parameter ungültig",
"Numeric Overflow": "Numerischer Überlauf",
"Click to close": "Zum Schließen klicken"
}
}
+3 -3
View File
@@ -5,12 +5,12 @@
}
},
"language": {
"German": "German",
"English": "English",
"Spanish": "Spanish",
"Russian": "Russian",
"Vietnamese": "Vietnamese",
"Simplified Chinese": "Simplified Chinese",
"German": "German"
"Simplified Chinese": "Simplified Chinese"
},
"default": {
"currency": "USD",
@@ -1923,4 +1923,4 @@
"Parameter Invalid": "Parameter Invalid",
"Numeric Overflow": "Numeric Overflow",
"Click to close": "Click to close"
}
}
+3 -3
View File
@@ -5,12 +5,12 @@
}
},
"language": {
"German": "Alemán",
"English": "Inglés",
"Spanish": "Español",
"Russian": "Ruso",
"Vietnamese": "Vietnamita",
"Simplified Chinese": "Chino simplificado",
"German": "Alemán"
"Simplified Chinese": "Chino simplificado"
},
"default": {
"currency": "EUR",
@@ -1923,4 +1923,4 @@
"Parameter Invalid": "Parámetro no válido",
"Numeric Overflow": "Desbordamiento numérico",
"Click to close": "Haga clic para cerrar"
}
}
+12 -12
View File
@@ -22,24 +22,30 @@ export const DEFAULT_LANGUAGE: string = 'en';
// To add new languages, please refer to https://ezbookkeeping.mayswind.net/translating
export const ALL_LANGUAGES: Record<string, LanguageInfo> = {
'de': {
name: 'German',
displayName: 'Deutsch',
alternativeLanguageTag: 'de-DE',
content: de
},
'en': {
name: 'English',
displayName: 'English',
alternativeLanguageTag: 'en',
content: en
},
'ru': {
name: 'Russian',
displayName: 'Русский',
alternativeLanguageTag: 'ru-RU',
content: ru
},
'es': {
name: 'Spanish',
displayName: 'Español',
alternativeLanguageTag: 'es',
content: es
},
'ru': {
name: 'Russian',
displayName: 'Русский',
alternativeLanguageTag: 'ru-RU',
content: ru
},
'vi': {
name: 'Vietnamese',
displayName: 'Tiếng Việt',
@@ -52,11 +58,5 @@ export const ALL_LANGUAGES: Record<string, LanguageInfo> = {
alternativeLanguageTag: 'zh-CN',
aliases: ['zh-CHS', 'zh-CN', 'zh-SG'],
content: zhHans
},
'de': {
name: 'German',
displayName: 'Deutsch',
alternativeLanguageTag: 'de-DE',
content: de
}
};
+3 -3
View File
@@ -5,12 +5,12 @@
}
},
"language": {
"German": "Немецкий",
"English": "Английский",
"Spanish": "Испанский",
"Russian": "Русский",
"Vietnamese": "Вьетнамский язык",
"Simplified Chinese": "Упрощенный Китайский",
"German": "Немецкий"
"Simplified Chinese": "Упрощенный Китайский"
},
"default": {
"currency": "RUB",
@@ -1923,4 +1923,4 @@
"Parameter Invalid": "Неверный параметр",
"Numeric Overflow": "Числовое переполнение",
"Click to close": "Нажмите, чтобы закрыть"
}
}
+3 -3
View File
@@ -5,12 +5,12 @@
}
},
"language": {
"German": "Tiếng Đức",
"English": "Tiếng Anh",
"Spanish": "Tiếng Tây Ban Nha",
"Russian": "Tiếng Nga",
"Vietnamese": "Tiếng Việt",
"Simplified Chinese": "Tiếng Trung Giản Thể",
"German": "Tiếng Đức"
"Simplified Chinese": "Tiếng Trung Giản Thể"
},
"default": {
"currency": "VND",
@@ -1923,4 +1923,4 @@
"Parameter Invalid": "Tham số không hợp lệ",
"Numeric Overflow": "Tràn số",
"Click to close": "Nhấp để đóng"
}
}
+3 -3
View File
@@ -5,12 +5,12 @@
}
},
"language": {
"German": "德语",
"English": "英语",
"Spanish": "西班牙语",
"Russian": "俄语",
"Vietnamese": "越南语",
"Simplified Chinese": "简体中文",
"German": "德语"
"Simplified Chinese": "简体中文"
},
"default": {
"currency": "CNY",
@@ -1923,4 +1923,4 @@
"Parameter Invalid": "参数错误",
"Numeric Overflow": "数值溢出",
"Click to close": "点击关闭"
}
}