luci-proto-wireguard: disable peers from the tab
authorBryan Roessler <bryanroessler@gmail.com>
Mon, 15 Jul 2024 19:15:29 +0000 (15:15 -0400)
committerPaul Donald <newtwen+github@gmail.com>
Mon, 15 Jul 2024 20:49:32 +0000 (22:49 +0200)
It's clumsy to enable/disable peers from the modal, save some clicks

Signed-off-by: Bryan Roessler <bryanroessler@gmail.com>
41 files changed:
modules/luci-base/po/ar/base.po
modules/luci-base/po/ast/base.po
modules/luci-base/po/bg/base.po
modules/luci-base/po/bn_BD/base.po
modules/luci-base/po/ca/base.po
modules/luci-base/po/cs/base.po
modules/luci-base/po/da/base.po
modules/luci-base/po/de/base.po
modules/luci-base/po/el/base.po
modules/luci-base/po/en/base.po
modules/luci-base/po/es/base.po
modules/luci-base/po/fa/base.po
modules/luci-base/po/fi/base.po
modules/luci-base/po/fr/base.po
modules/luci-base/po/he/base.po
modules/luci-base/po/hi/base.po
modules/luci-base/po/hu/base.po
modules/luci-base/po/id/base.po
modules/luci-base/po/it/base.po
modules/luci-base/po/ja/base.po
modules/luci-base/po/ko/base.po
modules/luci-base/po/lt/base.po
modules/luci-base/po/mr/base.po
modules/luci-base/po/ms/base.po
modules/luci-base/po/nb_NO/base.po
modules/luci-base/po/nl/base.po
modules/luci-base/po/pl/base.po
modules/luci-base/po/pt/base.po
modules/luci-base/po/pt_BR/base.po
modules/luci-base/po/ro/base.po
modules/luci-base/po/ru/base.po
modules/luci-base/po/sk/base.po
modules/luci-base/po/sv/base.po
modules/luci-base/po/templates/base.pot
modules/luci-base/po/tr/base.po
modules/luci-base/po/uk/base.po
modules/luci-base/po/ur/base.po
modules/luci-base/po/vi/base.po
modules/luci-base/po/zh_Hans/base.po
modules/luci-base/po/zh_Hant/base.po
protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js

index e46e7fa16a8345929e663ce462e948dbd3b41ac6..e203bcc4930016632bbcdab99cb5dff8b8d6cd00 100644 (file)
@@ -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
index cc7d3cf4a5e2289bcc9f0ab21d9ac9fa3ae2217f..52347910e8c2635c17ce7a4a0025f08db3fc388f 100644 (file)
@@ -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
index 8913ccac8c5fc641da578035239135a565469227..458cd1b1a1ba8b75404708b9a0313ec768f7842c 100644 (file)
@@ -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
index e131c4ad49d8bdadfcc616220b65537d5083c11d..66f11d6f68a0b7906757199e595f2c51bad297f7 100644 (file)
@@ -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
index 8d54ce1c1378c96f366dbee706522fc3f726b1f2..6e076120f383a2a14279602fb7d55233383c8e63 100644 (file)
@@ -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
index df9c2ab1b62beeef554c7922299320d07b5d346f..6d7dea65015d760c8a00df000a1464d0fa2cf96f 100644 (file)
@@ -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
index 1fa71a76685525ec932b9e34447d1b6ddf446e1d..26823440824220106d0f9e100e653057fc05592d 100644 (file)
@@ -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
index 67f09825b30c4ff9ca8343309d5ae9fa2710fcfb..bd022a0d5ef6845bda6dac4188c260df5d86ae52 100644 (file)
@@ -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
index 563dfd480cd47be520783464661712f2bd9a7a98..3f6dee2092532a4cbe9dec6d60b46c288d89de26 100644 (file)
@@ -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
index 2a0aaa3f6051e06a5064637b1e4d26c65dae3924..9e80f8b3f2f62760f529bc7273d99f220b819da3 100644 (file)
@@ -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
index 72d930cb3729e00495dc4434d7072e4b211dbef7..ee179131258e388dee5c8aec2117140990b18073 100644 (file)
@@ -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
index 3b97598877bb4c765661d1775f88619e5087dc53..d90c6442776f188fc10e360290b3962ad9ce8436 100644 (file)
@@ -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
index b867b47de9a568c1951910aa23571c2cd25f9f23..29fe25ead86d8b0e33a9997d34a81266c796059d 100644 (file)
@@ -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
index e64de1bd0becec2d50e2b49c0aba837ada572058..faf58f9164dd8e6b65e051962d3a13884e0ca8d0 100644 (file)
@@ -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
index 699e6aaaa455c129ac922aaeda942f4323ba4f78..5e8166f87dbff986936bbef3e31c0f27657d9720 100644 (file)
@@ -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
index 93946d597b9b10a4b2faaa1d15c53a4f0e2832ff..58cbe535f239b130c7579e0f88ea2120454c14ad 100644 (file)
@@ -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
index 8d4e1cd8369d6ca5ec87a23db119939b06f9af9a..a01de54401f1f61097eafeeaa28d166cccc83bb1 100644 (file)
@@ -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
index 5b621c15939e25109242d4687adb245c0f306deb..d03c89d8860099de039e29aebe946615486749f0 100644 (file)
@@ -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
index b470e5398b3c3dd7dca63a8c4c3c37f4fc963aaf..8933a02017ce3a803af5d5de63b45ecd88192290 100644 (file)
@@ -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
index 0f10e1b8657fa2a7ffc2dfd61ff1e2b24f22ff67..09a7e47285b57eee057ba1d3d6af67c6a76807c1 100644 (file)
@@ -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
index 124222f8ba1dc863f1944d130f81377b6a4cbb4c..75fe41bfd4064bc3eeb898e4b02612668934cd31 100644 (file)
@@ -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
index c8b42df671096cfe3f96941bf57811c54e63579a..fc265ea3ed11df6979cf8015fed70919bd7d4141 100644 (file)
@@ -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
index 6df918eeb959f72c7b74416f64e5fb7a5dceb89d..3add87345c7a15a6b9442a4fbc95f523e2fa0225 100644 (file)
@@ -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
index 24e048a987afac1f9f0087d5eacd1e757aed9605..681ac549bb667d5e99153c3cf4e04620f6999f70 100644 (file)
@@ -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
index 65a7a416a239b418b4a89ea42c5ea23aa402f9ef..7b48ee1aaf6475997f7cd3e27054c2a6e5eae49b 100644 (file)
@@ -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
index cf0ed7261acc1a66eb3680f9fc2d491aa00594b4..c5d75d1417efe032e625cd14261905a28dd6dd4d 100644 (file)
@@ -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
index f18c021339aba0c96cfb5f6a80c04c0b96950686..c189b2a598adeae5e9e513ac9a050cd68deb8d87 100644 (file)
@@ -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
index a72417f3bbea2235e59399dfd064362c5c1e830b..c464015d2c87126d3cb143f298c14f88d7468392 100644 (file)
@@ -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
index 572c89c8cf100d683ac967c84559a716925302b9..be58fc46fdf8c41276d5022ca90728db4c0bbc8d 100644 (file)
@@ -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
index def723cf87c355bb50eefb61781e8fea7799cc23..2a43a1db2001cdfbdf0823d24b36d53d938a6315 100644 (file)
@@ -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
index 21f57545ddb39a9aeefca70901b62a56468260ea..e68552e3f6d18119540361e3473e02322a3d6f40 100644 (file)
@@ -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
index e7348719b97f74761f028809cd715d387f57af7e..3c9c05b0c734daf1d85ab7d2fd196218337e3aa2 100644 (file)
@@ -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
index f174713fa088b97915b756836310513507b062b8..8db31672bf034bcd938f73cccd62bf9ec9c583a0 100644 (file)
@@ -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
index dd0a651663a55dd7f4952a53e314345d943f7d64..abbac07005767c19a0253f554aefba69a7f23d92 100644 (file)
@@ -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
index d67d1738b363637cd592da5c9e57ea0697b4e3cd..660e964e8e61d56f8105fa2cc5eac7cbea4da4c9 100644 (file)
@@ -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
index da83988279b69aab7b1b588dc543972984f3aeab..fde88fcbc04a171ce81a4feb938ed621ee3ea653 100644 (file)
@@ -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
index d683353f4ec80ba8e2477e597cbabebd74413e83..83472700d4c9edec570d34adf736df2ad723f607 100644 (file)
@@ -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
index 236e7c8ff70661412e95e66bb261c61df7f74b2e..ef8214feaca2929e51dea6e01ffd1d008b2e968d 100644 (file)
@@ -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
index 0f78ef87efc3c94513a39426fd399341d952f303..f6a0f2223d21451fa669a2bd383ab258549dd54d 100644 (file)
@@ -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
index bcc100deb42a9373b397da7d6226a7d3d0e435d8..cc5611146bd9f0329fb24c1953fee31c670e61a9 100644 (file)
@@ -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
index 05e0e275c7fc8dec1771d82042ec8186d80b6947..aeccff4150a977d897b2f77b25f978cf324f3dac 100644 (file)
@@ -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';