Skip to content

Commit

Permalink
chore: add missing translation string, limit some to colorlcd
Browse files Browse the repository at this point in the history
Use `TR_PHASES_HEADERS_NAME` as source text for missing language defines
  • Loading branch information
pfeerick committed Aug 20, 2024
1 parent 906a245 commit baa031c
Show file tree
Hide file tree
Showing 20 changed files with 85 additions and 9 deletions.
4 changes: 2 additions & 2 deletions radio/src/translations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,7 @@ const char STR_MENUCURVES[] = TR_MENUCURVES;
const char STR_MENUCURVE[] = TR_MENUCURVE;
const char STR_MENULOGICALSWITCH[] = TR_MENULOGICALSWITCH;
const char STR_MENULOGICALSWITCHES[] = TR_MENULOGICALSWITCHES;
const char STR_CUST_LOGICALSWITCH_LABEL[] = TR_CUST_LOGICALSWITCH_LABEL;
const char STR_MENUCUSTOMFUNC[] = TR_MENUCUSTOMFUNC;
const char STR_CUST_FUNC_CUST_LABEL[] = TR_CUST_FUNC_CUST_LABEL;
const char STR_SPLASHSCREEN[] = TR_SPLASHSCREEN;
const char STR_PLAY_HELLO[] = TR_PLAY_HELLO;
const char STR_PWR_ON_DELAY[] = TR_PWR_ON_DELAY;
Expand Down Expand Up @@ -803,6 +801,8 @@ const char STR_BACKLIGHT_TIMER[] = TR_BACKLIGHT_TIMER;
const char STR_LABELS_SELECT[] = TR_LABELS_SELECT;
const char STR_LABELS_MATCH[] = TR_LABELS_MATCH;
const char STR_FAV_MATCH[] = TR_FAV_MATCH;
const char STR_CUST_LOGICALSWITCH_LABEL[] = TR_CUST_LOGICALSWITCH_LABEL;
const char STR_CUST_FUNC_CUST_LABEL[] = TR_CUST_FUNC_CUST_LABEL;
ISTR(LABELS_SELECT_MODE);
ISTR(LABELS_MATCH_MODE);
ISTR(FAV_MATCH_MODE);
Expand Down
4 changes: 2 additions & 2 deletions radio/src/translations.h
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,7 @@ extern const char STR_MENUCURVES[];
extern const char STR_MENUCURVE[];
extern const char STR_MENULOGICALSWITCH[];
extern const char STR_MENULOGICALSWITCHES[];
extern const char STR_CUST_LOGICALSWITCH_LABEL[];
extern const char STR_MENUCUSTOMFUNC[];
extern const char STR_CUST_FUNC_CUST_LABEL[];
extern const char STR_MENUCUSTOMSCRIPTS[];
extern const char STR_MENUTELEMETRY[];
extern const char STR_MENUSTAT[];
Expand Down Expand Up @@ -815,6 +813,8 @@ extern const char STR_FAV_MATCH[];
extern const char* const STR_LABELS_SELECT_MODE[];
extern const char* const STR_LABELS_MATCH_MODE[];
extern const char* const STR_FAV_MATCH_MODE[];
extern const char STR_CUST_LOGICALSWITCH_LABEL[];
extern const char STR_CUST_FUNC_CUST_LABEL[];
#endif
extern const char STR_EXECUTE_FILE[];
extern const char STR_DELETE_FILE[];
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/cn.h
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,10 @@
#define TR_MENULIMITS "输出设置"
#define TR_MENUCURVES "曲线设置"
#define TR_MENUCURVE "曲线"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "名称"
#define TR_CUST_FUNC_CUST_LABEL "名称"
#endif
#define TR_MENULOGICALSWITCH "逻辑开关"
#define TR_MENULOGICALSWITCHES "逻辑开关设置"
#define TR_MENUCUSTOMFUNC "特殊功能设置"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/cz.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@

#define TR_MENUCURVES "KŘIVKY"
#define TR_MENUCURVE "\002K"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Název"
#define TR_CUST_FUNC_CUST_LABEL "Název"
#endif
#define TR_MENULOGICALSWITCH "LOG. SPÍNAČ"
#define TR_MENULOGICALSWITCHES "LOGICKÉ SPÍNAČE"
#define TR_MENUCUSTOMFUNC "SPECIÁLNÍ FUNKCE"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/da.h
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,10 @@
#define TR_MENULIMITS "UDGANGE"
#define TR_MENUCURVES "KURVER"
#define TR_MENUCURVE "KURVE"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Navn"
#define TR_CUST_FUNC_CUST_LABEL "Navn"
#endif
#define TR_MENULOGICALSWITCH "LOGISK FUNKTION"
#define TR_MENULOGICALSWITCHES "LOGISKE FUNKTIONER"
#define TR_MENUCUSTOMFUNC "SPECIALFUNKTIONER"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/de.h
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,10 @@
#define TR_MENULIMITS "SERVOS" //"AUSGABEN" oder "Servos"
#define TR_MENUCURVES "KURVEN"
#define TR_MENUCURVE "KURVE"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Name"
#define TR_CUST_FUNC_CUST_LABEL "Name"
#endif
#define TR_MENULOGICALSWITCH "LOGIKSCHALTER"
#define TR_MENULOGICALSWITCHES "LOGIKSCHALTER"
#define TR_MENUCUSTOMFUNC TR("SPEZ.-FUNKTIONEN", "SPEZIAL-FUNKTIONEN")
Expand Down
6 changes: 4 additions & 2 deletions radio/src/translations/en.h
Original file line number Diff line number Diff line change
Expand Up @@ -516,11 +516,13 @@
#define TR_MENULIMITS "OUTPUTS"
#define TR_MENUCURVES "CURVES"
#define TR_MENUCURVE "CURVE"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Name"
#define TR_CUST_FUNC_CUST_LABEL "Name"
#endif
#define TR_MENULOGICALSWITCH "LOGICAL SWITCH"
#define TR_MENULOGICALSWITCHES "LOGICAL SWITCHES"
#define TR_CUST_LOGICALSWITCH_LABEL "Name"
#define TR_MENUCUSTOMFUNC "SPECIAL FUNCTIONS"
#define TR_CUST_FUNC_CUST_LABEL "Name"
#define TR_MENUCUSTOMSCRIPTS "CUSTOM SCRIPTS"
#define TR_MENUTELEMETRY "TELEMETRY"
#define TR_MENUSTAT "STATS"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/es.h
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,10 @@

#define TR_MENUCURVES "CURVAS"
#define TR_MENUCURVE "CURVA"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Nombre"
#define TR_CUST_FUNC_CUST_LABEL "Nombre"
#endif
#define TR_MENULOGICALSWITCH "INTERRUP.LÓGICO"
#define TR_MENULOGICALSWITCHES TR3("INTERRUP. LÓGICOS", "INTERRUP. LÓGICOS", "INTERRUPTORES LÓGICOS")
#define TR_MENUCUSTOMFUNC TR("FUNCIONES", "FUNCIONES ESPECIALES")
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/fi.h
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@

#define TR_MENUCURVES "CURVES"
#define TR_MENUCURVE "CURVE"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Name"
#define TR_CUST_FUNC_CUST_LABEL "Name"
#endif
#define TR_MENULOGICALSWITCH "CUSTOM SWITCH"
#define TR_MENULOGICALSWITCHES "CUSTOM SWITCHES"
#define TR_MENUCUSTOMFUNC "CUSTOM FUNCTIONS"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/fr.h
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,10 @@

#define TR_MENUCURVES "COURBES"
#define TR_MENUCURVE "COURBE"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Nom"
#define TR_CUST_FUNC_CUST_LABEL "Nom"
#endif
#define TR_MENULOGICALSWITCH "INTER LOG."
#define TR_MENULOGICALSWITCHES TR("INTERS LOG.", "INTERS LOGIQUES")
#define TR_MENUCUSTOMFUNC TR("FONCTIONS SPEC.", "FONCTIONS SPÉCIALES")
Expand Down
8 changes: 7 additions & 1 deletion radio/src/translations/he.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,17 @@
#if LCD_W >= 212
#define TR_CSWTIMER "שעון"
#define TR_CSWSTICKY "Stcky"
#define TR_CSWSAFE "Safe"
#define TR_CSWSTAY "Edge"
#else
#define TR_CSWTIMER "שעון"
#define TR_CSWSTICKY "Stky"
#define TR_CSWSAFE "Safe"
#define TR_CSWSTAY "Edge"
#endif

#define TR_CSWEQUAL "a=x"
#define TR_VCSWFUNC "---",TR_CSWEQUAL,"a" STR_CHAR_TILDE "x","a>x","a<x","|a|>x","|a|<x","AND","OR","XOR",TR_CSWSTAY,"a=b","a>b","a<b",STR_CHAR_DELTA "≥x","|" STR_CHAR_DELTA "|≥x",TR_CSWTIMER,TR_CSWSTICKY
#define TR_VCSWFUNC "---",TR_CSWEQUAL,"a" STR_CHAR_TILDE "x","a>x","a<x","|a|>x","|a|<x","AND","OR","XOR",TR_CSWSTAY,"a=b","a>b","a<b",STR_CHAR_DELTA "≥x","|" STR_CHAR_DELTA "|≥x",TR_CSWTIMER,TR_CSWSTICKY,TR_CSWSAFE

#define TR_SF_TRAINER "Trainer"
#define TR_SF_INST_TRIM "Inst. Trim"
Expand Down Expand Up @@ -515,6 +517,10 @@
#define TR_MENULIMITS "יציאות"
#define TR_MENUCURVES "עקומות"
#define TR_MENUCURVE "עקומה"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "שם"
#define TR_CUST_FUNC_CUST_LABEL "שם"
#endif
#define TR_MENULOGICALSWITCH "מתג לוגי"
#define TR_MENULOGICALSWITCHES "מתגים לוגים"
#define TR_MENUCUSTOMFUNC "אופציות מיוחדות למודל"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/it.h
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,10 @@
#define TR_MENULIMITS "USCITE"
#define TR_MENUCURVES "CURVE"
#define TR_MENUCURVE "CURVA"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Nome"
#define TR_CUST_FUNC_CUST_LABEL "Nome"
#endif
#define TR_MENULOGICALSWITCH "INTER. PERSON."
#define TR_MENULOGICALSWITCHES TR("INTER. LOGICI", "INTERRUTTORI LOGICI")
#define TR_MENUCUSTOMFUNC TR("FUNZ. SPECIALI", "FUNZIONI SPECIALI")
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/jp.h
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,10 @@
#define TR_MENULIMITS "出力"
#define TR_MENUCURVES "カーブ"
#define TR_MENUCURVE "カーブ"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "名称"
#define TR_CUST_FUNC_CUST_LABEL "名称"
#endif
#define TR_MENULOGICALSWITCH "論理スイッチ"
#define TR_MENULOGICALSWITCHES "論理スイッチ"
#define TR_MENUCUSTOMFUNC "スペシャルファンクション"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/nl.h
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,10 @@

#define TR_MENUCURVES "CURVEN"
#define TR_MENUCURVE "CURVE"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Name"
#define TR_CUST_FUNC_CUST_LABEL "Name"
#endif
#define TR_MENULOGICALSWITCH "LOGISCHE SCHAK."
#define TR_MENULOGICALSWITCHES "LOGISCHE SCHAKELRS"
#define TR_MENUCUSTOMFUNC TR("SPEC.-FUNKTIES", "SPECIALE-FUNKTIES")
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/pl.h
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,10 @@

#define TR_MENUCURVES "KRZYWE"
#define TR_MENUCURVE "KRZYWA"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Nazwa"
#define TR_CUST_FUNC_CUST_LABEL "Nazwa"
#endif
#define TR_MENULOGICALSWITCH "PRZEŁ. LOGICZNY"
#define TR_MENULOGICALSWITCHES TR("PRZEŁ. LOG.", "PRZEŁ. LOGICZNE")
#define TR_MENUCUSTOMFUNC "FUNKCJE SPECJALNE"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/pt.h
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,10 @@
#define TR_MENULIMITS "SAÍDAS"
#define TR_MENUCURVES "CURVAS"
#define TR_MENUCURVE "CURVA"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Nome"
#define TR_CUST_FUNC_CUST_LABEL "Nome"
#endif
#define TR_MENULOGICALSWITCH "CHAVE LÓGICA"
#define TR_MENULOGICALSWITCHES "CHAVES LÓGICAS"
#define TR_MENUCUSTOMFUNC "FUNÇÃO ESPECIAL"
Expand Down
8 changes: 7 additions & 1 deletion radio/src/translations/ru.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,17 @@
#if LCD_W >= 212
#define TR_CSWTIMER "Таймер"
#define TR_CSWSTICKY "Липучка"
#define TR_CSWSAFE "Safe"
#define TR_CSWSTAY "Край"
#else
#define TR_CSWTIMER "Таймер"
#define TR_CSWSTICKY "Липучка"
#define TR_CSWSAFE "Safe"
#define TR_CSWSTAY "Кррай"
#endif

#define TR_CSWEQUAL "a=x"
#define TR_VCSWFUNC "---",TR_CSWEQUAL,"a" STR_CHAR_TILDE "x","a>x","a<x","|a|>x","|a|<x","AND","OR","XOR",TR_CSWSTAY,"a=b","a>b","a<b",STR_CHAR_DELTA "≥x","|" STR_CHAR_DELTA "|≥x",TR_CSWTIMER,TR_CSWSTICKY
#define TR_VCSWFUNC "---",TR_CSWEQUAL,"a" STR_CHAR_TILDE "x","a>x","a<x","|a|>x","|a|<x","AND","OR","XOR",TR_CSWSTAY,"a=b","a>b","a<b",STR_CHAR_DELTA "≥x","|" STR_CHAR_DELTA "|≥x",TR_CSWTIMER,TR_CSWSTICKY,TR_CSWSAFE

#define TR_SF_TRAINER "Таймер"
#define TR_SF_INST_TRIM "Мгнов трим"
Expand Down Expand Up @@ -518,6 +520,10 @@
#define TR_MENULIMITS "ВЫХОДЫ"
#define TR_MENUCURVES "КРИВЫЕ"
#define TR_MENUCURVE "КРИВАЯ"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Имя"
#define TR_CUST_FUNC_CUST_LABEL "Имя"
#endif
#define TR_MENULOGICALSWITCH "ЛОГИЧ ТУМБЛ."
#define TR_MENULOGICALSWITCHES "ЛОГИЧ ТУМБЛ."
#define TR_MENUCUSTOMFUNC "СПЕЦ ФУНКЦИИ"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/se.h
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,10 @@
#define TR_MENULIMITS "OUTPUT"
#define TR_MENUCURVES "KURVOR"
#define TR_MENUCURVE "KURVA"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Namn"
#define TR_CUST_FUNC_CUST_LABEL "Namn"
#endif
#define TR_MENULOGICALSWITCH "LOGISK BRYTARE"
#define TR_MENULOGICALSWITCHES "LOGISKA BRYTARE"
#define TR_MENUCUSTOMFUNC "SPECIALFUNKTIONER"
Expand Down
4 changes: 4 additions & 0 deletions radio/src/translations/tw.h
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,10 @@
#define TR_MENULIMITS "輸出設置"
#define TR_MENUCURVES "曲線設置"
#define TR_MENUCURVE "曲線"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "名稱"
#define TR_CUST_FUNC_CUST_LABEL "名稱"
#endif
#define TR_MENULOGICALSWITCH "邏輯開關"
#define TR_MENULOGICALSWITCHES "邏輯開關設置"
#define TR_MENUCUSTOMFUNC "特殊功能設置"
Expand Down
8 changes: 7 additions & 1 deletion radio/src/translations/ua.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,17 @@
#if LCD_W >= 212
#define TR_CSWTIMER "Таймер"
#define TR_CSWSTICKY "Липучка"
#define TR_CSWSAFE "Safe"
#define TR_CSWSTAY "Край"
#else
#define TR_CSWTIMER "Тмр"
#define TR_CSWSTICKY "Лип."
#define TR_CSWSAFE "Safe"
#define TR_CSWSTAY "Край"
#endif

#define TR_CSWEQUAL "a=x"
#define TR_VCSWFUNC "---",TR_CSWEQUAL,"a" STR_CHAR_TILDE "x","a>x","a<x","|a|>x","|a|<x","AND","OR","XOR",TR_CSWSTAY,"a=b","a>b","a<b",STR_CHAR_DELTA "≥x","|" STR_CHAR_DELTA "|≥x",TR_CSWTIMER,TR_CSWSTICKY
#define TR_VCSWFUNC "---",TR_CSWEQUAL,"a" STR_CHAR_TILDE "x","a>x","a<x","|a|>x","|a|<x","AND","OR","XOR",TR_CSWSTAY,"a=b","a>b","a<b",STR_CHAR_DELTA "≥x","|" STR_CHAR_DELTA "|≥x",TR_CSWTIMER,TR_CSWSTICKY,TR_CSWSAFE

#define TR_SF_TRAINER "Тренер"
#define TR_SF_INST_TRIM "Митєв. трим."
Expand Down Expand Up @@ -518,6 +520,10 @@
#define TR_MENULIMITS "ВИХОДИ"
#define TR_MENUCURVES "КРИВІ"
#define TR_MENUCURVE "КРИВА"
#if defined(COLORLCD)
#define TR_CUST_LOGICALSWITCH_LABEL "Ім'я"
#define TR_CUST_FUNC_CUST_LABEL "Ім'я"
#endif
#define TR_MENULOGICALSWITCH "ЛОГІЧНИЙ ПЕРЕМИКАЧ"
#define TR_MENULOGICALSWITCHES "ЛОГІЧНІ ПЕРЕМИКАЧІ"
#define TR_MENUCUSTOMFUNC "СПЕЦІАЛЬНІ ФУНКЦІЇ"
Expand Down

0 comments on commit baa031c

Please sign in to comment.