summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wifischedule
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-wifischedule')
-rw-r--r--applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua4
-rw-r--r--applications/luci-app-wifischedule/po/es/wifischedule.po8
2 files changed, 7 insertions, 5 deletions
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 61a94ca5dc..1644514166 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
@@ -37,7 +37,9 @@ end
-- BEGIN Map
m = Map("wifi_schedule", translate("Wifi Schedule"), translate("Defines a schedule when to turn on and off wifi."))
-function m.on_commit(self)
+m.apply_on_parse = true
+
+function m.on_apply(self)
sys.exec("/usr/bin/wifi_schedule.sh cron")
end
-- END Map
diff --git a/applications/luci-app-wifischedule/po/es/wifischedule.po b/applications/luci-app-wifischedule/po/es/wifischedule.po
index 7a15d18fb3..af58bf8a36 100644
--- a/applications/luci-app-wifischedule/po/es/wifischedule.po
+++ b/applications/luci-app-wifischedule/po/es/wifischedule.po
@@ -14,7 +14,7 @@ msgstr ""
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:79
msgid "Activate wifi"
-msgstr "Activar WiFi"
+msgstr "Habilitar WiFi"
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:63
msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi"
@@ -42,7 +42,7 @@ msgstr "Determinar módulos automáticamente"
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:86
msgid "Disable wifi gracefully"
-msgstr "Desactivar WiFi con gracia"
+msgstr "Deshabilitar WiFi con gracia"
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:93
msgid "Disabled wifi forced"
@@ -62,7 +62,7 @@ msgstr "Habilitar el registro"
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:233
msgid "Force disabling wifi even if stations associated"
-msgstr "Forzar la desactivación de WiFi incluso con estaciones asociadas"
+msgstr "Forzar deshabilitación de WiFi incluso con clientes conectados"
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159
msgid "Friday"
@@ -70,7 +70,7 @@ msgstr "Viernes"
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:46
msgid "Global Settings"
-msgstr "Ajustes globales"
+msgstr "Configuración global"
#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:155
msgid "Monday"