From 002626252057b47de438442a96868a597c901465 Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Sat, 16 Mar 2013 08:14:00 +0000 Subject: [PATCH] [X9D] Strings for protocol settings --- src/translations.cpp | 10 ++++++++++ src/translations.h | 20 ++++++++++++++++++-- src/translations/cz.h | 10 ++++++++++ src/translations/de.h | 10 ++++++++++ src/translations/en.h | 10 ++++++++++ src/translations/es.h | 10 ++++++++++ src/translations/fr.h | 10 ++++++++++ src/translations/it.h | 10 ++++++++++ src/translations/pt.h | 10 ++++++++++ src/translations/se.h | 10 ++++++++++ 10 files changed, 108 insertions(+), 2 deletions(-) diff --git a/src/translations.cpp b/src/translations.cpp index 3365f233b..bd2a530dc 100644 --- a/src/translations.cpp +++ b/src/translations.cpp @@ -288,10 +288,20 @@ const pm_char STR_MENUDEBUG[] PROGMEM = TR_MENUDEBUG; #if defined(DSM2) || defined(PXX) const pm_char STR_RXNUM[] PROGMEM = TR_RXNUM; +const pm_char STR_BIND[] PROGMEM = TR_BIND; #endif #if defined(PXX) const pm_char STR_SYNCMENU[] PROGMEM = TR_SYNCMENU; +const pm_char STR_INTERNALRF[] PROGMEM = TR_INTERNALRF; +const pm_char STR_EXTERNALRF[] PROGMEM = TR_EXTERNALRF; +const pm_char STR_FAILSAFE[] PROGMEM = TR_FAILSAFE; +const pm_char STR_HOLD[] PROGMEM = TR_HOLD; +const pm_char STR_NOPULSES[] PROGMEM = TR_NOPULSES; +const pm_char STR_CUSTOMFS[] PROGMEM = TR_CUSTOMFS; +const pm_char STR_FAILSAFESET[] PROGMEM = TR_FAILSAFESET; +const pm_char STR_SET[] PROGMEM = TR_SET; +const pm_char STR_RANGECHECK[] PROGMEM = TR_RANGECHECK; #endif const pm_char STR_INVERT_THR[] PROGMEM = TR_INVERT_THR; diff --git a/src/translations.h b/src/translations.h index fd5f76fe1..7512abf0d 100644 --- a/src/translations.h +++ b/src/translations.h @@ -380,10 +380,26 @@ extern const pm_char STR_MENUTELEMETRY[]; extern const pm_char STR_MENUTEMPLATES[]; extern const pm_char STR_MENUSTAT[]; extern const pm_char STR_MENUDEBUG[]; -extern const pm_char STR_RXNUM[]; -extern const pm_char STR_SYNCMENU[]; extern const pm_char STR_INVERT_THR[]; +#if defined(DSM2) || defined(PXX) +extern const pm_char STR_RXNUM[]; +extern const pm_char STR_BIND[]; +#endif + +#if defined(PXX) +extern const pm_char STR_SYNCMENU[]; +extern const pm_char STR_INTERNALRF[]; +extern const pm_char STR_EXTERNALRF[]; +extern const pm_char STR_FAILSAFE[]; +extern const pm_char STR_HOLD[]; +extern const pm_char STR_NOPULSES[]; +extern const pm_char STR_CUSTOMFS[]; +extern const pm_char STR_FAILSAFESET[]; +extern const pm_char STR_SET[]; +extern const pm_char STR_RANGECHECK[]; +#endif + #if defined(FRSKY) extern const pm_char STR_LIMIT[]; #endif diff --git a/src/translations/cz.h b/src/translations/cz.h index 7586e24f4..3f9d2850c 100644 --- a/src/translations/cz.h +++ b/src/translations/cz.h @@ -569,3 +569,13 @@ #define TR_DATE "Date" #define TR_ROTARY_ENCODER "R.Encs" #define TR_CHANNELS_MONITOR "CHANNELS MONITOR" +#define TR_INTERNALRF "Internal RF" +#define TR_EXTERNALRF "External RF" +#define TR_FAILSAFE "Failsafe mode" +#define TR_HOLD "Hold" +#define TR_NOPULSES "Pulses off" +#define TR_CUSTOMFS "Custom" +#define TR_SET "SET" +#define TR_FAILSAFESET "FAILSAFE SETTINGS" +#define TR_RANGECHECK "R. Check" +#define TR_BIND "BIND" \ No newline at end of file diff --git a/src/translations/de.h b/src/translations/de.h index 2c640cb25..f1a81f393 100644 --- a/src/translations/de.h +++ b/src/translations/de.h @@ -571,3 +571,13 @@ #define TR_DATE "Datum" #define TR_ROTARY_ENCODER "Drehgeber" #define TR_CHANNELS_MONITOR "Kanal Monitor" +#define TR_INTERNALRF "Internal RF" +#define TR_EXTERNALRF "External RF" +#define TR_FAILSAFE "Failsafe mode" +#define TR_HOLD "Hold" +#define TR_NOPULSES "Pulses off" +#define TR_CUSTOMFS "Custom" +#define TR_SET "SET" +#define TR_FAILSAFESET "FAILSAFE SETTINGS" +#define TR_RANGECHECK "R. Check" +#define TR_BIND "BIND" \ No newline at end of file diff --git a/src/translations/en.h b/src/translations/en.h index da6ba18b8..efc73c7aa 100644 --- a/src/translations/en.h +++ b/src/translations/en.h @@ -576,3 +576,13 @@ #define TR_DATE "Date" #define TR_ROTARY_ENCODER "R.Encs" #define TR_CHANNELS_MONITOR "CHANNEL MONITOR" +#define TR_INTERNALRF "Internal RF" +#define TR_EXTERNALRF "External RF" +#define TR_FAILSAFE "Failsafe mode" +#define TR_HOLD "Hold" +#define TR_NOPULSES "Pulses off" +#define TR_CUSTOMFS "Custom" +#define TR_SET "SET" +#define TR_FAILSAFESET "FAILSAFE SETTINGS" +#define TR_RANGECHECK "R. Check" +#define TR_BIND "BIND" \ No newline at end of file diff --git a/src/translations/es.h b/src/translations/es.h index f7a34e600..079970330 100644 --- a/src/translations/es.h +++ b/src/translations/es.h @@ -569,3 +569,13 @@ #define TR_DATE "Fecha" #define TR_ROTARY_ENCODER "R.Encs" #define TR_CHANNELS_MONITOR "MONITOR CANALES" +#define TR_INTERNALRF "Internal RF" +#define TR_EXTERNALRF "External RF" +#define TR_FAILSAFE "Failsafe mode" +#define TR_HOLD "Hold" +#define TR_NOPULSES "Pulses off" +#define TR_CUSTOMFS "Custom" +#define TR_SET "SET" +#define TR_FAILSAFESET "FAILSAFE SETTINGS" +#define TR_RANGECHECK "R. Check" +#define TR_BIND "BIND" \ No newline at end of file diff --git a/src/translations/fr.h b/src/translations/fr.h index 535248b6a..6bc0f4163 100644 --- a/src/translations/fr.h +++ b/src/translations/fr.h @@ -569,3 +569,13 @@ #define TR_DATE "Date" #define TR_ROTARY_ENCODER "Enc.Rot." #define TR_CHANNELS_MONITOR "MONITEUR CANAUX" +#define TR_INTERNALRF "HF interne" +#define TR_EXTERNALRF "HF externe" +#define TR_FAILSAFE "Type failsafe" +#define TR_HOLD "Maintien" +#define TR_NOPULSES "Sorties off" +#define TR_CUSTOMFS "Prédéfini" +#define TR_SET "SET" +#define TR_FAILSAFESET "REGLAGES FAILSAFE" +#define TR_RANGECHECK "Test port\200e" +#define TR_BIND "BIND" \ No newline at end of file diff --git a/src/translations/it.h b/src/translations/it.h index 34b36ab44..1132f732b 100644 --- a/src/translations/it.h +++ b/src/translations/it.h @@ -568,3 +568,13 @@ #define TR_DATE "Date" #define TR_ROTARY_ENCODER "R.Encs" #define TR_CHANNELS_MONITOR "CHANNELS MONITOR" +#define TR_INTERNALRF "Internal RF" +#define TR_EXTERNALRF "External RF" +#define TR_FAILSAFE "Failsafe mode" +#define TR_HOLD "Hold" +#define TR_NOPULSES "Pulses off" +#define TR_CUSTOMFS "Custom" +#define TR_SET "SET" +#define TR_FAILSAFESET "FAILSAFE SETTINGS" +#define TR_RANGECHECK "R. Check" +#define TR_BIND "BIND" \ No newline at end of file diff --git a/src/translations/pt.h b/src/translations/pt.h index 5b107d5bf..89572fcd5 100644 --- a/src/translations/pt.h +++ b/src/translations/pt.h @@ -547,3 +547,13 @@ #define TR_DATE "Data" #define TR_ROTARY_ENCODER "R.Encs" #define TR_CHANNELS_MONITOR "CHANNELS MONITOR" +#define TR_INTERNALRF "Internal RF" +#define TR_EXTERNALRF "External RF" +#define TR_FAILSAFE "Failsafe mode" +#define TR_HOLD "Hold" +#define TR_NOPULSES "Pulses off" +#define TR_CUSTOMFS "Custom" +#define TR_SET "SET" +#define TR_FAILSAFESET "FAILSAFE SETTINGS" +#define TR_RANGECHECK "R. Check" +#define TR_BIND "BIND" \ No newline at end of file diff --git a/src/translations/se.h b/src/translations/se.h index 70d9a12e4..ef0b34f3e 100644 --- a/src/translations/se.h +++ b/src/translations/se.h @@ -569,3 +569,13 @@ #define TR_DATE "Datum" #define TR_ROTARY_ENCODER "R.Enks" #define TR_CHANNELS_MONITOR "Kanal\205versikt" +#define TR_INTERNALRF "Internal RF" +#define TR_EXTERNALRF "External RF" +#define TR_FAILSAFE "Failsafe mode" +#define TR_HOLD "Hold" +#define TR_NOPULSES "Pulses off" +#define TR_CUSTOMFS "Custom" +#define TR_SET "SET" +#define TR_FAILSAFESET "FAILSAFE SETTINGS" +#define TR_RANGECHECK "R. Check" +#define TR_BIND "BIND" \ No newline at end of file