diff options
author | Jan Krupička <[email protected]> | 2018-01-09 22:34:35 +0100 |
---|---|---|
committer | Ben V. Brown <[email protected]> | 2018-01-10 08:34:35 +1100 |
commit | 93869b979e6a498eb210ae44b0a4f26ee73f356e (patch) | |
tree | ef270d87ba4c7d45c08d74ed166939e0e5120c8c | |
parent | 2281dbd5adc05c5de0d6c2cd2a96bc580f85e7c5 (diff) | |
download | IronOS-93869b979e6a498eb210ae44b0a4f26ee73f356e.tar.gz IronOS-93869b979e6a498eb210ae44b0a4f26ee73f356e.zip |
Fix comments (translation max lengths) (#196)
* fix translation max length comments
* fix comments
* fix logo address in comment
-rw-r--r-- | Bootup Logo/Logo GUI/TS100 Logo Editor/TS100 Logo Editor/Form1.cs | 2 | ||||
-rw-r--r-- | workspace/TS100/src/Translation.c | 56 | ||||
-rw-r--r-- | workspace/TS100/src/gui.cpp | 6 |
3 files changed, 32 insertions, 32 deletions
diff --git a/Bootup Logo/Logo GUI/TS100 Logo Editor/TS100 Logo Editor/Form1.cs b/Bootup Logo/Logo GUI/TS100 Logo Editor/TS100 Logo Editor/Form1.cs index 9f458e9a..173a776f 100644 --- a/Bootup Logo/Logo GUI/TS100 Logo Editor/TS100 Logo Editor/Form1.cs +++ b/Bootup Logo/Logo GUI/TS100 Logo Editor/TS100 Logo Editor/Form1.cs @@ -148,7 +148,7 @@ namespace TS100_Logo_Editor data[i] = data[i + 1]; data[i + 1] = temp; } - string outputHexFile = IntelHex.IntelHex.encode(data, 0x0800F800, 16, true, true);//16 bytes is the only format the DFU seems to support //0x0800B800 + string outputHexFile = IntelHex.IntelHex.encode(data, 0x0800F800, 16, true, true);//16 bytes is the only format the DFU seems to support //0x0800F800 //^ This string now just needs to be written out to a text file :) SaveFileDialog dlg = new SaveFileDialog(); dlg.Title = "Save DFU File"; diff --git a/workspace/TS100/src/Translation.c b/workspace/TS100/src/Translation.c index 994e7685..59fd7865 100644 --- a/workspace/TS100/src/Translation.c +++ b/workspace/TS100/src/Translation.c @@ -76,8 +76,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "Sleeping..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -139,8 +139,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "БАТ РАЗР"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Хррр"; // Must be <= 4 chars const char* SleepingAdvancedString = "Ожидание..."; // <=16 chars const char* WarningSimpleString = " АЙ!"; // Must be <= 4 chars @@ -208,8 +208,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "Sleeping..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -271,8 +271,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "Sleeping..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -334,8 +334,8 @@ const char* SettingsResetWarning = "Ripristinare le impostazioni iniziali?"; const char* UVLOWarningString = "DC BASSA"; // <=8 chars const char* UndervoltageString = "DC INSUFFICIENTE"; // <=16 chars const char* InputVoltageString = "V ingresso:"; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Temp punta:"; // <=11 chars, preferably end with a space -const char* BadTipString = "Sostituire punta"; // <=16 chars +const char* WarningTipTempString = "Temp punta:"; // <=12 chars, preferably end with a space +const char* BadTipString = "Sostituire punta"; // <=8 chars const char* SleepingSimpleString = "Zzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "Standby"; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -397,8 +397,8 @@ const char* SettingsResetWarning = "Voulez-vous vraiment réinitialiser les para const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "En veille..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -460,8 +460,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzz "; // Must be <= 4 chars const char* SleepingAdvancedString = "Ruhemodus..."; // <=16 chars const char* WarningSimpleString = "HEIß"; // Must be <= 4 chars @@ -523,8 +523,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Chrr"; // Must be <= 4 chars const char* SleepingAdvancedString = "Kludovy rezim..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -586,8 +586,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "Uyuyor..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -649,8 +649,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "BATERIJA"; // <=8 chars const char* UndervoltageString = "PRENIZAK NAPON"; // <=16 chars const char* InputVoltageString = "Napajanje: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Temp vrha: "; // <=11 chars, preferably end with a space -const char* BadTipString = "NEISPRAVAN VRH"; // <=16 chars +const char* WarningTipTempString = "Temp vrha: "; // <=12 chars, preferably end with a space +const char* BadTipString = "NEISPRAVAN VRH"; // <=8 chars const char* SleepingSimpleString = "Zzz "; // Must be <= 4 chars const char* SleepingAdvancedString = "SPAVANJE..."; // <=16 chars const char* WarningSimpleString = "VRUĆ"; // Must be <= 4 chars @@ -712,8 +712,8 @@ const char* SettingsResetWarning = "Opravdu chcete resetovat zařízení do tov� const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzz "; // Must be <= 4 chars const char* SleepingAdvancedString = "Režim spánku..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -775,8 +775,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "Alvás..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars @@ -838,8 +838,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "Lav Volt"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzzz"; // Must be <= 4 chars const char* SleepingAdvancedString = "Dvale..."; // <=16 chars const char* WarningSimpleString = "Varm"; // Must be <= 4 chars @@ -901,8 +901,8 @@ const char* SettingsResetWarning = "Are you sure to reset settings to default va const char* UVLOWarningString = "DC LOW"; // <=8 chars const char* UndervoltageString = "Undervoltage"; // <=16 chars const char* InputVoltageString = "Input V: "; // <=11 chars, preferably end with a space -const char* WarningTipTempString = "Tip Temp: "; // <=11 chars, preferably end with a space -const char* BadTipString = "BAD TIP"; // <=16 chars +const char* WarningTipTempString = "Tip Temp: "; // <=12 chars, preferably end with a space +const char* BadTipString = "BAD TIP"; // <=8 chars const char* SleepingSimpleString = "Zzz!"; // Must be <= 4 chars const char* SleepingAdvancedString = "Uspienie..."; // <=16 chars const char* WarningSimpleString = "HOT!"; // Must be <= 4 chars diff --git a/workspace/TS100/src/gui.cpp b/workspace/TS100/src/gui.cpp index 59b1a319..f3709361 100644 --- a/workspace/TS100/src/gui.cpp +++ b/workspace/TS100/src/gui.cpp @@ -51,9 +51,9 @@ const menuitem settingsMenu[] = { {(const char*)SettingsLongNames[2], {settings_setSleepTime}, {settings_displaySleepTime}}, /*Sleep Time*/ {(const char*)SettingsLongNames[3], {settings_setShutdownTime}, {settings_displayShutdownTime}}, /*Shutdown Time*/ {(const char*)SettingsLongNames[4], {settings_setSensitivity}, {settings_displaySensitivity}}, /* Motion Sensitivity*/ - {(const char*)SettingsLongNames[5], {settings_setTempF}, {settings_displayTempF}}, /* Motion Sensitivity*/ - {(const char*)SettingsLongNames[6], {settings_setAdvancedIDLEScreens}, {settings_displayAdvancedIDLEScreens}}, /* Advanced screens*/ - {(const char*)SettingsLongNames[15], {settings_setAdvancedSolderingScreens}, {settings_displayAdvancedSolderingScreens}}, /* Advanced screens*/ + {(const char*)SettingsLongNames[5], {settings_setTempF}, {settings_displayTempF}}, /* Temperature units*/ + {(const char*)SettingsLongNames[6], {settings_setAdvancedIDLEScreens}, {settings_displayAdvancedIDLEScreens}}, /* Advanced idle screen*/ + {(const char*)SettingsLongNames[15], {settings_setAdvancedSolderingScreens}, {settings_displayAdvancedSolderingScreens}}, /* Advanced soldering screen*/ {(const char*)SettingsLongNames[7], {settings_setDisplayRotation}, {settings_displayDisplayRotation}}, /*Display Rotation*/ {(const char*)SettingsLongNames[8], {settings_setBoostModeEnabled}, {settings_displayBoostModeEnabled}}, /*Enable Boost*/ {(const char*)SettingsLongNames[9], {settings_setBoostTemp}, {settings_displayBoostTemp}}, /*Boost Temp*/ |