From 535cc3f4682857b7fa07aeeea12020ffb7fb142c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com>
Date: Tue, 13 Dec 2022 00:14:24 +0100
Subject: [PATCH] gluon-web-private-wifi: add translation for message

Co-authored-by: Matthias Schiffer <mschiffer@universe-factory.net>
---
 package/gluon-web-private-wifi/i18n/de.po                      | 3 +++
 package/gluon-web-private-wifi/i18n/gluon-web-private-wifi.pot | 3 +++
 .../luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua   | 2 +-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/gluon-web-private-wifi/i18n/de.po b/package/gluon-web-private-wifi/i18n/de.po
index b204d8942..838683c79 100644
--- a/package/gluon-web-private-wifi/i18n/de.po
+++ b/package/gluon-web-private-wifi/i18n/de.po
@@ -49,6 +49,9 @@ msgstr ""
 msgid "WPA3"
 msgstr ""
 
+msgid "Meshing on WAN interface is enabled. This can lead to problems."
+msgstr "Mesh auf WAN ist aktiv. Dies kann zu Problemen führen."
+
 msgid ""
 "Your node can additionally extend your private network by bridging the WAN "
 "interface with a separate WLAN. This feature is completely independent of "
diff --git a/package/gluon-web-private-wifi/i18n/gluon-web-private-wifi.pot b/package/gluon-web-private-wifi/i18n/gluon-web-private-wifi.pot
index 057809106..1177101e5 100644
--- a/package/gluon-web-private-wifi/i18n/gluon-web-private-wifi.pot
+++ b/package/gluon-web-private-wifi/i18n/gluon-web-private-wifi.pot
@@ -40,6 +40,9 @@ msgstr ""
 msgid "WPA3"
 msgstr ""
 
+msgid "Meshing on WAN interface is enabled. This can lead to problems."
+msgstr ""
+
 msgid ""
 "Your node can additionally extend your private network by bridging the WAN "
 "interface with a separate WLAN. This feature is completely independent of "
diff --git a/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua b/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua
index 4f4cf4590..9d29b2b6b 100644
--- a/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua
+++ b/package/gluon-web-private-wifi/luasrc/lib/gluon/config-mode/model/admin/privatewifi.lua
@@ -28,7 +28,7 @@ enabled.default = uci:get('wireless', primary_iface) and not uci:get_bool('wirel
 
 local warning = s:element('model/warning', {
 	content = mesh_on_wan and translate(
-		'Meshing on WAN interface is enabled.' ..
+		'Meshing on WAN interface is enabled. ' ..
 		'This can lead to problems.'
 	) or nil,
 }, 'warning')
-- 
GitLab