Commit ecff61c8 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

- Added Polish translation.

- Moved const "Nobody" string to resources to make translation possible.
parent 2bf1562c
...@@ -23,7 +23,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT ...@@ -23,7 +23,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -24,7 +24,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US ...@@ -24,7 +24,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -23,7 +23,7 @@ LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT ...@@ -23,7 +23,7 @@ LANGUAGE LANG_SPANISH, SUBLANG_DEFAULT
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -25,7 +25,7 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL ...@@ -25,7 +25,7 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "Dmineur Wine" IDS_APPNAME, "Dmineur Wine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -25,7 +25,7 @@ LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT ...@@ -25,7 +25,7 @@ LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -22,7 +22,7 @@ LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT ...@@ -22,7 +22,7 @@ LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
/*
* WineMine
* Polish Language Support
*
* Copyright 2000 Joshua Thielen
* Copyright 2003 Marcelo Duarte
* Copyright 2004 Jacek Caban
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Anonim"
}
MENU_WINEMINE MENU DISCARDABLE
{
POPUP "&Opcje" {
MENUITEM "&Nowa\tF2", IDM_NEW
MENUITEM SEPARATOR
MENUITEM "&Znaczniki", IDM_MARKQ
MENUITEM SEPARATOR
MENUITEM "&Pocztkujcy", IDM_BEGINNER
MENUITEM "Z&aawansowany", IDM_ADVANCED
MENUITEM "&Ekspert", IDM_EXPERT
MENUITEM "&Uytkownika", IDM_CUSTOM
MENUITEM SEPARATOR
MENUITEM "&Najlepsze Wyniki", IDM_TIMES
MENUITEM SEPARATOR
MENUITEM "W&yjcie\tAlt+X", IDM_EXIT
}
POPUP "&Pomoc" {
MENUITEM "&O Programie", IDM_ABOUT
}
}
DLG_TIMES DIALOG DISCARDABLE 0, 0, 170, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Najlepsze Wyniki"
{
GROUPBOX "Najlepsze Wyniki", IDIGNORE, 10, 10, 150, 45
LTEXT "Pocztkujcy", IDIGNORE, 20, 20, 50, 8
LTEXT "Zaawansowany", IDIGNORE, 20, 30, 50, 8
LTEXT "Ekspert", IDIGNORE, 20, 40, 50, 8
LTEXT "999", IDC_TIME1, 80, 20, 15, 8
LTEXT "999", IDC_TIME2, 80, 30, 15, 8
LTEXT "999", IDC_TIME3, 80, 40, 15, 8
LTEXT "", IDC_NAME1, 100, 20, 55, 8
LTEXT "", IDC_NAME2, 100, 30, 55, 8
LTEXT "", IDC_NAME3, 100, 40, 55, 8
DEFPUSHBUTTON "OK", IDOK, 60, 60, 50, 15
}
DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Gratulacje!"
{
LTEXT "Podaj swoje imi", IDIGNORE, 10, 10, 150, 10
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
}
DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Custom Game"
{
LTEXT "Wiersze", IDIGNORE, 5, 5, 30, 10
LTEXT "Kolumny", IDIGNORE, 5, 35, 30, 10
LTEXT "Miny", IDIGNORE, 5, 65, 30, 10
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Anuluj", IDCANCEL, 40, 50, 50, 15
}
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 160, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "About"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "Na licencji LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
...@@ -23,7 +23,7 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT ...@@ -23,7 +23,7 @@ LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -23,7 +23,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT ...@@ -23,7 +23,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -23,7 +23,7 @@ LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT ...@@ -23,7 +23,7 @@ LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "WineMine" IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
} }
MENU_WINEMINE MENU DISCARDABLE MENU_WINEMINE MENU DISCARDABLE
......
...@@ -366,7 +366,7 @@ void LoadBoard( BOARD *p_board ) ...@@ -366,7 +366,7 @@ void LoadBoard( BOARD *p_board )
(LPDWORD) &size ) == ERROR_SUCCESS ) (LPDWORD) &size ) == ERROR_SUCCESS )
strncpy( p_board->best_name[i], data, sizeof( data ) ); strncpy( p_board->best_name[i], data, sizeof( data ) );
else else
wsprintf( p_board->best_name[i], "Nobody"); LoadString( p_board->hInst, IDS_NOBODY, p_board->best_name[i], 16 );
} }
for( i = 0; i < 3; i++ ) { for( i = 0; i < 3; i++ ) {
......
...@@ -46,5 +46,6 @@ ...@@ -46,5 +46,6 @@
#define IDC_EDITMINES 1033 #define IDC_EDITMINES 1033
#define IDS_APPNAME 1101 #define IDS_APPNAME 1101
#define IDS_NOBODY 1102
#define IDA_WINEMINE 1201 #define IDA_WINEMINE 1201
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "Fr.rc" #include "Fr.rc"
#include "It.rc" #include "It.rc"
#include "Nl.rc" #include "Nl.rc"
#include "Pl.rc"
#include "Pt.rc" #include "Pt.rc"
#include "Ru.rc" #include "Ru.rc"
#include "Si.rc" #include "Si.rc"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment