comparison Discovery/Src/text_multilanguage.c @ 789:b7cd0c5c8e43

When using automatic setpoint switching, allow the user to set an arbitrary ppO2 as a custom setpoint during the dive.
author heinrichsweikamp
date Wed, 12 Jul 2023 10:13:25 +0200
parents 4abfb8a2a435
children dd7ce655db26
comparison
equal deleted inserted replaced
788:4abfb8a2a435 789:b7cd0c5c8e43
1874 static uint8_t text_EN_Enabled[] = "enabled"; 1874 static uint8_t text_EN_Enabled[] = "enabled";
1875 static uint8_t text_DE_Enabled[] = "aktiv"; 1875 static uint8_t text_DE_Enabled[] = "aktiv";
1876 static uint8_t text_FR_Enabled[] = "activé"; 1876 static uint8_t text_FR_Enabled[] = "activé";
1877 static uint8_t text_IT_Enabled[] = "abilitato"; 1877 static uint8_t text_IT_Enabled[] = "abilitato";
1878 static uint8_t text_ES_Enabled[] = "activado"; 1878 static uint8_t text_ES_Enabled[] = "activado";
1879
1880 static uint8_t text_EN_Custom[] = "Custom";
1881 static uint8_t text_DE_Custom[] = "Benützer";
1882 static uint8_t text_FR_Custom[] = "Custom";
1883 static uint8_t text_IT_Custom[] = "Custom";
1884 static uint8_t text_ES_Custom[] = "Custom";
1879 1885
1880 /* Lookup Table -------------------------------------------------------------*/ 1886 /* Lookup Table -------------------------------------------------------------*/
1881 1887
1882 const tText text_array[] = 1888 const tText text_array[] =
1883 { 1889 {
2154 {(uint8_t)TXT2BYTE_SetpointHigh, {text_EN_SetpointHigh, text_DE_SetpointHigh, text_FR_SetpointHigh, text_IT_SetpointHigh, text_ES_SetpointHigh}}, 2160 {(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}}, 2161 {(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}}, 2162 {(uint8_t)TXT2BYTE_SetpointDelayed, {text_EN_SetpointDelayed, text_DE_SetpointDelayed, text_FR_SetpointDelayed, text_IT_SetpointDelayed, text_ES_SetpointDelayed}},
2157 2163
2158 {(uint8_t)TXT2BYTE_Enabled, {text_EN_Enabled, text_DE_Enabled, text_FR_Enabled, text_IT_Enabled, text_ES_Enabled}}, 2164 {(uint8_t)TXT2BYTE_Enabled, {text_EN_Enabled, text_DE_Enabled, text_FR_Enabled, text_IT_Enabled, text_ES_Enabled}},
2165 {(uint8_t)TXT2BYTE_Custom, {text_EN_Custom, text_DE_Custom, text_FR_Custom, text_IT_Custom, text_ES_Custom}},
2159 2166
2160 {(uint8_t)TXT2BYTE_Set, {text_EN_Set, text_DE_Set, text_FR_Set, text_IT_Set, text_ES_Set}}, 2167 {(uint8_t)TXT2BYTE_Set, {text_EN_Set, text_DE_Set, text_FR_Set, text_IT_Set, text_ES_Set}},
2161 {(uint8_t)TXT2BYTE_Clear, {text_EN_Clear, text_DE_Clear, text_FR_Clear, text_IT_Clear, text_ES_Clear}}, 2168 {(uint8_t)TXT2BYTE_Clear, {text_EN_Clear, text_DE_Clear, text_FR_Clear, text_IT_Clear, text_ES_Clear}},
2162 {(uint8_t)TXT2BYTE_Reset, {text_EN_Reset, text_DE_Reset, text_FR_Reset, text_IT_Reset, text_ES_Reset}}, 2169 {(uint8_t)TXT2BYTE_Reset, {text_EN_Reset, text_DE_Reset, text_FR_Reset, text_IT_Reset, text_ES_Reset}},
2163 }; 2170 };