From 961087a8ac8086d6c8c31f95549f53704e0cd210 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 (cherry picked from commit e05ee9389735683bf277d962d2bb9ba1908bdf13) --- 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 ada4618fbc..6406137510 100644 --- a/modules/luci-base/po/ar/base.po +++ b/modules/luci-base/po/ar/base.po @@ -323,8 +323,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8799,7 +8799,7 @@ msgid "Sync with browser" msgstr "تزامن مع المتصفح" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/bg/base.po b/modules/luci-base/po/bg/base.po index 41312bcb02..fb1f028d59 100644 --- a/modules/luci-base/po/bg/base.po +++ b/modules/luci-base/po/bg/base.po @@ -316,8 +316,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8654,7 +8654,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/bn_BD/base.po b/modules/luci-base/po/bn_BD/base.po index feaea5cd84..4de602bef5 100644 --- a/modules/luci-base/po/bn_BD/base.po +++ b/modules/luci-base/po/bn_BD/base.po @@ -316,8 +316,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8589,7 +8589,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/ca/base.po b/modules/luci-base/po/ca/base.po index 043d09a485..3acecf3e47 100644 --- a/modules/luci-base/po/ca/base.po +++ b/modules/luci-base/po/ca/base.po @@ -325,8 +325,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8719,7 +8719,7 @@ msgid "Sync with browser" msgstr "Sincronitza amb el navegador" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/cs/base.po b/modules/luci-base/po/cs/base.po index 77208dfb29..1ab8ee313a 100644 --- a/modules/luci-base/po/cs/base.po +++ b/modules/luci-base/po/cs/base.po @@ -326,11 +326,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -8833,7 +8833,7 @@ msgid "Sync with browser" msgstr "Synchronizovat s prohlížečem" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/da/base.po b/modules/luci-base/po/da/base.po index f54d57c0f3..ddb59699fd 100644 --- a/modules/luci-base/po/da/base.po +++ b/modules/luci-base/po/da/base.po @@ -326,11 +326,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9076,8 +9076,8 @@ msgid "Sync with browser" msgstr "Synkroniser med browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 748ff2cf05..82c746ac76 100644 --- a/modules/luci-base/po/de/base.po +++ b/modules/luci-base/po/de/base.po @@ -329,11 +329,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9164,8 +9164,8 @@ msgid "Sync with browser" msgstr "Mit Browser synchronisieren" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 c4ddc4e220..e3d73ba811 100644 --- a/modules/luci-base/po/el/base.po +++ b/modules/luci-base/po/el/base.po @@ -326,8 +326,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8704,7 +8704,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/en/base.po b/modules/luci-base/po/en/base.po index 3d28be0f22..035ad72703 100644 --- a/modules/luci-base/po/en/base.po +++ b/modules/luci-base/po/en/base.po @@ -320,8 +320,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8593,7 +8593,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/es/base.po b/modules/luci-base/po/es/base.po index 46cd8690a2..7aaf93f457 100644 --- a/modules/luci-base/po/es/base.po +++ b/modules/luci-base/po/es/base.po @@ -332,11 +332,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9236,8 +9236,8 @@ msgid "Sync with browser" msgstr "Sincronizar con el navegador" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 msgid "Syntax: _service._proto.example.com." diff --git a/modules/luci-base/po/fi/base.po b/modules/luci-base/po/fi/base.po index d504380118..203d53618d 100644 --- a/modules/luci-base/po/fi/base.po +++ b/modules/luci-base/po/fi/base.po @@ -317,8 +317,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8850,7 +8850,7 @@ msgid "Sync with browser" msgstr "Synkronoi selaimen kanssa" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/fr/base.po b/modules/luci-base/po/fr/base.po index 44f5d383af..7fc206136d 100644 --- a/modules/luci-base/po/fr/base.po +++ b/modules/luci-base/po/fr/base.po @@ -337,11 +337,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9150,8 +9150,8 @@ msgid "Sync with browser" msgstr "Synchroniser avec le navigateur" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 c9158ae0f4..c4439ef119 100644 --- a/modules/luci-base/po/he/base.po +++ b/modules/luci-base/po/he/base.po @@ -318,8 +318,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8615,7 +8615,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/hi/base.po b/modules/luci-base/po/hi/base.po index cdafa00133..85964eb06b 100644 --- a/modules/luci-base/po/hi/base.po +++ b/modules/luci-base/po/hi/base.po @@ -315,8 +315,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8587,7 +8587,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/hu/base.po b/modules/luci-base/po/hu/base.po index 73584c3b89..8be0478dda 100644 --- a/modules/luci-base/po/hu/base.po +++ b/modules/luci-base/po/hu/base.po @@ -321,8 +321,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8833,7 +8833,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:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/it/base.po b/modules/luci-base/po/it/base.po index 49322cd240..c179e9d1d3 100644 --- a/modules/luci-base/po/it/base.po +++ b/modules/luci-base/po/it/base.po @@ -336,11 +336,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9141,8 +9141,8 @@ msgid "Sync with browser" msgstr "Sincronizza con il browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 c4d70166f6..38e446eebc 100644 --- a/modules/luci-base/po/ja/base.po +++ b/modules/luci-base/po/ja/base.po @@ -320,12 +320,14 @@ msgstr "" "example.com/ は NXDOMAIN を返します。" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 +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" @@ -8888,8 +8890,8 @@ msgid "Sync with browser" msgstr "ブラウザと同期" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 288e915506..48aa762e54 100644 --- a/modules/luci-base/po/ko/base.po +++ b/modules/luci-base/po/ko/base.po @@ -321,12 +321,14 @@ msgstr "" "을 반환합니다." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 +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" @@ -8701,7 +8703,7 @@ msgid "Sync with browser" msgstr "브라우저 시간대로 동기화" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/lt/base.po b/modules/luci-base/po/lt/base.po index 7a2193443b..64ceae366d 100644 --- a/modules/luci-base/po/lt/base.po +++ b/modules/luci-base/po/lt/base.po @@ -328,11 +328,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -8681,7 +8681,7 @@ msgid "Sync with browser" msgstr "Sinchronizuoti su naršyklę" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/mr/base.po b/modules/luci-base/po/mr/base.po index 5319b4d016..739b906443 100644 --- a/modules/luci-base/po/mr/base.po +++ b/modules/luci-base/po/mr/base.po @@ -316,8 +316,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8586,7 +8586,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/ms/base.po b/modules/luci-base/po/ms/base.po index b1e93b0c64..75e9e53360 100644 --- a/modules/luci-base/po/ms/base.po +++ b/modules/luci-base/po/ms/base.po @@ -319,8 +319,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8614,7 +8614,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/nb_NO/base.po b/modules/luci-base/po/nb_NO/base.po index c4cf2b1fcc..f1d13441d6 100644 --- a/modules/luci-base/po/nb_NO/base.po +++ b/modules/luci-base/po/nb_NO/base.po @@ -316,8 +316,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8693,7 +8693,7 @@ msgid "Sync with browser" msgstr "Synkroniser med nettleser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/nl/base.po b/modules/luci-base/po/nl/base.po index 3323d22f78..64d3bfc9e0 100644 --- a/modules/luci-base/po/nl/base.po +++ b/modules/luci-base/po/nl/base.po @@ -325,11 +325,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9099,8 +9099,8 @@ msgid "Sync with browser" msgstr "Synchroniseren met browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 882a7ae69d..4c1b5e4242 100644 --- a/modules/luci-base/po/pl/base.po +++ b/modules/luci-base/po/pl/base.po @@ -330,11 +330,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9127,8 +9127,8 @@ msgid "Sync with browser" msgstr "Synchronizuj z przeglądarką" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 3eaa023aa3..5ff0368f94 100644 --- a/modules/luci-base/po/pt/base.po +++ b/modules/luci-base/po/pt/base.po @@ -334,11 +334,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9129,8 +9129,8 @@ msgid "Sync with browser" msgstr "Sincronizar com o browser" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 eba97a6db1..ad8e6dd9c5 100644 --- a/modules/luci-base/po/pt_BR/base.po +++ b/modules/luci-base/po/pt_BR/base.po @@ -334,11 +334,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9141,8 +9141,8 @@ msgid "Sync with browser" msgstr "Sincronize com o navegador" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 2693e5bab9..721d4e9d09 100644 --- a/modules/luci-base/po/ro/base.po +++ b/modules/luci-base/po/ro/base.po @@ -332,11 +332,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9130,8 +9130,8 @@ msgid "Sync with browser" msgstr "Sincronizați cu browserul" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 e545c6e6e0..f66bae64d5 100644 --- a/modules/luci-base/po/ru/base.po +++ b/modules/luci-base/po/ru/base.po @@ -336,11 +336,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9153,8 +9153,8 @@ msgid "Sync with browser" msgstr "Скопир. из браузера" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 fc8bdc5d00..7fc8e09e34 100644 --- a/modules/luci-base/po/sk/base.po +++ b/modules/luci-base/po/sk/base.po @@ -333,8 +333,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8823,7 +8823,7 @@ msgid "Sync with browser" msgstr "Synch. s prehliadačom" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/sv/base.po b/modules/luci-base/po/sv/base.po index c91cac9cc8..6f2ebfe7a4 100644 --- a/modules/luci-base/po/sv/base.po +++ b/modules/luci-base/po/sv/base.po @@ -322,8 +322,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8628,7 +8628,7 @@ msgid "Sync with browser" msgstr "Synkronisera med webbläsare" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/tr/base.po b/modules/luci-base/po/tr/base.po index bc48beb595..fa756b6915 100644 --- a/modules/luci-base/po/tr/base.po +++ b/modules/luci-base/po/tr/base.po @@ -325,12 +325,14 @@ msgstr "" "NXDOMAIN değerini döndürür." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 +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" @@ -9091,8 +9093,8 @@ msgid "Sync with browser" msgstr "Tarayıcı ile senkronize et" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 2d2f15f5f4..f5dd2d542a 100644 --- a/modules/luci-base/po/uk/base.po +++ b/modules/luci-base/po/uk/base.po @@ -343,11 +343,11 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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" @@ -9129,7 +9129,7 @@ msgid "Sync with browser" msgstr "Синхронізувати з браузером" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/ur/base.po b/modules/luci-base/po/ur/base.po index 383790849b..3406a4e024 100644 --- a/modules/luci-base/po/ur/base.po +++ b/modules/luci-base/po/ur/base.po @@ -315,8 +315,8 @@ msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 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 @@ -8586,7 +8586,7 @@ msgid "Sync with browser" msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 diff --git a/modules/luci-base/po/vi/base.po b/modules/luci-base/po/vi/base.po index 2aa0c7090e..4a0679b43a 100644 --- a/modules/luci-base/po/vi/base.po +++ b/modules/luci-base/po/vi/base.po @@ -326,12 +326,14 @@ msgstr "" "trả về NXDOMAIN." #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 +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" @@ -9051,8 +9053,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:299 -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:650 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 cb2a68963f..92737576d4 100644 --- a/modules/luci-base/po/zh_Hans/base.po +++ b/modules/luci-base/po/zh_Hans/base.po @@ -319,12 +319,14 @@ msgstr "" "/#/ 匹配任何域名。/example.com/ 返回 NXDOMAIN。" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 +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" @@ -8783,8 +8785,8 @@ msgid "Sync with browser" msgstr "同步浏览器时间" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -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:650 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 bd0dc4eb47..a7ec90bf0e 100644 --- a/modules/luci-base/po/zh_Hant/base.po +++ b/modules/luci-base/po/zh_Hant/base.po @@ -320,12 +320,14 @@ msgstr "" "/#/ 相符任何網域名稱。/example.com/ 返回 NXDOMAIN。" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:301 +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" @@ -8782,7 +8784,7 @@ msgid "Sync with browser" msgstr "與瀏覽器同步時間" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:299 -msgid "Syntax: /fqdn[/fqdn…]/[ipaddr]." +msgid "Syntax: {code_syntax}." msgstr "" #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js:650 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