summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-simple-adblock')
-rw-r--r--applications/luci-app-simple-adblock/Makefile6
-rw-r--r--applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua7
-rw-r--r--applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua7
-rw-r--r--applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua143
-rw-r--r--applications/luci-app-simple-adblock/luasrc/view/simple-adblock/status.htm10
-rw-r--r--applications/luci-app-simple-adblock/po/ja/simple-adblock.po54
-rw-r--r--applications/luci-app-simple-adblock/po/pt-br/simple-adblock.po54
-rw-r--r--applications/luci-app-simple-adblock/po/pt/simple-adblock.po54
-rw-r--r--applications/luci-app-simple-adblock/po/ru/simple-adblock.po54
-rw-r--r--applications/luci-app-simple-adblock/po/sv/simple-adblock.po54
-rw-r--r--applications/luci-app-simple-adblock/po/templates/simple-adblock.pot53
11 files changed, 485 insertions, 11 deletions
diff --git a/applications/luci-app-simple-adblock/Makefile b/applications/luci-app-simple-adblock/Makefile
index 31055f1207..2471078fc3 100644
--- a/applications/luci-app-simple-adblock/Makefile
+++ b/applications/luci-app-simple-adblock/Makefile
@@ -1,4 +1,4 @@
-# Copyright (c) 2017 Stan Grishin (stangri@melmac.net)
+# Copyright 2017-2018 Stan Grishin (stangri@melmac.net)
# This is free software, licensed under the GNU General Public License v3.
include $(TOPDIR)/rules.mk
@@ -8,9 +8,9 @@ PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
LUCI_TITLE:=Simple Adblock Web UI
LUCI_DESCRIPTION:=Provides Web UI for simple-adblock service.
-LUCI_DEPENDS:=+luci +simple-adblock
+LUCI_DEPENDS:=+luci-mod-admin-full +simple-adblock
LUCI_PKGARCH:=all
-PKG_RELEASE:=5
+PKG_RELEASE:=16
include ../../luci.mk
diff --git a/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua b/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua
new file mode 100644
index 0000000000..98f69ac968
--- /dev/null
+++ b/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua
@@ -0,0 +1,7 @@
+module("luci.controller.simple-adblock", package.seeall)
+function index()
+ if not nixio.fs.access("/etc/config/simple-adblock") then
+ return
+ end
+ entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock"))
+end
diff --git a/applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua b/applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua
deleted file mode 100644
index 46125b3098..0000000000
--- a/applications/luci-app-simple-adblock/luasrc/controller/simpleadblock.lua
+++ /dev/null
@@ -1,7 +0,0 @@
-module("luci.controller.simpleadblock", package.seeall)
-function index()
- if not nixio.fs.access("/etc/config/simple-adblock") then
- return
- end
- entry({"admin", "services", "simpleadblock"}, cbi("simpleadblock"), _("Simple AdBlock"))
-end
diff --git a/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua b/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua
new file mode 100644
index 0000000000..4dbb21c6ed
--- /dev/null
+++ b/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua
@@ -0,0 +1,143 @@
+-- Copyright 2016-2018 Stan Grishin <stangri@melmac.net>
+-- Licensed to the public under the Apache License 2.0.
+
+m = Map("simple-adblock", translate("Simple AdBlock Settings"))
+
+h = m:section(NamedSection, "config", "simple-adblock", translate("Service Status"))
+
+local packageName = "simple-adblock"
+local uci = require "luci.model.uci".cursor()
+local util = require "luci.util"
+local enabledFlag = uci:get(packageName, "config", "enabled")
+local status = util.ubus('service', 'list', { name = packageName })
+if status and status[packageName] and status[packageName]['instances'] and status[packageName]['instances']['status'] and status[packageName]['instances']['status']['data'] and status[packageName]['instances']['status']['data']['status'] then
+ status = status[packageName]['instances']['status']['data']['status']
+else
+ status = "Stopped"
+end
+if status:match("Reloading") then
+ ds = h:option(DummyValue, "_dummy", translate("Service Status"))
+ ds.template = "simple-adblock/status"
+ ds.value = status
+else
+ en = h:option(Button, "__toggle")
+ if enabledFlag ~= "1" or status:match("Stopped") then
+ en.title = translate("Service is disabled/stopped")
+ en.inputtitle = translate("Enable/Start")
+ en.inputstyle = "apply important"
+ if nixio.fs.access("/var/simple-adblock.cache") then
+ ds = h:option(DummyValue, "_dummy", translate("Service Status"))
+ ds.template = "simple-adblock/status"
+ ds.value = "Cache file containing " .. luci.util.trim(luci.sys.exec("wc -l < /var/simple-adblock.cache")) .. " domains found"
+ end
+ else
+ en.title = translate("Service is enabled/started")
+ en.inputtitle = translate("Stop/Disable")
+ en.inputstyle = "reset important"
+ ds = h:option(DummyValue, "_dummy", translate("Service Status"))
+ ds.template = "simple-adblock/status"
+ ds.value = status
+ if not status:match("Success") then
+ reload = h:option(Button, "__reload")
+ reload.title = translate("Service started with error")
+ reload.inputtitle = translate("Reload")
+ reload.inputstyle = "apply important"
+ function reload.write()
+ luci.sys.exec("/etc/init.d/simple-adblock reload")
+ luci.http.redirect(luci.dispatcher.build_url("admin/services/" .. packageName))
+ end
+ end
+ end
+ function en.write()
+ enabledFlag = enabledFlag == "1" and "0" or "1"
+ uci:set(packageName, "config", "enabled", enabledFlag)
+ uci:save(packageName)
+ uci:commit(packageName)
+ if enabledFlag == "0" then
+ luci.sys.init.stop(packageName)
+-- luci.sys.exec("/etc/init.d/simple-adblock killcache")
+ else
+ luci.sys.init.enable(packageName)
+ luci.sys.init.start(packageName)
+ end
+ luci.http.redirect(luci.dispatcher.build_url("admin/services/" .. packageName))
+ end
+end
+
+s = m:section(NamedSection, "config", "simple-adblock", translate("Configuration"))
+-- General options
+s:tab("basic", translate("Basic Configuration"))
+
+o2 = s:taboption("basic", ListValue, "verbosity", translate("Output Verbosity Setting"),translate("Controls system log and console output verbosity"))
+o2:value("0", translate("Suppress output"))
+o2:value("1", translate("Some output"))
+o2:value("2", translate("Verbose output"))
+o2.rmempty = false
+o2.default = 2
+
+o3 = s:taboption("basic", ListValue, "force_dns", translate("Force Router DNS"), translate("Forces Router DNS use on local devices, also known as DNS Hijacking"))
+o3:value("0", translate("Let local devices use their own DNS servers if set"))
+o3:value("1", translate("Force Router DNS server to all local devices"))
+o3.rmempty = false
+o3.default = 1
+
+local sysfs_path = "/sys/class/leds/"
+local leds = {}
+if nixio.fs.access(sysfs_path) then
+ leds = nixio.util.consume((nixio.fs.dir(sysfs_path)))
+end
+if #leds ~= 0 then
+ o3 = s:taboption("basic", Value, "led", translate("LED to indicate status"), translate("Pick the LED not already used in")
+ .. [[ <a href="]] .. luci.dispatcher.build_url("admin/system/leds") .. [[">]]
+ .. translate("System LED Configuration") .. [[</a>]])
+ o3.rmempty = true
+ o3:value("", translate("none"))
+ for k, v in ipairs(leds) do
+ o3:value(v)
+ end
+end
+
+s:tab("advanced", translate("Advanced Configuration"))
+
+o6 = s:taboption("advanced", Value, "boot_delay", translate("Delay (in seconds) for on-boot start"), translate("Run service after set delay on boot"))
+o6.default = 120
+o6.datatype = "range(1,600)"
+
+o7 = s:taboption("advanced", Value, "download_timeout", translate("Download time-out (in seconds)"), translate("Stop the download if it is stalled for set number of seconds"))
+o7.default = 10
+o7.datatype = "range(1,60)"
+
+o8 = s:taboption("advanced", ListValue, "debug", translate("Enable Debugging"), translate("Enables debug output to /tmp/simple-adblock.log"))
+o8:value("", translate("Disable Debugging"))
+o8:value("1", translate("Enable Debugging"))
+o8.rmempty = true
+o8.default = 0
+
+
+s2 = m:section(NamedSection, "config", "simple-adblock", translate("Whitelist and Blocklist Management"))
+-- Whitelisted Domains
+d1 = s2:option(DynamicList, "whitelist_domain", translate("Whitelisted Domains"), translate("Individual domains to be whitelisted"))
+d1.addremove = false
+d1.optional = false
+
+-- Blacklisted Domains
+d3 = s2:option(DynamicList, "blacklist_domain", translate("Blacklisted Domains"), translate("Individual domains to be blacklisted"))
+d3.addremove = false
+d3.optional = false
+
+-- Whitelisted Domains URLs
+d2 = s2:option(DynamicList, "whitelist_domains_url", translate("Whitelisted Domain URLs"), translate("URLs to lists of domains to be whitelisted"))
+d2.addremove = false
+d2.optional = false
+
+-- Blacklisted Domains URLs
+d4 = s2:option(DynamicList, "blacklist_domains_url", translate("Blacklisted Domain URLs"), translate("URLs to lists of domains to be blacklisted"))
+d4.addremove = false
+d4.optional = false
+
+-- Blacklisted Hosts URLs
+d5 = s2:option(DynamicList, "blacklist_hosts_url", translate("Blacklisted Hosts URLs"), translate("URLs to lists of hosts to be blacklisted"))
+d5.addremove = false
+d5.optional = false
+
+return m
diff --git a/applications/luci-app-simple-adblock/luasrc/view/simple-adblock/status.htm b/applications/luci-app-simple-adblock/luasrc/view/simple-adblock/status.htm
new file mode 100644
index 0000000000..c453428405
--- /dev/null
+++ b/applications/luci-app-simple-adblock/luasrc/view/simple-adblock/status.htm
@@ -0,0 +1,10 @@
+<%#
+Copyright 2017-2018 Dirk Brenken (dev@brenken.org)
+This is free software, licensed under the Apache License, Version 2.0
+-%>
+
+<%+cbi/valueheader%>
+
+<input name="status" id="status" type="text" class="cbi-input-text" style="outline:none;border:none;box-shadow:none;background:transparent;font-weight:bold;line-height:30px;height:30px;width:50em;" value="<%=self:cfgvalue(section)%>" disabled="disabled" />
+
+<%+cbi/valuefooter%>
diff --git a/applications/luci-app-simple-adblock/po/ja/simple-adblock.po b/applications/luci-app-simple-adblock/po/ja/simple-adblock.po
index 6c98eb6cea..21e34d5bca 100644
--- a/applications/luci-app-simple-adblock/po/ja/simple-adblock.po
+++ b/applications/luci-app-simple-adblock/po/ja/simple-adblock.po
@@ -12,6 +12,12 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: ja\n"
+msgid "Advanced Configuration"
+msgstr ""
+
+msgid "Basic Configuration"
+msgstr ""
+
msgid "Blacklisted Domain URLs"
msgstr "ドメイン ブラックリストのURL"
@@ -21,9 +27,30 @@ msgstr "ブラックリスト ドメイン"
msgid "Blacklisted Hosts URLs"
msgstr "hosts ブラックリストのURL"
+msgid "Configuration"
+msgstr ""
+
msgid "Controls system log and console output verbosity"
msgstr "システム ログとコンソール出力の冗長性を設定します。"
+msgid "Delay (in seconds) for on-boot start"
+msgstr ""
+
+msgid "Disable Debugging"
+msgstr ""
+
+msgid "Download time-out (in seconds)"
+msgstr ""
+
+msgid "Enable Debugging"
+msgstr ""
+
+msgid "Enable/Start"
+msgstr ""
+
+msgid "Enables debug output to /tmp/simple-adblock.log"
+msgstr ""
+
msgid "Force Router DNS"
msgstr "ルーターDNSの強制"
@@ -53,6 +80,24 @@ msgstr "出力詳細度の設定"
msgid "Pick the LED not already used in"
msgstr "右の設定で既に使用されていないLEDを選択します"
+msgid "Reload"
+msgstr ""
+
+msgid "Run service after set delay on boot"
+msgstr ""
+
+msgid "Service Status"
+msgstr ""
+
+msgid "Service is disabled/stopped"
+msgstr ""
+
+msgid "Service is enabled/started"
+msgstr ""
+
+msgid "Service started with error"
+msgstr ""
+
msgid "Simple AdBlock"
msgstr "Simple AdBlock"
@@ -65,6 +110,12 @@ msgstr "軽量出力"
msgid "Start Simple Adblock service"
msgstr ""
+msgid "Stop the download if it is stalled for set number of seconds"
+msgstr ""
+
+msgid "Stop/Disable"
+msgstr ""
+
msgid "Suppress output"
msgstr "出力の抑制"
@@ -83,6 +134,9 @@ msgstr "ブラックリストに登録するドメインが列挙された、hos
msgid "Verbose output"
msgstr "詳細出力"
+msgid "Whitelist and Blocklist Management"
+msgstr ""
+
msgid "Whitelisted Domain URLs"
msgstr "ドメイン ホワイトリストのURL"
diff --git a/applications/luci-app-simple-adblock/po/pt-br/simple-adblock.po b/applications/luci-app-simple-adblock/po/pt-br/simple-adblock.po
index d298e94902..7c55805fab 100644
--- a/applications/luci-app-simple-adblock/po/pt-br/simple-adblock.po
+++ b/applications/luci-app-simple-adblock/po/pt-br/simple-adblock.po
@@ -1,6 +1,12 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
+msgid "Advanced Configuration"
+msgstr ""
+
+msgid "Basic Configuration"
+msgstr ""
+
msgid "Blacklisted Domain URLs"
msgstr "Endereço com lista de Domínio para a Lista Negra"
@@ -10,11 +16,32 @@ msgstr "Domínios para a Lista Negra"
msgid "Blacklisted Hosts URLs"
msgstr "Endereços de Hosts para a Lista Negra"
+msgid "Configuration"
+msgstr ""
+
msgid "Controls system log and console output verbosity"
msgstr ""
"Controla o sistema de registro e o detalhamento das mensagens de saída do "
"console"
+msgid "Delay (in seconds) for on-boot start"
+msgstr ""
+
+msgid "Disable Debugging"
+msgstr ""
+
+msgid "Download time-out (in seconds)"
+msgstr ""
+
+msgid "Enable Debugging"
+msgstr ""
+
+msgid "Enable/Start"
+msgstr ""
+
+msgid "Enables debug output to /tmp/simple-adblock.log"
+msgstr ""
+
msgid "Force Router DNS"
msgstr "Forçar o DNS do Roteador"
@@ -46,6 +73,24 @@ msgstr "Definição do detalhamento do registro"
msgid "Pick the LED not already used in"
msgstr "Escolha um LED não usando em"
+msgid "Reload"
+msgstr ""
+
+msgid "Run service after set delay on boot"
+msgstr ""
+
+msgid "Service Status"
+msgstr ""
+
+msgid "Service is disabled/stopped"
+msgstr ""
+
+msgid "Service is enabled/started"
+msgstr ""
+
+msgid "Service started with error"
+msgstr ""
+
msgid "Simple AdBlock"
msgstr "Simple AdBlock"
@@ -58,6 +103,12 @@ msgstr "Pouco detalhado"
msgid "Start Simple Adblock service"
msgstr ""
+msgid "Stop the download if it is stalled for set number of seconds"
+msgstr ""
+
+msgid "Stop/Disable"
+msgstr ""
+
msgid "Suppress output"
msgstr "Suprimir"
@@ -76,6 +127,9 @@ msgstr "Endereço da lista dos hosts para a Lista Negra"
msgid "Verbose output"
msgstr "Detalhado"
+msgid "Whitelist and Blocklist Management"
+msgstr ""
+
msgid "Whitelisted Domain URLs"
msgstr "Endereço com lista de domínio para a Lista Branca"
diff --git a/applications/luci-app-simple-adblock/po/pt/simple-adblock.po b/applications/luci-app-simple-adblock/po/pt/simple-adblock.po
index d298e94902..7c55805fab 100644
--- a/applications/luci-app-simple-adblock/po/pt/simple-adblock.po
+++ b/applications/luci-app-simple-adblock/po/pt/simple-adblock.po
@@ -1,6 +1,12 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
+msgid "Advanced Configuration"
+msgstr ""
+
+msgid "Basic Configuration"
+msgstr ""
+
msgid "Blacklisted Domain URLs"
msgstr "Endereço com lista de Domínio para a Lista Negra"
@@ -10,11 +16,32 @@ msgstr "Domínios para a Lista Negra"
msgid "Blacklisted Hosts URLs"
msgstr "Endereços de Hosts para a Lista Negra"
+msgid "Configuration"
+msgstr ""
+
msgid "Controls system log and console output verbosity"
msgstr ""
"Controla o sistema de registro e o detalhamento das mensagens de saída do "
"console"
+msgid "Delay (in seconds) for on-boot start"
+msgstr ""
+
+msgid "Disable Debugging"
+msgstr ""
+
+msgid "Download time-out (in seconds)"
+msgstr ""
+
+msgid "Enable Debugging"
+msgstr ""
+
+msgid "Enable/Start"
+msgstr ""
+
+msgid "Enables debug output to /tmp/simple-adblock.log"
+msgstr ""
+
msgid "Force Router DNS"
msgstr "Forçar o DNS do Roteador"
@@ -46,6 +73,24 @@ msgstr "Definição do detalhamento do registro"
msgid "Pick the LED not already used in"
msgstr "Escolha um LED não usando em"
+msgid "Reload"
+msgstr ""
+
+msgid "Run service after set delay on boot"
+msgstr ""
+
+msgid "Service Status"
+msgstr ""
+
+msgid "Service is disabled/stopped"
+msgstr ""
+
+msgid "Service is enabled/started"
+msgstr ""
+
+msgid "Service started with error"
+msgstr ""
+
msgid "Simple AdBlock"
msgstr "Simple AdBlock"
@@ -58,6 +103,12 @@ msgstr "Pouco detalhado"
msgid "Start Simple Adblock service"
msgstr ""
+msgid "Stop the download if it is stalled for set number of seconds"
+msgstr ""
+
+msgid "Stop/Disable"
+msgstr ""
+
msgid "Suppress output"
msgstr "Suprimir"
@@ -76,6 +127,9 @@ msgstr "Endereço da lista dos hosts para a Lista Negra"
msgid "Verbose output"
msgstr "Detalhado"
+msgid "Whitelist and Blocklist Management"
+msgstr ""
+
msgid "Whitelisted Domain URLs"
msgstr "Endereço com lista de domínio para a Lista Branca"
diff --git a/applications/luci-app-simple-adblock/po/ru/simple-adblock.po b/applications/luci-app-simple-adblock/po/ru/simple-adblock.po
index 01e07ddd24..bb536b2306 100644
--- a/applications/luci-app-simple-adblock/po/ru/simple-adblock.po
+++ b/applications/luci-app-simple-adblock/po/ru/simple-adblock.po
@@ -15,6 +15,12 @@ msgstr ""
"Project-Info: Это технический перевод, не дословный. Главное-удобный русский интерфейс, все проверялось в "
"графическом режиме, совместим с другими apps\n"
+msgid "Advanced Configuration"
+msgstr ""
+
+msgid "Basic Configuration"
+msgstr ""
+
msgid "Blacklisted Domain URLs"
msgstr "URL ссылки Черных<br />списков доменов"
@@ -24,9 +30,30 @@ msgstr "Черный список доменов"
msgid "Blacklisted Hosts URLs"
msgstr "URL ссылки Черных<br />списков хостов"
+msgid "Configuration"
+msgstr ""
+
msgid "Controls system log and console output verbosity"
msgstr "Детальная настройка записи событий в системный журнал."
+msgid "Delay (in seconds) for on-boot start"
+msgstr ""
+
+msgid "Disable Debugging"
+msgstr ""
+
+msgid "Download time-out (in seconds)"
+msgstr ""
+
+msgid "Enable Debugging"
+msgstr ""
+
+msgid "Enable/Start"
+msgstr ""
+
+msgid "Enables debug output to /tmp/simple-adblock.log"
+msgstr ""
+
msgid "Force Router DNS"
msgstr "Назначить DNS роутера"
@@ -57,6 +84,24 @@ msgstr "Настройка журнала"
msgid "Pick the LED not already used in"
msgstr "Выберите LED не используется на странице"
+msgid "Reload"
+msgstr ""
+
+msgid "Run service after set delay on boot"
+msgstr ""
+
+msgid "Service Status"
+msgstr ""
+
+msgid "Service is disabled/stopped"
+msgstr ""
+
+msgid "Service is enabled/started"
+msgstr ""
+
+msgid "Service started with error"
+msgstr ""
+
msgid "Simple AdBlock"
msgstr "Simple AdBlock"
@@ -69,6 +114,12 @@ msgstr "Частичная запись"
msgid "Start Simple Adblock service"
msgstr "Запуск сервиса Simple Adblock"
+msgid "Stop the download if it is stalled for set number of seconds"
+msgstr ""
+
+msgid "Stop/Disable"
+msgstr ""
+
msgid "Suppress output"
msgstr "Запретить запись"
@@ -87,6 +138,9 @@ msgstr "URL ссылки Черных списков хостов."
msgid "Verbose output"
msgstr "Подробная запись"
+msgid "Whitelist and Blocklist Management"
+msgstr ""
+
msgid "Whitelisted Domain URLs"
msgstr "URL ссылки Белых списков доменов"
diff --git a/applications/luci-app-simple-adblock/po/sv/simple-adblock.po b/applications/luci-app-simple-adblock/po/sv/simple-adblock.po
index 33408e1839..5d9b9c4adc 100644
--- a/applications/luci-app-simple-adblock/po/sv/simple-adblock.po
+++ b/applications/luci-app-simple-adblock/po/sv/simple-adblock.po
@@ -1,6 +1,12 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
+msgid "Advanced Configuration"
+msgstr ""
+
+msgid "Basic Configuration"
+msgstr ""
+
msgid "Blacklisted Domain URLs"
msgstr "Svartlistade domänadresser"
@@ -10,9 +16,30 @@ msgstr "Svartlistade domäner"
msgid "Blacklisted Hosts URLs"
msgstr "Svartlistade värdadresser"
+msgid "Configuration"
+msgstr ""
+
msgid "Controls system log and console output verbosity"
msgstr "Kontrollerar systemloggar och detaljnivån för konsoll-utmatningen"
+msgid "Delay (in seconds) for on-boot start"
+msgstr ""
+
+msgid "Disable Debugging"
+msgstr ""
+
+msgid "Download time-out (in seconds)"
+msgstr ""
+
+msgid "Enable Debugging"
+msgstr ""
+
+msgid "Enable/Start"
+msgstr ""
+
+msgid "Enables debug output to /tmp/simple-adblock.log"
+msgstr ""
+
msgid "Force Router DNS"
msgstr ""
@@ -40,6 +67,24 @@ msgstr ""
msgid "Pick the LED not already used in"
msgstr ""
+msgid "Reload"
+msgstr ""
+
+msgid "Run service after set delay on boot"
+msgstr ""
+
+msgid "Service Status"
+msgstr ""
+
+msgid "Service is disabled/stopped"
+msgstr ""
+
+msgid "Service is enabled/started"
+msgstr ""
+
+msgid "Service started with error"
+msgstr ""
+
msgid "Simple AdBlock"
msgstr "Simple AdBlock"
@@ -52,6 +97,12 @@ msgstr "Viss utmatning"
msgid "Start Simple Adblock service"
msgstr ""
+msgid "Stop the download if it is stalled for set number of seconds"
+msgstr ""
+
+msgid "Stop/Disable"
+msgstr ""
+
msgid "Suppress output"
msgstr "Förträng utmatning"
@@ -70,6 +121,9 @@ msgstr ""
msgid "Verbose output"
msgstr "Utförlig utmatning"
+msgid "Whitelist and Blocklist Management"
+msgstr ""
+
msgid "Whitelisted Domain URLs"
msgstr "Vitlistade domänadresser"
diff --git a/applications/luci-app-simple-adblock/po/templates/simple-adblock.pot b/applications/luci-app-simple-adblock/po/templates/simple-adblock.pot
index 1a71cae624..38baf58a44 100644
--- a/applications/luci-app-simple-adblock/po/templates/simple-adblock.pot
+++ b/applications/luci-app-simple-adblock/po/templates/simple-adblock.pot
@@ -1,6 +1,12 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
+msgid "Advanced Configuration"
+msgstr ""
+
+msgid "Basic Configuration"
+msgstr ""
+
msgid "Blacklisted Domain URLs"
msgstr ""
@@ -10,9 +16,30 @@ msgstr ""
msgid "Blacklisted Hosts URLs"
msgstr ""
+msgid "Configuration"
+msgstr ""
+
msgid "Controls system log and console output verbosity"
msgstr ""
+msgid "Delay (in seconds) for on-boot start"
+msgstr ""
+
+msgid "Disable Debugging"
+msgstr ""
+
+msgid "Download time-out (in seconds)"
+msgstr ""
+
+msgid "Enable Debugging"
+msgstr ""
+
+msgid "Enable/Start"
+msgstr ""
+
+msgid "Enables debug output to /tmp/simple-adblock.log"
+msgstr ""
+
msgid "Force Router DNS"
msgstr ""
@@ -40,6 +67,24 @@ msgstr ""
msgid "Pick the LED not already used in"
msgstr ""
+msgid "Reload"
+msgstr ""
+
+msgid "Run service after set delay on boot"
+msgstr ""
+
+msgid "Service Status"
+msgstr ""
+
+msgid "Service is disabled/stopped"
+msgstr ""
+
+msgid "Service is enabled/started"
+msgstr ""
+
+msgid "Service started with error"
+msgstr ""
+
msgid "Simple AdBlock"
msgstr ""
@@ -49,7 +94,10 @@ msgstr ""
msgid "Some output"
msgstr ""
-msgid "Start Simple Adblock service"
+msgid "Stop the download if it is stalled for set number of seconds"
+msgstr ""
+
+msgid "Stop/Disable"
msgstr ""
msgid "Suppress output"
@@ -70,6 +118,9 @@ msgstr ""
msgid "Verbose output"
msgstr ""
+msgid "Whitelist and Blocklist Management"
+msgstr ""
+
msgid "Whitelisted Domain URLs"
msgstr ""