Add connbytes support to QoS
authorSteven Barth <steven@midlink.org>
Sat, 17 Jan 2009 16:19:43 +0000 (16:19 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 17 Jan 2009 16:19:43 +0000 (16:19 +0000)
applications/luci-qos/luasrc/i18n/qos.de.lua
applications/luci-qos/luasrc/i18n/qos.de.xml
applications/luci-qos/luasrc/i18n/qos.en.lua
applications/luci-qos/luasrc/i18n/qos.en.xml
applications/luci-qos/luasrc/model/cbi/qos/qos.lua
applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua

index 7efb75e..1ef5499 100644 (file)
@@ -14,3 +14,4 @@ qos_bulk = 'niedrig'
 qos_normal = 'normal'
 qos_express = 'express'
 qos_priority = 'priorisiert'
+qos_connbytes = 'Bytes gesendet'
index bfebbf8..c64d0f6 100644 (file)
@@ -18,4 +18,5 @@
 <i18n:msg xml:id="qos_normal">normal</i18n:msg>
 <i18n:msg xml:id="qos_express">express</i18n:msg>
 <i18n:msg xml:id="qos_priority">priorisiert</i18n:msg>
+<i18n:msg xml:id="qos_connbytes">Bytes gesendet</i18n:msg>
 </i18n:msgs>
index 5343b54..67494e7 100644 (file)
@@ -15,3 +15,4 @@ qos_bulk = 'low'
 qos_normal = 'normal'
 qos_express = 'express'
 qos_priority = 'priority'
+qos_connbytes = 'Bytes sent'
index df279a2..8a5eeca 100644 (file)
@@ -19,4 +19,5 @@
 <i18n:msg xml:id="qos_normal">normal</i18n:msg>
 <i18n:msg xml:id="qos_express">express</i18n:msg>
 <i18n:msg xml:id="qos_priority">priority</i18n:msg>
+<i18n:msg xml:id="qos_connbytes">Bytes sent</i18n:msg>
 </i18n:msgs>
index 707d98a..ac5f3b2 100644 (file)
@@ -66,11 +66,11 @@ end
 p2p = s:option(ListValue, "ipp2p", "P2P")
 p2p:value("", "-")
 p2p:value("all", translate("all"))
-p2p:value("bit", "BitTorrent")
-p2p:value("dc", "DirectConnect")
-p2p:value("edk", "eDonkey")
-p2p:value("gnu", "Gnutella")
-p2p:value("kazaa", "Kazaa")
+p2p:value("bit", "BIT")
+p2p:value("dc", "DC")
+p2p:value("edk", "EDK")
+p2p:value("gnu", "GNU")
+p2p:value("kazaa", "KAZ")
 p2p.rmempty = true
 
 p = s:option(Value, "proto", translate("protocol"))
@@ -84,4 +84,6 @@ ports = s:option(Value, "ports", translate("ports"))
 ports.rmempty = true
 ports:value("", translate("allf", translate("all")))
 
+bytes = s:option(Value, "connbytes", translate("qos_connbytes"))
+
 return m
index a182550..e80e4e5 100644 (file)
@@ -59,11 +59,11 @@ end
 p2p = s:option(ListValue, "ipp2p", "P2P")
 p2p:value("", "-")
 p2p:value("all", translate("all"))
-p2p:value("bit", "BitTorrent")
-p2p:value("dc", "DirectConnect")
-p2p:value("edk", "eDonkey")
-p2p:value("gnu", "Gnutella")
-p2p:value("kazaa", "Kazaa")
+p2p:value("bit", "BIT")
+p2p:value("dc", "DC")
+p2p:value("edk", "EDK")
+p2p:value("gnu", "GNU")
+p2p:value("kazaa", "KAZ")
 p2p.rmempty = true
 
 p = s:option(ListValue, "proto", translate("protocol"))
@@ -77,4 +77,6 @@ ports = s:option(Value, "ports", translate("ports"))
 ports.rmempty = true
 ports:value("", translate("allf", translate("all")))
 
+bytes = s:option(Value, "connbytes", translate("qos_connbytes"))
+
 return m