From 2b01ab7d505b55812d656f6ce19ed19965d7c90f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 17 Jun 2017 23:50:22 -0700 Subject: 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 --- core/checkcloudconnection.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/checkcloudconnection.cpp') 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" << -- cgit v1.2.3-70-g09d2