Skip to content

Commit

Permalink
docs(domainsHelp): indicate when separated by a colon is needed (#1043)
Browse files Browse the repository at this point in the history
* docs(domainsHelp): indicate when separated by a colon is needed

Right now, it only specifies that colons can be used to separate domains, but not in which cases.

* docs(domainsHelp): indicate when separated by a colon is needed

Right now, it only specifies that colons can be used to separate domains, but not in which cases.
  • Loading branch information
WaterLemons2k authored Mar 17, 2024
1 parent 9aee04b commit 23f39fb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions static/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,10 @@ const I18N_MAP = {
'By network card': 'By network card',
'By command': 'By command',
'domainsHelp': `
One domain per line, you can use colon to separate the root domain
(example.cn.eu.org) and the subdomain (www), fill in as: <b>www:example.cn.eu.org</b>
Enter one domain per line.
If the domain is unregistrable, manually separate it into a subdomain and a root domain by using a colon. e.g. <code>www:domain.example.com</code><br />
Support for <a target="blank" href="https://github.com/jeessy2/ddns-go/wiki/传递自定义参数">custom parameters</a> (Simplified Chinese)
`,
'Regular exp.': 'Regular exp.',
'regHelp': 'You can use @1 to specify the first IPv6 address, @2 to specify the second IPv6 address... You can also use regular expressions to match the specified IPv6 address, leave it blank to disable it',
Expand Down Expand Up @@ -227,8 +229,10 @@ const I18N_MAP = {
'By network card': '通过网卡获取',
'By command': '通过命令获取',
'domainsHelp': `
一行一个域名, 可使用冒号分隔根域名(example.cn.eu.org)与子域名(www), 填写为:<b>www:example.cn.eu.org</b>
<a target="blank" href="https://github.com/jeessy2/ddns-go/wiki/传递自定义参数">支持传递自定义参数</a>
每行一个域名。
如果域名不可注册,请使用冒号手动将其分为子域名和根域名。如 <code>www:domain.example.com</code><br />
支持<a target="blank" href="https://github.com/jeessy2/ddns-go/wiki/传递自定义参数">自定义参数</a>
`,
'Regular exp.': '匹配正则表达式',
'regHelp': '可使用 @1 指定第一个IPv6地址, @2 指定第二个IPv6地址... 也可使用正则表达式匹配指定的IPv6地址, 留空则不启用',
Expand Down

0 comments on commit 23f39fb

Please sign in to comment.