Mercurial > public > ostc4
comparison Discovery/Src/text_multilanguage.c @ 967:9b418e63dbc2 Evo_2_23 tip
Add a 'Reverse' action to the compass heading dive menu.
This allows the compass heading to be reversed for the return leg of the
dive - as a bonus the reversal will be logged, establishing at which
point in the log the dive was turned (mikeller)
author | heinrichsweikamp |
---|---|
date | Wed, 15 Jan 2025 16:38:27 +0100 |
parents | 902cb199eee6 |
children |
comparison
equal
deleted
inserted
replaced
966:90edc237d60f | 967:9b418e63dbc2 |
---|---|
1996 static uint8_t text_EN_BUZZER[] = "Buzzer"; | 1996 static uint8_t text_EN_BUZZER[] = "Buzzer"; |
1997 static uint8_t text_DE_BUZZER[] = "Vibration"; | 1997 static uint8_t text_DE_BUZZER[] = "Vibration"; |
1998 static uint8_t text_FR_BUZZER[] = ""; | 1998 static uint8_t text_FR_BUZZER[] = ""; |
1999 static uint8_t text_IT_BUZZER[] = ""; | 1999 static uint8_t text_IT_BUZZER[] = ""; |
2000 static uint8_t text_ES_BUZZER[] = ""; | 2000 static uint8_t text_ES_BUZZER[] = ""; |
2001 | |
2002 static uint8_t text_EN_Reverse[] = "Reverse"; | |
2003 static uint8_t text_DE_Reverse[] = "Umkehren"; | |
2004 static uint8_t text_FR_Reverse[] = "Inverser"; | |
2005 static uint8_t text_IT_Reverse[] = "Invertire"; | |
2006 static uint8_t text_ES_Reverse[] = "Invertir"; | |
2001 | 2007 |
2002 /* Lookup Table -------------------------------------------------------------*/ | 2008 /* Lookup Table -------------------------------------------------------------*/ |
2003 | 2009 |
2004 const tText text_array[] = | 2010 const tText text_array[] = |
2005 { | 2011 { |
2305 {(uint8_t)TXT2BYTE_DDMMYY, {text_EN_DDMMYY, text_DE_DDMMYY, text_FR_DDMMYY, text_IT_DDMMYY, text_ES_DDMMYY}}, | 2311 {(uint8_t)TXT2BYTE_DDMMYY, {text_EN_DDMMYY, text_DE_DDMMYY, text_FR_DDMMYY, text_IT_DDMMYY, text_ES_DDMMYY}}, |
2306 {(uint8_t)TXT2BYTE_MMDDYY, {text_EN_MMDDYY, text_DE_MMDDYY, text_FR_MMDDYY, text_IT_MMDDYY, text_ES_MMDDYY}}, | 2312 {(uint8_t)TXT2BYTE_MMDDYY, {text_EN_MMDDYY, text_DE_MMDDYY, text_FR_MMDDYY, text_IT_MMDDYY, text_ES_MMDDYY}}, |
2307 {(uint8_t)TXT2BYTE_YYMMDD, {text_EN_YYMMDD, text_DE_YYMMDD, text_FR_YYMMDD, text_IT_YYMMDD, text_ES_YYMMDD}}, | 2313 {(uint8_t)TXT2BYTE_YYMMDD, {text_EN_YYMMDD, text_DE_YYMMDD, text_FR_YYMMDD, text_IT_YYMMDD, text_ES_YYMMDD}}, |
2308 {(uint8_t)TXT2BYTE_TIMEZONE, {text_EN_TIMEZONE, text_DE_TIMEZONE, text_FR_TIMEZONE, text_IT_TIMEZONE, text_ES_TIMEZONE}}, | 2314 {(uint8_t)TXT2BYTE_TIMEZONE, {text_EN_TIMEZONE, text_DE_TIMEZONE, text_FR_TIMEZONE, text_IT_TIMEZONE, text_ES_TIMEZONE}}, |
2309 | 2315 |
2310 {(uint8_t)TXT2BYTE_BUZZER, {text_EN_BUZZER, text_DE_BUZZER, text_FR_BUZZER, text_IT_BUZZER, text_ES_BUZZER}}, | 2316 {(uint8_t)TXT2BYTE_BUZZER, {text_EN_BUZZER, text_DE_BUZZER, text_FR_BUZZER, text_IT_BUZZER, text_ES_BUZZER}}, |
2317 | |
2318 {(uint8_t)TXT2BYTE_Current, {text_EN_Current, text_DE_Current, text_FR_Current, text_IT_Current, text_ES_Current}}, | |
2319 {(uint8_t)TXT2BYTE_Log, {text_EN_Log, text_DE_Log, text_FR_Log, text_IT_Log, text_ES_Log}}, | |
2320 {(uint8_t)TXT2BYTE_Reverse, {text_EN_Reverse, text_DE_Reverse, text_FR_Reverse, text_IT_Reverse, text_ES_Reverse}}, | |
2321 | |
2311 | 2322 |
2312 | 2323 |
2313 }; | 2324 }; |