summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-04-12 20:17:06 -0400
committerDan Winship <danw@gnome.org>2012-04-17 09:54:08 -0400
commit02dcd6378070347f2b3cc59a82e79e60afa0583d (patch)
tree539777cd7c413ab74118ead115f502a93229e7c2 /tests
parent127d3b08422d3d94caca7175ddcf40003f7d0b35 (diff)
downloadlibsoup-02dcd6378070347f2b3cc59a82e79e60afa0583d.tar.gz
Add gettext support
There were already error messages in soup-request.c and soup-requester.c marked for translation, and we'll be adding more soon.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 47f1db01..fee671aa 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -5,6 +5,7 @@
#include "test-utils.h"
#include "libsoup/soup.h"
+#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -81,6 +82,7 @@ test_init (int argc, char **argv, GOptionEntry *entries)
GError *error = NULL;
GTlsBackend *tls_backend;
+ setlocale (LC_ALL, "");
g_type_init ();
name = strrchr (argv[0], '/');