From ac07e4e92cf0a3ef2402f36a95749516c4842839 Mon Sep 17 00:00:00 2001 From: scarab Date: Fri, 22 Aug 2008 11:30:40 +0000 Subject: - update de_DE - pridan dalsi radek printf do .pot - uzivatel muze definovat pomoci cmake font git-svn-id: http://opensvn.csie.org/tuxanci_ng@236 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- src/client/font.c | 7 +------ src/client/font.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'src/client') diff --git a/src/client/font.c b/src/client/font.c index 07b98f4..5f4e692 100755 --- a/src/client/font.c +++ b/src/client/font.c @@ -12,11 +12,6 @@ bool_t isFontInicialized() return isFontInit; } -/* - * Inicialuzuje font. - * nacita font zo suboru *file o velkosti size - * Automaticky sa styk nastavy ako TTF_STYLE_BOLD - */ void initFont(char *file,int size) { char str[STR_PATH_SIZE]; @@ -41,7 +36,7 @@ void initFont(char *file,int size) fontSize = size; #ifdef DEBUG - printf("Loading font: \"%s\"\n", file); + printf(_("Loading font: \"%s\"\n"), file); #endif isFontInit = TRUE; } diff --git a/src/client/font.h b/src/client/font.h index 418cef3..b404e59 100755 --- a/src/client/font.h +++ b/src/client/font.h @@ -16,7 +16,7 @@ #define COLOR_YELLOW 255, 255, 0 #define FONT_SIZE 16 -#define FONT_FILE "DejaVuSans.ttf" + extern bool_t isFontInicialized(); extern void initFont(char *file,int size); extern void drawFont(char *s,int x,int y,int r,int g,int b); -- cgit v1.2.3