From b8d3ca6f826c3026f538c074e2a1a2cb843cb340 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 1 Dec 2021 16:40:31 +0100 Subject: luci-mod-network: fix unbalanced and confusing markup in DHCP translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The string `<%s>...<%s>` is invalid HTML and will confuse translation software like poedit as well as human translators. It is not clear that `<%s>...<%s>` is supposed to interpolate into both a start and end tag and `<%s>` might be mistaken as a quoted form of `%s` like `«%s»` or `〈%s〉`. Replace the string with `...` to make it immediately clear that the acronym is surrounded by an HTML anchor, only pass the destination URL via string formatting to avoid mistranslations there. Fixes: 3bfcf99a68 ("luci-mod-network: fix unbalanced and confusing markup in DHCP translation") Signed-off-by: Jo-Philipp Wich --- modules/luci-base/po/ro/base.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-base/po/ro/base.po') diff --git a/modules/luci-base/po/ro/base.po b/modules/luci-base/po/ro/base.po index 270a5cb2ad..4ef12fcae2 100644 --- a/modules/luci-base/po/ro/base.po +++ b/modules/luci-base/po/ro/base.po @@ -1889,7 +1889,7 @@ msgid "Disassociate On Low Acknowledgement" msgstr "Dezasociere la recunoaștere scăzută" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:302 -msgid "Discard upstream responses containing <%s>RFC1918<%s> addresses." +msgid "Discard upstream responses containing RFC1918 addresses." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:198 -- cgit v1.2.3