1
0
forked from me/IronOS

Add new SettingsResetMessage Message

This commit is contained in:
Ben V. Brown
2019-12-28 11:59:33 +11:00
parent 48b32dcf45
commit 2d5482ecd2
2 changed files with 481 additions and 475 deletions

View File

@@ -1,235 +1,236 @@
{ {
"languageCode": "EN", "languageCode": "EN",
"languageLocalName": "English", "languageLocalName": "English",
"cyrillicGlyphs": false, "cyrillicGlyphs": false,
"messages": { "messages": {
"SettingsCalibrationDone": "Calibration done!", "SettingsCalibrationDone": "Calibration done!",
"SettingsCalibrationWarning": "Please ensure the tip is at room temperature before continuing!", "SettingsCalibrationWarning": "Please ensure the tip is at room temperature before continuing!",
"SettingsResetWarning": "Are you sure you want to reset settings to default values?", "SettingsResetWarning": "Are you sure you want to reset settings to default values?",
"UVLOWarningString": "DC LOW", "UVLOWarningString": "DC LOW",
"UndervoltageString": "Undervoltage", "UndervoltageString": "Undervoltage",
"InputVoltageString": "Input V: ", "InputVoltageString": "Input V: ",
"WarningTipTempString": "Tip Temp: ", "WarningTipTempString": "Tip Temp: ",
"BadTipString": "BAD TIP", "BadTipString": "BAD TIP",
"SleepingSimpleString": "Zzzz", "SleepingSimpleString": "Zzzz",
"SleepingAdvancedString": "Sleeping...", "SleepingAdvancedString": "Sleeping...",
"WarningSimpleString": "HOT!", "WarningSimpleString": "HOT!",
"WarningAdvancedString": "!!! TIP HOT !!!", "WarningAdvancedString": "!!! TIP HOT !!!",
"SleepingTipAdvancedString": "Tip:", "SleepingTipAdvancedString": "Tip:",
"IdleTipString": "Tip:", "IdleTipString": "Tip:",
"IdleSetString": " Set:", "IdleSetString": " Set:",
"TipDisconnectedString": "TIP DISCONNECTED", "TipDisconnectedString": "TIP DISCONNECTED",
"SolderingAdvancedPowerPrompt": "Power: ", "SolderingAdvancedPowerPrompt": "Power: ",
"OffString": "Off", "OffString": "Off",
"ResetOKMessage":"Reset OK", "ResetOKMessage": "Reset OK",
"YourGainMessage":"Your Gain:" "YourGainMessage": "Your Gain:",
}, "SettingsResetMessage": "Settings were\nreset!"
"characters": { },
"SettingRightChar": "R", "characters": {
"SettingLeftChar": "L", "SettingRightChar": "R",
"SettingAutoChar": "A", "SettingLeftChar": "L",
"SettingFastChar": "F", "SettingAutoChar": "A",
"SettingSlowChar": "S" "SettingFastChar": "F",
}, "SettingSlowChar": "S"
"menuDouble": true, },
"menuGroups": { "menuDouble": true,
"SolderingMenu": { "menuGroups": {
"text2": [ "SolderingMenu": {
"Soldering", "text2": [
"Settings" "Soldering",
], "Settings"
"desc": "Soldering settings" ],
}, "desc": "Soldering settings"
"PowerSavingMenu": { },
"text2": [ "PowerSavingMenu": {
"Sleep", "text2": [
"Modes" "Sleep",
], "Modes"
"desc": "Power saving settings" ],
}, "desc": "Power saving settings"
"UIMenu": { },
"text2": [ "UIMenu": {
"User", "text2": [
"Interface" "User",
], "Interface"
"desc": "User interface settings" ],
}, "desc": "User interface settings"
"AdvancedMenu": { },
"text2": [ "AdvancedMenu": {
"Advanced", "text2": [
"Options" "Advanced",
], "Options"
"desc": "Advanced options" ],
} "desc": "Advanced options"
}, }
"menuOptions": { },
"PowerSource": { "menuOptions": {
"text": "PWRSC", "PowerSource": {
"text2": [ "text": "PWRSC",
"Power", "text2": [
"source" "Power",
], "source"
"desc": "Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>" ],
}, "desc": "Power source. Sets cutoff voltage. <DC 10V> <S 3.3V per cell>"
"SleepTemperature": { },
"text": "STMP", "SleepTemperature": {
"text2": [ "text": "STMP",
"Sleep", "text2": [
"temp" "Sleep",
], "temp"
"desc": "Sleep Temperature <C>" ],
}, "desc": "Sleep Temperature <C>"
"SleepTimeout": { },
"text": "STME", "SleepTimeout": {
"text2": [ "text": "STME",
"Sleep", "text2": [
"timeout" "Sleep",
], "timeout"
"desc": "Sleep Timeout <Minutes/Seconds>" ],
}, "desc": "Sleep Timeout <Minutes/Seconds>"
"ShutdownTimeout": { },
"text": "SHTME", "ShutdownTimeout": {
"text2": [ "text": "SHTME",
"Shutdown", "text2": [
"timeout" "Shutdown",
], "timeout"
"desc": "Shutdown Timeout <Minutes>" ],
}, "desc": "Shutdown Timeout <Minutes>"
"MotionSensitivity": { },
"text": "MSENSE", "MotionSensitivity": {
"text2": [ "text": "MSENSE",
"Motion", "text2": [
"sensitivity" "Motion",
], "sensitivity"
"desc": "Motion Sensitivity <0.Off 1.least sensitive 9.most sensitive>" ],
}, "desc": "Motion Sensitivity <0.Off 1.least sensitive 9.most sensitive>"
"TemperatureUnit": { },
"text": "TMPUNT", "TemperatureUnit": {
"text2": [ "text": "TMPUNT",
"Temperature", "text2": [
"units" "Temperature",
], "units"
"desc": "Temperature Unit <C=Celsius F=Fahrenheit>" ],
}, "desc": "Temperature Unit <C=Celsius F=Fahrenheit>"
"AdvancedIdle": { },
"text": "ADVIDL", "AdvancedIdle": {
"text2": [ "text": "ADVIDL",
"Detailed", "text2": [
"idle screen" "Detailed",
], "idle screen"
"desc": "Display detailed information in a smaller font on the idle screen." ],
}, "desc": "Display detailed information in a smaller font on the idle screen."
"DisplayRotation": { },
"text": "DSPROT", "DisplayRotation": {
"text2": [ "text": "DSPROT",
"Display", "text2": [
"orientation" "Display",
], "orientation"
"desc": "Display Orientation <A. Automatic L. Left Handed R. Right Handed>" ],
}, "desc": "Display Orientation <A. Automatic L. Left Handed R. Right Handed>"
"BoostEnabled": { },
"text": "BOOST", "BoostEnabled": {
"text2": [ "text": "BOOST",
"Boost mode", "text2": [
"enabled" "Boost mode",
], "enabled"
"desc": "Enable front key enters boost mode 450C mode when soldering" ],
}, "desc": "Enable front key enters boost mode 450C mode when soldering"
"BoostTemperature": { },
"text": "BTMP", "BoostTemperature": {
"text2": [ "text": "BTMP",
"Boost", "text2": [
"temp" "Boost",
], "temp"
"desc": "Temperature when in \"boost\" mode" ],
}, "desc": "Temperature when in \"boost\" mode"
"AutoStart": { },
"text": "ASTART", "AutoStart": {
"text2": [ "text": "ASTART",
"Auto", "text2": [
"start" "Auto",
], "start"
"desc": "Automatically starts the iron into soldering on power up. T=Soldering, S= Sleep mode,F=Off" ],
}, "desc": "Automatically starts the iron into soldering on power up. T=Soldering, S= Sleep mode,F=Off"
"CooldownBlink": { },
"text": "CLBLNK", "CooldownBlink": {
"text2": [ "text": "CLBLNK",
"Cooldown", "text2": [
"blink" "Cooldown",
], "blink"
"desc": "Blink the temperature on the cooling screen while the tip is still hot." ],
}, "desc": "Blink the temperature on the cooling screen while the tip is still hot."
"TemperatureCalibration": { },
"text": "TMP CAL?", "TemperatureCalibration": {
"text2": [ "text": "TMP CAL?",
"Calibrate", "text2": [
"temperature?" "Calibrate",
], "temperature?"
"desc": "Calibrate tip offset." ],
}, "desc": "Calibrate tip offset."
"SettingsReset": { },
"text": "RESET?", "SettingsReset": {
"text2": [ "text": "RESET?",
"Factory", "text2": [
"Reset?" "Factory",
], "Reset?"
"desc": "Reset all settings" ],
}, "desc": "Reset all settings"
"VoltageCalibration": { },
"text": "CAL VIN?", "VoltageCalibration": {
"text2": [ "text": "CAL VIN?",
"Calibrate", "text2": [
"input voltage?" "Calibrate",
], "input voltage?"
"desc": "VIN Calibration. Buttons adjust, long press to exit" ],
}, "desc": "VIN Calibration. Buttons adjust, long press to exit"
"AdvancedSoldering": { },
"text": "ADVSLD", "AdvancedSoldering": {
"text2": [ "text": "ADVSLD",
"Detailed", "text2": [
"solder screen" "Detailed",
], "solder screen"
"desc": "Display detailed information while soldering" ],
}, "desc": "Display detailed information while soldering"
"ScrollingSpeed": { },
"text": "DESCSP", "ScrollingSpeed": {
"text2": [ "text": "DESCSP",
"Scrolling", "text2": [
"Speed" "Scrolling",
], "Speed"
"desc": "Speed this text scrolls past at" ],
}, "desc": "Speed this text scrolls past at"
"TipModel": { },
"text": "TIPMO", "TipModel": {
"text2": [ "text": "TIPMO",
"Tip", "text2": [
"Model" "Tip",
], "Model"
"desc": "Tip Model selection" ],
}, "desc": "Tip Model selection"
"SimpleCalibrationMode": { },
"text": "SMPCAL", "SimpleCalibrationMode": {
"text2": [ "text": "SMPCAL",
"Simple", "text2": [
"Calibration" "Simple",
], "Calibration"
"desc": "Simple Calibration using Hot water" ],
}, "desc": "Simple Calibration using Hot water"
"AdvancedCalibrationMode": { },
"text": "ADVCAL", "AdvancedCalibrationMode": {
"text2": [ "text": "ADVCAL",
"Advanced", "text2": [
"Calibration" "Advanced",
], "Calibration"
"desc": "Advanced calibration using thermocouple on the tip" ],
}, "desc": "Advanced calibration using thermocouple on the tip"
"PowerInput": { },
"text": "PWRW", "PowerInput": {
"text2": [ "text": "PWRW",
"Power", "text2": [
"Wattage" "Power",
], "Wattage"
"desc": "Power Wattage of the power adapter used" ],
} "desc": "Power Wattage of the power adapter used"
} }
}
} }

View File

@@ -1,241 +1,246 @@
var def = var def =
{ {
"messages": [ "messages": [
{ {
"id": "SettingsCalibrationDone" "id": "SettingsCalibrationDone"
}, },
{ {
"id": "SettingsCalibrationWarning" "id": "SettingsCalibrationWarning"
}, },
{ {
"id": "SettingsResetWarning" "id": "SettingsResetWarning"
}, },
{ {
"id": "UVLOWarningString", "id": "UVLOWarningString",
"maxLen": 8 "maxLen": 8
}, },
{ {
"id": "UndervoltageString", "id": "UndervoltageString",
"maxLen": 16 "maxLen": 16
}, },
{ {
"id": "InputVoltageString", "id": "InputVoltageString",
"maxLen": 11, "maxLen": 11,
"note": "Preferably end with a space" "note": "Preferably end with a space"
}, },
{ {
"id": "WarningTipTempString", "id": "WarningTipTempString",
"maxLen": 12, "maxLen": 12,
"note": "Preferably end with a space" "note": "Preferably end with a space"
}, },
{ {
"id": "BadTipString", "id": "BadTipString",
"maxLen": 8 "maxLen": 8
}, },
{ {
"id": "SleepingSimpleString", "id": "SleepingSimpleString",
"maxLen": 4 "maxLen": 4
}, },
{ {
"id": "SleepingAdvancedString", "id": "SleepingAdvancedString",
"maxLen": 16 "maxLen": 16
}, },
{ {
"id": "WarningSimpleString", "id": "WarningSimpleString",
"maxLen": 4 "maxLen": 4
}, },
{ {
"id": "WarningAdvancedString", "id": "WarningAdvancedString",
"maxLen": 16 "maxLen": 16
}, },
{ {
"id": "SleepingTipAdvancedString", "id": "SleepingTipAdvancedString",
"maxLen": 6 "maxLen": 6
}, },
{ {
"id": "IdleTipString", "id": "IdleTipString",
"lenSum": "lenSum":
{ {
"fields": ["IdleTipString", "IdleSetString"], "fields": ["IdleTipString", "IdleSetString"],
"maxLen": 10 "maxLen": 10
} }
}, },
{ {
"id": "IdleSetString", "id": "IdleSetString",
"lenSum": "lenSum":
{ {
"fields": ["IdleTipString", "IdleSetString"], "fields": ["IdleTipString", "IdleSetString"],
"maxLen": 10 "maxLen": 10
}, },
"note": "Preferably start with a space" "note": "Preferably start with a space"
}, },
{ {
"id": "TipDisconnectedString", "id": "TipDisconnectedString",
"maxLen": 16 "maxLen": 16
}, },
{ {
"id": "SolderingAdvancedPowerPrompt", "id": "SolderingAdvancedPowerPrompt",
"maxLen": null "maxLen": null
}, },
{ {
"id": "OffString", "id": "OffString",
"maxLen": 3 "maxLen": 3
}, },
{ {
"id": "ResetOKMessage", "id": "ResetOKMessage",
"maxLen": 8 "maxLen": 8
}, },
{ {
"id": "YourGainMessage", "id": "YourGainMessage",
"maxLen": 8, "maxLen": 8,
"default":"Your Gain" "default": "Your Gain"
} },
], {
"characters": [ "id": "SettingsResetMessage",
{ "maxLen": 16,
"id": "SettingRightChar", "default": "Settings were\nreset!"
"len": 1 }
}, ],
{ "characters": [
"id": "SettingLeftChar", {
"len": 1 "id": "SettingRightChar",
}, "len": 1
{ },
"id": "SettingAutoChar", {
"len": 1 "id": "SettingLeftChar",
}, "len": 1
{ },
"id": "SettingFastChar", {
"len": 1 "id": "SettingAutoChar",
}, "len": 1
{ },
"id": "SettingSlowChar", {
"len": 1 "id": "SettingFastChar",
} "len": 1
], },
"menuGroups": [ {
{ "id": "SettingSlowChar",
"id": "SolderingMenu", "len": 1
"maxLen": 11 }
}, ],
{ "menuGroups": [
"id": "PowerSavingMenu", {
"maxLen": 11 "id": "SolderingMenu",
}, "maxLen": 11
{ },
"id": "UIMenu", {
"maxLen": 11 "id": "PowerSavingMenu",
}, "maxLen": 11
{ },
"id": "AdvancedMenu", {
"maxLen": 11 "id": "UIMenu",
} "maxLen": 11
], },
"menuOptions": [ {
{ "id": "AdvancedMenu",
"id": "PowerSource", "maxLen": 11
"maxLen": 5, }
"maxLen2": 11 ],
}, "menuOptions": [
{ {
"id": "SleepTemperature", "id": "PowerSource",
"maxLen": 4, "maxLen": 5,
"maxLen2": 9 "maxLen2": 11
}, },
{ {
"id": "SleepTimeout", "id": "SleepTemperature",
"maxLen": 4, "maxLen": 4,
"maxLen2": 9 "maxLen2": 9
}, },
{ {
"id": "ShutdownTimeout", "id": "SleepTimeout",
"maxLen": 5, "maxLen": 4,
"maxLen2": 11 "maxLen2": 9
}, },
{ {
"id": "MotionSensitivity", "id": "ShutdownTimeout",
"maxLen": 6, "maxLen": 5,
"maxLen2": 13 "maxLen2": 11
}, },
{ {
"id": "TemperatureUnit", "id": "MotionSensitivity",
"maxLen": 6, "maxLen": 6,
"maxLen2": 13 "maxLen2": 13
}, },
{ {
"id": "AdvancedIdle", "id": "TemperatureUnit",
"maxLen": 6, "maxLen": 6,
"maxLen2": 13 "maxLen2": 13
}, },
{ {
"id": "DisplayRotation", "id": "AdvancedIdle",
"maxLen": 6, "maxLen": 6,
"maxLen2": 13 "maxLen2": 13
}, },
{ {
"id": "BoostEnabled", "id": "DisplayRotation",
"maxLen": 6, "maxLen": 6,
"maxLen2": 13 "maxLen2": 13
}, },
{ {
"id": "BoostTemperature", "id": "BoostEnabled",
"maxLen": 4, "maxLen": 6,
"maxLen2": 9 "maxLen2": 13
}, },
{ {
"id": "AutoStart", "id": "BoostTemperature",
"maxLen": 6, "maxLen": 4,
"maxLen2": 13 "maxLen2": 9
}, },
{ {
"id": "CooldownBlink", "id": "AutoStart",
"maxLen": 6, "maxLen": 6,
"maxLen2": 13 "maxLen2": 13
}, },
{ {
"id": "TemperatureCalibration", "id": "CooldownBlink",
"maxLen": 8, "maxLen": 6,
"maxLen2": 16 "maxLen2": 13
}, },
{ {
"id": "SettingsReset", "id": "TemperatureCalibration",
"maxLen": 8, "maxLen": 8,
"maxLen2": 16 "maxLen2": 16
}, },
{ {
"id": "VoltageCalibration", "id": "SettingsReset",
"maxLen": 8, "maxLen": 8,
"maxLen2": 16 "maxLen2": 16
}, },
{ {
"id": "AdvancedSoldering", "id": "VoltageCalibration",
"maxLen": 6, "maxLen": 8,
"maxLen2": 13 "maxLen2": 16
}, },
{ {
"id": "ScrollingSpeed", "id": "AdvancedSoldering",
"maxLen": 6, "maxLen": 6,
"maxLen2": 11 "maxLen2": 13
}, },
{ {
"id": "TipModel", "id": "ScrollingSpeed",
"maxLen": 8, "maxLen": 6,
"maxLen2": 16 "maxLen2": 11
}, },
{ {
"id": "SimpleCalibrationMode", "id": "TipModel",
"maxLen": 8, "maxLen": 8,
"maxLen2": 16 "maxLen2": 16
}, },
{ {
"id": "AdvancedCalibrationMode", "id": "SimpleCalibrationMode",
"maxLen": 8, "maxLen": 8,
"maxLen2": 16 "maxLen2": 16
}, },
{ {
"id": "PowerInput", "id": "AdvancedCalibrationMode",
"maxLen": 8, "maxLen": 8,
"maxLen2": 16 "maxLen2": 16
} },
] {
} "id": "PowerInput",
"maxLen": 8,
"maxLen2": 16
}
]
}