diff options
Diffstat (limited to 'applications/luci-app-openvpn')
-rw-r--r-- | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 51 | ||||
-rw-r--r-- | applications/luci-app-openvpn/po/zh-cn/openvpn.po | 12 |
2 files changed, 31 insertions, 32 deletions
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index d0771e5830..7865881cb6 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -367,123 +367,122 @@ local knownParams = { "server", "10.200.200.0 255.255.255.0", translate("Configure server mode"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "server_bridge", "10.200.200.1 255.255.255.0 10.200.200.200 10.200.200.250", translate("Configure server bridge"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { DynamicList, "push", { "redirect-gateway", "comp-lzo" }, translate("Push options to peer"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "push_reset", 0, translate("Don't inherit global push options"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "disable", 0, translate("Client is disabled"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "ifconfig_pool", "10.200.200.100 10.200.200.150 255.255.255.0", translate("Set aside a pool of subnets"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "ifconfig_pool_persist", "/etc/openvpn/ipp.txt 600", translate("Persist/unpersist ifconfig-pool"), - { server_mode="1" } }, + { client="0" }, { client="" } }, -- deprecated and replaced by --topology p2p -- { Flag, -- "ifconfig_pool_linear", -- 0, -- translate("Use individual addresses rather than /30 subnets"), - -- { server_mode="1" } }, + -- { client="0" }, { client="" } }, { Value, "ifconfig_push", "10.200.200.1 255.255.255.255", translate("Push an ifconfig option to remote"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "iroute", "10.200.200.0 255.255.255.0", translate("Route subnet to client"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "client_to_client", 0, translate("Allow client-to-client traffic"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "duplicate_cn", 0, translate("Allow multiple clients with same certificate"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "client_config_dir", "/etc/openvpn/ccd", translate("Directory for custom client config files"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "ccd_exclusive", 0, translate("Refuse connection if no custom client config"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "tmp_dir", "/var/run/openvpn", translate("Temporary directory for client-connect return file"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "hash_size", "256 256", translate("Set size of real and virtual address hash tables"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "bcast_buffers", 256, translate("Number of allocated broadcast buffers"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "tcp_queue_limit", 64, translate("Maximum number of queued TCP output packets"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "max_clients", 10, translate("Allowed maximum of connected clients"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "max_routes_per_client", 256, translate("Allowed maximum of internal"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Value, "connect_freq", "3 10", translate("Allowed maximum of new connections"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "client_cert_not_required", 0, translate("Don't require client certificate"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "username_as_common_name", 0, translate("Use username as common name"), - { server_mode="1" } }, + { client="0" }, { client="" } }, { Flag, "client", 0, - translate("Configure client mode"), - { server_mode="0" }, { server_mode="" } }, + translate("Configure client mode") }, { Flag, "pull", 0, @@ -511,7 +510,7 @@ local knownParams = { { client="1" } }, { Flag, "remote_random", - 1, + 0, translate("Randomly choose remote server"), { client="1" } }, { ListValue, diff --git a/applications/luci-app-openvpn/po/zh-cn/openvpn.po b/applications/luci-app-openvpn/po/zh-cn/openvpn.po index 899b4d2388..3904ac4bf8 100644 --- a/applications/luci-app-openvpn/po/zh-cn/openvpn.po +++ b/applications/luci-app-openvpn/po/zh-cn/openvpn.po @@ -1,17 +1,17 @@ msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-05-19 19:35+0200\n" -"PO-Revision-Date: 2013-10-10 06:09+0200\n" -"Last-Translator: Tanyingyu <Tanyingyu@163.com>\n" +"PO-Revision-Date: 2017-04-14 17:26-0600\n" +"Last-Translator: liushuyu <liushuyu011@gmail.com>\n" "Language-Team: QQ Group 75543259 <axishero@foxmail.com>\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Pootle 2.0.6\n" +"X-Generator: Poedit 2.0.1\n" msgid "%s" msgstr "%s" @@ -498,13 +498,13 @@ msgid "Temporary directory for client-connect return file" msgstr "客户端连接返回文件的临时目录" msgid "The highest supported TLS version" -msgstr "" +msgstr "最高支持的 TLS 版本" msgid "The key direction for 'tls-auth' and 'secret' options" msgstr "" msgid "The lowest supported TLS version" -msgstr "" +msgstr "最低支持的 TLS 版本" msgid "Timeframe for key exchange" msgstr "密钥交换时间表" |