luci-app-firewall: capitalize weekday names (#691)
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 31 Mar 2016 12:27:29 +0000 (14:27 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 31 Mar 2016 12:27:29 +0000 (14:27 +0200)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
applications/luci-app-firewall/luasrc/model/cbi/firewall/rule-details.lua

index 60af531d5c9a070d526aaa6c9c317191d230fa57..97e93ae05004b3cdf740477496a568271f52d1b6 100644 (file)
@@ -319,13 +319,13 @@ end
 o = s:option(MultiValue, "weekdays", translate("Week Days"))
 o.oneline = true
 o.widget = "checkbox"
-o:value("sun", translate("Sunday"))
-o:value("mon", translate("Monday"))
-o:value("tue", translate("Tuesday"))
-o:value("wed", translate("Wednesday"))
-o:value("thu", translate("Thursday"))
-o:value("fri", translate("Friday"))
-o:value("sat", translate("Saturday"))
+o:value("Sun", translate("Sunday"))
+o:value("Mon", translate("Monday"))
+o:value("Tue", translate("Tuesday"))
+o:value("Wed", translate("Wednesday"))
+o:value("Thu", translate("Thursday"))
+o:value("Fri", translate("Friday"))
+o:value("Sat", translate("Saturday"))
 
 o = s:option(MultiValue, "monthdays", translate("Month Days"))
 o.oneline = true