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