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/client/image.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/client/image.c') diff --git a/src/client/image.c b/src/client/image.c index e76e1cf..bcac02c 100755 --- a/src/client/image.c +++ b/src/client/image.c @@ -25,8 +25,9 @@ bool_t isImageInicialized() void initImageData() { assert( isInterfaceInicialized() == TRUE ); - - printf("init image database..\n"); +#ifdef DEBUG + printf(_("Initializing image database\n")); +#endif listStorage = newStorage(); isImageDataInit = TRUE; } @@ -100,9 +101,9 @@ image_t* addImageData(char *file, int alpha, char *name, char *group) new = newImage(surface); addItemToStorage(listStorage, group, name, new ); - - printf("load image %s\n", file); - +#ifdef DEBUG + printf(_("Loading image %s\n"), file); +#endif return new; } @@ -159,7 +160,9 @@ void drawImage(image_t *p, int x,int y, int px, int py, int w, int h) */ void quitImageData() { - printf("quit image database..\n"); +#ifdef DEBUG + printf(_("Quitting image database\n")); +#endif destroyStorage(listStorage, destroyImage); isImageDataInit = FALSE; } -- cgit v1.2.3