diff options
| author | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-18 21:50:13 +0000 |
|---|---|---|
| committer | scarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-08-18 21:50:13 +0000 |
| commit | 9c71274e5c4cde5dd99a0eb927243f6c481df1f2 (patch) | |
| tree | 17d77f14943b7f463145a5550330b56f0ea9548b /src/screen/screen_table.c | |
| parent | 9acea18a3a920b781414ba44e1e1651ea760867b (diff) | |
- 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
Diffstat (limited to 'src/screen/screen_table.c')
| -rw-r--r-- | src/screen/screen_table.c | 10 |
1 files changed, 5 insertions, 5 deletions
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(); |