Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 5da5765c5c8f8ed0660817fae812758c > files > 3

akonadi-googledata-1.2.0-1.1.mga1.src.rpm

--- contacts/googledataresource.cpp	2010/09/07 23:00:58	1172736
+++ contacts/googledataresource.cpp	2010/10/11 07:33:15	1184649
@@ -204,9 +204,9 @@
 	if (!authenticated)
 		configure(0);
 	if (!authenticated) {
-		ResourceBase::cancelTask(QString("Failed retrieving contacts!"));
+		ResourceBase::cancelTask(i18n("Failed retrieving contacts!"));
 		ResourceBase::doSetOnline(false);
-		emit error(QString("retrieveItems: not authenticated!"));
+		emit error(i18n("retrieveItems: not authenticated!"));
 		return;
 	}
 
@@ -222,7 +222,7 @@
 	/* Downloading the contacts can be slow and it is blocking.
 	 */
 	if ((result = gcal_get_contacts(gcal, &all_contacts))) {
-		ResourceBase::cancelTask(QString("Failed contacts retrieving!"));
+		ResourceBase::cancelTask(i18n("Failed contacts retrieving!"));
 		ResourceBase::doSetOnline(false);
 		return;
         }
@@ -1140,7 +1140,7 @@
 					      "Failed adding new contact.");
 		emit error(message);
 		emit status(Broken, message);
-		ResourceBase::cancelTask(QString("Failed adding contact!"));
+		ResourceBase::cancelTask(i18n("Failed adding contact!"));
 		ResourceBase::doSetOnline(false);
 		return;
 	}