diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-12-18 08:39:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-18 08:39:53 +0100 |
commit | daeeb4285f79c8237e421b9f56dd4fe9a68e489e (patch) | |
tree | 6e731264e448f31d03b7aa85520d6ba73562364b /modules/luci-base/htdocs/luci-static | |
parent | f8e1d6694938eeaa6dd757957cecd79db42fcfee (diff) | |
parent | d0bc86bcc3fc0c6668e04601344daa956cea2b32 (diff) |
Merge pull request #3417 from urbalazs/typo-base
luci-base: fix typos
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/network.js | 2 | ||||
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/protocol/static.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js index 504f592978..68abb939fc 100644 --- a/modules/luci-base/htdocs/luci-static/resources/network.js +++ b/modules/luci-base/htdocs/luci-static/resources/network.js @@ -5,7 +5,7 @@ var proto_errors = { CONNECT_FAILED: _('Connection attempt failed'), - INVALID_ADDRESS: _('IP address in invalid'), + INVALID_ADDRESS: _('IP address is invalid'), INVALID_GATEWAY: _('Gateway address is invalid'), INVALID_LOCAL_ADDRESS: _('Local IP address is invalid'), MISSING_ADDRESS: _('IP address is missing'), diff --git a/modules/luci-base/htdocs/luci-static/resources/protocol/static.js b/modules/luci-base/htdocs/luci-static/resources/protocol/static.js index 9039acd5f3..2d70ae681f 100644 --- a/modules/luci-base/htdocs/luci-static/resources/protocol/static.js +++ b/modules/luci-base/htdocs/luci-static/resources/protocol/static.js @@ -195,7 +195,7 @@ return network.registerProtocol('static', { var n = parseInt(value, 16); if (!/^(0x)?[0-9a-fA-F]+$/.test(value) || isNaN(n) || n >= 0xffffffff) - return _('Expecting an hexadecimal assignment hint'); + return _('Expecting a hexadecimal assignment hint'); return true; }; |