Projectkk2glider/issue 4138 and other fixes (#4182)

* Fixed Companion translations cmake target

* Some translations had problems with string termination (missing or excessive " characters)

* Fixes #4138: Use [RTN] instead of [EXIT] on Horus

* Define spare bits if BUZZER is not defined
This commit is contained in:
Damjan Adamic
2017-01-02 11:31:55 +01:00
committed by Bertrand Songis
parent afe3d4a1e9
commit 803dc7d853
12 changed files with 65 additions and 21 deletions
+6 -2
View File
@@ -112,7 +112,7 @@
#define TR_MULTI_CUSTOM "Custom"
#define LEN_SUBTYPE_FLYSKY "\004"
#define TR_SUBTYPE_FLYSKY "Std\0"V9x9""V6x6""V912""CX20"
#define TR_SUBTYPE_FLYSKY "Std\0""V9x9""V6x6""V912""CX20"
#define LEN_SUBTYPE_AFHDS2A "\010"
#define TR_SUBTYPE_AFHDS2A "PWM,IBUS""PPM,IBUS""PWM,SBUS""PPM,SBUS"
@@ -669,7 +669,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBTARANIS)
#define TR_POPUPS TR_EXIT "\010" "\010" "\010" "\010" TR_ENTER
+5 -1
View File
@@ -645,7 +645,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBFLAMENCO)
#define TR_POPUPS TR_EXIT "\010" TR_ENTER
+6 -2
View File
@@ -107,7 +107,7 @@
#define TR_DSM_PROTOCOLS "LP45""DSM2""DSMX"
#define LEN_MULTI_PROTOCOLS "\006"
#define TR_MULTI_PROTOCOLS "FlySky""Hubsan""FrSky\0""Hisky\0""V2x2\0 ""DSM\0 ""Devo\0 ""YD717\0""KN\0 ""SymaX\0""SLT\0 ""CX10\0 ""CG023\0""Bayang""ESky\0 ""MT99XX""MJXQ\0 ""Shenqi""FY326\0""SFHSS\0""J6 PRO""FQ777\0""Assan\0""Hontai""OLRS\0 ""FS 2A\0""Q2x2\0 ""
#define TR_MULTI_PROTOCOLS "FlySky""Hubsan""FrSky\0""Hisky\0""V2x2\0 ""DSM\0 ""Devo\0 ""YD717\0""KN\0 ""SymaX\0""SLT\0 ""CX10\0 ""CG023\0""Bayang""ESky\0 ""MT99XX""MJXQ\0 ""Shenqi""FY326\0""SFHSS\0""J6 PRO""FQ777\0""Assan\0""Hontai""OLRS\0 ""FS 2A\0""Q2x2\0 "
#define TR_MULTI_CUSTOM "Custom"
@@ -630,7 +630,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[SALIR]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[SALIR]"
#endif
#if defined(PCBTARANIS)
#define TR_POPUPS TR_EXIT "\010" "\010" "\010" "\010" TR_ENTER
+6 -2
View File
@@ -112,7 +112,7 @@
#define TR_MULTI_CUSTOM "Custom"
#define LEN_SUBTYPE_FLYSKY "\004"
#define TR_SUBTYPE_FLYSKY "Std\0"V9x9""V6x6""V912""CX20"
#define TR_SUBTYPE_FLYSKY "Std\0""V9x9""V6x6""V912""CX20"
#define LEN_SUBTYPE_AFHDS2A "\010"
#define TR_SUBTYPE_AFHDS2A "PWM,IBUS""PPM,IBUS""PWM,SBUS""PPM,SBUS"
@@ -630,7 +630,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBTARANIS)
#define TR_POPUPS TR_EXIT "\010" "\010" "\010" "\010" TR_ENTER
+5 -1
View File
@@ -658,7 +658,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBTARANIS)
#define TR_POPUPS TR_EXIT "\010" "\010" "\010" "\010" TR_ENTER
+6 -2
View File
@@ -112,7 +112,7 @@
#define TR_MULTI_CUSTOM "Custom"
#define LEN_SUBTYPE_FLYSKY "\004"
#define TR_SUBTYPE_FLYSKY "Std\0"V9x9""V6x6""V912""CX20"
#define TR_SUBTYPE_FLYSKY "Std\0""V9x9""V6x6""V912""CX20"
#define LEN_SUBTYPE_AFHDS2A "\010"
#define TR_SUBTYPE_AFHDS2A "PWM,IBUS""PPM,IBUS""PWM,SBUS""PPM,SBUS"
@@ -652,7 +652,11 @@
#define TR_ENTER "[Menù]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBTARANIS)
#define TR_POPUPS TR_EXIT "\010" "\010" "\010" "\010" TR_ENTER
+6 -2
View File
@@ -117,7 +117,7 @@
#define TR_MULTI_CUSTOM "Custom"
#define LEN_SUBTYPE_FLYSKY "\004"
#define TR_SUBTYPE_FLYSKY "Std\0"V9x9""V6x6""V912""CX20"
#define TR_SUBTYPE_FLYSKY "Std\0""V9x9""V6x6""V912""CX20"
#define LEN_SUBTYPE_AFHDS2A "\010"
#define TR_SUBTYPE_AFHDS2A "PWM,IBUS""PPM,IBUS""PWM,SBUS""PPM,SBUS"
@@ -641,7 +641,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBFLAMENCO)
#define TR_POPUPS TR_EXIT "\010" TR_ENTER
+6 -2
View File
@@ -113,7 +113,7 @@
#define TR_MULTI_CUSTOM "Custom"
#define LEN_SUBTYPE_FLYSKY "\004"
#define TR_SUBTYPE_FLYSKY "Std\0"V9x9""V6x6""V912""CX20"
#define TR_SUBTYPE_FLYSKY "Std\0""V9x9""V6x6""V912""CX20"
#define LEN_SUBTYPE_AFHDS2A "\010"
#define TR_SUBTYPE_AFHDS2A "PWM,IBUS""PPM,IBUS""PWM,SBUS""PPM,SBUS"
@@ -654,7 +654,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[WYJŚ]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[WYJŚ]"
#endif
#if defined(PCBTARANIS)
#define TR_POPUPS TR_EXIT "\010" "\010" "\010" "\010" TR_ENTER
+5 -1
View File
@@ -625,7 +625,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBTARANIS)
#define TR_POPUPS TR_EXIT "\010" "\010" "\010" "\010" TR_ENTER
+6 -2
View File
@@ -112,7 +112,7 @@
#define TR_MULTI_CUSTOM "Custom"
#define LEN_SUBTYPE_FLYSKY "\004"
#define TR_SUBTYPE_FLYSKY "Std\0"V9x9""V6x6""V912""CX20"
#define TR_SUBTYPE_FLYSKY "Std\0""V9x9""V6x6""V912""CX20"
#define LEN_SUBTYPE_AFHDS2A "\010"
#define TR_SUBTYPE_AFHDS2A "PWM,IBUS""PPM,IBUS""PWM,SBUS""PPM,SBUS"
@@ -654,7 +654,11 @@
#define TR_ENTER "[MENU]"
#endif
#define TR_EXIT "[EXIT]"
#if defined(PCBHORUS)
#define TR_EXIT "[RTN]"
#else
#define TR_EXIT "[EXIT]"
#endif
#if defined(PCBFLAMENCO)
#define TR_POPUPS TR_EXIT "\010" TR_ENTER