diff --git a/locales/en/messages.json b/locales/en/messages.json index cbf1486f85..3861e75ff6 100755 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -2792,8 +2792,11 @@ "gpsSignalSatId": { "message": "Sat ID" }, - "gpsSignalStatusQly": { - "message": "Status     |  Quality" + "gpsSignalStatus": { + "message": "Status" + }, + "gpsSignalQuality": { + "message": "Quality" }, "gnssQualityNoSignal": { "message": "no signal" @@ -2817,7 +2820,7 @@ "message": "unused" }, "gnssUsedUsed": { - "message": "USED " + "message": "USED" }, "gnssHealthyUnknown": { "message": "unknown" diff --git a/src/js/tabs/gps.js b/src/js/tabs/gps.js index 67df120f82..8af9cd4ebc 100644 --- a/src/js/tabs/gps.js +++ b/src/js/tabs/gps.js @@ -211,10 +211,11 @@ gps.initialize = async function (callback) { eSsTable.html(''); eSsTable.append(` - ${i18n.getMessage('gpsSignalGnssId')} - ${i18n.getMessage('gpsSignalSatId')} - ${i18n.getMessage('gpsSignalStr')} - ${i18n.getMessage('gpsSignalStatusQly')} + ${i18n.getMessage('gpsSignalGnssId')} + ${i18n.getMessage('gpsSignalSatId')} + ${i18n.getMessage('gpsSignalStr')} + ${i18n.getMessage('gpsSignalStatus')} + ${i18n.getMessage('gpsSignalQuality')} `); @@ -281,12 +282,13 @@ gps.initialize = async function (callback) { // 1st column: unused = red, used = green if (used.startsWith(i18n.getMessage('gnssUsedUsed'))) { - used = ` ${used} `; + used = `${used}`; } else { used = `${used}`; } - rowContent += `${used} | ${quality}`; + rowContent += `${used} + ${quality}`; } eSsTable.append(`${rowContent}`); }