comparison Discovery/Src/text_multilanguage.c @ 672:c00a80f26641 Betatest

Added Charging view: In case the charger is connected to the OSTC a new menu will be shown in the customer view section. The new view shows a charging current indicator, the current charge percentage and an estimation how long the completion of the charging cycle will take (hour window). Some multi language text definitions have been added to support the new view.
author Ideenmodellierer
date Sat, 12 Mar 2022 23:01:11 +0100
parents 16833cd3a2f5
children 2f457024049b
comparison
equal deleted inserted replaced
671:b456be1e152d 672:c00a80f26641
457 static uint8_t text_DE_PSClosedCircuit[] = "PSC Kreislauf"; 457 static uint8_t text_DE_PSClosedCircuit[] = "PSC Kreislauf";
458 static uint8_t text_FR_PSClosedCircuit[] = "PSC circuit"; 458 static uint8_t text_FR_PSClosedCircuit[] = "PSC circuit";
459 static uint8_t text_IT_PSClosedCircuit[] = "PSC circuit"; 459 static uint8_t text_IT_PSClosedCircuit[] = "PSC circuit";
460 static uint8_t text_ES_PSClosedCircuit[] = "PSC circuit"; 460 static uint8_t text_ES_PSClosedCircuit[] = "PSC circuit";
461 461
462 static uint8_t text_EN_Time[] = "Time"; 462 static uint8_t text_EN_ChargeHour[] = "Hour(s) till 100%";
463 static uint8_t text_DE_Time[] = "Uhrzeit"; 463 static uint8_t text_DE_ChargeHour[] = "Stunde(n) bis 100%";
464 static uint8_t text_FR_Time[] = "Heure"; 464 static uint8_t text_FR_ChargeHour[] = "";
465 static uint8_t text_IT_Time[] = "Ora"; 465 static uint8_t text_IT_ChargeHour[] = "";
466 static uint8_t text_ES_Time[] = "Hora"; 466 static uint8_t text_ES_ChargeHour[] = "";
467 467
468 static uint8_t text_EN_Date[] = "Date"; 468 static uint8_t text_EN_Date[] = "Date";
469 static uint8_t text_DE_Date[] = "Datum"; 469 static uint8_t text_DE_Date[] = "Datum";
470 static uint8_t text_FR_Date[] = "Date"; 470 static uint8_t text_FR_Date[] = "Date";
471 static uint8_t text_IT_Date[] = "Data"; 471 static uint8_t text_IT_Date[] = "Data";
1137 static uint8_t text_EN_Warning[] = "Warning"; 1137 static uint8_t text_EN_Warning[] = "Warning";
1138 static uint8_t text_DE_Warning[] = "Warnung"; 1138 static uint8_t text_DE_Warning[] = "Warnung";
1139 static uint8_t text_FR_Warning[] = "Alerte"; 1139 static uint8_t text_FR_Warning[] = "Alerte";
1140 static uint8_t text_IT_Warning[] = "Pericolo"; 1140 static uint8_t text_IT_Warning[] = "Pericolo";
1141 static uint8_t text_ES_Warning[] = "Peligro"; 1141 static uint8_t text_ES_Warning[] = "Peligro";
1142
1143 // Customview Header
1144 static uint8_t text_EN_Charging[] = "Charging";
1145 static uint8_t text_DE_Charging[] = "Ladezyklus";
1146 static uint8_t text_FR_Charging[] = "";
1147 static uint8_t text_IT_Charging[] = "";
1148 static uint8_t text_ES_Charging[] = "";
1142 1149
1143 // Menu SYS2 sub Information 1150 // Menu SYS2 sub Information
1144 static uint8_t text_EN_Usage_Battery[] = "Battery life"; 1151 static uint8_t text_EN_Usage_Battery[] = "Battery life";
1145 static uint8_t text_DE_Usage_Battery[] = "Batterie-Nutzung"; 1152 static uint8_t text_DE_Usage_Battery[] = "Batterie-Nutzung";
1146 static uint8_t text_FR_Usage_Battery[] = "Durée batterie"; 1153 static uint8_t text_FR_Usage_Battery[] = "Durée batterie";
1760 {(uint8_t)TXT_AvgDepth, {text_EN_AvgDepth, text_DE_AvgDepth, text_FR_AvgDepth, text_IT_AvgDepth, text_ES_AvgDepth}}, 1767 {(uint8_t)TXT_AvgDepth, {text_EN_AvgDepth, text_DE_AvgDepth, text_FR_AvgDepth, text_IT_AvgDepth, text_ES_AvgDepth}},
1761 {(uint8_t)TXT_Ceiling, {text_EN_Ceiling, text_DE_Ceiling, text_FR_Ceiling, text_IT_Ceiling, text_ES_Ceiling}}, 1768 {(uint8_t)TXT_Ceiling, {text_EN_Ceiling, text_DE_Ceiling, text_FR_Ceiling, text_IT_Ceiling, text_ES_Ceiling}},
1762 {(uint8_t)TXT_ActualGradient, {text_EN_ActualGradient, text_DE_ActualGradient, text_FR_ActualGradient, text_IT_ActualGradient, text_ES_ActualGradient}}, 1769 {(uint8_t)TXT_ActualGradient, {text_EN_ActualGradient, text_DE_ActualGradient, text_FR_ActualGradient, text_IT_ActualGradient, text_ES_ActualGradient}},
1763 {(uint8_t)TXT_Stopwatch, {text_EN_Stopwatch, text_DE_Stopwatch, text_FR_Stopwatch, text_IT_Stopwatch, text_ES_Stopwatch}}, 1770 {(uint8_t)TXT_Stopwatch, {text_EN_Stopwatch, text_DE_Stopwatch, text_FR_Stopwatch, text_IT_Stopwatch, text_ES_Stopwatch}},
1764 {(uint8_t)TXT_Gas, {text_EN_Gas, text_DE_Gas, text_FR_Gas, text_IT_Gas, text_ES_Gas}}, 1771 {(uint8_t)TXT_Gas, {text_EN_Gas, text_DE_Gas, text_FR_Gas, text_IT_Gas, text_ES_Gas}},
1765 {(uint8_t)TXT_Time, {text_EN_Time, text_DE_Time, text_FR_Time, text_IT_Time, text_ES_Time}}, 1772 {(uint8_t)TXT_ChargeHour, {text_EN_ChargeHour, text_DE_ChargeHour, text_FR_ChargeHour, text_IT_ChargeHour, text_ES_ChargeHour}},
1766 {(uint8_t)TXT_Date, {text_EN_Date, text_DE_Date, text_FR_Date, text_IT_Date, text_ES_Date}}, 1773 {(uint8_t)TXT_Date, {text_EN_Date, text_DE_Date, text_FR_Date, text_IT_Date, text_ES_Date}},
1767 {(uint8_t)TXT_Format, {text_EN_Format, text_DE_Format, text_FR_Format, text_IT_Format, text_ES_Format}}, 1774 {(uint8_t)TXT_Format, {text_EN_Format, text_DE_Format, text_FR_Format, text_IT_Format, text_ES_Format}},
1768 {(uint8_t)TXT_Warning, {text_EN_Warning, text_DE_Warning, text_FR_Warning, text_IT_Warning, text_ES_Warning}}, 1775 {(uint8_t)TXT_Warning, {text_EN_Warning, text_DE_Warning, text_FR_Warning, text_IT_Warning, text_ES_Warning}},
1776 {(uint8_t)TXT_Charging, {text_EN_Charging, text_DE_Charging, text_FR_Charging, text_IT_Charging, text_ES_Charging}},
1769 {(uint8_t)TXT_o2Sensors, {text_EN_o2Sensors, text_DE_o2Sensors, text_FR_o2Sensors, text_IT_o2Sensors, text_ES_o2Sensors}}, 1777 {(uint8_t)TXT_o2Sensors, {text_EN_o2Sensors, text_DE_o2Sensors, text_FR_o2Sensors, text_IT_o2Sensors, text_ES_o2Sensors}},
1770 {(uint8_t)TXT_Brightness, {text_EN_Brightness, text_DE_Brightness, text_FR_Brightness, text_IT_Brightness, text_ES_Brightness}}, 1778 {(uint8_t)TXT_Brightness, {text_EN_Brightness, text_DE_Brightness, text_FR_Brightness, text_IT_Brightness, text_ES_Brightness}},
1771 {(uint8_t)TXT_Cave, {text_EN_Cave, text_DE_Cave, text_FR_Cave, text_IT_Cave, text_ES_Cave}}, 1779 {(uint8_t)TXT_Cave, {text_EN_Cave, text_DE_Cave, text_FR_Cave, text_IT_Cave, text_ES_Cave}},
1772 {(uint8_t)TXT_Eco, {text_EN_Eco, text_DE_Eco, text_FR_Eco, text_IT_Eco, text_ES_Eco}}, 1780 {(uint8_t)TXT_Eco, {text_EN_Eco, text_DE_Eco, text_FR_Eco, text_IT_Eco, text_ES_Eco}},
1773 {(uint8_t)TXT_Normal, {text_EN_Normal, text_DE_Normal, text_FR_Normal, text_IT_Normal, text_ES_Normal}}, 1781 {(uint8_t)TXT_Normal, {text_EN_Normal, text_DE_Normal, text_FR_Normal, text_IT_Normal, text_ES_Normal}},