mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
// you cannot cancel the dialog, just the download
|
||||||
ui.cancel->setEnabled(false);
|
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
|
// I don't really think that create/destroy the thread
|
||||||
// is really necessary.
|
// is really necessary.
|
||||||
|
@ -464,7 +464,7 @@ void DownloadFromDCWidget::onDownloadThreadFinished()
|
||||||
} else if (currentState == CANCELLING) {
|
} else if (currentState == CANCELLING) {
|
||||||
updateState(DONE);
|
updateState(DONE);
|
||||||
}
|
}
|
||||||
ui.downloadCancelRetryButton->setText(tr("Retry"));
|
ui.downloadCancelRetryButton->setText(tr("Retry download"));
|
||||||
ui.downloadCancelRetryButton->setEnabled(true);
|
ui.downloadCancelRetryButton->setEnabled(true);
|
||||||
// regardless, if we got dives, we should show them to the user
|
// regardless, if we got dives, we should show them to the user
|
||||||
if (downloadTable.nr) {
|
if (downloadTable.nr) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue