更新语言
This commit is contained in:
@@ -63,7 +63,7 @@ function open() {
|
||||
}
|
||||
|
||||
selectRef.value!.open((value) => {
|
||||
ui.showLoading("切换中");
|
||||
ui.showLoading(t("切换中"));
|
||||
|
||||
setTimeout(() => {
|
||||
setLocale(value as string);
|
||||
|
||||
2678
locale/en.json
2678
locale/en.json
File diff suppressed because it is too large
Load Diff
2254
locale/es.json
2254
locale/es.json
File diff suppressed because it is too large
Load Diff
2060
locale/fr.json
2060
locale/fr.json
File diff suppressed because it is too large
Load Diff
@@ -78,7 +78,7 @@ export const getLocale = (): string => {
|
||||
// 追加数据
|
||||
export const appendLocale = (name: string, data: string[][]) => {
|
||||
if (messages[name] != null) {
|
||||
(messages[name] as string[][]).push(...data);
|
||||
(messages[name] as string[][]).push(...parse(data));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
2604
locale/ja.json
2604
locale/ja.json
File diff suppressed because it is too large
Load Diff
2756
locale/ko.json
2756
locale/ko.json
File diff suppressed because it is too large
Load Diff
@@ -1927,6 +1927,10 @@
|
||||
"切换语言",
|
||||
""
|
||||
],
|
||||
[
|
||||
"切换中",
|
||||
""
|
||||
],
|
||||
[
|
||||
"模板",
|
||||
""
|
||||
|
||||
2390
locale/zh-tw.json
2390
locale/zh-tw.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user