From afd84b3cabfa9b797689685742289774bb1c98e8 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 3 Nov 2017 09:56:58 +0100 Subject: [PATCH] luci-app-mwan3: fix i18n spelling Fix i18n en spelling Signed-off-by: Florian Eckert --- .../luasrc/model/cbi/mwan/interface.lua | 10 +-- .../luasrc/model/cbi/mwan/interfaceconfig.lua | 10 +-- .../luasrc/model/cbi/mwan/policyconfig.lua | 2 +- .../luasrc/model/cbi/mwan/rule.lua | 2 +- .../luasrc/model/cbi/mwan/ruleconfig.lua | 2 +- applications/luci-app-mwan3/po/ja/mwan3.po | 36 ++++----- .../luci-app-mwan3/po/templates/mwan3.pot | 34 ++++---- applications/luci-app-mwan3/po/zh-cn/mwan3.po | 34 ++++---- applications/luci-app-mwan3/po/zh-tw/mwan3.po | 79 +++++++++---------- 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 c8c122ad48..5ee5fb39f3 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 = "" .. translatef("WARNING: %d interfaces are configured exceeding the maximum of 250!", interfaceNumber) .. "" end if errorReliabilityList ~= " " then - warnings = warnings .. "

" .. translate("WARNING: some interfaces have a higher reliability requirement than there are tracking IP addresses!") .. "" + warnings = warnings .. "

" .. translate("WARNING: Some interfaces have a higher reliability requirement than there are tracking IP addresses!") .. "" end if errorRouteList ~= " " then - warnings = warnings .. "

" .. translate("WARNING: some interfaces have no default route in the main routing table!") .. "" + warnings = warnings .. "

" .. translate("WARNING: Some interfaces have no default route in the main routing table!") .. "" end if errorNetConfigList ~= " " then - warnings = warnings .. "

" .. translate("WARNING: some interfaces are configured incorrectly or not at all in /etc/config/network!") .. "" + warnings = warnings .. "

" .. translate("WARNING: Some interfaces are configured incorrectly or not at all in /etc/config/network!") .. "" end if errorNoMetricList ~= " " then - warnings = warnings .. "

" .. translate("WARNING: some interfaces have no metric configured in /etc/config/network!") .. "" + warnings = warnings .. "

" .. translate("WARNING: Some interfaces have no metric configured in /etc/config/network!") .. "" end if errorDuplicateMetricList ~= " " then - warnings = warnings .. "

" .. translate("WARNING: some interfaces have duplicate metrics configured in /etc/config/network!") .. "" + warnings = warnings .. "

" .. translate("WARNING: Some interfaces have duplicate metrics configured in /etc/config/network!") .. "" 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 0318091d6c..a7d7c5af7e 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 = "" .. translate("WARNING: this interface has a higher reliability requirement than there are tracking IP addresses!") .. "" + warns = "" .. translate("WARNING: This interface has a higher reliability requirement than there are tracking IP addresses!") .. "" lineBreak = "

" end if errorRoute == 1 then - warns = warns .. lineBreak .. "" .. translate("WARNING: this interface has no default route in the main routing table!") .. "" + warns = warns .. lineBreak .. "" .. translate("WARNING: This interface has no default route in the main routing table!") .. "" lineBreak = "

" end if errorNetConfig == 1 then - warns = warns .. lineBreak .. "" .. translate("WARNING: this interface is configured incorrectly or not at all in /etc/config/network!") .. "" + warns = warns .. lineBreak .. "" .. translate("WARNING: This interface is configured incorrectly or not at all in /etc/config/network!") .. "" lineBreak = "

" end if errorNoMetric == 1 then - warns = warns .. lineBreak .. "" .. translate("WARNING: this interface has no metric configured in /etc/config/network!") .. "" + warns = warns .. lineBreak .. "" .. translate("WARNING: This interface has no metric configured in /etc/config/network!") .. "" elseif errorDuplicateMetric == 1 then - warns = warns .. lineBreak .. "" .. translate("WARNING: this and other interfaces have duplicate metrics configured in /etc/config/network!") .. "" + warns = warns .. lineBreak .. "" .. translate("WARNING: This and other interfaces have duplicate metrics configured in /etc/config/network!") .. "" 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 06a0fec668..feb62dc8a3 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 "" .. translatef("WARNING: this policy's name is %d characters exceeding the maximum of 15!", policyNameLength) .. "" + return "" .. translatef("WARNING: This policy's name is %d characters exceeding the maximum of 15!", policyNameLength) .. "" 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 0f4c5950a0..9cb4756fc8 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 "" .. translate("WARNING: some rules have a port configured with no or improper protocol specified! Please configure a specific protocol!") .. "" + return "" .. translate("WARNING: Some rules have a port configured with no or improper protocol specified! Please configure a specific protocol!") .. "" 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 25a96f5c8f..cb1b45d261 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 "" .. translate("WARNING: this rule is incorrectly configured with no or improper protocol specified! Please configure a specific protocol!") .. "" + return "" .. translate("WARNING: This rule is incorrectly configured with no or improper protocol specified! Please configure a specific protocol!") .. "" else return "" end diff --git a/applications/luci-app-mwan3/po/ja/mwan3.po b/applications/luci-app-mwan3/po/ja/mwan3.po index 72c5dddab9..34a9f1f3b3 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 e63d8adc2e..ed9fdb131d 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 987111f1cb..d0b92a6df1 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 dfc9ac81bd..04711ac3d7 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 個物理或邏輯介面。
MWAN 要求所有介面必須在 /etc/" -"config/network 中設定唯一的閘道器躍點。
名稱必須與 /etc/config/network 中" -"的介面名稱匹配。(可檢視“高階”選項卡)
名稱允許包括 A-Z、a-z、0-9、_ 但" -"是不能有空格。
介面不應該與成員、策略、規則中的任意一個設定項使用相同的" -"名稱" +"config/network 中設定唯一的閘道器躍點。
名稱必須與 /etc/config/network " +"中的介面名稱匹配。(可檢視“高階”選項卡)
名稱允許包括 A-Z、a-z、0-9、_ " +"但是不能有空格。
介面不應該與成員、策略、規則中的任意一個設定項使用相同" +"的名稱" 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
Members " "may not share the same name as configured interfaces, policies or rules" msgstr "" -"“成員”用來設定每一個 MWAN 介面的躍點數(即介面優先順序)和所佔比重。
名稱" -"允許包括 A-Z、 a-、0-9、_ 但是不能有空格。
成員不應該與介面、策略、規則" -"中的任意一個設定項使用相同的名稱" +"“成員”用來設定每一個 MWAN 介面的躍點數(即介面優先順序)和所佔比重。
名" +"稱允許包括 A-Z、 a-、0-9、_ 但是不能有空格。
成員不應該與介面、策略、規" +"則中的任意一個設定項使用相同的名稱" msgid "Members assigned" msgstr "分配的成員" @@ -380,10 +380,10 @@ msgid "" ">Names may contain characters A-Z, a-z, 0-9, _ and no spaces
Rules may " "not share the same name as configured interfaces, members or policies" msgstr "" -"“規則”基於 IP 位址、協議、埠把流量劃分到指定的“策略”中。
規則按照從上" -"到下的順序進行匹配。除了第一條能夠匹配一次通訊的規則以外,其它規則將被忽略。" -"不匹配任何規則的通訊將會由系統預設路由表進行。
來自已知的網路的轉發流量" -"由系統預設路由表接手,然後 MWAN 從中匹配出相應的流量並轉移到 MWAN 自己的路由" +"“規則”基於 IP 位址、協議、埠把流量劃分到指定的“策略”中。
規則按照從上到" +"下的順序進行匹配。除了第一條能夠匹配一次通訊的規則以外,其它規則將被忽略。不" +"匹配任何規則的通訊將會由系統預設路由表進行。
來自已知的網路的轉發流量由" +"系統預設路由表接手,然後 MWAN 從中匹配出相應的流量並轉移到 MWAN 自己的路由" "表。但是所有被劃分到一個無法使用的策略的流量將會無法正常進行路由。
名稱" "允許包括A-Z、a-z、0-9、_ 但是不能有空格。
規則不應該與介面、成員、策略中" "的任意一個設定項使用相同的名稱" @@ -438,11 +438,11 @@ msgid "" "which interface went up or down (e.g. \"eth0\" or \"wwan0\")

" msgstr "" "這裡允許您修改“/etc/mwan3.user”的內容。
該檔案在 sysupgrade 期間也會保" -"留。

注意:
該檔案會作為 shell 指令碼解釋。
指令碼的第一行必" -"須是"#!/bin/sh",不帶引號。
以#開頭的行是註釋,不會執行。
" -"將您的自定義 mwan3 動作放在這裡,他們將
在啟用 mwan3 的介面上
在 " -"netifd hotplug 介面事件時執行。

有三個主要的環境變數傳遞給這個腳" -"本。

$ACTION “ifup”或“ifdown”
$INTERFACE 啟動或停止的介面名" +"留。

注意:
該檔案會作為 shell 指令碼解釋。
指令碼的第一" +"行必須是"#!/bin/sh",不帶引號。
以#開頭的行是註釋,不會執行。" +"
將您的自定義 mwan3 動作放在這裡,他們將
在啟用 mwan3 的介面上
在 netifd hotplug 介面事件時執行。

有三個主要的環境變數傳遞給這個" +"腳本。

$ACTION “ifup”或“ifdown”
$INTERFACE 啟動或停止的介面名" "(例如“wan”或“wwan”)
$DEVICE 啟動或停止介面的物理裝置名(例" "如“eth0”或“wwan0”)

" @@ -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 的內容
這可以在接" -#~ "口 ifup 或 ifdown Hotplug 事件時執行系統命令或指令碼

注意:
" -#~ "指令碼的第一行必須是 "#!/bin/sh" 不含引號
以#開頭的行是註釋," -#~ "不會執行

可用變數:
$ACTION 是 Hotplug 事件(ifup, ifdown)" -#~ "
$INTERFACE 是介面名稱(wan1、wan2 等)
$DEVICE 是連線到介面的設" -#~ "備名稱 (eth0.1、eth1 等)" +#~ "口 ifup 或 ifdown Hotplug 事件時執行系統命令或指令碼

注意:
指令碼的第一行必須是 "#!/bin/sh" 不含引號
以#開頭的行是註" +#~ "釋,不會執行

可用變數:
$ACTION 是 Hotplug 事件(ifup, " +#~ "ifdown)
$INTERFACE 是介面名稱(wan1、wan2 等)
$DEVICE 是連線到" +#~ "介面的設備名稱 (eth0.1、eth1 等)" -- 2.30.2