summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wireguard
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-wireguard')
-rw-r--r--applications/luci-app-wireguard/luasrc/view/wireguard.htm53
-rw-r--r--applications/luci-app-wireguard/po/de/wireguard.po63
-rw-r--r--applications/luci-app-wireguard/po/es/wireguard.po76
-rw-r--r--applications/luci-app-wireguard/po/ja/wireguard.po63
-rw-r--r--applications/luci-app-wireguard/po/pt-br/wireguard.po63
-rw-r--r--applications/luci-app-wireguard/po/ru/wireguard.po63
-rw-r--r--applications/luci-app-wireguard/po/sv/wireguard.po63
-rw-r--r--applications/luci-app-wireguard/po/templates/wireguard.pot63
-rw-r--r--applications/luci-app-wireguard/po/zh-cn/wireguard.po63
-rw-r--r--applications/luci-app-wireguard/po/zh-tw/wireguard.po63
10 files changed, 407 insertions, 226 deletions
diff --git a/applications/luci-app-wireguard/luasrc/view/wireguard.htm b/applications/luci-app-wireguard/luasrc/view/wireguard.htm
index 53968da1da..855e0aad75 100644
--- a/applications/luci-app-wireguard/luasrc/view/wireguard.htm
+++ b/applications/luci-app-wireguard/luasrc/view/wireguard.htm
@@ -4,19 +4,22 @@
-%>
<%
- local uci = uci.cursor()
local data = { }
local last_device = ""
- local enc = { }
+ local qr_pubkey = { }
- local function wg_clean(value)
- if value and value == "(none)" then
- value = ""
+ local function qr_clean(qr_type, value)
+ if not value or value == "" or value == "(none)" then
+ return ""
+ end
+ if qr_type == "privkey" then
+ return "PrivateKey = " ..value
+ elseif qr_type == "pubkey" then
+ return "PublicKey = " ..value
end
- return value
end
- local wg_dump = io.popen("wg show all dump")
+ local wg_dump = io.popen("wg show all dump 2>/dev/null")
if wg_dump then
local line
for line in wg_dump:lines() do
@@ -30,17 +33,7 @@
fwmark = line[5],
peers = { }
}
- local s = uci:get_list("network", line[1], "addresses")
- local address = ""
- local key, value
- for key, value in pairs(s) do
- if address ~= "" then
- address = address.. ", " ..value
- else
- address = value
- end
- end
- enc[line[1]] = "[Interface]\nPrivateKey = " ..wg_clean(line[2]).. "\nAddress = " ..address
+ qr_pubkey[line[1]] = qr_clean("pubkey", line[3])
else
local peer = {
public_key = line[2],
@@ -60,7 +53,6 @@
end
end
table.insert(data[line[1]].peers, peer)
- enc[line[1]] = enc[line[1]].. "\n\n[Peer]\nEndpoint = " ..wg_clean(line[4]).. "\nPublicKey = " ..wg_clean(line[2]).. "\nAllowedIPs = " ..wg_clean(line[5])
end
end
end
@@ -199,17 +191,28 @@ for ikey, iface in pairs(data) do
<input class="cbi-button cbi-button-apply" type="button" name="qrcode_<%=ikey%>" value="<%:Show/Hide QR-Code%>" onclick="toggle_qrcode(this)" />
</div>
<%-
- local qrcode
+ local qr_enc
+ local qr_code
+ local qr_privkey
if fs.access("/usr/bin/qrencode") then
- if enc[ikey]:sub(26, 26) ~= "\n" then
- qrcode = luci.sys.exec("/usr/bin/qrencode --inline --8bit --type=SVG --output=- '" ..enc[ikey].. "'")
+ qr_privkey = qr_clean("privkey", luci.sys.exec("wg genkey 2>/dev/null"))
+ if qr_pubkey[ikey] and qr_privkey then
+ qr_enc = "[Interface]\n" ..qr_privkey.. "\n[Peer]\n" ..qr_pubkey[ikey].. "\nAllowedIPs = 0.0.0.0/0, ::/0"
+ qr_code = luci.sys.exec("/usr/bin/qrencode --inline --8bit --type=SVG --output=- '" ..qr_enc.. "' 2>/dev/null")
+ else
+ qr_code = "<em>The QR-Code could not be generated, the wg interface setup is incomplete!</em>"
end
else
- qrcode = "<em>For QR-Code support please install package 'qrencode'!</em>"
+ qr_code = "<em>For QR-Code support please install the package 'qrencode'!</em>"
end
-%>
- <div class="cbi-value-title">
- <span class="cbi-value" style="display: none" id="qrcode_<%=ikey%>"><%=qrcode%></span>
+ <div class="cbi-section-node">
+ <span class="cbi-value" style="display: none" id="qrcode_<%=ikey%>">
+ <%:The QR-Code works per wg interface, it will be refreshed with every manual page reload and transfers the following information:%><br />
+ &#8226;&#160;<%:[Interface] A random, on the fly generated 'PrivateKey', the key will not be saved on the router%><br />
+ &#8226;&#160;<%:[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 address%><br />
+ <hr /><%=qr_code%><br />
+ </span>
</div>
<div class="cbi-section-node">
<div class="table cbi-section-table">
diff --git a/applications/luci-app-wireguard/po/de/wireguard.po b/applications/luci-app-wireguard/po/de/wireguard.po
index 64aa77eec8..e8edc2c150 100644
--- a/applications/luci-app-wireguard/po/de/wireguard.po
+++ b/applications/luci-app-wireguard/po/de/wireguard.po
@@ -1,88 +1,107 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "Erlaubte IPs"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "Sammle Daten..."
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "Konfiguration"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "Daten erhalten"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "Daten gesendet"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "Endpunkt"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "Schnittstelle"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "Schnittstelle besitzt keinen public key!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "Letztes Handshake"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "Port (lauschen)"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "Niemals"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr "Zeige/Verstecke QR-Code"
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "h zuvor"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "m zuvor"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "seit über"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "s zuvor"
diff --git a/applications/luci-app-wireguard/po/es/wireguard.po b/applications/luci-app-wireguard/po/es/wireguard.po
index 3179d39ba5..e1ef4c6611 100644
--- a/applications/luci-app-wireguard/po/es/wireguard.po
+++ b/applications/luci-app-wireguard/po/es/wireguard.po
@@ -3,97 +3,123 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: \n"
+"PO-Revision-Date: 2019-08-01 21:49-0300\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Poedit 2.2.1\n"
-"Last-Translator: \n"
+"X-Generator: Poedit 2.2.3\n"
+"Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "IPs permitidas"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "Recolectando datos..."
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "Configuración"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "Datos recibidos"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "Datos transmitidos"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "Punto final"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr "Marca de Firewall"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "Interfaz"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "¡La interfaz no tiene una clave pública!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "Último Handshake"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "Escuchar puerto"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "Nunca"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr "Par"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr "Mantener conectado continuamente"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr "Clave pública"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr "Mostrar/Ocultar código QR"
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+"El código QR funciona por interfaz wg, se actualizará con cada recarga "
+"manual de la página y transfiere la siguiente información:"
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr "WireGuard"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+"[Interfaz] Al azar, sobre la marcha 'PrivateKey' generado, la clave no se "
+"guardará en el enrutador"
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+"[Par] 'PublicKey' de esa interfaz wg y 'AllowedIPs' con el valor "
+"predeterminado de '0.0.0.0/0, ::/0' para permitir el envío de tráfico a "
+"cualquier dirección IPv4 e IPv6"
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "hace h"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "hace m"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "hace más de un día"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "hace s"
diff --git a/applications/luci-app-wireguard/po/ja/wireguard.po b/applications/luci-app-wireguard/po/ja/wireguard.po
index 965fac3cf4..188ea24b21 100644
--- a/applications/luci-app-wireguard/po/ja/wireguard.po
+++ b/applications/luci-app-wireguard/po/ja/wireguard.po
@@ -13,88 +13,107 @@ msgstr ""
"X-Poedit-Basepath: .\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "許可されたIP"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "データ収集中です..."
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "設定"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "受信済みデータ"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "送信済みデータ"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "エンドポイント"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr "ファイアウォール マーク"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "インターフェース"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "インターフェースに公開鍵がありません!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "最新のハンドシェイク"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "待ち受けポート"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "無し"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr "ピア"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr "永続的なキープアライブ"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr "公開鍵"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr ""
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr "WireGuard ステータス"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "時間前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "分前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "1日以上前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "秒前"
diff --git a/applications/luci-app-wireguard/po/pt-br/wireguard.po b/applications/luci-app-wireguard/po/pt-br/wireguard.po
index 9aea136e1e..a915ec3035 100644
--- a/applications/luci-app-wireguard/po/pt-br/wireguard.po
+++ b/applications/luci-app-wireguard/po/pt-br/wireguard.po
@@ -12,88 +12,107 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Language: pt_BR\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "Endereços IP autorizados"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "Coletando dados..."
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "Configuração"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "Dados Recebidos"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "Dados Enviados"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "Equipamento do ponto final"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr "Marca do Firewall"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "Interface"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "A interface não tem uma chave pública!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "Última Negociação"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "Porta de Escuta"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "Nunca"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr "Parceiro"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr "Manter Conexões Abertas (Keepalive)"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr "Chave Pública"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr ""
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr "Estado do WireGuard"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "horas atrás"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "meses atrás"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "mais de um dia atrás"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "segundos atrás"
diff --git a/applications/luci-app-wireguard/po/ru/wireguard.po b/applications/luci-app-wireguard/po/ru/wireguard.po
index 8f2ad30f48..7bb88c4565 100644
--- a/applications/luci-app-wireguard/po/ru/wireguard.po
+++ b/applications/luci-app-wireguard/po/ru/wireguard.po
@@ -13,88 +13,107 @@ msgstr ""
"Project-Info: Это технический перевод, не дословный. Главное-удобный русский "
"интерфейс, все проверялось в графическом режиме, совместим с другими apps\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "Разрешенные IP-адреса"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "Сбор данных..."
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "Настройка config файла"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "Полученные данные"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "Переданные данные"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "Конечная точка"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr "Метка межсетевого экрана"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "Интерфейс"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "Интерфейс не имеет Публичного Ключа!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "Последний Хендшейк"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "Порт для входящих соединений"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "Никогда"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr "Узел"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr "Постоянные Проверки Активности"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr "Публичный Ключ"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr ""
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr "Состояние WireGuard"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "час назад"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "минуту назад"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "более суток назад"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "секунду назад"
diff --git a/applications/luci-app-wireguard/po/sv/wireguard.po b/applications/luci-app-wireguard/po/sv/wireguard.po
index 80e18e6941..cf4999c506 100644
--- a/applications/luci-app-wireguard/po/sv/wireguard.po
+++ b/applications/luci-app-wireguard/po/sv/wireguard.po
@@ -1,88 +1,107 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "Tillåtna IP-adresser"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "Samlar in data..."
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "Konfiguration"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "Mottagen data"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "Överförd data"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "Slutpunkt"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr "Brandväggsmarkering"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "Gränssnitt"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "Gränssnittet har inte en publik nyckel!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "Senaste handskakning"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "Lyssningsport"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "Aldrig"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr "Jämlike"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr "Hålla vid liv ständigt"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr "Publik nyckel"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr ""
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr "Status för WireGuard"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "t sedan"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "m sedan"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "över en dag sedan"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "s sedan"
diff --git a/applications/luci-app-wireguard/po/templates/wireguard.pot b/applications/luci-app-wireguard/po/templates/wireguard.pot
index 28fa83353b..5974589345 100644
--- a/applications/luci-app-wireguard/po/templates/wireguard.pot
+++ b/applications/luci-app-wireguard/po/templates/wireguard.pot
@@ -1,88 +1,107 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr ""
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr ""
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr ""
diff --git a/applications/luci-app-wireguard/po/zh-cn/wireguard.po b/applications/luci-app-wireguard/po/zh-cn/wireguard.po
index 1c5d2410de..c02e34664e 100644
--- a/applications/luci-app-wireguard/po/zh-cn/wireguard.po
+++ b/applications/luci-app-wireguard/po/zh-cn/wireguard.po
@@ -15,88 +15,107 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: zh_CN\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "允许的 IP"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "正在收集数据…"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "配置"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "已接收"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "已发送"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "传输端点"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr "防火墙标识"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "接口"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "接口没有配置公钥!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "上次握手"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "监听端口"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "从不"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr "对端"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr "Keepalive 间隔(秒)"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr "公钥"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr "显示/隐藏 QR 码"
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr "WireGuard 状态"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "小时前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "分钟前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "超过一天前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "秒前"
diff --git a/applications/luci-app-wireguard/po/zh-tw/wireguard.po b/applications/luci-app-wireguard/po/zh-tw/wireguard.po
index 53f26d9faa..e1ab11209e 100644
--- a/applications/luci-app-wireguard/po/zh-tw/wireguard.po
+++ b/applications/luci-app-wireguard/po/zh-tw/wireguard.po
@@ -15,88 +15,107 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"Language: zh_CN\n"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:157
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:149
msgid "Allowed IPs"
msgstr "允許的 IP"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:222
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:256
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:225
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:259
msgid "Collecting data..."
msgstr "正在收集資料…"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:217
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:220
msgid "Configuration"
msgstr "配置"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:178
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:170
msgid "Data Received"
msgstr "已接收"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:179
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:171
msgid "Data Transmitted"
msgstr "已傳送"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:152
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:144
msgid "Endpoint"
msgstr "傳輸端點"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:131
msgid "Firewall Mark"
msgstr "防火牆標識"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:197
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:189
msgid "Interface"
msgstr "介面"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:124
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:116
msgid "Interface does not have a public key!"
msgstr "介面沒有配置公鑰!"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:174
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:166
msgid "Latest Handshake"
msgstr "上次握手"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:133
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:125
msgid "Listen Port"
msgstr "監聽埠"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:81
msgid "Never"
msgstr "從不"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:248
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:251
msgid "Peer"
msgstr "對端"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:164
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:156
msgid "Persistent Keepalive"
msgstr "Keepalive 間隔(秒)"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:127
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:147
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:119
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:139
msgid "Public Key"
msgstr "公鑰"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:199
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:191
msgid "Show/Hide QR-Code"
msgstr "顯示/隱藏 QR 碼"
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:211
+msgid ""
+"The QR-Code works per wg interface, it will be refreshed with every manual "
+"page reload and transfers the following information:"
+msgstr ""
+
#: applications/luci-app-wireguard/luasrc/controller/wireguard.lua:7
msgid "WireGuard Status"
msgstr "WireGuard 狀態"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:99
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:212
+msgid ""
+"[Interface] A random, on the fly generated 'PrivateKey', the key will not be "
+"saved on the router"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:213
+msgid ""
+"[Peer] The 'PublicKey' of that wg interface and the 'AllowedIPs' with the "
+"default of '0.0.0.0/0, ::/0' to allow sending traffic to any IPv4 and IPv6 "
+"address"
+msgstr ""
+
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:91
msgid "h ago"
msgstr "小時前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:97
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:89
msgid "m ago"
msgstr "分鐘前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:101
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:93
msgid "over a day ago"
msgstr "超過一天前"
-#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:95
+#: applications/luci-app-wireguard/luasrc/view/wireguard.htm:87
msgid "s ago"
msgstr "秒前"