luci-app-kcptun: update
This commit is contained in:
parent
067b2f8ebb
commit
ee3c805404
@ -179,6 +179,52 @@ o.write = function(self, section, value)
|
||||
end
|
||||
end
|
||||
|
||||
o = s:option(Value, "smuxver", "%s (%s)" % { translate("smuxver"), translate("optional") },
|
||||
translate("Specify smux version, available 1,2, default: 1"))
|
||||
o:value("1")
|
||||
o:value("2")
|
||||
o.default = "1"
|
||||
|
||||
o = s:option(Value, "smuxbuf", "%s (%s)" % { translate("smuxbuf"), translate("optional") },
|
||||
translate("The overall de-mux buffer, default unit is MB."))
|
||||
o.datatype = "uinteger"
|
||||
o.placeholder = "4"
|
||||
o.cfgvalue = function(...)
|
||||
local value = Value.cfgvalue(...)
|
||||
|
||||
if value then
|
||||
return tonumber(value) / 1024 / 1024
|
||||
end
|
||||
end
|
||||
o.write = function(self, section, value)
|
||||
local number = tonumber(value)
|
||||
if number then
|
||||
Value.write(self, section, number * 1024 * 1024)
|
||||
else
|
||||
Value.remove(self, section)
|
||||
end
|
||||
end
|
||||
|
||||
o = s:option(Value, "streambuf", "%s (%s)" % { translate("streambuf"), translate("optional") },
|
||||
translate("Per stream receive buffer, default unit is MB."))
|
||||
o.datatype = "uinteger"
|
||||
o.placeholder = "2"
|
||||
o.cfgvalue = function(...)
|
||||
local value = Value.cfgvalue(...)
|
||||
|
||||
if value then
|
||||
return tonumber(value) / 1024 / 1024
|
||||
end
|
||||
end
|
||||
o.write = function(self, section, value)
|
||||
local number = tonumber(value)
|
||||
if number then
|
||||
Value.write(self, section, number * 1024 * 1024)
|
||||
else
|
||||
Value.remove(self, section)
|
||||
end
|
||||
end
|
||||
|
||||
o = s:option(Value, "keepalive", "%s (%s)" % { translate("keepalive"), translate("optional") },
|
||||
translate("NAT keepalive interval to prevent your router from removing port mapping, default unit is seconds."))
|
||||
o.datatype = "uinteger"
|
||||
|
||||
254
package/jsda/luci-app-kcptun/po/templates/kcptun.pot
Executable file → Normal file
254
package/jsda/luci-app-kcptun/po/templates/kcptun.pot
Executable file → Normal file
@ -1,391 +1,413 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:92
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:92
|
||||
msgid "2nd ACK"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:34
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:34
|
||||
msgid "Alias"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:153
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:153
|
||||
msgid ""
|
||||
"Auto expiration time(in seconds) for a single UDP connection, 0 to disable."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:29
|
||||
#: luasrc/view/kcptun/log_view.htm:29
|
||||
msgid "Clear Log File"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:41
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:41
|
||||
msgid "Client File"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:48
|
||||
#: luasrc/view/kcptun/status.htm:48
|
||||
msgid "Client Status"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:54
|
||||
#: luasrc/view/kcptun/status.htm:54
|
||||
msgid "Client Version"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:32
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:50
|
||||
#: luasrc/view/kcptun/log_view.htm:32 luasrc/view/kcptun/status.htm:50
|
||||
msgid "Collecting data..."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
msgid "DSCP(6bit)"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:36
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:36
|
||||
msgid "Disable"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:65
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:65
|
||||
msgid "Disable Compression"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
msgid "Disable Compression?"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
msgid "Edit Server"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:59
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:59
|
||||
msgid "Embedded Mode"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:50
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:50
|
||||
msgid "Enable Logging"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
msgid "Enable nodelay Mode."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:53
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:53
|
||||
msgid "Encrypt Method"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:66
|
||||
#: luasrc/view/kcptun/log_view.htm:66
|
||||
msgid "Error get log data."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:68
|
||||
msgid "False"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:31
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:31
|
||||
msgid "General Settings"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:61
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:62
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:70
|
||||
#: luasrc/view/kcptun/status.htm:61 luasrc/view/kcptun/status.htm:62
|
||||
#: luasrc/view/kcptun/status.htm:70
|
||||
msgid "Get latest"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:158
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:158
|
||||
msgid "How long an expired connection can live(in sec), -1 to disable."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:57
|
||||
#: luasrc/view/kcptun/status.htm:57
|
||||
msgid "Invalid Client File."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:17
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:28
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:26
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:17
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:28 luasrc/view/kcptun/log_view.htm:26
|
||||
msgid "Kcptun"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:15
|
||||
#: luasrc/controller/kcptun.lua:15
|
||||
msgid "Kcptun Client"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
msgid "Key"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:61
|
||||
#: luasrc/view/kcptun/log_view.htm:61
|
||||
msgid "Last 50 lines of log file:"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:63
|
||||
#: luasrc/view/kcptun/log_view.htm:63
|
||||
msgid "Last 50 lines of syslog:"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:46
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:46
|
||||
msgid "Listen Address"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:32
|
||||
#: luasrc/view/kcptun/log_view.htm:32
|
||||
msgid "Loading"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
msgid "Local Listen Host"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
msgid "Local Listen Port."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
msgid "Local Port"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:55
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:55
|
||||
msgid "Local listen host."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:25
|
||||
#: luasrc/controller/kcptun.lua:25
|
||||
msgid "Log"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:26
|
||||
#: luasrc/view/kcptun/log_view.htm:26
|
||||
msgid "Log Data"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:53
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:53
|
||||
msgid "Log Folder"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:67
|
||||
#: luasrc/view/kcptun/status.htm:67
|
||||
msgid "LuCI Version"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:98
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:98
|
||||
msgid "Maximum transmission unit of UDP packets."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:183
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:229
|
||||
msgid ""
|
||||
"NAT keepalive interval to prevent your router from removing port mapping, "
|
||||
"default unit is seconds."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:62
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:64
|
||||
#: luasrc/view/kcptun/log_view.htm:62 luasrc/view/kcptun/log_view.htm:64
|
||||
msgid "No log data."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:36
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:36
|
||||
msgid "None"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:83
|
||||
#: luasrc/view/kcptun/status.htm:83
|
||||
msgid "Not Running"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:148
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:148
|
||||
msgid "Number of UDP connections to server."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:90
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:90
|
||||
msgid "Off"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:91
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:91
|
||||
msgid "On"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:64
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:209
|
||||
msgid "Per stream receive buffer, default unit is MB."
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:64
|
||||
msgid "Pre-shared secret for client and server."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:42
|
||||
#: luasrc/view/kcptun/log_view.htm:42
|
||||
msgid "Processing..."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:109
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:109
|
||||
msgid "Receive Window Size(num of packets)."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:115
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:115
|
||||
msgid "Reed-solomon Erasure Coding - datashard."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:120
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:120
|
||||
msgid "Reed-solomon Erasure Coding - parityshard."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:33
|
||||
#: luasrc/view/kcptun/log_view.htm:33
|
||||
msgid "Refresh every 5 seconds."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:44
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:44
|
||||
msgid "Run Daemon as User"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:83
|
||||
#: luasrc/view/kcptun/status.htm:83
|
||||
msgid "Running"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:45
|
||||
#: luasrc/view/kcptun/status.htm:45
|
||||
msgid "Running Status"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:234
|
||||
msgid "SNMP collect period, in seconds"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:103
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:103
|
||||
msgid "Send Window Size(num of packets)."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:163
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:163
|
||||
msgid "Send/secv buffer size of udp sockets, default unit is MB."
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:46
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:35
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:46
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:35
|
||||
msgid "Server"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:39
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:39
|
||||
msgid "Server Address"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:17
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:17
|
||||
msgid "Server List"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:22
|
||||
#: luasrc/controller/kcptun.lua:22
|
||||
msgid "Server Manage"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:50
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:50
|
||||
msgid "Server Port"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:18
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:28
|
||||
#: luasrc/controller/kcptun.lua:18 luasrc/model/cbi/kcptun/settings.lua:28
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:183
|
||||
msgid "Specify smux version, available 1,2, default: 1"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
msgid "Suppress the 'stream open/close' messages"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
msgid "TCP transmission"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:189
|
||||
msgid "The overall de-mux buffer, default unit is MB."
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:68
|
||||
msgid "True"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:143
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:143
|
||||
msgid "acknodelay"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
msgid "autoexpire"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
msgid "conn"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
msgid "crypt"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
msgid "datashard"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
msgid "dscp"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:83
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:83
|
||||
msgid "interval"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:228
|
||||
msgid "keepalive"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
msgid "mode"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
msgid "mtu"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:94
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:94
|
||||
msgid "nc"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
msgid "nocomp"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
msgid "nodelay"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:208
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:228
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:234
|
||||
msgid "optional"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
msgid "parityshard"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
msgid "quiet"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
msgid "rcvwnd"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:88
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:88
|
||||
msgid "resend"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
msgid "scavengettl"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
msgid "smuxbuf"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
msgid "smuxver"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
msgid "sndwnd"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:187
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:233
|
||||
msgid "snmpperiod"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
msgid "sockbuf"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:208
|
||||
msgid "streambuf"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
msgid "tcp"
|
||||
msgstr ""
|
||||
|
||||
@ -1,392 +1,414 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:92
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:92
|
||||
msgid "2nd ACK"
|
||||
msgstr "2次 ACK 跨越重传"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:34
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:34
|
||||
msgid "Alias"
|
||||
msgstr "别名"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:153
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:153
|
||||
msgid ""
|
||||
"Auto expiration time(in seconds) for a single UDP connection, 0 to disable."
|
||||
msgstr "单个 UDP 连接的自动过期时间(秒),设置 0 来禁用"
|
||||
msgstr "单个 UDP 连接的自动过期时间 (秒),设置 0 来禁用"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:29
|
||||
#: luasrc/view/kcptun/log_view.htm:29
|
||||
msgid "Clear Log File"
|
||||
msgstr "清理日志文件"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:41
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:41
|
||||
msgid "Client File"
|
||||
msgstr "客户端文件"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:48
|
||||
#: luasrc/view/kcptun/status.htm:48
|
||||
msgid "Client Status"
|
||||
msgstr "客户端状态"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:54
|
||||
#: luasrc/view/kcptun/status.htm:54
|
||||
msgid "Client Version"
|
||||
msgstr "客户端版本"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:32
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:50
|
||||
#: luasrc/view/kcptun/log_view.htm:32 luasrc/view/kcptun/status.htm:50
|
||||
msgid "Collecting data..."
|
||||
msgstr "正在收集数据..."
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
msgid "DSCP(6bit)"
|
||||
msgstr "DSCP(6bit)"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:36
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:36
|
||||
msgid "Disable"
|
||||
msgstr "禁用"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:65
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:65
|
||||
msgid "Disable Compression"
|
||||
msgstr "禁用压缩"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
msgid "Disable Compression?"
|
||||
msgstr "是否禁用压缩?"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
msgid "Edit Server"
|
||||
msgstr "编辑服务端"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:59
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:59
|
||||
msgid "Embedded Mode"
|
||||
msgstr "内置模式"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:50
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:50
|
||||
msgid "Enable Logging"
|
||||
msgstr "启用日志记录"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
msgid "Enable nodelay Mode."
|
||||
msgstr "启用 nodelay 模式"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:53
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:53
|
||||
msgid "Encrypt Method"
|
||||
msgstr "加密方式"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:66
|
||||
#: luasrc/view/kcptun/log_view.htm:66
|
||||
msgid "Error get log data."
|
||||
msgstr "获取日志数据失败。"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:68
|
||||
msgid "False"
|
||||
msgstr "否"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:31
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:31
|
||||
msgid "General Settings"
|
||||
msgstr "基本设置"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:61
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:62
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:70
|
||||
#: luasrc/view/kcptun/status.htm:61 luasrc/view/kcptun/status.htm:62
|
||||
#: luasrc/view/kcptun/status.htm:70
|
||||
msgid "Get latest"
|
||||
msgstr "获取最新版"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:158
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:158
|
||||
msgid "How long an expired connection can live(in sec), -1 to disable."
|
||||
msgstr "过期连接保留多长时间(秒),设置 -1 来禁用"
|
||||
msgstr "过期连接保留多长时间 (秒),设置 -1 来禁用"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:57
|
||||
#: luasrc/view/kcptun/status.htm:57
|
||||
msgid "Invalid Client File."
|
||||
msgstr "客户端文件配置有误"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:17
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:28
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:26
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:32
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:17
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:28 luasrc/view/kcptun/log_view.htm:26
|
||||
msgid "Kcptun"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:15
|
||||
#: luasrc/controller/kcptun.lua:15
|
||||
msgid "Kcptun Client"
|
||||
msgstr "Kcptun 客户端"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
msgid "Key"
|
||||
msgstr "密码"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:61
|
||||
#: luasrc/view/kcptun/log_view.htm:61
|
||||
msgid "Last 50 lines of log file:"
|
||||
msgstr "日志文件的最新 50 行:"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:63
|
||||
#: luasrc/view/kcptun/log_view.htm:63
|
||||
msgid "Last 50 lines of syslog:"
|
||||
msgstr "系统日志的最新 50 行:"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:46
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:46
|
||||
msgid "Listen Address"
|
||||
msgstr "监听地址"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:32
|
||||
#: luasrc/view/kcptun/log_view.htm:32
|
||||
msgid "Loading"
|
||||
msgstr "正在加载..."
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
msgid "Local Listen Host"
|
||||
msgstr "本地监听地址"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
msgid "Local Listen Port."
|
||||
msgstr "本地监听端口"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:59
|
||||
msgid "Local Port"
|
||||
msgstr "本地端口"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:55
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:55
|
||||
msgid "Local listen host."
|
||||
msgstr "本地监听主机"
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:25
|
||||
#: luasrc/controller/kcptun.lua:25
|
||||
msgid "Log"
|
||||
msgstr "日志"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:26
|
||||
#: luasrc/view/kcptun/log_view.htm:26
|
||||
msgid "Log Data"
|
||||
msgstr "日志数据"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:53
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:53
|
||||
msgid "Log Folder"
|
||||
msgstr "日志文件夹"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:67
|
||||
#: luasrc/view/kcptun/status.htm:67
|
||||
msgid "LuCI Version"
|
||||
msgstr "LuCI 版本"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:98
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:98
|
||||
msgid "Maximum transmission unit of UDP packets."
|
||||
msgstr "UDP数据包的最大传输单元"
|
||||
msgstr "UDP 数据包的最大传输单元"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:183
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:229
|
||||
msgid ""
|
||||
"NAT keepalive interval to prevent your router from removing port mapping, "
|
||||
"default unit is seconds."
|
||||
msgstr "NAT Keepalive 包间隔时间(秒), 防止路由器删除端口映射"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:62
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:64
|
||||
#: luasrc/view/kcptun/log_view.htm:62 luasrc/view/kcptun/log_view.htm:64
|
||||
msgid "No log data."
|
||||
msgstr "无日志数据。"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:36
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:36
|
||||
msgid "None"
|
||||
msgstr "无"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:83
|
||||
#: luasrc/view/kcptun/status.htm:83
|
||||
msgid "Not Running"
|
||||
msgstr "未运行"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:148
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:148
|
||||
msgid "Number of UDP connections to server."
|
||||
msgstr "到服务端的UDP连接数量"
|
||||
msgstr "到服务端的 UDP 连接数量"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:90
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:90
|
||||
msgid "Off"
|
||||
msgstr "关闭"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:91
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:91
|
||||
msgid "On"
|
||||
msgstr "开启"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:64
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:209
|
||||
msgid "Per stream receive buffer, default unit is MB."
|
||||
msgstr "每个传输流最大内存大小 (MB)"
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:64
|
||||
msgid "Pre-shared secret for client and server."
|
||||
msgstr "客户端和服务端的通信密码"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:42
|
||||
#: luasrc/view/kcptun/log_view.htm:42
|
||||
msgid "Processing..."
|
||||
msgstr "正在操作..."
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:109
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:109
|
||||
msgid "Receive Window Size(num of packets)."
|
||||
msgstr "接收窗口大小 (数据包数量)"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:115
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:115
|
||||
msgid "Reed-solomon Erasure Coding - datashard."
|
||||
msgstr "前向纠错 - datashard"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:120
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:120
|
||||
msgid "Reed-solomon Erasure Coding - parityshard."
|
||||
msgstr "前向纠错 - parityshard"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/log_view.htm:33
|
||||
#: luasrc/view/kcptun/log_view.htm:33
|
||||
msgid "Refresh every 5 seconds."
|
||||
msgstr "每 5 秒刷新。"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:44
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:44
|
||||
msgid "Run Daemon as User"
|
||||
msgstr "以该用户启动"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:83
|
||||
#: luasrc/view/kcptun/status.htm:83
|
||||
msgid "Running"
|
||||
msgstr "运行中"
|
||||
|
||||
#: luci-app-kcptun/luasrc/view/kcptun/status.htm:45
|
||||
#: luasrc/view/kcptun/status.htm:45
|
||||
msgid "Running Status"
|
||||
msgstr "运行状态"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:234
|
||||
msgid "SNMP collect period, in seconds"
|
||||
msgstr "SNMP采集周期(秒)"
|
||||
msgstr "SNMP采集周期 (秒)"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:103
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:103
|
||||
msgid "Send Window Size(num of packets)."
|
||||
msgstr "发送窗口大小 (数据包数量)"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:163
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:163
|
||||
msgid "Send/secv buffer size of udp sockets, default unit is MB."
|
||||
msgstr "发送/接收UDP数据包的缓冲区大小(MB)"
|
||||
msgstr "发送/接收UDP数据包的缓冲区大小 (MB)"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:46
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:35
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:46
|
||||
#: luasrc/model/cbi/kcptun/settings.lua:35
|
||||
msgid "Server"
|
||||
msgstr "服务端地址"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:39
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:39
|
||||
msgid "Server Address"
|
||||
msgstr "服务端地址"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:17
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:17
|
||||
msgid "Server List"
|
||||
msgstr "服务端列表"
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:22
|
||||
#: luasrc/controller/kcptun.lua:22
|
||||
msgid "Server Manage"
|
||||
msgstr "服务端管理"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:50
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:50
|
||||
msgid "Server Port"
|
||||
msgstr "服务端端口"
|
||||
|
||||
#: luci-app-kcptun/luasrc/controller/kcptun.lua:18
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/settings.lua:28
|
||||
#: luasrc/controller/kcptun.lua:18 luasrc/model/cbi/kcptun/settings.lua:28
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:183
|
||||
msgid "Specify smux version, available 1,2, default: 1"
|
||||
msgstr "设置 smux 版本,可选 1, 2。默认:1"
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
msgid "Suppress the 'stream open/close' messages"
|
||||
msgstr "不打印 'stream open/close' 信息"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
msgid "TCP transmission"
|
||||
msgstr "TCP 传输"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:189
|
||||
msgid "The overall de-mux buffer, default unit is MB."
|
||||
msgstr "缓存大小 (MB)"
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers.lua:68
|
||||
msgid "True"
|
||||
msgstr "是"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:143
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:143
|
||||
msgid "acknodelay"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
msgid "autoexpire"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
msgid "conn"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:68
|
||||
msgid "crypt"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
msgid "datashard"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
msgid "dscp"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:83
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:83
|
||||
msgid "interval"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:228
|
||||
msgid "keepalive"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:74
|
||||
msgid "mode"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
msgid "mtu"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:94
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:94
|
||||
msgid "nc"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:128
|
||||
msgid "nocomp"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:80
|
||||
msgid "nodelay"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:44
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:54
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:63
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:97
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:114
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:124
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:147
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:152
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:208
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:228
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:234
|
||||
msgid "optional"
|
||||
msgstr "可选"
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:119
|
||||
msgid "parityshard"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:133
|
||||
msgid "quiet"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:108
|
||||
msgid "rcvwnd"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:88
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:88
|
||||
msgid "resend"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:157
|
||||
msgid "scavengettl"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:188
|
||||
msgid "smuxbuf"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:182
|
||||
msgid "smuxver"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:102
|
||||
msgid "sndwnd"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:187
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:233
|
||||
msgid "snmpperiod"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:162
|
||||
msgid "sockbuf"
|
||||
msgstr ""
|
||||
|
||||
#: luci-app-kcptun/luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:208
|
||||
msgid "streambuf"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/kcptun/servers-detail.lua:138
|
||||
msgid "tcp"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@ -70,7 +70,7 @@ gen_client_config_file() {
|
||||
|
||||
add_configs "string" key crypt mode
|
||||
add_configs "int" conn autoexpire mtu sndwnd rcvwnd datashard parityshard dscp \
|
||||
nodelay interval resend nc sockbuf keepalive scavengettl snmpperiod
|
||||
nodelay interval resend nc sockbuf smuxver smuxbuf streambuf keepalive scavengettl snmpperiod
|
||||
add_configs "boolean" nocomp acknodelay quiet tcp
|
||||
|
||||
if [ -n "$log_file" ]; then
|
||||
@ -134,6 +134,9 @@ validate_server_section() {
|
||||
'nc:bool' \
|
||||
'acknodelay:or("true", "false")' \
|
||||
'sockbuf:uinteger' \
|
||||
'smuxver:or("1", "2")' \
|
||||
'smuxbuf:uinteger' \
|
||||
'streambuf:uinteger' \
|
||||
'keepalive:uinteger' \
|
||||
'snmpperiod:min(1)'
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user