mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 14:25:11 +03:00
Cosmetics - translations alignment
This commit is contained in:
parent
7ee85da0cf
commit
9ab415dadb
2 changed files with 915 additions and 915 deletions
|
@ -1078,29 +1078,29 @@
|
|||
#define TR_TO_MANY_LUA_SCRIPTS "Too many Lua scripts!"
|
||||
|
||||
#if defined(TELEMETRY_MAVLINK)
|
||||
#define TR_MAVLINK_RC_RSSI_SCALE_LABEL "Max RSSI"
|
||||
#define TR_MAVLINK_PC_RSSI_EN_LABEL "PC RSSI EN"
|
||||
#define TR_MAVMENUSETUP_TITLE "Mavlink setup"
|
||||
#define TR_MAVLINK_BAUD_LABEL "Baudrate"
|
||||
#define TR_MAVLINK_INFOS "INFOS"
|
||||
#define TR_MAVLINK_MODE "MODE"
|
||||
#define TR_MAVLINK_CUR_MODE "Current mode"
|
||||
#define TR_MAVLINK_ARMED "Armed"
|
||||
#define TR_MAVLINK_BAT_MENU_TITLE "BAT RSSI"
|
||||
#define TR_MAVLINK_BATTERY_LABEL "Flight battery status"
|
||||
#define TR_MAVLINK_RC_RSSI_LABEL "RC RSSI"
|
||||
#define TR_MAVLINK_PC_RSSI_LABEL "PC RSSI"
|
||||
#define TR_MAVLINK_NAV_MENU_TITLE "NAV"
|
||||
#define TR_MAVLINK_COURSE "Course"
|
||||
#define TR_MAVLINK_HEADING "Heading"
|
||||
#define TR_MAVLINK_BEARING "Bearing"
|
||||
#define TR_MAVLINK_ALTITUDE "Altitude"
|
||||
#define TR_MAVLINK_GPS "GPS"
|
||||
#define TR_MAVLINK_NO_FIX "NO Fix"
|
||||
#define TR_MAVLINK_SAT "SAT"
|
||||
#define TR_MAVLINK_HDOP "HDOP"
|
||||
#define TR_MAVLINK_LAT "LAT"
|
||||
#define TR_MAVLINK_LON "LON"
|
||||
#define TR_MAVLINK_RC_RSSI_SCALE_LABEL "Max RSSI"
|
||||
#define TR_MAVLINK_PC_RSSI_EN_LABEL "PC RSSI EN"
|
||||
#define TR_MAVMENUSETUP_TITLE "Mavlink setup"
|
||||
#define TR_MAVLINK_BAUD_LABEL "Baudrate"
|
||||
#define TR_MAVLINK_INFOS "INFOS"
|
||||
#define TR_MAVLINK_MODE "MODE"
|
||||
#define TR_MAVLINK_CUR_MODE "Current mode"
|
||||
#define TR_MAVLINK_ARMED "Armed"
|
||||
#define TR_MAVLINK_BAT_MENU_TITLE "BAT RSSI"
|
||||
#define TR_MAVLINK_BATTERY_LABEL "Flight battery status"
|
||||
#define TR_MAVLINK_RC_RSSI_LABEL "RC RSSI"
|
||||
#define TR_MAVLINK_PC_RSSI_LABEL "PC RSSI"
|
||||
#define TR_MAVLINK_NAV_MENU_TITLE "NAV"
|
||||
#define TR_MAVLINK_COURSE "Course"
|
||||
#define TR_MAVLINK_HEADING "Heading"
|
||||
#define TR_MAVLINK_BEARING "Bearing"
|
||||
#define TR_MAVLINK_ALTITUDE "Altitude"
|
||||
#define TR_MAVLINK_GPS "GPS"
|
||||
#define TR_MAVLINK_NO_FIX "NO Fix"
|
||||
#define TR_MAVLINK_SAT "SAT"
|
||||
#define TR_MAVLINK_HDOP "HDOP"
|
||||
#define TR_MAVLINK_LAT "LAT"
|
||||
#define TR_MAVLINK_LON "LON"
|
||||
#endif
|
||||
|
||||
// Horus and Taranis column headers
|
||||
|
|
|
@ -20,7 +20,7 @@ def addLine(filename, newline, after):
|
|||
|
||||
def modifyTranslations(constant, translation, after):
|
||||
for filename in glob.glob('translations/*.h.txt'):
|
||||
newline = "#define " + constant + " " * max(1, 23 - len(constant)) + '"' + translation + '"'
|
||||
newline = "#define " + constant + " " * max(1, 31 - len(constant)) + '"' + translation + '"'
|
||||
addLine(filename, newline, after + " ")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue