Changelog: Add Russian resources for WineMine. Please note that you may need to set up the "FontDirs" section for the Cyrillic fonts to be displayed correctly. -- Regards, Pavel Roskin
diff -urN programs/winemine/Ru.rc programs/winemine/Ru.rc --- programs/winemine/Ru.rc 1969-12-31 19:00:00.000000000 -0500 +++ programs/winemine/Ru.rc 2003-09-07 14:27:09.000000000 -0400 @@ -0,0 +1,102 @@ +/* + * WineMine + * Russian Language Support + * + * Copyright 2003 Pavel Roskin + * + * 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_RUSSIAN, SUBLANG_DEFAULT + +STRINGTABLE { + IDS_APPNAME, "WineMine" + +} + +MENU_WINEMINE MENU DISCARDABLE +{ + POPUP "&Èãðà" { + MENUITEM "&Íîâàÿ èãðà", IDM_NEW + MENUITEM SEPARATOR + MENUITEM "&Âîïðîñèòåëüíûå çíàêè", IDM_MARKQ + MENUITEM SEPARATOR + MENUITEM "Íîâè&÷îê", IDM_BEGINNER + MENUITEM "&Ìàñòåð", IDM_ADVANCED + MENUITEM "&Ýêñïåðò", IDM_EXPERT + MENUITEM "Íåñòàíäàðòíûå &ïàðàìåòðû", IDM_CUSTOM + MENUITEM SEPARATOR + MENUITEM "&Çàêðûòü", IDM_EXIT + } + POPUP "&Ñïðàâêà" { + MENUITEM "&Ëó÷øåå âðåìÿ", IDM_TIMES + MENUITEM "&Î ïðîãðàììå", IDM_ABOUT + } +} + +DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "Ëó÷øåå âðåìÿ" +{ + GROUPBOX "Ëó÷øåå âðåìÿ", IDIGNORE, 10, 10, 140, 45 + LTEXT "Íîâè÷îê", IDIGNORE, 20, 20, 40, 8 + LTEXT "Ìàñòåð", IDIGNORE, 20, 30, 40, 8 + LTEXT "Ýêñïåðò", IDIGNORE, 20, 40, 40, 8 + LTEXT "999", IDC_TIME1, 70, 20, 15, 8 + LTEXT "999", IDC_TIME2, 70, 30, 15, 8 + LTEXT "999", IDC_TIME3, 70, 40, 15, 8 + LTEXT "", IDC_NAME1, 90, 20, 55, 8 + LTEXT "", IDC_NAME2, 90, 30, 55, 8 + LTEXT "", IDC_NAME3, 90, 40, 55, 8 + DEFPUSHBUTTON "OK", IDOK, 55, 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 "Ïîçäðàâëÿþ!" +{ + LTEXT "Ïîæàëóéñòà ââåäèòå Âàøå èìÿ", 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, 140, 100 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "Íåñòàíäàðòíûå ïàðàìåòðû" +{ + LTEXT "Ïî âåðòèêàëè", IDIGNORE, 5, 5, 70, 10 + LTEXT "Ïî ãîðèçîíòàëè", IDIGNORE, 5, 35, 70, 10 + LTEXT "×èñëî ìèí", IDIGNORE, 5, 65, 70, 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, 80, 30, 50, 15 + PUSHBUTTON "Îòìåíà", IDCANCEL, 80, 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 "ïîä ëèöåíçèåé Wine", IDIGNORE, 35, 35, 115, 10 + ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20 + DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15 +} diff -urN programs/winemine/rsrc.rc programs/winemine/rsrc.rc --- programs/winemine/rsrc.rc 2003-09-07 14:29:18.000000000 -0400 +++ programs/winemine/rsrc.rc 2003-09-07 13:43:21.000000000 -0400 @@ -25,6 +25,7 @@ #include "En.rc" #include "Es.rc" #include "Pt.rc" +#include "Ru.rc" #include "Si.rc" LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL