Further improvements to the translation system

This commit is contained in:
Alexander Babikov
2024-11-13 19:42:27 +05:00
parent 6110a60f14
commit 83064c6e21
4 changed files with 24 additions and 33 deletions

View File

@@ -127,7 +127,7 @@ SettingsNetwork::onCurrentMachineChanged(int machineId)
}
if (network_card_available(c) && device_is_valid(network_card_getdevice(c), machineId)) {
int row = Models::AddEntry(model, tr(name.toUtf8().data()), c);
int row = Models::AddEntry(model, name, c);
if (c == net_cards_conf[i].device_num) {
selectedRow = row - removeRows;
}