From e05ee9389735683bf277d962d2bb9ba1908bdf13 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Thu, 7 Dec 2023 04:09:39 +0100 Subject: luci-mod-network: Rework address helptext for DHCP Ease translators lives. This introduces the function customi18n for positional string variables. Word and grammatical ordering of some languages breaks guarantees for positional string arguments. Signed-off-by: Paul Donald --- modules/luci-base/po/ms/base.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/luci-base/po/ms') diff --git a/modules/luci-base/po/ms/base.po b/modules/luci-base/po/ms/base.po index 2c7dd9bfde..4a6883d158 100644 --- a/modules/luci-base/po/ms/base.po +++ b/modules/luci-base/po/ms/base.po @@ -323,8 +323,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 msgid "" -"/example.com/# returns NULL addresses (0.0.0.0 and " -"::) for example.com and its subdomains." +"{example_null} returns {null_addr} addresses ({null_ipv4}," +"{null_ipv6}) for {example_com} and its subdomains." msgstr "" #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 @@ -8816,7 +8816,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 -- cgit v1.2.3