From 9c71274e5c4cde5dd99a0eb927243f6c481df1f2 Mon Sep 17 00:00:00 2001 From: scarab Date: Mon, 18 Aug 2008 21:50:13 +0000 Subject: - hromada preklapeni na gettext - zbyva odstranit language funkci - pak uz zbyva pouze rozchodit uplne gettext a vyrobit preklady git-svn-id: http://opensvn.csie.org/tuxanci_ng@222 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/base/textFile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/base/textFile.c') diff --git a/src/base/textFile.c b/src/base/textFile.c index 00016df..b7668ef 100755 --- a/src/base/textFile.c +++ b/src/base/textFile.c @@ -82,14 +82,14 @@ textFile_t* loadTextFile(char *s) if( lstat(s, &buf) < 0 ) { - fprintf(stderr, "ERROR: unable to get file status for %s!\n", s); + fprintf(stderr, _("ERROR: unable to get file status for %s!\n"), s); return NULL; } file_length = buf.st_size; if( (file = fopen(s, "rb")) == NULL ) { - fprintf(stderr, "ERROR: unable to open file %s for reading\n", s); + fprintf(stderr, _("ERROR: unable to open file %s for reading\n"), s); return NULL; } @@ -97,7 +97,7 @@ textFile_t* loadTextFile(char *s) if( fread(p, file_length * sizeof(char), 1, file) != 1 ) { - fprintf(stderr, "ERROR: unable to read data from file %s\n",s); + fprintf(stderr, _("ERROR: unable to read data from file %s\n"),s); fclose(file); return NULL; } @@ -122,7 +122,7 @@ void printTextFile(textFile_t *p) assert( p != NULL ); - printf("file : %s\n\n", p->file); + printf(_("Printing file: \"%s\"\n\n"), p->file); for(i = 0; i < p->text->count; i++) { -- cgit v1.2.3