@@ -63,7 +63,7 @@ function open() {
}
selectRef.value!.open((value) => {
- ui.showLoading("切换中");
+ ui.showLoading(t("切换中"));
setTimeout(() => {
setLocale(value as string);
@@ -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));
};
@@ -1928,6 +1928,10 @@
""
],
[
+ "切换中",
+ ""
+ ],
+ [
"模板",