evolution-data-server r8856 - branches/gnome-2-22/libedataserverui



Author: mbarnes
Date: Mon May 26 18:47:18 2008
New Revision: 8856
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8856&view=rev

Log:
2008-05-26  Matthew Barnes  <mbarnes redhat com>

	* libedataserverui/e-passwords.c:
	Previous commit caused a string freeze break, so do not translate
	the "key is unusable" error message.  It only appears as a terminal
	message anyway.



Modified:
   branches/gnome-2-22/libedataserverui/ChangeLog
   branches/gnome-2-22/libedataserverui/e-passwords.c

Modified: branches/gnome-2-22/libedataserverui/e-passwords.c
==============================================================================
--- branches/gnome-2-22/libedataserverui/e-passwords.c	(original)
+++ branches/gnome-2-22/libedataserverui/e-passwords.c	Mon May 26 18:47:18 2008
@@ -223,10 +223,13 @@
 
 	/* Make sure the URI has the required components. */
 	if (uri->user == NULL && uri->host == NULL) {
+		/* XXX Leave the string untranslated to avoid breaking
+		 *     GNOME 2.22 string freeze.  The message is only
+		 *     printed to the terminal at this time. */
 		g_set_error (
 			error, EP_KEYRING_ERROR,
 			GNOME_KEYRING_RESULT_BAD_ARGUMENTS,
-			_("Keyring key is unusable: no user or host name"));
+			"Keyring key is unusable: no user or host name");
 		e_uri_free (uri);
 		uri = NULL;
 	}



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