更新语言包
This commit is contained in:
2724
locale/en.json
2724
locale/en.json
File diff suppressed because it is too large
Load Diff
2640
locale/es.json
2640
locale/es.json
File diff suppressed because it is too large
Load Diff
3196
locale/fr.json
3196
locale/fr.json
File diff suppressed because it is too large
Load Diff
@@ -11,6 +11,12 @@ import { config } from "@/config";
|
||||
|
||||
// 解析语言包
|
||||
function parse(val: string[][]) {
|
||||
const isCustom = val.length == 1 && val[0].length == 1;
|
||||
|
||||
if (!isCustom) {
|
||||
return val;
|
||||
}
|
||||
|
||||
return val[0][0].split("<__&__>").map((e) => e.split("<__=__>"));
|
||||
}
|
||||
|
||||
@@ -78,7 +84,7 @@ export const getLocale = (): string => {
|
||||
// 追加数据
|
||||
export const appendLocale = (name: string, data: string[][]) => {
|
||||
if (messages[name] != null) {
|
||||
(messages[name] as string[][]).push(...parse(data));
|
||||
(messages[name] as string[][]).unshift(...parse(data));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
2524
locale/ja.json
2524
locale/ja.json
File diff suppressed because it is too large
Load Diff
3708
locale/ko.json
3708
locale/ko.json
File diff suppressed because it is too large
Load Diff
@@ -615,6 +615,10 @@
|
||||
"数据展示",
|
||||
""
|
||||
],
|
||||
[
|
||||
"查看更多",
|
||||
""
|
||||
],
|
||||
[
|
||||
"列表",
|
||||
""
|
||||
@@ -635,6 +639,10 @@
|
||||
"轮播图",
|
||||
""
|
||||
],
|
||||
[
|
||||
"跑马灯",
|
||||
""
|
||||
],
|
||||
[
|
||||
"分页",
|
||||
""
|
||||
@@ -827,6 +835,10 @@
|
||||
"完成后提示",
|
||||
""
|
||||
],
|
||||
[
|
||||
"3秒后开始倒计时",
|
||||
""
|
||||
],
|
||||
[
|
||||
"结合按钮",
|
||||
""
|
||||
@@ -1843,6 +1855,14 @@
|
||||
"1000元起",
|
||||
""
|
||||
],
|
||||
[
|
||||
"禁用切换按钮",
|
||||
""
|
||||
],
|
||||
[
|
||||
"自定义高度",
|
||||
""
|
||||
],
|
||||
[
|
||||
"多页数",
|
||||
""
|
||||
@@ -1855,6 +1875,22 @@
|
||||
"下一页",
|
||||
""
|
||||
],
|
||||
[
|
||||
"横向滚动",
|
||||
""
|
||||
],
|
||||
[
|
||||
"纵向滚动",
|
||||
""
|
||||
],
|
||||
[
|
||||
"快一点",
|
||||
""
|
||||
],
|
||||
[
|
||||
"暂停",
|
||||
""
|
||||
],
|
||||
[
|
||||
"内容靠左",
|
||||
""
|
||||
@@ -2331,6 +2367,10 @@
|
||||
"Banner 轮播图",
|
||||
""
|
||||
],
|
||||
[
|
||||
"Marquee 跑马灯",
|
||||
""
|
||||
],
|
||||
[
|
||||
"Pagination 分页",
|
||||
""
|
||||
@@ -2343,6 +2383,10 @@
|
||||
"Avatar 头像",
|
||||
""
|
||||
],
|
||||
[
|
||||
"ReadMore 查看更多",
|
||||
""
|
||||
],
|
||||
[
|
||||
"Draggable 拖拽",
|
||||
""
|
||||
@@ -2436,7 +2480,7 @@
|
||||
""
|
||||
],
|
||||
[
|
||||
"Animate 动画",
|
||||
"Animation 动画",
|
||||
""
|
||||
],
|
||||
[
|
||||
|
||||
2842
locale/zh-tw.json
2842
locale/zh-tw.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user