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
@ -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…
x
Reference in New Issue
Block a user