From e05ee9389735683bf277d962d2bb9ba1908bdf13 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Thu, 7 Dec 2023 04:09:39 +0100 Subject: [PATCH] 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/ar/base.po | 6 ++--- modules/luci-base/po/bg/base.po | 6 ++--- modules/luci-base/po/bn_BD/base.po | 6 ++--- modules/luci-base/po/ca/base.po | 6 ++--- modules/luci-base/po/cs/base.po | 10 +++---- modules/luci-base/po/da/base.po | 12 ++++----- modules/luci-base/po/de/base.po | 12 ++++----- modules/luci-base/po/el/base.po | 6 ++--- modules/luci-base/po/en/base.po | 6 ++--- modules/luci-base/po/es/base.po | 12 ++++----- modules/luci-base/po/fi/base.po | 6 ++--- modules/luci-base/po/fr/base.po | 12 ++++----- modules/luci-base/po/he/base.po | 6 ++--- modules/luci-base/po/hi/base.po | 6 ++--- modules/luci-base/po/hu/base.po | 6 ++--- modules/luci-base/po/it/base.po | 12 ++++----- modules/luci-base/po/ja/base.po | 14 +++++----- modules/luci-base/po/ko/base.po | 12 +++++---- modules/luci-base/po/lt/base.po | 10 +++---- modules/luci-base/po/mr/base.po | 6 ++--- modules/luci-base/po/ms/base.po | 6 ++--- modules/luci-base/po/nb_NO/base.po | 6 ++--- modules/luci-base/po/nl/base.po | 12 ++++----- modules/luci-base/po/pl/base.po | 12 ++++----- modules/luci-base/po/pt/base.po | 12 ++++----- modules/luci-base/po/pt_BR/base.po | 12 ++++----- modules/luci-base/po/ro/base.po | 12 ++++----- modules/luci-base/po/ru/base.po | 12 ++++----- modules/luci-base/po/sk/base.po | 6 ++--- modules/luci-base/po/sv/base.po | 6 ++--- modules/luci-base/po/tr/base.po | 14 +++++----- modules/luci-base/po/uk/base.po | 10 +++---- modules/luci-base/po/ur/base.po | 6 ++--- modules/luci-base/po/vi/base.po | 14 +++++----- modules/luci-base/po/zh_Hans/base.po | 14 +++++----- modules/luci-base/po/zh_Hant/base.po | 12 +++++---- .../resources/view/network/dhcp.js | 26 ++++++++++++++++--- 37 files changed, 198 insertions(+), 166 deletions(-) diff --git a/modules/luci-base/po/ar/base.po b/modules/luci-base/po/ar/base.po index 2f1a7c9666..3a2f6f7571 100644 --- a/modules/luci-base/po/ar/base.po +++ b/modules/luci-base/po/ar/base.po @@ -327,8 +327,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 @@ -8997,7 +8997,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 diff --git a/modules/luci-base/po/bg/base.po b/modules/luci-base/po/bg/base.po index 9feffe2e25..f0acb3ef9c 100644 --- a/modules/luci-base/po/bg/base.po +++ b/modules/luci-base/po/bg/base.po @@ -320,8 +320,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 @@ -8856,7 +8856,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 diff --git a/modules/luci-base/po/bn_BD/base.po b/modules/luci-base/po/bn_BD/base.po index d4a754c9d2..f5a6dcd6db 100644 --- a/modules/luci-base/po/bn_BD/base.po +++ b/modules/luci-base/po/bn_BD/base.po @@ -320,8 +320,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 @@ -8791,7 +8791,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 diff --git a/modules/luci-base/po/ca/base.po b/modules/luci-base/po/ca/base.po index 8320b707b2..75669ea765 100644 --- a/modules/luci-base/po/ca/base.po +++ b/modules/luci-base/po/ca/base.po @@ -329,8 +329,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 @@ -8921,7 +8921,7 @@ msgid "Sync with browser" msgstr "Sincronitza amb el navegador" #: 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 diff --git a/modules/luci-base/po/cs/base.po b/modules/luci-base/po/cs/base.po index 0c7d0675b1..90a40a24e1 100644 --- a/modules/luci-base/po/cs/base.po +++ b/modules/luci-base/po/cs/base.po @@ -330,11 +330,11 @@ 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 "" -"/example.com/# vrací NULL adresu (0.0.0.0 a " -"::) pro example.com a její subdomény." +"{example_null} vrací {null_addr} adresu ({null_ipv4} a " +"{null_ipv6}) pro {example_com} a její subdomény." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9028,7 +9028,7 @@ msgid "Sync with browser" msgstr "Synchronizovat s prohlížečem" #: 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 diff --git a/modules/luci-base/po/da/base.po b/modules/luci-base/po/da/base.po index f4f6a2afef..fbd6df8d69 100644 --- a/modules/luci-base/po/da/base.po +++ b/modules/luci-base/po/da/base.po @@ -330,11 +330,11 @@ 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 "" -"/example.com/# returnerer NULL-adresser (0.0.0.0 " -"og ::) for example.com og dets underdomæner." +"%s returnerer %s-adresser (%s " +"og %s) for %s og dets underdomæner." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9282,8 +9282,8 @@ msgid "Sync with browser" msgstr "Synkroniser med browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Syntaks: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Syntaks: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/de/base.po b/modules/luci-base/po/de/base.po index 4bea55b6c4..faf67fa5fa 100644 --- a/modules/luci-base/po/de/base.po +++ b/modules/luci-base/po/de/base.po @@ -333,11 +333,11 @@ 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 "" -"/example.com/# liefert NULL Adressen (0.0.0.0 und " -"::) für example.com und seine Subdomains." +"{example_null} liefert {null_addr} Adressen ({null_ipv4} und " +"{null_ipv6}) für {example_com} und seine Subdomains." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9365,8 +9365,8 @@ msgid "Sync with browser" msgstr "Mit Browser synchronisieren" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Syntax: /fqdn[/fqdn…]/[IP-adr]." +msgid "Syntax: {code_syntax}." +msgstr "Syntax: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/el/base.po b/modules/luci-base/po/el/base.po index 74e571e0ea..c1657c29a8 100644 --- a/modules/luci-base/po/el/base.po +++ b/modules/luci-base/po/el/base.po @@ -330,8 +330,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 @@ -8906,7 +8906,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 diff --git a/modules/luci-base/po/en/base.po b/modules/luci-base/po/en/base.po index 13d7ce62e8..856dc7df90 100644 --- a/modules/luci-base/po/en/base.po +++ b/modules/luci-base/po/en/base.po @@ -324,8 +324,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 @@ -8795,7 +8795,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 diff --git a/modules/luci-base/po/es/base.po b/modules/luci-base/po/es/base.po index dc347042a7..d5ea58c848 100644 --- a/modules/luci-base/po/es/base.po +++ b/modules/luci-base/po/es/base.po @@ -337,11 +337,11 @@ 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 "" -"/example.com/# devuelve direcciones NULL (0.0.0.0 " -"y ::) para example.com y sus subdominios." +"{example_null} devuelve direcciones {null_addr} ({null_ipv4} " +"y {null_ipv6}) para {example_com} y sus subdominios." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9452,8 +9452,8 @@ msgid "Sync with browser" msgstr "Sincronizar con el navegador" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Sintaxis: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Sintaxis: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 #, fuzzy diff --git a/modules/luci-base/po/fi/base.po b/modules/luci-base/po/fi/base.po index 5ed4ea044c..ea710cb5a9 100644 --- a/modules/luci-base/po/fi/base.po +++ b/modules/luci-base/po/fi/base.po @@ -321,8 +321,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 @@ -9047,7 +9047,7 @@ msgid "Sync with browser" msgstr "Synkronoi selaimen kanssa" #: 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 diff --git a/modules/luci-base/po/fr/base.po b/modules/luci-base/po/fr/base.po index eacd975395..6cc121e5fb 100644 --- a/modules/luci-base/po/fr/base.po +++ b/modules/luci-base/po/fr/base.po @@ -341,11 +341,11 @@ 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 "" -"/example.com/# renvoie des adresses NULL (0.0.0.0 " -"et  : :) pour example.com et ses sous-domaines." +"{example_null} renvoie des adresses {null_addr} ({null_ipv4} " +"et {null_ipv6}) pour {example_com} et ses sous-domaines." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9346,8 +9346,8 @@ msgid "Sync with browser" msgstr "Synchroniser avec le navigateur" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Syntaxe : /fqdn[/fqdn...]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Syntaxe : {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/he/base.po b/modules/luci-base/po/he/base.po index 9ed090ea69..b098f06e6a 100644 --- a/modules/luci-base/po/he/base.po +++ b/modules/luci-base/po/he/base.po @@ -322,8 +322,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 @@ -8817,7 +8817,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 diff --git a/modules/luci-base/po/hi/base.po b/modules/luci-base/po/hi/base.po index c29a208201..4a24c25f11 100644 --- a/modules/luci-base/po/hi/base.po +++ b/modules/luci-base/po/hi/base.po @@ -319,8 +319,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 @@ -8789,7 +8789,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 diff --git a/modules/luci-base/po/hu/base.po b/modules/luci-base/po/hu/base.po index 0ffa13e457..0f64e5f009 100644 --- a/modules/luci-base/po/hu/base.po +++ b/modules/luci-base/po/hu/base.po @@ -325,8 +325,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 @@ -9030,7 +9030,7 @@ msgid "Sync with browser" msgstr "Szinkronizálás a böngészővel" #: 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 diff --git a/modules/luci-base/po/it/base.po b/modules/luci-base/po/it/base.po index 73c1645f19..765505224a 100644 --- a/modules/luci-base/po/it/base.po +++ b/modules/luci-base/po/it/base.po @@ -340,11 +340,11 @@ 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 "" -"/example.com/# restituisce indirizzi NULL (0.0.0.0 " -"e ::) per example.com e i suoi sottodomini." +"{example_null} restituisce indirizzi {null_addr} ({null_ipv4} " +"e {null_ipv6}) per {example_com} e i suoi sottodomini." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9342,8 +9342,8 @@ msgid "Sync with browser" msgstr "Sincronizza con il browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Sintassi: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Sintassi: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/ja/base.po b/modules/luci-base/po/ja/base.po index ea75978405..99f94e4bd0 100644 --- a/modules/luci-base/po/ja/base.po +++ b/modules/luci-base/po/ja/base.po @@ -324,12 +324,14 @@ msgstr "" "example.com/ は NXDOMAIN を返します。" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 +msgctxt "hint: /example.com/# returns NULL addresses " +"(0.0.0.0, ::) for example.com and its subdomains." 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 "" -"/example.com/# は example.com とそのサブドメインに対して NULL ア" -"ドレス (0.0.0.0 及び ::) を返します。" +"{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" @@ -9086,8 +9088,8 @@ msgid "Sync with browser" msgstr "ブラウザと同期" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "文法: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "文法: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/ko/base.po b/modules/luci-base/po/ko/base.po index 0b10546299..0bb591b9ca 100644 --- a/modules/luci-base/po/ko/base.po +++ b/modules/luci-base/po/ko/base.po @@ -325,12 +325,14 @@ msgstr "" "을 반환합니다." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 +msgctxt "hint: /example.com/# returns NULL addresses " +"(0.0.0.0, ::) for example.com and its subdomains." 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 "" -"/example.com/# 는 example.com과 그 서브도메인에 대해 NULL 주소 " -"(0.0.0.0 와 ::)를 반환합니다." +"{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" @@ -8903,7 +8905,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 diff --git a/modules/luci-base/po/lt/base.po b/modules/luci-base/po/lt/base.po index f16a9380b8..204d79f05a 100644 --- a/modules/luci-base/po/lt/base.po +++ b/modules/luci-base/po/lt/base.po @@ -332,11 +332,11 @@ 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 "" -"/example.com/# pateikia „NULL“ adresus (0.0.0.0 ir " -"::), pvz., „example.com“ ir jo subdomenus." +"%s pateikia „%s“ adresus (%s ir " +"%s), pvz., „%s“ ir jo subdomenus." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -8883,7 +8883,7 @@ msgid "Sync with browser" msgstr "Sinchronizuoti su naršyklę" #: 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 diff --git a/modules/luci-base/po/mr/base.po b/modules/luci-base/po/mr/base.po index 37e0b195e6..9f7ab6e37c 100644 --- a/modules/luci-base/po/mr/base.po +++ b/modules/luci-base/po/mr/base.po @@ -320,8 +320,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 @@ -8788,7 +8788,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 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 diff --git a/modules/luci-base/po/nb_NO/base.po b/modules/luci-base/po/nb_NO/base.po index 6c5b763def..b7d7615135 100644 --- a/modules/luci-base/po/nb_NO/base.po +++ b/modules/luci-base/po/nb_NO/base.po @@ -320,8 +320,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 @@ -8895,7 +8895,7 @@ msgid "Sync with browser" msgstr "Synkroniser med nettleser" #: 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 diff --git a/modules/luci-base/po/nl/base.po b/modules/luci-base/po/nl/base.po index 246be97d92..c4ef8f3883 100644 --- a/modules/luci-base/po/nl/base.po +++ b/modules/luci-base/po/nl/base.po @@ -329,11 +329,11 @@ 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 "" -"/example.com/# retourneert NULL-adressen (0.0.0.0 " -"en ::) voor example.com en zijn subdomeinen." +"{example_null} retourneert {null_addr}-adressen ({null_ipv4} " +"en {null_ipv6}) voor {example_com} en zijn subdomeinen." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9296,8 +9296,8 @@ msgid "Sync with browser" msgstr "Synchroniseren met browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Syntaxis: /fqdn[/fqdn...] /[iPaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Syntaxis: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/pl/base.po b/modules/luci-base/po/pl/base.po index 691b0cd83b..101bcc73ad 100644 --- a/modules/luci-base/po/pl/base.po +++ b/modules/luci-base/po/pl/base.po @@ -334,11 +334,11 @@ 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 "" -"/example.com/# zwraca adresy NULL (0.0.0.0 i " -"::) dla example.com i jego poddomen." +"{example_null} zwraca adresy {null_addr} ({null_ipv4} i " +"{null_ipv6}) dla {example_com} i jego poddomen." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9359,8 +9359,8 @@ msgid "Sync with browser" msgstr "Synchronizuj z przeglądarką" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Składnia: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Składnia: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/pt/base.po b/modules/luci-base/po/pt/base.po index 020f98d83e..dc072e1563 100644 --- a/modules/luci-base/po/pt/base.po +++ b/modules/luci-base/po/pt/base.po @@ -338,11 +338,11 @@ 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 "" -"/example.com/# retorna endereços nulos (0.0.0.0 e " -"::) para example.com e os seus subdomínios." +"{example_null} retorna endereços {null_addr} ({null_ipv4} e " +"{null_ipv6}) para {example_com} e os seus subdomínios." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9330,8 +9330,8 @@ msgid "Sync with browser" msgstr "Sincronizar com o browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Sintaxe: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Sintaxe: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/pt_BR/base.po b/modules/luci-base/po/pt_BR/base.po index 01937c4477..62f99c7312 100644 --- a/modules/luci-base/po/pt_BR/base.po +++ b/modules/luci-base/po/pt_BR/base.po @@ -338,11 +338,11 @@ 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 "" -"/example.com/# retorna endereços NULL (0.0.0.0 e " -"::) para example.com e os seus subdomínios." +"{example_null} retorna endereços {null_addr} ({null_ipv4} e " +"{null_ipv6}) para {example_com} e os seus subdomínios." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9342,8 +9342,8 @@ msgid "Sync with browser" msgstr "Sincronize com o navegador" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Sintaxe: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Sintaxe: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/ro/base.po b/modules/luci-base/po/ro/base.po index 5ea5bc4cf6..3a69b7f764 100644 --- a/modules/luci-base/po/ro/base.po +++ b/modules/luci-base/po/ro/base.po @@ -336,11 +336,11 @@ 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 "" -"/example.com/# returnează adrese NULL (0.0.0.0 and " -"::) pentru example.com și subdomeniile sale." +"{example_null} returnează adrese {null_addr} ({null_ipv4} and " +"{null_ipv6}) pentru {example_com} și subdomeniile sale." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9330,8 +9330,8 @@ msgid "Sync with browser" msgstr "Sincronizați cu browserul" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Sintaxa: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Sintaxa: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/ru/base.po b/modules/luci-base/po/ru/base.po index d9b4d5c345..af4b379408 100644 --- a/modules/luci-base/po/ru/base.po +++ b/modules/luci-base/po/ru/base.po @@ -340,11 +340,11 @@ 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 "" -"/example.com/# возвращает NULL адреса (0.0.0.0 и " -"::) для example.com и его поддоменов." +"{example_null} возвращает {null_addr} адреса ({null_ipv4} и " +"{null_ipv6}) для {example_com} и его поддоменов." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9386,8 +9386,8 @@ msgid "Sync with browser" msgstr "Скопир. из браузера" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Синтаксис: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Синтаксис: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/sk/base.po b/modules/luci-base/po/sk/base.po index 06f8c39b51..baf5b8ee5e 100644 --- a/modules/luci-base/po/sk/base.po +++ b/modules/luci-base/po/sk/base.po @@ -337,8 +337,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 @@ -9025,7 +9025,7 @@ msgid "Sync with browser" msgstr "Synch. s prehliadačom" #: 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 diff --git a/modules/luci-base/po/sv/base.po b/modules/luci-base/po/sv/base.po index bf1b639bbc..0ad4f8c219 100644 --- a/modules/luci-base/po/sv/base.po +++ b/modules/luci-base/po/sv/base.po @@ -326,8 +326,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 @@ -8830,7 +8830,7 @@ msgid "Sync with browser" msgstr "Synkronisera med webbläsare" #: 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 diff --git a/modules/luci-base/po/tr/base.po b/modules/luci-base/po/tr/base.po index 5d1644e0cd..3746a3bff9 100644 --- a/modules/luci-base/po/tr/base.po +++ b/modules/luci-base/po/tr/base.po @@ -329,12 +329,14 @@ msgstr "" "NXDOMAIN değerini döndürür." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 +msgctxt "hint: /example.com/# returns NULL addresses " +"(0.0.0.0, ::) for example.com and its subdomains." 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 "" -"/example.com/#, example.com ve alt alanları için NULL adresleri " -"(0.0.0.0 ve ::) döndürür." +"{example_null}, {example_com} ve alt alanları için {null_addr} adresleri " +"({null_ipv4} ve {null_ipv6}) döndürür." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9292,8 +9294,8 @@ msgid "Sync with browser" msgstr "Tarayıcı ile senkronize et" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Sözdizimi: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Sözdizimi: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/uk/base.po b/modules/luci-base/po/uk/base.po index 8f8ab69fb1..a6dac9361e 100644 --- a/modules/luci-base/po/uk/base.po +++ b/modules/luci-base/po/uk/base.po @@ -348,11 +348,11 @@ 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 "" -"/example.com/# повертає NULL адреси (0.0.0.0 і " -"::) для example.com і його субдоменів." +"{example_null} повертає {null_addr} адреси ({null_ipv4} і " +"{null_ipv6}) для {example_com} і його субдоменів." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9325,7 +9325,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 diff --git a/modules/luci-base/po/ur/base.po b/modules/luci-base/po/ur/base.po index 1c35bd8a94..280e1dac66 100644 --- a/modules/luci-base/po/ur/base.po +++ b/modules/luci-base/po/ur/base.po @@ -319,8 +319,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 @@ -8788,7 +8788,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 diff --git a/modules/luci-base/po/vi/base.po b/modules/luci-base/po/vi/base.po index eb27b56e12..743c3d9cea 100644 --- a/modules/luci-base/po/vi/base.po +++ b/modules/luci-base/po/vi/base.po @@ -330,12 +330,14 @@ msgstr "" "trả về NXDOMAIN." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 +msgctxt "hint: /example.com/# returns NULL addresses " +"(0.0.0.0, ::) for example.com and its subdomains." 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 "" -"/example.com/# trả về địa chỉ NULL (0.0.0.0 và " -"::) cho example.com và các tên miền con của nó." +"{example_null} trả về địa chỉ {null_addr} ({null_ipv4} và " +"{null_ipv6}) cho {example_com} và các tên miền con của nó." #: modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js:87 msgctxt "nft relational \">\" operator expression" @@ -9248,8 +9250,8 @@ msgid "Sync with browser" msgstr "Đồng bộ với trình duyệt web" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "Cú pháp: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "Cú pháp: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/zh_Hans/base.po b/modules/luci-base/po/zh_Hans/base.po index 7dd5b5edbf..78593528c5 100644 --- a/modules/luci-base/po/zh_Hans/base.po +++ b/modules/luci-base/po/zh_Hans/base.po @@ -323,12 +323,14 @@ msgstr "" "/#/ 匹配任何域名。/example.com/ 返回 NXDOMAIN。" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 +msgctxt "hint: /example.com/# returns NULL addresses " +"(0.0.0.0, ::) for example.com and its subdomains." 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 "" -"/example.com/# 对 example.com 及其子域名返回无效地址 " -"(0.0.0.0 和 ::) 。" +"{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" @@ -8998,8 +9000,8 @@ msgid "Sync with browser" msgstr "同步浏览器时间" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:314 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." -msgstr "语法: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." +msgstr "语法: {code_syntax}." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 msgid "Syntax: _service._proto.example.com." 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 "" "/#/ 相符任何網域名稱。/example.com/ 返回 NXDOMAIN。" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:316 +msgctxt "hint: /example.com/# returns NULL addresses " +"(0.0.0.0, ::) for example.com and its subdomains." 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 "" -"/example.com/# 對 example.com 及其子網域名稱返回無效位址 " -"(0.0.0.0 和 ::) 。" +"{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: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:667 diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index 45a2e2573f..91b6e6a189 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -308,12 +308,32 @@ return view.extend({ o.placeholder = '/example.org/10.1.2.3'; o.validate = validateServerSpec; + function customi18n(template, values) { + return template.replace(/\{(\w+)\}/g, (match, key) => values[key] || match); + }; + o = s.taboption('general', form.DynamicList, 'address', _('Addresses'), _('Resolve specified FQDNs to an IP.') + '
' + - _('Syntax: /fqdn[/fqdn…]/[ipaddr].') + '
' + - _('/#/ matches any domain. /example.com/ returns NXDOMAIN.') + '
' + - _('/example.com/# returns NULL addresses (0.0.0.0 and ::) for example.com and its subdomains.')); + customi18n(_('Syntax: {code_syntax}.'), + {code_syntax: '/fqdn[/fqdn…]/[ipaddr]'}) + '
' + + customi18n(_('{example_nx} returns {nxdomain}.', + 'hint: /example.com/ returns NXDOMAIN.'), + {example_nx: '/example.com/', nxdomain: 'NXDOMAIN'}) + '
' + + customi18n(_('{any_domain} matches any domain (and returns {nxdomain}).', + 'hint: /#/ matches any domain (and returns NXDOMAIN).'), + {any_domain:'/#/', nxdomain: 'NXDOMAIN'}) + '
' + + customi18n( + _('{example_null} returns {null_addr} addresses ({null_ipv4}, {null_ipv6}) for {example_com} and its subdomains.', + 'hint: /example.com/# returns NULL addresses (0.0.0.0, ::) for example.com and its subdomains.'), + { example_null: '/example.com/#', + null_addr: 'NULL', + null_ipv4: '0.0.0.0', + null_ipv6: '::', + example_com: 'example.com', + } + ) + ); o.optional = true; o.placeholder = '/router.local/router.lan/192.168.0.1'; -- 2.30.2