fix: Show degree symbol ° instead of @ (#2199)

* fix: Use degree symbol instead of `@`
For temperature and degree units, @C, @F and @ were being shown, rather than °C, °F and °.

Also hoping this will also resolve the GPS sensor showing @ instead of ° as mentioned in #2163

* fix: B&W need prior `@` for degrees

* fix: `dBm` missing from some translations
This commit is contained in:
Peter Feerick
2022-09-14 12:28:48 +10:00
committed by GitHub
parent c7e77ccd36
commit d9c7cfae6f
14 changed files with 63 additions and 19 deletions
+4
View File
@@ -183,7 +183,11 @@
#define SPEED_UNIT_METR "kmh"
#define TR_VUNITSSYSTEM "Metrisk",TR("Imper.","Imperiel")
#if defined(COLORLCD)
#define TR_VTELEMUNIT "-","V","A","mA","kts","m/s","f/s","kmh","mph","m","ft","°C","°F","%","mAh","W","mW","dB","rpm","g","°","rad","ml","fOz","mlm","Hz","mS","uS","km","dBm"
#else
#define TR_VTELEMUNIT "-","V","A","mA","kts","m/s","f/s","kmh","mph","m","ft","@C","@F","%","mAh","W","mW","dB","rpm","g","@","rad","ml","fOz","mlm","Hz","mS","uS","km","dBm"
#endif
#define STR_V (STR_VTELEMUNIT[1])
#define STR_A (STR_VTELEMUNIT[2])