luci-mod-status: rename some DSL status items
authorJan Hoffmann <jan@3e8.eu>
Sat, 28 Jan 2023 18:13:50 +0000 (19:13 +0100)
committerJan Hoffmann <jan@3e8.eu>
Fri, 3 Feb 2023 18:30:58 +0000 (19:30 +0100)
Fix some small inaccuracies and inconsistencies between items.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/50_dsl.js

index 77b4a46caeda0e3c245a46cb9624dbb65a43b1dd..7de3fa25159753ec1d337c5c784ccb22d8e5553c 100644 (file)
@@ -43,23 +43,23 @@ function renderbox(dsl) {
                        L.itemlist(E('span'), [
                                _('Line Attenuation (LATN)'), format_values('%.1f dB', dsl.downstream.latn, dsl.upstream.latn),
                                _('Signal Attenuation (SATN)'), format_values('%.1f dB', dsl.downstream.satn, dsl.upstream.satn),
-                               _('Noise Margin (SNR)'), format_values('%.1f dB', dsl.downstream.snr, dsl.upstream.snr),
+                               _('Noise Margin (SNRM)'), format_values('%.1f dB', dsl.downstream.snr, dsl.upstream.snr),
                                _('Aggregate Transmit Power (ACTATP)'), format_values('%.1f dB', dsl.downstream.actatp, dsl.upstream.actatp)
                        ]),
                        L.itemlist(E('span'), [
                                _('Forward Error Correction Seconds (FECS)'), format_values('%d', dsl.errors.near.fecs, dsl.errors.far.fecs),
-                               _('Errored seconds (ES)'), format_values('%d', dsl.errors.near.es, dsl.errors.far.es),
+                               _('Errored Seconds (ES)'), format_values('%d', dsl.errors.near.es, dsl.errors.far.es),
                                _('Severely Errored Seconds (SES)'), format_values('%d', dsl.errors.near.ses, dsl.errors.far.ses),
                                _('Loss of Signal Seconds (LOSS)'), format_values('%d', dsl.errors.near.loss, dsl.errors.far.loss),
                                _('Unavailable Seconds (UAS)'), format_values('%d', dsl.errors.near.uas, dsl.errors.far.uas)
                        ]),
                        L.itemlist(E('span'), [
-                               _('Header Error Code Errors (HEC)'), format_values('%d', dsl.errors.near.hec, dsl.errors.far.hec),
-                               _('Non Pre-emptive CRC errors (CRC_P)'), format_values('%d', dsl.errors.near.crc_p, dsl.errors.far.crc_p),
-                               _('Pre-emptive CRC errors (CRCP_P)'), format_values('%d', dsl.errors.near.crcp_p, dsl.errors.far.crcp_p)
+                               _('ATM Header Error Code Errors (HEC)'), format_values('%d', dsl.errors.near.hec, dsl.errors.far.hec),
+                               _('PTM Non Pre-emptive CRC Errors (CRC-P)'), format_values('%d', dsl.errors.near.crc_p, dsl.errors.far.crc_p),
+                               _('PTM Pre-emptive CRC Errors (CRCP-P)'), format_values('%d', dsl.errors.near.crcp_p, dsl.errors.far.crcp_p)
                        ]),
                        L.itemlist(E('span'), [
-                               _('ATU-C System Vendor ID'), dsl.atu_c.vendor || dsl.atu_c.vendor_id
+                               _('xTU-C Vendor ID'), dsl.atu_c.vendor || dsl.atu_c.vendor_id
                        ]),
                        L.itemlist(E('span'), [
                                _('Power Management Mode'), dsl.power_state