diff options
author | Thomas White <taw@bitwiz.me.uk> | 2018-04-15 17:08:44 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2018-04-15 17:09:12 +0200 |
commit | 39b16e3f9fa51e737dd4cdfed7def8259757d24c (patch) | |
tree | cd19d32fe64364e24d03795d6fdf5d246c309b92 /src/utils.c | |
parent | a20ab237477fe774d69fa742d59a5659ede35b15 (diff) |
Internationalise all strings in source code
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <stdio.h> #include <stdlib.h> +#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; |