From fe628d6963a2effda08e140532bec07a48a15c72 Mon Sep 17 00:00:00 2001 From: Xingwang Liao Date: Sat, 7 Sep 2019 23:22:20 +0800 Subject: [PATCH] feat(luci): update translation --- po/templates/frpc.pot | 100 ++++++++++++++++++++++-------------------- po/zh-cn/frpc.po | 100 ++++++++++++++++++++++-------------------- root/etc/init.d/frpc | 1 + 3 files changed, 105 insertions(+), 96 deletions(-) diff --git a/po/templates/frpc.pot b/po/templates/frpc.pot index 91f1293..5476523 100644 --- a/po/templates/frpc.pot +++ b/po/templates/frpc.pot @@ -5,19 +5,19 @@ msgstr "Content-Type: text/plain; charset=UTF-8" msgid "-- default --" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:138 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:143 msgid "Admin addr" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:146 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:151 msgid "Admin password" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:141 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:146 msgid "Admin port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:144 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:149 msgid "Admin user" msgstr "" @@ -30,11 +30,11 @@ msgstr "" msgid "Alias" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:124 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:122 msgid "Bind addr" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:129 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:127 msgid "Bind port" msgstr "" @@ -58,29 +58,29 @@ msgstr "" msgid "Common Settings" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:113 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:118 msgid "Communication protocol used to connect to server, default is tcp" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:120 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:125 msgid "" "Connect frps by http proxy or socks5 proxy, format: [protocol]://[user]:" "[passwd]@[ip]:[port]" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:179 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:177 msgid "Connection timeout" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:98 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:103 msgid "Connections will be established in advance, default value is zero" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:144 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:142 msgid "Custom domains" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:127 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:132 msgid "DNS server" msgstr "" @@ -88,8 +88,12 @@ msgstr "" msgid "Debug" msgstr "" +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:97 +msgid "Disable log color" +msgstr "" + #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:22 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:170 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:168 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:25 msgid "Disabled" msgstr "" @@ -114,7 +118,7 @@ msgstr "" msgid "Error" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:197 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:195 msgid "Extra options" msgstr "" @@ -149,50 +153,50 @@ msgstr "" msgid "General Options" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:165 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:163 msgid "Group" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:165 msgid "Group key" msgstr "" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:70 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:137 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:135 msgid "HTTP password" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:119 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:124 msgid "HTTP proxy" msgstr "" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:66 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:134 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:132 msgid "HTTP user" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:169 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:176 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:179 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:185 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:191 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:174 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:177 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:183 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:189 msgid "Health check" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:130 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:135 msgid "Heartbeat interval" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:134 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:139 msgid "Heartbeat timeout" msgstr "" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:151 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:149 msgid "Host header rewrite" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:123 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:128 msgid "If true, Frpc will connect Frps by TLS" msgstr "" @@ -200,7 +204,7 @@ msgstr "" msgid "Info" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:191 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:189 msgid "Interval" msgstr "" @@ -212,7 +216,7 @@ msgstr "" msgid "Key path" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:198 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:196 msgid "List of extra options" msgstr "" @@ -237,7 +241,7 @@ msgstr "" msgid "Local port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:148 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:146 msgid "Locations" msgstr "" @@ -253,7 +257,7 @@ msgstr "" msgid "Log max days" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:106 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:111 msgid "Login fail exit" msgstr "" @@ -261,7 +265,7 @@ msgstr "" msgid "Manage Options" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:185 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:183 msgid "Max failed" msgstr "" @@ -302,11 +306,11 @@ msgstr "" msgid "Plugin" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:97 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:102 msgid "Pool count" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:112 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:117 msgid "Protocol" msgstr "" @@ -318,11 +322,11 @@ msgstr "" msgid "Proxy Rules" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:155 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:153 msgid "Proxy protocol version" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:103 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:108 msgid "Proxy user" msgstr "" @@ -330,11 +334,11 @@ msgstr "" msgid "Remote Port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:96 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:95 msgid "Remote port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:111 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:109 msgid "Role" msgstr "" @@ -350,7 +354,7 @@ msgstr "" msgid "Running" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:119 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:117 msgid "SK" msgstr "" @@ -370,7 +374,7 @@ msgstr "" msgid "Server addr" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:115 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:113 msgid "Server name" msgstr "" @@ -390,7 +394,7 @@ msgstr "" msgid "Strip prefix" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:140 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:138 msgid "Subdomain" msgstr "" @@ -402,7 +406,7 @@ msgstr "" msgid "TCP mux" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:122 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:127 msgid "TLS enable" msgstr "" @@ -419,12 +423,12 @@ msgid "True" msgstr "" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:34 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:169 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:32 msgid "Type" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:176 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:174 msgid "URL" msgstr "" @@ -432,11 +436,11 @@ msgstr "" msgid "Unix path" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:106 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:104 msgid "Use compression" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:101 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:99 msgid "Use encryption" msgstr "" @@ -452,6 +456,6 @@ msgstr "" msgid "Warn" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:104 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:109 msgid "Your proxy name will be changed to {user}.{proxy}" msgstr "" diff --git a/po/zh-cn/frpc.po b/po/zh-cn/frpc.po index b1f4819..9909948 100644 --- a/po/zh-cn/frpc.po +++ b/po/zh-cn/frpc.po @@ -5,19 +5,19 @@ msgstr "Content-Type: text/plain; charset=UTF-8\n" msgid "-- default --" msgstr "-- 默认 --" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:138 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:143 msgid "Admin addr" msgstr "管理地址" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:146 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:151 msgid "Admin password" msgstr "管理密码" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:141 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:146 msgid "Admin port" msgstr "管理端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:144 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:149 msgid "Admin user" msgstr "管理用户" @@ -30,11 +30,11 @@ msgstr "高级选项" msgid "Alias" msgstr "别名" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:124 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:122 msgid "Bind addr" msgstr "绑定地址" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:129 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:127 msgid "Bind port" msgstr "绑定端口" @@ -58,11 +58,11 @@ msgstr "正在收集数据..." msgid "Common Settings" msgstr "通用设置" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:113 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:118 msgid "Communication protocol used to connect to server, default is tcp" msgstr "和服务端通信所使用的协议,默认:tcp" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:120 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:125 msgid "" "Connect frps by http proxy or socks5 proxy, format: [protocol]://[user]:" "[passwd]@[ip]:[port]" @@ -70,19 +70,19 @@ msgstr "" "通过 http 或 socks5 代理连接 frps,格式:[protocol]://[user]:[passwd]@[ip]:" "[port]" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:179 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:177 msgid "Connection timeout" msgstr "连接超时" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:98 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:103 msgid "Connections will be established in advance, default value is zero" msgstr "提前建立多少个连接,默认值:0" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:144 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:142 msgid "Custom domains" msgstr "自定义域名" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:127 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:132 msgid "DNS server" msgstr "DNS 服务器" @@ -90,8 +90,12 @@ msgstr "DNS 服务器" msgid "Debug" msgstr "调试" +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:97 +msgid "Disable log color" +msgstr "禁用日志颜色"" + #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:22 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:170 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:168 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:25 msgid "Disabled" msgstr "已禁用" @@ -116,7 +120,7 @@ msgstr "已启用" msgid "Error" msgstr "错误" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:197 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:195 msgid "Extra options" msgstr "额外选项" @@ -151,50 +155,50 @@ msgstr "Frps 服务器" msgid "General Options" msgstr "常规选项" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:165 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:163 msgid "Group" msgstr "组" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:165 msgid "Group key" msgstr "组密钥" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:70 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:137 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:135 msgid "HTTP password" msgstr "HTTP 密码" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:119 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:124 msgid "HTTP proxy" msgstr "HTTP 代理" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:66 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:134 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:132 msgid "HTTP user" msgstr "HTTP 用户" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:169 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:176 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:179 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:185 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:191 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:174 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:177 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:183 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:189 msgid "Health check" msgstr "可用性检查" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:130 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:135 msgid "Heartbeat interval" msgstr "心跳间隔" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:134 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:139 msgid "Heartbeat timeout" msgstr "心跳超时" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:151 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:149 msgid "Host header rewrite" msgstr "主机头重写" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:123 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:128 msgid "If true, Frpc will connect Frps by TLS" msgstr "设置为 true 时,Frpc 会通过 TLS 连接 Frps" @@ -202,7 +206,7 @@ msgstr "设置为 true 时,Frpc 会通过 TLS 连接 Frps" msgid "Info" msgstr "信息" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:191 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:189 msgid "Interval" msgstr "间隔时间" @@ -214,7 +218,7 @@ msgstr "客户端文件无效" msgid "Key path" msgstr "私钥路径" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:198 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:196 msgid "List of extra options" msgstr "额外选项列表" @@ -239,7 +243,7 @@ msgstr "本地路径" msgid "Local port" msgstr "本地端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:148 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:146 msgid "Locations" msgstr "地址" @@ -255,7 +259,7 @@ msgstr "日志等级" msgid "Log max days" msgstr "日志保存天数" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:106 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:111 msgid "Login fail exit" msgstr "登录失败时退出" @@ -263,7 +267,7 @@ msgstr "登录失败时退出" msgid "Manage Options" msgstr "管理选项" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:185 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:183 msgid "Max failed" msgstr "最大失败次数" @@ -304,11 +308,11 @@ msgstr "密码" msgid "Plugin" msgstr "插件" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:97 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:102 msgid "Pool count" msgstr "连接池数目" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:112 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:117 msgid "Protocol" msgstr "协议" @@ -320,11 +324,11 @@ msgstr "代理名称" msgid "Proxy Rules" msgstr "代理规则" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:155 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:153 msgid "Proxy protocol version" msgstr "代理协议版本" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:103 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:108 msgid "Proxy user" msgstr "代理用户" @@ -332,11 +336,11 @@ msgstr "代理用户" msgid "Remote Port" msgstr "远程端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:96 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:95 msgid "Remote port" msgstr "远程端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:111 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:109 msgid "Role" msgstr "角色" @@ -352,7 +356,7 @@ msgstr "以用户身份运行" msgid "Running" msgstr "服务正在运行" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:119 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:117 msgid "SK" msgstr "SK" @@ -372,7 +376,7 @@ msgstr "服务端端口" msgid "Server addr" msgstr "服务端地址" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:115 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:113 msgid "Server name" msgstr "服务端名称" @@ -392,7 +396,7 @@ msgstr "设置" msgid "Strip prefix" msgstr "去除前缀" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:140 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:138 msgid "Subdomain" msgstr "子域名" @@ -404,7 +408,7 @@ msgstr "TCP Mux" msgid "TCP mux" msgstr "TCP mux" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:122 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:127 msgid "TLS enable" msgstr "启用 TLS" @@ -421,12 +425,12 @@ msgid "True" msgstr "是" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:34 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:169 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:32 msgid "Type" msgstr "类型" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:176 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:174 msgid "URL" msgstr "URL" @@ -434,11 +438,11 @@ msgstr "URL" msgid "Unix path" msgstr "Unix 路径" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:106 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:104 msgid "Use compression" msgstr "使用压缩" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:101 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:99 msgid "Use encryption" msgstr "使用加密" @@ -454,6 +458,6 @@ msgstr "版本:%s" msgid "Warn" msgstr "警告" -#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:104 +#: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:109 msgid "Your proxy name will be changed to {user}.{proxy}" msgstr "设置后代理名称将变为 {user}.{proxy}" diff --git a/root/etc/init.d/frpc b/root/etc/init.d/frpc index 005ab28..b3cc44f 100755 --- a/root/etc/init.d/frpc +++ b/root/etc/init.d/frpc @@ -61,6 +61,7 @@ frpc_scetion_validate() { 'log_file:file:/var/log/frpc.log' \ 'log_level:or("trace", "debug", "info", "warn", "error"):warn' \ 'log_max_days:uinteger:3' \ + 'disable_log_color:or("true", "false")' \ 'pool_count:uinteger:0' \ 'user:string' \ 'login_fail_exit:or("true", "false"):true' \