mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Configure DC dialog: Add a few missing translations
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
eb08ec972d
commit
1723db9d0b
2 changed files with 7 additions and 7 deletions
|
@ -899,7 +899,7 @@ void ConfigureDiveComputerDialog::configMessage(QString msg)
|
|||
|
||||
void ConfigureDiveComputerDialog::configError(QString err)
|
||||
{
|
||||
ui.progressBar->setFormat("Error: " + err);
|
||||
ui.progressBar->setFormat(tr("Error") + ": " + err);
|
||||
}
|
||||
|
||||
void ConfigureDiveComputerDialog::getDeviceData()
|
||||
|
@ -1501,7 +1501,7 @@ void ConfigureDiveComputerDialog::bluetoothSelectionDialogIsFinished(int result)
|
|||
ui.device->setCurrentText(btDeviceSelectionDialog->getSelectedDeviceText());
|
||||
device_data.bluetooth_mode = true;
|
||||
|
||||
ui.progressBar->setFormat("Connecting to device...");
|
||||
ui.progressBar->setFormat(tr("Connecting to device..."));
|
||||
dc_open();
|
||||
}
|
||||
}
|
||||
|
@ -1528,7 +1528,7 @@ void ConfigureDiveComputerDialog::dc_open()
|
|||
ui.logToFile->setEnabled(false);
|
||||
if (fw_upgrade_possible)
|
||||
ui.updateFirmwareButton->setEnabled(true);
|
||||
ui.progressBar->setFormat("Connected to device");
|
||||
ui.progressBar->setFormat(tr("Connected to device"));
|
||||
}
|
||||
|
||||
void ConfigureDiveComputerDialog::dc_close()
|
||||
|
@ -1548,6 +1548,6 @@ void ConfigureDiveComputerDialog::dc_close()
|
|||
ui.DiveComputerList->setEnabled(true);
|
||||
ui.logToFile->setEnabled(true);
|
||||
ui.updateFirmwareButton->setEnabled(false);
|
||||
ui.progressBar->setFormat("Disconnected from device");
|
||||
ui.progressBar->setFormat(tr("Disconnected from device"));
|
||||
ui.progressBar->setValue(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue