From: RISCi_ATOM Date: Fri, 14 Feb 2020 20:44:46 +0000 (-0500) Subject: Add luci-app-wifischedule X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6fb287dbf33fc7bbeba7076b8e82caa74251ecf8;p=librecmc%2Fpackage-feed.git Add luci-app-wifischedule --- diff --git a/luci/luci-app-wifischedule/Makefile b/luci/luci-app-wifischedule/Makefile new file mode 100644 index 0000000..4926dd1 --- /dev/null +++ b/luci/luci-app-wifischedule/Makefile @@ -0,0 +1,22 @@ +# Copyright (c) 2016, prpl Foundation +# +# Permission to use, copy, modify, and/or distribute this software for any purpose with or without +# fee is hereby granted, provided that the above copyright notice and this permission notice appear +# in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +# FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# +# Author: Nils Koenig + +include $(TOPDIR)/rules.mk + +LUCI_TITLE:=Turns WiFi on and off according to a schedule +LUCI_DEPENDS:=+wifischedule + +include $(TOPDIR)/package/luci/luci.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/luci/luci-app-wifischedule/README.md b/luci/luci-app-wifischedule/README.md new file mode 100644 index 0000000..4a57b3f --- /dev/null +++ b/luci/luci-app-wifischedule/README.md @@ -0,0 +1,86 @@ +# wifischedule +Turns WiFi on and off according to a schedule on an openwrt router + +## Components +* wifischedule: Shell script that creates cron jobs based on configuration provided in UCI and does all the other logic of enabling and disabling wifi with the use of `/sbin/wifi` and `/usr/bin/iwinfo`. Can be used standalone. +* luci-app-wifischedule: LUCI frontend for creating the UCI configuration and triggering the actions. Depends on wifischedule. + + +## Use cases +You can create user-defined events when to enable or disable WiFi. +There are various use cases why you would like to do so: + +1. Reduce power consumption and therefore reduce CO2 emissions. +2. Reduce emitted electromagnatic radiation. +3. Force busincess hours when WiFi is available. + +Regarding 1: Please note, that you need to unload the wireless driver modules in order to get the most effect of saving power. +In my test scenario only disabling WiFi saves about ~0.4 Watt, unloading the modules removes another ~0.4 Watt. + +Regarding 2: Think of a wireless accesspoint e.g. in your bedrom, kids room where you want to remove the amount of radiation emitted. + +Regarding 3: E.g. in a company, why would wireless need to be enabled weekends if no one is there working? +Or think of an accesspoint in your kids room when you want the youngsters to sleep after 10 pm instead of facebooking... + +## Configuration +You can create an arbitrary number of schedule events. Please note that there is on sanity check done whether the start / stop times overlap or make sense. +If start and stop time are equal, this leads to disabling the WiFi at the given time. + +Logging if enabled is done to the file `/var/log/wifi_schedule.log` and can be reviewed through the "View Logfile" tab. +The cron jobs created can be reviewed through the "View Cron Jobs" tab. + +Please note that the "Unload Modules" function is currently considered as experimental. You can manually add / remove modules in the text field. +The button "Determine Modules Automatically" tries to make a best guess determining regarding the driver module and its dependencies. +When un-/loading the modules, there is a certain number of retries (`module_load`) performed. + +The option "Force disabling wifi even if stations associated" does what it says - when activated it simply shuts down WiFi. +When unchecked, its checked every `recheck_interval` minutes if there are still stations associated. Once the stations disconnect, WiFi is disabled. + +Please note, that the parameters `module_load` and `recheck_interval` are only accessible through uci. + +## UCI Configuration `wifi_schedule` +UCI configuration file: `/etc/config/wifi_schedule`: + +``` +config global + option logging '0' + option enabled '0' + option recheck_interval '10' + option modules_retries '10' + +config entry 'Businesshours' + option enabled '0' + option daysofweek 'Monday Tuesday Wednesday Thursday Friday' + option starttime '06:00' + option stoptime '22:00' + option forcewifidown '0' + +config entry 'Weekend' + option enabled '0' + option daysofweek 'Saturday Sunday' + option starttime '00:00' + option stoptime '00:00' + option forcewifidown '1' +``` + +## Script: `wifi_schedule.sh` +This is the script that does the work. Make your changes to the UCI config file: `/etc/config/wifi_schedule` + +Then call the script as follows in order to get the necessary cron jobs created: + +`wifi_schedule.sh cron` + +All commands: + +``` +wifi_schedule.sh cron|start|stop|forcestop|recheck|getmodules|savemodules|help + + cron: Create cronjob entries. + start: Start wifi. + stop: Stop wifi gracefully, i.e. check if there are stations associated and if so keep retrying. + forcestop: Stop wifi immediately. + recheck: Recheck if wifi can be disabled now. + getmodules: Returns a list of modules used by the wireless driver(s) + savemodules: Saves a list of automatic determined modules to UCI + help: This description. +``` diff --git a/luci/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua b/luci/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua new file mode 100644 index 0000000..261cf36 --- /dev/null +++ b/luci/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua @@ -0,0 +1,42 @@ +-- Copyright (c) 2016, prpl Foundation +-- +-- Permission to use, copy, modify, and/or distribute this software for any purpose with or without +-- fee is hereby granted, provided that the above copyright notice and this permission notice appear +-- in all copies. +-- +-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE +-- INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +-- FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +-- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +-- ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +-- +-- Author: Nils Koenig + +module("luci.controller.wifischedule.wifi_schedule", package.seeall) + +local fs = require "nixio.fs" +local sys = require "luci.sys" +local template = require "luci.template" +local i18n = require "luci.i18n" + +function index() + if not nixio.fs.access("/etc/config/wifi_schedule") then + return + end + entry({"admin", "services", "wifi_schedule"}, firstchild(), _("Wifi Schedule"), 60).dependent=false + entry({"admin", "services", "wifi_schedule", "tab_from_cbi"}, cbi("wifischedule/wifi_schedule"), _("Schedule"), 1) + entry({"admin", "services", "wifi_schedule", "wifi_schedule"}, call("wifi_schedule_log"), _("View Logfile"), 2) + entry({"admin", "services", "wifi_schedule", "cronjob"}, call("view_crontab"), _("View Cron Jobs"), 3) +end + +function wifi_schedule_log() + local logfile = fs.readfile("/tmp/log/wifi_schedule.log") or "" + template.render("wifischedule/file_viewer", + {title = i18n.translate("Wifi Schedule Logfile"), content = logfile}) +end + +function view_crontab() + local crontab = fs.readfile("/etc/crontabs/root") or "" + template.render("wifischedule/file_viewer", + {title = i18n.translate("Cron Jobs"), content = crontab}) +end diff --git a/luci/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua b/luci/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua new file mode 100644 index 0000000..1644514 --- /dev/null +++ b/luci/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua @@ -0,0 +1,252 @@ +-- Copyright (c) 2016, prpl Foundation +-- +-- Permission to use, copy, modify, and/or distribute this software for any purpose with or without +-- fee is hereby granted, provided that the above copyright notice and this permission notice appear +-- in all copies. +-- +-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE +-- INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +-- FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +-- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +-- ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +-- +-- Author: Nils Koenig + +local fs = require "nixio.fs" +local sys = require "luci.sys" +local uci = require("luci.model.uci").cursor() + +function time_validator(self, value, desc) + if value ~= nil then + h_str, m_str = string.match(value, "^(%d%d?):(%d%d?)$") + h = tonumber(h_str) + m = tonumber(m_str) + if ( h ~= nil and + h >= 0 and + h <= 23 and + m ~= nil and + m >= 0 and + m <= 59) then + return value + end + end + return nil, translatef("The value %s is invalid", desc) +end + +-- ------------------------------------------------------------------------------------------------- + +-- BEGIN Map +m = Map("wifi_schedule", translate("Wifi Schedule"), translate("Defines a schedule when to turn on and off wifi.")) +m.apply_on_parse = true + +function m.on_apply(self) + sys.exec("/usr/bin/wifi_schedule.sh cron") +end +-- END Map + +-- BEGIN Global Section +global_section = m:section(TypedSection, "global", translate("Global Settings")) +global_section.optional = false +global_section.rmempty = false +global_section.anonymous = true +-- END Section + +-- BEGIN Global Enable Checkbox +global_enable = global_section:option(Flag, "enabled", translate("Enable Wifi Schedule")) +global_enable.optional = false +global_enable.rmempty = false + +function global_enable.validate(self, value, global_section) + if value == "1" then + if ( fs.access("/sbin/wifi") and + fs.access("/usr/bin/wifi_schedule.sh") )then + return value + else + return nil, translate("Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi") + end + else + return "0" + end +end +-- END Global Enable Checkbox + +-- BEGIN Global Logging Checkbox +global_logging = global_section:option(Flag, "logging", translate("Enable logging")) +global_logging.optional = false +global_logging.rmempty = false +global_logging.default = 0 +-- END Global Enable Checkbox + +-- BEGIN Global Activate WiFi Button +enable_wifi = global_section:option(Button, "enable_wifi", translate("Activate wifi")) +function enable_wifi.write() + sys.exec("/usr/bin/wifi_schedule.sh start manual") +end +-- END Global Activate Wifi Button + +-- BEGIN Global Disable WiFi Gracefully Button +disable_wifi_gracefully = global_section:option(Button, "disable_wifi_gracefully", translate("Disable wifi gracefully")) +function disable_wifi_gracefully.write() + sys.exec("/usr/bin/wifi_schedule.sh stop manual") +end +-- END Global Disable Wifi Gracefully Button + +-- BEGIN Disable WiFi Forced Button +disable_wifi_forced = global_section:option(Button, "disable_wifi_forced", translate("Disabled wifi forced")) +function disable_wifi_forced.write() + sys.exec("/usr/bin/wifi_schedule.sh forcestop manual") +end +-- END Global Disable WiFi Forced Button + +-- BEGIN Global Unload Modules Checkbox +global_unload_modules = global_section:option(Flag, "unload_modules", translate("Unload Modules (experimental; saves more power)")) +global_unload_modules.optional = false +global_unload_modules.rmempty = false +global_unload_modules.default = 0 +-- END Global Unload Modules Checkbox + + +-- BEGIN Modules +modules = global_section:option(TextValue, "modules", "") +modules:depends("unload_modules", global_unload_modules.enabled); +modules.wrap = "off" +modules.rows = 10 + +function modules.cfgvalue(self, section) + mod = uci:get("wifi_schedule", section, "modules") + if mod == nil then + mod = "" + end + return mod:gsub(" ", "\r\n") +end + +function modules.write(self, section, value) + if value then + value_list = value:gsub("\r\n", " ") + ListValue.write(self, section, value_list) + uci:set("wifi_schedule", section, "modules", value_list) + end +end +-- END Modules + +-- BEGIN Determine Modules +determine_modules = global_section:option(Button, "determine_modules", translate("Determine Modules Automatically")) +determine_modules:depends("unload_modules", global_unload_modules.enabled); +function determine_modules.write(self, section) + output = sys.exec("/usr/bin/wifi_schedule.sh getmodules") + modules:write(section, output) +end +-- END Determine Modules + +-- BEGIN Section +d = m:section(TypedSection, "entry", translate("Schedule events")) +d.addremove = true +--d.anonymous = true +-- END Section + +-- BEGIN Enable Checkbox +c = d:option(Flag, "enabled", translate("Enable")) +c.optional = false +c.rmempty = false +-- END Enable Checkbox + +-- BEGIN Day(s) of Week +dow = d:option(MultiValue, "daysofweek", translate("Day(s) of Week")) +dow.optional = false +dow.rmempty = false +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 +starttime = d:option(Value, "starttime", translate("Start WiFi")) +starttime.optional = false +starttime.rmempty = false +starttime:value("00:00") +starttime:value("01:00") +starttime:value("02:00") +starttime:value("03:00") +starttime:value("04:00") +starttime:value("05:00") +starttime:value("06:00") +starttime:value("07:00") +starttime:value("08:00") +starttime:value("09:00") +starttime:value("10:00") +starttime:value("11:00") +starttime:value("12:00") +starttime:value("13:00") +starttime:value("14:00") +starttime:value("15:00") +starttime:value("16:00") +starttime:value("17:00") +starttime:value("18:00") +starttime:value("19:00") +starttime:value("20:00") +starttime:value("21:00") +starttime:value("22:00") +starttime:value("23:00") + +function starttime.validate(self, value, d) + return time_validator(self, value, translate("Start Time")) +end +-- END Start Wifi Dropdown + +-- BEGIN Stop Wifi Dropdown +stoptime = d:option(Value, "stoptime", translate("Stop WiFi")) +stoptime.optional = false +stoptime.rmempty = false +stoptime:value("00:00") +stoptime:value("01:00") +stoptime:value("02:00") +stoptime:value("03:00") +stoptime:value("04:00") +stoptime:value("05:00") +stoptime:value("06:00") +stoptime:value("07:00") +stoptime:value("08:00") +stoptime:value("09:00") +stoptime:value("10:00") +stoptime:value("11:00") +stoptime:value("12:00") +stoptime:value("13:00") +stoptime:value("14:00") +stoptime:value("15:00") +stoptime:value("16:00") +stoptime:value("17:00") +stoptime:value("18:00") +stoptime:value("19:00") +stoptime:value("20:00") +stoptime:value("21:00") +stoptime:value("22:00") +stoptime:value("23:00") + +function stoptime.validate(self, value, d) + return time_validator(self, value, translate("Stop Time")) +end +-- END Stop Wifi Dropdown + +-- BEGIN Force Wifi Stop Checkbox +force_wifi = d:option(Flag, "forcewifidown", translate("Force disabling wifi even if stations associated")) +force_wifi.default = false +force_wifi.rmempty = false + +function force_wifi.validate(self, value, d) + if value == "0" then + if fs.access("/usr/bin/iwinfo") then + return value + else + return nil, translate("Could not find required program /usr/bin/iwinfo") + end + else + return "1" + end +end +-- END Force Wifi Checkbox + +return m diff --git a/luci/luci-app-wifischedule/luasrc/view/wifischedule/file_viewer.htm b/luci/luci-app-wifischedule/luasrc/view/wifischedule/file_viewer.htm new file mode 100644 index 0000000..f67a2be --- /dev/null +++ b/luci/luci-app-wifischedule/luasrc/view/wifischedule/file_viewer.htm @@ -0,0 +1,22 @@ +<%# +Copyright (c) 2016, prpl Foundation + +Permission to use, copy, modify, and/or distribute this software for any purpose with or without +fee is hereby granted, provided that the above copyright notice and this permission notice appear +in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE +FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Author: Nils Koenig +-%> + +<%+header%> +

<%=title%>

+
+ +
+<%+footer%> diff --git a/luci/luci-app-wifischedule/po/de/wifischedule.po b/luci/luci-app-wifischedule/po/de/wifischedule.po new file mode 100644 index 0000000..ce05c73 --- /dev/null +++ b/luci/luci-app-wifischedule/po/de/wifischedule.po @@ -0,0 +1,139 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "WLAN aktivieren" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "Konnte /usr/bin/wifi_schedule.sh oder /sbin/wifi nicht finden" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "Wochentag(e)" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "" +"Definiert einen Zeitplan, wann das WLAN ein- und ausgeschaltet werden soll" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "Module automatisch ermitteln" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "Wifi ordnungsgemäß deaktivieren" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "Wifi abrupt deaktivieren" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "Aktivieren" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "Wifi-Zeitschaltung aktivieren" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "Protokollierung aktivieren" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "Deaktivieren des WLANs auch bei verbundenen Stationen" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "Freitag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "Globale Einstellungen" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "Montag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "Samstag" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "Zeitschaltung" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "Ereignisse planen" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "Startzeit" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "WiFi starten" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "Stoppzeit" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "WiFi stoppen" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "Sonntag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "Der Wert %s ist ungültig" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "Donnerstag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "Dienstag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "Module entladen (experimentell - spart mehr Energie)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "Cron-Jobs anzeigen" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "Protokolldatei anzeigen" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "Mittwoch" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "Wifi-Zeitschaltung" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "Protokolldatei für Wifi-Zeitschaltung" + +#~ msgid "Could not find required programm /usr/bin/iwinfo" +#~ msgstr "Konnte /usr/bin/iwinfo nicht finden" diff --git a/luci/luci-app-wifischedule/po/es/wifischedule.po b/luci/luci-app-wifischedule/po/es/wifischedule.po new file mode 100644 index 0000000..03e0fcc --- /dev/null +++ b/luci/luci-app-wifischedule/po/es/wifischedule.po @@ -0,0 +1,146 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2.1\n" +"Last-Translator: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "Habilitar WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "No se pudo encontrar /usr/bin/wifi_schedule.sh o /sbin/wifi requerido" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "No se pudo encontrar el programa requerido /usr/bin/iwinfo" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "Cron Jobs" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "Día(s) de la semana" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "Define un horario de cuándo encender y apagar WiFi." + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "Determinar módulos automáticamente" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "Deshabilitar WiFi con gracia" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "Deshabilitar WiFi forzosamente" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "Habilitar" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "Habilitar programación WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "Habilitar el registro" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "Forzar deshabilitación de WiFi incluso con clientes conectados" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "Viernes" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "Configuración global" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "Lunes" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "Sábado" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "Programar" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "Programar eventos" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "Hora de inicio" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "Iniciar WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "Hora de detención" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "Detener WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "Domingo" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "El valor %s es inválido" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "Jueves" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "Martes" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "Módulos de descarga (experimental; ahorra más energía)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "Ver los trabajos de Cron" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "Ver archivo de registro" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "Miércoles" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "Programar WiFi" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "Archivo de registro de programación WiFi" diff --git a/luci/luci-app-wifischedule/po/it/wifischedule.po b/luci/luci-app-wifischedule/po/it/wifischedule.po new file mode 100644 index 0000000..0a41029 --- /dev/null +++ b/luci/luci-app-wifischedule/po/it/wifischedule.po @@ -0,0 +1,135 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "Attiva wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "Impossibile trovare /usr/bin/wifi_schedule.sh o /sbin/wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "Impossibile trovare il programma /usr/bin/iwinfo" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "Operazioni Programmate" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "Giorno(i) della Settimana" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "Definisce un piano di accensione o spegnimento del wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "Determina i Moduli Automaticamente" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "Disabilita wifi con grazia" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "Disabilita wifi con forza" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "Abilita" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "Abilita il Piano Wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "Abilita il registro" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "Forza disattivazione wifi anche con stazioni associate" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "Venerdì" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "Impostazioni Globali" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "Lunedì" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "Sabato" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "Piano" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "Piano eventi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "Orario di Inizio" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "Orario di Stop" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "Domenica" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "Il valore %s è invalido" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "Giovedì" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "Martedì" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "Scarica Moduli (sperimentale; risparmia più energia)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "Vedi Operazioni Programmate" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "Vedi il Registro" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "Mercoledì" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "Piano Wifi" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "Registro Piano Wifi" diff --git a/luci/luci-app-wifischedule/po/ja/wifischedule.po b/luci/luci-app-wifischedule/po/ja/wifischedule.po new file mode 100644 index 0000000..c99763b --- /dev/null +++ b/luci/luci-app-wifischedule/po/ja/wifischedule.po @@ -0,0 +1,147 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Last-Translator: INAGAKI Hiroshi \n" +"Language-Team: \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.11\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "WiFiのアクティブ化" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "" +"必須の /usr/bin/wifi_schedule.sh または /sbin/wifi が見つかりませんでした。" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "必須のプログラム /usr/bin/iwinfo が見つかりませんでした。" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "Cronジョブ" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "曜日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "WiFiのオンとオフを切り替えるスケジュールを設定します。" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "モジュールを自動的に決定する" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "WiFiの通常終了" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "WiFiの強制終了" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "有効" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "WiFi スケジュールの有効化" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "ログの有効化" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "ステーションが関連付けられていてもWiFiを強制終了する" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "金曜日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "全体設定" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "月曜日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "土曜日" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "スケジュール" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "実行スケジュール" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "開始時刻" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "WiFiの開始" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "停止時刻" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "WiFiの停止" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "日曜日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "%s の値が無効です" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "木曜日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "火曜日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "モジュールのアンロード(実験的、より省電力)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "Cronジョブの確認" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "ログファイルの確認" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "水曜日" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "WiFi スケジュール" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "WiFiスケジュール ログファイル" diff --git a/luci/luci-app-wifischedule/po/pt-br/wifischedule.po b/luci/luci-app-wifischedule/po/pt-br/wifischedule.po new file mode 100644 index 0000000..08771f0 --- /dev/null +++ b/luci/luci-app-wifischedule/po/pt-br/wifischedule.po @@ -0,0 +1,148 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: \n" +"POT-Creation-Date: \n" +"PO-Revision-Date: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.11\n" +"Last-Translator: Luiz Angelo Daros de Luca \n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"Language: pt_BR\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "Ativar a WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "" +"Não foi possível localizar os programas necessários '/usr/bin/wifi_schedule." +"sh' ou '/sbin/wifi'." + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "Não foi possível localizar o programa necessário '/usr/bin/iwinfo'" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "Tarefas da Cron" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "Dia(s) da semana" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "Define um agendamento para quando ligar ou desligar a WiFi." + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "Determinar os Módulos Automaticamente" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "Desabilitar a WiFi amistosamente" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "WiFi foi desabilitada de forma forçada." + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "Habilitar" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "Habilitar o agendamento da WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "Habilite os registros (log)" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "Force a desativação da WiFi mesmo se existirem estações associadas " + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "Sexta-feira" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "Configurações Globais" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "Segunda-Feira" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "Sábado" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "Agendamento" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "Eventos do agendamento" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "Hora Inicial" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "Iniciar WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "Hora Final" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "Parar WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "Domingo" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "O valor %s é inválido" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "Quita-feira" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "Terça-feira" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "Descarregar Módulos (experimental, poupa mais energia)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "Visualizar Tarefas da Cron" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "Visualizar o Arquivo de Registros (log)" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "Quarta-feira" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "Agendamento da Wifi" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "Arquivo de Registros (log) do Agendamento da Wifi" diff --git a/luci/luci-app-wifischedule/po/ru/wifischedule.po b/luci/luci-app-wifischedule/po/ru/wifischedule.po new file mode 100644 index 0000000..3734e5a --- /dev/null +++ b/luci/luci-app-wifischedule/po/ru/wifischedule.po @@ -0,0 +1,150 @@ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: LuCI: wifischedule\n" +"POT-Creation-Date: 2017-11-30 15:30+0300\n" +"PO-Revision-Date: 2018-01-22 13:18+0300\n" +"Language-Team: http://cyber-place.ru\n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7.1\n" +"Last-Translator: Vladimir aka sunny \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && " +"(n%100<10 || n%100>=20) ? 1 : 2);\n" +"Language: ru\n" +"Project-Info: Это технический перевод, не дословный. Главное-удобный русский " +"интерфейс, все проверялось в графическом режиме, совместим с другими apps\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "Включить Wi-Fi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "Не удалось найти файл /usr/bin/wifi_schedule.sh или /sbin/wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "Не удалось найти требуемую программу /usr/bin/iwinfo" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "Cron задания" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "День (дни) недели" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "Определяет расписание включения и выключения Wi-Fi." + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "Автоматическое определение модулей" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "Отключить Wi-Fi корректно" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "Отключить Wi-Fi принудительно" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "Включить" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "Включить Wi-Fi планировщик" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "Включить ведение системного журнала" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "Принудительно отключить Wi-Fi даже если имеются подключенные клиенты" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "Пятница" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "Основные настройки" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "Понедельник" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "Суббота" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "Планировщик" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "Планировщик событий" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "Время начала" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "Время включения Wi-Fi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "Время окончания" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "Время отключения Wi-Fi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "Воскресенье" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "Значение %s является недействительным" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "Четверг" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "Вторник" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "" +"Модули не загружаются (экспериментальная опция; экономит больше энергии)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "Показать сron задания" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "Показать системный журнал" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "Среда" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "Wi-Fi планировщик" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "Системный журнал Wi-Fi планировщика" diff --git a/luci/luci-app-wifischedule/po/sv/wifischedule.po b/luci/luci-app-wifischedule/po/sv/wifischedule.po new file mode 100644 index 0000000..02ff9d7 --- /dev/null +++ b/luci/luci-app-wifischedule/po/sv/wifischedule.po @@ -0,0 +1,135 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "Aktivera wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "Cron-jobb" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "Dag(ar) i veckan" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "Anger ett schema när wifi ska startas och stängas ner." + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "Avgör moduler automatiskt" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "Inaktivera wifi elegant" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "Inaktivering av wifi påtvingat" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "Aktivera" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "Aktivera Wifi-schema" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "Aktivera loggning" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "Fredag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "Globala inställningar" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "Måndag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "Lördag" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "Schema" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "Schemalägg händelser" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "Starttid" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "Starta WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "Stopptid" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "Stoppa WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "Söndag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "Värdet %s är ogiltigt" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "Torsdag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "Tisdag" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "Befria moduler (experimentiell; sparar mer ström)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "Se Cron-jobb" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "Se loggfilen" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "Onsdag" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "Wifi-schema" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "Loggfil för Wifi-schema" diff --git a/luci/luci-app-wifischedule/po/templates/wifischedule.pot b/luci/luci-app-wifischedule/po/templates/wifischedule.pot new file mode 100644 index 0000000..2e52bbc --- /dev/null +++ b/luci/luci-app-wifischedule/po/templates/wifischedule.pot @@ -0,0 +1,135 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "" diff --git a/luci/luci-app-wifischedule/po/zh-cn/wifischedule.po b/luci/luci-app-wifischedule/po/zh-cn/wifischedule.po new file mode 100644 index 0000000..0f83998 --- /dev/null +++ b/luci/luci-app-wifischedule/po/zh-cn/wifischedule.po @@ -0,0 +1,135 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "激活 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "无法找到必需的 /usr/bin/wifi_schedule.sh 或 /sbin/wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "无法找到必需程序:/usr/bin/iwinfo" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "计划任务" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "星期" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "定义自动打开和关闭 WiFi 的计划表" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "自动确定模块" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "正常关闭 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "强制关闭 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "启用" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "启用 WiFi 计划" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "启用日志" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "即使有设备连接也强制关闭 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "星期五" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "全局设置" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "星期一" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "星期六" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "计划表" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "计划事件" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "启动时间" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "启动 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "关闭时间" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "关闭 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "星期日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "%s 的值无效" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "星期四" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "星期二" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "卸载模块(实验性的,节省更多电量)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "查看计划任务" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "查看日志文件" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "星期三" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "WiFi 计划" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "WiFi 计划日志文件" diff --git a/luci/luci-app-wifischedule/po/zh-tw/wifischedule.po b/luci/luci-app-wifischedule/po/zh-tw/wifischedule.po new file mode 100644 index 0000000..ee16f48 --- /dev/null +++ b/luci/luci-app-wifischedule/po/zh-tw/wifischedule.po @@ -0,0 +1,135 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8\n" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:81 +msgid "Activate wifi" +msgstr "啟用 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:65 +msgid "Could not find required /usr/bin/wifi_schedule.sh or /sbin/wifi" +msgstr "無法找到必需的 /usr/bin/wifi_schedule.sh 或 /sbin/wifi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:244 +msgid "Could not find required program /usr/bin/iwinfo" +msgstr "無法找到必需程式:/usr/bin/iwinfo" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:41 +msgid "Cron Jobs" +msgstr "計劃任務" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:154 +msgid "Day(s) of Week" +msgstr "星期" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Defines a schedule when to turn on and off wifi." +msgstr "定義自動開啟和關閉 WiFi 的計劃表" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:133 +msgid "Determine Modules Automatically" +msgstr "自動確定模組" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:88 +msgid "Disable wifi gracefully" +msgstr "正常關閉 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:95 +msgid "Disabled wifi forced" +msgstr "強制關閉 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:148 +msgid "Enable" +msgstr "啟用" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:55 +msgid "Enable Wifi Schedule" +msgstr "啟用 WiFi 計劃" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:74 +msgid "Enable logging" +msgstr "啟用日誌" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:235 +msgid "Force disabling wifi even if stations associated" +msgstr "即使有裝置連線也強制關閉 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:161 +msgid "Friday" +msgstr "星期五" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:48 +msgid "Global Settings" +msgstr "全域性設定" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:157 +msgid "Monday" +msgstr "星期一" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:162 +msgid "Saturday" +msgstr "星期六" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:27 +msgid "Schedule" +msgstr "計劃表" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:142 +msgid "Schedule events" +msgstr "計劃事件" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:196 +msgid "Start Time" +msgstr "啟動時間" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:167 +msgid "Start WiFi" +msgstr "啟動 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:230 +msgid "Stop Time" +msgstr "關閉時間" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:201 +msgid "Stop WiFi" +msgstr "關閉 WiFi" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:163 +msgid "Sunday" +msgstr "星期日" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:33 +msgid "The value %s is invalid" +msgstr "%s 的值無效" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:160 +msgid "Thursday" +msgstr "星期四" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:158 +msgid "Tuesday" +msgstr "星期二" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:102 +msgid "Unload Modules (experimental; saves more power)" +msgstr "解除安裝模組(實驗性的,節省更多電量)" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:29 +msgid "View Cron Jobs" +msgstr "檢視計劃任務" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:28 +msgid "View Logfile" +msgstr "檢視日誌檔案" + +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:159 +msgid "Wednesday" +msgstr "星期三" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:26 +#: applications/luci-app-wifischedule/luasrc/model/cbi/wifischedule/wifi_schedule.lua:39 +msgid "Wifi Schedule" +msgstr "WiFi 計劃" + +#: applications/luci-app-wifischedule/luasrc/controller/wifischedule/wifi_schedule.lua:35 +msgid "Wifi Schedule Logfile" +msgstr "WiFi 計劃日誌檔案"