X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-wifischedule%2Fluasrc%2Fmodel%2Fcbi%2Fwifischedule%2Fwifi_schedule.lua;h=7c7f1b50e59090325501ff0046563045cc955b28;hp=2cca476b4f3f70716dc417c8ac1da384fa3e88ef;hb=2f42138ef4452a8a1a184f608c52351d01e2e078;hpb=222bf48b741680f10b265274c906f684140b42fe diff --git a/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua b/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua index 2cca476b4..7c7f1b50e 100644 --- a/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua +++ b/applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua @@ -46,7 +46,7 @@ end -- END Map -- BEGIN Global Section -global_section = m:section(TypedSection, "global", "Global Settings") +global_section = m:section(TypedSection, "global", translate("Global Settings")) global_section.optional = false global_section.rmempty = false global_section.anonymous = true @@ -142,7 +142,7 @@ end -- BEGIN Section -d = m:section(TypedSection, "entry", "Schedule events") +d = m:section(TypedSection, "entry", translate("Schedule events")) d.addremove = true --d.anonymous = true -- END Section @@ -157,13 +157,13 @@ c.optional=false; c.rmempty = false; dow = d:option(MultiValue, "daysofweek", translate("Day(s) of Week")) dow.optional = false dow.rmempty = false -dow:value("Monday") -dow:value("Tuesday") -dow:value("Wednesday") -dow:value("Thursday") -dow:value("Friday") -dow:value("Saturday") -dow:value("Sunday") +dow:value("Monday", translate("Monday")) +dow:value("Tuesday", translate("Tuesday")) +dow:value("Wednesday", translate("Wednesday")) +dow:value("Thursday", translate("Thursday")) +dow:value("Friday", translate("Friday")) +dow:value("Saturday", translate("Saturday")) +dow:value("Sunday", translate("Sunday")) -- END Day(s) of Weel -- BEGIN Start Wifi Dropdown