sed -i "s|This network controller has a ZeroTier address of|该控制器的ZeroTier地址为|g" ztncui/src/views/index.pug
sed -i "s|ZeroTier version|ZeroTier版本为|g" ztncui/src/views/index.pug
sed -i "s|List all networks on this network controller|列出该网络控制器上的所有网络|g" ztncui/src/views/index.pug
sed -i "s|th IP range start|th IP开始范围|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|th IP range end|th IP结束范围|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|Add new IP Assignment Pool:|添加新的IP分配池:|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|IP range start:|IP开始范围:|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|'IP range start'|'IP开始范围'|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|IP range end:|IP结束范围:|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|'IP range end'|'IP结束范围'|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|) Submit|) 提交|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|) Cancel|) 取消|g" ztncui/src/views/ipAssignmentPools.pug
sed -i "s|Note errors listed below|注意下面列出的错误|g" ztncui/src/views/ipAssignments.pug
sed -i "s|Member name:|成员名称:|g" ztncui/src/views/ipAssignments.pug
sed -i "s|ZeroTier address:|ZeroTier地址:|g" ztncui/src/views/ipAssignments.pug
sed -i "s|th IP address|th IP地址|g" ztncui/src/views/ipAssignments.pug
sed -i "s|Managed routes|管理路由|g" ztncui/src/views/ipAssignments.pug
sed -i "s|th Target|th 目标|g" ztncui/src/views/ipAssignments.pug
sed -i "s|th Gateway|th 网关|g" ztncui/src/views/ipAssignments.pug
sed -i "s|Username:|用户名:|g" ztncui/src/views/login.pug
sed -i "s|'Enter your username'|'输入你的用户名'|g" ztncui/src/views/login.pug
sed -i "s|Password:|密码:|g" ztncui/src/views/login.pug
sed -i "s|'Enter your password'|'输入你的密码'|g" ztncui/src/views/login.pug
sed -i "s|) Login|) 登录|g" ztncui/src/views/login.pug
sed -i "s|) Cancel|) 取消|g" ztncui/src/views/login.pug
sed -i "s|Login|登录|g" ztncui/src/views/login_layout.pug
sed -i "s|was deleted|已被删除|g" ztncui/src/views/member_delete.pug
sed -i "s|) Members|) 成员|g" ztncui/src/views/member_delete.pug
sed -i "s|To undo a member deletion, just get the member to join the network again.|想要撤销删除成员,仅需要将该成员再一次加入网络.|g" ztncui/src/views/member_delete.pug
sed -i "s|After deleting a member, you may see them appear in the list of members again. This is a ZeroTier issue. Just get the user to leave the network.|删除成员后,你可能会再次看到它们出现在成员列表中。这是ZeroTier的问题。只需让用户离开网络即可。|g" ztncui/src/views/member_delete.pug
sed -i "s|) Delete|) 删除|g" ztncui/src/views/member_delete.pug
sed -i "s|) Cancel|) 取消|g" ztncui/src/views/member_delete.pug
sed -i "s|for member|成员|g" ztncui/src/views/member_detail.pug
sed -i "s|in network|在网络中|g" ztncui/src/views/member_detail.pug
sed -i "s|Members|成员|g" ztncui/src/views/member_detail.pug
sed -i "s|Network name:|网络名称:|g" ztncui/src/views/network_create.pug
sed -i "s|'Enter new network name'|'输入新的网络名称'|g" ztncui/src/views/network_create.pug
sed -i "s|Create Network|创建网络|g" ztncui/src/views/network_create.pug
sed -i "s|was deleted|已被删除|g" ztncui/src/views/network_delete.pug
sed -i "s|Warning\! Deleting a network cannot be undone|警告\! 删除网络操作无法撤销|g" ztncui/src/views/network_delete.pug
sed -i "s|) Delete|) 删除|g" ztncui/src/views/network_delete.pug
sed -i "s|) Cancel|) 取消|g" ztncui/src/views/network_delete.pug
sed -i "s| Network | 网络 |g" ztncui/src/views/network_detail.pug
sed -i "s|"Private" : "Public"|"私有" : "公共"|g" ztncui/src/views/network_detail.pug
sed -i "s|Easy setup|简易设置|g" ztncui/src/views/network_detail.pug
sed -i "s|) Routes|) 路由|g" ztncui/src/views/network_detail.pug
sed -i "s|Assignment Pools|IP分配池|g" ztncui/src/views/network_detail.pug
sed -i "s|IPv4 Assign Mode|IPv4分配模式|g" ztncui/src/views/network_detail.pug
sed -i "s|IPv6 Assign Mode|IPv6分配模式|g" ztncui/src/views/network_detail.pug
sed -i "s|Members (|成员 (|g" ztncui/src/views/network_detail.pug
sed -i "s|Member name|成员名称|g" ztncui/src/views/network_detail.pug
sed -i "s|Member ID|成员ID|g" ztncui/src/views/network_detail.pug
sed -i "s|Authorized|已授权|g" ztncui/src/views/network_detail.pug
sed -i "s|Active bridge|主动桥接|g" ztncui/src/views/network_detail.pug
sed -i "s|IP assignment|IP分配|g" ztncui/src/views/network_detail.pug
sed -i "s|Peer status|节点状态|g" ztncui/src/views/network_detail.pug
sed -i "s|Peer address / latency|节点地址/延迟|g" ztncui/src/views/network_detail.pug
sed -i "s|ONLINE|在线|g" ztncui/src/views/network_detail.pug
sed -i "s|RELAY|转发|g" ztncui/src/views/network_detail.pug
sed -i "s|CONTROLLER|控制器|g" ztncui/src/views/network_detail.pug
sed -i "s|OFFLINE|离线|g" ztncui/src/views/network_detail.pug
sed -i "s|There are no members on this network - invite users to join|这个网络上没有成员 - 邀请用户加入|g" ztncui/src/views/network_detail.pug
sed -i "s|Refresh|刷新|g" ztncui/src/views/network_detail.pug
sed -i "s|Detail for network|网络详细信息|g" ztncui/src/views/network_detail.pug
sed -i "s|) Networks|) 网络|g" ztncui/src/views/network_detail.pug
sed -i "s|'Invalid network CIDR';|'网络 CIDR 不可用';|g" ztncui/src/views/network_easy.pug
sed -i "s|Help|帮助|g" ztncui/src/views/network_easy.pug
sed -i "s|Please note that this utility only supports IPv4 at this stage.|请注意,此应用程序在此阶段仅支持IPv。|g" ztncui/src/views/network_easy.pug
sed -i "s|Use the following button to automatically generate a random network address, otherwise fill in the network address CIDR manually and the IP assignment pool will be automatically calculated for you. You can manually alter these calculated values.|使用以下按钮可自动生成随机网络地址,否则请手动填写网络地址 CIDR,IP 分配池将为您自动计算。 您可以手动更改这些计算值。|g" ztncui/src/views/network_easy.pug
sed -i "s|Generate network address|生成网络地址|g" ztncui/src/views/network_easy.pug
sed -i "s|Network address in CIDR notation|以 CIDR 表示的网络地址|g" ztncui/src/views/network_easy.pug
sed -i "s|'e.g. 10.11.12.0/24'|'示例 10.11.12.0/24'|g" ztncui/src/views/network_easy.pug
sed -i "s|Start of IP assignment pool|IP分配池起始于|g" ztncui/src/views/network_easy.pug
sed -i "s|'e.g. 10.11.12.1'|'示例 10.11.12.1'|g" ztncui/src/views/network_easy.pug
sed -i "s|End of IP assignment pool|IP分配池于|g" ztncui/src/views/network_easy.pug
sed -i "s|'e.g. 10.11.12.254'|'示例 10.11.12.254'|g" ztncui/src/views/network_easy.pug
sed -i "s|Submit|提交|g" ztncui/src/views/network_easy.pug
sed -i "s|Cancel|取消|g" ztncui/src/views/network_easy.pug
sed -i "s| Network | 网络 |g" ztncui/src/views/network_layout.pug
sed -i "s|Back|返回|g" ztncui/src/views/network_layout.pug
sed -i "s|Network name|网络名称|g" ztncui/src/views/networks.pug
sed -i "s|Network ID|网络ID|g" ztncui/src/views/networks.pug
sed -i "s|) detail|) 详细信息|g" ztncui/src/views/networks.pug
sed -i "s|easy setup|简易设置|g" ztncui/src/views/networks.pug
sed -i "s|) members|) 成员|g" ztncui/src/views/networks.pug
sed -i "s|There are no networks on this network controller - click \"Add network\" above to create a new network.|该网络控制器上没有网络 - 点击上面的\"添加网络\"创建新网络。|g" ztncui/src/views/networks.pug
sed -i "s|for member|成员|g" ztncui/src/views/not_implemented.pug
sed -i "s|Editing of|编辑|g" ztncui/src/views/not_implemented.pug
sed -i "s|has not been implemented.|尚未完成。|g" ztncui/src/views/not_implemented.pug
sed -i "s|Note that you may be able to edit some properties on the |请注意,你还可以编辑 |g" ztncui/src/views/not_implemented.pug
sed -i "s|Members|其他|g" ztncui/src/views/not_implemented.pug
sed -i "s|page.|页。|g" ztncui/src/views/not_implemented.pug
sed -i "s|Username:|用户名:|g" ztncui/src/views/password.pug
sed -i "s|'Enter username'|'输入用户名'|g" ztncui/src/views/password.pug
sed -i "s|Enter new password:|输入新密码:|g" ztncui/src/views/password.pug
sed -i "s|'Enter new password'|'输入新密码'|g" ztncui/src/views/password.pug
sed -i "s|Re-enter password:|再次输入密码:|g" ztncui/src/views/password.pug
sed -i "s|'Re-enter password'|'再次输入密码'|g" ztncui/src/views/password.pug
sed -i "s|Change password on next login:|下次登录后更改密码:|g" ztncui/src/views/password.pug
sed -i "s|Set password|设置密码|g" ztncui/src/views/password.pug
sed -i "s|Cancel|取消|g" ztncui/src/views/password.pug
sed -i "s|Enable access control. Warning: if you disable this, you will not be able to de-authorize members of the network. Disable this only if you know what you are doing.|启用访问控制。警告:如果禁用此功能,将无法取消对网络成员的授权。只有在知道自己在做什么的情况下才能禁用。|g" ztncui/src/views/private.pug
sed -i "s|th Target|th 目标|g" ztncui/src/views/routes.pug
sed -i "s|th Gateway|th 网关|g" ztncui/src/views/routes.pug
sed -i "s|Add new route:|添加新路由|g" ztncui/src/views/routes.pug
sed -i "s|Target:|目标:|g" ztncui/src/views/routes.pug
sed -i "s|'e.g. 10.11.12.0/24'|'示例 10.11.12.0/24'|g" ztncui/src/views/routes.pug
sed -i "s|Gateway:|网关:|g" ztncui/src/views/routes.pug
sed -i "s|'e.g. 172.16.2.1 or leave blank if the target is the ZT network'|'示例 172.16.2.1 如果目标是ZeroTier网络,则留空'|g" ztncui/src/views/routes.pug
sed -i "s|Submit|提交|g" ztncui/src/views/routes.pug
sed -i "s|Cancel|取消|g" ztncui/src/views/routes.pug
sed -i "s|No such user|没有该用户|g" ztncui/src/views/user_delete.pug
sed -i "s|You may not delete yourself|你不能删除自己|g" ztncui/src/views/user_delete.pug
sed -i "s|was deleted|已被删除|g" ztncui/src/views/user_delete.pug
sed -i "s|Warning\! Deleting a user cannot be undone|警告\!删除用户操作无法撤销|g" ztncui/src/views/user_delete.pug
sed -i "s|Delete|删除|g" ztncui/src/views/user_delete.pug
sed -i "s|Cancel|取消|g" ztncui/src/views/user_delete.pug
sed -i "s|set password|设置密码|g" ztncui/src/views/users.pug
sed -i "s|There are no users on this system|该系统没有用户|g" ztncui/src/views/users.pug
sed -i "s|'Home',|'主页',|g" ztncui/src/views/users_layout.pug
sed -i "s|'Users',|'用户',|g" ztncui/src/views/users_layout.pug
sed -i "s|'Networks',|'网络',|g" ztncui/src/views/users_layout.pug
sed -i "s|'Create user',|'创建用户',|g" ztncui/src/views/users_layout.pug
sed -i "s|Auto-assign from IP Assignment Pool|从IP分配池自动分配|g" ztncui/src/views/v4AssignMode.pug
sed -i "s|ZT 6plane (/80 routable for each device)|ZeroTier 6PLANE(每个设备 /80 可路由)|g" ztncui/src/views/v6AssignMode.pug
sed -i "s|ZT rfc4193 (/128 for each device)|ZeroTier RFC4193(每个设备 /128)|g" ztncui/src/views/v6AssignMode.pug
sed -i "s|Auto-assign from IP Assignment Pool|从IP分配池自动分配|g" ztncui/src/views/v6AssignMode.pug