comparison Discovery/Src/text_multilanguage.c @ 493:b560e474e319

Added possibility to switch between "classic" bigfont views and a selection with a new information combination New strings for the selection have been added and the menu handling has been updated to enable the selection.
author Ideenmodellierer
date Mon, 24 Aug 2020 19:36:18 +0200
parents 2b31cf1ebbcc
children 998529b3e142
comparison
equal deleted inserted replaced
492:4ce932235578 493:b560e474e319
31 31
32 /* Includes ------------------------------------------------------------------*/ 32 /* Includes ------------------------------------------------------------------*/
33 33
34 #include <stdint.h> 34 #include <stdint.h>
35 #include "text_multilanguage.h" 35 #include "text_multilanguage.h"
36 #include "configuration.h"
36 37
37 /* Text ----------------------------------------------------------------------*/ 38 /* Text ----------------------------------------------------------------------*/
38 39
39 // Menu 40 // Menu
40 static uint8_t text_EN_Language[] = "Language"; 41 static uint8_t text_EN_Language[] = "Language";
1255 static uint8_t text_FR_ExtraDisplay[] = "Grand police"; 1256 static uint8_t text_FR_ExtraDisplay[] = "Grand police";
1256 static uint8_t text_IT_ExtraDisplay[] = "Caratteri grandi"; 1257 static uint8_t text_IT_ExtraDisplay[] = "Caratteri grandi";
1257 static uint8_t text_ES_ExtraDisplay[] = "Letras grandes"; 1258 static uint8_t text_ES_ExtraDisplay[] = "Letras grandes";
1258 1259
1259 // Menu SYS2 1260 // Menu SYS2
1261 #ifdef ENABLE_BIGFONT_VX
1262 static uint8_t text_EN_ExtraBigFont[] = "classic";
1263 static uint8_t text_DE_ExtraBigFont[] = "klassisch";
1264 static uint8_t text_FR_ExtraBigFont[] = "classic";
1265 static uint8_t text_IT_ExtraBigFont[] = "classic";
1266 static uint8_t text_ES_ExtraBigFont[] = "classic";
1267
1268 static uint8_t text_EN_ExtraBigFontV2[] = "V2";
1269 static uint8_t text_DE_ExtraBigFontV2[] = "V2";
1270 static uint8_t text_FR_ExtraBigFontV2[] = "V2";
1271 static uint8_t text_IT_ExtraBigFontV2[] = "V2";
1272 static uint8_t text_ES_ExtraBigFontV2[] = "V2";
1273
1274 #else
1260 static uint8_t text_EN_ExtraBigFont[] = "yes"; 1275 static uint8_t text_EN_ExtraBigFont[] = "yes";
1261 static uint8_t text_DE_ExtraBigFont[] = "ja"; 1276 static uint8_t text_DE_ExtraBigFont[] = "ja";
1262 static uint8_t text_FR_ExtraBigFont[] = "si"; 1277 static uint8_t text_FR_ExtraBigFont[] = "si";
1263 static uint8_t text_IT_ExtraBigFont[] = "si"; 1278 static uint8_t text_IT_ExtraBigFont[] = "si";
1264 static uint8_t text_ES_ExtraBigFont[] = "si"; 1279 static uint8_t text_ES_ExtraBigFont[] = "si";
1280 #endif
1265 1281
1266 // Menu SYS2 (future feature) 1282 // Menu SYS2 (future feature)
1267 static uint8_t text_EN_ExtraDecoGame[] = "Deco game"; 1283 static uint8_t text_EN_ExtraDecoGame[] = "Deco game";
1268 static uint8_t text_DE_ExtraDecoGame[] = "Deko-Spiel"; 1284 static uint8_t text_DE_ExtraDecoGame[] = "Deko-Spiel";
1269 static uint8_t text_FR_ExtraDecoGame[] = "Jeu déco"; 1285 static uint8_t text_FR_ExtraDecoGame[] = "Jeu déco";
1751 {(uint8_t)TXT2BYTE_DiveQuitQ, {text_EN_DiveQuitQ, text_DE_DiveQuitQ, text_FR_DiveQuitQ, text_IT_DiveQuitQ, text_ES_DiveQuitQ}}, 1767 {(uint8_t)TXT2BYTE_DiveQuitQ, {text_EN_DiveQuitQ, text_DE_DiveQuitQ, text_FR_DiveQuitQ, text_IT_DiveQuitQ, text_ES_DiveQuitQ}},
1752 {(uint8_t)TXT2BYTE_DiveBearingQ, {text_EN_DiveBearingQ, text_DE_DiveBearingQ, text_FR_DiveBearingQ, text_IT_DiveBearingQ, text_ES_DiveBearingQ}}, 1768 {(uint8_t)TXT2BYTE_DiveBearingQ, {text_EN_DiveBearingQ, text_DE_DiveBearingQ, text_FR_DiveBearingQ, text_IT_DiveBearingQ, text_ES_DiveBearingQ}},
1753 {(uint8_t)TXT2BYTE_DiveResetAvgQ, {text_EN_DiveResetAvgQ, text_DE_DiveResetAvgQ, text_FR_DiveResetAvgQ, text_IT_DiveResetAvgQ, text_ES_DiveResetAvgQ}}, 1769 {(uint8_t)TXT2BYTE_DiveResetAvgQ, {text_EN_DiveResetAvgQ, text_DE_DiveResetAvgQ, text_FR_DiveResetAvgQ, text_IT_DiveResetAvgQ, text_ES_DiveResetAvgQ}},
1754 {(uint8_t)TXT2BYTE_ExtraDisplay, {text_EN_ExtraDisplay, text_DE_ExtraDisplay, text_FR_ExtraDisplay, text_IT_ExtraDisplay, text_ES_ExtraDisplay}}, 1770 {(uint8_t)TXT2BYTE_ExtraDisplay, {text_EN_ExtraDisplay, text_DE_ExtraDisplay, text_FR_ExtraDisplay, text_IT_ExtraDisplay, text_ES_ExtraDisplay}},
1755 {(uint8_t)TXT2BYTE_ExtraBigFont, {text_EN_ExtraBigFont, text_DE_ExtraBigFont, text_FR_ExtraBigFont, text_IT_ExtraBigFont, text_ES_ExtraBigFont}}, 1771 {(uint8_t)TXT2BYTE_ExtraBigFont, {text_EN_ExtraBigFont, text_DE_ExtraBigFont, text_FR_ExtraBigFont, text_IT_ExtraBigFont, text_ES_ExtraBigFont}},
1772 #ifdef ENABLE_BIGFONT_VX
1773 {(uint8_t)TXT2BYTE_ExtraBigFontV2, {text_EN_ExtraBigFontV2, text_DE_ExtraBigFontV2, text_FR_ExtraBigFontV2, text_IT_ExtraBigFontV2, text_ES_ExtraBigFontV2}},
1774 #endif
1756 {(uint8_t)TXT2BYTE_ExtraDecoGame, {text_EN_ExtraDecoGame, text_DE_ExtraDecoGame, text_FR_ExtraDecoGame, text_IT_ExtraDecoGame, text_ES_ExtraDecoGame}}, 1775 {(uint8_t)TXT2BYTE_ExtraDecoGame, {text_EN_ExtraDecoGame, text_DE_ExtraDecoGame, text_FR_ExtraDecoGame, text_IT_ExtraDecoGame, text_ES_ExtraDecoGame}},
1757 {(uint8_t)TXT2BYTE_ExtraNone, {text_EN_ExtraNone, text_DE_ExtraNone, text_FR_ExtraNone, text_IT_ExtraNone, text_ES_ExtraNone}}, 1776 {(uint8_t)TXT2BYTE_ExtraNone, {text_EN_ExtraNone, text_DE_ExtraNone, text_FR_ExtraNone, text_IT_ExtraNone, text_ES_ExtraNone}},
1758 {(uint8_t)TXT2BYTE_MotionCtrl, {text_EN_MotionCtrl, text_DE_MotionCtrl, text_FR_MotionCtrl, text_IT_MotionCtrl, text_ES_MotionCtrl}}, 1777 {(uint8_t)TXT2BYTE_MotionCtrl, {text_EN_MotionCtrl, text_DE_MotionCtrl, text_FR_MotionCtrl, text_IT_MotionCtrl, text_ES_MotionCtrl}},
1759 {(uint8_t)TXT2BYTE_MoCtrlNone, {text_EN_MoCtrlNone, text_DE_MoCtrlNone, text_FR_MoCtrlNone, text_IT_MoCtrlNone, text_ES_MoCtrlNone}}, 1778 {(uint8_t)TXT2BYTE_MoCtrlNone, {text_EN_MoCtrlNone, text_DE_MoCtrlNone, text_FR_MoCtrlNone, text_IT_MoCtrlNone, text_ES_MoCtrlNone}},
1760 {(uint8_t)TXT2BYTE_MoCtrlPitch, {text_EN_MoCtrlPitch, text_DE_MoCtrlPitch, text_FR_MoCtrlPitch, text_IT_MoCtrlPitch, text_ES_MoCtrlPitch}}, 1779 {(uint8_t)TXT2BYTE_MoCtrlPitch, {text_EN_MoCtrlPitch, text_DE_MoCtrlPitch, text_FR_MoCtrlPitch, text_IT_MoCtrlPitch, text_ES_MoCtrlPitch}},