From d0bc86bcc3fc0c6668e04601344daa956cea2b32 Mon Sep 17 00:00:00 2001 From: Balázs Úr Date: Tue, 17 Dec 2019 11:41:00 +0100 Subject: luci-base: fix typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Balázs Úr --- modules/luci-base/htdocs/luci-static/resources/network.js | 2 +- modules/luci-base/htdocs/luci-static/resources/protocol/static.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/luci-base/htdocs/luci-static') 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; }; -- cgit v1.2.3