1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 10:31:51 +00:00

Add description for each CS

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-10-27 09:32:04 +01:00
parent e0b85427b6
commit b559ce8f61
2 changed files with 7 additions and 6 deletions

View file

@ -22,10 +22,10 @@ t:value("cs0", translate("CS0 - Normal/Best Effort"))
t:value("cs1", translate("CS1 - Low priority"))
t:value("cs2", translate("CS2 - High priority"))
t:value("cs3", translate("CS3 - SIP"))
t:value("cs4", translate("CS4 - Streaming video"))
t:value("cs5", translate("CS5"))
t:value("cs4", translate("CS4 - Real-Time Interactive"))
t:value("cs5", translate("CS5 - Broadcast video"))
t:value("cs6", translate("CS6 - Network routing"))
t:value("cs7", translate("CS7"))
t:value("cs7", translate("CS7 - Latency sensitive"))
t:value("ef", translate("EF Voice"))
c = s:option(Value, "comment", translate("Comment"))

View file

@ -1,4 +1,5 @@
-- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org> for OpenMPTCProuter
-- Licensed to the public under the Apache License 2.0.
local uci = luci.model.uci.cursor()
@ -73,10 +74,10 @@ t = s:option(ListValue, "class", translate("Class"))
t:value("cs1", translate("CS1 - Low priority"))
t:value("cs2", translate("CS2 - High priority"))
t:value("cs3", translate("CS3 - SIP"))
t:value("cs4", translate("CS4 - Streaming video"))
t:value("cs5", translate("CS5"))
t:value("cs4", translate("CS4 - Real-Time Interactive"))
t:value("cs5", translate("CS5 - Broadcast Video"))
t:value("cs6", translate("CS6 - Network routing"))
t:value("cs7", translate("CS7"))
t:value("cs7", translate("CS7 - Latency sensitive"))
t:value("ef", translate("EF - Voice"))
comment = s:option(Value, "comment", translate("Comment"))