Use power port string from translations

This commit is contained in:
rotorman
2022-04-22 13:53:43 +02:00
parent ae265b6f94
commit db8c38d4c7
16 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ class SerialConfigWindow : public FormGroup
#if defined(SWSERIALPOWER)
if (port_nr < SP_VCP)
{
new StaticText(this, grid.getLabelSlot(true), "Port power:", 0, COLOR_THEME_PRIMARY1);
new StaticText(this, grid.getLabelSlot(true), STR_AUX_SERIAL_PORT_POWER, 0, COLOR_THEME_PRIMARY1);
new CheckBox(
this, grid.getFieldSlot(1, 0),
[=] { return serialGetPower(port_nr); },