Mercurial > public > ostc4
diff Discovery/Src/tMenuEditSystem.c @ 55:a7683f9765da
Italian activated (needs some fine tuning), special characters (?,?,?,?,? and others) currently not working...
author | heinrichsweikamp |
---|---|
date | Tue, 07 Aug 2018 00:24:05 +0200 |
parents | 5f11787b4f42 |
children | e941c9e49f73 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditSystem.c Sun Aug 05 12:57:49 2018 +0200 +++ b/Discovery/Src/tMenuEditSystem.c Tue Aug 07 00:24:05 2018 +0200 @@ -274,8 +274,8 @@ if((blockNumber == 1) && (digitContentNew > '0' + 12)) digitContentNew = '1'; // year range 2017-2018 - if((blockNumber == 2) && (digitContentNew > '0' + 18)) - digitContentNew = '0' + 17; + if((blockNumber == 2) && (digitContentNew > '0' + 22)) + digitContentNew = '0' + 18; return digitContentNew; } if(action == ACTION_BUTTON_BACK) @@ -497,7 +497,7 @@ else active = 0; write_field_on_off(StMSYS2_French, 30, 800, ME_Y_LINE3, &FontT48, text, active); -/* + pSettings->selected_language = LANGUAGE_Italian; if( actualLanguage == pSettings->selected_language) @@ -506,6 +506,7 @@ active = 0; write_field_on_off(StMSYS2_Italian, 30, 800, ME_Y_LINE4, &FontT48, text, active); +/* pSettings->selected_language = LANGUAGE_Espanol; if( actualLanguage == pSettings->selected_language) active = 1; @@ -520,7 +521,7 @@ setEvent(StMSYS2_English, (uint32_t)OnAction_English); setEvent(StMSYS2_German, (uint32_t)OnAction_German); setEvent(StMSYS2_French, (uint32_t)OnAction_French); - //setEvent(StMSYS2_Italian, (uint32_t)OnAction_Italian); + setEvent(StMSYS2_Italian, (uint32_t)OnAction_Italian); //setEvent(StMSYS2_Espanol, (uint32_t)OnAction_Espanol); }