diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-06-17 23:50:22 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-18 01:00:30 -0700 |
commit | 2b01ab7d505b55812d656f6ce19ed19965d7c90f (patch) | |
tree | 0e99f5abc24f423f9dc49f98c04dd90ad57b117d /core/checkcloudconnection.cpp | |
parent | 4866dd6f45fd7c3bbd8502bbe4a1c2ae6ed59d40 (diff) | |
download | subsurface-2b01ab7d505b55812d656f6ce19ed19965d7c90f.tar.gz |
Clean up git storage update messages
Translate all of them, but also remove some redundant or possibly
misleading messages. These are now seen by users, not just developers
trying to debug the code.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/checkcloudconnection.cpp')
-rw-r--r-- | core/checkcloudconnection.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/checkcloudconnection.cpp b/core/checkcloudconnection.cpp index b9a11046a..a80739829 100644 --- a/core/checkcloudconnection.cpp +++ b/core/checkcloudconnection.cpp @@ -52,18 +52,17 @@ bool CheckCloudConnection::checkServer() mgr->deleteLater(); if (verbose > 1) qWarning() << "Cloud storage: successfully checked connection to cloud server"; - git_storage_update_progress("successfully checked cloud connection"); return true; } } else if (seconds < prefs.cloud_timeout) { - QString text = QString("waited %1 sec for cloud connetion").arg(seconds); + QString text = tr("Waiting for cloud connetion (%1 seconds passed)").arg(seconds); git_storage_update_progress(qPrintable(text)); } else { disconnect(reply, SIGNAL(finished()), &loop, SLOT(quit())); reply->abort(); } } - git_storage_update_progress("cloud connection failed"); + git_storage_update_progress(qPrintable(tr("Cloud connection failed"))); prefs.git_local_only = true; if (verbose) qDebug() << "connection test to cloud server failed" << |