changeset 27460:6275df9d2d62

Change strings in libpurple/protocols/jabber/auth.c and util.c a little bit so they are shared. global_string_count--
author Mark Doliner <mark@kingant.net>
date Mon, 06 Jul 2009 05:50:43 +0000
parents 714f9352e844
children c4e5ba03ff73
files libpurple/protocols/jabber/auth.c libpurple/util.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c	Mon Jul 06 05:44:26 2009 +0000
+++ b/libpurple/protocols/jabber/auth.c	Mon Jul 06 05:50:43 2009 +0000
@@ -54,12 +54,12 @@
 		} else if(xmlnode_get_child(starttls, "required")) {
 			purple_connection_error_reason (js->gc,
 				PURPLE_CONNECTION_ERROR_NO_SSL_SUPPORT,
-				_("Server requires TLS/SSL for login.  No TLS/SSL support found."));
+				_("Server requires TLS/SSL, but no TLS/SSL support was found."));
 			return TRUE;
 		} else if(purple_account_get_bool(js->gc->account, "require_tls", FALSE)) {
 			purple_connection_error_reason (js->gc,
 				 PURPLE_CONNECTION_ERROR_NO_SSL_SUPPORT,
-				_("You require encryption, but no TLS/SSL support found."));
+				_("You require encryption, but no TLS/SSL support was found."));
 			return TRUE;
 		}
 	}
--- a/libpurple/util.c	Mon Jul 06 05:44:26 2009 +0000
+++ b/libpurple/util.c	Mon Jul 06 05:50:43 2009 +0000
@@ -4184,8 +4184,9 @@
 	if (purple_strcasestr(url, "https://") != NULL) {
 		if (!purple_ssl_is_supported()) {
 			purple_util_fetch_url_error(gfud,
-					_("Unable to connect to %s: Server requires TLS/SSL, but no TLS/SSL support was found."),
-					gfud->website.address);
+					_("Unable to connect to %s: %s"),
+					gfud->website.address,
+					_("Server requires TLS/SSL, but no TLS/SSL support was found."));
 			return NULL;
 		}