diff --git a/frontend/src/locales/index.ts b/frontend/src/locales/index.ts index 82f4d57..1ef80f1 100644 --- a/frontend/src/locales/index.ts +++ b/frontend/src/locales/index.ts @@ -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' }, ] diff --git a/frontend/src/locales/ch.ts b/frontend/src/locales/zhcn.ts similarity index 83% rename from frontend/src/locales/ch.ts rename to frontend/src/locales/zhcn.ts index a25b0ab..a4ec7d9 100644 --- a/frontend/src/locales/ch.ts +++ b/frontend/src/locales/zhcn.ts @@ -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: "上传",