diff options
author | Florian Eckert <fe@dev.tdt.de> | 2017-11-03 09:56:58 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2017-11-03 10:13:09 +0100 |
commit | afd84b3cabfa9b797689685742289774bb1c98e8 (patch) | |
tree | 2c1a840226d3c6f3d6d9320256681cde36085123 /applications/luci-app-mwan3 | |
parent | 87ec343637ed953b7972a5baeb3e2a108b5d6882 (diff) |
luci-app-mwan3: fix i18n spelling
Fix i18n en spelling
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-mwan3')
9 files changed, 104 insertions, 105 deletions
diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua index c8c122ad4..5ee5fb39f 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua @@ -64,19 +64,19 @@ function interfaceWarnings() -- display status and warning messages at the top o warnings = "<font color=\"ff0000\"><strong>" .. translatef("WARNING: %d interfaces are configured exceeding the maximum of 250!", interfaceNumber) .. "</strong></font>" end if errorReliabilityList ~= " " then - warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: some interfaces have a higher reliability requirement than there are tracking IP addresses!") .. "</strong></font>" + warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: Some interfaces have a higher reliability requirement than there are tracking IP addresses!") .. "</strong></font>" end if errorRouteList ~= " " then - warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: some interfaces have no default route in the main routing table!") .. "</strong></font>" + warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: Some interfaces have no default route in the main routing table!") .. "</strong></font>" end if errorNetConfigList ~= " " then - warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: some interfaces are configured incorrectly or not at all in /etc/config/network!") .. "</strong></font>" + warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: Some interfaces are configured incorrectly or not at all in /etc/config/network!") .. "</strong></font>" end if errorNoMetricList ~= " " then - warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: some interfaces have no metric configured in /etc/config/network!") .. "</strong></font>" + warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: Some interfaces have no metric configured in /etc/config/network!") .. "</strong></font>" end if errorDuplicateMetricList ~= " " then - warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: some interfaces have duplicate metrics configured in /etc/config/network!") .. "</strong></font>" + warnings = warnings .. "<br /><br /><font color=\"ff0000\"><strong>" .. translate("WARNING: Some interfaces have duplicate metrics configured in /etc/config/network!") .. "</strong></font>" end return warnings end diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua index 0318091d6..a7d7c5af7 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua @@ -50,21 +50,21 @@ end function interfaceWarnings() -- display warning messages at the top of the page local warns, lineBreak = "", "" if errorReliability == 1 then - warns = "<font color=\"ff0000\"><strong>" .. translate("WARNING: this interface has a higher reliability requirement than there are tracking IP addresses!") .. "</strong></font>" + warns = "<font color=\"ff0000\"><strong>" .. translate("WARNING: This interface has a higher reliability requirement than there are tracking IP addresses!") .. "</strong></font>" lineBreak = "<br /><br />" end if errorRoute == 1 then - warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: this interface has no default route in the main routing table!") .. "</strong></font>" + warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: This interface has no default route in the main routing table!") .. "</strong></font>" lineBreak = "<br /><br />" end if errorNetConfig == 1 then - warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: this interface is configured incorrectly or not at all in /etc/config/network!") .. "</strong></font>" + warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: This interface is configured incorrectly or not at all in /etc/config/network!") .. "</strong></font>" lineBreak = "<br /><br />" end if errorNoMetric == 1 then - warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: this interface has no metric configured in /etc/config/network!") .. "</strong></font>" + warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: This interface has no metric configured in /etc/config/network!") .. "</strong></font>" elseif errorDuplicateMetric == 1 then - warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: this and other interfaces have duplicate metrics configured in /etc/config/network!") .. "</strong></font>" + warns = warns .. lineBreak .. "<font color=\"ff0000\"><strong>" .. translate("WARNING: This and other interfaces have duplicate metrics configured in /etc/config/network!") .. "</strong></font>" end return warns end diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua index 06a0fec66..feb62dc8a 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policyconfig.lua @@ -9,7 +9,7 @@ end function policyWarn() -- display status and warning messages at the top of the page if nameTooLong == 1 then - return "<font color=\"ff0000\"><strong>" .. translatef("WARNING: this policy's name is %d characters exceeding the maximum of 15!", policyNameLength) .. "</strong></font>" + return "<font color=\"ff0000\"><strong>" .. translatef("WARNING: This policy's name is %d characters exceeding the maximum of 15!", policyNameLength) .. "</strong></font>" else return "" end diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua index 0f4c5950a..9cb4756fc 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/rule.lua @@ -17,7 +17,7 @@ end function ruleWarn() -- display warning messages at the top of the page if error_protocol_list ~= " " then - return "<font color=\"ff0000\"><strong>" .. translate("WARNING: some rules have a port configured with no or improper protocol specified! Please configure a specific protocol!") .. "</strong></font>" + return "<font color=\"ff0000\"><strong>" .. translate("WARNING: Some rules have a port configured with no or improper protocol specified! Please configure a specific protocol!") .. "</strong></font>" else return "" end diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua index 25a96f5c8..cb1b45d26 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/ruleconfig.lua @@ -13,7 +13,7 @@ end function ruleWarn() -- display warning message at the top of the page if error_protocol == 1 then - return "<font color=\"ff0000\"><strong>" .. translate("WARNING: this rule is incorrectly configured with no or improper protocol specified! Please configure a specific protocol!") .. "</strong></font>" + return "<font color=\"ff0000\"><strong>" .. translate("WARNING: This rule is incorrectly configured with no or improper protocol specified! Please configure a specific protocol!") .. "</strong></font>" else return "" end diff --git a/applications/luci-app-mwan3/po/ja/mwan3.po b/applications/luci-app-mwan3/po/ja/mwan3.po index 72c5dddab..34a9f1f3b 100644 --- a/applications/luci-app-mwan3/po/ja/mwan3.po +++ b/applications/luci-app-mwan3/po/ja/mwan3.po @@ -524,90 +524,90 @@ msgstr "" "警告: %d 個のインターフェースが、最大個数の 250個 を超えて設定されています!" msgid "" -"WARNING: Some policies have names exceeding the maximum of 15 characters!" -msgstr "" -"警告: 最大文字数の 15 文字を超える名前が設定されているポリシーがあります!" - -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!" msgstr "" "警告: 設定を誤っているか、もしくは完全に設定されていないインターフェースがあ" "ります!" 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!" msgstr "" "警告: 追跡 IP アドレスの個数より大きい追跡信頼性の値が設定されたインター" "フェースがあります!" msgid "" -"WARNING: some interfaces have duplicate metrics configured in /etc/config/" +"WARNING: Some interfaces have duplicate metrics configured in /etc/config/" "network!" msgstr "" "警告: /etc/config/network で、重複するメトリックを設定されているインター" "フェースがあります!" 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 "" "警告: メインのルーティング テーブルで、デフォルト ルートを設定されていないイ" "ンターフェースがあります!" msgid "" -"WARNING: some interfaces have no metric configured in /etc/config/network!" +"WARNING: Some interfaces have no metric configured in /etc/config/network!" msgstr "" "警告: /etc/config/network で、メトリックを設定されていないインターフェースが" "あります!" msgid "" -"WARNING: some rules have a port configured with no or improper protocol " +"WARNING: Some policies have names exceeding the maximum of 15 characters!" +msgstr "" +"警告: 最大文字数の 15 文字を超える名前が設定されているポリシーがあります!" + +msgid "" +"WARNING: Some rules have a port configured with no or improper protocol " "specified! Please configure a specific protocol!" msgstr "" "警告: 不適切なプロトコルが指定されている、または何も指定されていないポートを" "設定されたルールがあります!プロトコルを指定し直してください!" 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!" msgstr "" "警告: これと他のインターフェースで重複するメトリックが /etc/config/network に" "設定されています!" 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!" 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 "" "警告: このインターフェースは、メインのルーティング テーブルにデフォルト ルー" "トが設定されていません!" msgid "" -"WARNING: this interface has no metric configured in /etc/config/network!" +"WARNING: This interface has no metric configured in /etc/config/network!" msgstr "" "警告: このインターフェースは、 /etc/config/network でメトリックが設定されてい" "ません!" 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!" msgstr "" "警告: このインターフェースは /etc/config/network で設定が誤っているか、もしく" "は完全に設定されていません!" 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 "" "警告: このポリシーの名前は、最大文字数 15 文字を超える %d 文字が設定されてい" "ます!" 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!" msgstr "" "警告: このルールは不適切なプロトコルが指定されているか、または何も指定されて" diff --git a/applications/luci-app-mwan3/po/templates/mwan3.pot b/applications/luci-app-mwan3/po/templates/mwan3.pot index e63d8adc2..ed9fdb131 100644 --- a/applications/luci-app-mwan3/po/templates/mwan3.pot +++ b/applications/luci-app-mwan3/po/templates/mwan3.pot @@ -450,65 +450,65 @@ msgid "WARNING: %d interfaces are configured exceeding the maximum of 250!" msgstr "" msgid "" -"WARNING: Some policies have names exceeding the maximum of 15 characters!" -msgstr "" - -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!" msgstr "" 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!" msgstr "" msgid "" -"WARNING: some interfaces have duplicate metrics configured in /etc/config/" +"WARNING: Some interfaces have duplicate metrics configured in /etc/config/" "network!" msgstr "" 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 "" msgid "" -"WARNING: some interfaces have no metric configured in /etc/config/network!" +"WARNING: Some interfaces have no metric configured in /etc/config/network!" +msgstr "" + +msgid "" +"WARNING: Some policies have names exceeding the maximum of 15 characters!" msgstr "" 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!" msgstr "" 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!" msgstr "" 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!" msgstr "" -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 "" msgid "" -"WARNING: this interface has no metric configured in /etc/config/network!" +"WARNING: This interface has no metric configured in /etc/config/network!" msgstr "" 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!" msgstr "" 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 "" 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!" msgstr "" diff --git a/applications/luci-app-mwan3/po/zh-cn/mwan3.po b/applications/luci-app-mwan3/po/zh-cn/mwan3.po index 987111f1c..d0b92a6df 100644 --- a/applications/luci-app-mwan3/po/zh-cn/mwan3.po +++ b/applications/luci-app-mwan3/po/zh-cn/mwan3.po @@ -495,66 +495,66 @@ msgid "WARNING: %d interfaces are configured exceeding the maximum of 250!" msgstr "警告:已配置 %d 个接口,超过最大值 250!" msgid "" -"WARNING: Some policies have names exceeding the maximum of 15 characters!" -msgstr "警告:某些策略的名称超过了 15 个字符!" - -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!" msgstr "警告:某些接口配置不正确或未配置到 /etc/config/network!" 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!" msgstr "警告:某些接口的跟踪可靠性要求大于了跟踪 IP 地址总数!" msgid "" -"WARNING: some interfaces have duplicate metrics configured in /etc/config/" +"WARNING: Some interfaces have duplicate metrics configured in /etc/config/" "network!" msgstr "警告:某些接口在 /etc/config/network 中配置了相同的跃点数!" 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 "警告:某些接口在主路由表中没有默认路由!" msgid "" -"WARNING: some interfaces have no metric configured in /etc/config/network!" +"WARNING: Some interfaces have no metric configured in /etc/config/network!" msgstr "警告:某些接口没有在 /etc/config/network 中配置跃点数!" msgid "" -"WARNING: some rules have a port configured with no or improper protocol " +"WARNING: Some policies have names exceeding the maximum of 15 characters!" +msgstr "警告:某些策略的名称超过了 15 个字符!" + +msgid "" +"WARNING: Some rules have a port configured with no or improper protocol " "specified! Please configure a specific protocol!" msgstr "" "警告:某些规则指定了端口却没有配置或配置了不正确的协议,请重新指定协议!" 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!" msgstr "警告:此接口和其他接口在 /etc/config/network 中配置了相同的跃点数!" 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!" 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 "警告:此接口在主路由表中没有默认路由!" msgid "" -"WARNING: this interface has no metric configured in /etc/config/network!" +"WARNING: This interface has no metric configured in /etc/config/network!" msgstr "警告:此接口没有在 /etc/config/network 中配置跃点数!" 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!" msgstr "警告:此接口配置不正确或未配置到 /etc/config/network!" 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 "警告:此策略的名称具有 %d 个字符,超过了 15 个字符!" 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!" msgstr "警告:此规则没有配置或配置了不正确的协议,请重新指定协议!" diff --git a/applications/luci-app-mwan3/po/zh-tw/mwan3.po b/applications/luci-app-mwan3/po/zh-tw/mwan3.po index dfc9ac81b..04711ac3d 100644 --- a/applications/luci-app-mwan3/po/zh-tw/mwan3.po +++ b/applications/luci-app-mwan3/po/zh-tw/mwan3.po @@ -228,10 +228,10 @@ msgid "" "members, policies or rules" msgstr "" "MWAN 支援最多 250 個物理或邏輯介面。<br />MWAN 要求所有介面必須在 /etc/" -"config/network 中設定唯一的閘道器躍點。<br />名稱必須與 /etc/config/network 中" -"的介面名稱匹配。(可檢視“高階”選項卡)<br />名稱允許包括 A-Z、a-z、0-9、_ 但" -"是不能有空格。<br />介面不應該與成員、策略、規則中的任意一個設定項使用相同的" -"名稱" +"config/network 中設定唯一的閘道器躍點。<br />名稱必須與 /etc/config/network " +"中的介面名稱匹配。(可檢視“高階”選項卡)<br />名稱允許包括 A-Z、a-z、0-9、_ " +"但是不能有空格。<br />介面不應該與成員、策略、規則中的任意一個設定項使用相同" +"的名稱" msgid "" "May be entered as a single or multiple port(s) (eg \"22\" or \"80,443\") or " @@ -254,9 +254,9 @@ msgid "" ">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" msgstr "" -"“成員”用來設定每一個 MWAN 介面的躍點數(即介面優先順序)和所佔比重。<br />名稱" -"允許包括 A-Z、 a-、0-9、_ 但是不能有空格。<br />成員不應該與介面、策略、規則" -"中的任意一個設定項使用相同的名稱" +"“成員”用來設定每一個 MWAN 介面的躍點數(即介面優先順序)和所佔比重。<br />名" +"稱允許包括 A-Z、 a-、0-9、_ 但是不能有空格。<br />成員不應該與介面、策略、規" +"則中的任意一個設定項使用相同的名稱" msgid "Members assigned" msgstr "分配的成員" @@ -380,10 +380,10 @@ msgid "" ">Names may contain characters A-Z, a-z, 0-9, _ and no spaces<br />Rules may " "not share the same name as configured interfaces, members or policies" msgstr "" -"“規則”基於 IP 位址、協議、埠把流量劃分到指定的“策略”中。<br />規則按照從上" -"到下的順序進行匹配。除了第一條能夠匹配一次通訊的規則以外,其它規則將被忽略。" -"不匹配任何規則的通訊將會由系統預設路由表進行。<br />來自已知的網路的轉發流量" -"由系統預設路由表接手,然後 MWAN 從中匹配出相應的流量並轉移到 MWAN 自己的路由" +"“規則”基於 IP 位址、協議、埠把流量劃分到指定的“策略”中。<br />規則按照從上到" +"下的順序進行匹配。除了第一條能夠匹配一次通訊的規則以外,其它規則將被忽略。不" +"匹配任何規則的通訊將會由系統預設路由表進行。<br />來自已知的網路的轉發流量由" +"系統預設路由表接手,然後 MWAN 從中匹配出相應的流量並轉移到 MWAN 自己的路由" "表。但是所有被劃分到一個無法使用的策略的流量將會無法正常進行路由。<br />名稱" "允許包括A-Z、a-z、0-9、_ 但是不能有空格。<br />規則不應該與介面、成員、策略中" "的任意一個設定項使用相同的名稱" @@ -438,11 +438,11 @@ msgid "" "which interface went up or down (e.g. \"eth0\" or \"wwan0\")<br /><br />" msgstr "" "這裡允許您修改“/etc/mwan3.user”的內容。<br />該檔案在 sysupgrade 期間也會保" -"留。<br /><br />注意:<br />該檔案會作為 shell 指令碼解釋。<br />指令碼的第一行必" -"須是"#!/bin/sh",不帶引號。<br />以#開頭的行是註釋,不會執行。<br />" -"將您的自定義 mwan3 動作放在這裡,他們將<br />在啟用 mwan3 的介面上<br />在 " -"netifd hotplug 介面事件時執行。<br /><br />有三個主要的環境變數傳遞給這個腳" -"本。<br /><br />$ACTION “ifup”或“ifdown”<br />$INTERFACE 啟動或停止的介面名" +"留。<br /><br />注意:<br />該檔案會作為 shell 指令碼解釋。<br />指令碼的第一" +"行必須是"#!/bin/sh",不帶引號。<br />以#開頭的行是註釋,不會執行。" +"<br />將您的自定義 mwan3 動作放在這裡,他們將<br />在啟用 mwan3 的介面上<br /" +">在 netifd hotplug 介面事件時執行。<br /><br />有三個主要的環境變數傳遞給這個" +"腳本。<br /><br />$ACTION “ifup”或“ifdown”<br />$INTERFACE 啟動或停止的介面名" "(例如“wan”或“wwan”)<br />$DEVICE 啟動或停止介面的物理裝置名(例" "如“eth0”或“wwan0”)<br /><br />" @@ -495,66 +495,65 @@ msgid "WARNING: %d interfaces are configured exceeding the maximum of 250!" msgstr "警告:已配置 %d 個介面,超過最大值 250!" msgid "" -"WARNING: Some policies have names exceeding the maximum of 15 characters!" -msgstr "警告:某些策略的名稱超過了 15 個字元!" - -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!" msgstr "警告:某些介面配置不正確或未配置到 /etc/config/network!" 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!" msgstr "警告:某些介面的跟蹤可靠性要求大於了跟蹤 IP 位址總數!" msgid "" -"WARNING: some interfaces have duplicate metrics configured in /etc/config/" +"WARNING: Some interfaces have duplicate metrics configured in /etc/config/" "network!" msgstr "警告:某些介面在 /etc/config/network 中配置了相同的躍點數!" 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 "警告:某些介面在主路由表中沒有預設路由!" msgid "" -"WARNING: some interfaces have no metric configured in /etc/config/network!" +"WARNING: Some interfaces have no metric configured in /etc/config/network!" msgstr "警告:某些介面沒有在 /etc/config/network 中配置躍點數!" msgid "" -"WARNING: some rules have a port configured with no or improper protocol " +"WARNING: Some policies have names exceeding the maximum of 15 characters!" +msgstr "警告:某些策略的名稱超過了 15 個字元!" + +msgid "" +"WARNING: Some rules have a port configured with no or improper protocol " "specified! Please configure a specific protocol!" -msgstr "" -"警告:某些規則指定了埠卻沒有配置或配置了不正確的協議,請重新指定協議!" +msgstr "警告:某些規則指定了埠卻沒有配置或配置了不正確的協議,請重新指定協議!" 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!" msgstr "警告:此介面和其他介面在 /etc/config/network 中配置了相同的躍點數!" 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!" 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 "警告:此介面在主路由表中沒有預設路由!" msgid "" -"WARNING: this interface has no metric configured in /etc/config/network!" +"WARNING: This interface has no metric configured in /etc/config/network!" msgstr "警告:此介面沒有在 /etc/config/network 中配置躍點數!" 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!" msgstr "警告:此介面配置不正確或未配置到 /etc/config/network!" 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 "警告:此策略的名稱具有 %d 個字元,超過了 15 個字元!" 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!" msgstr "警告:此規則沒有配置或配置了不正確的協議,請重新指定協議!" @@ -624,8 +623,8 @@ msgstr "不可達(拒絕)" #~ "$DEVICE is the device name attached to the interface (eth0.1, eth1, etc.)" #~ msgstr "" #~ "這裡允許您修改 /etc/hotplug.d/iface/16-mwancustom 的內容<br />這可以在接" -#~ "口 ifup 或 ifdown Hotplug 事件時執行系統命令或指令碼<br /><br />注意:<br />" -#~ "指令碼的第一行必須是 "#!/bin/sh" 不含引號<br />以#開頭的行是註釋," -#~ "不會執行<br /><br />可用變數:<br />$ACTION 是 Hotplug 事件(ifup, ifdown)" -#~ "<br />$INTERFACE 是介面名稱(wan1、wan2 等)<br />$DEVICE 是連線到介面的設" -#~ "備名稱 (eth0.1、eth1 等)" +#~ "口 ifup 或 ifdown Hotplug 事件時執行系統命令或指令碼<br /><br />注意:<br /" +#~ ">指令碼的第一行必須是 "#!/bin/sh" 不含引號<br />以#開頭的行是註" +#~ "釋,不會執行<br /><br />可用變數:<br />$ACTION 是 Hotplug 事件(ifup, " +#~ "ifdown)<br />$INTERFACE 是介面名稱(wan1、wan2 等)<br />$DEVICE 是連線到" +#~ "介面的設備名稱 (eth0.1、eth1 等)" |