diff --git a/luasrc/model/cbi/frpc/rule-detail.lua b/luasrc/model/cbi/frpc/rule-detail.lua index a700ee8..e1ad984 100644 --- a/luasrc/model/cbi/frpc/rule-detail.lua +++ b/luasrc/model/cbi/frpc/rule-detail.lua @@ -47,42 +47,42 @@ o:value("socks5") o:value("static_file") o:value("https2http") -o = s:option(Value, "plugin_unix_path", "% - %" % { translate("Plugin"), translate("Unix path") }) +o = s:option(Value, "plugin_unix_path", "%s - %s" % { translate("Plugin"), translate("Unix path") }) o.datatype = "file" o:depends("plugin", "unix_domain_socket") -o = s:option(Value, "plugin_user", "% - %" % { translate("Plugin"), translate("User") }) +o = s:option(Value, "plugin_user", "%s - %s" % { translate("Plugin"), translate("User") }) o:depends("plugin", "socks5") -o = s:option(Value, "plugin_passwd", "% - %" % { translate("Plugin"), translate("Password") }) +o = s:option(Value, "plugin_passwd", "%s - %s" % { translate("Plugin"), translate("Password") }) o:depends("plugin", "socks5") -o = s:option(Value, "plugin_local_path", "% - %" % { translate("Plugin"), translate("Local path") }) +o = s:option(Value, "plugin_local_path", "%s - %s" % { translate("Plugin"), translate("Local path") }) o:depends("plugin", "static_file") -o = s:option(Value, "plugin_strip_prefix", "% - %" % { translate("Plugin"), translate("Strip prefix") }) +o = s:option(Value, "plugin_strip_prefix", "%s - %s" % { translate("Plugin"), translate("Strip prefix") }) o:depends("plugin", "static_file") -o = s:option(Value, "plugin_http_user", "% - %" % { translate("Plugin"), translate("HTTP user") }) +o = s:option(Value, "plugin_http_user", "%s - %s" % { translate("Plugin"), translate("HTTP user") }) o:depends("plugin", "http_proxy") o:depends("plugin", "static_file") -o = s:option(Value, "plugin_http_passwd", "% - %" % { translate("Plugin"), translate("HTTP password") }) +o = s:option(Value, "plugin_http_passwd", "%s - %s" % { translate("Plugin"), translate("HTTP password") }) o:depends("plugin", "http_proxy") o:depends("plugin", "static_file") -o = s:option(Value, "plugin_local_addr", "% - %" % { translate("Plugin"), translate("Local addr") }) +o = s:option(Value, "plugin_local_addr", "%s - %s" % { translate("Plugin"), translate("Local addr") }) o:depends("plugin", "https2http") -o = s:option(Value, "plugin_crt_path", "% - %" % { translate("Plugin"), translate("Certificate path") }) +o = s:option(Value, "plugin_crt_path", "%s - %s" % { translate("Plugin"), translate("Certificate path") }) o.datatype = "file" o:depends("plugin", "https2http") -o = s:option(Value, "plugin_key_path", "% - %" % { translate("Plugin"), translate("Key path") }) +o = s:option(Value, "plugin_key_path", "%s - %s" % { translate("Plugin"), translate("Key path") }) o.datatype = "file" o:depends("plugin", "https2http") -o = s:option(Value, "plugin_host_header_rewrite", "% - %" % { translate("Plugin"), translate("Host header rewrite") }) +o = s:option(Value, "plugin_host_header_rewrite", "%s - %s" % { translate("Plugin"), translate("Host header rewrite") }) o:depends("plugin", "https2http") o = s:option(Value, "local_ip", translate("Local IP")) @@ -166,29 +166,29 @@ o = s:option(Value, "group", translate("Group")) o = s:option(Value, "group_key", translate("Group key")) -o = s:option(ListValue, "health_check_type", translate("Health check type")) +o = s:option(ListValue, "health_check_type", "%s - %s" % { translate("Health check"), translate("Type") }) o:value("", translate("Disabled")) o:value("tcp", "TCP") o:value("http", "HTTP") o:depends("type", "tcp") o:depends("type", "http") -o = s:option(ListValue, "health_check_url", translate("Health check url")) +o = s:option(ListValue, "health_check_url", "%s - %s" % { translate("Health check"), translate("URL") }) o:depends("health_check_type", "http") -o = s:option(Value, "health_check_timeout_s", translate("Health check connection timeout")) +o = s:option(Value, "health_check_timeout_s", "%s - %s" % { translate("Health check"), translate("Connection timeout") }) o.datatype = "uinteger" o.placeholder = "3" o:depends("health_check_type", "tcp") o:depends("health_check_type", "http") -o = s:option(Value, "health_check_max_failed", translate("Health check max failed")) +o = s:option(Value, "health_check_max_failed", "%s - %s" % { translate("Health check"), translate("Max failed") }) o.datatype = "uinteger" o.placeholder = "3" o:depends("health_check_type", "tcp") o:depends("health_check_type", "http") -o = s:option(Value, "health_check_interval_s", translate("Health check interval")) +o = s:option(Value, "health_check_interval_s", "%s - %s" % { translate("Health check"), translate("Interval") }) o.datatype = "uinteger" o.placeholder = "10" o:depends("health_check_type", "tcp") diff --git a/po/templates/frpc.pot b/po/templates/frpc.pot index ab46831..91f1293 100644 --- a/po/templates/frpc.pot +++ b/po/templates/frpc.pot @@ -30,11 +30,11 @@ msgstr "" msgid "Alias" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:121 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:124 msgid "Bind addr" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:126 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:129 msgid "Bind port" msgstr "" @@ -42,7 +42,7 @@ msgstr "" msgid "Can't get client version" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:76 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:77 msgid "Certificate path" msgstr "" @@ -68,11 +68,15 @@ msgid "" "[passwd]@[ip]:[port]" msgstr "" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:179 +msgid "Connection timeout" +msgstr "" + #: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:98 msgid "Connections will be established in advance, default value is zero" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:141 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:144 msgid "Custom domains" msgstr "" @@ -85,7 +89,7 @@ msgid "Debug" msgstr "" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:22 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:170 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:25 msgid "Disabled" msgstr "" @@ -110,7 +114,7 @@ msgstr "" msgid "Error" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:194 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:197 msgid "Extra options" msgstr "" @@ -145,16 +149,16 @@ msgstr "" msgid "General Options" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:162 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:165 msgid "Group" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:164 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 msgid "Group key" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:69 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:134 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:70 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:137 msgid "HTTP password" msgstr "" @@ -162,29 +166,17 @@ msgstr "" msgid "HTTP proxy" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:65 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:131 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:66 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:134 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 -msgid "Health check connection timeout" -msgstr "" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:188 -msgid "Health check interval" -msgstr "" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:182 -msgid "Health check max failed" -msgstr "" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:166 -msgid "Health check type" -msgstr "" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:173 -msgid "Health check url" +#: 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 +msgid "Health check" msgstr "" #: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:130 @@ -195,8 +187,8 @@ msgstr "" msgid "Heartbeat timeout" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:82 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:148 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:151 msgid "Host header rewrite" msgstr "" @@ -208,19 +200,23 @@ msgstr "" msgid "Info" msgstr "" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:191 +msgid "Interval" +msgstr "" + #: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:28 msgid "Invalid client file" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:79 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:81 msgid "Key path" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:195 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:198 msgid "List of extra options" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:88 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:38 msgid "Local IP" msgstr "" @@ -229,19 +225,19 @@ msgstr "" msgid "Local Port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:73 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:74 msgid "Local addr" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:59 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:60 msgid "Local path" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:89 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:92 msgid "Local port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:145 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:148 msgid "Locations" msgstr "" @@ -265,6 +261,10 @@ msgstr "" msgid "Manage Options" msgstr "" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:185 +msgid "Max failed" +msgstr "" + #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:27 msgid "Name" msgstr "" @@ -283,22 +283,22 @@ msgstr "" msgid "Not set" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:56 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:57 msgid "Password" msgstr "" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:42 #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:50 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:53 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:56 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:59 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:62 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:65 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:69 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:73 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:76 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:79 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:82 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:54 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:57 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:60 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:63 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:66 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:70 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:74 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:77 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:81 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 msgid "Plugin" msgstr "" @@ -318,7 +318,7 @@ msgstr "" msgid "Proxy Rules" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:152 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:155 msgid "Proxy protocol version" msgstr "" @@ -330,11 +330,11 @@ msgstr "" msgid "Remote Port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:93 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:96 msgid "Remote port" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:108 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:111 msgid "Role" msgstr "" @@ -350,7 +350,7 @@ msgstr "" msgid "Running" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:116 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:119 msgid "SK" msgstr "" @@ -370,7 +370,7 @@ msgstr "" msgid "Server addr" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:112 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:115 msgid "Server name" msgstr "" @@ -386,11 +386,11 @@ msgstr "" msgid "Settings" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:62 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:63 msgid "Strip prefix" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:137 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:140 msgid "Subdomain" msgstr "" @@ -419,23 +419,28 @@ 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/rules.lua:32 msgid "Type" msgstr "" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:176 +msgid "URL" +msgstr "" + #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:50 msgid "Unix path" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:103 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:106 msgid "Use compression" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:98 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:101 msgid "Use encryption" msgstr "" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:53 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:54 msgid "User" msgstr "" diff --git a/po/zh-cn/frpc.po b/po/zh-cn/frpc.po index 7c84f01..b1f4819 100644 --- a/po/zh-cn/frpc.po +++ b/po/zh-cn/frpc.po @@ -30,11 +30,11 @@ msgstr "高级选项" msgid "Alias" msgstr "别名" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:121 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:124 msgid "Bind addr" msgstr "绑定地址" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:126 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:129 msgid "Bind port" msgstr "绑定端口" @@ -42,7 +42,7 @@ msgstr "绑定端口" msgid "Can't get client version" msgstr "无法获取客户端版本" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:76 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:77 msgid "Certificate path" msgstr "证书路径" @@ -70,11 +70,15 @@ msgstr "" "通过 http 或 socks5 代理连接 frps,格式:[protocol]://[user]:[passwd]@[ip]:" "[port]" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:179 +msgid "Connection timeout" +msgstr "连接超时" + #: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:98 msgid "Connections will be established in advance, default value is zero" msgstr "提前建立多少个连接,默认值:0" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:141 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:144 msgid "Custom domains" msgstr "自定义域名" @@ -87,7 +91,7 @@ msgid "Debug" msgstr "调试" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:22 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:170 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:25 msgid "Disabled" msgstr "已禁用" @@ -112,7 +116,7 @@ msgstr "已启用" msgid "Error" msgstr "错误" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:194 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:197 msgid "Extra options" msgstr "额外选项" @@ -147,16 +151,16 @@ msgstr "Frps 服务器" msgid "General Options" msgstr "常规选项" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:162 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:165 msgid "Group" msgstr "组" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:164 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:167 msgid "Group key" msgstr "组密钥" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:69 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:134 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:70 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:137 msgid "HTTP password" msgstr "HTTP 密码" @@ -164,30 +168,18 @@ msgstr "HTTP 密码" msgid "HTTP proxy" msgstr "HTTP 代理" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:65 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:131 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:66 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:134 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 -msgid "Health check connection timeout" -msgstr "可用性检查连接超时" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:188 -msgid "Health check interval" -msgstr "可用性检查间隔" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:182 -msgid "Health check max failed" -msgstr "可用性检查最大失败次数" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:166 -msgid "Health check type" -msgstr "可用性检查类型" - -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:173 -msgid "Health check url" -msgstr "可用性检查连接" +#: 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 +msgid "Health check" +msgstr "可用性检查" #: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:130 msgid "Heartbeat interval" @@ -197,8 +189,8 @@ msgstr "心跳间隔" msgid "Heartbeat timeout" msgstr "心跳超时" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:82 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:148 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:151 msgid "Host header rewrite" msgstr "主机头重写" @@ -210,19 +202,23 @@ msgstr "设置为 true 时,Frpc 会通过 TLS 连接 Frps" msgid "Info" msgstr "信息" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:191 +msgid "Interval" +msgstr "间隔时间" + #: luci-app-frpc/luasrc/model/cbi/frpc/common.lua:28 msgid "Invalid client file" msgstr "客户端文件无效" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:79 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:81 msgid "Key path" msgstr "私钥路径" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:195 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:198 msgid "List of extra options" msgstr "额外选项列表" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:88 #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:38 msgid "Local IP" msgstr "本地 IP" @@ -231,19 +227,19 @@ msgstr "本地 IP" msgid "Local Port" msgstr "本地端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:73 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:74 msgid "Local addr" msgstr "本地地址" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:59 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:60 msgid "Local path" msgstr "本地路径" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:89 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:92 msgid "Local port" msgstr "本地端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:145 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:148 msgid "Locations" msgstr "地址" @@ -267,6 +263,10 @@ msgstr "登录失败时退出" msgid "Manage Options" msgstr "管理选项" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:185 +msgid "Max failed" +msgstr "最大失败次数" + #: luci-app-frpc/luasrc/model/cbi/frpc/rules.lua:27 msgid "Name" msgstr "名称" @@ -285,22 +285,22 @@ msgstr "服务未运行" msgid "Not set" msgstr "未设置" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:56 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:57 msgid "Password" msgstr "密码" #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:42 #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:50 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:53 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:56 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:59 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:62 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:65 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:69 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:73 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:76 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:79 -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:82 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:54 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:57 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:60 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:63 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:66 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:70 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:74 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:77 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:81 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:85 msgid "Plugin" msgstr "插件" @@ -320,7 +320,7 @@ msgstr "代理名称" msgid "Proxy Rules" msgstr "代理规则" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:152 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:155 msgid "Proxy protocol version" msgstr "代理协议版本" @@ -332,11 +332,11 @@ msgstr "代理用户" msgid "Remote Port" msgstr "远程端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:93 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:96 msgid "Remote port" msgstr "远程端口" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:108 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:111 msgid "Role" msgstr "角色" @@ -352,7 +352,7 @@ msgstr "以用户身份运行" msgid "Running" msgstr "服务正在运行" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:116 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:119 msgid "SK" msgstr "SK" @@ -372,7 +372,7 @@ msgstr "服务端端口" msgid "Server addr" msgstr "服务端地址" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:112 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:115 msgid "Server name" msgstr "服务端名称" @@ -388,11 +388,11 @@ msgstr "服务端" msgid "Settings" msgstr "设置" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:62 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:63 msgid "Strip prefix" msgstr "去除前缀" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:137 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:140 msgid "Subdomain" msgstr "子域名" @@ -421,23 +421,28 @@ 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/rules.lua:32 msgid "Type" msgstr "类型" +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:176 +msgid "URL" +msgstr "URL" + #: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:50 msgid "Unix path" msgstr "Unix 路径" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:103 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:106 msgid "Use compression" msgstr "使用压缩" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:98 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:101 msgid "Use encryption" msgstr "使用加密" -#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:53 +#: luci-app-frpc/luasrc/model/cbi/frpc/rule-detail.lua:54 msgid "User" msgstr "用户"