diff options
author | Paul Donald <newtwen@gmail.com> | 2023-12-07 04:09:39 +0100 |
---|---|---|
committer | Paul Donald <newtwen@gmail.com> | 2023-12-07 04:29:25 +0100 |
commit | e05ee9389735683bf277d962d2bb9ba1908bdf13 (patch) | |
tree | 7a58c7f9ec26a9fe3dd01811dda9690998316e47 /modules/luci-base/po/zh_Hant/base.po | |
parent | 175a94325017964cc6e7e803c753399362c8b85f (diff) |
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 <newtwen@gmail.com>
Diffstat (limited to 'modules/luci-base/po/zh_Hant/base.po')
-rw-r--r-- | modules/luci-base/po/zh_Hant/base.po | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/luci-base/po/zh_Hant/base.po b/modules/luci-base/po/zh_Hant/base.po index 2b3b8b37f5..f96ca9a6ae 100644 --- a/modules/luci-base/po/zh_Hant/base.po +++ b/modules/luci-base/po/zh_Hant/base.po @@ -324,12 +324,14 @@ msgstr "" "<code>/#/</code> 相符任何網域名稱。<code>/example.com/</code> 返回 NXDOMAIN。" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 +msgctxt "hint: <code>/example.com/#</code> returns NULL addresses " +"(<code>0.0.0.0</code>, <code>::</code>) for example.com and its subdomains." msgid "" -"<code>/example.com/#</code> returns NULL addresses (<code>0.0.0.0</code> and " -"<code>::</code>) for example.com and its subdomains." +"{example_null} returns {null_addr} addresses ({null_ipv4}," +"{null_ipv6}) for {example_com} and its subdomains." msgstr "" -"<code>/example.com/#</code> 對 example.com 及其子網域名稱返回無效位址 " -"(<code>0.0.0.0</code> 和 <code>::</code>) 。" +"{example_null} 對 {example_com} 及其子網域名稱返回{null_addr}位址 " +"({null_ipv4} 和 {null_ipv6}) 。" #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -8981,7 +8983,7 @@ msgid "Sync with browser" msgstr "與瀏覽器同步時間" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: <code>/fqdn[/fqdn…]/[ipaddr]</code>." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 |