comparison Discovery/Src/text_multilanguage.c @ 740:5078da3845c0

Added button lock after wakeup in surface mode: During setup of diveequipment the OSTC4 is sometimes operated unintended (e.g. while equipping the jaket). To avoid this it is now possible to activate a button lock in the button lock sensitivity menu. The OSTC4 will then wakeup as usuall but if the diver wants to oerate the menus he has to press the buttons in a certain order. The button to be pressed is indicated by a blue bar. The button lock is deactivated in dive mode.
author Ideenmodellierer
date Thu, 02 Feb 2023 17:35:38 +0100
parents 2f457024049b
children b392524753fb
comparison
equal deleted inserted replaced
739:4a6bffaa38b3 740:5078da3845c0
1338 static uint8_t text_FR_ExtraDisplay[] = "Grand police"; 1338 static uint8_t text_FR_ExtraDisplay[] = "Grand police";
1339 static uint8_t text_IT_ExtraDisplay[] = "Caratteri grandi"; 1339 static uint8_t text_IT_ExtraDisplay[] = "Caratteri grandi";
1340 static uint8_t text_ES_ExtraDisplay[] = "Letras grandes"; 1340 static uint8_t text_ES_ExtraDisplay[] = "Letras grandes";
1341 1341
1342 // Menu SYS2 1342 // Menu SYS2
1343 static uint8_t text_EN_ExtraBigFont[] = "yes"; 1343 static uint8_t text_EN_ExtraBigFont[] = "Optional";
1344 static uint8_t text_DE_ExtraBigFont[] = "ja"; 1344 static uint8_t text_DE_ExtraBigFont[] = "Optional";
1345 static uint8_t text_FR_ExtraBigFont[] = "si"; 1345 static uint8_t text_FR_ExtraBigFont[] = "si";
1346 static uint8_t text_IT_ExtraBigFont[] = "si"; 1346 static uint8_t text_IT_ExtraBigFont[] = "si";
1347 static uint8_t text_ES_ExtraBigFont[] = "si"; 1347 static uint8_t text_ES_ExtraBigFont[] = "si";
1348
1349 static uint8_t text_EN_ExtraBFActive[] = "Start screen";
1350 static uint8_t text_DE_ExtraBFActive[] = "Start Bildschirm";
1351 static uint8_t text_FR_ExtraBFActive[] = "";
1352 static uint8_t text_IT_ExtraBFActive[] = "";
1353 static uint8_t text_ES_ExtraBFActive[] = "";
1348 1354
1349 // Menu SYS2 (future feature) 1355 // Menu SYS2 (future feature)
1350 static uint8_t text_EN_ExtraDecoGame[] = "Deco game"; 1356 static uint8_t text_EN_ExtraDecoGame[] = "Deco game";
1351 static uint8_t text_DE_ExtraDecoGame[] = "Deko-Spiel"; 1357 static uint8_t text_DE_ExtraDecoGame[] = "Deko-Spiel";
1352 static uint8_t text_FR_ExtraDecoGame[] = "Jeu déco"; 1358 static uint8_t text_FR_ExtraDecoGame[] = "Jeu déco";
1751 static uint8_t text_DE_CO2Sensor[] = "CO2 Sensor"; 1757 static uint8_t text_DE_CO2Sensor[] = "CO2 Sensor";
1752 static uint8_t text_FR_CO2Sensor[] = "CO2 Sensor"; 1758 static uint8_t text_FR_CO2Sensor[] = "CO2 Sensor";
1753 static uint8_t text_IT_CO2Sensor[] = "CO2 Sensor"; 1759 static uint8_t text_IT_CO2Sensor[] = "CO2 Sensor";
1754 static uint8_t text_ES_CO2Sensor[] = "CO2 Sensor"; 1760 static uint8_t text_ES_CO2Sensor[] = "CO2 Sensor";
1755 1761
1762 static uint8_t text_EN_KeyLock[] = "Key lock";
1763 static uint8_t text_DE_KeyLock[] = "Tastensperre";
1764 static uint8_t text_FR_KeyLock[] = "";
1765 static uint8_t text_IT_KeyLock[] = "";
1766 static uint8_t text_ES_KeyLock[] = "";
1756 1767
1757 /* Lookup Table -------------------------------------------------------------*/ 1768 /* Lookup Table -------------------------------------------------------------*/
1758 1769
1759 const tText text_array[] = 1770 const tText text_array[] =
1760 { 1771 {
1841 {(uint8_t)TXT_Percent, {text_EN_Percent, text_DE_Percent, text_FR_Percent, text_IT_Percent, text_ES_Percent}}, 1852 {(uint8_t)TXT_Percent, {text_EN_Percent, text_DE_Percent, text_FR_Percent, text_IT_Percent, text_ES_Percent}},
1842 {(uint8_t)TXT_PSCRO2Drop, {text_EN_PSCRO2Drop, text_DE_PSCRO2Drop, text_FR_PSCRO2Drop, text_IT_PSCRO2Drop, text_ES_PSCRO2Drop}}, 1853 {(uint8_t)TXT_PSCRO2Drop, {text_EN_PSCRO2Drop, text_DE_PSCRO2Drop, text_FR_PSCRO2Drop, text_IT_PSCRO2Drop, text_ES_PSCRO2Drop}},
1843 {(uint8_t)TXT_PSCRLungRatio, {text_EN_LungRatio, text_DE_LungRatio, text_FR_LungRatio, text_IT_LungRatio, text_ES_LungRatio}}, 1854 {(uint8_t)TXT_PSCRLungRatio, {text_EN_LungRatio, text_DE_LungRatio, text_FR_LungRatio, text_IT_LungRatio, text_ES_LungRatio}},
1844 {(uint8_t)TXT_SimPpo2, {text_EN_SimPpo2, text_DE_SimPpo2, text_FR_SimPpo2, text_IT_SimPpo2, text_ES_SimPpo2}}, 1855 {(uint8_t)TXT_SimPpo2, {text_EN_SimPpo2, text_DE_SimPpo2, text_FR_SimPpo2, text_IT_SimPpo2, text_ES_SimPpo2}},
1845 {(uint8_t)TXT_CO2Sensor, {text_EN_CO2Sensor, text_DE_CO2Sensor, text_FR_CO2Sensor, text_IT_CO2Sensor, text_ES_CO2Sensor}}, 1856 {(uint8_t)TXT_CO2Sensor, {text_EN_CO2Sensor, text_DE_CO2Sensor, text_FR_CO2Sensor, text_IT_CO2Sensor, text_ES_CO2Sensor}},
1857 {(uint8_t)TXT_ButtonLock, {text_EN_KeyLock, text_DE_KeyLock, text_FR_KeyLock, text_IT_KeyLock, text_ES_KeyLock}},
1846 }; 1858 };
1847 1859
1848 const tText text_array2[] = 1860 const tText text_array2[] =
1849 { 1861 {
1850 {(uint8_t)TXT2BYTE_ResetMenu, {text_EN_ResetMenu, text_DE_ResetMenu, text_FR_ResetMenu, text_IT_ResetMenu, text_ES_ResetMenu}}, 1862 {(uint8_t)TXT2BYTE_ResetMenu, {text_EN_ResetMenu, text_DE_ResetMenu, text_FR_ResetMenu, text_IT_ResetMenu, text_ES_ResetMenu}},
1968 {(uint8_t)TXT2BYTE_DiveResetAvgQ, {text_EN_DiveResetAvgQ, text_DE_DiveResetAvgQ, text_FR_DiveResetAvgQ, text_IT_DiveResetAvgQ, text_ES_DiveResetAvgQ}}, 1980 {(uint8_t)TXT2BYTE_DiveResetAvgQ, {text_EN_DiveResetAvgQ, text_DE_DiveResetAvgQ, text_FR_DiveResetAvgQ, text_IT_DiveResetAvgQ, text_ES_DiveResetAvgQ}},
1969 {(uint8_t)TXT2BYTE_ExtraDisplay, {text_EN_ExtraDisplay, text_DE_ExtraDisplay, text_FR_ExtraDisplay, text_IT_ExtraDisplay, text_ES_ExtraDisplay}}, 1981 {(uint8_t)TXT2BYTE_ExtraDisplay, {text_EN_ExtraDisplay, text_DE_ExtraDisplay, text_FR_ExtraDisplay, text_IT_ExtraDisplay, text_ES_ExtraDisplay}},
1970 {(uint8_t)TXT2BYTE_ExtraBigFont, {text_EN_ExtraBigFont, text_DE_ExtraBigFont, text_FR_ExtraBigFont, text_IT_ExtraBigFont, text_ES_ExtraBigFont}}, 1982 {(uint8_t)TXT2BYTE_ExtraBigFont, {text_EN_ExtraBigFont, text_DE_ExtraBigFont, text_FR_ExtraBigFont, text_IT_ExtraBigFont, text_ES_ExtraBigFont}},
1971 {(uint8_t)TXT2BYTE_ExtraDecoGame, {text_EN_ExtraDecoGame, text_DE_ExtraDecoGame, text_FR_ExtraDecoGame, text_IT_ExtraDecoGame, text_ES_ExtraDecoGame}}, 1983 {(uint8_t)TXT2BYTE_ExtraDecoGame, {text_EN_ExtraDecoGame, text_DE_ExtraDecoGame, text_FR_ExtraDecoGame, text_IT_ExtraDecoGame, text_ES_ExtraDecoGame}},
1972 {(uint8_t)TXT2BYTE_ExtraNone, {text_EN_ExtraNone, text_DE_ExtraNone, text_FR_ExtraNone, text_IT_ExtraNone, text_ES_ExtraNone}}, 1984 {(uint8_t)TXT2BYTE_ExtraNone, {text_EN_ExtraNone, text_DE_ExtraNone, text_FR_ExtraNone, text_IT_ExtraNone, text_ES_ExtraNone}},
1985 {(uint8_t)TXT2BYTE_ExtraActive, {text_EN_ExtraBFActive, text_DE_ExtraBFActive, text_FR_ExtraBFActive, text_IT_ExtraBFActive, text_ES_ExtraBFActive}},
1973 {(uint8_t)TXT2BYTE_MotionCtrl, {text_EN_MotionCtrl, text_DE_MotionCtrl, text_FR_MotionCtrl, text_IT_MotionCtrl, text_ES_MotionCtrl}}, 1986 {(uint8_t)TXT2BYTE_MotionCtrl, {text_EN_MotionCtrl, text_DE_MotionCtrl, text_FR_MotionCtrl, text_IT_MotionCtrl, text_ES_MotionCtrl}},
1974 {(uint8_t)TXT2BYTE_MoCtrlNone, {text_EN_MoCtrlNone, text_DE_MoCtrlNone, text_FR_MoCtrlNone, text_IT_MoCtrlNone, text_ES_MoCtrlNone}}, 1987 {(uint8_t)TXT2BYTE_MoCtrlNone, {text_EN_MoCtrlNone, text_DE_MoCtrlNone, text_FR_MoCtrlNone, text_IT_MoCtrlNone, text_ES_MoCtrlNone}},
1975 {(uint8_t)TXT2BYTE_MoCtrlPitch, {text_EN_MoCtrlPitch, text_DE_MoCtrlPitch, text_FR_MoCtrlPitch, text_IT_MoCtrlPitch, text_ES_MoCtrlPitch}}, 1988 {(uint8_t)TXT2BYTE_MoCtrlPitch, {text_EN_MoCtrlPitch, text_DE_MoCtrlPitch, text_FR_MoCtrlPitch, text_IT_MoCtrlPitch, text_ES_MoCtrlPitch}},
1976 {(uint8_t)TXT2BYTE_MoCtrlSector, {text_EN_MoCtrlSector, text_DE_MoCtrlSector, text_FR_MoCtrlSector, text_IT_MoCtrlSector, text_ES_MoCtrlSector}}, 1989 {(uint8_t)TXT2BYTE_MoCtrlSector, {text_EN_MoCtrlSector, text_DE_MoCtrlSector, text_FR_MoCtrlSector, text_IT_MoCtrlSector, text_ES_MoCtrlSector}},
1977 {(uint8_t)TXT2BYTE_MoCtrlScroll, {text_EN_MoCtrlScroll, text_DE_MoCtrlScroll, text_FR_MoCtrlScroll, text_IT_MoCtrlScroll, text_ES_MoCtrlScroll}}, 1990 {(uint8_t)TXT2BYTE_MoCtrlScroll, {text_EN_MoCtrlScroll, text_DE_MoCtrlScroll, text_FR_MoCtrlScroll, text_IT_MoCtrlScroll, text_ES_MoCtrlScroll}},