From: Florian Eckert Date: Thu, 5 Apr 2018 09:25:33 +0000 (+0200) Subject: luci-app-mwan3: update translations X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=01e017972505138c0d1c70c9cdfd93e0067812e1;p=project%2Fluci.git luci-app-mwan3: update translations Update hint in the interface page. Update hint in the policy page. Signed-off-by: Florian Eckert --- 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 8564231c87..4701c4a7f3 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interface.lua @@ -138,9 +138,9 @@ m5 = Map("mwan3", translate("MWAN - Interfaces"), interfaceWarnings(configCheck())) mwan_interface = m5:section(TypedSection, "interface", nil, - translate("MWAN supports up to 250 physical and/or logical interfaces
" .. + translate("MWAN supports up to 252 physical and/or logical interfaces
" .. "MWAN requires that all interfaces have a unique metric configured in /etc/config/network
" .. - "Names must match the interface name found in /etc/config/network (see advanced tab)
" .. + "Names must match the interface name found in /etc/config/network
" .. "Names may contain characters A-Z, a-z, 0-9, _ and no spaces
" .. "Interfaces may not share the same name as configured members, policies or rules")) mwan_interface.addremove = true diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua index b7a90aa93a..4543260f6f 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/policy.lua @@ -26,7 +26,7 @@ function policyError(policy_error) for i, k in pairs(policy_error) do if policy_error[i] == true then warnings = warnings .. string.format("%s
", - translatef("WARNING: Policie %s has exceeding the maximum name of 15 characters", i) + translatef("WARNING: Policy %s has exceeding the maximum name of 15 characters", i) ) end end @@ -39,9 +39,11 @@ m5 = Map("mwan3", translate("MWAN - Policies"), mwan_policy = m5:section(TypedSection, "policy", nil, translate("Policies are profiles grouping one or more members controlling how MWAN distributes traffic
" .. - "Member interfaces with lower metrics are used first. Interfaces with the same metric load-balance
" .. + "Member interfaces with lower metrics are used first
" .. + "Member interfaces with the same metric will be load-balanced
" .. "Load-balanced member interfaces distribute more traffic out those with higher weights
" .. - "Names may contain characters A-Z, a-z, 0-9, _ and no spaces. Names must be 15 characters or less
" .. + "Names may contain characters A-Z, a-z, 0-9, _ and no spaces
" .. + "Names must be 15 characters or less
" .. "Policies may not share the same name as configured interfaces, members or rules")) mwan_policy.addremove = true mwan_policy.dynamic = false