增加国际化输出
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
switch_about: "A virtual network tool that will obtain an ip after startup. Devices under the same token will form a virtual local area network, and can use ip to communicate directly with each other."
|
||||
switch_usage: "switch-desktop.exe <COMMAND>"
|
||||
switch_start_about: "Start switch"
|
||||
switch_token_help: "Using the same token, you can build a local area network. It is recommended to use a more complex token to avoid connecting to other people's local area network"
|
||||
switch_name_help: "Give the device a name, the system version information will be used by default"
|
||||
switch_device_id_help: "The unique identifier of the device, the ip is assigned according to the id, and the MAC address is used by default"
|
||||
switch_server_help: "Registry and relay server address, public server is used by default"
|
||||
switch_nat_test_server_help: "NAT detection server addresses, separated by commas"
|
||||
switch_log_help: "Record the log, the output is in the '${home}/.switch_desktop' directory, it is not recommended to open it for long-term use"
|
||||
switch_tap_help: "Use tap mode, tun mode will be used by default"
|
||||
switch_in_ip_help: "Use when configuring point-to-network (IP proxy), --in-ip 192.168.10.0/24,10.26.0.3, which means it is allowed to receive data from the network segment 192.168.10.0/24 and forward it to 10.26.0.3"
|
||||
switch_out_ip_help: "Use when configuring point-to-network, --out-ip 192.168.10.0/24,192.168.1.10, which means that the data with the target of 192.168.10.0/24 is allowed to be forwarded from the network card 192.168.1.10"
|
||||
switch_config_help: "Read configuration file"
|
||||
switch_stop_about: "Stop background service"
|
||||
switch_route_about: "View route"
|
||||
switch_list_about: "View device list"
|
||||
switch_list_all_help: "View full information"
|
||||
switch_status_about: "View current device information"
|
||||
switch_install_about: "Install windows service"
|
||||
switch_path_help: "Service installation path, it is recommended to use an empty directory"
|
||||
switch_auto_help: "Service starts automatically at boot"
|
||||
switch_uninstall_about: "Uninstall windows service"
|
||||
switch_config_about: "Change Windows Service Configuration"
|
||||
|
||||
switch_use_admin_print: "Please run with administrator privileges"
|
||||
switch_use_root_print: "Please run with root privileges"
|
||||
switch_service_not_start_print: "service not started"
|
||||
switch_start_successfully_print: "Start successfully"
|
||||
switch_start_failed_print: "Startup failed"
|
||||
switch_service_not_stopped_print: "service not stopped"
|
||||
switch_stopped_print: "stopped"
|
||||
switch_server_already_installed_print: "service is installed"
|
||||
|
||||
|
||||
switch_repeated_start_print: "cannot be restarted repeatedly"
|
||||
|
||||
switch_token_not_found_print: "missing token"
|
||||
switch_token_cannot_be_empty_print: "token cannot be empty"
|
||||
switch_token_cannot_exceed_64_print: "token cannot exceed 64 characters"
|
||||
switch_device_id_is_empty_print: "The device id cannot be empty and the length cannot be greater than 64 characters"
|
||||
switch_in_ips_example_print: "in_ips Parameter error Example:--in_ip 192.168.10.0/24,10.26.0.3"
|
||||
switch_out_ips_example_print: "out_ips Parameter error Example:--out_ip 192.168.10.0/24,192.168.0.5"
|
||||
switch_relay_server_address_error: "Wrong relay server address"
|
||||
switch_nat_test_server_address_error: "NAT detection service address error"
|
||||
switch_press_any_key_to_exit: "Press any key to exit"
|
||||
|
||||
switch_virtual_ip: "virtual ip"
|
||||
switch_virtual_gateway: "virtual gateway"
|
||||
switch_please_enter_the_command: "Please enter the command (Usage: list,route,status,exit,help):"
|
||||
@@ -0,0 +1,49 @@
|
||||
switch_about: "一个虚拟网络工具,启动后会获取一个ip,相同token下的设备会组件虚拟局域网,之间可以用ip直接通信"
|
||||
switch_usage: "switch-desktop.exe <命令>"
|
||||
switch_start_about: "启动switch"
|
||||
switch_token_help: "使用相同的token,就能组建一个局域网络,建议使用一个复杂一点的token,避免连到其他人的局域网中"
|
||||
switch_name_help: "给设备一个名字,默认会使用系统版本信息"
|
||||
switch_device_id_help: "设备唯一标识符,凭id分配ip,默认使用MAC地址"
|
||||
switch_server_help: "注册和中继服务器地址,默认使用公共服务器"
|
||||
switch_nat_test_server_help: "NAT探测服务器地址,使用逗号分隔"
|
||||
switch_log_help: "记录日志,输出在 '${home}/.switch_desktop' 目录下,长时间使用时不建议开启"
|
||||
switch_tap_help: "使用tap模式,默认会使用tun模式"
|
||||
switch_in_ip_help: "配置点对网(IP代理)时使用,--in-ip 192.168.10.0/24,10.26.0.3,表示允许接收网段192.168.10.0/24的数据并转发到10.26.0.3"
|
||||
switch_out_ip_help: "配置点对网时使用,--out-ip 192.168.10.0/24,192.168.1.10,表示允许目标为192.168.10.0/24的数据从网卡192.168.1.10转发出去"
|
||||
switch_config_help: "读取配置文件"
|
||||
switch_stop_about: "停止后台服务"
|
||||
switch_route_about: "查看路由"
|
||||
switch_list_about: "查看设备列表"
|
||||
switch_list_all_help: "查看完整信息"
|
||||
switch_status_about: "查看当前设备信息"
|
||||
switch_install_about: "安装Windows服务"
|
||||
switch_path_help: "服务安装路径,建议使用一个空目录"
|
||||
switch_auto_help: "服务开机自启动"
|
||||
switch_uninstall_about: "卸载Windows服务"
|
||||
switch_config_about: "改变Windows服务配置"
|
||||
|
||||
switch_use_admin_print: "请使用管理员权限运行"
|
||||
switch_use_root_print: "请使用root权限运行"
|
||||
switch_service_not_start_print: "服务未启动"
|
||||
switch_start_successfully_print: "启动成功"
|
||||
switch_start_failed_print: "启动失败"
|
||||
switch_service_not_stopped_print: "服务未停止"
|
||||
switch_stopped_print: "已停止"
|
||||
switch_server_already_installed_print: "服务已经安装"
|
||||
|
||||
|
||||
switch_repeated_start_print: "不能重复启动"
|
||||
|
||||
switch_token_not_found_print: "缺少token"
|
||||
switch_token_cannot_be_empty_print: "token不能为空"
|
||||
switch_token_cannot_exceed_64_print: "token不能超过64个字符"
|
||||
switch_device_id_is_empty_print: "设备id不能为空并且长度不能大于64字符"
|
||||
switch_in_ips_example_print: "in_ips 参数错误 示例:--in_ip 192.168.10.0/24,10.26.0.3"
|
||||
switch_out_ips_example_print: "out_ips 参数错误 示例:--out_ip 192.168.10.0/24,192.168.0.5"
|
||||
switch_relay_server_address_error: "中继服务器地址错误"
|
||||
switch_nat_test_server_address_error: "NAT检测服务地址错误"
|
||||
switch_press_any_key_to_exit: "按任意键退出"
|
||||
|
||||
switch_virtual_ip: "当前虚拟ip(virtual ip)"
|
||||
switch_virtual_gateway: "虚拟网关(virtual gateway)"
|
||||
switch_please_enter_the_command: "输入命令 (例如: list,route,status,exit,help):"
|
||||
Reference in New Issue
Block a user