Uk.rc 3.68 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
/*
 * WineMine
 * Ukrainian Language Support
 *
 * Copyright 2000 Joshua Thielen
 * Copyright 2003 Marcelo Duarte
 * Copyright 2010 Igor Paliychuk
 *
 * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

#include "resource.h"

/* UTF-8 */
#pragma code_page(65001)

LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT

STRINGTABLE {
     IDS_APPNAME, "WineMine"
     IDS_NOBODY,  "Nobody"
     IDS_ABOUT,   "Copyright 2000 Joshua Thielen"
}

37
MENU_WINEMINE MENU
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
{
    POPUP "&Гра" {
        MENUITEM "&Нова\tF2",      IDM_NEW
        MENUITEM SEPARATOR
        MENUITEM "&Знаки питання", IDM_MARKQ
        MENUITEM SEPARATOR
        MENUITEM "Н&овачок",       IDM_BEGINNER
        MENUITEM "&Майстер",       IDM_ADVANCED
        MENUITEM "&Експерт",       IDM_EXPERT
        MENUITEM "&Свої параметри...",     IDM_CUSTOM
        MENUITEM SEPARATOR
        MENUITEM "&Вихід\tAlt+X",   IDM_EXIT
    }
    POPUP "&Довідка" {
        MENUITEM "&Кращий час...", IDM_TIMES
        MENUITEM "&Про програму",         IDM_ABOUT
    }
}

57
DLG_TIMES DIALOG 0, 0, 160, 80
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
STYLE  DS_MODALFRAME | DS_3DLOOK |
    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Кращий час"
{
    GROUPBOX        "Кращий час",   -1,  10,  10, 140,  45
    LTEXT           "Новачок",      -1,  20,  20,  40,   8
    LTEXT           "Майстер",      -1,  20,  30,  40,   8
    LTEXT           "Експерт",      -1,  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
}

75
DLG_CONGRATS DIALOG  0, 0, 160, 60
76 77 78 79 80 81 82 83 84
STYLE  DS_MODALFRAME | DS_3DLOOK |
    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Вітання!"
{
    LTEXT           "Введіть ваше ім'я",             -1,  10,  10, 150,  10
    EDITTEXT                               IDC_EDITNAME,  25,  20, 110,  12
    DEFPUSHBUTTON   "OK",                          IDOK,  60,  40,  40,  15
}

85
DLG_CUSTOM DIALOG  0, 0, 100, 100
86 87 88 89 90 91 92 93 94 95 96 97 98
STYLE  DS_MODALFRAME | DS_3DLOOK |
    WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Свої параметри"
{
    LTEXT           "Рядків",         -1,   5,   5,  30,  10
    LTEXT           "Стовпців",       -1,   5,  35,  30,  10
    LTEXT           "Мін",            -1,   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      "Скасувати", IDCANCEL,  40,  50,  50,  15
}