From 39b16e3f9fa51e737dd4cdfed7def8259757d24c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 15 Apr 2018 17:08:44 +0200 Subject: Internationalise all strings in source code --- src/utils.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 0191d18..9033466 100644 --- a/src/utils.c +++ b/src/utils.c @@ -29,6 +29,8 @@ #include #include +#include "utils.h" + void chomp(char *s) { size_t i; @@ -125,7 +127,7 @@ char *load_everything(const char *filename) everything = realloc(everything, el+len); if ( everything == NULL ) { - fprintf(stderr, "Failed to allocate memory\n"); + fprintf(stderr, _("Failed to allocate memory\n")); return NULL; } el += len; -- cgit v1.2.3