[PATCH] Mark some strings for translation

Miika Turkia miika.turkia at gmail.com
Mon Feb 25 05:33:10 PST 2013


Signed-off-by: Miika Turkia <miika.turkia at gmail.com>
---
 parse-xml.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/parse-xml.c b/parse-xml.c
index 2986d48..19b419c 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;
 	}
 }
@@ -1619,7 +1619,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);
-- 
1.7.9.5



More information about the subsurface mailing list