diff --git a/frontend/public/locales/zh_CN/common.json b/frontend/public/locales/zh_CN/common.json new file mode 100644 index 0000000..8a08767 --- /dev/null +++ b/frontend/public/locales/zh_CN/common.json @@ -0,0 +1,68 @@ +{ + "flowRules": "流量规则", + "createNetwork": "创建网络", + "createOneNetwork": "请至少创建一个网络", + "controllerNetworks": "控制器网络", + "network_one": "网络", + "network_other": "网络们", + "controllerAddress": "网络控制器地址", + "loginToContinue": "请登录以继续", + "zerouiDesc": "ZeroUI - ZeroTier 控制器Web界面 - 是一个用于自托管ZeroTier网络控制器的Web用户界面。", + "logIn": "登录", + "logInToken": "令牌登录", + "cancel": "取消", + "management": "管理", + "deleteNetwork": "删除网络", + "deleteAlert": "此操作无法撤销。", + "deleteNetworkConfirm": "您确定要删除此网络吗?", + "deleteMemberConfirm": "您确定要删除此成员吗?", + "delete": "删除", + "logOut": "登出", + "advancedFeature": "高级功能", + "noDevices": "没有设备加入此网络。请使用您的设备上的应用程序加入。", + "member_one": "成员", + "member_other": "成员们", + "addMemberManually": "手动添加成员", + "name": "名称", + "description": "描述", + "allowBridging": "允许以太网桥接", + "noAutoIP": "不自动分配IP", + "capabilities": "能力", + "noCapDef": "未定义能力", + "tags": "标签", + "noTagDef": "未定义标签", + "authorized": "已授权", + "address": "地址", + "managedIPs": "管理的IP地址", + "lastSeen": "最后看到的时间", + "version": "版本", + "physIp": "物理IP", + "latency": "延迟", + "settings": "设置", + "generalSettings": "常规设置", + "networkId": "网络ID", + "accessControl": "访问控制", + "public": "公共", + "private": "私有", + "managedRoutes": "管理的路由", + "addRoute": "添加路由", + "target": "目标", + "via": "通过", + "start": "开始", + "end": "结束", + "ipv4AutoAssign": "IPv4 自动分配", + "autoAssignPool": "IPv4 自动分配池", + "addIPv4Pool": "添加IPv4池", + "multicastLimit": "多播接收者限制", + "enableBroadcast": "启用广播", + "logInFailed": "无效的用户名或密码", + "tooManyAttempts": "尝试登录次数过多,请15分钟后重试。", + "language": "语言", + "notAuthorized": "您没有权限。请登录。", + "saveChanges": "保存更改", + "optional": "可选", + "destination": "目的地", + "username": "用户名", + "password": "密码", + "languageName": "中文" +} \ No newline at end of file diff --git a/frontend/src/generated/localesList.json b/frontend/src/generated/localesList.json index 13f9b70..02c1eb8 100644 --- a/frontend/src/generated/localesList.json +++ b/frontend/src/generated/localesList.json @@ -10,5 +10,9 @@ { "code": "ru-RU", "name": "Русский" + }, + { + "code": "zh_CN", + "name": "中文" } ]