Optimize for Simplified Chinese translation (#48)

* feat: Optimize for Simplified Chinese translation

* fix: fix language pack index for zhcn
This commit is contained in:
MisakaNo の 小破站
2024-03-02 01:42:27 +08:00
committed by GitHub
parent cfa5f38177
commit d39df72896
2 changed files with 23 additions and 23 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
import { createI18n } from 'vue-i18n'
import en from './en'
import fa from './fa'
import ch from './ch'
import zhcn from './zhcn'
export const i18n = createI18n({
@@ -11,12 +11,12 @@ export const i18n = createI18n({
messages: {
en,
fa,
ch
zhcn
},
})
export const languages = [
{ title: 'English', value: 'en' },
{ title: '简体中文', value: 'ch' },
{ title: 'فارسی', value: 'fa' },
{ title: '简体中文', value: 'zhcn' },
]
@@ -5,18 +5,18 @@ export default {
enable: "启用",
disable: "禁用",
loading: "加载中...",
confirm: "是否确定 ?",
confirm: "是否确定",
yes: "确认",
no: "取消",
unlimited: "无限",
remained: "剩下的",
remained: "剩",
type: "类型",
submit: "提交",
reset: "重置",
now: "当前",
network: "网络",
copyToClipboard: "复制到剪板",
noData: "无数据!",
copyToClipboard: "复制到剪板",
noData: "无数据",
invalidLogin: "登录无效!",
online: "在线",
pages: {
@@ -31,7 +31,7 @@ export default {
settings: "设置",
},
main: {
tiles: "信息卡",
tiles: "信息卡",
gauges: "仪表板",
charts: "图表",
infos: "信息",
@@ -61,7 +61,7 @@ export default {
inbound: "入站",
client: "客户端",
outbound: "出站",
rule: "路由",
rule: "规则",
user: "用户",
},
actions: {
@@ -73,7 +73,7 @@ export default {
update: "更新",
submit: "提交",
close: "关闭",
restartApp: "重启S-UI",
restartApp: "重启面板",
},
login: {
title: "登录",
@@ -96,10 +96,10 @@ export default {
sub: "订阅",
addr: "地址",
port: "端口",
webPath: "基本URI",
webPath: "基本 URI",
domain: "域名",
sslKey: "SSL 密钥(Key) 路径",
sslCert: "SSL 证书cert路径",
sslKey: "SSL 密钥 (Key) 路径",
sslCert: "SSL 证书 (cert) 路径",
webUri: "面板 URI",
sessionAge: "会话最大连接数",
timeLoc: "时区",
@@ -107,7 +107,7 @@ export default {
subInfo: "启用用户信息",
path: "默认路径",
update: "自动更新时间",
subUri: "订阅URL",
subUri: "订阅 URL",
},
client: {
name: "名称",
@@ -126,22 +126,22 @@ export default {
tls: "TLS",
clients: "启用客户端",
multiplex: "多路复用",
transport: "输",
transport: "输",
},
transport: {
enable: "启用传输",
host: "主持人",
hosts: "主办方",
path: "路",
host: "主",
hosts: "主机列表",
path: "路",
},
tls : {
enable: "启用 TLS",
usePath: "使用 Path",
useText: "使用 Text",
usePath: "使用外部路径",
useText: "使用文件内容",
certPath: "证书文件路径",
keyPath: "钥文件路径",
cert: "证书",
key: "钥匙",
keyPath: "钥文件路径",
cert: "证书文件内容",
key: "私钥文件内容",
},
stats: {
upload: "上传",