diff options
Diffstat (limited to 'applications/luci-app-adblock')
13 files changed, 280 insertions, 141 deletions
diff --git a/applications/luci-app-adblock/Makefile b/applications/luci-app-adblock/Makefile index ae1eba2516..2de2ed8627 100644 --- a/applications/luci-app-adblock/Makefile +++ b/applications/luci-app-adblock/Makefile @@ -9,4 +9,4 @@ LUCI_PKGARCH:=all include ../../luci.mk -# call BuildPackage - OpenWrt buildroot signature
\ No newline at end of file +# call BuildPackage - OpenWrt buildroot signature diff --git a/applications/luci-app-adblock/luasrc/controller/adblock.lua b/applications/luci-app-adblock/luasrc/controller/adblock.lua index 0cfbb5f7f6..d4368e7890 100644 --- a/applications/luci-app-adblock/luasrc/controller/adblock.lua +++ b/applications/luci-app-adblock/luasrc/controller/adblock.lua @@ -27,7 +27,7 @@ function logread() local logfile if nixio.fs.access("/var/log/messages") then - logfile = util.trim(util.exec("cat /var/log/messages | grep -F 'adblock-'")) + logfile = util.trim(util.exec("grep -F 'adblock-' /var/log/messages")) else logfile = util.trim(util.exec("logread -e 'adblock-'")) end @@ -35,7 +35,7 @@ function logread() end function queryData(domain) - if domain and domain:match("^[a-zA-Z0-9%-%._]+$") then + if domain then luci.http.prepare_content("text/plain") local cmd = "/etc/init.d/adblock query %q 2>&1" local util = io.popen(cmd % domain) diff --git a/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua b/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua index 476d8ece6c..dc5ab62cc3 100644 --- a/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua +++ b/applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua @@ -231,43 +231,51 @@ e6:depends("adb_backup", 1) e6.default = e6.disabled e6.rmempty = true -e7 = e:option(Flag, "adb_whitelist_mode", translate("Whitelist Mode"), - translate("Block access to all domains except those explicitly listed in the whitelist file.")) -e7.default = e7.disabled -e7.rmempty = true - -e8 = e:option(Flag, "adb_dnsflush", translate("Flush DNS Cache"), - translate("Flush DNS Cache after adblock processing.")) +e7 = e:option(Value, "adb_maxqueue", translate("Max. Download Queue"), + translate("Size of the download queue to handle downloads & list processing in parallel (default '4').<br />") + .. translate("For further performance improvements you can raise this value, e.g. '8' or '16' should be safe.")) +e7.default = 4 +e7.datatype = "range(1,32)" +e7.rmempty = false + +e8 = e:option(Flag, "adb_jail", translate("'Jail' Blocklist Creation"), + translate("Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all domains except those listed in the whitelist file.<br />") + .. translate("You can use this restrictive blocklist manually e.g. for guest wifi or kidsafe configurations.")) e8.default = e8.disabled e8.rmempty = true -e9 = e:option(Flag, "adb_notify", translate("Email Notification"), - translate("Send notification emails in case of a processing error or if domain count is ≤ 0.<br />") - .. translate("Please note: this needs additional 'mstmp' installation and setup (see readme).")) +e9 = e:option(Flag, "adb_dnsflush", translate("Flush DNS Cache"), + translate("Flush DNS Cache after adblock processing.")) e9.default = e9.disabled e9.rmempty = true -e10 = e:option(Value, "adb_notifycnt", translate("Email Notification Count"), +e10 = e:option(Flag, "adb_notify", translate("Email Notification"), + translate("Send notification emails in case of a processing error or if domain count is ≤ 0.<br />") + .. translate("Please note: this needs additional 'mstmp' package installation and setup.")) +e10.default = e10.disabled +e10.rmempty = true + +e11 = e:option(Value, "adb_notifycnt", translate("Email Notification Count"), translate("Raise the minimum email notification count, to get emails if the overall count is less or equal to the given limit (default 0),<br />") .. translate("e.g. to receive an email notification with every adblock update set this value to 150000.")) -e10.default = 0 -e10.datatype = "min(0)" -e10.optional = true +e11.default = 0 +e11.datatype = "min(0)" +e11.optional = true -e11 = e:option(Value, "adb_dnsdir", translate("DNS Directory"), +e12 = e:option(Value, "adb_dnsdir", translate("DNS Directory"), translate("Target directory for the generated blocklist 'adb_list.overall'.")) -e11.datatype = "directory" -e11.optional = true +e12.datatype = "directory" +e12.optional = true -e12 = e:option(Value, "adb_whitelist", translate("Whitelist File"), +e13 = e:option(Value, "adb_whitelist", translate("Whitelist File"), translate("Full path to the whitelist file.")) -e12.datatype = "file" -e12.default = "/etc/adblock/adblock.whitelist" -e12.optional = true +e13.datatype = "file" +e13.default = "/etc/adblock/adblock.whitelist" +e13.optional = true -e13 = e:option(Value, "adb_triggerdelay", translate("Trigger Delay"), +e14 = e:option(Value, "adb_triggerdelay", translate("Trigger Delay"), translate("Additional trigger delay in seconds before adblock processing begins.")) -e13.datatype = "range(1,60)" -e13.optional = true +e14.datatype = "range(1,60)" +e14.optional = true return m diff --git a/applications/luci-app-adblock/luasrc/view/adblock/query.htm b/applications/luci-app-adblock/luasrc/view/adblock/query.htm index ce706e40aa..8bbc92664d 100644 --- a/applications/luci-app-adblock/luasrc/view/adblock/query.htm +++ b/applications/luci-app-adblock/luasrc/view/adblock/query.htm @@ -49,7 +49,7 @@ This is free software, licensed under the Apache License, Version 2.0 <fieldset class="cbi-section"> <div class="cbi-section-descr"><%:This form allows you to query active block lists for certain domains, e.g. for whitelisting.%></div> <div style="width:33%; float:left;"> - <input style="margin: 5px 0" type="text" value="www.lede-project.org" name="input" /> + <input style="margin: 5px 0" type="text" value="google.com" name="input" /> <input type="button" value="<%:Query%>" class="cbi-button cbi-button-apply" onclick="update_status(this.form.input)" /> </div> <br style="clear:both" /> diff --git a/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm b/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm index e7827b5c31..c01d9a5c08 100644 --- a/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm +++ b/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm @@ -5,6 +5,6 @@ This is free software, licensed under the Apache License, Version 2.0 <%+cbi/valueheader%> -<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="outline:none;border:none;box-shadow:none;background:transparent;color:#0069d6;font-weight:bold;line-height:30px;height:30px;" value="<%=self:cfgvalue(section)%>" disabled="disabled" /> +<input name="runtime" id="runtime" type="text" class="cbi-input-text" style="outline:none;border:none;box-shadow:none;background:transparent;color:#0069d6;font-weight:bold;line-height:30px;height:30px;width:20em;" value="<%=self:cfgvalue(section)%>" disabled="disabled" /> <%+cbi/valuefooter%> diff --git a/applications/luci-app-adblock/po/it/adblock.po b/applications/luci-app-adblock/po/it/adblock.po index b9f772a50a..21b717f36e 100644 --- a/applications/luci-app-adblock/po/it/adblock.po +++ b/applications/luci-app-adblock/po/it/adblock.po @@ -11,6 +11,9 @@ msgstr "" "X-Generator: Poedit 2.0.3\n" "Language: it\n" +msgid "'Jail' Blocklist Creation" +msgstr "" + msgid "-------" msgstr "" @@ -41,15 +44,15 @@ msgstr "Directory del Backup" msgid "Backup Mode" msgstr "" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." -msgstr "" - msgid "Blocklist Sources" msgstr "Fonti lista di Blocco" msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" +msgstr "" + +msgid "" "Caution: To prevent OOM exceptions on low memory devices with less than 64 " "MB free RAM, please do not select more than five blocklist sources!" msgstr "" @@ -155,6 +158,11 @@ msgid "" "documentation</a>" msgstr "" +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" + msgid "Force Local DNS" msgstr "Forza DNS Locale" @@ -198,6 +206,9 @@ msgstr "" msgid "Loading" msgstr "Caricando" +msgid "Max. Download Queue" +msgstr "" + msgid "No" msgstr "No" @@ -225,8 +236,7 @@ msgstr "" "Per favore modifica questo file direttamente in una sessione al terminale." msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." +"Please note: this needs additional 'mstmp' package installation and setup." msgstr "" msgid "Please update your adblock config file to use this package.<br />" @@ -264,6 +274,11 @@ msgid "" "≤ 0.<br />" msgstr "" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" + msgid "Startup Trigger" msgstr "Innesco d'Avvio" @@ -346,12 +361,14 @@ msgstr "Aspettando che il comando venga completato..." msgid "Whitelist File" msgstr "" -msgid "Whitelist Mode" -msgstr "" - msgid "Yes" msgstr "Sì" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." +msgstr "" + msgid "disabled" msgstr "disabilitato" diff --git a/applications/luci-app-adblock/po/ja/adblock.po b/applications/luci-app-adblock/po/ja/adblock.po index a89a81e21d..5929a2bf87 100644 --- a/applications/luci-app-adblock/po/ja/adblock.po +++ b/applications/luci-app-adblock/po/ja/adblock.po @@ -8,9 +8,12 @@ msgstr "" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.5\n" +"X-Generator: Poedit 2.0.6\n" "Language: ja\n" +msgid "'Jail' Blocklist Creation" +msgstr "'Jail' ブロックリストの作成" + msgid "-------" msgstr "(利用不可)" @@ -41,16 +44,17 @@ msgstr "バックアップ先 ディレクトリ" msgid "Backup Mode" msgstr "バックアップ モード" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." -msgstr "" -"ホワイトリストに列記されていない全ドメインへのアクセスをブロックします。" - msgid "Blocklist Sources" msgstr "ブロックリスト提供元" msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" +msgstr "" +"ホワイトリストに存在しない全ドメインへのアクセスをブロックするために、追加で " +"'Jail' リスト (/tmp/adb_list.jail) を作成します。<br />" + +msgid "" "Caution: To prevent OOM exceptions on low memory devices with less than 64 " "MB free RAM, please do not select more than five blocklist sources!" msgstr "" @@ -172,6 +176,13 @@ msgstr "" "詳細な情報は <a href=\"%s\" target=\"_blank\">オンライン ドキュメント</a> を" "確認してください。" +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" +"パフォーマンスの更なる改善のため、安全と思われる '8' や '16' などの値に引き上" +"げることができます。" + msgid "Force Local DNS" msgstr "ローカル DNS の強制" @@ -217,6 +228,9 @@ msgstr "サポートされ、かつ設定済のダウンロード ユーティ msgid "Loading" msgstr "読込中" +msgid "Max. Download Queue" +msgstr "ダウンロード キューの上限" + msgid "No" msgstr "いいえ" @@ -242,11 +256,9 @@ msgid "Please edit this file directly in a terminal session." msgstr "ターミナル セッションで直接このファイルを編集してください。" msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." +"Please note: this needs additional 'mstmp' package installation and setup." msgstr "" -"注意: これには、追加で 'mstmp' のインストールとセットアップが必要です" -"(readme を参照)。" +"注意: これには、追加で 'mstmp' のインストールとセットアップが必要です。" msgid "Please update your adblock config file to use this package.<br />" msgstr "" @@ -288,6 +300,13 @@ msgid "" msgstr "" "処理エラーまたはドメイン カウントが0以下の場合、メールを送信します。<br />" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" +"ダウンロードの制御とリストの処理を同時並行的に行うダウンロード キューのサイズ" +"です(既定値: '4')。<br />" + msgid "Startup Trigger" msgstr "スタートアップ トリガ" @@ -372,12 +391,16 @@ msgstr "コマンド実行中です..." msgid "Whitelist File" msgstr "ホワイトリスト ファイル" -msgid "Whitelist Mode" -msgstr "ホワイトリスト モード" - msgid "Yes" msgstr "はい" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." +msgstr "" +"この制約の厳しいブロックリストを、ゲスト WiFi や子供の安全を守る設定などに手" +"動で利用することができます。" + msgid "disabled" msgstr "無効" @@ -401,19 +424,3 @@ msgstr "一時停止" msgid "running" msgstr "実行中" - -#~ msgid "" -#~ "For SSL protected blocklist sources you need a suitable SSL library, e.g. " -#~ "'libustream-ssl' or the wget 'built-in'." -#~ msgstr "" -#~ "SSLで保護されているブロックリストの取得には、適切なSSL ライブラリが必要で" -#~ "す。例: 'libustream-ssl' または wget 'built-in'" - -#~ msgid "" -#~ "Caution: To prevent OOM exceptions on low memory devices with less than " -#~ "64 MB free RAM, please do not select too many lists - 5-6 should be " -#~ "sufficient!" -#~ msgstr "" -#~ "警告: RAM の空き容量が 64MB に満たないメモリー容量の小さいデバイスでは、 " -#~ "OutOfMemory (OOM) 例外を防ぐために、多くのリストを選択しないようにしてくだ" -#~ "さい。5 - 6個のリストで十分です。" diff --git a/applications/luci-app-adblock/po/pt-br/adblock.po b/applications/luci-app-adblock/po/pt-br/adblock.po index 79cc8b7571..aae656271e 100644 --- a/applications/luci-app-adblock/po/pt-br/adblock.po +++ b/applications/luci-app-adblock/po/pt-br/adblock.po @@ -12,6 +12,9 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" "Language: pt_BR\n" +msgid "'Jail' Blocklist Creation" +msgstr "" + msgid "-------" msgstr "" @@ -44,15 +47,15 @@ msgstr "Diretório da cópia de segurança" msgid "Backup Mode" msgstr "" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." -msgstr "" - msgid "Blocklist Sources" msgstr "Fontes de listas de bloqueio" msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" +msgstr "" + +msgid "" "Caution: To prevent OOM exceptions on low memory devices with less than 64 " "MB free RAM, please do not select more than five blocklist sources!" msgstr "" @@ -155,6 +158,11 @@ msgid "" "documentation</a>" msgstr "" +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" + msgid "Force Local DNS" msgstr "Force o DNS local" @@ -194,6 +202,9 @@ msgstr "" msgid "Loading" msgstr "Carregando" +msgid "Max. Download Queue" +msgstr "" + msgid "No" msgstr "Não" @@ -218,8 +229,7 @@ msgid "Please edit this file directly in a terminal session." msgstr "Por favor edite esse arquivo direto em uma sessão de terminal." msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." +"Please note: this needs additional 'mstmp' package installation and setup." msgstr "" msgid "Please update your adblock config file to use this package.<br />" @@ -256,6 +266,11 @@ msgid "" "≤ 0.<br />" msgstr "" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" + msgid "Startup Trigger" msgstr "" @@ -335,12 +350,14 @@ msgstr "Aguardando por comando para completar..." msgid "Whitelist File" msgstr "" -msgid "Whitelist Mode" -msgstr "" - msgid "Yes" msgstr "Sim" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." +msgstr "" + msgid "disabled" msgstr "" diff --git a/applications/luci-app-adblock/po/ru/adblock.po b/applications/luci-app-adblock/po/ru/adblock.po index 465e120c97..50eb945266 100644 --- a/applications/luci-app-adblock/po/ru/adblock.po +++ b/applications/luci-app-adblock/po/ru/adblock.po @@ -3,7 +3,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: LuCI: adblock\n" "POT-Creation-Date: 2017-10-22 13:00+0300\n" -"PO-Revision-Date: 2018-01-14 11:42+0300\n" +"PO-Revision-Date: 2018-02-07 00:23+0300\n" "Language-Team: http://cyber-place.ru\n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" @@ -15,6 +15,9 @@ msgstr "" "Project-Info: Это технический перевод, не дословный. Главное-удобный русский " "интерфейс, все проверялось в графическом режиме, совместим с другими apps\n" +msgid "'Jail' Blocklist Creation" +msgstr "Создание Черного<br />списка 'Jail'" + msgid "-------" msgstr "-------" @@ -45,17 +48,18 @@ msgstr "Папка для бэкапа" msgid "Backup Mode" msgstr "Режим сохранения бекапа" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." -msgstr "" -"Блокировать доступ ко всем доменам кроме тех, которые явно перечислены в " -"файле Белого списка." - msgid "Blocklist Sources" msgstr "Источники списков блокировки" msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" +msgstr "" +"Создать дополнительный Черный список 'Jail' (/tmp/adb_list.jail), чтобы " +"заблокировать доступ ко всем доменам, кроме тех что перечислены в файле " +"Белого списка.<br />" + +msgid "" "Caution: To prevent OOM exceptions on low memory devices with less than 64 " "MB free RAM, please do not select more than five blocklist sources!" msgstr "" @@ -72,7 +76,7 @@ msgstr "" "интерфейс запуска." msgid "Collecting data..." -msgstr "Сбор информации..." +msgstr "Сбор данных..." msgid "" "Configuration of the adblock package to block ad/abuse domains by using DNS." @@ -175,6 +179,13 @@ msgstr "" "<br />Для получения дополнительной информации <a href=\"%s\" target=\"_blank" "\"> смотрите онлайн документацию</a>." +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" +"Для повышения производительности вы можете увеличить это значение, например " +"значения '8' или '16' повысят безопасность." + msgid "Force Local DNS" msgstr "Назначить локальный DNS" @@ -185,7 +196,7 @@ msgid "Full path to the whitelist file." msgstr "Полный путь к файлу Белого списка." msgid "Input file not found, please check your configuration." -msgstr "Введенный файл не найден, проверьте ваши настройки." +msgstr "Config файл не найден, настройте config файл." msgid "Invalid domain specified!" msgstr "Задан недопустимый домен!" @@ -220,14 +231,17 @@ msgstr "" msgid "Loading" msgstr "Загрузка" +msgid "Max. Download Queue" +msgstr "Максимальное значение очереди загрузки" + msgid "No" msgstr "Нет" msgid "" "Options for further tweaking in case the defaults are not suitable for you." msgstr "" -"Варианты для дальнейшей обработки, если значения по умолчанию вам не " -"подходят." +"Возможные варианты детальной настройки, если значения по умолчанию не " +"подходят для вас." msgid "Overall Domains" msgstr "Итоговые домены" @@ -246,11 +260,8 @@ msgid "Please edit this file directly in a terminal session." msgstr "Отредактируйте данный файл, строго в терминале." msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." -msgstr "" -"Внимание: для этого потребуется дополнительно установить и настроить " -"'mstmp' (см. readme)." +"Please note: this needs additional 'mstmp' package installation and setup." +msgstr "Внимание: это потребует дополнительной установки пакета 'mstmp'." msgid "Please update your adblock config file to use this package.<br />" msgstr "Обновите config файл Adblock, чтобы использовать этот пакет.<br />" @@ -276,7 +287,7 @@ msgid "Resume" msgstr "Возобновить" msgid "Runtime Information" -msgstr "Текущая информация" +msgstr "Информация о состоянии" msgid "SSL req." msgstr "Запрос SSL" @@ -291,6 +302,13 @@ msgstr "" "Отправлять по email уведомления в случае ошибки обработки или если домен " "≤ 0.<br />" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" +"Значение очереди загрузки для выполнения параллельных загрузок (по умолчанию " +"'4').<br />" + msgid "Startup Trigger" msgstr "Назначить" @@ -346,7 +364,7 @@ msgid "" msgstr "Страница системного журнала. Только сообщения связанные с Adblock." msgid "This section contains no values yet" -msgstr "Страница не содержит значений" +msgstr "Здесь не содержатся необходимые значения" msgid "" "To overwrite the default path use the 'DNS Directory' option in the extra " @@ -362,20 +380,24 @@ msgid "Verbose Debug Logging" msgstr "Подробное ведение<br />журнала отладки" msgid "View Logfile" -msgstr "Системный журнал" +msgstr "Показать системный журнал" msgid "Waiting for command to complete..." -msgstr "Ожидание выполнения команды..." +msgstr "Ожидание завершения выполнения команды..." msgid "Whitelist File" msgstr "Файл Белого списка" -msgid "Whitelist Mode" -msgstr "Режим Белого списка" - msgid "Yes" msgstr "Да" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." +msgstr "" +"Вы можете вручную настраивать и использовать этот Черный список, например " +"для гостевой wifi сети или режима родительского контроля." + msgid "disabled" msgstr "отключено" diff --git a/applications/luci-app-adblock/po/sv/adblock.po b/applications/luci-app-adblock/po/sv/adblock.po index d5bb7820b5..4b23e3fdbd 100644 --- a/applications/luci-app-adblock/po/sv/adblock.po +++ b/applications/luci-app-adblock/po/sv/adblock.po @@ -1,6 +1,9 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8\n" +msgid "'Jail' Blocklist Creation" +msgstr "" + msgid "-------" msgstr "-------" @@ -31,15 +34,15 @@ msgstr "Säkerhetskopiera mapp" msgid "Backup Mode" msgstr "" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." -msgstr "" - msgid "Blocklist Sources" msgstr "Källor för blockeringslistor" msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" +msgstr "" + +msgid "" "Caution: To prevent OOM exceptions on low memory devices with less than 64 " "MB free RAM, please do not select more than five blocklist sources!" msgstr "" @@ -145,6 +148,11 @@ msgid "" "documentation</a>" msgstr "" +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" + msgid "Force Local DNS" msgstr "Tvinga lokal DNS" @@ -185,6 +193,9 @@ msgstr "" msgid "Loading" msgstr "Laddar" +msgid "Max. Download Queue" +msgstr "" + msgid "No" msgstr "Nej" @@ -207,8 +218,7 @@ msgid "Please edit this file directly in a terminal session." msgstr "Vänligen redigera den här filen direkt i en terminal-session." msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." +"Please note: this needs additional 'mstmp' package installation and setup." msgstr "" msgid "Please update your adblock config file to use this package.<br />" @@ -245,6 +255,11 @@ msgid "" "≤ 0.<br />" msgstr "" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" + msgid "Startup Trigger" msgstr "Uppstartslösare" @@ -319,12 +334,14 @@ msgstr "Väntar på att kommandot ska slutföras..." msgid "Whitelist File" msgstr "" -msgid "Whitelist Mode" -msgstr "" - msgid "Yes" msgstr "Ja" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." +msgstr "" + msgid "disabled" msgstr "inaktiverad" diff --git a/applications/luci-app-adblock/po/templates/adblock.pot b/applications/luci-app-adblock/po/templates/adblock.pot index 960145ae2c..4a65e2d477 100644 --- a/applications/luci-app-adblock/po/templates/adblock.pot +++ b/applications/luci-app-adblock/po/templates/adblock.pot @@ -1,6 +1,9 @@ msgid "" msgstr "Content-Type: text/plain; charset=UTF-8" +msgid "'Jail' Blocklist Creation" +msgstr "" + msgid "-------" msgstr "" @@ -31,12 +34,12 @@ msgstr "" msgid "Backup Mode" msgstr "" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." +msgid "Blocklist Sources" msgstr "" -msgid "Blocklist Sources" +msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" msgstr "" msgid "" @@ -138,6 +141,11 @@ msgid "" "documentation</a>" msgstr "" +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" + msgid "Force Local DNS" msgstr "" @@ -177,6 +185,9 @@ msgstr "" msgid "Loading" msgstr "" +msgid "Max. Download Queue" +msgstr "" + msgid "No" msgstr "" @@ -199,8 +210,7 @@ msgid "Please edit this file directly in a terminal session." msgstr "" msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." +"Please note: this needs additional 'mstmp' package installation and setup." msgstr "" msgid "Please update your adblock config file to use this package.<br />" @@ -237,6 +247,11 @@ msgid "" "≤ 0.<br />" msgstr "" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" + msgid "Startup Trigger" msgstr "" @@ -305,10 +320,12 @@ msgstr "" msgid "Whitelist File" msgstr "" -msgid "Whitelist Mode" +msgid "Yes" msgstr "" -msgid "Yes" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." msgstr "" msgid "disabled" diff --git a/applications/luci-app-adblock/po/zh-cn/adblock.po b/applications/luci-app-adblock/po/zh-cn/adblock.po index 64460fd349..3dc4fafd32 100644 --- a/applications/luci-app-adblock/po/zh-cn/adblock.po +++ b/applications/luci-app-adblock/po/zh-cn/adblock.po @@ -15,6 +15,9 @@ msgstr "" "X-Generator: Gtranslator 2.91.7\n" "Plural-Forms: nplurals=1; plural=0;\n" +msgid "'Jail' Blocklist Creation" +msgstr "" + msgid "-------" msgstr "-------" @@ -45,15 +48,15 @@ msgstr "备份目录" msgid "Backup Mode" msgstr "" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." -msgstr "" - msgid "Blocklist Sources" msgstr "拦截列表来源" msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" +msgstr "" + +msgid "" "Caution: To prevent OOM exceptions on low memory devices with less than 64 " "MB free RAM, please do not select more than five blocklist sources!" msgstr "" @@ -154,6 +157,11 @@ msgid "" "documentation</a>" msgstr "" +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" + msgid "Force Local DNS" msgstr "强制本地 DNS" @@ -193,6 +201,9 @@ msgstr "" msgid "Loading" msgstr "加载中" +msgid "Max. Download Queue" +msgstr "" + msgid "No" msgstr "否" @@ -217,8 +228,7 @@ msgid "Please edit this file directly in a terminal session." msgstr "请在终端会话中直接编辑此文件。" msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." +"Please note: this needs additional 'mstmp' package installation and setup." msgstr "" msgid "Please update your adblock config file to use this package.<br />" @@ -255,6 +265,11 @@ msgid "" "≤ 0.<br />" msgstr "" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" + msgid "Startup Trigger" msgstr "启动触发器" @@ -323,12 +338,14 @@ msgstr "正在执行命令..." msgid "Whitelist File" msgstr "" -msgid "Whitelist Mode" -msgstr "" - msgid "Yes" msgstr "是" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." +msgstr "" + msgid "disabled" msgstr "已禁用" diff --git a/applications/luci-app-adblock/po/zh-tw/adblock.po b/applications/luci-app-adblock/po/zh-tw/adblock.po index ace0f29cac..d668ebdb15 100644 --- a/applications/luci-app-adblock/po/zh-tw/adblock.po +++ b/applications/luci-app-adblock/po/zh-tw/adblock.po @@ -15,6 +15,9 @@ msgstr "" "X-Generator: Gtranslator 2.91.7\n" "Plural-Forms: nplurals=1; plural=0;\n" +msgid "'Jail' Blocklist Creation" +msgstr "" + msgid "-------" msgstr "-------" @@ -45,15 +48,15 @@ msgstr "備份目錄" msgid "Backup Mode" msgstr "" -msgid "" -"Block access to all domains except those explicitly listed in the whitelist " -"file." -msgstr "" - msgid "Blocklist Sources" msgstr "攔截列表來源" msgid "" +"Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " +"domains except those listed in the whitelist file.<br />" +msgstr "" + +msgid "" "Caution: To prevent OOM exceptions on low memory devices with less than 64 " "MB free RAM, please do not select more than five blocklist sources!" msgstr "" @@ -154,6 +157,11 @@ msgid "" "documentation</a>" msgstr "" +msgid "" +"For further performance improvements you can raise this value, e.g. '8' or " +"'16' should be safe." +msgstr "" + msgid "Force Local DNS" msgstr "強制本地 DNS" @@ -193,6 +201,9 @@ msgstr "" msgid "Loading" msgstr "載入中" +msgid "Max. Download Queue" +msgstr "" + msgid "No" msgstr "否" @@ -217,8 +228,7 @@ msgid "Please edit this file directly in a terminal session." msgstr "請在終端會話中直接編輯此檔案。" msgid "" -"Please note: this needs additional 'mstmp' installation and setup (see " -"readme)." +"Please note: this needs additional 'mstmp' package installation and setup." msgstr "" msgid "Please update your adblock config file to use this package.<br />" @@ -255,6 +265,11 @@ msgid "" "≤ 0.<br />" msgstr "" +msgid "" +"Size of the download queue to handle downloads & list processing in parallel " +"(default '4').<br />" +msgstr "" + msgid "Startup Trigger" msgstr "啟動觸發器" @@ -323,12 +338,14 @@ msgstr "正在執行命令..." msgid "Whitelist File" msgstr "" -msgid "Whitelist Mode" -msgstr "" - msgid "Yes" msgstr "是" +msgid "" +"You can use this restrictive blocklist manually e.g. for guest wifi or " +"kidsafe configurations." +msgstr "" + msgid "disabled" msgstr "已禁用" |