From 39d1aeebbc2f3e887134a7ad323622202a4ea3f6 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Wed, 31 Jan 2024 03:29:16 +0100 Subject: [PATCH] luci-mod-network: add disabled option for interface Enabled by default. If the interface is in use, the user will be asked to confirm. Signed-off-by: Sergey Ponomarev (cherry picked from commit 8a0ee6689f18e9f14965b45f8c79211644c9b58a) --- modules/luci-base/htdocs/luci-static/resources/ui.js | 3 ++- modules/luci-base/po/ar/base.po | 4 ++++ modules/luci-base/po/bg/base.po | 4 ++++ modules/luci-base/po/bn_BD/base.po | 4 ++++ modules/luci-base/po/ca/base.po | 4 ++++ modules/luci-base/po/cs/base.po | 4 ++++ modules/luci-base/po/da/base.po | 4 ++++ modules/luci-base/po/de/base.po | 4 ++++ modules/luci-base/po/el/base.po | 4 ++++ modules/luci-base/po/en/base.po | 4 ++++ modules/luci-base/po/es/base.po | 4 ++++ modules/luci-base/po/fi/base.po | 4 ++++ modules/luci-base/po/fr/base.po | 4 ++++ modules/luci-base/po/he/base.po | 4 ++++ modules/luci-base/po/hi/base.po | 4 ++++ modules/luci-base/po/hu/base.po | 4 ++++ modules/luci-base/po/it/base.po | 4 ++++ modules/luci-base/po/ja/base.po | 4 ++++ modules/luci-base/po/ko/base.po | 4 ++++ modules/luci-base/po/lt/base.po | 4 ++++ modules/luci-base/po/mr/base.po | 4 ++++ modules/luci-base/po/ms/base.po | 4 ++++ modules/luci-base/po/nb_NO/base.po | 4 ++++ modules/luci-base/po/nl/base.po | 4 ++++ modules/luci-base/po/pl/base.po | 4 ++++ modules/luci-base/po/pt/base.po | 4 ++++ modules/luci-base/po/pt_BR/base.po | 4 ++++ modules/luci-base/po/ro/base.po | 4 ++++ modules/luci-base/po/ru/base.po | 4 ++++ modules/luci-base/po/sk/base.po | 4 ++++ modules/luci-base/po/sv/base.po | 4 ++++ modules/luci-base/po/templates/base.pot | 4 ++++ modules/luci-base/po/tr/base.po | 4 ++++ modules/luci-base/po/uk/base.po | 4 ++++ modules/luci-base/po/ur/base.po | 4 ++++ modules/luci-base/po/vi/base.po | 4 ++++ modules/luci-base/po/zh_Hans/base.po | 4 ++++ modules/luci-base/po/zh_Hant/base.po | 4 ++++ .../htdocs/luci-static/resources/view/network/interfaces.js | 3 +++ 39 files changed, 153 insertions(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index e2b993b0e2..d7dcabe76a 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -4539,7 +4539,8 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { for (var j = 0; this.changes && this.changes.network && j < this.changes.network.length; j++) { var chg = this.changes.network[j]; - if (chg[0] == 'set' && chg[1] == iif && (chg[2] == 'proto' || chg[2] == 'ipaddr' || chg[2] == 'netmask')) + if (chg[0] == 'set' && chg[1] == iif && + ((chg[2] == 'disabled' && chg[3] == '1') || chg[2] == 'proto' || chg[2] == 'ipaddr' || chg[2] == 'netmask')) return iif; } } diff --git a/modules/luci-base/po/ar/base.po b/modules/luci-base/po/ar/base.po index f6108a7e8d..9d2778f89c 100644 --- a/modules/luci-base/po/ar/base.po +++ b/modules/luci-base/po/ar/base.po @@ -2432,6 +2432,10 @@ msgstr "تعطيل التشفير" msgid "Disable Inactivity Polling" msgstr "تعطيل أخذ عينات الخمول" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "تعطيل هذه الواجهة" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "تعطيل هذه الشبكة" diff --git a/modules/luci-base/po/bg/base.po b/modules/luci-base/po/bg/base.po index 79e7e2de10..5a410beab3 100644 --- a/modules/luci-base/po/bg/base.po +++ b/modules/luci-base/po/bg/base.po @@ -2396,6 +2396,10 @@ msgstr "Деактивиране на криптирането" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Забраняване на тази интерфейс" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Забраняване на тази мрежа" diff --git a/modules/luci-base/po/bn_BD/base.po b/modules/luci-base/po/bn_BD/base.po index 7ff5b02493..f20ac04056 100644 --- a/modules/luci-base/po/bn_BD/base.po +++ b/modules/luci-base/po/bn_BD/base.po @@ -2373,6 +2373,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/ca/base.po b/modules/luci-base/po/ca/base.po index e0c831e45f..f7125081c8 100644 --- a/modules/luci-base/po/ca/base.po +++ b/modules/luci-base/po/ca/base.po @@ -2448,6 +2448,10 @@ msgstr "Deshabilita el xifrat" msgid "Disable Inactivity Polling" msgstr "Deshabilita la comprovació d'inactivitat" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Inhabilita aquesta interfície" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Deshabilita aquesta xarxa" diff --git a/modules/luci-base/po/cs/base.po b/modules/luci-base/po/cs/base.po index 8d3a400c54..7f848711c0 100644 --- a/modules/luci-base/po/cs/base.po +++ b/modules/luci-base/po/cs/base.po @@ -2458,6 +2458,10 @@ msgstr "Zakázat šifrování" msgid "Disable Inactivity Polling" msgstr "Zakázat dotazování na nečinnost" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Vypnout tuto síť" diff --git a/modules/luci-base/po/da/base.po b/modules/luci-base/po/da/base.po index 50697909c7..368c41666a 100644 --- a/modules/luci-base/po/da/base.po +++ b/modules/luci-base/po/da/base.po @@ -2499,6 +2499,10 @@ msgstr "Deaktiver kryptering" msgid "Disable Inactivity Polling" msgstr "Deaktivere opsamling af inaktivitet" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Deaktivere dette interface" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Deaktivere dette netværk" diff --git a/modules/luci-base/po/de/base.po b/modules/luci-base/po/de/base.po index 610857eb97..f0d13bb254 100644 --- a/modules/luci-base/po/de/base.po +++ b/modules/luci-base/po/de/base.po @@ -2523,6 +2523,10 @@ msgstr "Verschlüsselung deaktivieren" msgid "Disable Inactivity Polling" msgstr "Inaktivitäts-Proben deaktivieren" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Deaktivieren dieser Schnittstelle" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Dieses Netzwerk deaktivieren" diff --git a/modules/luci-base/po/el/base.po b/modules/luci-base/po/el/base.po index 2912ddc118..2cd6c5fdf0 100644 --- a/modules/luci-base/po/el/base.po +++ b/modules/luci-base/po/el/base.po @@ -2433,6 +2433,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Απενεργοποίηση αυτής της διασύνδεσης" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/en/base.po b/modules/luci-base/po/en/base.po index ea70b111c3..7b6dc24b02 100644 --- a/modules/luci-base/po/en/base.po +++ b/modules/luci-base/po/en/base.po @@ -2378,6 +2378,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/es/base.po b/modules/luci-base/po/es/base.po index 6e8b0794b5..dce6c99106 100644 --- a/modules/luci-base/po/es/base.po +++ b/modules/luci-base/po/es/base.po @@ -2547,6 +2547,10 @@ msgstr "Desactivar encriptación" msgid "Disable Inactivity Polling" msgstr "Desactivar sondeo de inactividad" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Desactivar esta interfaz" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Desactivar esta red" diff --git a/modules/luci-base/po/fi/base.po b/modules/luci-base/po/fi/base.po index 31af268e28..6c094884bb 100644 --- a/modules/luci-base/po/fi/base.po +++ b/modules/luci-base/po/fi/base.po @@ -2444,6 +2444,10 @@ msgstr "Poista salaus käytöstä" msgid "Disable Inactivity Polling" msgstr "Poista käyttämättömyyskyselyt käytöstä" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Poista tämä sovitinta käytöstä" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Poista tämä verkko käytöstä" diff --git a/modules/luci-base/po/fr/base.po b/modules/luci-base/po/fr/base.po index 4a4eb9184e..2827959022 100644 --- a/modules/luci-base/po/fr/base.po +++ b/modules/luci-base/po/fr/base.po @@ -2532,6 +2532,10 @@ msgstr "Désactiver le chiffrement" msgid "Disable Inactivity Polling" msgstr "Désactiver l'interrogation d'inactivité" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Désactiver cette interface" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Désactiver ce réseau" diff --git a/modules/luci-base/po/he/base.po b/modules/luci-base/po/he/base.po index 7a6b31c4e2..3d9b474bc4 100644 --- a/modules/luci-base/po/he/base.po +++ b/modules/luci-base/po/he/base.po @@ -2393,6 +2393,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/hi/base.po b/modules/luci-base/po/hi/base.po index 56ad1f9399..ffc74b4377 100644 --- a/modules/luci-base/po/hi/base.po +++ b/modules/luci-base/po/hi/base.po @@ -2375,6 +2375,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/hu/base.po b/modules/luci-base/po/hu/base.po index 345f49579b..11b0503d83 100644 --- a/modules/luci-base/po/hu/base.po +++ b/modules/luci-base/po/hu/base.po @@ -2448,6 +2448,10 @@ msgstr "Titkosítás letiltása" msgid "Disable Inactivity Polling" msgstr "Inaktivitás lekérdezésének letiltása" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Ez interfész letiltása" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Hálózat letiltása" diff --git a/modules/luci-base/po/it/base.po b/modules/luci-base/po/it/base.po index 84a5ea398e..07f6653e20 100644 --- a/modules/luci-base/po/it/base.po +++ b/modules/luci-base/po/it/base.po @@ -2543,6 +2543,10 @@ msgstr "Disattiva crittografia" msgid "Disable Inactivity Polling" msgstr "Disattiva il polling di inattività" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Disattiva questa interfaccia" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Disattiva questa rete" diff --git a/modules/luci-base/po/ja/base.po b/modules/luci-base/po/ja/base.po index 60737a81fd..b354659a06 100644 --- a/modules/luci-base/po/ja/base.po +++ b/modules/luci-base/po/ja/base.po @@ -2451,6 +2451,10 @@ msgstr "暗号化を無効化" msgid "Disable Inactivity Polling" msgstr "非アクティブ状態のポーリングを無効化" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "このインタフェースを無効にする" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "このネットワークを無効化" diff --git a/modules/luci-base/po/ko/base.po b/modules/luci-base/po/ko/base.po index a8048a52ef..fdbc72bf8e 100644 --- a/modules/luci-base/po/ko/base.po +++ b/modules/luci-base/po/ko/base.po @@ -2427,6 +2427,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "이 인터페이스 비활성화" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/lt/base.po b/modules/luci-base/po/lt/base.po index 3c20d4405e..2951794cbf 100644 --- a/modules/luci-base/po/lt/base.po +++ b/modules/luci-base/po/lt/base.po @@ -2557,6 +2557,10 @@ msgstr "Išjungti šifravimas" msgid "Disable Inactivity Polling" msgstr "Išjungti neaktyvumo apklausinėjimą/stebėjimą" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Išjungti šią sąsają" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Išjungti šį tinklą" diff --git a/modules/luci-base/po/mr/base.po b/modules/luci-base/po/mr/base.po index 31e214d214..c204b9bf63 100644 --- a/modules/luci-base/po/mr/base.po +++ b/modules/luci-base/po/mr/base.po @@ -2373,6 +2373,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/ms/base.po b/modules/luci-base/po/ms/base.po index 0eaddf7e4d..eb3332fd29 100644 --- a/modules/luci-base/po/ms/base.po +++ b/modules/luci-base/po/ms/base.po @@ -2378,6 +2378,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/nb_NO/base.po b/modules/luci-base/po/nb_NO/base.po index 57138bcb4a..7656970ae5 100644 --- a/modules/luci-base/po/nb_NO/base.po +++ b/modules/luci-base/po/nb_NO/base.po @@ -2414,6 +2414,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Deaktivere dette grensesnittet" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/nl/base.po b/modules/luci-base/po/nl/base.po index 505d7713b6..f06d90d248 100644 --- a/modules/luci-base/po/nl/base.po +++ b/modules/luci-base/po/nl/base.po @@ -2504,6 +2504,10 @@ msgstr "Encryptie uitschakelen" msgid "Disable Inactivity Polling" msgstr "Inactiviteitspolling uitschakelen" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Dit interface uitschakelen" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Dit netwerk uitschakelen" diff --git a/modules/luci-base/po/pl/base.po b/modules/luci-base/po/pl/base.po index 224498c66b..a36a077181 100644 --- a/modules/luci-base/po/pl/base.po +++ b/modules/luci-base/po/pl/base.po @@ -2524,6 +2524,10 @@ msgstr "Wyłącz szyfrowanie" msgid "Disable Inactivity Polling" msgstr "Wyłącz badanie nieaktywności" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Wyłącz tę interfejs" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Wyłącz tę sieć" diff --git a/modules/luci-base/po/pt/base.po b/modules/luci-base/po/pt/base.po index c6635add7c..b93a4d93ba 100644 --- a/modules/luci-base/po/pt/base.po +++ b/modules/luci-base/po/pt/base.po @@ -2520,6 +2520,10 @@ msgstr "Desativar encriptação" msgid "Disable Inactivity Polling" msgstr "Desactivar a Polling de Inactividade" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Desativar esta interface" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Desativar esta rede" diff --git a/modules/luci-base/po/pt_BR/base.po b/modules/luci-base/po/pt_BR/base.po index 0229a14324..534c90dfaa 100644 --- a/modules/luci-base/po/pt_BR/base.po +++ b/modules/luci-base/po/pt_BR/base.po @@ -2525,6 +2525,10 @@ msgstr "Desabilitar Cifragem" msgid "Disable Inactivity Polling" msgstr "Desative a sondagem de inatividade" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Desativar esta interface" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Desabilitar esta rede" diff --git a/modules/luci-base/po/ro/base.po b/modules/luci-base/po/ro/base.po index d0bee6a6db..b65006eb3a 100644 --- a/modules/luci-base/po/ro/base.po +++ b/modules/luci-base/po/ro/base.po @@ -2517,6 +2517,10 @@ msgstr "Dezactivați Criptarea" msgid "Disable Inactivity Polling" msgstr "Dezactivați verificarea inactivității" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Dezactivați această interfața" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Dezactivați această rețea" diff --git a/modules/luci-base/po/ru/base.po b/modules/luci-base/po/ru/base.po index 37795faf3e..5fdecc81cc 100644 --- a/modules/luci-base/po/ru/base.po +++ b/modules/luci-base/po/ru/base.po @@ -2535,6 +2535,10 @@ msgstr "Отключить шифрование" msgid "Disable Inactivity Polling" msgstr "Отключить отслеживание неактивности клиентов" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Отключить этот интерфейс" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Отключить данную сеть" diff --git a/modules/luci-base/po/sk/base.po b/modules/luci-base/po/sk/base.po index f84a7765cc..43f14b3153 100644 --- a/modules/luci-base/po/sk/base.po +++ b/modules/luci-base/po/sk/base.po @@ -2472,6 +2472,10 @@ msgstr "Zakázať šifrovanie" msgid "Disable Inactivity Polling" msgstr "Zakázať dotazovanie na nečinnosť" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Zakázať túto rozhranie" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Zakázať túto sieť" diff --git a/modules/luci-base/po/sv/base.po b/modules/luci-base/po/sv/base.po index c56d2a0701..bf7a0636ab 100644 --- a/modules/luci-base/po/sv/base.po +++ b/modules/luci-base/po/sv/base.po @@ -2398,6 +2398,10 @@ msgstr "Inaktivera kryptering" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Inaktivera detta gränssnitt" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Inaktivera det här nätverket" diff --git a/modules/luci-base/po/templates/base.pot b/modules/luci-base/po/templates/base.pot index 88fc1f9c20..3e4591afad 100644 --- a/modules/luci-base/po/templates/base.pot +++ b/modules/luci-base/po/templates/base.pot @@ -2364,6 +2364,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/tr/base.po b/modules/luci-base/po/tr/base.po index 46a48fb03c..3cfbae50d1 100644 --- a/modules/luci-base/po/tr/base.po +++ b/modules/luci-base/po/tr/base.po @@ -2499,6 +2499,10 @@ msgstr "Şifrelemeyi Devre Dışı Bırak" msgid "Disable Inactivity Polling" msgstr "Hareketsizlik Yoklamasını Devre Dışı Bırak" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Bu arayüzü devre dışı bırak" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Bu ağı devre dışı bırak" diff --git a/modules/luci-base/po/uk/base.po b/modules/luci-base/po/uk/base.po index f17781ee3a..f130544d99 100644 --- a/modules/luci-base/po/uk/base.po +++ b/modules/luci-base/po/uk/base.po @@ -2523,6 +2523,10 @@ msgstr "Вимкнути шифрування" msgid "Disable Inactivity Polling" msgstr "Вимкнути опитування неактивності" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Вимкнути цей інтерфейс" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Вимкнути цю мережу" diff --git a/modules/luci-base/po/ur/base.po b/modules/luci-base/po/ur/base.po index 7bbe6d23c5..6003e50438 100644 --- a/modules/luci-base/po/ur/base.po +++ b/modules/luci-base/po/ur/base.po @@ -2372,6 +2372,10 @@ msgstr "" msgid "Disable Inactivity Polling" msgstr "" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "" diff --git a/modules/luci-base/po/vi/base.po b/modules/luci-base/po/vi/base.po index 5061c49c4c..363f83ea0f 100644 --- a/modules/luci-base/po/vi/base.po +++ b/modules/luci-base/po/vi/base.po @@ -2491,6 +2491,10 @@ msgstr "Vô hiệu hóa mã hóa" msgid "Disable Inactivity Polling" msgstr "Vô hiệu hóa thăm dò tín hiệu không hoạt động" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "Vô hiệu hóa giao diện" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "Vô hiệu hóa mạng này" diff --git a/modules/luci-base/po/zh_Hans/base.po b/modules/luci-base/po/zh_Hans/base.po index b25e06ea25..8bfbd91cc6 100644 --- a/modules/luci-base/po/zh_Hans/base.po +++ b/modules/luci-base/po/zh_Hans/base.po @@ -2429,6 +2429,10 @@ msgstr "禁用加密" msgid "Disable Inactivity Polling" msgstr "禁用不活动轮询" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "禁用该接口" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "禁用此网络" diff --git a/modules/luci-base/po/zh_Hant/base.po b/modules/luci-base/po/zh_Hant/base.po index f3b98ecd1f..46d8a60d07 100644 --- a/modules/luci-base/po/zh_Hant/base.po +++ b/modules/luci-base/po/zh_Hant/base.po @@ -2433,6 +2433,10 @@ msgstr "停用加密" msgid "Disable Inactivity Polling" msgstr "停用非活動輪詢" +#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:598 +msgid "Disable this interface" +msgstr "停用此接口" + #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js:889 msgid "Disable this network" msgstr "停用此網路" diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index fc9661399c..79ac3c80b6 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -608,6 +608,9 @@ return view.extend({ o.network = ifc.getName(); o.exclude = '@' + ifc.getName(); + o = s.taboption('general', form.Flag, 'disabled', _('Disable this interface')); + o.modalonly = true; + o = s.taboption('general', form.Flag, 'auto', _('Bring up on boot')); o.modalonly = true; o.default = o.enabled; -- 2.30.2