From 2c1f56af57237d52838bddaf91e0cbd262a5cf81 Mon Sep 17 00:00:00 2001 From: "Craig M. Coffee" Date: Wed, 26 May 2010 01:52:49 +0000 Subject: [PATCH] [applications] multiwan: Changed Load Balancer text options easier to read. --- .../luasrc/model/cbi/multiwan/multiwan.lua | 12 ++++++------ .../luasrc/model/cbi/multiwan/multiwanmini.lua | 8 ++++---- po/en/multiwan.po | 13 ++++++------- po/templates/multiwan.pot | 10 +++++----- 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua index b17b940a0..ee71e295b 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua @@ -95,8 +95,8 @@ recovery.rmempty = false failover_to = s:option(ListValue, "failover_to", translate("Failover Traffic Destination")) failover_to:value("disable", translate("None")) luci.tools.webadmin.cbi_add_networks(failover_to) -failover_to:value("fastbalancer", translate("Fast Balancer")) -failover_to:value("balancer", translate("Load Balancer")) +failover_to:value("fastbalancer", translate("Load Balancer(Performance)")) +failover_to:value("balancer", translate("Load Balancer(Compatibility)")) failover_to.default = "balancer" failover_to.optional = false failover_to.rmempty = false @@ -136,8 +136,8 @@ ports:value("", translate("all", translate("all"))) wanrule = s:option(ListValue, "wanrule", translate("WAN Uplink")) luci.tools.webadmin.cbi_add_networks(wanrule) -wanrule:value("fastbalancer", translate("Fast Balancer")) -wanrule:value("balancer", translate("Load Balancer")) +wanrule:value("fastbalancer", translate("Load Balancer(Performance)")) +wanrule:value("balancer", translate("Load Balancer(Compatibility)")) wanrule.default = "fastbalancer" wanrule.optional = false wanrule.rmempty = false @@ -147,8 +147,8 @@ s.addremove = false default_route = s:option(ListValue, "default_route", translate("Default Route")) luci.tools.webadmin.cbi_add_networks(default_route) -default_route:value("fastbalancer", translate("Fast Balancer")) -default_route:value("balancer", translate("Load Balancer")) +default_route:value("fastbalancer", translate("Load Balancer(Performance)")) +default_route:value("balancer", translate("Load Balancer(Compatibility)")) default_route.default = "balancer" default_route.optional = false default_route.rmempty = false diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua index 18c052df2..755690159 100644 --- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua +++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua @@ -48,8 +48,8 @@ ports:value("", translate("all", translate("all"))) wanrule = s:option(ListValue, "wanrule", translate("WAN Uplink")) luci.tools.webadmin.cbi_add_networks(wanrule) -wanrule:value("fastbalancer", translate("Fast Balancer")) -wanrule:value("balancer", translate("Load Balancer")) +wanrule:value("fastbalancer", translate("Load Balancer(Performance)")) +wanrule:value("balancer", translate("Load Balancer(Compatibility)")) wanrule.default = "fastbalancer" wanrule.optional = false wanrule.rmempty = false @@ -59,8 +59,8 @@ s.addremove = false default_route = s:option(ListValue, "default_route", translate("Default Route")) luci.tools.webadmin.cbi_add_networks(default_route) -default_route:value("fastbalancer", translate("Fast Balancer")) -default_route:value("balancer", translate("Load Balancer")) +default_route:value("fastbalancer", translate("Load Balancer(Performance)")) +default_route:value("balancer", translate("Load Balancer(Compatibility)")) default_route.default = "balancer" default_route.optional = false default_route.rmempty = false diff --git a/po/en/multiwan.po b/po/en/multiwan.po index a0ed72ae5..514a7dc38 100644 --- a/po/en/multiwan.po +++ b/po/en/multiwan.po @@ -95,9 +95,9 @@ msgid "WAN Uplink" msgstr "WAN Uplink" #: /tmp/i18n/luasrc/i18n/multiwan.en.lua:19 -#. Load Balancer -msgid "Load Balancer" -msgstr "Load Balancer" +#. Load Balancer(Compatibility) +msgid "Load Balancer(Compatibility)" +msgstr "Load Balancer(Compatibility)" #: /tmp/i18n/luasrc/i18n/multiwan.en.lua:20 #. Disable @@ -120,7 +120,6 @@ msgid "Enable" msgstr "Enable" #: /tmp/i18n/luasrc/i18n/multiwan.en.lua:24 -#. Fast Balancer -msgid "Fast Balancer" -msgstr "Fast Balancer" - +#. Load Balancer(Performance) +msgid "Load Balancer(Performance)" +msgstr "Load Balancer(Performance)" diff --git a/po/templates/multiwan.pot b/po/templates/multiwan.pot index ccfe9bf94..c025eba3b 100644 --- a/po/templates/multiwan.pot +++ b/po/templates/multiwan.pot @@ -32,9 +32,6 @@ msgstr "" msgid "Failover Traffic Destination" msgstr "" -msgid "Fast Balancer" -msgstr "" - msgid "Health Monitor ICMP Host(s)" msgstr "" @@ -48,10 +45,13 @@ msgid "" "Health Monitor detects and corrects network changes and failed connections." msgstr "" -msgid "Load Balancer" +msgid "Load Balancer Distribution" +msgstr "" + +msgid "Load Balancer(Compatibility)" msgstr "" -msgid "Load Balancer Distribution" +msgid "Load Balancer(Performance)" msgstr "" msgid "Multi-WAN" -- 2.25.1