Skip to content

Commit

Permalink
web/charge_manager: Fix indentation and formatting
Browse files Browse the repository at this point in the history
The two-space indendation for those lines causese VSCode to believe that the whole file uses two-space indentation.
Also unify FFN formating with the DE translation.
  • Loading branch information
MattiasTF committed Nov 14, 2024
1 parent 9625281 commit da603f6
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions software/web/src/modules/charge_manager/translation_en.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,11 @@ let x = {
"target_constant_current_muted": "Chargers will be throttled if this current is exceeded to make sure the largest consumer will not exceed the expected peak current."
},
"automation": {
"charge_manager_wd": "Charge manager watchdog triggered",
"automation_trigger_text": <>When the <b>charge manager watchdog</b> gets triggered, </>,
"set_charge_manager": "Set available current for charge manager",
"automation_action_text": /*FFN*/(current: string) => {
return (
<>
set the current that is available for the <b>charge manager</b> to <b>{current} A</b>.
</>
);
}/*NF*/,
"max_current": "Maximum current"
"charge_manager_wd": "Charge manager watchdog triggered",
"automation_trigger_text": <>When the <b>charge manager watchdog</b> gets triggered, </>,
"set_charge_manager": "Set available current for charge manager",
"automation_action_text": /*FFN*/(current: string) => <>set the current that is available for the <b>charge manager</b> to <b>{current} A</b>.</>/*NF*/,
"max_current": "Maximum current"
},
"script": {
"charge_state_0": "No vehicle connected",
Expand Down

0 comments on commit da603f6

Please sign in to comment.