diff --git a/locales/en/messages.json b/locales/en/messages.json index 857ffa10..6fe8aee8 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -3567,8 +3567,8 @@ "osdDescElementLinkQuality": { "message": "Alternative indicator for 'link quality' based on frame loss - use with caution" }, - "osdDescElementTotalDist": { - "message": "Total distance flown during this flight." + "osdDescElementFlightDist": { + "message": "Distance flown during this flight." }, "osdDescElementTimer1" : { "message": "Shows the value of timer 1" @@ -3658,7 +3658,7 @@ "osdDescStatMinLinkQuality": { "message": "Minimum of the alternative indicator for 'link quality' based on frame loss" }, - "osdDescStatTotalDistance": { + "osdDescStatFlightDistance": { "message": "Total distance travelled during the flight" }, diff --git a/src/js/tabs/osd.js b/src/js/tabs/osd.js index 3a5ace9d..669ba06b 100755 --- a/src/js/tabs/osd.js +++ b/src/js/tabs/osd.js @@ -836,9 +836,9 @@ OSD.constants = { positionable: true, preview: '8' }, - TOTAL_DIST: { - name: 'TOTAL_DISTANCE', - desc: 'osdDescElementTotalDist', + FLIGHT_DIST: { + name: 'FLIGHT_DISTANCE', + desc: 'osdDescElementFlightDist', default_position: -1, draw_order: 360, positionable: true, @@ -935,9 +935,9 @@ OSD.constants = { name: 'MIN_LINK_QUALITY', desc: 'osdDescStatMinLinkQuality' }, - TOTAL_DISTANCE: { - name: 'TOTAL_DISTANCE', - desc: 'osdDescStatTotalDistance' + FLIGHT_DISTANCE: { + name: 'FLIGHT_DISTANCE', + desc: 'osdDescStatFlightDistance' } }, ALL_WARNINGS: { @@ -1090,7 +1090,7 @@ OSD.chooseFields = function () { F.LOG_STATUS, F.FLIP_ARROW, F.LINK_QUALITY, - F.TOTAL_DIST, + F.FLIGHT_DIST, ]); } } @@ -1178,7 +1178,7 @@ OSD.chooseFields = function () { F.MAX_ESC_TEMP, F.MAX_ESC_RPM, F.MIN_LINK_QUALITY, - F.TOTAL_DISTANCE + F.FLIGHT_DISTANCE ]); } }