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

View File

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