aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-provider.c')
-rw-r--r--camel/camel-provider.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/camel/camel-provider.c b/camel/camel-provider.c
index 4549445842..ba1dfd5b48 100644
--- a/camel/camel-provider.c
+++ b/camel/camel-provider.c
@@ -29,10 +29,9 @@
/* FIXME: Shouldn't we add a version number to providers ? */
-#include "config.h"
-#include "camel-provider.h"
-#include "camel-exception.h"
-#include "hash-table-utils.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <dirent.h>
#include <errno.h>
@@ -41,6 +40,10 @@
#include <gmodule.h>
+#include "camel-provider.h"
+#include "camel-exception.h"
+#include "hash-table-utils.h"
+
/**
* camel_provider_init:
*
@@ -125,8 +128,8 @@ camel_provider_load (CamelSession *session, const char *path, CamelException *ex
if (!g_module_supported ()) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
- "Could not load %s: Module loading "
- "not supported on this system.",
+ _("Could not load %s: Module loading "
+ "not supported on this system."),
path);
return;
}