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/screen/screen_table.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/screen/screen_table.c') diff --git a/src/screen/screen_table.c b/src/screen/screen_table.c index 3c26c0a..fa8e738 100644 --- a/src/screen/screen_table.c +++ b/src/screen/screen_table.c @@ -96,7 +96,7 @@ static void setWidgetLabel() if( textFile == NULL ) { - fprintf(stderr, "File %s not loaded !", + fprintf(stderr, _("Highscore file: \"%s\" was not loaded!"), SCREEN_TABLE_FILE_HIGHSCORE_NAME); return; @@ -149,8 +149,8 @@ static void loadHighscoreFile() if( textFile == NULL ) { - fprintf(stderr, "I can't load %s !\n", path); - fprintf(stderr, "I create %s\n", path); + fprintf(stderr, _("I am unable to load: \"%s\" !\n"), path); + fprintf(stderr, _("Creating: \"%s\"\n"), path); textFile = newTextFile(path); } else @@ -160,7 +160,7 @@ static void loadHighscoreFile() if( textFile == NULL ) { - fprintf(stderr, "I can't create %s !\n", path); + fprintf(stderr, _("I was unable to create: \"%s\" !\n"), path); return; } @@ -208,7 +208,7 @@ void initScreenTable() image = addImageData("screen_table.png", IMAGE_NO_ALPHA, "screen_table", IMAGE_GROUP_BASE); image_backgorund = newWidgetImage(0, 0, image); - button_back = newWidgetButton(getMyText("BACK"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, + button_back = newWidgetButton(_("back"), WINDOW_SIZE_X/2 -WIDGET_BUTTON_WIDTH/2, WINDOW_SIZE_Y-100, eventWidget); loadHighscoreFile(); -- cgit v1.2.3