diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-04-23 09:51:44 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-04-23 08:08:10 -0700 |
commit | 45dd564ee6bfb919e256a6798d7fec333d2dbb7a (patch) | |
tree | 0b05492afd44d8274b1fabd8e7c46af6df614357 /desktop-widgets/downloadfromdivecomputer.cpp | |
parent | d82e200d3583f86cec17cd858e54c46b35fd639d (diff) | |
download | subsurface-45dd564ee6bfb919e256a6798d7fec333d2dbb7a.tar.gz |
Translate string "cancel download" in DC download widget...
and change string "Retry" to "Retry download".
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index cf16271b0..8225b23ad 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -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) { |