summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/file.c b/file.c
index 130568245..a4b90129a 100644
--- a/file.c
+++ b/file.c
@@ -103,9 +103,9 @@ static int try_to_xslt_open_csv(const char *filename, struct memblock *mem, char
if (readfile(filename, mem) < 0) {
if (error) {
- int len = strlen(tr("Failed to read '%s'")) + strlen(filename);
+ int len = strlen(translate("gettextFromC","Failed to read '%s'")) + strlen(filename);
*error = malloc(len);
- snprintf(*error, len, tr("Failed to read '%s'"), filename);
+ snprintf(*error, len, translate("gettextFromC","Failed to read '%s'"), filename);
}
return 1;
@@ -300,9 +300,9 @@ void parse_file(const char *filename, char **error)
return;
if (error) {
- int len = strlen(tr("Failed to read '%s'")) + strlen(filename);
+ int len = strlen(translate("gettextFromC","Failed to read '%s'")) + strlen(filename);
*error = malloc(len);
- snprintf(*error, len, tr("Failed to read '%s'"), filename);
+ snprintf(*error, len, translate("gettextFromC","Failed to read '%s'"), filename);
}
return;