summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/po/zh_Hant
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-12-01 16:40:31 +0100
committerJo-Philipp Wich <jo@mein.io>2021-12-01 16:44:20 +0100
commitb8d3ca6f826c3026f538c074e2a1a2cb843cb340 (patch)
treea3489f05b5046b1e15b5f6e3d5402f74811ba50c /modules/luci-base/po/zh_Hant
parent91bbefa64e9d49243b0ccb3ad2764d74f4fd387d (diff)
luci-mod-network: fix unbalanced and confusing markup in DHCP translation
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 `<a href="%s">...</a>` 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 <jo@mein.io>
Diffstat (limited to 'modules/luci-base/po/zh_Hant')
-rw-r--r--modules/luci-base/po/zh_Hant/base.po2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/po/zh_Hant/base.po b/modules/luci-base/po/zh_Hant/base.po
index 9e462d5858..c077d529d8 100644
--- a/modules/luci-base/po/zh_Hant/base.po
+++ b/modules/luci-base/po/zh_Hant/base.po
@@ -1871,7 +1871,7 @@ msgid "Disassociate On Low Acknowledgement"
msgstr "低確認(Low Acknowledgement)時取消連線"
#: 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 <a href="%s">RFC1918</a> addresses."
msgstr "丟棄上游RFC1918 虛擬IP網路的回應。"
#: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:198