Skip to content

Commit 0b2d570

Browse files
committed
chore(configuration steps): Auto-update configuration steps translatable strings
1 parent f707ac9 commit 0b2d570

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

ardupilot_methodic_configurator/configuration_steps_strings.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,15 @@ def configuration_steps_descriptions() -> None:
387387
_config_steps_descriptions = _(
388388
"A list of regular expressions to match parameters for automatic import if they have non-default values."
389389
)
390-
_config_steps_descriptions = _("Add-from-FC: include this parameter at its current FC value when the condition holds")
391390
_config_steps_descriptions = _("Computed value: evaluate New Value expression and set the parameter")
392391
_config_steps_descriptions = _("Description of the phase")
393392
_config_steps_descriptions = _("Explanation of why this step is needed")
394393
_config_steps_descriptions = _("Explanation of why this step needs to be done at this point")
395394
_config_steps_descriptions = _("Expression to derive new parameter value")
396395
_config_steps_descriptions = _("Expression to rename connection")
396+
_config_steps_descriptions = _(
397+
"If not already present, add parameter to the file: use 'New Value' if provided, otherwise copy the current FC value. Optionally conditioned on a Python expression."
398+
)
397399
_config_steps_descriptions = _("Message about possible jump to another step")
398400
_config_steps_descriptions = _("Name of the vehicle component edited inline for this configuration step")
399401
_config_steps_descriptions = _("Name of tool/process that automatically changes these parameters")
@@ -405,16 +407,19 @@ def configuration_steps_descriptions() -> None:
405407
_config_steps_descriptions = _(
406408
"Optional Python expression; if present, the parameter is only deleted when this expression evaluates to true"
407409
)
410+
_config_steps_descriptions = _("Optional Python expression; the parameter is only added when this evaluates to true")
411+
_config_steps_descriptions = _("Optional expression for the parameter value; if absent, the current FC value is used")
408412
_config_steps_descriptions = _("Optional instructions to display as a popup when entering this step")
413+
_config_steps_descriptions = _("Optional reason for the parameter value")
409414
_config_steps_descriptions = _(
410-
"Parameters to remove from the configuration file, optionally conditioned on a Python expression"
415+
"Parameters to add to the configuration file, if not already present, editable in the UI. Value comes from 'New Value' expression if given, otherwise copied from the FC."
411416
)
412417
_config_steps_descriptions = _(
413-
"Parameters whose values are derived from vehicle component data or FC state. An entry with only 'if' means: add the parameter from the FC at its current value when the condition is true."
418+
"Parameters to remove from the configuration file, optionally conditioned on a Python expression"
414419
)
420+
_config_steps_descriptions = _("Parameters whose values are derived from vehicle component data or FC state.")
415421
_config_steps_descriptions = _("Phases of the configuration process")
416422
_config_steps_descriptions = _("Previous filenames for this step")
417-
_config_steps_descriptions = _("Python expression; the parameter is added from the FC only when this evaluates to true")
418423
_config_steps_descriptions = _("Reason for changing the parameter")
419424
_config_steps_descriptions = _("Reason for the derived parameter")
420425
_config_steps_descriptions = _("Short description for blog reference")

0 commit comments

Comments
 (0)