Merge pull request #1239 from kuoruan/zh-cn-tr

Add some translate strings & Update Simplified Chinese translation
This commit is contained in:
Hannu Nyman 2017-07-24 14:51:12 +03:00 committed by GitHub
commit f7cf1dae69
15 changed files with 547 additions and 403 deletions

View file

@ -111,7 +111,7 @@ mwan_interface = m5:section(TypedSection, "interface", translate("Interfaces"),
"Interfaces may not share the same name as configured members, policies or rules")) "Interfaces may not share the same name as configured members, policies or rules"))
mwan_interface.addremove = true mwan_interface.addremove = true
mwan_interface.dynamic = false mwan_interface.dynamic = false
mwan_interface.sectionhead = "Interface" mwan_interface.sectionhead = translate("Interface")
mwan_interface.sortable = false mwan_interface.sortable = false
mwan_interface.template = "cbi/tblsection" mwan_interface.template = "cbi/tblsection"
mwan_interface.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "interface", "%s") mwan_interface.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "interface", "%s")

View file

@ -13,7 +13,7 @@ mwan_member = m5:section(TypedSection, "member", translate("Members"),
"Members may not share the same name as configured interfaces, policies or rules")) "Members may not share the same name as configured interfaces, policies or rules"))
mwan_member.addremove = true mwan_member.addremove = true
mwan_member.dynamic = false mwan_member.dynamic = false
mwan_member.sectionhead = "Member" mwan_member.sectionhead = translate("Member")
mwan_member.sortable = true mwan_member.sortable = true
mwan_member.template = "cbi/tblsection" mwan_member.template = "cbi/tblsection"
mwan_member.extedit = ds.build_url("admin", "network", "mwan", "configuration", "member", "%s") mwan_member.extedit = ds.build_url("admin", "network", "mwan", "configuration", "member", "%s")

View file

@ -42,7 +42,7 @@ mwan_policy = m5:section(TypedSection, "policy", translate("Policies"),
"Policies may not share the same name as configured interfaces, members or rules")) "Policies may not share the same name as configured interfaces, members or rules"))
mwan_policy.addremove = true mwan_policy.addremove = true
mwan_policy.dynamic = false mwan_policy.dynamic = false
mwan_policy.sectionhead = "Policy" mwan_policy.sectionhead = translate("Policy")
mwan_policy.sortable = true mwan_policy.sortable = true
mwan_policy.template = "cbi/tblsection" mwan_policy.template = "cbi/tblsection"
mwan_policy.extedit = ds.build_url("admin", "network", "mwan", "configuration", "policy", "%s") mwan_policy.extedit = ds.build_url("admin", "network", "mwan", "configuration", "policy", "%s")
@ -65,7 +65,6 @@ use_member = mwan_policy:option(DummyValue, "use_member", translate("Members ass
else else
return "—" return "—"
end end
end end
last_resort = mwan_policy:option(DummyValue, "last_resort", translate("Last resort")) last_resort = mwan_policy:option(DummyValue, "last_resort", translate("Last resort"))
@ -73,11 +72,11 @@ last_resort = mwan_policy:option(DummyValue, "last_resort", translate("Last reso
function last_resort.cfgvalue(self, s) function last_resort.cfgvalue(self, s)
local action = self.map:get(s, "last_resort") local action = self.map:get(s, "last_resort")
if action == "blackhole" then if action == "blackhole" then
return "blackhole (drop)" return translate("blackhole (drop)")
elseif action == "default" then elseif action == "default" then
return "default (use main routing table)" return translate("default (use main routing table)")
else else
return "unreachable (reject)" return translate("unreachable (reject)")
end end
end end

View file

@ -47,7 +47,7 @@ mwan_rule = m5:section(TypedSection, "rule", translate("Traffic Rules"),
mwan_rule.addremove = true mwan_rule.addremove = true
mwan_rule.anonymous = false mwan_rule.anonymous = false
mwan_rule.dynamic = false mwan_rule.dynamic = false
mwan_rule.sectionhead = "Rule" mwan_rule.sectionhead = translate("Rule")
mwan_rule.sortable = true mwan_rule.sortable = true
mwan_rule.template = "cbi/tblsection" mwan_rule.template = "cbi/tblsection"
mwan_rule.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "rule", "%s") mwan_rule.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "rule", "%s")
@ -93,10 +93,10 @@ sticky = mwan_rule:option(DummyValue, "sticky", translate("Sticky"))
function sticky.cfgvalue(self, s) function sticky.cfgvalue(self, s)
if self.map:get(s, "sticky") == "1" then if self.map:get(s, "sticky") == "1" then
stickied = 1 stickied = 1
return "Yes" return translate("Yes")
else else
stickied = nil stickied = nil
return "No" return translate("No")
end end
end end
@ -133,7 +133,7 @@ errors = mwan_rule:option(DummyValue, "errors", translate("Errors"))
if not string.find(error_protocol_list, " " .. s .. " ") then if not string.find(error_protocol_list, " " .. s .. " ") then
return "" return ""
else else
return "<span title=\"No protocol specified\"><img src=\"/luci-static/resources/cbi/reset.gif\" alt=\"error\"></img></span>" return "<span title=\"" .. translate("No protocol specified") .. "\"><img src=\"/luci-static/resources/cbi/reset.gif\" alt=\"error\"></img></span>"
end end
end end

View file

@ -33,14 +33,14 @@
{ {
output.innerHTML = output.innerHTML =
'<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="padding: 20px; vertical-align: middle;" /> ' + '<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="padding: 20px; vertical-align: middle;" /> ' +
"Waiting for MWAN to " + task + "..." String.format("<%:Waiting for MWAN to %s...%>", task)
; ;
} }
else else
{ {
output.innerHTML = output.innerHTML =
'<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="padding: 20px; vertical-align: middle;" /> ' + '<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="padding: 20px; vertical-align: middle;" /> ' +
"Waiting for diagnostic results..." "<%:Waiting for diagnostic results...%>"
; ;
} }
@ -56,7 +56,7 @@
} }
else else
{ {
output.innerHTML = '<pre id="diag_output_css"><strong>No diagnostic results returned</strong></pre>'; output.innerHTML = '<pre id="diag_output_css"><strong><%:No diagnostic results returned%></strong></pre>';
} }
} }
); );

View file

@ -37,7 +37,7 @@
} }
else else
{ {
tshoot.innerHTML = '<strong>Error collecting troubleshooting information</strong>'; tshoot.innerHTML = '<strong><%:Error collecting troubleshooting information%></strong>';
} }
} }
); );
@ -46,7 +46,7 @@
<div id="troubleshoot"> <div id="troubleshoot">
<fieldset class="cbi-section"> <fieldset class="cbi-section">
<legend><%:Troubleshooting Data%></legend> <legend><%:Troubleshooting Data%></legend>
<div id="troubleshoot_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /> Collecting data...</div> <div id="troubleshoot_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /><%:Collecting data...%></div>
</fieldset> </fieldset>
</div> </div>

View file

@ -8,17 +8,7 @@
</ul> </ul>
<style type="text/css"> <style type="text/css">
.container { /* container for entire page. fixes bootstrap theme's ridiculously small page width */
max-width: none;
margin: 0px 0px 0px 30px;
padding-right: 30px;
width: auto;
}
.cbi-section-node {
margin-top: 20px;
}
.cbi-section { .cbi-section {
border: 1px dotted #555555;
padding: 20px; padding: 20px;
} }
</style> </style>

View file

@ -13,19 +13,19 @@
switch (mArray.wans[i].status) switch (mArray.wans[i].status)
{ {
case 'online': case 'online':
stat = 'Online (tracking active)'; stat = '<%:Online (tracking active)%>';
cssc = 'wanon'; cssc = 'wanon';
break; break;
case 'notMonitored': case 'notMonitored':
stat = 'Online (tracking off)'; stat = '<%:Online (tracking off)%>';
cssc = 'wanon'; cssc = 'wanon';
break; break;
case 'offline': case 'offline':
stat = 'Offline'; stat = '<%:Offline%>';
cssc = 'wanoff'; cssc = 'wanoff';
break; break;
case 'notEnabled': case 'notEnabled':
stat = 'Disabled'; stat = '<%:Disabled%>';
cssc = 'wanoff'; cssc = 'wanoff';
break; break;
} }
@ -38,7 +38,7 @@
} }
else else
{ {
status.innerHTML = '<strong>No MWAN interfaces found</strong>'; status.innerHTML = '<strong><%:No MWAN interfaces found%></strong>';
} }
} }
); );
@ -46,7 +46,7 @@
<fieldset id="interface_field" class="cbi-section"> <fieldset id="interface_field" class="cbi-section">
<legend><%:MWAN Interface Live Status%></legend> <legend><%:MWAN Interface Live Status%></legend>
<div id="mwan_status_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /> Collecting data...</div> <div id="mwan_status_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /><%:Collecting data...%></div>
</fieldset> </fieldset>
<style type="text/css"> <style type="text/css">

View file

@ -17,7 +17,7 @@
} }
else else
{ {
status.innerHTML = '<strong>No detailed status information available</strong>'; status.innerHTML = '<strong><%:No detailed status information available%></strong>';
} }
} }
); );
@ -26,7 +26,7 @@
<div id="mwan_detail_status"> <div id="mwan_detail_status">
<fieldset class="cbi-section"> <fieldset class="cbi-section">
<legend><%:MWAN Detailed Status%></legend> <legend><%:MWAN Detailed Status%></legend>
<div id="mwan_detail_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /> Collecting data...</div> <div id="mwan_detail_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /><%:Collecting data...%></div>
</fieldset> </fieldset>
</div> </div>

View file

@ -21,19 +21,19 @@
switch (mArray.wans[i].status) switch (mArray.wans[i].status)
{ {
case 'online': case 'online':
status = 'Online (tracking active)'; status = '<%:Online (tracking active)%>';
css = 'wanon'; css = 'wanon';
break; break;
case 'notMonitored': case 'notMonitored':
status = 'Online (tracking off)'; status = '<%:Online (tracking off)%>';
css = 'wanon'; css = 'wanon';
break; break;
case 'offline': case 'offline':
status = 'Offline'; status = '<%:Offline%>';
css = 'wanoff'; css = 'wanoff';
break; break;
case 'notEnabled': case 'notEnabled':
status = 'Disabled'; status = '<%:Disabled%>';
css = 'wanoff'; css = 'wanoff';
break; break;
} }
@ -46,18 +46,18 @@
} }
else else
{ {
statusDiv.innerHTML = '<strong>No MWAN interfaces found</strong>'; statusDiv.innerHTML = '<strong><%:No MWAN interfaces found%></strong>';
} }
var logs = document.getElementById('mwan_statuslog_text'); var logs = document.getElementById('mwan_statuslog_text');
if (mArray.mwanlog) if (mArray.mwanlog)
{ {
var mwanLog = 'Last 50 MWAN systemlog entries. Newest entries sorted at the top :'; var mwanLog = '<%:Last 50 MWAN systemlog entries. Newest entries sorted at the top :%>';
logs.innerHTML = String.format('<pre>%s<br /><br />%s</pre>', mwanLog, mArray.mwanlog[0]); logs.innerHTML = String.format('<pre>%s<br /><br />%s</pre>', mwanLog, mArray.mwanlog[0]);
} }
else else
{ {
logs.innerHTML = '<strong>No MWAN systemlog history found</strong>'; logs.innerHTML = '<strong><%:No MWAN systemlog history found%></strong>';
} }
} }
); );
@ -66,11 +66,11 @@
<div id="mwan_interface_status"> <div id="mwan_interface_status">
<fieldset id="interface_field" class="cbi-section"> <fieldset id="interface_field" class="cbi-section">
<legend><%:MWAN Interface Live Status%></legend> <legend><%:MWAN Interface Live Status%></legend>
<div id="mwan_status_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /> Collecting data...</div> <div id="mwan_status_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /><%:Collecting data...%></div>
</fieldset> </fieldset>
<fieldset class="cbi-section"> <fieldset class="cbi-section">
<legend><%:MWAN Interface Systemlog%></legend> <legend><%:MWAN Interface Systemlog%></legend>
<div id="mwan_statuslog_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /> Collecting data...</div> <div id="mwan_statuslog_text"><img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" /><%:Collecting data...%></div>
</fieldset> </fieldset>
</div> </div>

View file

@ -46,6 +46,9 @@ msgstr "IP ルールのチェック"
msgid "Check routing table" msgid "Check routing table"
msgstr "ルーティング テーブルのチェック" msgstr "ルーティング テーブルのチェック"
msgid "Collecting data..."
msgstr ""
msgid "Configuration" msgid "Configuration"
msgstr "設定" msgstr "設定"
@ -73,6 +76,9 @@ msgstr "診断結果"
msgid "Diagnostics" msgid "Diagnostics"
msgstr "診断機能" msgstr "診断機能"
msgid "Disabled"
msgstr ""
msgid "" msgid ""
"Downed interface will be deemed up after this many successful ping tests" "Downed interface will be deemed up after this many successful ping tests"
msgstr "" msgstr ""
@ -82,6 +88,9 @@ msgstr ""
msgid "Enabled" msgid "Enabled"
msgstr "有効" msgstr "有効"
msgid "Error collecting troubleshooting information"
msgstr ""
msgid "Errors" msgid "Errors"
msgstr "エラー" msgstr "エラー"
@ -135,6 +144,9 @@ msgstr "インターフェース"
msgid "Internet Protocol" msgid "Internet Protocol"
msgstr "インターネット プロトコル" msgstr "インターネット プロトコル"
msgid "Last 50 MWAN systemlog entries. Newest entries sorted at the top :"
msgstr ""
msgid "Last resort" msgid "Last resort"
msgstr "最終手段" msgstr "最終手段"
@ -209,6 +221,9 @@ msgstr ""
"単一または複数のポート(例: \"22\" または \"80,443\")、あるいはポートの範囲" "単一または複数のポート(例: \"22\" または \"80,443\")、あるいはポートの範囲"
"(例: \"1024:2048\")を、クオーテーション無しで指定することができます。" "(例: \"1024:2048\")を、クオーテーション無しで指定することができます。"
msgid "Member"
msgstr ""
msgid "Member used" msgid "Member used"
msgstr "使用されるメンバー" msgstr "使用されるメンバー"
@ -244,6 +259,30 @@ msgstr "ネットワーク設定"
msgid "No" msgid "No"
msgstr "いいえ" msgstr "いいえ"
msgid "No MWAN interfaces found"
msgstr ""
msgid "No MWAN systemlog history found"
msgstr ""
msgid "No detailed status information available"
msgstr ""
msgid "No diagnostic results returned"
msgstr ""
msgid "No protocol specified"
msgstr ""
msgid "Offline"
msgstr ""
msgid "Online (tracking active)"
msgstr ""
msgid "Online (tracking off)"
msgstr ""
msgid "Overview" msgid "Overview"
msgstr "概要" msgstr "概要"
@ -292,6 +331,9 @@ msgstr ""
"ん。また、15文字以内でなければなりません。<br />ポリシーでは、設定済みのイン" "ん。また、15文字以内でなければなりません。<br />ポリシーでは、設定済みのイン"
"ターフェースやメンバー、ルールと同じ名前を使用することはできません。" "ターフェースやメンバー、ルールと同じ名前を使用することはできません。"
msgid "Policy"
msgstr ""
msgid "Policy assigned" msgid "Policy assigned"
msgstr "アサイン済みポリシー" msgstr "アサイン済みポリシー"
@ -310,6 +352,9 @@ msgstr "デフォルトのホットプラグ スクリプトの復元"
msgid "Restore..." msgid "Restore..."
msgstr "復元..." msgstr "復元..."
msgid "Rule"
msgstr ""
msgid "Rules" msgid "Rules"
msgstr "ルール" msgstr "ルール"
@ -361,6 +406,11 @@ msgstr "CIDR 表記のサポート(例: \"192.168.100.0/24\""
msgid "There are currently %d of 250 supported interfaces configured" msgid "There are currently %d of 250 supported interfaces configured"
msgstr "現在、250個中 %d 個のサポートされたインターフェースが設定済みです。" msgstr "現在、250個中 %d 個のサポートされたインターフェースが設定済みです。"
msgid ""
"This displays the metric assigned to this interface in /etc/config/network"
msgstr ""
"/etc/config/network で、このインターフェースに割り当てられたメトリックです。"
msgid "" msgid ""
"This hostname or IP address will be pinged to determine if the link is up or " "This hostname or IP address will be pinged to determine if the link is up or "
"down. Leave blank to assume interface is always online" "down. Leave blank to assume interface is always online"
@ -369,11 +419,6 @@ msgstr ""
"に対して Ping の送信が行われます。常にオンラインとする場合、空欄のままにしま" "に対して Ping の送信が行われます。常にオンラインとする場合、空欄のままにしま"
"す。" "す。"
msgid ""
"This displays the metric assigned to this interface in /etc/config/network"
msgstr ""
"/etc/config/network で、このインターフェースに割り当てられたメトリックです。"
msgid "This section allows you to modify the contents of /etc/config/mwan3" msgid "This section allows you to modify the contents of /etc/config/mwan3"
msgstr "" msgstr ""
"このセクションでは、 /etc/config/mwan3 の内容を変更することができます。" "このセクションでは、 /etc/config/mwan3 の内容を変更することができます。"
@ -406,12 +451,12 @@ msgstr ""
"wan2, その他)<br />$DEVICE - インターフェースにアタッチされたデバイスの名前" "wan2, その他)<br />$DEVICE - インターフェースにアタッチされたデバイスの名前"
"eth0.1, eth1, その他)" "eth0.1, eth1, その他)"
msgid "Tracking hostname or IP address"
msgstr "追跡ホスト名または IP アドレス"
msgid "Tracking IP" msgid "Tracking IP"
msgstr "追跡 IP" msgstr "追跡 IP"
msgid "Tracking hostname or IP address"
msgstr "追跡ホスト名または IP アドレス"
msgid "Tracking reliability" msgid "Tracking reliability"
msgstr "追跡の信頼性" msgstr "追跡の信頼性"
@ -529,6 +574,12 @@ msgstr ""
"警告: このルールは不適切なプロトコルが指定されているか、または何も指定されて" "警告: このルールは不適切なプロトコルが指定されているか、または何も指定されて"
"いません!プロトコルを指定し直してください!" "いません!プロトコルを指定し直してください!"
msgid "Waiting for MWAN to %s..."
msgstr ""
msgid "Waiting for diagnostic results..."
msgstr ""
msgid "Weight" msgid "Weight"
msgstr "ウエイト" msgstr "ウエイト"

View file

@ -33,6 +33,9 @@ msgstr ""
msgid "Check routing table" msgid "Check routing table"
msgstr "" msgstr ""
msgid "Collecting data..."
msgstr ""
msgid "Configuration" msgid "Configuration"
msgstr "" msgstr ""
@ -60,6 +63,9 @@ msgstr ""
msgid "Diagnostics" msgid "Diagnostics"
msgstr "" msgstr ""
msgid "Disabled"
msgstr ""
msgid "" msgid ""
"Downed interface will be deemed up after this many successful ping tests" "Downed interface will be deemed up after this many successful ping tests"
msgstr "" msgstr ""
@ -67,6 +73,9 @@ msgstr ""
msgid "Enabled" msgid "Enabled"
msgstr "" msgstr ""
msgid "Error collecting troubleshooting information"
msgstr ""
msgid "Errors" msgid "Errors"
msgstr "" msgstr ""
@ -118,6 +127,9 @@ msgstr ""
msgid "Internet Protocol" msgid "Internet Protocol"
msgstr "" msgstr ""
msgid "Last 50 MWAN systemlog entries. Newest entries sorted at the top :"
msgstr ""
msgid "Last resort" msgid "Last resort"
msgstr "" msgstr ""
@ -183,6 +195,9 @@ msgid ""
"as a portrange (eg \"1024:2048\") without quotes" "as a portrange (eg \"1024:2048\") without quotes"
msgstr "" msgstr ""
msgid "Member"
msgstr ""
msgid "Member used" msgid "Member used"
msgstr "" msgstr ""
@ -212,6 +227,30 @@ msgstr ""
msgid "No" msgid "No"
msgstr "" msgstr ""
msgid "No MWAN interfaces found"
msgstr ""
msgid "No MWAN systemlog history found"
msgstr ""
msgid "No detailed status information available"
msgstr ""
msgid "No diagnostic results returned"
msgstr ""
msgid "No protocol specified"
msgstr ""
msgid "Offline"
msgstr ""
msgid "Online (tracking active)"
msgstr ""
msgid "Online (tracking off)"
msgstr ""
msgid "Overview" msgid "Overview"
msgstr "" msgstr ""
@ -252,6 +291,9 @@ msgid ""
"configured interfaces, members or rules" "configured interfaces, members or rules"
msgstr "" msgstr ""
msgid "Policy"
msgstr ""
msgid "Policy assigned" msgid "Policy assigned"
msgstr "" msgstr ""
@ -270,6 +312,9 @@ msgstr ""
msgid "Restore..." msgid "Restore..."
msgstr "" msgstr ""
msgid "Rule"
msgstr ""
msgid "Rules" msgid "Rules"
msgstr "" msgstr ""
@ -312,12 +357,12 @@ msgid "There are currently %d of 250 supported interfaces configured"
msgstr "" msgstr ""
msgid "" msgid ""
"This hostname or IP address will be pinged to determine if the link is up or " "This displays the metric assigned to this interface in /etc/config/network"
"down. Leave blank to assume interface is always online"
msgstr "" msgstr ""
msgid "" msgid ""
"This displays the metric assigned to this interface in /etc/config/network" "This hostname or IP address will be pinged to determine if the link is up or "
"down. Leave blank to assume interface is always online"
msgstr "" msgstr ""
msgid "This section allows you to modify the contents of /etc/config/mwan3" msgid "This section allows you to modify the contents of /etc/config/mwan3"
@ -340,10 +385,10 @@ msgid ""
"device name attached to the interface (eth0.1, eth1, etc.)" "device name attached to the interface (eth0.1, eth1, etc.)"
msgstr "" msgstr ""
msgid "Tracking hostname or IP address" msgid "Tracking IP"
msgstr "" msgstr ""
msgid "Tracking IP" msgid "Tracking hostname or IP address"
msgstr "" msgstr ""
msgid "Tracking reliability" msgid "Tracking reliability"
@ -432,6 +477,12 @@ msgid ""
"specified! Please configure a specific protocol!" "specified! Please configure a specific protocol!"
msgstr "" msgstr ""
msgid "Waiting for MWAN to %s..."
msgstr ""
msgid "Waiting for diagnostic results..."
msgstr ""
msgid "Weight" msgid "Weight"
msgstr "" msgstr ""

View file

@ -1,17 +1,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"Last-Translator: Hsing-Wang Liao <kuoruan@gmail.com>\n" "Last-Translator: Hsing-Wang Liao <kuoruan@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: zh_CN\n"
msgid "%d hour" msgid "%d hour"
msgstr "%d 小时" msgstr "%d 小时"
@ -32,20 +22,23 @@ msgid ""
"Acceptable values: 1-100. This many Tracking IP addresses must respond for " "Acceptable values: 1-100. This many Tracking IP addresses must respond for "
"the link to be deemed up" "the link to be deemed up"
msgstr "" msgstr ""
"接受的值: 1-100。这个设置项指定了当多少个IP地址能够连通时接口会被认为在线" "取值范围: 1-100。这个设置项指定了当多少个 IP 地址能够连通时接口会被认为在线"
msgid "Acceptable values: 1-1000. Defaults to 1 if not set" msgid "Acceptable values: 1-1000. Defaults to 1 if not set"
msgstr "接受的值: 1-100。如果不填写默认值为 1" msgstr "取值范围: 1-100。如果不填写默认值为 1"
msgid "Advanced" msgid "Advanced"
msgstr "高级" msgstr "高级"
msgid "Check IP rules" msgid "Check IP rules"
msgstr "检查IP规则" msgstr "检查 IP 规则"
msgid "Check routing table" msgid "Check routing table"
msgstr "检查路由表" msgstr "检查路由表"
msgid "Collecting data..."
msgstr "正在收集数据..."
msgid "Configuration" msgid "Configuration"
msgstr "配置" msgstr "配置"
@ -73,6 +66,9 @@ msgstr "诊断结果"
msgid "Diagnostics" msgid "Diagnostics"
msgstr "诊断" msgstr "诊断"
msgid "Disabled"
msgstr "禁用"
msgid "" msgid ""
"Downed interface will be deemed up after this many successful ping tests" "Downed interface will be deemed up after this many successful ping tests"
msgstr "当 Ping 成功次数达到这个数值后,已经被认为离线的接口将会重新上线" msgstr "当 Ping 成功次数达到这个数值后,已经被认为离线的接口将会重新上线"
@ -80,6 +76,9 @@ msgstr "当 Ping 成功次数达到这个数值后,已经被认为离线的接
msgid "Enabled" msgid "Enabled"
msgstr "启用" msgstr "启用"
msgid "Error collecting troubleshooting information"
msgstr "收集故障排除信息时出错"
msgid "Errors" msgid "Errors"
msgstr "错误" msgstr "错误"
@ -131,6 +130,9 @@ msgstr "接口"
msgid "Internet Protocol" msgid "Internet Protocol"
msgstr "互联网协议" msgstr "互联网协议"
msgid "Last 50 MWAN systemlog entries. Newest entries sorted at the top :"
msgstr "最近 50 条 MWAN 系统日志,最新条目排在顶部:"
msgid "Last resort" msgid "Last resort"
msgstr "备用成员" msgstr "备用成员"
@ -192,15 +194,19 @@ msgid ""
msgstr "" msgstr ""
"MWAN 支持最多 250 个物理或逻辑接口。<br />MWAN 要求所有接口必须在 /etc/" "MWAN 支持最多 250 个物理或逻辑接口。<br />MWAN 要求所有接口必须在 /etc/"
"config/network 中设定唯一的网关跃点。<br />名称必须与 /etc/config/network 中" "config/network 中设定唯一的网关跃点。<br />名称必须与 /etc/config/network 中"
"的接口名称匹配。(可查看“高级”选项卡)<br />名称允许包括A-Z、a-z、0-9、_ 但是不" "的接口名称匹配。(可查看“高级”选项卡)<br />名称允许包括A-Z、a-z、0-9、_ 但是"
"能有空格。<br />接口不应该与成员、策略、规则中的任意一个设置项使用相同的名称" "不能有空格。<br />接口不应该与成员、策略、规则中的任意一个设置项使用相同的名"
"称"
msgid "" msgid ""
"May be entered as a single or multiple port(s) (eg \"22\" or \"80,443\") or " "May be entered as a single or multiple port(s) (eg \"22\" or \"80,443\") or "
"as a portrange (eg \"1024:2048\") without quotes" "as a portrange (eg \"1024:2048\") without quotes"
msgstr "" msgstr ""
"可以输入一个或多个端口 (例如 \"22\" 或者 \"80,443\") 或者是一个端口范围 (例" "可以输入一个或多个端口(例如 \"22\" 或者 \"80,443\")或者是一个端口范围(例"
"如 \"1024:2048\") 不含引号" "如 \"1024:2048\")不含引号"
msgid "Member"
msgstr "成员"
msgid "Member used" msgid "Member used"
msgstr "使用的成员" msgstr "使用的成员"
@ -213,7 +219,7 @@ msgid ""
">Names may contain characters A-Z, a-z, 0-9, _ and no spaces<br />Members " ">Names may contain characters A-Z, a-z, 0-9, _ and no spaces<br />Members "
"may not share the same name as configured interfaces, policies or rules" "may not share the same name as configured interfaces, policies or rules"
msgstr "" msgstr ""
"“成员”用来设置每一个 MWAN 接口的跃点数 (即接口优先级) 和所占比重。<br />名称" "“成员”用来设置每一个 MWAN 接口的跃点数(即接口优先级)和所占比重。<br />名称"
"允许包括 A-Z、 a-、0-9、_ 但是不能有空格。<br />成员不应该与接口、策略、规则" "允许包括 A-Z、 a-、0-9、_ 但是不能有空格。<br />成员不应该与接口、策略、规则"
"中的任意一个设置项使用相同的名称" "中的任意一个设置项使用相同的名称"
@ -236,6 +242,30 @@ msgstr "网络配置文件"
msgid "No" msgid "No"
msgstr "否" msgstr "否"
msgid "No MWAN interfaces found"
msgstr "没有找到 MWAN 接口"
msgid "No MWAN systemlog history found"
msgstr "没有在系统日志中找到 MWAN 历史信息"
msgid "No detailed status information available"
msgstr "没有状态详细信息可用"
msgid "No diagnostic results returned"
msgstr "没有返回诊断结果"
msgid "No protocol specified"
msgstr "未指定协议"
msgid "Offline"
msgstr "离线"
msgid "Online (tracking active)"
msgstr "在线(追踪启用中)"
msgid "Online (tracking off)"
msgstr "在线(追踪已关闭)"
msgid "Overview" msgid "Overview"
msgstr "概况" msgstr "概况"
@ -281,6 +311,9 @@ msgstr ""
"包括A-Z、a-z、0-9、_ 但是不能有空格。名称应该在 15 个字符以内<br />策略不应该" "包括A-Z、a-z、0-9、_ 但是不能有空格。名称应该在 15 个字符以内<br />策略不应该"
"与接口、成员、规则中的任意一个设置项使用相同的名称" "与接口、成员、规则中的任意一个设置项使用相同的名称"
msgid "Policy"
msgstr "策略"
msgid "Policy assigned" msgid "Policy assigned"
msgstr "分配的策略" msgstr "分配的策略"
@ -299,6 +332,9 @@ msgstr "恢复默认的 hotplug 脚本"
msgid "Restore..." msgid "Restore..."
msgstr "恢复..." msgstr "恢复..."
msgid "Rule"
msgstr "规则"
msgid "Rules" msgid "Rules"
msgstr "规则" msgstr "规则"
@ -342,20 +378,20 @@ msgid "Stop MWAN"
msgstr "停止 MWAN" msgstr "停止 MWAN"
msgid "Supports CIDR notation (eg \"192.168.100.0/24\") without quotes" msgid "Supports CIDR notation (eg \"192.168.100.0/24\") without quotes"
msgstr "支持 CIDR 记法 (例如: \"192.168.100.0/24\") 不含引号" msgstr "支持 CIDR 记法(例如: \"192.168.100.0/24\"不含引号"
msgid "There are currently %d of 250 supported interfaces configured" msgid "There are currently %d of 250 supported interfaces configured"
msgstr "" msgstr "当前已配置 %d 个接口,最大支持 250 个"
msgid ""
"This hostname or IP address will be pinged to determine if the link is up or "
"down. Leave blank to assume interface is always online"
msgstr ""
msgid "" msgid ""
"This displays the metric assigned to this interface in /etc/config/network" "This displays the metric assigned to this interface in /etc/config/network"
msgstr "这里显示了这个接口在 /etc/config/network 中配置的跃点数" msgstr "这里显示了这个接口在 /etc/config/network 中配置的跃点数"
msgid ""
"This hostname or IP address will be pinged to determine if the link is up or "
"down. Leave blank to assume interface is always online"
msgstr "通过 ping 此主机或 IP 地址来确定链路是否在线。留空则认为接口始终在线"
msgid "This section allows you to modify the contents of /etc/config/mwan3" msgid "This section allows you to modify the contents of /etc/config/mwan3"
msgstr "这里允许你修改 /etc/config/mwan3 的内容" msgstr "这里允许你修改 /etc/config/mwan3 的内容"
@ -375,21 +411,21 @@ msgid ""
"$INTERFACE is the interface name (wan1, wan2, etc.)<br />$DEVICE is the " "$INTERFACE is the interface name (wan1, wan2, etc.)<br />$DEVICE is the "
"device name attached to the interface (eth0.1, eth1, etc.)" "device name attached to the interface (eth0.1, eth1, etc.)"
msgstr "" msgstr ""
"这里允许你修改/etc/hotplug.d/iface/16-mwancustom 的内容<br />这可以在接口 " "这里允许你修改 /etc/hotplug.d/iface/16-mwancustom 的内容<br />这可以在接口 "
"ifup 或 ifdown Hotplug 事件时运行系统命令或脚本<br /><br />注意:<br />脚本的" "ifup 或 ifdown Hotplug 事件时运行系统命令或脚本<br /><br />注意:<br />脚本的"
"第一行必须是 &#34;#!/bin/sh&#34; 不含引号<br />以#开头的行是注释,不会执行" "第一行必须是 &#34;#!/bin/sh&#34; 不含引号<br />以#开头的行是注释,不会执行"
"<br /><br />可用变量:<br />$ACTION 是 Hotplug 事件 (ifup, ifdown)<br />" "<br /><br />可用变量:<br />$ACTION 是 Hotplug 事件ifup, ifdown<br />"
"$INTERFACE 是接口名称 (wan1、wan2 等)<br />$DEVICE 是连接到接口的设备名称 " "$INTERFACE 是接口名称wan1、wan2 等)<br />$DEVICE 是连接到接口的设备名称 "
"(eth0.1、eth1 等)" "eth0.1、eth1 等)"
msgid "Tracking hostname or IP address"
msgstr ""
msgid "Tracking IP" msgid "Tracking IP"
msgstr "跟踪的 IP" msgstr "追踪的 IP"
msgid "Tracking hostname or IP address"
msgstr "追踪的主机或 IP 地址"
msgid "Tracking reliability" msgid "Tracking reliability"
msgstr "跟踪可靠性" msgstr "踪可靠性"
msgid "Traffic Rules" msgid "Traffic Rules"
msgstr "流量规则" msgstr "流量规则"
@ -411,70 +447,77 @@ msgid "View the contents of /etc/protocols for protocol descriptions"
msgstr "请查看 /etc/protocols 获取可选协议详情" msgstr "请查看 /etc/protocols 获取可选协议详情"
msgid "WARNING: %d interfaces are configured exceeding the maximum of 250!" msgid "WARNING: %d interfaces are configured exceeding the maximum of 250!"
msgstr "" msgstr "警告: 已配置 %d 个接口,超过最大值 250"
msgid "" msgid ""
"WARNING: Some policies have names exceeding the maximum of 15 characters!" "WARNING: Some policies have names exceeding the maximum of 15 characters!"
msgstr "" msgstr "警告: 某些策略的名称超过了 15 个字符!"
msgid "" msgid ""
"WARNING: some interfaces are configured incorrectly or not at all in /etc/" "WARNING: some interfaces are configured incorrectly or not at all in /etc/"
"config/network!" "config/network!"
msgstr "" msgstr "警告: 某些接口配置不正确或未配置到 /etc/config/network"
msgid "" msgid ""
"WARNING: some interfaces have a higher reliability requirement than there " "WARNING: some interfaces have a higher reliability requirement than there "
"are tracking IP addresses!" "are tracking IP addresses!"
msgstr "" msgstr "警告: 某些接口的追踪可靠性要求大于了追踪 IP 地址总数!"
msgid "" msgid ""
"WARNING: some interfaces have duplicate metrics configured in /etc/config/" "WARNING: some interfaces have duplicate metrics configured in /etc/config/"
"network!" "network!"
msgstr "" msgstr "警告: 某些接口在 /etc/config/network 中配置了相同的跃点数!"
msgid "" msgid ""
"WARNING: some interfaces have no default route in the main routing table!" "WARNING: some interfaces have no default route in the main routing table!"
msgstr "" msgstr "警告: 某些接口在主路由表中没有默认路由!"
msgid "" msgid ""
"WARNING: some interfaces have no metric configured in /etc/config/network!" "WARNING: some interfaces have no metric configured in /etc/config/network!"
msgstr "" msgstr "警告: 某些接口没有在 /etc/config/network 中配置跃点数!"
msgid "" msgid ""
"WARNING: some rules have a port configured with no or improper protocol " "WARNING: some rules have a port configured with no or improper protocol "
"specified! Please configure a specific protocol!" "specified! Please configure a specific protocol!"
msgstr "" msgstr ""
"警告: 某些规则指定了端口却没有配置或配置了不正确的协议,请重新指定协议!"
msgid "" msgid ""
"WARNING: this and other interfaces have duplicate metrics configured in /etc/" "WARNING: this and other interfaces have duplicate metrics configured in /etc/"
"config/network!" "config/network!"
msgstr "" msgstr "警告: 此接口和其他接口在 /etc/config/network 中配置了相同的跃点数!"
msgid "" msgid ""
"WARNING: this interface has a higher reliability requirement than there are " "WARNING: this interface has a higher reliability requirement than there are "
"tracking IP addresses!" "tracking IP addresses!"
msgstr "" msgstr "警告: 此接口的追踪可靠性要求大于了追踪 IP 地址总数!"
msgid "WARNING: this interface has no default route in the main routing table!" msgid "WARNING: this interface has no default route in the main routing table!"
msgstr "" msgstr "警告: 此接口在主路由表中没有默认路由!"
msgid "" msgid ""
"WARNING: this interface has no metric configured in /etc/config/network!" "WARNING: this interface has no metric configured in /etc/config/network!"
msgstr "" msgstr "警告: 此接口没有在 /etc/config/network 中配置跃点数!"
msgid "" msgid ""
"WARNING: this interface is configured incorrectly or not at all in /etc/" "WARNING: this interface is configured incorrectly or not at all in /etc/"
"config/network!" "config/network!"
msgstr "" msgstr "警告: 此接口配置不正确或未配置到 /etc/config/network"
msgid "" msgid ""
"WARNING: this policy's name is %d characters exceeding the maximum of 15!" "WARNING: this policy's name is %d characters exceeding the maximum of 15!"
msgstr "" msgstr "警告: 此策略的名称具有 %d 个字符,超过了 15 个字符!"
msgid "" msgid ""
"WARNING: this rule is incorrectly configured with no or improper protocol " "WARNING: this rule is incorrectly configured with no or improper protocol "
"specified! Please configure a specific protocol!" "specified! Please configure a specific protocol!"
msgstr "" msgstr "警告: 此规则没有配置或配置了不正确的协议,请重新指定协议!"
msgid "Waiting for MWAN to %s..."
msgstr "等待 MWAN %s..."
msgid "Waiting for diagnostic results..."
msgstr "等待诊断结果..."
msgid "Weight" msgid "Weight"
msgstr "比重" msgstr "比重"
@ -493,10 +536,10 @@ msgid "always"
msgstr "总是" msgstr "总是"
msgid "blackhole (drop)" msgid "blackhole (drop)"
msgstr "黑洞 (丢弃)" msgstr "黑洞(丢弃)"
msgid "default (use main routing table)" msgid "default (use main routing table)"
msgstr "默认 (使用主路由表)" msgstr "默认(使用主路由表)"
msgid "ifdown" msgid "ifdown"
msgstr "ifdown" msgstr "ifdown"
@ -508,11 +551,4 @@ msgid "never"
msgstr "从不" msgstr "从不"
msgid "unreachable (reject)" msgid "unreachable (reject)"
msgstr "不可达 (拒绝)" msgstr "不可达(拒绝)"
#~ msgid ""
#~ "This IP address will be pinged to dermine if the link is up or down. "
#~ "Leave blank to assume interface is always online"
#~ msgstr ""
#~ "MWAN 将会通过 Ping 这些 IP 地址来确定接口是否上线。如果留空,则 MWAN 认为"
#~ "该接口永远在线"

File diff suppressed because it is too large Load diff

View file

@ -3010,7 +3010,7 @@ msgid "Switch VLAN"
msgstr "" msgstr ""
msgid "Switch protocol" msgid "Switch protocol"
msgstr "交換器協定" msgstr "切換協定"
msgid "Sync with browser" msgid "Sync with browser"
msgstr "同步瀏覽器" msgstr "同步瀏覽器"