diff options
Diffstat (limited to 'applications')
49 files changed, 1019 insertions, 437 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/query.htm b/applications/luci-app-adblock/luasrc/view/adblock/query.htm index 2cf7e5baaf..88108c3f21 100644 --- a/applications/luci-app-adblock/luasrc/view/adblock/query.htm +++ b/applications/luci-app-adblock/luasrc/view/adblock/query.htm @@ -11,7 +11,7 @@ This is free software, licensed under the Apache License, Version 2.0 function update_status(data) { - var domain = data.value; + var domain = data.value || data.placeholder; var input = document.getElementById('query_input'); var output = document.getElementById('query_output'); @@ -48,7 +48,7 @@ This is free software, licensed under the Apache License, Version 2.0 <div 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 type="text" value="google.com" name="input" /> + <input type="text" placeholder="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 3f4d642592..4f7cfbf8a1 100644 --- a/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm +++ b/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm @@ -18,60 +18,50 @@ This is free software, licensed under the Apache License, Version 2.0 //<![CDATA[ function status_update(json) { - var view = document.getElementById("value_1"); - var btn1 = document.getElementById("btn1"); - var btn1_running = document.getElementById("btn1_running"); - var btn2 = document.getElementById("btn2"); - var btn2_running = document.getElementById("btn2_running"); - var input = json.data.adblock_status; + var btn1 = document.getElementById("btn1"); + var btn1_running = document.getElementById("btn1_running"); + var btn2 = document.getElementById("btn2"); + var btn2_running = document.getElementById("btn2_running"); + var input = json.data.adblock_status || "-"; - view.innerHTML = input || "-"; - if (input === "enabled") - { - btn1.value = "<%:Suspend%>"; - btn1.name = "do_suspend"; - btn2.value = "<%:Refresh%>"; - btn2.name = "do_refresh"; - btn1.disabled = false; - running(btn1_running, 0); - btn2.disabled = false; - running(btn2_running, 0); - } - else if (input === "paused") - { - btn1.value = "<%:Resume%>"; - btn1.name = "do_resume"; - btn2.value = "<%:Refresh%>"; - btn2.name = "do_refresh"; - btn1.disabled = false; - running(btn1_running, 0); - btn2.disabled = false; - running(btn2_running, 0); - } - else - { - btn1.value = "<%:Suspend%>"; - btn1.name = "do_suspend"; - btn2.value = "<%:Refresh%>"; - btn2.name = "do_refresh"; - btn1.disabled = true; - btn2.disabled = true; - } - view = document.getElementById("value_2"); - input = json.data.adblock_version; - view.innerHTML = input || "-"; - view = document.getElementById("value_3"); - input = json.data.fetch_utility; - view.innerHTML = input || "-"; - view = document.getElementById("value_4"); - input = json.data.dns_backend; - view.innerHTML = input || "-"; - view = document.getElementById("value_5"); - input = json.data.overall_domains; - view.innerHTML = input || "-"; - view = document.getElementById("value_6"); - input = json.data.last_rundate; - view.innerHTML = input || "-"; + document.getElementById("value_1").innerHTML = input; + if (input === "enabled") + { + btn1.value = "<%:Suspend%>"; + btn1.name = "do_suspend"; + btn2.value = "<%:Refresh%>"; + btn2.name = "do_refresh"; + btn1.disabled = false; + running(btn1_running, 0); + btn2.disabled = false; + running(btn2_running, 0); + } + else if (input === "paused") + { + btn1.value = "<%:Resume%>"; + btn1.name = "do_resume"; + btn2.value = "<%:Refresh%>"; + btn2.name = "do_refresh"; + btn1.disabled = false; + running(btn1_running, 0); + btn2.disabled = false; + running(btn2_running, 0); + } + else + { + btn1.value = "<%:Suspend%>"; + btn1.name = "do_suspend"; + btn2.value = "<%:Refresh%>"; + btn2.name = "do_refresh"; + btn1.disabled = true; + btn2.disabled = true; + } + + document.getElementById("value_2").innerHTML = json.data.adblock_version || "-"; + document.getElementById("value_3").innerHTML = json.data.fetch_utility || "-"; + document.getElementById("value_4").innerHTML = json.data.dns_backend || "-"; + document.getElementById("value_5").innerHTML = json.data.overall_domains || "-"; + document.getElementById("value_6").innerHTML = json.data.last_rundate || "-"; } function btn_action(action) @@ -116,32 +106,42 @@ This is free software, licensed under the Apache License, Version 2.0 } } + function reset_view() + { + document.getElementById("btn1").value = "<%:Suspend%>"; + document.getElementById("btn1").name = "do_suspend"; + document.getElementById("btn2").value = "<%:Refresh%>"; + document.getElementById("btn2").name = "do_refresh"; + document.getElementById("btn1").disabled = true; + document.getElementById("btn2").disabled = true; + document.getElementById("value_1").innerHTML = "-"; + document.getElementById("value_2").innerHTML = "-"; + document.getElementById("value_3").innerHTML = "-"; + document.getElementById("value_4").innerHTML = "-"; + document.getElementById("value_5").innerHTML = "-"; + document.getElementById("value_6").innerHTML = "-"; + } + XHR.get('<%=luci.dispatcher.build_url("admin", "services", "adblock", "status")%>', null, function(x, json_info) { - if (!x || !json_info) + if (!x || !json_info || !json_info.data) { - var btn1 = document.getElementById("btn1"); - var btn2 = document.getElementById("btn2"); - btn1.value = "<%:Suspend%>"; - btn1.name = "do_suspend"; - btn2.value = "<%:Refresh%>"; - btn2.name = "do_refresh"; - btn1.disabled = true; - btn2.disabled = true; + reset_view(); return; } - status_update(json_info) + status_update(json_info); }); XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "status")%>', null, function(x, json_info) { - if (!x || !json_info) + if (!x || !json_info || !json_info.data) { + reset_view(); return; } - status_update(json_info) + status_update(json_info); }); //]]> </script> diff --git a/applications/luci-app-adblock/po/ja/adblock.po b/applications/luci-app-adblock/po/ja/adblock.po index 3a940a2469..888ecd945e 100644 --- a/applications/luci-app-adblock/po/ja/adblock.po +++ b/applications/luci-app-adblock/po/ja/adblock.po @@ -8,7 +8,7 @@ msgstr "" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.0.7\n" +"X-Generator: Poedit 2.1.1\n" "Language: ja\n" msgid "'Jail' Blocklist Creation" @@ -37,7 +37,7 @@ msgid "Advanced" msgstr "詳細設定" msgid "Archive Categories" -msgstr "" +msgstr "アーカイブ カテゴリ" msgid "Backup Directory" msgstr "バックアップ先 ディレクトリ" @@ -49,12 +49,14 @@ msgid "Blocklist Sources" msgstr "ブロックリスト提供元" msgid "Blocklist not found!" -msgstr "" +msgstr "ブロックリストが見つかりません!" msgid "" "Builds an additional 'Jail' list (/tmp/adb_list.jail) to block access to all " "domains except those listed in the whitelist file." msgstr "" +"ホワイトリストに列挙されたものを除く全てのドメインをブロックする、追加の " +"'Jail' リスト (/tmp/adb_list.jail) を作成します。" msgid "" "Choose 'none' to disable automatic startups, 'timed' to use a classic " @@ -180,10 +182,14 @@ msgid "" "List of available network interfaces. Usually the startup will be triggered " "by the 'wan' interface." msgstr "" +"利用可能なネットワーク インターフェースの一覧です。通常、スタートアップは " +"'wan' インターフェースによってトリガされます。" msgid "" "List of supported DNS backends with their default list export directory." msgstr "" +"サポートされる DNS バックエンドと、それぞれのデフォルトのリスト出力先の一覧で" +"す。" msgid "List of supported and fully pre-configured download utilities." msgstr "サポートされ、かつ設定済のダウンロード ユーティリティの一覧です。" @@ -192,7 +198,7 @@ msgid "Loading" msgstr "読込中" msgid "Low Priority Service" -msgstr "" +msgstr "低優先度サービス" msgid "Max. Download Queue" msgstr "ダウンロード キューの上限" @@ -236,17 +242,21 @@ msgid "" "Raise the minimum email notification count, to get emails if the overall " "count is less or equal to the given limit (default 0)," msgstr "" +"メール通知を行うメール通知カウントの下限値を設定します。全体カウントが指定さ" +"れた値以下の場合、メールを受け取ります(規定値: 0)。" msgid "" "Redirect all DNS queries from 'lan' zone to the local resolver, apply to udp " "and tcp protocol on ports 53, 853 and 5353." msgstr "" +"'lan' ゾーンからの全 DNS クエリをローカル リゾルバにリダイレクトします。これ" +"は、53, 853, 5353 の各ポートにおける UDP, TCP プロトコルに適用されます。" msgid "Refresh" -msgstr "" +msgstr "リフレッシュ" msgid "Refresh Blocklist Sources" -msgstr "" +msgstr "ブロックリスト提供元のリフレッシュ" msgid "Resume" msgstr "再開" @@ -264,16 +274,21 @@ msgid "" "Send notification emails in case of a processing error or if domain count is " "≤ 0." msgstr "" +"処理エラーまたはドメイン カウントが 0 以下の場合、通知メールを送信します。" msgid "" "Set the nice level to 'low priority' and the adblock background processing " "will take less resources from the system." msgstr "" +"nice値(優先度)を '低優先度' に設定し、adblock バックグラウンド処理のシステ" +"ムリソース使用量を抑制します。" msgid "" "Size of the download queue to handle downloads & list processing in " "parallel (default '4')." msgstr "" +"ダウンロードの制御とリストの処理を同時並行的に行うダウンロード キューのサイズ" +"です(規定値: '4')。" msgid "Startup Trigger" msgstr "スタートアップ トリガ" @@ -300,18 +315,22 @@ msgstr "" "KB)。" msgid "The syslog output, pre-filtered for adblock related messages only." -msgstr "" +msgstr "Adblock に関連するメッセージのみが抽出された、システムログ出力です。" msgid "This change requires a manual service stop/re-start to take effect." -msgstr "" +msgstr "この変更の反映には、手動でのサービスの停止 / 再起動が必要です。" msgid "" "This form allows you to modify the content of the adblock blacklist (%s)." msgstr "" +"このフォームでは、Adblock ブラックリスト (%s) の内容を変更することができま" +"す。" msgid "" "This form allows you to modify the content of the adblock whitelist (%s)." msgstr "" +"このフォームでは、Adblock ホワイトリスト (%s) の内容を変更することができま" +"す。" msgid "" "This form allows you to modify the content of the main adblock configuration " @@ -364,106 +383,3 @@ msgid "" "value to 150000." msgstr "" "例: Adblock のアップデート毎にメールを受け取るには、150000 に設定します。" - -#~ msgid "-------" -#~ msgstr "(利用不可)" - -#~ msgid "Adblock Logfile" -#~ msgstr "Adblock ログファイル" - -#~ 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 "" -#~ "For SSL protected blocklist sources you need a suitable SSL library, e.g. " -#~ "'libustream-ssl' or 'built-in'." -#~ msgstr "" -#~ "SSLで保護されているブロックリストの取得には、適切なSSL ライブラリが必要で" -#~ "す。例: 'libustream-ssl' または 'built-in'" - -#~ msgid "" -#~ "List of available network interfaces. Usually the startup will be " -#~ "triggered by the 'wan' interface.<br />" -#~ msgstr "" -#~ "利用可能なネットワーク インターフェースの一覧です。通常、 'wan' インター" -#~ "フェースによりスタートアップがトリガされます。<br />" - -#~ msgid "" -#~ "List of supported DNS backends with their default list export directory." -#~ "<br />" -#~ msgstr "" -#~ "サポートされる DNS バックエンドと、それぞれのデフォルトのリスト出力先ディ" -#~ "レクトリのリストです<br />" - -#~ msgid "" -#~ "Raise the minimum email notification count, to get emails if the overall " -#~ "count is less or equal to the given limit (default 0),<br />" -#~ msgstr "" -#~ "メール通知を行うドメイン カウントの下限を設定します。全体カウントが指定さ" -#~ "れた値以下の場合、メールを受け取ります(規定値: 0)。<br />" - -#~ msgid "Redirect all DNS queries from 'lan' zone to the local resolver." -#~ msgstr "" -#~ "'lan' ゾーンからの全 DNS クエリを、ローカル リゾルバにリダイレクトします。" - -#~ msgid "" -#~ "Send notification emails in case of a processing error or if domain count " -#~ "is ≤ 0.<br />" -#~ msgstr "" -#~ "処理エラーまたはドメイン カウントが0以下の場合、メールを送信します。<br />" - -#~ msgid "" -#~ "Size of the download queue to handle downloads & list processing in " -#~ "parallel (default '4').<br />" -#~ msgstr "" -#~ "ダウンロードの制御とリストの処理を同時並行的に行うダウンロード キューのサ" -#~ "イズです(既定値: '4')。<br />" - -#~ msgid "" -#~ "This form allows you to modify the content of the adblock blacklist (%s)." -#~ "<br />" -#~ msgstr "" -#~ "このフォームでは、Adblock ブラックリスト (%s) の内容を変更することができま" -#~ "す。<br />" - -#~ msgid "" -#~ "This form allows you to modify the content of the adblock whitelist (%s)." -#~ "<br />" -#~ msgstr "" -#~ "このフォームでは、Adblock ホワイトリスト (%s) の内容を変更することができま" -#~ "す。<br />" - -#~ msgid "" -#~ "This form shows the syslog output, pre-filtered for adblock related " -#~ "messages only." -#~ msgstr "" -#~ "このフォームには、システムログ内の Adblock に関連するメッセージのみが表示" -#~ "されます。" - -#~ msgid "disabled" -#~ msgstr "無効" - -#~ msgid "enabled" -#~ msgstr "有効" - -#~ msgid "error" -#~ msgstr "エラー" - -#~ msgid "n/a" -#~ msgstr "利用不可" - -#~ msgid "paused" -#~ msgstr "一時停止" - -#~ msgid "running" -#~ msgstr "実行中" - -#~ msgid "Categories" -#~ msgstr "カテゴリー" - -#~ msgid "Invalid domain specified!" -#~ msgstr "無効なドメインが指定されています!" diff --git a/applications/luci-app-firewall/po/ru/firewall.po b/applications/luci-app-firewall/po/ru/firewall.po index 79c0f0b9a6..b73d963d8f 100644 --- a/applications/luci-app-firewall/po/ru/firewall.po +++ b/applications/luci-app-firewall/po/ru/firewall.po @@ -3,12 +3,12 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: LuCI: firewall\n" "POT-Creation-Date: 2013-09-05 16:02+0200\n" -"PO-Revision-Date: 2018-01-18 21:58+0300\n" +"PO-Revision-Date: 2018-09-06 09:29+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 <picfun@ya.ru>\n" +"Last-Translator: Anton Kikin <a.kikin@tano-systems.com>\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" @@ -43,13 +43,13 @@ msgid "<var>%s</var> and limit to %s" msgstr "<var>%s</var> с пределом в %s" msgid "Accept forward" -msgstr "Принять перенаправление" +msgstr "Принимать перенаправляемый трафик" msgid "Accept input" -msgstr "Принять входящий трафик" +msgstr "Принимать входящий трафик" msgid "Accept output" -msgstr "" +msgstr "Принимать исходящий трафик" msgid "Action" msgstr "Действие" @@ -64,7 +64,7 @@ msgid "Advanced Settings" msgstr "Дополнительные настройки" msgid "Allow forward from <em>source zones</em>:" -msgstr "Разрешить перенаправление из <em>'зон-источников'</em>:" +msgstr "Разрешить перенаправление из <em>'зон источников'</em>:" msgid "Allow forward to <em>destination zones</em>:" msgstr "Разрешить перенаправление в <em>'зоны назначения'</em>:" @@ -84,9 +84,9 @@ msgid "" "each firewall restart, right after the default ruleset has been loaded." msgstr "" "Пользовательские правила позволяют выполнять произвольные команды iptables, " -"которые не охвачены рамками межсетевого экрана.<br />Команды выполняются " -"после каждой перезагрузки межсетевого экрана, сразу после загрузки набора " -"правил по умолчанию." +"которые не охвачены рамками межсетевого экрана. Команды выполняются после " +"каждой перезагрузки межсетевого экрана, сразу после загрузки набора правил " +"по умолчанию." msgid "Destination IP address" msgstr "IP-адрес назначения" @@ -104,28 +104,28 @@ msgid "Disable" msgstr "Отключить" msgid "Discard forward" -msgstr "Отключить перенаправление" +msgstr "Отклонять перенаправляемый трафик" msgid "Discard input" -msgstr "Отключить входящий трафик" +msgstr "Отклонять входящий трафик" msgid "Discard output" -msgstr "" +msgstr "Отклонять исходящий трафик" msgid "Do not rewrite" msgstr "Не перезаписывать" msgid "Do not track forward" -msgstr "Не отслеживать перенаправление" +msgstr "Не отслеживать перенаправляемый трафик" msgid "Do not track input" msgstr "Не отслеживать входящий трафик" msgid "Do not track output" -msgstr "" +msgstr "Не отслеживать исходящий трафик" msgid "Drop invalid packets" -msgstr "Не пропускать<br />некорректные пакеты" +msgstr "Отбрасывать некорректные пакеты" msgid "Enable" msgstr "Включить" @@ -134,13 +134,13 @@ msgid "Enable NAT Loopback" msgstr "Включить NAT Loopback" msgid "Enable SYN-flood protection" -msgstr "Включить защиту<br />от SYN-flood атак" +msgstr "Включить защиту от SYN-flood атак" msgid "Enable logging on this zone" msgstr "Включить журналирование в этой зоне" msgid "Experimental feature. Not fully compatible with QoS/SQM." -msgstr "" +msgstr "Экспериментальный функционал. Не полностью совместим с QoS/SQM." msgid "External IP address" msgstr "Внешний IP-адрес" @@ -152,7 +152,7 @@ msgid "External zone" msgstr "Внешняя зона" msgid "Extra arguments" -msgstr "Дополнительные<br />аргументы" +msgstr "Дополнительные аргументы" msgid "Firewall" msgstr "Межсетевой экран" @@ -176,7 +176,7 @@ msgid "Forward" msgstr "Перенаправление" msgid "Forward to" -msgstr "Перенаправлять из" +msgstr "Перенаправлять на" msgid "Friday" msgstr "Пятница" @@ -191,19 +191,19 @@ msgid "From %s in %s with source %s and %s" msgstr "Из %s в %s с источниками %s и %s" msgid "From %s on <var>this device</var>" -msgstr "" +msgstr "Из %s в <var>это устройство</var>" msgid "From %s on <var>this device</var> with source %s" -msgstr "" +msgstr "Из %s в <var>это устройство</var> с источником %s" msgid "From %s on <var>this device</var> with source %s and %s" -msgstr "" +msgstr "Из %s в <var>это устройство</var> с источниками %s and %s" msgid "General Settings" msgstr "Основные настройки" msgid "Hardware flow offloading" -msgstr "" +msgstr "Аппаратный flow offloading" msgid "IP" msgstr "IP-адрес" @@ -260,22 +260,21 @@ msgid "Masquerading" msgstr "Маскарадинг" msgid "Match" -msgstr "Перенаправлять в" +msgstr "Входящий трафик" msgid "Match ICMP type" -msgstr "Соответствовать<br />ICMP типу" +msgstr "Соответствовать ICMP типу" msgid "Match forwarded traffic to the given destination port or port range." msgstr "" -"Перенаправить соответствующий трафик на определённый порт или диапазон " -"портов. " +"Перенаправлять соответствующий трафик на указанный порт или диапазон портов." msgid "" "Match incoming traffic directed at the given destination port or port range " "on this host" msgstr "" -"Порт который будет принимать входящий трафик из источника 'Внутренний " -"порт' (см.ниже)." +"Порт или диапазон портов, входящие подключения на который будут " +"перенаправляться на внутренний порт внутреннего IP-адреса (см. ниже)" msgid "" "Match incoming traffic originating from the given source port or port range " @@ -288,7 +287,7 @@ msgid "Monday" msgstr "Понедельник" msgid "Month Days" -msgstr "Дни Месяца" +msgstr "Дни месяца" msgid "Name" msgstr "Имя" @@ -310,22 +309,22 @@ msgstr "Новый SNAT" msgid "Only match incoming traffic directed at the given IP address." msgstr "" -"IP-адрес который будет принимать входящий трафик из источника 'Внутренний IP-" -"адрес' (см.ниже) ." +"Применять правило только для входящих подключений на указанный IP-адрес" msgid "Only match incoming traffic from these MACs." -msgstr "Выбирать только входящий трафик от этих MAC-адресов." +msgstr "Применять правило только для входящего трафика от этих MAC-адресов." msgid "Only match incoming traffic from this IP or range." msgstr "" -"Выбирать только входящий трафик от этого IP-адреса или диапазона адресов." +"Применять правило только для входящего трафика от этого IP-адреса или " +"диапазона адресов." msgid "" "Only match incoming traffic originating from the given source port or port " "range on the client host" msgstr "" -"Выбирать только входящий трафик, исходящий из указанного порта или диапазона " -"портов клиентского хоста" +"Применять правило только для входящего трафика от указанного порта или " +"диапазона портов клиентского хоста" msgid "Open ports on router" msgstr "Открыть порты на маршрутизаторе" @@ -337,7 +336,7 @@ msgid "Output" msgstr "Исходящий трафик" msgid "Output zone" -msgstr "" +msgstr "Исходящая зона" msgid "Passes additional arguments to iptables. Use with care!" msgstr "" @@ -360,24 +359,24 @@ msgstr "Протокол" msgid "" "Redirect matched incoming traffic to the given port on the internal host" msgstr "" -"Перенаправить исходящий трафик с данного порта на 'Внешний порт' (см.выше)." +"Перенаправлять трафик на указанный порт или диапазон портов внутреннего IP-" +"адреса" msgid "Redirect matched incoming traffic to the specified internal host" -msgstr "" -"Перенаправить исходящий трафик с данного IP-адреса на 'Внешний IP-адрес' (см." -"выше)." +msgstr "Перенаправлять трафик на указанный IP-адрес" msgid "Refuse forward" -msgstr "Сбрасывать перенаправление" +msgstr "Сбрасывать перенаправляемый трафик" msgid "Refuse input" msgstr "Сбрасывать входящий трафик" msgid "Refuse output" -msgstr "" +msgstr "Сбрасывать исходящий трафик" msgid "Requires hardware NAT support. Implemented at least for mt7621" msgstr "" +"Требуется аппаратная поддержка NAT. Реализовано, по крайней мере, для mt7621" msgid "Restart Firewall" msgstr "Перезапустить межсетевой экран" @@ -408,7 +407,7 @@ msgid "Rewrite to source %s, %s" msgstr "Перенаправлять к источнику %s, %s" msgid "Routing/NAT Offloading" -msgstr "" +msgstr "Маршрутизация/NAT offloading" msgid "Rule is disabled" msgstr "Правило отключено" @@ -426,10 +425,10 @@ msgid "Saturday" msgstr "Суббота" msgid "Software based offloading for routing/NAT" -msgstr "" +msgstr "Программная реализация offloading для маршрутизации/NAT" msgid "Software flow offloading" -msgstr "" +msgstr "Программный flow offloading" msgid "Source IP address" msgstr "IP-адрес источника" @@ -460,16 +459,16 @@ msgid "Source zone" msgstr "Зона источника" msgid "Start Date (yyyy-mm-dd)" -msgstr "Дата начала<br />(год-мес-день)" +msgstr "Дата начала (год-мес-день)" msgid "Start Time (hh:mm:ss)" -msgstr "Время начала<br />(чч:мм:сс)" +msgstr "Время начала (чч:мм:сс)" msgid "Stop Date (yyyy-mm-dd)" -msgstr "Дата остановки<br />(год-мес-день)" +msgstr "Дата окончания (год-мес-день)" msgid "Stop Time (hh:mm:ss)" -msgstr "Время остановки<br />(чч:мм:сс)" +msgstr "Время окончания (чч:мм:сс)" msgid "Sunday" msgstr "Воскресенье" @@ -487,26 +486,27 @@ msgid "" "rule is <em>unidirectional</em>, e.g. a forward from lan to wan does " "<em>not</em> imply a permission to forward from wan to lan as well." msgstr "" -"Данные настройки управляют политиками перенаправления между этой (%s) и " -"другими зонами. Трафиком <em>'зон-назначения'</em> является перенаправленный " -"трафик <strong>'исходящий из %q'</strong>. Трафиком <em>'зон-источников'</" -"em> является трафик <strong>'направленый в %q'</strong>. Перенаправление " -"является <em>'однонаправленным'</em>, то есть перенаправление из lan в wan " -"<em>'не'</em> допускает перенаправление трафика из wan в lan." +"Данные настройки управляют политиками перенаправления трафика между этой " +"(%s) и другими зонами. Трафиком <em>'зон-назначения'</em> является " +"перенаправленный трафик <strong>'исходящий из %q'</strong>. Трафиком " +"<em>'зон-источников'</em> является трафик <strong>'направленый в %q'</" +"strong>. Перенаправление является <em>'однонаправленным'</em>, то есть " +"перенаправление из lan в wan <em>'не'</em> допускает перенаправление трафика " +"из wan в lan." msgid "" "This page allows you to change advanced properties of the port forwarding " "entry. In most cases there is no need to modify those settings." msgstr "" "На этой странице можно изменить расширенные настройки перенаправления портов." -"<br />В большинстве случаев нет необходимости изменять эти параметры." +"В большинстве случаев нет необходимости изменять эти параметры." msgid "" "This page allows you to change advanced properties of the traffic rule " "entry, such as matched source and destination hosts." msgstr "" -"На этой странице можно изменить расширенные настройки правил для трафика." -"<br />В большинстве случаев нет необходимости изменять эти параметры." +"На этой странице можно изменить расширенные настройки правил для трафика.В " +"большинстве случаев нет необходимости изменять эти параметры." msgid "" "This section defines common properties of %q. The <em>input</em> and " @@ -518,7 +518,7 @@ msgstr "" "Страница содержит общие свойства %q. Режимы <em>'Входящий трафик'</em> и " "<em>'Исходящий трафик'</em> устанавливают политики по умолчанию для трафика, " "поступающего и покидающего эту зону, в то время как режим " -"<em>'Перенаправление'</em> описывает политику пересылки трафика между " +"<em>'Перенаправление'</em> описывает политику перенаправления трафика между " "различными сетями внутри зоны. <em>'Использовать сети'</em> указывает, какие " "доступные сети являются членами этой зоны." @@ -529,7 +529,7 @@ msgid "Time in UTC" msgstr "Время UTC" msgid "To %s at %s on <var>this device</var>" -msgstr "К %s, порту %s на <var>этом устройстве</var>" +msgstr "К %s, %s на <var>этом устройстве</var>" msgid "To %s in %s" msgstr "К %s в %s" @@ -562,19 +562,19 @@ msgid "Tuesday" msgstr "Вторник" msgid "Unnamed SNAT" -msgstr "" +msgstr "SNAT без имени" msgid "Unnamed forward" -msgstr "" +msgstr "Перенаправление без имени" msgid "Unnamed rule" -msgstr "" +msgstr "Правило без имени" msgid "Via %s" msgstr "Через %s" msgid "Via %s at %s" -msgstr "Через %s, порт %s" +msgstr "Через %s, %s" msgid "Wednesday" msgstr "Среда" diff --git a/applications/luci-app-https_dns_proxy/Makefile b/applications/luci-app-https_dns_proxy/Makefile new file mode 100644 index 0000000000..2ae2b80f2f --- /dev/null +++ b/applications/luci-app-https_dns_proxy/Makefile @@ -0,0 +1,17 @@ +# Copyright 2017-2018 Stan Grishin (stangri@melmac.net) +# This is free software, licensed under the GNU General Public License v3. + +include $(TOPDIR)/rules.mk + +PKG_LICENSE:=GPL-3.0+ +PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net> + +LUCI_TITLE:=HTTPS DNS Proxy Web UI +LUCI_DESCRIPTION:=Provides Web UI for HTTPS DNS Proxy +LUCI_DEPENDS:=+luci-mod-admin-full +https_dns_proxy +LUCI_PKGARCH:=all +PKG_RELEASE:=2 + +include ../../luci.mk + +# call BuildPackage - OpenWrt buildroot signature diff --git a/applications/luci-app-https_dns_proxy/luasrc/controller/https_dns_proxy.lua b/applications/luci-app-https_dns_proxy/luasrc/controller/https_dns_proxy.lua new file mode 100644 index 0000000000..e1fd8fcb9b --- /dev/null +++ b/applications/luci-app-https_dns_proxy/luasrc/controller/https_dns_proxy.lua @@ -0,0 +1,7 @@ +module("luci.controller.https_dns_proxy", package.seeall) +function index() + if not nixio.fs.access("/etc/config/https_dns_proxy") then + return + end + entry({"admin", "services", "https_dns_proxy"}, cbi("https_dns_proxy"), _("HTTPS DNS Proxy")) +end diff --git a/applications/luci-app-https_dns_proxy/luasrc/model/cbi/https_dns_proxy.lua b/applications/luci-app-https_dns_proxy/luasrc/model/cbi/https_dns_proxy.lua new file mode 100644 index 0000000000..61511a4130 --- /dev/null +++ b/applications/luci-app-https_dns_proxy/luasrc/model/cbi/https_dns_proxy.lua @@ -0,0 +1,53 @@ +local uci = require("luci.model.uci").cursor() + +m = Map("https_dns_proxy", translate("HTTPS DNS Proxy Settings")) +m.template="cbi/map" + +s3 = m:section(TypedSection, "https_dns_proxy", translate("Instances")) +s3.template = "cbi/tblsection" +s3.sortable = false +s3.anonymous = true +s3.addremove = true + +prov = s3:option(ListValue, "url_prefix", translate("Provider")) +prov:value("https://cloudflare-dns.com/dns-query?ct=application/dns-json&","Cloudflare") +prov:value("https://dns.google.com/resolve?","Google") +prov.write = function(self, section, value) + if value and value:match("cloudflare") then + uci:set("https_dns_proxy", section, "bootstrap_dns", "1.1.1.1,1.0.0.1") + uci:set("https_dns_proxy", section, "url_prefix", "https://cloudflare-dns.com/dns-query?ct=application/dns-json&") + else + uci:set("https_dns_proxy", section, "bootstrap_dns", "8.8.8.8,8.8.4.4") + uci:set("https_dns_proxy", section, "url_prefix", "https://dns.google.com/resolve?") + end + uci:set("https_dns_proxy", section, "user", "nobody") + uci:set("https_dns_proxy", section, "group", "nogroup") + uci:save("https_dns_proxy") +end + +la = s3:option(Value, "listen_addr", translate("Listen address")) +la.value = "127.0.0.1" +la.rmempty = true + +lp = s3:option(Value, "listen_port", translate("Listen port")) +lp.datatype = "port" +lp.placeholder = "5053" +lp.rmempty = true + +-- user = s3:option(Value, "user", translate("User name")) +-- user.placeholder = "nobody" +-- user.rmempty = true + +-- group = s3:option(Value, "group", translate("Group name")) +-- group.placeholder = "nogroup" +-- group.rmempty = true + +sa = s3:option(Value, "subnet_addr", translate("Subnet address")) +sa.datatype = "ip4prefix" +sa.rmempty = true + +ps = s3:option(Value, "proxy_server", translate("Proxy server")) +-- ps.datatype = "or(ipaddr,hostname)" +ps.rmempty = true + +return m diff --git a/applications/luci-app-https_dns_proxy/po/templates/https_dns_proxy.pot b/applications/luci-app-https_dns_proxy/po/templates/https_dns_proxy.pot new file mode 100644 index 0000000000..c292e79325 --- /dev/null +++ b/applications/luci-app-https_dns_proxy/po/templates/https_dns_proxy.pot @@ -0,0 +1,32 @@ +msgid "" +msgstr "Content-Type: text/plain; charset=UTF-8" + +msgid "Group name" +msgstr "" + +msgid "HTTPS DNS Proxy" +msgstr "" + +msgid "HTTPS DNS Proxy Settings" +msgstr "" + +msgid "Instances" +msgstr "" + +msgid "Listen address" +msgstr "" + +msgid "Listen port" +msgstr "" + +msgid "Provider" +msgstr "" + +msgid "Proxy server" +msgstr "" + +msgid "Subnet address" +msgstr "" + +msgid "User name" +msgstr "" diff --git a/applications/luci-app-https_dns_proxy/root/etc/uci-defaults/40_luci-https_dns_proxy b/applications/luci-app-https_dns_proxy/root/etc/uci-defaults/40_luci-https_dns_proxy new file mode 100644 index 0000000000..7800af701e --- /dev/null +++ b/applications/luci-app-https_dns_proxy/root/etc/uci-defaults/40_luci-https_dns_proxy @@ -0,0 +1,10 @@ +#!/bin/sh +uci -q batch <<-EOF >/dev/null + delete ucitrack.@https_dns_proxy[-1] + add ucitrack https_dns_proxy + set ucitrack.@template[-1].init=https_dns_proxy + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index 2d46953e55..d2d7422a6b 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -101,6 +101,10 @@ function diagnosticsData(interface, task) if addr and addr:match("^[a-zA-Z0-9%-%.:_]+$") then local util = io.popen(cmd %{ut.shellquote(device), ut.shellquote(addr)}) if util then + luci.http.write("Command:\n") + luci.http.write(cmd %{ut.shellquote(device), + ut.shellquote(addr)} .. "\n\n") + luci.http.write("Result:\n") while true do local ln = util:read("*l") if not ln then break end @@ -140,7 +144,8 @@ function diagnosticsData(interface, task) local uci = require "luci.model.uci".cursor(nil, "/var/state") local nw = require "luci.model.network".init() local network = nw:get_network(interface) - local device = network and network:ifname() + local device = network and network:get_interface() + device = device:name() luci.http.prepare_content("text/plain") if device then @@ -150,7 +155,7 @@ function diagnosticsData(interface, task) diag_command("ping -I %s -c 5 -W 1 %s 2>&1", device, gateway) else luci.http.prepare_content("text/plain") - luci.http.write(string.format("No gateway for interface %s found.", interface)) + luci.http.write(translatef("No gateway for interface %s found.", interface)) end elseif task == "ping_trackips" then local trackips = uci:get("mwan3", interface, "track_ip") @@ -159,7 +164,7 @@ function diagnosticsData(interface, task) diag_command("ping -I %s -c 5 -W 1 %s 2>&1", device, trackips[i]) end else - luci.http.write(string.format("No tracking Hosts for interface %s defined.", interface)) + luci.http.write(translatef("No tracking Hosts for interface %s defined.", interface)) end elseif task == "check_rules" then local number = getInterfaceNumber(interface) @@ -168,30 +173,30 @@ function diagnosticsData(interface, task) local iif_rule = sys.exec(string.format("ip rule | grep %d", iif)) local fwmark_rule = sys.exec(string.format("ip rule | grep %d", fwmark)) if iif_rule ~= "" and fwmark_rule ~= "" then - luci.http.write(string.format("All required IP rules for interface %s found", interface)) + luci.http.write(translatef("All required IP rules for interface %s found", interface)) luci.http.write("\n") luci.http.write(fwmark_rule) luci.http.write(iif_rule) elseif iif_rule == "" and fwmark_rule ~= "" then - luci.http.write(string.format("Only one IP rules for interface %s found", interface)) + luci.http.write(translatef("Only one IP rules for interface %s found", interface)) luci.http.write("\n") luci.http.write(fwmark_rule) elseif iif_rule ~= "" and fwmark_rule == "" then - luci.http.write(string.format("Only one IP rules for interface %s found", interface)) + luci.http.write(translatef("Only one IP rules for interface %s found", interface)) luci.http.write("\n") luci.http.write(iif_rule) else - luci.http.write(string.format("Missing both IP rules for interface %s", interface)) + luci.http.write(translatef("Missing both IP rules for interface %s", interface)) end elseif task == "check_routes" then local number = getInterfaceNumber(interface) local routeTable = sys.exec(string.format("ip route list table %s", number)) if routeTable ~= "" then - luci.http.write(string.format("Routing table %s for interface %s found", number, interface)) + luci.http.write(translatef("Routing table %s for interface %s found", number, interface)) luci.http.write("\n") luci.http.write(routeTable) else - luci.http.write(string.format("Routing table %s for interface %s not found", number, interface)) + luci.http.write(translatef("Routing table %s for interface %s not found", number, interface)) end elseif task == "hotplug_ifup" then os.execute(string.format("/usr/sbin/mwan3 ifup %s", ut.shellquote(interface))) diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua index a6570e341c..d01945bf4a 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/interfaceconfig.lua @@ -13,10 +13,8 @@ mwan_interface = m5:section(NamedSection, arg[1], "interface", "") mwan_interface.addremove = false mwan_interface.dynamic = false -enabled = mwan_interface:option(ListValue, "enabled", translate("Enabled")) -enabled.default = "1" -enabled:value("1", translate("Yes")) -enabled:value("0", translate("No")) +enabled = mwan_interface:option(Flag, "enabled", translate("Enabled")) +enabled.default = false initial_state = mwan_interface:option(ListValue, "initial_state", translate("Initial state"), translate("Expect interface state on up event")) diff --git a/applications/luci-app-mwan3/po/ja/mwan3.po b/applications/luci-app-mwan3/po/ja/mwan3.po index a5826926dd..8a1cad2f6b 100644 --- a/applications/luci-app-mwan3/po/ja/mwan3.po +++ b/applications/luci-app-mwan3/po/ja/mwan3.po @@ -40,6 +40,9 @@ msgstr "利用可能な値: 1-1000。空欄の場合のデフォルトは1です msgid "Acceptable values: 1-256. Defaults to 1 if not set" msgstr "利用可能な値: 1-256。空欄の場合のデフォルトは1です。" +msgid "All required IP rules for interface %s found" +msgstr "" + msgid "Check IP rules" msgstr "IP ルールのチェック" @@ -263,6 +266,9 @@ msgstr "最小パケットレイテンシ [ms]" msgid "Min packet loss [%]" msgstr "最小パケットロス [%]" +msgid "Missing both IP rules for interface %s" +msgstr "" + msgid "" "Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/" "youtube.com/youtube\")" @@ -276,6 +282,12 @@ msgstr "いいえ" msgid "No MWAN interfaces found" msgstr "MWAN インターフェースが見つかりません" +msgid "No gateway for interface %s found." +msgstr "" + +msgid "No tracking Hosts for interface %s defined." +msgstr "" + msgid "Notification" msgstr "通知" @@ -285,6 +297,9 @@ msgstr "オフライン" msgid "Online" msgstr "オンライン" +msgid "Only one IP rules for interface %s found" +msgstr "" + msgid "Ping count" msgstr "Ping 回数" @@ -342,6 +357,12 @@ msgstr "プロトコル" msgid "Recovery interval" msgstr "障害復旧 インターバル" +msgid "Routing table %s for interface %s found" +msgstr "" + +msgid "Routing table %s for interface %s not found" +msgstr "" + msgid "Rule" msgstr "ルール" diff --git a/applications/luci-app-mwan3/po/ru/mwan3.po b/applications/luci-app-mwan3/po/ru/mwan3.po index 140c537e73..4d52d7108c 100644 --- a/applications/luci-app-mwan3/po/ru/mwan3.po +++ b/applications/luci-app-mwan3/po/ru/mwan3.po @@ -43,6 +43,9 @@ msgstr "Допустимые значения: 1-1000. По умолчанию 1 msgid "Acceptable values: 1-256. Defaults to 1 if not set" msgstr "Допустимые значения: 1-256 По умолчанию 1, если значение не задано." +msgid "All required IP rules for interface %s found" +msgstr "" + msgid "Check IP rules" msgstr "Проверить правила IP" @@ -262,6 +265,9 @@ msgstr "" msgid "Min packet loss [%]" msgstr "" +msgid "Missing both IP rules for interface %s" +msgstr "" + msgid "" "Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/" "youtube.com/youtube\")" @@ -275,6 +281,12 @@ msgstr "Нет" msgid "No MWAN interfaces found" msgstr "Интерфейсы MWAN не найдены" +msgid "No gateway for interface %s found." +msgstr "" + +msgid "No tracking Hosts for interface %s defined." +msgstr "" + msgid "Notification" msgstr "Уведомления" @@ -284,6 +296,9 @@ msgstr "Отключен" msgid "Online" msgstr "Онлайн" +msgid "Only one IP rules for interface %s found" +msgstr "" + msgid "Ping count" msgstr "Кол-во пинг-запросов" @@ -341,6 +356,12 @@ msgstr "Протокол" msgid "Recovery interval" msgstr "Интервал восстановления" +msgid "Routing table %s for interface %s found" +msgstr "" + +msgid "Routing table %s for interface %s not found" +msgstr "" + msgid "Rule" msgstr "Правило" diff --git a/applications/luci-app-mwan3/po/templates/mwan3.pot b/applications/luci-app-mwan3/po/templates/mwan3.pot index bcc5e977a5..e815afd1f0 100644 --- a/applications/luci-app-mwan3/po/templates/mwan3.pot +++ b/applications/luci-app-mwan3/po/templates/mwan3.pot @@ -27,6 +27,9 @@ msgstr "" msgid "Acceptable values: 1-256. Defaults to 1 if not set" msgstr "" +msgid "All required IP rules for interface %s found" +msgstr "" + msgid "Check IP rules" msgstr "" @@ -231,6 +234,9 @@ msgstr "" msgid "Min packet loss [%]" msgstr "" +msgid "Missing both IP rules for interface %s" +msgstr "" + msgid "" "Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/" "youtube.com/youtube\")" @@ -242,6 +248,12 @@ msgstr "" msgid "No MWAN interfaces found" msgstr "" +msgid "No gateway for interface %s found." +msgstr "" + +msgid "No tracking Hosts for interface %s defined." +msgstr "" + msgid "Notification" msgstr "" @@ -251,6 +263,9 @@ msgstr "" msgid "Online" msgstr "" +msgid "Only one IP rules for interface %s found" +msgstr "" + msgid "Ping count" msgstr "" @@ -300,6 +315,12 @@ msgstr "" msgid "Recovery interval" msgstr "" +msgid "Routing table %s for interface %s found" +msgstr "" + +msgid "Routing table %s for interface %s not found" +msgstr "" + msgid "Rule" msgstr "" diff --git a/applications/luci-app-mwan3/po/zh-cn/mwan3.po b/applications/luci-app-mwan3/po/zh-cn/mwan3.po index a6d73159f5..4fd6817407 100644 --- a/applications/luci-app-mwan3/po/zh-cn/mwan3.po +++ b/applications/luci-app-mwan3/po/zh-cn/mwan3.po @@ -38,6 +38,9 @@ msgstr "取值范围:1-1000。如果不填写,默认值为 1" msgid "Acceptable values: 1-256. Defaults to 1 if not set" msgstr "取值范围:1-256。如果不填写,默认值为 1" +msgid "All required IP rules for interface %s found" +msgstr "" + msgid "Check IP rules" msgstr "检查 IP 规则" @@ -251,6 +254,9 @@ msgstr "最小数据包延迟 [ms]" msgid "Min packet loss [%]" msgstr "最小数据包丢失率 [%]" +msgid "Missing both IP rules for interface %s" +msgstr "" + msgid "" "Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/" "youtube.com/youtube\")" @@ -264,6 +270,12 @@ msgstr "否" msgid "No MWAN interfaces found" msgstr "没有找到 MWAN 接口" +msgid "No gateway for interface %s found." +msgstr "" + +msgid "No tracking Hosts for interface %s defined." +msgstr "" + msgid "Notification" msgstr "通知" @@ -273,6 +285,9 @@ msgstr "离线" msgid "Online" msgstr "在线" +msgid "Only one IP rules for interface %s found" +msgstr "" + msgid "Ping count" msgstr "Ping 计数" @@ -327,6 +342,12 @@ msgstr "通信协议" msgid "Recovery interval" msgstr "故障恢复间隔" +msgid "Routing table %s for interface %s found" +msgstr "" + +msgid "Routing table %s for interface %s not found" +msgstr "" + msgid "Rule" msgstr "规则" diff --git a/applications/luci-app-mwan3/po/zh-tw/mwan3.po b/applications/luci-app-mwan3/po/zh-tw/mwan3.po index 00baedf216..bb17b559d2 100644 --- a/applications/luci-app-mwan3/po/zh-tw/mwan3.po +++ b/applications/luci-app-mwan3/po/zh-tw/mwan3.po @@ -38,6 +38,9 @@ msgstr "取值範圍:1-1000。如果不填寫,預設值為 1" msgid "Acceptable values: 1-256. Defaults to 1 if not set" msgstr "取值範圍:1-256。如果不填寫,預設值為 1" +msgid "All required IP rules for interface %s found" +msgstr "" + msgid "Check IP rules" msgstr "檢查 IP 規則" @@ -251,6 +254,9 @@ msgstr "最小資料包延遲 [ms]" msgid "Min packet loss [%]" msgstr "最小資料包丟失率 [%]" +msgid "Missing both IP rules for interface %s" +msgstr "" + msgid "" "Name of IPset rule. Requires IPset rule in /etc/dnsmasq.conf (eg \"ipset=/" "youtube.com/youtube\")" @@ -264,6 +270,12 @@ msgstr "否" msgid "No MWAN interfaces found" msgstr "沒有找到 MWAN 介面" +msgid "No gateway for interface %s found." +msgstr "" + +msgid "No tracking Hosts for interface %s defined." +msgstr "" + msgid "Notification" msgstr "通知" @@ -273,6 +285,9 @@ msgstr "離線" msgid "Online" msgstr "在線" +msgid "Only one IP rules for interface %s found" +msgstr "" + msgid "Ping count" msgstr "Ping 計數" @@ -327,6 +342,12 @@ msgstr "通訊協議" msgid "Recovery interval" msgstr "故障恢復間隔" +msgid "Routing table %s for interface %s found" +msgstr "" + +msgid "Routing table %s for interface %s not found" +msgstr "" + msgid "Rule" msgstr "規則" diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index dc7718217c..6dc43bec24 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -204,10 +204,6 @@ local knownParams = { "dev_node", "/dev/net/tun", translate("Use tun/tap device node") }, - { Flag, - "tun_ipv6", - 0, - translate("Make tun device IPv6 capable") }, { Value, "ifconfig", "10.200.200.3 10.200.200.1", @@ -248,15 +244,6 @@ local knownParams = { "mtu_test", 0, translate("Empirically measure MTU") }, - { ListValue, - "comp_lzo", - { "yes", "no", "adaptive" }, - translate("Use fast LZO compression") }, - { Flag, - "comp_noadapt", - 0, - translate("Don't use adaptive lzo compression"), - { comp_lzo=1 } }, { Value, "link_mtu", 1500, @@ -375,7 +362,7 @@ local knownParams = { { client="0" }, { client="" } }, { DynamicList, "push", - { "redirect-gateway", "comp-lzo" }, + { "redirect-gateway" }, translate("Push options to peer"), { client="0" }, { client="" } }, { Flag, @@ -398,12 +385,6 @@ local knownParams = { "/etc/openvpn/ipp.txt 600", translate("Persist/unpersist ifconfig-pool"), { client="0" }, { client="" } }, - -- deprecated and replaced by --topology p2p - -- { Flag, - -- "ifconfig_pool_linear", - -- 0, - -- translate("Use individual addresses rather than /30 subnets"), - -- { client="0" }, { client="" } }, { Value, "ifconfig_push", "10.200.200.1 255.255.255.255", @@ -470,11 +451,6 @@ local knownParams = { translate("Allowed maximum of new connections"), { client="0" }, { client="" } }, { Flag, - "client_cert_not_required", - 0, - translate("Don't require client certificate"), - { client="0" }, { client="" } }, - { Flag, "username_as_common_name", 0, translate("Use username as common name"), @@ -591,10 +567,6 @@ local knownParams = { "engine", "dynamic", translate("Enable OpenSSL hardware crypto engines") }, - { Flag, - "no_replay", - 0, - translate("Disable replay protection") }, { Value, "replay_window", "64 15", @@ -608,10 +580,6 @@ local knownParams = { "/var/run/openvpn-replay-state", translate("Persist replay-protection state") }, { Flag, - "no_iv", - 0, - translate("Disable cipher initialisation vector") }, - { Flag, "tls_server", 0, translate("Enable TLS and assume server role"), diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua index 3f651c0ada..483860c8e9 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua @@ -4,7 +4,6 @@ require("luci.ip") require("luci.model.uci") - local basicParams = { -- -- Widget, Name, Default(s), Description @@ -14,14 +13,12 @@ local basicParams = { { Value, "nice",0, translate("Change process priority") }, { Value,"port",1194, translate("TCP/UDP port # for both local and remote") }, { ListValue,"dev_type",{ "tun", "tap" }, translate("Type of used device") }, - { Flag,"tun_ipv6",0, translate("Make tun device IPv6 capable") }, { Value,"ifconfig","10.200.200.3 10.200.200.1", translate("Set tun/tap adapter parameters") }, { Value,"server","10.200.200.0 255.255.255.0", translate("Configure server mode") }, { Value,"server_bridge","192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254", translate("Configure server bridge") }, { Flag,"nobind",0, translate("Do not bind to local address and port") }, - { ListValue,"comp_lzo",{"yes","no","adaptive"}, translate("Use fast LZO compression") }, { Value,"keepalive","10 60", translate("Helper directive to simplify the expression of --ping and --ping-restart in server mode configurations") }, { ListValue,"proto",{ "udp", "tcp-client", "tcp-server" }, translate("Use protocol") }, diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua index a6b0e1dd90..e17aa4085b 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn.lua @@ -52,21 +52,22 @@ function s.create(self, name) luci.cbi.CREATE_PREFIX .. self.config .. "." .. self.sectiontype .. ".select" ) - name = luci.http.formvalue( + local name = luci.http.formvalue( luci.cbi.CREATE_PREFIX .. self.config .. "." .. self.sectiontype .. ".text" ) if #name > 3 and not name:match("[^a-zA-Z0-9_]") then - uci:section( - "openvpn", "openvpn", name, - uci:get_all( "openvpn_recipes", recipe ) - ) - - uci:delete("openvpn", name, "_role") - uci:delete("openvpn", name, "_description") - uci:save("openvpn") - - luci.http.redirect( self.extedit:format(name) ) + local s = uci:section("openvpn", "openvpn", name) + if s then + local options = uci:get_all("openvpn_recipes", recipe) + for k, v in pairs(options) do + uci:set("openvpn", name, k, v) + end + uci:delete("openvpn", name, "_role") + uci:delete("openvpn", name, "_description") + uci:save("openvpn") + luci.http.redirect( self.extedit:format(name) ) + end elseif #name > 0 then self.invalid_cts = true end diff --git a/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm b/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm index f22cb68c7b..8cb019b461 100644 --- a/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm +++ b/applications/luci-app-openvpn/luasrc/view/openvpn/pageswitch.htm @@ -4,11 +4,11 @@ Licensed to the public under the Apache License 2.0. -%> -<fieldset class="cbi-section"> - <legend> +<div class="cbi-section"> + <h3> <a href="<%=url('admin/services/openvpn')%>"><%:Overview%></a> » <%=luci.i18n.translatef("Instance \"%s\"", self.instance)%> - </legend> + </h3> <% if self.mode == "basic" then %> <a href="<%=url('admin/services/openvpn/advanced', self.instance, "Service")%>"><%:Switch to advanced configuration »%></a> @@ -27,4 +27,4 @@ <% if next(self.categories, i) then %>|<% end %> <% end %> <% end %> -</fieldset> +</div> diff --git a/applications/luci-app-openvpn/root/etc/config/openvpn_recipes b/applications/luci-app-openvpn/root/etc/config/openvpn_recipes index 1b394dffbc..69270e48e1 100644 --- a/applications/luci-app-openvpn/root/etc/config/openvpn_recipes +++ b/applications/luci-app-openvpn/root/etc/config/openvpn_recipes @@ -2,101 +2,94 @@ # Routed point-to-point server # config openvpn_recipe server_tun_ptp - option _description "Simple server configuration for a routed point-to-point VPN" - option _role "server" - option dev "tun" - option ifconfig "10.0.0.1 10.0.0.2" - option secret "shared-secret.key" - option keepalive "10 60" - option comp_lzo "yes" - option verb "3" - option mssfix "1420" + option _description 'Simple server configuration for a routed point-to-point VPN' + option _role 'server' + option dev 'tun' + option ifconfig '10.0.0.1 10.0.0.2' + option secret 'shared-secret.key' + option keepalive '10 60' + option verb '3' + option mssfix '1420' # # Routed point-to-point client # config openvpn_recipe client_tun_ptp - option _description "Simple client configuration for a routed point-to-point VPN" - option _role "client" - option dev "tun" - list remote "vpnserver.example.org" - option ifconfig "10.0.0.2 10.0.0.1" - option secret "shared-secret.key" - option nobind "1" - option comp_lzo "yes" - option verb "3" + option _description 'Simple client configuration for a routed point-to-point VPN' + option _role 'client' + option dev 'tun' + list remote 'vpnserver.example.org' + option ifconfig '10.0.0.2 10.0.0.1' + option secret 'shared-secret.key' + option nobind '1' + option verb '3' # # Routed multi-client server # config openvpn_recipe server_tun - option _description "Server configuration for a routed multi-client VPN" - option _role "server" - option dev "tun" - option server "10.0.100.0 255.255.255.0" - option ca "ca.crt" - option cert "server.crt" - option key "server.key" - option dh "dh1024.pem" - option keepalive "10 60" - option comp_lzo "yes" - option verb "3" - option mssfix "1420" + option _description 'Server configuration for a routed multi-client VPN' + option _role 'server' + option dev 'tun' + option server '10.0.100.0 255.255.255.0' + option ca 'ca.crt' + option cert 'server.crt' + option key 'server.key' + option dh 'dh1024.pem' + option keepalive '10 60' + option verb '3' + option mssfix '1420' # # Routed client # config openvpn_recipe client_tun - option _description "Client configuration for a routed multi-client VPN" - option _role "client" - option client "1" - option dev "tun" - list remote "vpnserver.example.org" - option pkcs12 "my_client.p12" - option remote_cert_tls "server" - option comp_lzo "yes" - option nobind "1" - option persist_key "1" - option persist_tun "1" - option verb "3" - option reneg_sec "0" - option float "1" + option _description 'Client configuration for a routed multi-client VPN' + option _role 'client' + option client '1' + option dev 'tun' + list remote 'vpnserver.example.org' + option pkcs12 'my_client.p12' + option remote_cert_tls 'server' + option nobind '1' + option persist_key '1' + option persist_tun '1' + option verb '3' + option reneg_sec '0' + option float '1' # # Multi-client ethernet bridge server # config openvpn_recipe server_tap_bridge - option _description "Server configuration for an ethernet bridge VPN" - option _role "server" - option dev "tap" - option server_bridge "192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254" - option ca "ca.crt" - option cert "server.crt" - option key "server.key" - option dh "dh1024.pem" - option keepalive "10 60" - option comp_lzo "yes" - option verb "3" - option mssfix "1420" + option _description 'Server configuration for an ethernet bridge VPN' + option _role 'server' + option dev 'tap' + option server_bridge '192.168.1.1 255.255.255.0 192.168.1.128 192.168.1.254' + option ca 'ca.crt' + option cert 'server.crt' + option key 'server.key' + option dh 'dh1024.pem' + option keepalive '10 60' + option verb '3' + option mssfix '1420' # # Ethernet bridge client # config openvpn_recipe client_tap_bridge - option _description "Client configuration for an ethernet bridge VPN" - option _role "client" - option client "1" - option dev "tap" - list remote "vpnserver.example.org" - option ca "ca.crt" - option cert "my_client.crt" - option key "my_client.key" - option dh "dh1024.pem" - option remote_cert_tls "server" - option comp_lzo "yes" - option nobind "1" - option persist_key "1" - option verb "3" - option reneg_sec "0" - option float "1" - + option _description 'Client configuration for an ethernet bridge VPN' + option _role 'client' + option client '1' + option dev 'tap' + list remote 'vpnserver.example.org' + option ca 'ca.crt' + option cert 'my_client.crt' + option key 'my_client.key' + option dh 'dh1024.pem' + option remote_cert_tls 'server' + option nobind '1' + option persist_key '1' + option verb '3' + option reneg_sec '0' + option float '1' diff --git a/applications/luci-app-samba4/luasrc/model/cbi/samba4.lua b/applications/luci-app-samba4/luasrc/model/cbi/samba4.lua index e5c0a1bed0..2a1399b96b 100644 --- a/applications/luci-app-samba4/luasrc/model/cbi/samba4.lua +++ b/applications/luci-app-samba4/luasrc/model/cbi/samba4.lua @@ -15,9 +15,20 @@ h = s:taboption("general", Flag, "homes", translate("Share home-directories"), translate("Allow system users to reach their home directories via " .. "network shares")) h.rmempty = false -s:taboption("general", Flag, "disable_netbios", translate("Disable Netbios")) -s:taboption("general", Flag, "disable_ad_dc", translate("Disable Active Directory Domain Controller")) -s:taboption("general", Flag, "disable_winbind", translate("Disable Winbind")) + +macos = s:taboption("general", Flag, "macos", translate("Enable macOS compatible shares"), + translate("Enables Apple's AAPL extension globally and adds macOS compatibility options to all shares.")) +macos.rmempty = false + +if nixio.fs.access("/usr/sbin/nmbd") then + s:taboption("general", Flag, "disable_netbios", translate("Disable Netbios")) +end +if nixio.fs.access("/usr/sbin/samba") then + s:taboption("general", Flag, "disable_ad_dc", translate("Disable Active Directory Domain Controller")) +end +if nixio.fs.access("/usr/sbin/winbindd") then + s:taboption("general", Flag, "disable_winbind", translate("Disable Winbind")) +end tmpl = s:taboption("template", Value, "_tmpl", translate("Edit the template that is used for generating the samba configuration."), @@ -49,42 +60,53 @@ if nixio.fs.access("/etc/config/fstab") then pth.titleref = luci.dispatcher.build_url("admin", "system", "fstab") end -s:option(Value, "users", translate("Allowed users")).rmempty = true +br = s:option(Flag, "browseable", translate("Browse-able")) +br.enabled = "yes" +br.disabled = "no" +br.default = "yes" ro = s:option(Flag, "read_only", translate("Read-only")) -ro.rmempty = false ro.enabled = "yes" ro.disabled = "no" +ro.default = "yes" -br = s:option(Flag, "browseable", translate("Browseable")) -br.rmempty = false -br.default = "yes" -br.enabled = "yes" -br.disabled = "no" +s:option(Flag, "force_root", translate("Force Root")) + +au = s:option(Value, "users", translate("Allowed users")) +au.rmempty = true go = s:option(Flag, "guest_ok", translate("Allow guests")) -go.rmempty = false go.enabled = "yes" go.disabled = "no" +go.default = "no" gon = s:option(Flag, "guest_only", translate("Guests only")) -gon.rmempty = false gon.enabled = "yes" gon.disabled = "no" +gon.default = "no" -io = s:option(Flag, "inherit_owner", translate("Inherit owner")) -io.rmempty = false -io.enabled = "yes" -io.disabled = "no" +iown = s:option(Flag, "inherit_owner", translate("Inherit owner")) +iown.enabled = "yes" +iown.disabled = "no" +iown.default = "no" cm = s:option(Value, "create_mask", translate("Create mask")) cm.rmempty = true -cm.size = 4 +cm.maxlength = 4 +cm.placeholder = "0666" dm = s:option(Value, "dir_mask", translate("Directory mask")) dm.rmempty = true -dm.size = 4 +dm.maxlength = 4 +dm.placeholder = "0777" + +vfs = s:option(Value, "vfs_objects", translate("Vfs objects")) +vfs.rmempty = true + +s:option(Flag, "timemachine", translate("Apple Time-machine share")) -s:option(Value, "vfs_objects", translate("Vfs objects")).rmempty = true +tms = s:option(Value, "timemachine_maxsize", translate("Time-machine size in GB")) +tms.rmempty = true +tms.maxlength = 5 return m diff --git a/applications/luci-app-samba4/po/ca/samba4.po b/applications/luci-app-samba4/po/ca/samba4.po index ddd306d07a..0183f56b70 100644 --- a/applications/luci-app-samba4/po/ca/samba4.po +++ b/applications/luci-app-samba4/po/ca/samba4.po @@ -26,7 +26,10 @@ msgstr "" msgid "Allowed users" msgstr "Usuaris permesos" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -53,6 +56,17 @@ msgstr "Edita plantilla" msgid "Edit the template that is used for generating the samba configuration." msgstr "Edita la plantilla que s'usa per generar la configuració de samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Ajusts generals" @@ -99,6 +113,9 @@ msgstr "" "barra ('|') no es deuen canviar. Reben els seus valors de la pestanya " "'Ajusts generals'." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/cs/samba4.po b/applications/luci-app-samba4/po/cs/samba4.po index a013bcc13e..88cd178367 100644 --- a/applications/luci-app-samba4/po/cs/samba4.po +++ b/applications/luci-app-samba4/po/cs/samba4.po @@ -22,7 +22,10 @@ msgstr "" msgid "Allowed users" msgstr "Povolení uživatelé" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -51,6 +54,17 @@ msgstr "" "Editovat šablonu, která je použita pro generování konfiguračního souboru pro " "sambu." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Obecné nastavení" @@ -96,6 +110,9 @@ msgstr "" "konfigurace samby generována. Hodnoty uzavřené rourou (\"|\"), by se neměly " "měnit. Tyto hodnoty jsou brány ze záložky \"Obecná nastavení\"." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/de/samba4.po b/applications/luci-app-samba4/po/de/samba4.po index b9caa61d1c..35a4815284 100644 --- a/applications/luci-app-samba4/po/de/samba4.po +++ b/applications/luci-app-samba4/po/de/samba4.po @@ -24,17 +24,20 @@ msgstr "" msgid "Allowed users" msgstr "Legitimierte Benutzer" -msgid "Browseable" -msgstr "Suchbar" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "Durchsuchbar" msgid "Create mask" -msgstr "Berechtigungsmaske für neue Dateien" +msgstr "Berechtigungs-maske für neue Dateien" msgid "Description" msgstr "Beschreibung" msgid "Directory mask" -msgstr "Verzeichnismaske" +msgstr "Verzeichnis-maske" msgid "Disable Active Directory Domain Controller" msgstr "Deaktiviere Active Directory Domain Controller" @@ -53,6 +56,17 @@ msgstr "" "Hier kann das Template bearbeitet werden, das zur Erstellung der Samba-" "Konfigurationsdateien verwendet wird." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Allgemeine Einstellungen" @@ -69,7 +83,7 @@ msgid "Name" msgstr "Name" msgid "Network Shares" -msgstr "Netzwerkfreigaben" +msgstr "Netzwerk-freigaben" msgid "Path" msgstr "Pfad" @@ -83,7 +97,7 @@ msgid "Read-only" msgstr "Nur Lesen" msgid "Share home-directories" -msgstr "Heimatverzeichnisse freigeben" +msgstr "Heimat-verzeichnisse freigeben" msgid "Shared Directories" msgstr "Freigegebene Verzeichnisse" @@ -100,12 +114,18 @@ msgstr "" "werden, da diese beim Erstellen der Konfiguration mit den Werten aus dem Tab " "'Allgemeine Einstellungen' ersetzt werden." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" -msgstr "Virtuelle Filesystem Module" +msgstr "" msgid "Workgroup" msgstr "Arbeitsgruppe" +#~ msgid "Browseable" +#~ msgstr "Suchbar" + #~ msgid "Mask for new directories" #~ msgstr "Maske für neue Verzeichnisse" diff --git a/applications/luci-app-samba4/po/el/samba4.po b/applications/luci-app-samba4/po/el/samba4.po index 946915f74d..88999d4071 100644 --- a/applications/luci-app-samba4/po/el/samba4.po +++ b/applications/luci-app-samba4/po/el/samba4.po @@ -22,7 +22,10 @@ msgstr "" msgid "Allowed users" msgstr "" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -49,6 +52,17 @@ msgstr "" msgid "Edit the template that is used for generating the samba configuration." msgstr "" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "" @@ -91,6 +105,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/en/samba4.po b/applications/luci-app-samba4/po/en/samba4.po index 75ef0f96e9..35ecc99e25 100644 --- a/applications/luci-app-samba4/po/en/samba4.po +++ b/applications/luci-app-samba4/po/en/samba4.po @@ -22,7 +22,10 @@ msgstr "Allow system users to reach their home directories via network shares" msgid "Allowed users" msgstr "Allowed users" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -49,6 +52,17 @@ msgstr "Edit template" msgid "Edit the template that is used for generating the samba configuration." msgstr "Edit the template that is used for generating the Samba configuration." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "General settings" @@ -95,6 +109,9 @@ msgstr "" "('|') should not be changed. They get their values from the 'General " "settings' tab." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/es/samba4.po b/applications/luci-app-samba4/po/es/samba4.po index 1e6b8fd368..99d64f970b 100644 --- a/applications/luci-app-samba4/po/es/samba4.po +++ b/applications/luci-app-samba4/po/es/samba4.po @@ -24,7 +24,10 @@ msgstr "" msgid "Allowed users" msgstr "Usuarios permitidos" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -51,6 +54,17 @@ msgstr "Editar plantilla" msgid "Edit the template that is used for generating the samba configuration." msgstr "Editar la plantilla usada para generar la configuración de samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Configuración general" @@ -96,6 +110,9 @@ msgstr "" "generará la configuración de samba. Los valores entre tuberías ('|') no " "deben cambiarse. Su valor se toma desde la pestaña 'Configuración General'." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/fr/samba4.po b/applications/luci-app-samba4/po/fr/samba4.po index 53212311cf..a5b7dc7935 100644 --- a/applications/luci-app-samba4/po/fr/samba4.po +++ b/applications/luci-app-samba4/po/fr/samba4.po @@ -24,7 +24,10 @@ msgstr "" msgid "Allowed users" msgstr "Utilisateurs autorisés" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -51,6 +54,17 @@ msgstr "Éditer le modèle" msgid "Edit the template that is used for generating the samba configuration." msgstr "Éditer le modèle utilisé pour générer la configuration Samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Paramètres généraux" @@ -97,6 +111,9 @@ msgstr "" " (« | ») ne doivent pas être modifiées, elles proviennent de l'onglet " "« Paramètres généraux »." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/he/samba4.po b/applications/luci-app-samba4/po/he/samba4.po index 3f670e6c2d..859dd8d896 100644 --- a/applications/luci-app-samba4/po/he/samba4.po +++ b/applications/luci-app-samba4/po/he/samba4.po @@ -17,7 +17,10 @@ msgstr "" msgid "Allowed users" msgstr "" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -44,6 +47,17 @@ msgstr "" msgid "Edit the template that is used for generating the samba configuration." msgstr "" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "" @@ -86,6 +100,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/hu/samba4.po b/applications/luci-app-samba4/po/hu/samba4.po index 08ff729f4b..8dbe91558d 100644 --- a/applications/luci-app-samba4/po/hu/samba4.po +++ b/applications/luci-app-samba4/po/hu/samba4.po @@ -22,7 +22,10 @@ msgstr "" msgid "Allowed users" msgstr "Engedélyezett felhasználók" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -51,6 +54,17 @@ msgstr "" "Itt szerkesztheti a sablont, ami a végleges samba konfiguráció " "elkészítéséhez kerül felhasználásra." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Általános beállítások" @@ -97,6 +111,9 @@ msgstr "" "közé zárt értékek módosítása nem szükséges, az értéküket az általános " "beállítások fülről kapják." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/it/samba4.po b/applications/luci-app-samba4/po/it/samba4.po index 93359d7ba7..d7f5631965 100644 --- a/applications/luci-app-samba4/po/it/samba4.po +++ b/applications/luci-app-samba4/po/it/samba4.po @@ -24,8 +24,11 @@ msgstr "" msgid "Allowed users" msgstr "Utenti ammessi" -msgid "Browseable" -msgstr "Sfogliabile" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" msgid "Create mask" msgstr "Crea maschera" @@ -52,6 +55,17 @@ msgid "Edit the template that is used for generating the samba configuration." msgstr "" "Modifica il template utilizzato per generare la configurazione di samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Opzioni Generali" @@ -100,12 +114,18 @@ msgstr "" "('|') non dovrebbero essere toccati. Essi vengono generati dalla schermata " "'Opzioni Generali'." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" msgid "Workgroup" msgstr "Gruppo di lavoro" +#~ msgid "Browseable" +#~ msgstr "Sfogliabile" + #~ msgid "Mask for new directories" #~ msgstr "Maschera per le nuove cartelle" diff --git a/applications/luci-app-samba4/po/ja/samba4.po b/applications/luci-app-samba4/po/ja/samba4.po index 3e82cbca2c..1358c2bd0e 100644 --- a/applications/luci-app-samba4/po/ja/samba4.po +++ b/applications/luci-app-samba4/po/ja/samba4.po @@ -22,7 +22,10 @@ msgstr "sambaを介してユーザーのホームディレクトリへのアク msgid "Allowed users" msgstr "許可されたユーザー" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -49,6 +52,17 @@ msgstr "テンプレートの編集" msgid "Edit the template that is used for generating the samba configuration." msgstr "samba設定を生成するテンプレートを編集します。" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "一般設定" @@ -96,6 +110,9 @@ msgstr "" "容です。パイプ('|')で閉じられた値は変更しないでください。これらの値は'一般設" "定'タブ内の値によって置き換えられます。" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/ms/samba4.po b/applications/luci-app-samba4/po/ms/samba4.po index 9e138471d0..c6ca22fba0 100644 --- a/applications/luci-app-samba4/po/ms/samba4.po +++ b/applications/luci-app-samba4/po/ms/samba4.po @@ -16,7 +16,10 @@ msgstr "" msgid "Allowed users" msgstr "" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -43,6 +46,17 @@ msgstr "" msgid "Edit the template that is used for generating the samba configuration." msgstr "" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "" @@ -85,6 +99,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/no/samba4.po b/applications/luci-app-samba4/po/no/samba4.po index 6e84259337..8742cbb0a5 100644 --- a/applications/luci-app-samba4/po/no/samba4.po +++ b/applications/luci-app-samba4/po/no/samba4.po @@ -13,7 +13,10 @@ msgstr "Tillat systembrukere å nå sine hjemmekataloger via nettverks mapper." msgid "Allowed users" msgstr "Tillatte brukere" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -40,6 +43,17 @@ msgstr "Rediger Mal" msgid "Edit the template that is used for generating the samba configuration." msgstr "Rediger malen som brukes til å generere samba konfigurasjonen." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Generelle Innstillinger" @@ -85,6 +99,9 @@ msgstr "" "konfigurasjon vil bli generert fra. Verdier omsluttet av ('|') bør ikke " "endres. De får sine verdier fra 'Generelle Innstillinger' fanen." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/pl/samba4.po b/applications/luci-app-samba4/po/pl/samba4.po index aec7082d53..faad499c46 100644 --- a/applications/luci-app-samba4/po/pl/samba4.po +++ b/applications/luci-app-samba4/po/pl/samba4.po @@ -23,7 +23,10 @@ msgstr "" msgid "Allowed users" msgstr "Użytkownicy z prawem dostępu" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -50,6 +53,17 @@ msgstr "Edytuj szablon" msgid "Edit the template that is used for generating the samba configuration." msgstr "Edytuj szablon, który jest używany do generowania konfiguracji samby." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Ustawienia ogólne" @@ -96,6 +110,9 @@ msgstr "" "kreski pionowej ('|') nie powinny być zmieniane. Wartości ich zostaną " "pobrane z zakładki \"Ustawienia ogólne\"." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/pt-br/samba4.po b/applications/luci-app-samba4/po/pt-br/samba4.po index 8f6dbb6c99..5383aa32de 100644 --- a/applications/luci-app-samba4/po/pt-br/samba4.po +++ b/applications/luci-app-samba4/po/pt-br/samba4.po @@ -24,7 +24,10 @@ msgstr "" msgid "Allowed users" msgstr "Usuários permitidos" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -51,6 +54,17 @@ msgstr "Editar modelo" msgid "Edit the template that is used for generating the samba configuration." msgstr "Edita o modelo que é usado para gerar a configuração do samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Configurações Gerais" @@ -97,6 +111,9 @@ msgstr "" "não devem ser alterados. Estes valores serão obtidos a partir da aba " "'Configurações Gerais'." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/pt/samba4.po b/applications/luci-app-samba4/po/pt/samba4.po index 2f8f2dafc0..50c1645f0c 100644 --- a/applications/luci-app-samba4/po/pt/samba4.po +++ b/applications/luci-app-samba4/po/pt/samba4.po @@ -24,7 +24,10 @@ msgstr "" msgid "Allowed users" msgstr "Utilizadores Permitidos" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -51,6 +54,17 @@ msgstr "Editar Template" msgid "Edit the template that is used for generating the samba configuration." msgstr "Editar a template que é utilizada para gerar a configuração samba" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Definições Gerais" @@ -97,6 +111,9 @@ msgstr "" "| não devem ser alterados. Eles recebem os valores do separador 'Definições " "Gerais'." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/ro/samba4.po b/applications/luci-app-samba4/po/ro/samba4.po index d9f698971e..b481b1f952 100644 --- a/applications/luci-app-samba4/po/ro/samba4.po +++ b/applications/luci-app-samba4/po/ro/samba4.po @@ -23,7 +23,10 @@ msgstr "" msgid "Allowed users" msgstr "Utilizatori acceptati" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -50,6 +53,17 @@ msgstr "Editeaza sablon" msgid "Edit the template that is used for generating the samba configuration." msgstr "Editeaza sablonul care e folosit pentru generarea configuratiei samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Setari generale" @@ -95,6 +109,9 @@ msgstr "" "genereaza configuratia samba. Valorile dintre liniuta verticala ('|') n-ar " "trebui schimbate, ele iau valorile direct din tab-ul de \"Setari generale\"." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/ru/samba4.po b/applications/luci-app-samba4/po/ru/samba4.po index f588424d95..f7ec3269eb 100644 --- a/applications/luci-app-samba4/po/ru/samba4.po +++ b/applications/luci-app-samba4/po/ru/samba4.po @@ -26,8 +26,11 @@ msgstr "" msgid "Allowed users" msgstr "Разрешенные пользователи" -msgid "Browseable" -msgstr "Виден в списке доступных ресурсов" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" msgid "Create mask" msgstr "Создать маску" @@ -53,6 +56,17 @@ msgstr "Настройка config файла" msgid "Edit the template that is used for generating the samba configuration." msgstr "Настройка config<br />файла samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Основные настройки" @@ -101,12 +115,18 @@ msgstr "" "('|'), не должны быть изменены.<br />Они будут автоматически заменены на " "значения со страницы 'Основные настройки'." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" msgid "Workgroup" msgstr "Рабочая группа" +#~ msgid "Browseable" +#~ msgstr "Виден в списке доступных ресурсов" + #~ msgid "Mask for new directories" #~ msgstr "Маска для новых папок" diff --git a/applications/luci-app-samba4/po/sk/samba4.po b/applications/luci-app-samba4/po/sk/samba4.po index 53e8e214ea..44299ac1aa 100644 --- a/applications/luci-app-samba4/po/sk/samba4.po +++ b/applications/luci-app-samba4/po/sk/samba4.po @@ -17,7 +17,10 @@ msgstr "" msgid "Allowed users" msgstr "" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -44,6 +47,17 @@ msgstr "" msgid "Edit the template that is used for generating the samba configuration." msgstr "" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "" @@ -86,6 +100,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/sv/samba4.po b/applications/luci-app-samba4/po/sv/samba4.po index d9c0cc0df9..39695eb0b7 100644 --- a/applications/luci-app-samba4/po/sv/samba4.po +++ b/applications/luci-app-samba4/po/sv/samba4.po @@ -18,7 +18,10 @@ msgstr "Tillåt systemanvändare att nå deras hem-mappar via nätverksdelningar msgid "Allowed users" msgstr "Tillåtna användare" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -46,6 +49,17 @@ msgid "Edit the template that is used for generating the samba configuration." msgstr "" "Redigera mallen som används för att generera konfigurationen för samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Generella inställningar" @@ -88,6 +102,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/templates/samba4.pot b/applications/luci-app-samba4/po/templates/samba4.pot index 3041807b14..33142d047c 100644 --- a/applications/luci-app-samba4/po/templates/samba4.pot +++ b/applications/luci-app-samba4/po/templates/samba4.pot @@ -10,7 +10,10 @@ msgstr "" msgid "Allowed users" msgstr "" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -37,6 +40,17 @@ msgstr "" msgid "Edit the template that is used for generating the samba configuration." msgstr "" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "" @@ -79,6 +93,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/tr/samba4.po b/applications/luci-app-samba4/po/tr/samba4.po index 1c233f1ec3..4368fb2710 100644 --- a/applications/luci-app-samba4/po/tr/samba4.po +++ b/applications/luci-app-samba4/po/tr/samba4.po @@ -17,7 +17,10 @@ msgstr "" msgid "Allowed users" msgstr "" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -44,6 +47,17 @@ msgstr "" msgid "Edit the template that is used for generating the samba configuration." msgstr "" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "" @@ -86,6 +100,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/uk/samba4.po b/applications/luci-app-samba4/po/uk/samba4.po index e228baec2e..a4f7e5a02b 100644 --- a/applications/luci-app-samba4/po/uk/samba4.po +++ b/applications/luci-app-samba4/po/uk/samba4.po @@ -23,7 +23,10 @@ msgstr "" msgid "Allowed users" msgstr "Дозволені користувачі" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" msgid "Create mask" @@ -51,6 +54,17 @@ msgid "Edit the template that is used for generating the samba configuration." msgstr "" "Редагувати шаблон, який використовується для створення конфігурації samba." +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "Загальні настройки" @@ -97,6 +111,9 @@ msgstr "" "\" (\"|\") не повинні змінюватися. Вони отримують свої значення з вкладки " "\"Загальні налаштування\"." +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/vi/samba4.po b/applications/luci-app-samba4/po/vi/samba4.po index b176471b0d..d597628229 100644 --- a/applications/luci-app-samba4/po/vi/samba4.po +++ b/applications/luci-app-samba4/po/vi/samba4.po @@ -28,7 +28,10 @@ msgstr "" msgid "Allowed users" msgstr "Người sử dụng được cho phép" -msgid "Browseable" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" msgstr "" #, fuzzy @@ -57,6 +60,17 @@ msgstr "" msgid "Edit the template that is used for generating the samba configuration." msgstr "" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "" @@ -100,6 +114,9 @@ msgid "" "Settings' tab." msgstr "" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "" diff --git a/applications/luci-app-samba4/po/zh-cn/samba4.po b/applications/luci-app-samba4/po/zh-cn/samba4.po index bab5f9b9cb..f49abac4e9 100644 --- a/applications/luci-app-samba4/po/zh-cn/samba4.po +++ b/applications/luci-app-samba4/po/zh-cn/samba4.po @@ -25,8 +25,11 @@ msgstr "允许系统用户通过网络共享访问他们的家目录" msgid "Allowed users" msgstr "允许用户" -msgid "Browseable" -msgstr "可浏览" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" msgid "Create mask" msgstr "创建权限掩码" @@ -52,6 +55,17 @@ msgstr "编辑模板" msgid "Edit the template that is used for generating the samba configuration." msgstr "编辑用来生成 samba 设置的模板" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "基本设置" @@ -96,12 +110,18 @@ msgstr "" "这是将从其上生成 samba 配置的文件“/etc/samba/smb.conf.template”的内容。由管道" "符(“|”)包围的值不应更改。它们将从“常规设置”标签中获取其值。" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "VFS 对象" msgid "Workgroup" msgstr "工作组" +#~ msgid "Browseable" +#~ msgstr "可浏览" + #~ msgid "Mask for new directories" #~ msgstr "新目录权限掩码" diff --git a/applications/luci-app-samba4/po/zh-tw/samba4.po b/applications/luci-app-samba4/po/zh-tw/samba4.po index 17d18e6200..ae962f9e82 100644 --- a/applications/luci-app-samba4/po/zh-tw/samba4.po +++ b/applications/luci-app-samba4/po/zh-tw/samba4.po @@ -25,8 +25,11 @@ msgstr "允許系統使用者通過網路共享訪問他們的家目錄" msgid "Allowed users" msgstr "允許使用者" -msgid "Browseable" -msgstr "可瀏覽" +msgid "Apple Time-machine share" +msgstr "" + +msgid "Browse-able" +msgstr "" msgid "Create mask" msgstr "建立權限掩碼" @@ -52,6 +55,17 @@ msgstr "編輯模板" msgid "Edit the template that is used for generating the samba configuration." msgstr "編輯用來生成 samba 設定的模板" +msgid "Enable macOS compatible shares" +msgstr "" + +msgid "" +"Enables Apple's AAPL extension globally and adds macOS compatibility options " +"to all shares." +msgstr "" + +msgid "Force Root" +msgstr "" + msgid "General Settings" msgstr "基本設定" @@ -96,12 +110,18 @@ msgstr "" "這是將從其上生成 samba 配置的檔案“/etc/samba/smb.conf.template”的內容。由管道" "符(“|”)包圍的值不應更改。它們將從“常規設定”標籤中獲取其值。" +msgid "Time-machine size in GB" +msgstr "" + msgid "Vfs objects" msgstr "VFS 物件" msgid "Workgroup" msgstr "工作組" +#~ msgid "Browseable" +#~ msgstr "可瀏覽" + #~ msgid "Mask for new directories" #~ msgstr "新目錄權限掩碼" diff --git a/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua b/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua index df2164f8a6..60d0477d53 100644 --- a/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua +++ b/applications/luci-app-unbound/luasrc/model/cbi/unbound/configure.lua @@ -210,10 +210,11 @@ if (valman == "0") then pro = s1:taboption("resource", ListValue, "protocol", translate("Recursion Protocol"), - translate("Chose the protocol recursion queries leave on")) + translate("Chose the IP versions used upstream and downstream")) pro:value("default", translate("Default")) pro:value("ip4_only", translate("IP4 Only")) - pro:value("ip6_only", translate("IP6 Only")) + pro:value("ip6_local", translate("IP4 All and IP6 Local")) + pro:value("ip6_only", translate("IP6 Only*")) pro:value("ip6_prefer", translate("IP6 Preferred")) pro:value("mixed", translate("IP4 and IP6")) pro.rmempty = false |