Skip to content

Commit

Permalink
feat(cpn): allow for translation of Flight/Drive modes tab title (#5882)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfhedlund authored Feb 8, 2025
1 parent 4a0ad03 commit 8bce1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion companion/src/modeledit/modeledit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ModelEdit::ModelEdit(QWidget * parent, RadioData & radioData, int modelId, Firmw
s1.report("Heli");
}

QString radioType = QString("%1 Modes").arg(Boards::getRadioTypeString(firmware->getBoard()));
QString radioType = QString(tr("%1 Modes").arg(Boards::getRadioTypeString(firmware->getBoard())));
FlightModesPanel *flightModesPanel = new FlightModesPanel(this, model, generalSettings, firmware, sharedItemModels);
addTab(flightModesPanel, radioType);
s1.report(radioType);
Expand Down

0 comments on commit 8bce1c9

Please sign in to comment.