luci-base: fix typos
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
(backported from commit d0bc86bcc3
)
This commit is contained in:
parent
86d0bf86ea
commit
9e5e16cf65
5 changed files with 7 additions and 7 deletions
|
@ -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'),
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -25,7 +25,7 @@ IFACE_PATTERNS_WIRELESS = { "^wlan%d", "^wl%d", "^ath%d", "^%w+%.network%d" }
|
|||
|
||||
IFACE_ERRORS = {
|
||||
CONNECT_FAILED = lng.translate("Connection attempt failed"),
|
||||
INVALID_ADDRESS = lng.translate("IP address in invalid"),
|
||||
INVALID_ADDRESS = lng.translate("IP address is invalid"),
|
||||
INVALID_GATEWAY = lng.translate("Gateway address is invalid"),
|
||||
INVALID_LOCAL_ADDRESS = lng.translate("Local IP address is invalid"),
|
||||
MISSING_ADDRESS = lng.translate("IP address is missing"),
|
||||
|
|
|
@ -31,8 +31,8 @@ function renderbox(dsl) {
|
|||
_('Loss of Signal Seconds (LOSS)'), '%d / %d'.format(dsl.errors_loss_near, dsl.errors_loss_far),
|
||||
_('Unavailable Seconds (UAS)'), '%d / %d'.format(dsl.errors_uas_near, dsl.errors_uas_far),
|
||||
_('Header Error Code Errors (HEC)'), '%d / %d'.format(dsl.errors_hec_near, dsl.errors_hec_far),
|
||||
_('Non Pre-emtive CRC errors (CRC_P)'), '%d / %d'.format(dsl.errors_crc_p_near, dsl.errors_crc_p_far),
|
||||
_('Pre-emtive CRC errors (CRCP_P)'), '%d / %d'.format(dsl.errors_crcp_p_near, dsl.errors_crcp_p_far),
|
||||
_('Non Pre-emptive CRC errors (CRC_P)'), '%d / %d'.format(dsl.errors_crc_p_near, dsl.errors_crc_p_far),
|
||||
_('Pre-emptive CRC errors (CRCP_P)'), '%d / %d'.format(dsl.errors_crcp_p_near, dsl.errors_crcp_p_far),
|
||||
_('ATU-C System Vendor ID'), dsl.atuc_vendor_id,
|
||||
_('Power Management Mode'), dsl.power_mode_s
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue