comparison Discovery/Src/text_multilanguage.c @ 788:4abfb8a2a435

Define explicit setpoints for low / high / deco. Add an option to delay the switch to SPlow until all decompression has been cleared. (mikeller)
author heinrichsweikamp
date Tue, 04 Jul 2023 14:39:06 +0200
parents 45b8f3c2acce
children b7cd0c5c8e43
comparison
equal deleted inserted replaced
787:aeb72882f30a 788:4abfb8a2a435
1844 static uint8_t text_EN_SetpointShort[] = "SP"; 1844 static uint8_t text_EN_SetpointShort[] = "SP";
1845 static uint8_t text_DE_SetpointShort[] = "SP"; 1845 static uint8_t text_DE_SetpointShort[] = "SP";
1846 static uint8_t text_FR_SetpointShort[] = "SP"; 1846 static uint8_t text_FR_SetpointShort[] = "SP";
1847 static uint8_t text_IT_SetpointShort[] = "SP"; 1847 static uint8_t text_IT_SetpointShort[] = "SP";
1848 static uint8_t text_ES_SetpointShort[] = "SP"; 1848 static uint8_t text_ES_SetpointShort[] = "SP";
1849
1850 static uint8_t text_EN_SetpointLow[] = "low";
1851 static uint8_t text_DE_SetpointLow[] = "tief";
1852 static uint8_t text_FR_SetpointLow[] = "low";
1853 static uint8_t text_IT_SetpointLow[] = "low";
1854 static uint8_t text_ES_SetpointLow[] = "low";
1855
1856 static uint8_t text_EN_SetpointHigh[] = "high";
1857 static uint8_t text_DE_SetpointHigh[] = "hoch";
1858 static uint8_t text_FR_SetpointHigh[] = "high";
1859 static uint8_t text_IT_SetpointHigh[] = "high";
1860 static uint8_t text_ES_SetpointHigh[] = "high";
1861
1862 static uint8_t text_EN_SetpointDeco[] = "deco";
1863 static uint8_t text_DE_SetpointDeco[] = "deko";
1864 static uint8_t text_FR_SetpointDeco[] = "deco";
1865 static uint8_t text_IT_SetpointDeco[] = "deco";
1866 static uint8_t text_ES_SetpointDeco[] = "deco";
1867
1868 static uint8_t text_EN_SetpointDelayed[] = "delayed until deco clear";
1869 static uint8_t text_DE_SetpointDelayed[] = "erst wenn Deko beendet";
1870 static uint8_t text_FR_SetpointDelayed[] = "delayed until deco clear";
1871 static uint8_t text_IT_SetpointDelayed[] = "delayed until deco clear";
1872 static uint8_t text_ES_SetpointDelayed[] = "delayed until deco clear";
1873
1874 static uint8_t text_EN_Enabled[] = "enabled";
1875 static uint8_t text_DE_Enabled[] = "aktiv";
1876 static uint8_t text_FR_Enabled[] = "activé";
1877 static uint8_t text_IT_Enabled[] = "abilitato";
1878 static uint8_t text_ES_Enabled[] = "activado";
1849 1879
1850 /* Lookup Table -------------------------------------------------------------*/ 1880 /* Lookup Table -------------------------------------------------------------*/
1851 1881
1852 const tText text_array[] = 1882 const tText text_array[] =
1853 { 1883 {
2118 {(uint8_t)TXT2BYTE_Scrubber, {text_EN_Scrubber, text_DE_Scrubber, text_FR_Scrubber, text_IT_Scrubber, text_ES_Scrubber}}, 2148 {(uint8_t)TXT2BYTE_Scrubber, {text_EN_Scrubber, text_DE_Scrubber, text_FR_Scrubber, text_IT_Scrubber, text_ES_Scrubber}},
2119 {(uint8_t)TXT2BYTE_BailoutShort, {text_EN_BailoutShort, text_DE_BailoutShort, text_FR_BailoutShort, text_IT_BailoutShort, text_ES_BailoutShort}}, 2149 {(uint8_t)TXT2BYTE_BailoutShort, {text_EN_BailoutShort, text_DE_BailoutShort, text_FR_BailoutShort, text_IT_BailoutShort, text_ES_BailoutShort}},
2120 {(uint8_t)TXT2BYTE_LoopShort, {text_EN_LoopShort, text_DE_LoopShort, text_FR_LoopShort, text_IT_LoopShort, text_ES_LoopShort}}, 2150 {(uint8_t)TXT2BYTE_LoopShort, {text_EN_LoopShort, text_DE_LoopShort, text_FR_LoopShort, text_IT_LoopShort, text_ES_LoopShort}},
2121 {(uint8_t)TXT2BYTE_SetpointShort, {text_EN_SetpointShort, text_DE_SetpointShort, text_FR_SetpointShort, text_IT_SetpointShort, text_ES_SetpointShort}}, 2151 {(uint8_t)TXT2BYTE_SetpointShort, {text_EN_SetpointShort, text_DE_SetpointShort, text_FR_SetpointShort, text_IT_SetpointShort, text_ES_SetpointShort}},
2122 2152
2153 {(uint8_t)TXT2BYTE_SetpointLow, {text_EN_SetpointLow, text_DE_SetpointLow, text_FR_SetpointLow, text_IT_SetpointLow, text_ES_SetpointLow}},
2154 {(uint8_t)TXT2BYTE_SetpointHigh, {text_EN_SetpointHigh, text_DE_SetpointHigh, text_FR_SetpointHigh, text_IT_SetpointHigh, text_ES_SetpointHigh}},
2155 {(uint8_t)TXT2BYTE_SetpointDeco, {text_EN_SetpointDeco, text_DE_SetpointDeco, text_FR_SetpointDeco, text_IT_SetpointDeco, text_ES_SetpointDeco}},
2156 {(uint8_t)TXT2BYTE_SetpointDelayed, {text_EN_SetpointDelayed, text_DE_SetpointDelayed, text_FR_SetpointDelayed, text_IT_SetpointDelayed, text_ES_SetpointDelayed}},
2157
2158 {(uint8_t)TXT2BYTE_Enabled, {text_EN_Enabled, text_DE_Enabled, text_FR_Enabled, text_IT_Enabled, text_ES_Enabled}},
2159
2123 {(uint8_t)TXT2BYTE_Set, {text_EN_Set, text_DE_Set, text_FR_Set, text_IT_Set, text_ES_Set}}, 2160 {(uint8_t)TXT2BYTE_Set, {text_EN_Set, text_DE_Set, text_FR_Set, text_IT_Set, text_ES_Set}},
2124 {(uint8_t)TXT2BYTE_Clear, {text_EN_Clear, text_DE_Clear, text_FR_Clear, text_IT_Clear, text_ES_Clear}}, 2161 {(uint8_t)TXT2BYTE_Clear, {text_EN_Clear, text_DE_Clear, text_FR_Clear, text_IT_Clear, text_ES_Clear}},
2125 {(uint8_t)TXT2BYTE_Reset, {text_EN_Reset, text_DE_Reset, text_FR_Reset, text_IT_Reset, text_ES_Reset}}, 2162 {(uint8_t)TXT2BYTE_Reset, {text_EN_Reset, text_DE_Reset, text_FR_Reset, text_IT_Reset, text_ES_Reset}},
2126 }; 2163 };