luci-app-mwan3: Add more translate strings
authorkuoruan <kuoruan@gmail.com>
Thu, 20 Jul 2017 05:09:16 +0000 (13:09 +0800)
committerHsing-Wang Liao <kuoruan@gmail.com>
Sun, 23 Jul 2017 02:42:49 +0000 (10:42 +0800)
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
12 files changed:
applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/member.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua
applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua
applications/luci-app-mwan3/luasrc/view/mwan/advanced_diagnostics.htm
applications/luci-app-mwan3/luasrc/view/mwan/advanced_troubleshooting.htm
applications/luci-app-mwan3/luasrc/view/mwan/openwrt_overview_status.htm
applications/luci-app-mwan3/luasrc/view/mwan/overview_detailed.htm
applications/luci-app-mwan3/luasrc/view/mwan/overview_interface.htm
applications/luci-app-mwan3/po/ja/mwan3.po
applications/luci-app-mwan3/po/templates/mwan3.pot
applications/luci-app-mwan3/po/zh-cn/mwan3.po

index 604a4fa..aeabc63 100644 (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"))
        mwan_interface.addremove = true
        mwan_interface.dynamic = false
        "Interfaces may not share the same name as configured members, policies or rules"))
        mwan_interface.addremove = true
        mwan_interface.dynamic = false
-       mwan_interface.sectionhead = "Interface"
+       mwan_interface.sectionhead = translate("Interface")
        mwan_interface.sortable = false
        mwan_interface.template = "cbi/tblsection"
        mwan_interface.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "interface", "%s")
        mwan_interface.sortable = false
        mwan_interface.template = "cbi/tblsection"
        mwan_interface.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "interface", "%s")
index 3bccbd9..efbe8f7 100644 (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"))
        mwan_member.addremove = true
        mwan_member.dynamic = false
        "Members may not share the same name as configured interfaces, policies or rules"))
        mwan_member.addremove = true
        mwan_member.dynamic = false
-       mwan_member.sectionhead = "Member"
+       mwan_member.sectionhead = translate("Member")
        mwan_member.sortable = true
        mwan_member.template = "cbi/tblsection"
        mwan_member.extedit = ds.build_url("admin", "network", "mwan", "configuration", "member", "%s")
        mwan_member.sortable = true
        mwan_member.template = "cbi/tblsection"
        mwan_member.extedit = ds.build_url("admin", "network", "mwan", "configuration", "member", "%s")
index 08c3f69..6640564 100644 (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"))
        mwan_policy.addremove = true
        mwan_policy.dynamic = false
        "Policies may not share the same name as configured interfaces, members or rules"))
        mwan_policy.addremove = true
        mwan_policy.dynamic = false
-       mwan_policy.sectionhead = "Policy"
+       mwan_policy.sectionhead = translate("Policy")
        mwan_policy.sortable = true
        mwan_policy.template = "cbi/tblsection"
        mwan_policy.extedit = ds.build_url("admin", "network", "mwan", "configuration", "policy", "%s")
        mwan_policy.sortable = true
        mwan_policy.template = "cbi/tblsection"
        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
                        return "&#8212;"
                end
                else
                        return "&#8212;"
                end
-               
        end
 
 last_resort = mwan_policy:option(DummyValue, "last_resort", translate("Last resort"))
        end
 
 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)
                local action = self.map:get(s, "last_resort")
                if action == "blackhole" then
        function last_resort.cfgvalue(self, s)
                local action = self.map:get(s, "last_resort")
                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
 
index 412f369..0f4c595 100644 (file)
@@ -47,7 +47,7 @@ mwan_rule = m5:section(TypedSection, "rule", translate("Traffic Rules"),
        mwan_rule.addremove = true
        mwan_rule.anonymous = false
        mwan_rule.dynamic = false
        mwan_rule.addremove = true
        mwan_rule.anonymous = false
        mwan_rule.dynamic = false
-       mwan_rule.sectionhead = "Rule"
+       mwan_rule.sectionhead = translate("Rule")
        mwan_rule.sortable = true
        mwan_rule.template = "cbi/tblsection"
        mwan_rule.extedit = dsp.build_url("admin", "network", "mwan", "configuration", "rule", "%s")
        mwan_rule.sortable = true
        mwan_rule.template = "cbi/tblsection"
        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)
                if self.map:get(s, "sticky") == "1" then
                        stickied = 1
        function sticky.cfgvalue(self, s)
                if self.map:get(s, "sticky") == "1" then
                        stickied = 1
-                       return "Yes"
+                       return translate("Yes")
                else
                        stickied = nil
                else
                        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
                        return ""
                else
                if not string.find(error_protocol_list, " " .. s .. " ") then
                        return ""
                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
 
index 6f350cc..e4a14ad 100644 (file)
                        {
                                output.innerHTML =
                                        '<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="padding: 20px; vertical-align: middle;" /> ' +
                        {
                                output.innerHTML =
                                        '<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
                        {
                                output.innerHTML =
                                        '<img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="padding: 20px; vertical-align: middle;" /> ' +
                                ;
                        }
                        else
                        {
                                output.innerHTML =
                                        '<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>';
                                }
                        }
                );
                                }
                        }
                );
index 21f516b..4174ef4 100644 (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">
        <fieldset class="cbi-section">
                <legend><%:Troubleshooting Data%></legend>
 <div id="troubleshoot">
        <fieldset class="cbi-section">
                <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>
 </div>
 
        </fieldset>
 </div>
 
index 84b1245..7cef063 100644 (file)
                                        switch (mArray.wans[i].status)
                                        {
                                                case 'online':
                                        switch (mArray.wans[i].status)
                                        {
                                                case 'online':
-                                                       stat = 'Online (tracking active)';
+                                                       stat = '<%:Online (tracking active)%>';
                                                        cssc = 'wanon';
                                                        break;
                                                case 'notMonitored':
                                                        cssc = 'wanon';
                                                        break;
                                                case 'notMonitored':
-                                                       stat = 'Online (tracking off)';
+                                                       stat = '<%:Online (tracking off)%>';
                                                        cssc = 'wanon';
                                                        break;
                                                case 'offline':
                                                        cssc = 'wanon';
                                                        break;
                                                case 'offline':
-                                                       stat = 'Offline';
+                                                       stat = '<%:Offline%>';
                                                        cssc = 'wanoff';
                                                        break;
                                                case 'notEnabled':
                                                        cssc = 'wanoff';
                                                        break;
                                                case 'notEnabled':
-                                                       stat = 'Disabled';
+                                                       stat = '<%:Disabled%>';
                                                        cssc = 'wanoff';
                                                        break;
                                        }
                                                        cssc = 'wanoff';
                                                        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">
        <legend><%:MWAN Interface Live Status%></legend>
 
 <fieldset id="interface_field" class="cbi-section">
        <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>
 
 <style type="text/css">
 </fieldset>
 
 <style type="text/css">
index bbb617b..6a800c3 100644 (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">
        <fieldset class="cbi-section">
                <legend><%:MWAN Detailed Status%></legend>
 <div id="mwan_detail_status">
        <fieldset class="cbi-section">
                <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>
 </div>
 
        </fieldset>
 </div>
 
index f4c8b12..2929a6d 100644 (file)
                                        switch (mArray.wans[i].status)
                                        {
                                                case 'online':
                                        switch (mArray.wans[i].status)
                                        {
                                                case 'online':
-                                                       status = 'Online (tracking active)';
+                                                       status = '<%:Online (tracking active)%>';
                                                        css = 'wanon';
                                                        break;
                                                case 'notMonitored':
                                                        css = 'wanon';
                                                        break;
                                                case 'notMonitored':
-                                                       status = 'Online (tracking off)';
+                                                       status = '<%:Online (tracking off)%>';
                                                        css = 'wanon';
                                                        break;
                                                case 'offline':
                                                        css = 'wanon';
                                                        break;
                                                case 'offline':
-                                                       status = 'Offline';
+                                                       status = '<%:Offline%>';
                                                        css = 'wanoff';
                                                        break;
                                                case 'notEnabled':
                                                        css = 'wanoff';
                                                        break;
                                                case 'notEnabled':
-                                                       status = 'Disabled';
+                                                       status = '<%:Disabled%>';
                                                        css = 'wanoff';
                                                        break;
                                        }
                                                        css = 'wanoff';
                                                        break;
                                        }
                        }
                        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');
                        if (mArray.mwanlog)
                        {
                        }
 
                        var logs = document.getElementById('mwan_statuslog_text');
                        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]);
                        }
                        else
                        {
                                logs.innerHTML = String.format('<pre>%s<br /><br />%s</pre>', mwanLog, mArray.mwanlog[0]);
                        }
                        else
                        {
-                               logs.innerHTML = '<strong>No MWAN systemlog history found</strong>';
+                               logs.innerHTML = '<strong><%:No MWAN systemlog history found%></strong>';
                        }
                }
        );
                        }
                }
        );
 <div id="mwan_interface_status">
        <fieldset id="interface_field" class="cbi-section">
                <legend><%:MWAN Interface Live Status%></legend>
 <div id="mwan_interface_status">
        <fieldset id="interface_field" class="cbi-section">
                <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 class="cbi-section">
                <legend><%:MWAN Interface Systemlog%></legend>
        </fieldset>
        <fieldset class="cbi-section">
                <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>
 </div>
 
        </fieldset>
 </div>
 
index 834a820..0d6ea15 100644 (file)
@@ -46,6 +46,9 @@ msgstr "IP ルールのチェック"
 msgid "Check routing table"
 msgstr "ルーティング テーブルのチェック"
 
 msgid "Check routing table"
 msgstr "ルーティング テーブルのチェック"
 
+msgid "Collecting data..."
+msgstr ""
+
 msgid "Configuration"
 msgstr "設定"
 
 msgid "Configuration"
 msgstr "設定"
 
@@ -73,6 +76,9 @@ msgstr "診断結果"
 msgid "Diagnostics"
 msgstr "診断機能"
 
 msgid "Diagnostics"
 msgstr "診断機能"
 
+msgid "Disabled"
+msgstr ""
+
 msgid ""
 "Downed interface will be deemed up after this many successful ping tests"
 msgstr ""
 msgid ""
 "Downed interface will be deemed up after this many successful ping tests"
 msgstr ""
@@ -82,6 +88,9 @@ msgstr ""
 msgid "Enabled"
 msgstr "有効"
 
 msgid "Enabled"
 msgstr "有効"
 
+msgid "Error collecting troubleshooting information"
+msgstr ""
+
 msgid "Errors"
 msgstr "エラー"
 
 msgid "Errors"
 msgstr "エラー"
 
@@ -135,6 +144,9 @@ msgstr "インターフェース"
 msgid "Internet Protocol"
 msgstr "インターネット プロトコル"
 
 msgid "Internet Protocol"
 msgstr "インターネット プロトコル"
 
+msgid "Last 50 MWAN systemlog entries. Newest entries sorted at the top :"
+msgstr ""
+
 msgid "Last resort"
 msgstr "最終手段"
 
 msgid "Last resort"
 msgstr "最終手段"
 
@@ -209,6 +221,9 @@ msgstr ""
 "単一または複数のポート(例: \"22\" または \"80,443\")、あるいはポートの範囲"
 "(例: \"1024:2048\")を、クオーテーション無しで指定することができます。"
 
 "単一または複数のポート(例: \"22\" または \"80,443\")、あるいはポートの範囲"
 "(例: \"1024:2048\")を、クオーテーション無しで指定することができます。"
 
+msgid "Member"
+msgstr ""
+
 msgid "Member used"
 msgstr "使用されるメンバー"
 
 msgid "Member used"
 msgstr "使用されるメンバー"
 
@@ -244,6 +259,30 @@ msgstr "ネットワーク設定"
 msgid "No"
 msgstr "いいえ"
 
 msgid "No"
 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"
 msgstr "概要"
 
 msgid "Overview"
 msgstr "概要"
 
@@ -292,6 +331,9 @@ msgstr ""
 "ん。また、15文字以内でなければなりません。<br />ポリシーでは、設定済みのイン"
 "ターフェースやメンバー、ルールと同じ名前を使用することはできません。"
 
 "ん。また、15文字以内でなければなりません。<br />ポリシーでは、設定済みのイン"
 "ターフェースやメンバー、ルールと同じ名前を使用することはできません。"
 
+msgid "Policy"
+msgstr ""
+
 msgid "Policy assigned"
 msgstr "アサイン済みポリシー"
 
 msgid "Policy assigned"
 msgstr "アサイン済みポリシー"
 
@@ -310,6 +352,9 @@ msgstr "デフォルトのホットプラグ スクリプトの復元"
 msgid "Restore..."
 msgstr "復元..."
 
 msgid "Restore..."
 msgstr "復元..."
 
+msgid "Rule"
+msgstr ""
+
 msgid "Rules"
 msgstr "ルール"
 
 msgid "Rules"
 msgstr "ルール"
 
@@ -362,6 +407,11 @@ msgid "There are currently %d of 250 supported interfaces configured"
 msgstr "現在、250個中 %d 個のサポートされたインターフェースが設定済みです。"
 
 msgid ""
 msgstr "現在、250個中 %d 個のサポートされたインターフェースが設定済みです。"
 
 msgid ""
+"This displays the metric assigned to this interface in /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 ""
 "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 ""
@@ -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"
 msgstr ""
 "このセクションでは、 /etc/config/mwan3 の内容を変更することができます。"
 msgid "This section allows you to modify the contents of /etc/config/mwan3"
 msgstr ""
 "このセクションでは、 /etc/config/mwan3 の内容を変更することができます。"
@@ -406,12 +451,12 @@ msgstr ""
 "wan2, その他)<br />$DEVICE - インターフェースにアタッチされたデバイスの名前"
 "(eth0.1, eth1, その他)"
 
 "wan2, その他)<br />$DEVICE - インターフェースにアタッチされたデバイスの名前"
 "(eth0.1, eth1, その他)"
 
-msgid "Tracking hostname or IP address"
-msgstr "追跡ホスト名または IP アドレス"
-
 msgid "Tracking IP"
 msgstr "追跡 IP"
 
 msgid "Tracking IP"
 msgstr "追跡 IP"
 
+msgid "Tracking hostname or IP address"
+msgstr "追跡ホスト名または IP アドレス"
+
 msgid "Tracking reliability"
 msgstr "追跡の信頼性"
 
 msgid "Tracking reliability"
 msgstr "追跡の信頼性"
 
@@ -529,6 +574,12 @@ msgstr ""
 "警告: このルールは不適切なプロトコルが指定されているか、または何も指定されて"
 "いません!プロトコルを指定し直してください!"
 
 "警告: このルールは不適切なプロトコルが指定されているか、または何も指定されて"
 "いません!プロトコルを指定し直してください!"
 
+msgid "Waiting for MWAN to %s..."
+msgstr ""
+
+msgid "Waiting for diagnostic results..."
+msgstr ""
+
 msgid "Weight"
 msgstr "ウエイト"
 
 msgid "Weight"
 msgstr "ウエイト"
 
index 3040d26..d9bddf5 100644 (file)
@@ -33,6 +33,9 @@ msgstr ""
 msgid "Check routing table"
 msgstr ""
 
 msgid "Check routing table"
 msgstr ""
 
+msgid "Collecting data..."
+msgstr ""
+
 msgid "Configuration"
 msgstr ""
 
 msgid "Configuration"
 msgstr ""
 
@@ -60,6 +63,9 @@ msgstr ""
 msgid "Diagnostics"
 msgstr ""
 
 msgid "Diagnostics"
 msgstr ""
 
+msgid "Disabled"
+msgstr ""
+
 msgid ""
 "Downed interface will be deemed up after this many successful ping tests"
 msgstr ""
 msgid ""
 "Downed interface will be deemed up after this many successful ping tests"
 msgstr ""
@@ -67,6 +73,9 @@ msgstr ""
 msgid "Enabled"
 msgstr ""
 
 msgid "Enabled"
 msgstr ""
 
+msgid "Error collecting troubleshooting information"
+msgstr ""
+
 msgid "Errors"
 msgstr ""
 
 msgid "Errors"
 msgstr ""
 
@@ -118,6 +127,9 @@ msgstr ""
 msgid "Internet Protocol"
 msgstr ""
 
 msgid "Internet Protocol"
 msgstr ""
 
+msgid "Last 50 MWAN systemlog entries. Newest entries sorted at the top :"
+msgstr ""
+
 msgid "Last resort"
 msgstr ""
 
 msgid "Last resort"
 msgstr ""
 
@@ -183,6 +195,9 @@ msgid ""
 "as a portrange (eg \"1024:2048\") without quotes"
 msgstr ""
 
 "as a portrange (eg \"1024:2048\") without quotes"
 msgstr ""
 
+msgid "Member"
+msgstr ""
+
 msgid "Member used"
 msgstr ""
 
 msgid "Member used"
 msgstr ""
 
@@ -212,6 +227,30 @@ msgstr ""
 msgid "No"
 msgstr ""
 
 msgid "No"
 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"
 msgstr ""
 
 msgid "Overview"
 msgstr ""
 
@@ -252,6 +291,9 @@ msgid ""
 "configured interfaces, members or rules"
 msgstr ""
 
 "configured interfaces, members or rules"
 msgstr ""
 
+msgid "Policy"
+msgstr ""
+
 msgid "Policy assigned"
 msgstr ""
 
 msgid "Policy assigned"
 msgstr ""
 
@@ -270,6 +312,9 @@ msgstr ""
 msgid "Restore..."
 msgstr ""
 
 msgid "Restore..."
 msgstr ""
 
+msgid "Rule"
+msgstr ""
+
 msgid "Rules"
 msgstr ""
 
 msgid "Rules"
 msgstr ""
 
@@ -312,12 +357,12 @@ msgid "There are currently %d of 250 supported interfaces configured"
 msgstr ""
 
 msgid ""
 msgstr ""
 
 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"
+"This displays the metric assigned to this interface in /etc/config/network"
 msgstr ""
 
 msgid ""
 msgstr ""
 
 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 ""
 
 msgid "This section allows you to modify the contents of /etc/config/mwan3"
 msgstr ""
 
 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.)"
 msgstr ""
 
 "device name attached to the interface (eth0.1, eth1, etc.)"
 msgstr ""
 
-msgid "Tracking hostname or IP address"
+msgid "Tracking IP"
 msgstr ""
 
 msgstr ""
 
-msgid "Tracking IP"
+msgid "Tracking hostname or IP address"
 msgstr ""
 
 msgid "Tracking reliability"
 msgstr ""
 
 msgid "Tracking reliability"
@@ -432,6 +477,12 @@ msgid ""
 "specified! Please configure a specific protocol!"
 msgstr ""
 
 "specified! Please configure a specific protocol!"
 msgstr ""
 
+msgid "Waiting for MWAN to %s..."
+msgstr ""
+
+msgid "Waiting for diagnostic results..."
+msgstr ""
+
 msgid "Weight"
 msgstr ""
 
 msgid "Weight"
 msgstr ""
 
index d1066c5..37f96a1 100644 (file)
@@ -46,6 +46,9 @@ msgstr "检查IP规则"
 msgid "Check routing table"
 msgstr "检查路由表"
 
 msgid "Check routing table"
 msgstr "检查路由表"
 
+msgid "Collecting data..."
+msgstr ""
+
 msgid "Configuration"
 msgstr "配置"
 
 msgid "Configuration"
 msgstr "配置"
 
@@ -73,6 +76,9 @@ msgstr "诊断结果"
 msgid "Diagnostics"
 msgstr "诊断"
 
 msgid "Diagnostics"
 msgstr "诊断"
 
+msgid "Disabled"
+msgstr ""
+
 msgid ""
 "Downed interface will be deemed up after this many successful ping tests"
 msgstr "当 Ping 成功次数达到这个数值后,已经被认为离线的接口将会重新上线"
 msgid ""
 "Downed interface will be deemed up after this many successful ping tests"
 msgstr "当 Ping 成功次数达到这个数值后,已经被认为离线的接口将会重新上线"
@@ -80,6 +86,9 @@ msgstr "当 Ping 成功次数达到这个数值后,已经被认为离线的接
 msgid "Enabled"
 msgstr "启用"
 
 msgid "Enabled"
 msgstr "启用"
 
+msgid "Error collecting troubleshooting information"
+msgstr ""
+
 msgid "Errors"
 msgstr "错误"
 
 msgid "Errors"
 msgstr "错误"
 
@@ -131,6 +140,9 @@ msgstr "接口"
 msgid "Internet Protocol"
 msgstr "互联网协议"
 
 msgid "Internet Protocol"
 msgstr "互联网协议"
 
+msgid "Last 50 MWAN systemlog entries. Newest entries sorted at the top :"
+msgstr ""
+
 msgid "Last resort"
 msgstr "备用成员"
 
 msgid "Last resort"
 msgstr "备用成员"
 
@@ -202,6 +214,9 @@ msgstr ""
 "可以输入一个或多个端口 (例如 \"22\" 或者 \"80,443\") 或者是一个端口范围 (例"
 "如 \"1024:2048\") 不含引号"
 
 "可以输入一个或多个端口 (例如 \"22\" 或者 \"80,443\") 或者是一个端口范围 (例"
 "如 \"1024:2048\") 不含引号"
 
+msgid "Member"
+msgstr ""
+
 msgid "Member used"
 msgstr "使用的成员"
 
 msgid "Member used"
 msgstr "使用的成员"
 
@@ -236,6 +251,30 @@ msgstr "网络配置文件"
 msgid "No"
 msgstr "否"
 
 msgid "No"
 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"
 msgstr "概况"
 
 msgid "Overview"
 msgstr "概况"
 
@@ -281,6 +320,9 @@ msgstr ""
 "包括A-Z、a-z、0-9、_ 但是不能有空格。名称应该在 15 个字符以内<br />策略不应该"
 "与接口、成员、规则中的任意一个设置项使用相同的名称"
 
 "包括A-Z、a-z、0-9、_ 但是不能有空格。名称应该在 15 个字符以内<br />策略不应该"
 "与接口、成员、规则中的任意一个设置项使用相同的名称"
 
+msgid "Policy"
+msgstr ""
+
 msgid "Policy assigned"
 msgstr "分配的策略"
 
 msgid "Policy assigned"
 msgstr "分配的策略"
 
@@ -299,6 +341,9 @@ msgstr "恢复默认的 hotplug 脚本"
 msgid "Restore..."
 msgstr "恢复..."
 
 msgid "Restore..."
 msgstr "恢复..."
 
+msgid "Rule"
+msgstr ""
+
 msgid "Rules"
 msgstr "规则"
 
 msgid "Rules"
 msgstr "规则"
 
@@ -348,14 +393,14 @@ msgid "There are currently %d of 250 supported interfaces configured"
 msgstr ""
 
 msgid ""
 msgstr ""
 
 msgid ""
+"This displays the metric assigned to this interface in /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 ""
 
 "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 ""
-"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"
 msgstr "这里允许你修改 /etc/config/mwan3 的内容"
 
 msgid "This section allows you to modify the contents of /etc/config/mwan3"
 msgstr "这里允许你修改 /etc/config/mwan3 的内容"
 
@@ -382,12 +427,12 @@ msgstr ""
 "$INTERFACE 是接口名称 (wan1、wan2 等)<br />$DEVICE 是连接到接口的设备名称 "
 "(eth0.1、eth1 等)"
 
 "$INTERFACE 是接口名称 (wan1、wan2 等)<br />$DEVICE 是连接到接口的设备名称 "
 "(eth0.1、eth1 等)"
 
-msgid "Tracking hostname or IP address"
-msgstr ""
-
 msgid "Tracking IP"
 msgstr "跟踪的 IP"
 
 msgid "Tracking IP"
 msgstr "跟踪的 IP"
 
+msgid "Tracking hostname or IP address"
+msgstr ""
+
 msgid "Tracking reliability"
 msgstr "跟踪可靠性"
 
 msgid "Tracking reliability"
 msgstr "跟踪可靠性"
 
@@ -476,6 +521,12 @@ msgid ""
 "specified! Please configure a specific protocol!"
 msgstr ""
 
 "specified! Please configure a specific protocol!"
 msgstr ""
 
+msgid "Waiting for MWAN to %s..."
+msgstr ""
+
+msgid "Waiting for diagnostic results..."
+msgstr ""
+
 msgid "Weight"
 msgstr "比重"
 
 msgid "Weight"
 msgstr "比重"