comparison Discovery/Src/text_multilanguage.c @ 654:890440ab993a

Introduced new menu tab for addition CCR options: The Xtra menu tab was only used in dive mode before. The tab is now enabled in surface mode and provide access to scrubber timer functionality. To enables this infrastructure (structure, multilanguage strings etc.) have been added to the sourcecode.
author Ideenmodellierer
date Sun, 25 Apr 2021 20:41:19 +0200
parents 5f0d3dce5ef4
children f4b553da620a
comparison
equal deleted inserted replaced
653:269e57ac4e56 654:890440ab993a
1677 static uint8_t text_EN_DecoTTS[] = "Deco and TTS"; 1677 static uint8_t text_EN_DecoTTS[] = "Deco and TTS";
1678 static uint8_t text_DE_DecoTTS[] = "Deco/TTS"; 1678 static uint8_t text_DE_DecoTTS[] = "Deco/TTS";
1679 static uint8_t text_FR_DecoTTS[] = ""; 1679 static uint8_t text_FR_DecoTTS[] = "";
1680 static uint8_t text_IT_DecoTTS[] = ""; 1680 static uint8_t text_IT_DecoTTS[] = "";
1681 static uint8_t text_ES_DecoTTS[] = ""; 1681 static uint8_t text_ES_DecoTTS[] = "";
1682
1683 static uint8_t text_EN_ScrubTime[] = "Scrubber time";
1684 static uint8_t text_DE_ScrubTime[] = "Kalkstandzeit";
1685 static uint8_t text_FR_ScrubTime[] = "Scrubber time";
1686 static uint8_t text_IT_ScrubTime[] = "Scrubber time";
1687 static uint8_t text_ES_ScrubTime[] = "Scrubber time";
1688
1689 static uint8_t text_EN_ScrubTimeReset[] = "Reset scrubber timer";
1690 static uint8_t text_DE_ScrubTimeReset[] = "Kalkstandzeit zurücksetzen";
1691 static uint8_t text_FR_ScrubTimeReset[] = "Reset scrubber timer";
1692 static uint8_t text_IT_ScrubTimeReset[] = "Reset scrubber timer";
1693 static uint8_t text_ES_ScrubTimeReset[] = "Reset scrubber timer";
1694
1695 static uint8_t text_EN_ScrubTimeMode[] = "Scrubber timer display";
1696 static uint8_t text_DE_ScrubTimeMode[] = "Anzeige Modus";
1697 static uint8_t text_FR_ScrubTimeMode[] = "Scrubber timer display";
1698 static uint8_t text_IT_ScrubTimeMode[] = "Scrubber timer display";
1699 static uint8_t text_ES_ScrubTimeMode[] = "Scrubber timer display";
1700
1701 static uint8_t text_EN_Percent[] = "Percent";
1702 static uint8_t text_DE_Percent[] = "Prozent";
1703 static uint8_t text_FR_Percent[] = "Percent";
1704 static uint8_t text_IT_Percent[] = "Percent";
1705 static uint8_t text_ES_Percent[] = "Percent";
1682 1706
1683 /* Lookup Table -------------------------------------------------------------*/ 1707 /* Lookup Table -------------------------------------------------------------*/
1684 1708
1685 const tText text_array[] = 1709 const tText text_array[] =
1686 { 1710 {
1757 {(uint8_t)TXT_Daylightsaving, {text_EN_Daylightsaving, text_DE_Daylightsaving, text_FR_Daylightsaving, text_IT_Daylightsaving, text_ES_Daylightsaving}}, 1781 {(uint8_t)TXT_Daylightsaving, {text_EN_Daylightsaving, text_DE_Daylightsaving, text_FR_Daylightsaving, text_IT_Daylightsaving, text_ES_Daylightsaving}},
1758 {(uint8_t)TXT_Logbook, {text_EN_Logbook, text_DE_Logbook, text_FR_Logbook, text_IT_Logbook, text_ES_Logbook}}, 1782 {(uint8_t)TXT_Logbook, {text_EN_Logbook, text_DE_Logbook, text_FR_Logbook, text_IT_Logbook, text_ES_Logbook}},
1759 {(uint8_t)TXT_LogbookEmpty, {text_EN_LogbookEmpty, text_DE_LogbookEmpty, text_FR_LogbookEmpty, text_IT_LogbookEmpty, text_ES_LogbookEmpty}}, 1783 {(uint8_t)TXT_LogbookEmpty, {text_EN_LogbookEmpty, text_DE_LogbookEmpty, text_FR_LogbookEmpty, text_IT_LogbookEmpty, text_ES_LogbookEmpty}},
1760 {(uint8_t)TXT_Start_Calculation,{text_EN_Start_Calculation, text_DE_Start_Calculation, text_FR_Start_Calculation, text_IT_Start_Calculation, text_ES_Start_Calculation}}, 1784 {(uint8_t)TXT_Start_Calculation,{text_EN_Start_Calculation, text_DE_Start_Calculation, text_FR_Start_Calculation, text_IT_Start_Calculation, text_ES_Start_Calculation}},
1761 {(uint8_t)TXT_Information, {text_EN_Information, text_DE_Information, text_FR_Information, text_IT_Information, text_ES_Information}}, 1785 {(uint8_t)TXT_Information, {text_EN_Information, text_DE_Information, text_FR_Information, text_IT_Information, text_ES_Information}},
1786 {(uint8_t)TXT_ScrubTime, {text_EN_ScrubTime, text_DE_ScrubTime, text_FR_ScrubTime, text_IT_ScrubTime, text_ES_ScrubTime}},
1787 {(uint8_t)TXT_ScrubTimeReset, {text_EN_ScrubTimeReset, text_DE_ScrubTimeReset, text_FR_ScrubTimeReset, text_IT_ScrubTimeReset, text_ES_ScrubTimeReset}},
1788 {(uint8_t)TXT_ScrubTimeMode, {text_EN_ScrubTimeMode, text_DE_ScrubTimeMode, text_FR_ScrubTimeMode, text_IT_ScrubTimeMode, text_ES_ScrubTimeMode}},
1789 {(uint8_t)TXT_Percent, {text_EN_Percent, text_DE_Percent, text_FR_Percent, text_IT_Percent, text_ES_Percent}},
1790
1762 }; 1791 };
1763 1792
1764 const tText text_array2[] = 1793 const tText text_array2[] =
1765 { 1794 {
1766 {(uint8_t)TXT2BYTE_ResetMenu, {text_EN_ResetMenu, text_DE_ResetMenu, text_FR_ResetMenu, text_IT_ResetMenu, text_ES_ResetMenu}}, 1795 {(uint8_t)TXT2BYTE_ResetMenu, {text_EN_ResetMenu, text_DE_ResetMenu, text_FR_ResetMenu, text_IT_ResetMenu, text_ES_ResetMenu}},