From 071fc1bc92980454b6701d9394711b9d758f332a Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Mon, 15 Jul 2024 15:15:29 -0400 Subject: [PATCH] luci-proto-wireguard: disable peers from the tab It's clumsy to enable/disable peers from the modal, save some clicks Signed-off-by: Bryan Roessler --- modules/luci-base/po/ar/base.po | 2 +- modules/luci-base/po/ast/base.po | 2 +- modules/luci-base/po/bg/base.po | 2 +- modules/luci-base/po/bn_BD/base.po | 2 +- modules/luci-base/po/ca/base.po | 2 +- modules/luci-base/po/cs/base.po | 2 +- modules/luci-base/po/da/base.po | 2 +- modules/luci-base/po/de/base.po | 2 +- modules/luci-base/po/el/base.po | 2 +- modules/luci-base/po/en/base.po | 2 +- modules/luci-base/po/es/base.po | 2 +- modules/luci-base/po/fa/base.po | 2 +- modules/luci-base/po/fi/base.po | 2 +- modules/luci-base/po/fr/base.po | 2 +- modules/luci-base/po/he/base.po | 2 +- modules/luci-base/po/hi/base.po | 2 +- modules/luci-base/po/hu/base.po | 2 +- modules/luci-base/po/id/base.po | 2 +- modules/luci-base/po/it/base.po | 2 +- modules/luci-base/po/ja/base.po | 2 +- modules/luci-base/po/ko/base.po | 2 +- modules/luci-base/po/lt/base.po | 2 +- modules/luci-base/po/mr/base.po | 2 +- modules/luci-base/po/ms/base.po | 2 +- modules/luci-base/po/nb_NO/base.po | 2 +- modules/luci-base/po/nl/base.po | 2 +- modules/luci-base/po/pl/base.po | 2 +- modules/luci-base/po/pt/base.po | 2 +- modules/luci-base/po/pt_BR/base.po | 2 +- modules/luci-base/po/ro/base.po | 2 +- modules/luci-base/po/ru/base.po | 2 +- modules/luci-base/po/sk/base.po | 2 +- modules/luci-base/po/sv/base.po | 2 +- modules/luci-base/po/templates/base.pot | 2 +- modules/luci-base/po/tr/base.po | 2 +- modules/luci-base/po/uk/base.po | 2 +- modules/luci-base/po/ur/base.po | 2 +- modules/luci-base/po/vi/base.po | 2 +- modules/luci-base/po/zh_Hans/base.po | 2 +- modules/luci-base/po/zh_Hant/base.po | 2 +- .../htdocs/luci-static/resources/protocol/wireguard.js | 5 +++-- 41 files changed, 43 insertions(+), 42 deletions(-) diff --git a/modules/luci-base/po/ar/base.po b/modules/luci-base/po/ar/base.po index e46e7fa16a83..e203bcc49300 100644 --- a/modules/luci-base/po/ar/base.po +++ b/modules/luci-base/po/ar/base.po @@ -7517,7 +7517,7 @@ msgid "Peer device name" msgstr "اسم الجهاز الند" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ast/base.po b/modules/luci-base/po/ast/base.po index cc7d3cf4a5e2..52347910e8c2 100644 --- a/modules/luci-base/po/ast/base.po +++ b/modules/luci-base/po/ast/base.po @@ -7196,7 +7196,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/bg/base.po b/modules/luci-base/po/bg/base.po index 8913ccac8c5f..458cd1b1a1ba 100644 --- a/modules/luci-base/po/bg/base.po +++ b/modules/luci-base/po/bg/base.po @@ -7265,7 +7265,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/bn_BD/base.po b/modules/luci-base/po/bn_BD/base.po index e131c4ad49d8..66f11d6f68a0 100644 --- a/modules/luci-base/po/bn_BD/base.po +++ b/modules/luci-base/po/bn_BD/base.po @@ -7204,7 +7204,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ca/base.po b/modules/luci-base/po/ca/base.po index 8d54ce1c1378..6e076120f383 100644 --- a/modules/luci-base/po/ca/base.po +++ b/modules/luci-base/po/ca/base.po @@ -7328,7 +7328,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/cs/base.po b/modules/luci-base/po/cs/base.po index df9c2ab1b62b..6d7dea65015d 100644 --- a/modules/luci-base/po/cs/base.po +++ b/modules/luci-base/po/cs/base.po @@ -7388,7 +7388,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/da/base.po b/modules/luci-base/po/da/base.po index 1fa71a766855..268234408242 100644 --- a/modules/luci-base/po/da/base.po +++ b/modules/luci-base/po/da/base.po @@ -7526,7 +7526,7 @@ msgid "Peer device name" msgstr "Peer-enhedens navn" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Peer deaktiveret" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/de/base.po b/modules/luci-base/po/de/base.po index 67f09825b30c..bd022a0d5ef6 100644 --- a/modules/luci-base/po/de/base.po +++ b/modules/luci-base/po/de/base.po @@ -7918,7 +7918,7 @@ msgid "Peer device name" msgstr "Linkpartner-Adaptername" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Verbindungspartner deaktiviert" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/el/base.po b/modules/luci-base/po/el/base.po index 563dfd480cd4..3f6dee209253 100644 --- a/modules/luci-base/po/el/base.po +++ b/modules/luci-base/po/el/base.po @@ -7307,7 +7307,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/en/base.po b/modules/luci-base/po/en/base.po index 2a0aaa3f6051..9e80f8b3f2f6 100644 --- a/modules/luci-base/po/en/base.po +++ b/modules/luci-base/po/en/base.po @@ -7208,7 +7208,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/es/base.po b/modules/luci-base/po/es/base.po index 72d930cb3729..ee179131258e 100644 --- a/modules/luci-base/po/es/base.po +++ b/modules/luci-base/po/es/base.po @@ -7726,7 +7726,7 @@ msgid "Peer device name" msgstr "Nombre del dispositivo del par" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Par desactivado" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/fa/base.po b/modules/luci-base/po/fa/base.po index 3b97598877bb..d90c6442776f 100644 --- a/modules/luci-base/po/fa/base.po +++ b/modules/luci-base/po/fa/base.po @@ -7202,7 +7202,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/fi/base.po b/modules/luci-base/po/fi/base.po index b867b47de9a5..29fe25ead86d 100644 --- a/modules/luci-base/po/fi/base.po +++ b/modules/luci-base/po/fi/base.po @@ -7372,7 +7372,7 @@ msgid "Peer device name" msgstr "Vertaislaitteen nimi" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Vertainen poistettu käytöstä" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/fr/base.po b/modules/luci-base/po/fr/base.po index e64de1bd0bec..faf58f9164dd 100644 --- a/modules/luci-base/po/fr/base.po +++ b/modules/luci-base/po/fr/base.po @@ -7572,7 +7572,7 @@ msgid "Peer device name" msgstr "Nom du dispositif homologue" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Homologue désactivé" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/he/base.po b/modules/luci-base/po/he/base.po index 699e6aaaa455..5e8166f87dbf 100644 --- a/modules/luci-base/po/he/base.po +++ b/modules/luci-base/po/he/base.po @@ -7226,7 +7226,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/hi/base.po b/modules/luci-base/po/hi/base.po index 93946d597b9b..58cbe535f239 100644 --- a/modules/luci-base/po/hi/base.po +++ b/modules/luci-base/po/hi/base.po @@ -7204,7 +7204,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/hu/base.po b/modules/luci-base/po/hu/base.po index 8d4e1cd8369d..a01de54401f1 100644 --- a/modules/luci-base/po/hu/base.po +++ b/modules/luci-base/po/hu/base.po @@ -7384,7 +7384,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/id/base.po b/modules/luci-base/po/id/base.po index 5b621c15939e..d03c89d88600 100644 --- a/modules/luci-base/po/id/base.po +++ b/modules/luci-base/po/id/base.po @@ -7196,7 +7196,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/it/base.po b/modules/luci-base/po/it/base.po index b470e5398b3c..8933a02017ce 100644 --- a/modules/luci-base/po/it/base.po +++ b/modules/luci-base/po/it/base.po @@ -7645,7 +7645,7 @@ msgid "Peer device name" msgstr "Nome del dispositivo peer" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Peer disattivato" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ja/base.po b/modules/luci-base/po/ja/base.po index 0f10e1b8657f..09a7e47285b5 100644 --- a/modules/luci-base/po/ja/base.po +++ b/modules/luci-base/po/ja/base.po @@ -7413,7 +7413,7 @@ msgid "Peer device name" msgstr "ピアのデバイス名" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ko/base.po b/modules/luci-base/po/ko/base.po index 124222f8ba1d..75fe41bfd406 100644 --- a/modules/luci-base/po/ko/base.po +++ b/modules/luci-base/po/ko/base.po @@ -7286,7 +7286,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/lt/base.po b/modules/luci-base/po/lt/base.po index c8b42df67109..fc265ea3ed11 100644 --- a/modules/luci-base/po/lt/base.po +++ b/modules/luci-base/po/lt/base.po @@ -7771,7 +7771,7 @@ msgid "Peer device name" msgstr "Lygiarangio įrenginio pavadinimas" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Lygiarangis išjungtas" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/mr/base.po b/modules/luci-base/po/mr/base.po index 6df918eeb959..3add87345c7a 100644 --- a/modules/luci-base/po/mr/base.po +++ b/modules/luci-base/po/mr/base.po @@ -7202,7 +7202,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ms/base.po b/modules/luci-base/po/ms/base.po index 24e048a987af..681ac549bb66 100644 --- a/modules/luci-base/po/ms/base.po +++ b/modules/luci-base/po/ms/base.po @@ -7226,7 +7226,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/nb_NO/base.po b/modules/luci-base/po/nb_NO/base.po index 65a7a416a239..7b48ee1aaf64 100644 --- a/modules/luci-base/po/nb_NO/base.po +++ b/modules/luci-base/po/nb_NO/base.po @@ -7285,7 +7285,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/nl/base.po b/modules/luci-base/po/nl/base.po index cf0ed7261acc..c5d75d1417ef 100644 --- a/modules/luci-base/po/nl/base.po +++ b/modules/luci-base/po/nl/base.po @@ -7537,7 +7537,7 @@ msgid "Peer device name" msgstr "Naam peer-apparaat" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Peer uitgeschakeld" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/pl/base.po b/modules/luci-base/po/pl/base.po index f18c021339ab..c189b2a598ad 100644 --- a/modules/luci-base/po/pl/base.po +++ b/modules/luci-base/po/pl/base.po @@ -7639,7 +7639,7 @@ msgid "Peer device name" msgstr "Nazwa urządzenia peera" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Peer wyłączony" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/pt/base.po b/modules/luci-base/po/pt/base.po index a72417f3bbea..c464015d2c87 100644 --- a/modules/luci-base/po/pt/base.po +++ b/modules/luci-base/po/pt/base.po @@ -7563,7 +7563,7 @@ msgid "Peer device name" msgstr "Nome do aparelho dos pares" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Par desativado" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/pt_BR/base.po b/modules/luci-base/po/pt_BR/base.po index 572c89c8cf10..be58fc46fdf8 100644 --- a/modules/luci-base/po/pt_BR/base.po +++ b/modules/luci-base/po/pt_BR/base.po @@ -7585,7 +7585,7 @@ msgid "Peer device name" msgstr "Nome do dispositivo dos pares" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Par desativado" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ro/base.po b/modules/luci-base/po/ro/base.po index def723cf87c3..2a43a1db2001 100644 --- a/modules/luci-base/po/ro/base.po +++ b/modules/luci-base/po/ro/base.po @@ -7550,7 +7550,7 @@ msgid "Peer device name" msgstr "Numele dispozitivului partener" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Partener dezactivat" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ru/base.po b/modules/luci-base/po/ru/base.po index 21f57545ddb3..e68552e3f6d1 100644 --- a/modules/luci-base/po/ru/base.po +++ b/modules/luci-base/po/ru/base.po @@ -7651,7 +7651,7 @@ msgid "Peer device name" msgstr "Имя устройства узла" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Узел отключен" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/sk/base.po b/modules/luci-base/po/sk/base.po index e7348719b97f..3c9c05b0c734 100644 --- a/modules/luci-base/po/sk/base.po +++ b/modules/luci-base/po/sk/base.po @@ -7380,7 +7380,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/sv/base.po b/modules/luci-base/po/sv/base.po index f174713fa088..8db31672bf03 100644 --- a/modules/luci-base/po/sv/base.po +++ b/modules/luci-base/po/sv/base.po @@ -7240,7 +7240,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/templates/base.pot b/modules/luci-base/po/templates/base.pot index dd0a651663a5..abbac0700576 100644 --- a/modules/luci-base/po/templates/base.pot +++ b/modules/luci-base/po/templates/base.pot @@ -7193,7 +7193,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/tr/base.po b/modules/luci-base/po/tr/base.po index d67d1738b363..660e964e8e61 100644 --- a/modules/luci-base/po/tr/base.po +++ b/modules/luci-base/po/tr/base.po @@ -7604,7 +7604,7 @@ msgid "Peer device name" msgstr "Eş cihaz adı" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Eş devre dışı" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/uk/base.po b/modules/luci-base/po/uk/base.po index da83988279b6..fde88fcbc04a 100644 --- a/modules/luci-base/po/uk/base.po +++ b/modules/luci-base/po/uk/base.po @@ -7548,7 +7548,7 @@ msgid "Peer device name" msgstr "Назва пристрою вузла" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Вузол вимкнено" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/ur/base.po b/modules/luci-base/po/ur/base.po index d683353f4ec8..83472700d4c9 100644 --- a/modules/luci-base/po/ur/base.po +++ b/modules/luci-base/po/ur/base.po @@ -7202,7 +7202,7 @@ msgid "Peer device name" msgstr "" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/vi/base.po b/modules/luci-base/po/vi/base.po index 236e7c8ff706..ef8214feaca2 100644 --- a/modules/luci-base/po/vi/base.po +++ b/modules/luci-base/po/vi/base.po @@ -7500,7 +7500,7 @@ msgid "Peer device name" msgstr "Tên thiết bị Đồng nghiệp" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "Đồng nghiệp bị vô hiệu hóa" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/zh_Hans/base.po b/modules/luci-base/po/zh_Hans/base.po index 0f78ef87efc3..f6a0f2223d21 100644 --- a/modules/luci-base/po/zh_Hans/base.po +++ b/modules/luci-base/po/zh_Hans/base.po @@ -7397,7 +7397,7 @@ msgid "Peer device name" msgstr "对端设备名" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "已禁用对端" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/modules/luci-base/po/zh_Hant/base.po b/modules/luci-base/po/zh_Hant/base.po index bcc100deb42a..cc5611146bd9 100644 --- a/modules/luci-base/po/zh_Hant/base.po +++ b/modules/luci-base/po/zh_Hant/base.po @@ -7370,7 +7370,7 @@ msgid "Peer device name" msgstr "對端裝置名稱" #: protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js:510 -msgid "Peer disabled" +msgid "Disabled" msgstr "對等已禁用" #: protocols/luci-proto-yggdrasil/htdocs/luci-static/resources/protocol/yggdrasil.js:274 diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js index 05e0e275c7fc..aeccff4150a9 100644 --- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js +++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js @@ -496,9 +496,10 @@ return network.registerProtocol('wireguard', { return E('em', _('No peers defined yet.')); }; - o = ss.option(form.Flag, 'disabled', _('Peer disabled'), _('Enable / Disable peer. Restart wireguard interface to apply changes.')); - o.modalonly = true; + o = ss.option(form.Flag, 'disabled', _('Disabled'), _('Enable / Disable peer. Restart wireguard interface to apply changes.')); + o.editable = true; o.optional = true; + o.width = '5%'; o = ss.option(form.Value, 'description', _('Description'), _('Optional. Description of peer.')); o.placeholder = 'My Peer';