diff --git a/includes/wireguard.php b/includes/wireguard.php
index b0d0aacd..00b4e962 100644
--- a/includes/wireguard.php
+++ b/includes/wireguard.php
@@ -191,9 +191,9 @@ function SaveWireGuardConfig($status)
$status->addMessage($line, 'info');
}
if ($return == 0) {
- $status->addMessage('Wireguard configuration updated successfully', 'success');
+ $status->addMessage('WireGuard configuration updated successfully', 'success');
} else {
- $status->addMessage('Wireguard configuration failed to be updated.', 'danger');
+ $status->addMessage('WireGuard configuration failed to be updated', 'danger');
}
}
}
diff --git a/locale/en_US/LC_MESSAGES/messages.mo b/locale/en_US/LC_MESSAGES/messages.mo
index 451dd153..23c18e52 100644
Binary files a/locale/en_US/LC_MESSAGES/messages.mo and b/locale/en_US/LC_MESSAGES/messages.mo differ
diff --git a/locale/en_US/LC_MESSAGES/messages.po b/locale/en_US/LC_MESSAGES/messages.po
index 26677ce7..c10c8da2 100644
--- a/locale/en_US/LC_MESSAGES/messages.po
+++ b/locale/en_US/LC_MESSAGES/messages.po
@@ -725,12 +725,6 @@ msgstr "Cancel"
msgid "Enable this option to log openvpn
activity."
msgstr "Enable this option to log openvpn
activity."
-msgid "Cancel"
-msgstr "Cancel"
-
-msgid "Cancel"
-msgstr "Cancel"
-
#: includes/torproxy.php
msgid "TOR is not running"
msgstr "TOR is not running"
@@ -856,3 +850,74 @@ msgstr "Invalid custom IP address found on line "
msgid "Invalid custom host found on line "
msgstr "Invalid custom host found on line "
+#: includes/wireguard.php
+
+msgid "Tunnel settings"
+msgstr "Tunnel settings"
+
+msgid "Enable tunnel"
+msgstr "Enable tunnel"
+
+msgid "Enable this option to encrypt traffic by creating a tunnel between RaspAP and configured peers."
+msgstr "Enable this option to encrypt traffic by creating a tunnel between RaspAP and configured peers."
+
+msgid "Local public key"
+msgstr "Local public key"
+
+msgid "Local Port"
+msgstr "Local Port"
+
+msgid "IP Address"
+msgstr "IP Address"
+
+msgid "DNS"
+msgstr "DNS"
+
+msgid "Peer"
+msgstr "Peer"
+
+msgid "Enable endpoint"
+msgstr "Enable endpoint"
+
+msgid "Peer public key"
+msgstr "Peer public key"
+
+msgid "Endpoint address"
+msgstr "Endpoint address"
+
+msgid "Allowed IPs"
+msgstr "Allowed IPs"
+
+msgid "Persistent keepalive"
+msgstr "Persistent keepalive"
+
+msgid "Display WireGuard status"
+msgstr "Display WireGuard status"
+
+msgid "Enable this option to display an updated WireGuard status."
+msgstr "Enable this option to display an updated WireGuard status."
+
+msgid "Scan this QR code with your client to connect to this tunnel"
+msgstr "Scan this QR code with your client to connect to this tunnel"
+
+msgid "Start WireGuard"
+msgstr "Start WireGuard"
+
+msgid "Stop WireGuard"
+msgstr "Stop WireGuard"
+
+msgid "Information provided by wireguard"
+msgstr "Information provided by wireguard"
+
+msgid "Attempting to start WireGuard"
+msgstr "Attempting to start WireGuard"
+
+msgid "Attempting to stop WireGuard"
+msgstr "Attempting to stop WireGuard"
+
+msgid "WireGuard configuration updated successfully"
+msgstr "WireGuard configuration updated successfully"
+
+msgid "WireGuard configuration failed to be updated"
+msgstr "WireGuard configuration failed to be updated"
+
diff --git a/templates/wg/peers.php b/templates/wg/peers.php
index a4d80f5a..0d29b429 100644
--- a/templates/wg/peers.php
+++ b/templates/wg/peers.php
@@ -65,7 +65,7 @@
-
+