mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Translate string "cancel download" in DC download widget...
and change string "Retry" to "Retry download". Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
d82e200d35
commit
45dd564ee6
1 changed files with 2 additions and 2 deletions
|
@ -323,7 +323,7 @@ void DownloadFromDCWidget::on_downloadCancelRetryButton_clicked()
|
|||
|
||||
// you cannot cancel the dialog, just the download
|
||||
ui.cancel->setEnabled(false);
|
||||
ui.downloadCancelRetryButton->setText("Cancel download");
|
||||
ui.downloadCancelRetryButton->setText(tr("Cancel download"));
|
||||
|
||||
// I don't really think that create/destroy the thread
|
||||
// is really necessary.
|
||||
|
@ -464,7 +464,7 @@ void DownloadFromDCWidget::onDownloadThreadFinished()
|
|||
} else if (currentState == CANCELLING) {
|
||||
updateState(DONE);
|
||||
}
|
||||
ui.downloadCancelRetryButton->setText(tr("Retry"));
|
||||
ui.downloadCancelRetryButton->setText(tr("Retry download"));
|
||||
ui.downloadCancelRetryButton->setEnabled(true);
|
||||
// regardless, if we got dives, we should show them to the user
|
||||
if (downloadTable.nr) {
|
||||
|
|
Loading…
Reference in a new issue