Skip to content

Commit

Permalink
Merge pull request #217 from chenxudong2020/main
Browse files Browse the repository at this point in the history
Add Chinese language support
  • Loading branch information
dec0dOS authored Oct 24, 2024
2 parents 94581a8 + c510ed3 commit 6c2654e
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
68 changes: 68 additions & 0 deletions frontend/public/locales/zh_CN/common.json
Original file line number Diff line number Diff line change
@@ -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": "中文"
}
4 changes: 4 additions & 0 deletions frontend/src/generated/localesList.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@
{
"code": "ru-RU",
"name": "Русский"
},
{
"code": "zh_CN",
"name": "中文"
}
]

0 comments on commit 6c2654e

Please sign in to comment.