From 8a0ee6689f18e9f14965b45f8c79211644c9b58a 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 --- 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 98dc5add595e..df66f2bb1d51 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 62bf9e45bf85..6dc598018fba 100644 --- a/modules/luci-base/po/ar/base.po +++ b/modules/luci-base/po/ar/base.po @@ -2435,6 +2435,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 62230188f8cc..118d98bf752d 100644 --- a/modules/luci-base/po/bg/base.po +++ b/modules/luci-base/po/bg/base.po @@ -2399,6 +2399,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 195f00c2c2d8..2334031fbb94 100644 --- a/modules/luci-base/po/bn_BD/base.po +++ b/modules/luci-base/po/bn_BD/base.po @@ -2376,6 +2376,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 f044ce37d9e4..28b1a3ae3328 100644 --- a/modules/luci-base/po/ca/base.po +++ b/modules/luci-base/po/ca/base.po @@ -2451,6 +2451,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 0db95262832e..27d2706c64d9 100644 --- a/modules/luci-base/po/cs/base.po +++ b/modules/luci-base/po/cs/base.po @@ -2462,6 +2462,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 7ffa58b15c20..0ac7eaaf628b 100644 --- a/modules/luci-base/po/da/base.po +++ b/modules/luci-base/po/da/base.po @@ -2508,6 +2508,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 6ccc956ff3e4..d1337a0d1421 100644 --- a/modules/luci-base/po/de/base.po +++ b/modules/luci-base/po/de/base.po @@ -2531,6 +2531,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 c1131f3eeab0..a88e8df99c85 100644 --- a/modules/luci-base/po/el/base.po +++ b/modules/luci-base/po/el/base.po @@ -2439,6 +2439,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 bf31866cc3be..84f7c4e28718 100644 --- a/modules/luci-base/po/en/base.po +++ b/modules/luci-base/po/en/base.po @@ -2381,6 +2381,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 86c4ae84a496..fa31fb3b6590 100644 --- a/modules/luci-base/po/es/base.po +++ b/modules/luci-base/po/es/base.po @@ -2553,6 +2553,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 0d9834d08f6f..065c102e25b0 100644 --- a/modules/luci-base/po/fi/base.po +++ b/modules/luci-base/po/fi/base.po @@ -2447,6 +2447,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 cecc35901659..9c0418028595 100644 --- a/modules/luci-base/po/fr/base.po +++ b/modules/luci-base/po/fr/base.po @@ -2537,6 +2537,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 e3fa3ad52df0..1dbcef9f91cc 100644 --- a/modules/luci-base/po/he/base.po +++ b/modules/luci-base/po/he/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/hi/base.po b/modules/luci-base/po/hi/base.po index fcb959e25bff..90ec6f2d9ae4 100644 --- a/modules/luci-base/po/hi/base.po +++ b/modules/luci-base/po/hi/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/hu/base.po b/modules/luci-base/po/hu/base.po index 639d4c4f7b49..a42c6a80d909 100644 --- a/modules/luci-base/po/hu/base.po +++ b/modules/luci-base/po/hu/base.po @@ -2451,6 +2451,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 84f586850a52..260b4628bd70 100644 --- a/modules/luci-base/po/it/base.po +++ b/modules/luci-base/po/it/base.po @@ -2551,6 +2551,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 7d723ed6d8a0..17312aebe6f2 100644 --- a/modules/luci-base/po/ja/base.po +++ b/modules/luci-base/po/ja/base.po @@ -2454,6 +2454,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 6190cd67ac48..8fb93e098619 100644 --- a/modules/luci-base/po/ko/base.po +++ b/modules/luci-base/po/ko/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/lt/base.po b/modules/luci-base/po/lt/base.po index 876fd02d5fec..404e08d2f833 100644 --- a/modules/luci-base/po/lt/base.po +++ b/modules/luci-base/po/lt/base.po @@ -2567,6 +2567,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 9e39281b1772..e0833a027f7c 100644 --- a/modules/luci-base/po/mr/base.po +++ b/modules/luci-base/po/mr/base.po @@ -2376,6 +2376,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 e0ebc3377fd7..f4cc393400eb 100644 --- a/modules/luci-base/po/ms/base.po +++ b/modules/luci-base/po/ms/base.po @@ -2381,6 +2381,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 202136e84997..43a49436f8fb 100644 --- a/modules/luci-base/po/nb_NO/base.po +++ b/modules/luci-base/po/nb_NO/base.po @@ -2418,6 +2418,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 c0a2e8c9dac8..7e24777bbdf0 100644 --- a/modules/luci-base/po/nl/base.po +++ b/modules/luci-base/po/nl/base.po @@ -2507,6 +2507,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 4ae53ef08c2d..ac3a19dc1502 100644 --- a/modules/luci-base/po/pl/base.po +++ b/modules/luci-base/po/pl/base.po @@ -2531,6 +2531,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 3a1deb3f4268..51a9aa122d4e 100644 --- a/modules/luci-base/po/pt/base.po +++ b/modules/luci-base/po/pt/base.po @@ -2528,6 +2528,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 e4c5de1c951b..d4c33ac2c365 100644 --- a/modules/luci-base/po/pt_BR/base.po +++ b/modules/luci-base/po/pt_BR/base.po @@ -2533,6 +2533,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 115d9c5dbb4f..106702a8e555 100644 --- a/modules/luci-base/po/ro/base.po +++ b/modules/luci-base/po/ro/base.po @@ -2526,6 +2526,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 cf8513784392..2d19e24fc10f 100644 --- a/modules/luci-base/po/ru/base.po +++ b/modules/luci-base/po/ru/base.po @@ -2544,6 +2544,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 0ee12f231824..3b1485692b9e 100644 --- a/modules/luci-base/po/sk/base.po +++ b/modules/luci-base/po/sk/base.po @@ -2479,6 +2479,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 387d9d37edb7..47f2a26172e3 100644 --- a/modules/luci-base/po/sv/base.po +++ b/modules/luci-base/po/sv/base.po @@ -2403,6 +2403,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 34354035f27d..6246992ad0fa 100644 --- a/modules/luci-base/po/templates/base.pot +++ b/modules/luci-base/po/templates/base.pot @@ -2367,6 +2367,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 3e745d39bcf8..c8311f74b6e7 100644 --- a/modules/luci-base/po/tr/base.po +++ b/modules/luci-base/po/tr/base.po @@ -2507,6 +2507,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 e0073908bb7b..38111fccb87a 100644 --- a/modules/luci-base/po/uk/base.po +++ b/modules/luci-base/po/uk/base.po @@ -2529,6 +2529,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 8a41c02a982c..0b5150c05510 100644 --- a/modules/luci-base/po/ur/base.po +++ b/modules/luci-base/po/ur/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/vi/base.po b/modules/luci-base/po/vi/base.po index 64fffa239a5e..f50626b75a86 100644 --- a/modules/luci-base/po/vi/base.po +++ b/modules/luci-base/po/vi/base.po @@ -2495,6 +2495,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 0753ee42f792..06f80f3c2a3c 100644 --- a/modules/luci-base/po/zh_Hans/base.po +++ b/modules/luci-base/po/zh_Hans/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/zh_Hant/base.po b/modules/luci-base/po/zh_Hant/base.po index b9698ae289a1..401130041d66 100644 --- a/modules/luci-base/po/zh_Hant/base.po +++ b/modules/luci-base/po/zh_Hant/base.po @@ -2438,6 +2438,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 4a9abea5a231..0dfd7242fa22 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 @@ -613,6 +613,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;