From 360675f54b51d53ac99409077f2d31d96284fb9b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 24 Oct 2000 05:23:27 +0000 Subject: lots of i18n fixes svn path=/trunk/; revision=6143 --- camel/camel-url.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'camel/camel-url.c') diff --git a/camel/camel-url.c b/camel/camel-url.c index e52645c8e2..04c84dc450 100644 --- a/camel/camel-url.c +++ b/camel/camel-url.c @@ -35,6 +35,7 @@ #include #include "camel-url.h" #include "camel-exception.h" +#include "camel-object.h" /** * camel_url_new: create a CamelURL object from a string @@ -73,7 +74,7 @@ camel_url_new (const char *url_string, CamelException *ex) colon = strchr (url_string, ':'); if (!colon) { camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID, - "URL string `%s' contains no protocol", + _("URL string `%s' contains no protocol"), url_string); return NULL; } @@ -88,7 +89,7 @@ camel_url_new (const char *url_string, CamelException *ex) if (!((*p >= 'a' && *p <= 'z') || (*p == '-') || (*p == '+') || (*p == '.'))) { camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID, - "URL string `%s' contains an invalid protocol", + _("URL string `%s' contains an invalid protocol"), url_string); return NULL; } @@ -149,8 +150,8 @@ camel_url_new (const char *url_string, CamelException *ex) url->port = strtoul (colon + 1, &colon, 10); if (*colon && colon != slash) { camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID, - "Port number in URL `%s' is non-" - "numeric", url_string); + _("Port number in URL `%s' is non-" + "numeric"), url_string); camel_url_free (url); return NULL; } -- cgit v1.2.3