aboutsummaryrefslogtreecommitdiffhomepage
path: root/Translations/translations_definitions.json
diff options
context:
space:
mode:
authorLaura Klünder <[email protected]>2023-04-24 13:48:34 +0200
committerLaura Klünder <[email protected]>2023-04-25 11:56:52 +0200
commit5fcdda16f6816e95e4e79ff99a4899c2338673ed (patch)
tree0bb9e906999e9d820785db69ad7c84e6d29b689e /Translations/translations_definitions.json
parent366cfbd79442a4ae0316c8142cf54cb0859710cf (diff)
downloadIronOS-5fcdda16f6816e95e4e79ff99a4899c2338673ed.tar.gz
IronOS-5fcdda16f6816e95e4e79ff99a4899c2338673ed.zip
filter translation strings and only include the ones needed
Diffstat (limited to 'Translations/translations_definitions.json')
-rw-r--r--Translations/translations_definitions.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/Translations/translations_definitions.json b/Translations/translations_definitions.json
index 875dd2cb..2229ddf9 100644
--- a/Translations/translations_definitions.json
+++ b/Translations/translations_definitions.json
@@ -17,6 +17,7 @@
},
{
"id": "NoPowerDeliveryMessage",
+ "include": ["POW_PD"],
"description": "The IC required for USB-PD could not be communicated with. This is an error warning that USB-PD WILL NOT FUNCTION. Generally indicative of either a hardware or software issues."
},
{
@@ -49,42 +50,50 @@
{
"id": "UVLOWarningString",
"maxLen": 8,
+ "include": ["POW_DC"],
"description": "Warning text shown when the unit turns off due to undervoltage in simple mode."
},
{
"id": "UndervoltageString",
"maxLen": 15,
+ "include": ["POW_DC"],
"description": "Warning text shown when the unit turns off due to undervoltage in advanced mode."
},
{
"id": "InputVoltageString",
"maxLen": 11,
"note": "Preferably end with a space",
+ "include": ["POW_DC"],
"description": "Prefix text for 'Input Voltage' shown before showing the input voltage reading."
},
{
"id": "ProfilePreheatString",
"maxLen": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Shown when the soldering profile is preheating"
},
{
"id": "ProfileCooldownString",
"maxLen": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Shown when the soldering profile is done and cooling down"
},
{
"id": "SleepingSimpleString",
"maxLen": 4,
+ "exclude": ["NO_SLEEP_MODE"],
"description": "The text shown to indicate the unit is in sleep mode when the advanced view is NOT on."
},
{
"id": "SleepingAdvancedString",
"maxLen": 15,
+ "exclude": ["NO_SLEEP_MODE"],
"description": "The text shown to indicate the unit is in sleep mode when the advanced view is turned on."
},
{
"id": "SleepingTipAdvancedString",
"maxLen": 6,
+ "exclude": ["NO_SLEEP_MODE"],
"description": "The prefix text shown before tip temperature when the unit is sleeping with advanced view on."
},
{
@@ -100,6 +109,7 @@
{
"id": "TooHotToStartProfileWarning",
"default": "Too hot to\nstart profile",
+ "include": ["PROFILE_SUPPORT"],
"description": "Shown when profile mode is started while the device is too hot."
}
],
@@ -181,6 +191,7 @@
"id": "PowerMenu",
"maxLen": 5,
"maxLen2": 11,
+ "include": ["POW_DC", "POW_QC"],
"description": "Menu for settings related to power. Main settings to do with the input voltage."
},
{
@@ -212,30 +223,35 @@
"id": "DCInCutoff",
"maxLen": 5,
"maxLen2": 11,
+ "include": ["POW_DC"],
"description": "When the device is powered by a battery, this adjusts the low voltage threshold for when the unit should turn off the heater to protect the battery."
},
{
"id": "MinVolCell",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["POW_DC"],
"description": "When powered by a battery, this adjusts the minimum voltage per cell before shutdown. (This is multiplied by the cell count.)"
},
{
"id": "QCMaxVoltage",
"maxLen": 8,
"maxLen2": 15,
+ "include": ["POW_QC"],
"description": "This adjusts the maximum voltage the QC negotiation will adjust to. Does NOT affect USB-PD. Should be set safely based on the current rating of your power supply."
},
{
"id": "PDNegTimeout",
"maxLen": 8,
"maxLen2": 15,
+ "include": ["POW_PD"],
"description": "How long until firmware stops trying to negotiate for USB-PD and tries QC instead. Longer times may help dodgy / old PD adapters, faster times move onto PD quickly. Units of 100ms. Recommended to keep small values."
},
{
"id": "PDVpdo",
"maxLen": 7,
"maxLen2": 15,
+ "include": ["POW_PD"],
"description": "Enabled PPS & EPR modes."
},
{
@@ -272,84 +288,98 @@
"id": "ProfilePhases",
"maxLen": 6,
"maxLen2": 13,
+ "include": ["PROFILE_SUPPORT"],
"description": "set the number of phases for the soldering profile."
},
{
"id": "ProfilePreheatTemp",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "For the soldering profile, preheat to this temperature before proceeding with phase 1."
},
{
"id": "ProfilePreheatSpeed",
"maxLen": 5,
"maxLen2": 11,
+ "include": ["PROFILE_SUPPORT"],
"description": "How fast the temperature is allowed to rise during the heatup phase of the soldering profile."
},
{
"id": "ProfilePhase1Temp",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 1 of the soldering profile."
},
{
"id": "ProfilePhase1Duration",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 1 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase2Temp",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 2 of the soldering profile."
},
{
"id": "ProfilePhase2Duration",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 2 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase3Temp",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 3 of the soldering profile."
},
{
"id": "ProfilePhase3Duration",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 3 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase4Temp",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 5 of the soldering profile."
},
{
"id": "ProfilePhase4Duration",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 5 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase5Temp",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Target temperature for the end of phase 5 of the soldering profile."
},
{
"id": "ProfilePhase5Duration",
"maxLen": 4,
"maxLen2": 9,
+ "include": ["PROFILE_SUPPORT"],
"description": "Duration of phase 5 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfileCooldownSpeed",
"maxLen": 5,
"maxLen2": 11,
+ "include": ["PROFILE_SUPPORT"],
"description": "How fast the temperature is allowed to drop after the last phase of the soldering profile."
},
{
@@ -362,12 +392,14 @@
"id": "SleepTemperature",
"maxLen": 4,
"maxLen2": 9,
+ "exclude": ["NO_SLEEP_MODE"],
"description": "Temperature the device will drop down to while asleep. Typically around halfway between off and soldering temperature."
},
{
"id": "SleepTimeout",
"maxLen": 4,
"maxLen2": 9,
+ "exclude": ["NO_SLEEP_MODE"],
"description": "How long of a period without movement / button-pressing is required before the device drops down to the sleep temperature."
},
{
@@ -380,6 +412,7 @@
"id": "HallEffSensitivity",
"maxLen": 6,
"maxLen2": 13,
+ "include": ["HALL_SENSOR"],
"description": "If the unit has a hall effect sensor (Pinecil), this adjusts how sensitive it is at detecting a magnet to put the device into sleep mode."
},
{
@@ -392,6 +425,7 @@
"id": "DisplayRotation",
"maxLen": 6,
"maxLen2": 13,
+ "exclude": ["NO_DISPLAY_ROTATE"],
"description": "If the display should rotate automatically or if it should be fixed for left- or right-handed mode."
},
{
@@ -458,6 +492,7 @@
"id": "BluetoothLE",
"maxLen": 7,
"maxLen2": 15,
+ "include": ["BLE_ENABLED"],
"description": "Should BLE be enabled at boot time."
},
{