summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 2c47f81e6..cb84cc26a 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -11,6 +11,7 @@
#ifdef XSLT
#include <libxslt/transform.h>
#endif
+#include <glib/gi18n.h>
#include "dive.h"
#include "uemis.h"
@@ -1489,12 +1490,12 @@ void parse_xml_buffer(const char *url, const char *buffer, int size, GError **er
doc = xmlReadMemory(buffer, size, url, NULL, 0);
if (!doc) {
- fprintf(stderr, "Failed to parse '%s'.\n", url);
+ fprintf(stderr, _("Failed to parse '%s'.\n"), url);
if (error != NULL)
{
*error = g_error_new(g_quark_from_string("subsurface"),
DIVE_ERROR_PARSE,
- "Failed to parse '%s'",
+ _("Failed to parse '%s'"),
url);
}
return;