From e4d13b45ee6e5005f8e03e2be7415f28b10a64cc Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 18 May 2009 16:16:18 +0000 Subject: [PATCH] Add halfduplex option for qos-scripts Signed-off-by: Vasilis Tsiligiannis --- applications/luci-qos/luasrc/i18n/qos.de.lua | 1 + applications/luci-qos/luasrc/i18n/qos.en.lua | 1 + applications/luci-qos/luasrc/i18n/qos.fr.lua | 1 + applications/luci-qos/luasrc/i18n/qos.pt-br.lua | 1 + applications/luci-qos/luasrc/model/cbi/qos/qos.lua | 2 ++ 5 files changed, 6 insertions(+) (limited to 'applications/luci-qos/luasrc') diff --git a/applications/luci-qos/luasrc/i18n/qos.de.lua b/applications/luci-qos/luasrc/i18n/qos.de.lua index 1ef5499bd..0f15f859d 100644 --- a/applications/luci-qos/luasrc/i18n/qos.de.lua +++ b/applications/luci-qos/luasrc/i18n/qos.de.lua @@ -1,6 +1,7 @@ qos = 'Quality of Service' qos_interface_classgroup = 'Klassifizierung' qos_interface_overhead = 'Overheadberechnung' +qos_interface_halfduplex = 'Half-duplex' qos_interface_download = 'Downlink' qos_interface_upload = 'Uplink' qos_classify = 'Priorisierung' diff --git a/applications/luci-qos/luasrc/i18n/qos.en.lua b/applications/luci-qos/luasrc/i18n/qos.en.lua index 67494e71d..befab67ec 100644 --- a/applications/luci-qos/luasrc/i18n/qos.en.lua +++ b/applications/luci-qos/luasrc/i18n/qos.en.lua @@ -2,6 +2,7 @@ qos = 'Quality of Service' qos_desc = 'With QoS you can priorize network traffic selected by adresses, ports or services.' qos_interface_classgroup = 'Classification' qos_interface_overhead = 'Calculate Overhead' +qos_interface_halfduplex = 'Half-duplex' qos_interface_download = 'Downlink' qos_interface_upload = 'Uplink' qos_classify = 'Prioritization' diff --git a/applications/luci-qos/luasrc/i18n/qos.fr.lua b/applications/luci-qos/luasrc/i18n/qos.fr.lua index 73c54dccf..9377d300d 100644 --- a/applications/luci-qos/luasrc/i18n/qos.fr.lua +++ b/applications/luci-qos/luasrc/i18n/qos.fr.lua @@ -12,6 +12,7 @@ qos_express = 'express' qos_interface_classgroup = 'Classification' qos_interface_download = 'Liaison descendante' qos_interface_overhead = 'calcul de la surcharge' +qos_interface_halfduplex = 'Half-duplex' qos_interface_upload = 'Liaison montante' qos_normal = 'normal' qos_priority = 'prioritaire' diff --git a/applications/luci-qos/luasrc/i18n/qos.pt-br.lua b/applications/luci-qos/luasrc/i18n/qos.pt-br.lua index 582e7aa94..6b15ed4d8 100644 --- a/applications/luci-qos/luasrc/i18n/qos.pt-br.lua +++ b/applications/luci-qos/luasrc/i18n/qos.pt-br.lua @@ -2,6 +2,7 @@ qos = 'Qualidade de Serviço' qos_desc = 'Com QoS você pode priozirar o tráfego da rede selecionada por endereços, portas ou serviços.' qos_interface_classgroup = 'Classificação' qos_interface_overhead = 'Calcular Overhead' +qos_interface_halfduplex = 'Half-duplex' qos_interface_download = 'Link para download' qos_interface_upload = 'Link para upload' qos_classify = 'Priorização' diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua index 4b94355f1..22dfbea5f 100644 --- a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua +++ b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua @@ -25,6 +25,8 @@ c.default = "Default" s:option(Flag, "overhead") +s:option(Flag, "halfduplex") + s:option(Value, "download", nil, "kb/s") s:option(Value, "upload", nil, "kb/s") -- cgit v1.2.3