summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs/luci-static
diff options
context:
space:
mode:
authorBalázs Úr <balazs@urbalazs.hu>2019-12-17 11:41:00 +0100
committerBalázs Úr <balazs@urbalazs.hu>2019-12-17 11:41:00 +0100
commitd0bc86bcc3fc0c6668e04601344daa956cea2b32 (patch)
tree7efbc33c51ad4f22f9338811da80a7a8c12d148f /modules/luci-base/htdocs/luci-static
parentfc35802ff993102fafbf93694a6e1cb5c5447b02 (diff)
luci-base: fix typos
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/network.js2
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/protocol/static.js2
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;
};