evolution-data-server r9140 - trunk/camel/providers/imap4



Author: fejj
Date: Sun Jul 20 00:59:50 2008
New Revision: 9140
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9140&view=rev

Log:
2008-07-19  Jeffrey Stedfast  <fejj novell com>

	* camel-imap4-store.c: s/Unknown/Unknown error/g

	* camel-imap4-engine.c: Same.

	* camel-imap4-folder.c: Same.



Modified:
   trunk/camel/providers/imap4/ChangeLog
   trunk/camel/providers/imap4/camel-imap4-engine.c
   trunk/camel/providers/imap4/camel-imap4-folder.c
   trunk/camel/providers/imap4/camel-imap4-store-summary.c
   trunk/camel/providers/imap4/camel-imap4-store.c
   trunk/camel/providers/imap4/camel-imap4-summary.c

Modified: trunk/camel/providers/imap4/camel-imap4-engine.c
==============================================================================
--- trunk/camel/providers/imap4/camel-imap4-engine.c	(original)
+++ trunk/camel/providers/imap4/camel-imap4-engine.c	Sun Jul 20 00:59:50 2008
@@ -1567,7 +1567,7 @@
 	if (camel_imap4_stream_next_token (engine->istream, token) == -1) {
 		camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
 				      _("IMAP4 server %s unexpectedly disconnected: %s"),
-				      engine->url->host, errno ? g_strerror (errno) : _("Unknown"));
+				      engine->url->host, errno ? g_strerror (errno) : _("Unknown error"));
 		
 		engine->state = CAMEL_IMAP4_ENGINE_DISCONNECTED;
 		
@@ -1606,7 +1606,7 @@
 			if (retval == -1) {
 				camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
 						      _("IMAP4 server %s unexpectedly disconnected: %s"),
-						      engine->url->host, errno ? g_strerror (errno) : _("Unknown"));
+						      engine->url->host, errno ? g_strerror (errno) : _("Unknown error"));
 				
 				engine->state = CAMEL_IMAP4_ENGINE_DISCONNECTED;
 				
@@ -1651,7 +1651,7 @@
 	if (retval == -1) {
 		camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
 				      _("IMAP4 server %s unexpectedly disconnected: %s"),
-				      engine->url->host, errno ? g_strerror (errno) : _("Unknown"));
+				      engine->url->host, errno ? g_strerror (errno) : _("Unknown error"));
 		
 		if (linebuf != NULL)
 			g_byte_array_free (linebuf, TRUE);
@@ -1707,7 +1707,7 @@
 	if (retval == -1) {
 		camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
 				      _("IMAP4 server %s unexpectedly disconnected: %s"),
-				      engine->url->host, errno ? g_strerror (errno) : _("Unknown"));
+				      engine->url->host, errno ? g_strerror (errno) : _("Unknown error"));
 		
 		if (literalbuf != NULL)
 			g_byte_array_free (literalbuf, TRUE);

Modified: trunk/camel/providers/imap4/camel-imap4-folder.c
==============================================================================
--- trunk/camel/providers/imap4/camel-imap4-folder.c	(original)
+++ trunk/camel/providers/imap4/camel-imap4-folder.c	Sun Jul 20 00:59:50 2008
@@ -479,7 +479,7 @@
 		case CAMEL_IMAP4_RESULT_NO:
 			/* FIXME: would be good to save the NO reason into the err message */
 			camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
-					      _("Cannot sync flags to folder '%s': Unknown"),
+					      _("Cannot sync flags to folder '%s': Unknown error"),
 					      folder->full_name);
 			retval = -1;
 			break;
@@ -625,7 +625,7 @@
 		case CAMEL_IMAP4_RESULT_NO:
 			/* FIXME: would be good to save the NO reason into the err message */
 			camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
-					      _("Cannot expunge folder '%s': Unknown"),
+					      _("Cannot expunge folder '%s': Unknown error"),
 					      folder->full_name);
 			break;
 		case CAMEL_IMAP4_RESULT_BAD:
@@ -1178,11 +1178,11 @@
 			/* FIXME: would be good to save the NO reason into the err message */
 			if (move) {
 				camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
-						      _("Cannot move messages from folder '%s' to folder '%s': Unknown"),
+						      _("Cannot move messages from folder '%s' to folder '%s': Unknown error"),
 						      src->full_name, dest->full_name);
 			} else {
 				camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
-						      _("Cannot copy messages from folder '%s' to folder '%s': Unknown"),
+						      _("Cannot copy messages from folder '%s' to folder '%s': Unknown error"),
 						      src->full_name, dest->full_name);
 			}
 			

Modified: trunk/camel/providers/imap4/camel-imap4-store-summary.c
==============================================================================
--- trunk/camel/providers/imap4/camel-imap4-store-summary.c	(original)
+++ trunk/camel/providers/imap4/camel-imap4-store-summary.c	Sun Jul 20 00:59:50 2008
@@ -38,6 +38,7 @@
 #include "camel-imap4-store-summary.h"
 #include "camel-imap4-utils.h"
 
+
 #define CAMEL_IMAP4_STORE_SUMMARY_VERSION_0 (0)
 #define CAMEL_IMAP4_STORE_SUMMARY_VERSION (0)
 

Modified: trunk/camel/providers/imap4/camel-imap4-store.c
==============================================================================
--- trunk/camel/providers/imap4/camel-imap4-store.c	(original)
+++ trunk/camel/providers/imap4/camel-imap4-store.c	Sun Jul 20 00:59:50 2008
@@ -737,7 +737,7 @@
 	
 	if (ic->result != CAMEL_IMAP4_RESULT_OK) {
 		camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
-				      _("Cannot get folder '%s' on IMAP server %s: Unknown"),
+				      _("Cannot get folder '%s' on IMAP server %s: Unknown error"),
 				      folder_name, ((CamelService *) store)->url->host);
 		camel_imap4_command_unref (ic);
 		goto done;
@@ -820,7 +820,7 @@
 		camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
 				      _("Cannot get LIST information for '%s' on IMAP server %s: %s"),
 				      folder_name, engine->url->host, ic->result == CAMEL_IMAP4_RESULT_BAD ?
-				      _("Bad command") : _("Unknown"));
+				      _("Bad command") : _("Unknown error"));
 		
 		for (i = 0; i < array->len; i++) {
 			list = array->pdata[i];
@@ -1574,7 +1574,7 @@
 		camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
 				      _("Cannot get %s information for pattern '%s' on IMAP server %s: %s"),
 				      cmd, pattern, engine->url->host, ic->result == CAMEL_IMAP4_RESULT_BAD ?
-				      _("Bad command") : _("Unknown"));
+				      _("Bad command") : _("Unknown error"));
 		
 		for (i = 0; i < array->len; i++) {
 			list = array->pdata[i];

Modified: trunk/camel/providers/imap4/camel-imap4-summary.c
==============================================================================
--- trunk/camel/providers/imap4/camel-imap4-summary.c	(original)
+++ trunk/camel/providers/imap4/camel-imap4-summary.c	Sun Jul 20 00:59:50 2008
@@ -446,7 +446,7 @@
 		return NULL;
 	
 	if (irt) {
-		/* The References field is populated from the 'References' and/or 'In-Reply-To'
+		/* The References field is populated from the `References' and/or `In-Reply-To'
 		   headers. If both headers exist, take the first thing in the In-Reply-To header
 		   that looks like a Message-ID, and append it to the References header. */
 		



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]