summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-22 11:30:40 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-22 11:30:40 +0000
commitac07e4e92cf0a3ef2402f36a95749516c4842839 (patch)
treec6a5a3975167c347dc599fa3c96d877785d422af /src/client
parent6bd23bb5d756481eee81f59ba7a0d023e2852de5 (diff)
- 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
Diffstat (limited to 'src/client')
-rwxr-xr-xsrc/client/font.c7
-rwxr-xr-xsrc/client/font.h2
2 files changed, 2 insertions, 7 deletions
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);