1
0
forked from me/IronOS

Update strings to be more uniform

closes #89
Also includes the new Italian translation
closes #88
This commit is contained in:
Ben V. Brown
2017-09-17 11:49:24 +10:00
parent 2bf06caa09
commit 0aae546dc9

View File

@@ -7,143 +7,179 @@
#include "Strings.h" #include "Strings.h"
#define LANG_EN #define LANG_EN
#ifdef LANG_EN #ifdef LANG_EN
const char* SettingsLongNames[14] = const char* SettingsLongNames[14] = {
{ /*These are all the help text for all the settings.*/
/*These are all the help text for all the settings.*/ /*All must start with 6 spaces so they come on screen nicely.*/
/*All must start with 6 spaces so they come on screen nicely.*/ " Power source. Sets cutoff voltage. <DC=10V S=3.3V per cell>",
" Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>", " Sleep Temperature <C>",
" Sleep Temperature <C>", " Sleep Timeout <Minutes>", " Sleep Timeout <Minutes>",
" Shutdown Timeout <Minutes>", " Shutdown Timeout <Minutes>",
" Motion Sensitivity <0.Off 1.least sensitive 9.most sensitive>", " Motion Sensitivity <0=Off 1=Least sensitive 9=Most sensitive>",
" Temperature Unit", " Temperature Rounding Amount", " Temperature Unit <C=Celsius F=Farnheit>",
" Temperature Display Update Rate", " Temperature Rounding Amount <Units>",
" Display Orientation <A. Automatic L. Left Handed R. Right Handed>", " Temperature Display Update Rate <S=Slow M=Medium F=Fast>",
" Enable front key enters boost mode 450C mode when soldering", " Display Orientation <A=Automatic L=Left Handed R=Right Handed>",
" Temperature when in \"boost\" mode", " Enable front key enters boost mode 450C mode when soldering <T=True F=False>",
" Changes the arrows to a power display when soldering", " Temperature when in \"boost\" mode <C>",
" Automatically starts the iron into soldering on power up. T=Soldering, S= Sleep mode,F=Off", " Changes the arrows to a power display when soldering <T=True F=False>",
" Blink the temperature on the cooling screen while the tip is still hot." }; " Automatically starts the iron into soldering on power up. <T=Soldering S=Sleep mode F=Off>",
" Blink the temperature on the cooling screen while the tip is still hot. <T=True F=False>"
const char* TempCalStatus[3] = { "Cal Temp", "Cal OK ", "Cal Fail" }; //All fixed 8 chars };
const char* UVLOWarningString = "Low Volt"; //Fixed width 8 chars const char* TempCalStatus[3] = { "Cal Temp", "Cal OK ", "Cal Fail" }; //All fixed 8 chars
const char* CoolingPromptString = "Off "; //Fixed width 5 chars const char* UVLOWarningString = "Low Volt"; //Fixed width 8 chars
const char SettingTrueChar = 'T'; const char* CoolingPromptString = "Off "; //Fixed width 5 chars
const char SettingFalseChar = 'F'; const char SettingTrueChar = 'T';
const char SettingSleepChar = 'S'; const char SettingFalseChar = 'F';
const char SettingFastChar = 'F'; const char SettingSleepChar = 'S';
const char SettingMediumChar = 'M'; const char SettingFastChar = 'F';
const char SettingSlowChar = 'S'; const char SettingMediumChar = 'M';
const char SettingRightChar = 'R'; const char SettingSlowChar = 'S';
const char SettingLeftChar = 'L'; const char SettingRightChar = 'R';
const char SettingAutoChar = 'A'; const char SettingLeftChar = 'L';
const char SettingTempCChar = 'C'; const char SettingAutoChar = 'A';
const char SettingTempFChar = 'F'; const char SettingTempCChar = 'C';
const char SettingTempFChar = 'F';
#endif #endif
#ifdef LANG_ES #ifdef LANG_ES
const char* SettingsLongNames[14] = const char* SettingsLongNames[14] = {
{ /*These are all the help text for all the settings.*/
/*These are all the help text for all the settings.*/ /*All must start with 6 spaces so they come on screen nicely.*/
/*All must start with 6 spaces so they come on screen nicely.*/ " Fuente de energía. Ajusta el límite inferior de voltaje. <DC=10V S=3.3V por celda>",
" Fuente de energía. Ajusta el límite inferior de voltaje. <DC 10V> <S 3.3V por celda>", " Temperatura en reposo. <C>",
" Temperatura en reposo. <C>", " Tiempo hasta activar reposo. <Minutos>",
" Tiempo hasta activar reposo. <Minutos>", " Tiempo hasta apagado. <Minutos>",
" Tiempo hasta apagado. <Minutos>", " 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.",
" Unidad de temperatura.", " Redondeo de la temperatura.",
" Redondeo de la temperatura.", " Tasa de actualización de la temperatura.",
" Tasa de actualización de la temperatura.", " Orientación de la pantalla <A=Automático I=Mano izquierda D=Mano derecha>",
" Orientación de la pantalla <A. Automático, I. Mano izquierda, D. Mano derecha>", " Activar el botón \"Boost\" en modo soldadura.",
" Activar el botón \"Boost\" en modo soldadura.", " Temperatura en modo \"Boost\". <C>",
" Temperatura en modo \"Boost\".", " Cambiar las flechas en pantalla por indicador de potencia en modo soldadura.",
" Cambiar las flechas en pantalla por indicador de potencia en modo soldadura.", " Iniciar modo soldadura en el encendido. <V=Sí S=Modo reposo F=No>",
" Iniciar modo soldadura en el encendido. <V. Sí, S. Modo reposo, F. No ", " Parpadea la temperatura en el enfriamiento si la punta sigue caliente."
" Parpadea la temperatura en el enfriamiento si la punta sigue caliente."}; };
const char* TempCalStatus[3] = {"CAL TEMP", "CAL OK ", "CAL FAIL"}; //All fixed 8 chars
const char* TempCalStatus[3] = {"CAL TEMP", "CAL OK ", "CAL FAIL"}; //All fixed 8 chars const char* UVLOWarningString = "LOW VOLT"; //Fixed width 8 chars
const char* UVLOWarningString = "LOW VOLT";//Fixed width 8 chars const char* CoolingPromptString = "Cool "; //Fixed width 5 chars
const char* CoolingPromptString = "Cool ";//Fixed width 5 chars const char SettingTrueChar = 'V';
const char SettingTrueChar = 'V'; const char SettingFalseChar = 'F';
const char SettingFalseChar = 'F'; const char SettingSleepChar = 'S';
const char SettingSleepChar = 'S'; const char SettingFastChar = 'R';
const char SettingFastChar = 'R'; const char SettingMediumChar = 'M';
const char SettingMediumChar = 'M'; const char SettingSlowChar = 'L';
const char SettingSlowChar = 'L'; const char SettingRightChar = 'D';
const char SettingRightChar = 'D'; const char SettingLeftChar = 'I';
const char SettingLeftChar = 'I'; const char SettingAutoChar = 'A';
const char SettingAutoChar = 'A'; const char SettingTempCChar = 'C';
const char SettingTempCChar = 'C'; const char SettingTempFChar = 'F';
const char SettingTempFChar = 'F';
#endif #endif
#ifdef LANG_DE #ifdef LANG_DE
const char* SettingsLongNames[14] = const char* SettingsLongNames[14] = {
{ /*These are all the help text for all the settings.*/
/*These are all the help text for all the settings.*/ /*All must start with 6 spaces so they come on screen nicely.*/
/*All must start with 6 spaces so they come on screen nicely.*/ " Stromversorgung. Setzt Abschaltspannung <DC=10V S=3.3V pro Zelle>",
" Stromversorgung. Setzt Abschaltspannung <DC 10V> <S 3.3V pro Zelle>", " Ruhetemperatur <C>",
" Ruhetemperatur <C>", " Ruhemodus nach <Minuten>", " Ruhemodus nach <Minuten>",
" Abschaltzeit <Minuten>", " Abschaltzeit <Minuten>",
" Bewegungsempfindlichkeit <0.Aus 1.Minimal 9.Maximal>", " Bewegungsempfindlichkeit <0=Aus 1=Minimal 9=Maximal>",
" Temperatur Einheit", " Temperatur Runden", " Temperatur Einheit",
" Temperaturanzeige Updaterate", " Temperatur Runden",
" Anzeigerichtung <A. Auto L. Linkshändig R. Rechtshändig>", " Temperaturanzeige Updaterate",
" Fronttaste für Temperaturboost einschalten", " Anzeigerichtung <A=Auto L=Linkshändig R=Rechtshändig>",
" Temperatur im \"boost\"-Modus", " Fronttaste für Temperaturboost einschalten",
" Ändert \"Temperaturpfeile\" in Leistungsbalken", " Temperatur im \"boost\"-Modus <C>",
" Automatischer Start beim Einschalten. J=Löttemp., R=Ruhemodus,N=Aus", " Ändert \"Temperaturpfeile\" in Leistungsbalken",
" Temperatur blinkt beim Abkühlen, solange noch heiß." }; " 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 const char* TempCalStatus[3] = { "Cal Temp", "Cal OK ", "Cal Fehl" }; //All fixed 8 chars
const char* CoolingPromptString = "Kalt "; //Fixed width 5 chars const char* UVLOWarningString = "V gering"; //Fixed width 8 chars
const char SettingTrueChar = 'J'; const char* CoolingPromptString = "Kalt "; //Fixed width 5 chars
const char SettingFalseChar = 'N'; const char SettingTrueChar = 'J';
const char SettingSleepChar = 'R'; const char SettingFalseChar = 'N';
const char SettingFastChar = 'S'; const char SettingSleepChar = 'R';
const char SettingMediumChar = 'M'; const char SettingFastChar = 'S';
const char SettingSlowChar = 'L'; const char SettingMediumChar = 'M';
const char SettingRightChar = 'R'; const char SettingSlowChar = 'L';
const char SettingLeftChar = 'L'; const char SettingRightChar = 'R';
const char SettingAutoChar = 'A'; const char SettingLeftChar = 'L';
const char SettingTempCChar = 'C'; const char SettingAutoChar = 'A';
const char SettingTempFChar = 'F'; const char SettingTempCChar = 'C';
const char SettingTempFChar = 'F';
#endif #endif
#ifdef LANG_FR #ifdef LANG_FR
const char* SettingsLongNames[14] = const char* SettingsLongNames[14] = {
{ /*These are all the help text for all the settings.*/
/*These are all the help text for all the settings.*/ /*All must start with 6 spaces so they come on screen nicely.*/
/*All must start with 6 spaces so they come on screen nicely.*/ " Type d\'alimentation. Regle la tension de coupure. <DC=10V S=3.3V par cellules>",
" Type d\'alimentation. Regle la tension de coupure. <DC 10V> <S 3.3V par cellules>", " Temperature en veille. <C>",
" Temperature en veille. <C>", " Temps avant mise en veille. <Minutes>",
" Temps avant mise en veille. <Minutes>", " Temps avant extinction. <Minutes>",
" Temps avant extinction. <Minutes>", " Sensibilitee du capteur de mouvement. <0=Inactif 1=Peu sensible 9=Tres sensible>",
" Sensibilitee du capteur de mouvement. <0.Inactif 1.peu sensible 9.tres sensible>", " Unitee de temperature.",
" Unitee de temperature.", " Arrondissement de la temperature.",
" Arrondissement de la temperature.", " Taux de raffraichissement de la temperature.",
" Taux de raffraichissement de la temperature.", " Orientation de l\'affichage. <A=Automatique G=Gaucher D=Droitier>",
" Orientation de l\'affichage. <A. Automatique G. Gaucher D. Droitier>", " Active le mode \"Boost\" 450C sur le bouton de devant pendant la soudure.",
" Active le mode \"Boost\" 450C sur le bouton de devant pendant la soudure.", " Temperature du mode \"Boost\". <C>",
" Temperature du mode \"Boost\".", " Change les fleches en affichage de la tension pendant la soudure.",
" Change les fleches en affichage de la tension pendant la soudure.", " Demarre automatiquement la soudure a l\'allumage. <A=Active, V=Mode Veille, D=Desactive>",
" Demarre automatiquement la soudure a l\'allumage. <A=Active, V= Mode Veille, D=Desactive>", " Fait clignotter la temperature pendant la phase de refroidissement quand la panne est chaude."
" 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* TempCalStatus[3] = { "Cal Temp", "Cal OK ", "Cal Err " }; //All fixed 8 chars #ifdef LANG_IT
const char* UVLOWarningString = "Batt Bas"; //Fixed width 8 chars const char* SettingsLongNames[14] = {
const char* CoolingPromptString = "Etein"; //Fixed width 5 chars /*These are all the help text for all the settings.*/
const char SettingTrueChar = 'A'; /*All must start with 6 spaces so they come on screen nicely.*/
const char SettingFalseChar = 'D'; " Sorgente di alimentazione. Imposta il limite inferiore di tensione. <DC=10V S=3.3V per cella>",
const char SettingSleepChar = 'V'; " Temperatura modalità riposo <C>",
const char SettingFastChar = 'R'; " Timeout per passaggio a modalità riposo <Minuti>",
const char SettingMediumChar = 'M'; " Timeout spegnimento <Minuti>",
const char SettingSlowChar = 'L'; " Sensibilità al movimento <0=Spento 1=Sensibilità minima 9=Sensibilità massima>",
const char SettingRightChar = 'D'; " Unità di temperatura",
const char SettingLeftChar = 'G'; " Arrotondamento temperatura",
const char SettingAutoChar = 'A'; " Velocità di aggiornamento temperatura",
const char SettingTempCChar = 'C'; " Orientamento del display <A=Automatico S=Sinistrorso D=Destrorso>",
const char SettingTempFChar = 'F'; " Il tasto anteriore abilita modalità \"boost\" fino a 450C durante la saldatura",
" Temperatura in modalità \"boost\" <C>",
" Visualizza il grafico della potenza assorbita al posto delle frecce",
" Avvia automaticamente il saldatore quando viene alimentato. <S=Modalità saldatura R=Modalità riposo N=Spento>",
" Durante lo spegnimento la temperatura lampeggia sul display finché la punta è calda."
};
const char* TempCalStatus[3] = { "Cal Temp", "Cal OK ", "Cal Err " }; //All fixed 8 chars
const char* UVLOWarningString = "LOW VOLT"; //Fixed width 8 chars
const char* CoolingPromptString = "Cool"; //Fixed width 5 chars
const char SettingTrueChar = 'S';
const char SettingFalseChar = 'N';
const char SettingSleepChar = 'R';
const char SettingFastChar = 'V';
const char SettingMediumChar = 'M';
const char SettingSlowChar = 'L';
const char SettingRightChar = 'D';
const char SettingLeftChar = 'S';
const char SettingAutoChar = 'A';
const char SettingTempCChar = 'C';
const char SettingTempFChar = 'F';
#endif #endif
const char* SettingsShortNames[14] = { "PWRSC ", "STMP ", "STME ", "SHTME ", const char* SettingsShortNames[14] = { "PWRSC ", "STMP ", "STME ", "SHTME ",
"MSENSE ", "TMPUNT ", "TMPRND ", "TMPSPD ", "DSPROT ", "BOOST ", "MSENSE ", "TMPUNT ", "TMPRND ", "TMPSPD ", "DSPROT ", "BOOST ",