aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-session.c')
-rw-r--r--camel/camel-session.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camel/camel-session.c b/camel/camel-session.c
index 6f6896c885..3e2424a401 100644
--- a/camel/camel-session.c
+++ b/camel/camel-session.c
@@ -267,8 +267,7 @@ camel_session_get_service (CamelSession *session, const char *url_string,
if (!provider || !provider->object_types[type]) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_URL_INVALID,
- "No %s available for protocol `%s'",
- camel_provider_type_name[type],
+ _("No provider available for protocol `%s'"),
url->protocol);
camel_url_free (url);
return NULL;
@@ -356,7 +355,7 @@ camel_session_get_storage_path (CamelSession *session, CamelService *service,
if (e_mkdir_hier (path, S_IRWXU) == -1) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
- "Could not create directory %s:\n%s",
+ _("Could not create directory %s:\n%s"),
path, g_strerror (errno));
g_free (path);
return NULL;