summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-02-25 15:33:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-25 07:47:25 -0800
commitc1581ef45bcf504713f09c857db02bde18dff60d (patch)
tree457c85bde126ecefeb84ca38859a8463f996681b /parse-xml.c
parentfb70834a3082c3bb66ff053aff2ce43004d1d8c7 (diff)
downloadsubsurface-c1581ef45bcf504713f09c857db02bde18dff60d.tar.gz
Mark some strings for translation
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 0a69126d3..618d058a4 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -384,7 +384,7 @@ static void percent(char *buffer, void *_fraction)
break;
}
default:
- printf("Strange percentage reading %s\n", buffer);
+ printf(_("Strange percentage reading %s\n"), buffer);
break;
}
}
@@ -1613,7 +1613,7 @@ static xmlDoc *test_xslt_transforms(xmlDoc *doc, GError **error)
xmlSubstituteEntitiesDefault(1);
xslt = get_stylesheet(info->file);
if (xslt == NULL) {
- parser_error(error, "Can't open stylesheet (%s)/%s", xslt_path, info->file);
+ parser_error(error, _("Can't open stylesheet (%s)/%s"), xslt_path, info->file);
return doc;
}
transformed = xsltApplyStylesheet(xslt, doc, NULL);