comparison Discovery/Src/text_multilanguage.c @ 929:63c340abd70e Evo_2_23 tip

Add a line to the compass heading dive menu that shows the currently set heading to enable the diver to confirm it / add it to notes. Also add a log entry every time a new compass heading is set or the heading is cleared. And add a way to add compass headings to the log without changing the currently set heading - this was added after discussion with cave divers who are interested in recording headings when mapping out caves. From mikeller
author heinrichsweikamp
date Mon, 02 Dec 2024 11:16:10 +0100
parents d4622533271d
children
comparison
equal deleted inserted replaced
928:9b7859554beb 929:63c340abd70e
1560 static uint8_t text_EN_FocusSpotSize[] = "Focus detection:"; 1560 static uint8_t text_EN_FocusSpotSize[] = "Focus detection:";
1561 static uint8_t text_DE_FocusSpotSize[] = "Fokus Reaktion:"; 1561 static uint8_t text_DE_FocusSpotSize[] = "Fokus Reaktion:";
1562 static uint8_t text_FR_FocusSpotSize[] = ""; 1562 static uint8_t text_FR_FocusSpotSize[] = "";
1563 static uint8_t text_IT_FocusSpotSize[] = ""; 1563 static uint8_t text_IT_FocusSpotSize[] = "";
1564 static uint8_t text_ES_FocusSpotSize[] = ""; 1564 static uint8_t text_ES_FocusSpotSize[] = "";
1565
1565 /* 1566 /*
1566 static uint8_t text_EN_ApneaCount[] = ""; 1567 static uint8_t text_EN_ApneaCount[] = "";
1567 static uint8_t text_DE_ApneaCount[] = ""; 1568 static uint8_t text_DE_ApneaCount[] = "";
1568 static uint8_t text_FR_ApneaCount[] = ""; 1569 static uint8_t text_FR_ApneaCount[] = "";
1569 static uint8_t text_IT_ApneaCount[] = ""; 1570 static uint8_t text_IT_ApneaCount[] = "";
1953 static uint8_t text_EN_Page[] = "Page"; 1954 static uint8_t text_EN_Page[] = "Page";
1954 static uint8_t text_DE_Page[] = "Blättern"; 1955 static uint8_t text_DE_Page[] = "Blättern";
1955 static uint8_t text_FR_Page[] = "Défiler"; 1956 static uint8_t text_FR_Page[] = "Défiler";
1956 static uint8_t text_IT_Page[] = "Scorrere"; 1957 static uint8_t text_IT_Page[] = "Scorrere";
1957 static uint8_t text_ES_Page[] = "Desplazarse"; 1958 static uint8_t text_ES_Page[] = "Desplazarse";
1959
1960 static uint8_t text_EN_Current[] = "Current";
1961 static uint8_t text_DE_Current[] = "Aktuell";
1962 static uint8_t text_FR_Current[] = "Actuel";
1963 static uint8_t text_IT_Current[] = "Attuale";
1964 static uint8_t text_ES_Current[] = "Actual";
1965
1966 static uint8_t text_EN_Log[] = "Log";
1967 static uint8_t text_DE_Log[] = "Aufzeichnen";
1968 static uint8_t text_FR_Log[] = "Enregistrer";
1969 static uint8_t text_IT_Log[] = "Registrare";
1970 static uint8_t text_ES_Log[] = "Registrar";
1958 1971
1959 /* Lookup Table -------------------------------------------------------------*/ 1972 /* Lookup Table -------------------------------------------------------------*/
1960 1973
1961 const tText text_array[] = 1974 const tText text_array[] =
1962 { 1975 {
2068 {(uint8_t)TXT2BYTE_ResetStopwatch, {text_EN_ResetStopwatch, text_DE_ResetStopwatch, text_FR_ResetStopwatch, text_IT_ResetStopwatch, text_ES_ResetStopwatch}}, 2081 {(uint8_t)TXT2BYTE_ResetStopwatch, {text_EN_ResetStopwatch, text_DE_ResetStopwatch, text_FR_ResetStopwatch, text_IT_ResetStopwatch, text_ES_ResetStopwatch}},
2069 {(uint8_t)TXT2BYTE_SetMarker, {text_EN_SetMarker, text_DE_SetMarker, text_FR_SetMarker, text_IT_SetMarker, text_ES_SetMarker}}, 2082 {(uint8_t)TXT2BYTE_SetMarker, {text_EN_SetMarker, text_DE_SetMarker, text_FR_SetMarker, text_IT_SetMarker, text_ES_SetMarker}},
2070 {(uint8_t)TXT2BYTE_SetMarkerShort, {text_EN_SetMarkerShort, text_DE_SetMarkerShort, text_FR_SetMarkerShort, text_IT_SetMarkerShort, text_ES_SetMarkerShort}}, 2083 {(uint8_t)TXT2BYTE_SetMarkerShort, {text_EN_SetMarkerShort, text_DE_SetMarkerShort, text_FR_SetMarkerShort, text_IT_SetMarkerShort, text_ES_SetMarkerShort}},
2071 {(uint8_t)TXT2BYTE_CheckMarker, {text_EN_CheckMarker, text_DE_CheckMarker, text_FR_CheckMarker, text_IT_CheckMarker, text_ES_CheckMarker}}, 2084 {(uint8_t)TXT2BYTE_CheckMarker, {text_EN_CheckMarker, text_DE_CheckMarker, text_FR_CheckMarker, text_IT_CheckMarker, text_ES_CheckMarker}},
2072 {(uint8_t)TXT2BYTE_CompassHeading, {text_EN_CompassHeading, text_DE_CompassHeading, text_FR_CompassHeading, text_IT_CompassHeading, text_ES_CompassHeading}}, 2085 {(uint8_t)TXT2BYTE_CompassHeading, {text_EN_CompassHeading, text_DE_CompassHeading, text_FR_CompassHeading, text_IT_CompassHeading, text_ES_CompassHeading}},
2073 {(uint8_t)TXT2BYTE_CalibView, {text_EN_CalibView, text_DE_CalibView, text_FR_CalibView, text_IT_CalibView, text_ES_CalibView}}, 2086 {(uint8_t)TXT2BYTE_CalibView, {text_EN_CalibView, text_DE_CalibView, text_FR_CalibView, text_IT_CalibView, text_ES_CalibView}},
2074 {(uint8_t)TXT2BYTE_IndicateFrame, {text_EN_IndicateFrame, text_DE_IndicateFrame, text_FR_IndicateFrame, text_IT_IndicateFrame, text_ES_IndicateFrame}}, 2087 {(uint8_t)TXT2BYTE_IndicateFrame, {text_EN_IndicateFrame, text_DE_IndicateFrame, text_FR_IndicateFrame, text_IT_IndicateFrame, text_ES_IndicateFrame}},
2075 {(uint8_t)TXT2BYTE_BoostBacklight, {text_EN_BoostBacklight, text_DE_BoostBacklight, text_FR_BoostBacklight, text_IT_BoostBacklight, text_ES_BoostBacklight}}, 2088 {(uint8_t)TXT2BYTE_BoostBacklight, {text_EN_BoostBacklight, text_DE_BoostBacklight, text_FR_BoostBacklight, text_IT_BoostBacklight, text_ES_BoostBacklight}},
2076 {(uint8_t)TXT2BYTE_FocusSpotSize, {text_EN_FocusSpotSize, text_DE_FocusSpotSize, text_FR_FocusSpotSize, text_IT_FocusSpotSize, text_ES_FocusSpotSize}}, 2089 {(uint8_t)TXT2BYTE_FocusSpotSize, {text_EN_FocusSpotSize, text_DE_FocusSpotSize, text_FR_FocusSpotSize, text_IT_FocusSpotSize, text_ES_FocusSpotSize}},
2077 {(uint8_t)TXT2BYTE_EndDiveMode, {text_EN_EndDiveMode, text_DE_EndDiveMode, text_FR_EndDiveMode, text_IT_EndDiveMode, text_ES_EndDiveMode}}, 2090 {(uint8_t)TXT2BYTE_EndDiveMode, {text_EN_EndDiveMode, text_DE_EndDiveMode, text_FR_EndDiveMode, text_IT_EndDiveMode, text_ES_EndDiveMode}},
2078 {(uint8_t)TXT2BYTE_Simulator, {text_EN_Simulator, text_DE_Simulator, text_FR_Simulator, text_IT_Simulator, text_ES_Simulator}}, 2091 {(uint8_t)TXT2BYTE_Simulator, {text_EN_Simulator, text_DE_Simulator, text_FR_Simulator, text_IT_Simulator, text_ES_Simulator}},
2254 2267
2255 {(uint8_t)TXT2BYTE_Position, {text_EN_Position, text_DE_Position, text_FR_Position, text_IT_Position, text_ES_Position}}, 2268 {(uint8_t)TXT2BYTE_Position, {text_EN_Position, text_DE_Position, text_FR_Position, text_IT_Position, text_ES_Position}},
2256 {(uint8_t)TXT2BYTE_VpmTable, {text_EN_VpmTable, text_DE_VpmTable, text_FR_VpmTable, text_IT_VpmTable, text_ES_VpmTable}}, 2269 {(uint8_t)TXT2BYTE_VpmTable, {text_EN_VpmTable, text_DE_VpmTable, text_FR_VpmTable, text_IT_VpmTable, text_ES_VpmTable}},
2257 2270
2258 {(uint8_t)TXT2BYTE_Page, {text_EN_Page, text_DE_Page, text_FR_Page, text_IT_Page, text_ES_Page}}, 2271 {(uint8_t)TXT2BYTE_Page, {text_EN_Page, text_DE_Page, text_FR_Page, text_IT_Page, text_ES_Page}},
2272
2273 {(uint8_t)TXT2BYTE_Current, {text_EN_Current, text_DE_Current, text_FR_Current, text_IT_Current, text_ES_Current}},
2274 {(uint8_t)TXT2BYTE_Log, {text_EN_Log, text_DE_Log, text_FR_Log, text_IT_Log, text_ES_Log}},
2259 }; 2275 };