From 2bf06caa09029c3810632c95e8aa81f2cda0890c Mon Sep 17 00:00:00 2001 From: Maelremrem <11769158+maelremrem@users.noreply.github.com> Date: Sat, 9 Sep 2017 15:13:21 +0200 Subject: [PATCH] Added french language (#84) * Added french language Add the french translation for all the strings --- workspace/ts100/src/Strings.c | 58 ++++++++++++++++++++++++++++------- 1 file changed, 47 insertions(+), 11 deletions(-) diff --git a/workspace/ts100/src/Strings.c b/workspace/ts100/src/Strings.c index 6831cfa9..cbd6e8dc 100644 --- a/workspace/ts100/src/Strings.c +++ b/workspace/ts100/src/Strings.c @@ -45,19 +45,19 @@ const char* SettingsLongNames[14] = { /*These are all the help text for all the settings.*/ /*All must start with 6 spaces so they come on screen nicely.*/ - " Fuente de energía. Ajusta el límite inferior de voltaje. ", + " Fuente de energía. Ajusta el límite inferior de voltaje. ", " Temperatura en reposo. ", " Tiempo hasta activar reposo. ", " Tiempo hasta apagado. ", - " Sensibilidad del movimiento. <0. Apagado, 1. El menos sensible, 9. El más sensible>", + " Sensibilidad del movimiento. <0. Apagado, 1. El menos sensible, 9. El más sensible>", " Unidad de temperatura.", " Redondeo de la temperatura.", - " Tasa de actualización de la temperatura.", - " Orientación de la pantalla ", - " Activar el botón \"Boost\" en modo soldadura.", + " Tasa de actualización de la temperatura.", + " Orientación de la pantalla ", + " Activar el botón \"Boost\" en modo soldadura.", " Temperatura en modo \"Boost\".", " Cambiar las flechas en pantalla por indicador de potencia en modo soldadura.", - " Iniciar modo soldadura en el encendido. ", - " Fronttaste für Temperaturboost einschalten", + " Anzeigerichtung ", + " Fronttaste für Temperaturboost einschalten", " Temperatur im \"boost\"-Modus", - " Ändert \"Temperaturpfeile\" in Leistungsbalken", - " Automatischer Start beim Einschalten. J=Löttemp., R=Ruhemodus,N=Aus", - " Temperatur blinkt beim Abkühlen, solange noch heiß." }; + " Ändert \"Temperaturpfeile\" in Leistungsbalken", + " Automatischer Start beim Einschalten. J=Löttemp., R=Ruhemodus,N=Aus", + " Temperatur blinkt beim Abkühlen, solange noch heiß." }; const char* TempCalStatus[3] = { "Cal Temp", "Cal OK ", "Cal Fehl" }; //All fixed 8 chars const char* UVLOWarningString = "V gering"; //Fixed width 8 chars @@ -108,6 +108,42 @@ const char SettingAutoChar = 'A'; const char SettingTempCChar = 'C'; const char SettingTempFChar = 'F'; +#endif +#ifdef LANG_FR +const char* SettingsLongNames[14] = + { + /*These are all the help text for all the settings.*/ + /*All must start with 6 spaces so they come on screen nicely.*/ + " Type d\'alimentation. Regle la tension de coupure. ", + " Temperature en veille. ", + " Temps avant mise en veille. ", + " Temps avant extinction. ", + " Sensibilitee du capteur de mouvement. <0.Inactif 1.peu sensible 9.tres sensible>", + " Unitee de temperature.", + " Arrondissement de la temperature.", + " Taux de raffraichissement de la temperature.", + " Orientation de l\'affichage. ", + " Active le mode \"Boost\" 450C sur le bouton de devant pendant la soudure.", + " Temperature du mode \"Boost\".", + " Change les fleches en affichage de la tension pendant la soudure.", + " Demarre automatiquement la soudure a l\'allumage. ", + " Fait clignotter la temperature pendant la phase de refroidissement quand la panne est chaude." }; + +const char* TempCalStatus[3] = { "Cal Temp", "Cal OK ", "Cal Err " }; //All fixed 8 chars +const char* UVLOWarningString = "Batt Bas"; //Fixed width 8 chars +const char* CoolingPromptString = "Etein"; //Fixed width 5 chars +const char SettingTrueChar = 'A'; +const char SettingFalseChar = 'D'; +const char SettingSleepChar = 'V'; +const char SettingFastChar = 'R'; +const char SettingMediumChar = 'M'; +const char SettingSlowChar = 'L'; +const char SettingRightChar = 'D'; +const char SettingLeftChar = 'G'; +const char SettingAutoChar = 'A'; +const char SettingTempCChar = 'C'; +const char SettingTempFChar = 'F'; + #endif const char* SettingsShortNames[14] = { "PWRSC ", "STMP ", "STME ", "SHTME ", "MSENSE ", "TMPUNT ", "TMPRND ", "TMPSPD ", "DSPROT ", "BOOST ",