2008-08-30 08:17:32 +02:00
|
|
|
/*
|
|
|
|
* WineMine (Simplified and Traditional Chinese Resource)
|
|
|
|
*
|
|
|
|
* Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
|
2010-09-29 08:24:24 +02:00
|
|
|
* Copyright 2010 Cheer Xiao <xiaqqaix.at.gmail.com>
|
2008-08-30 08:17:32 +02:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2009-07-02 00:31:35 +02:00
|
|
|
#include "resource.h"
|
|
|
|
|
2008-08-30 08:17:32 +02:00
|
|
|
/* Chinese text is encoded in UTF-8 */
|
|
|
|
#pragma code_page(65001)
|
|
|
|
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
|
|
|
|
|
|
STRINGTABLE {
|
|
|
|
IDS_APPNAME, "Wine地雷"
|
|
|
|
IDS_NOBODY, "无人"
|
|
|
|
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
MENU_WINEMINE MENU
|
2008-08-30 08:17:32 +02:00
|
|
|
{
|
|
|
|
POPUP "选项(&O)" {
|
|
|
|
MENUITEM "新游戏(&N)\tF2", IDM_NEW
|
|
|
|
MENUITEM SEPARATOR
|
2010-09-29 08:24:24 +02:00
|
|
|
MENUITEM "允许问号标记(&M)", IDM_MARKQ
|
2008-08-30 08:17:32 +02:00
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "初学者(&B)", IDM_BEGINNER
|
|
|
|
MENUITEM "高级(&A)", IDM_ADVANCED
|
|
|
|
MENUITEM "专家(&E)", IDM_EXPERT
|
|
|
|
MENUITEM "自定义(&C)", IDM_CUSTOM
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "退出(&X)\tAlt+X", IDM_EXIT
|
|
|
|
}
|
|
|
|
POPUP "信息(&I)" {
|
|
|
|
MENUITEM "最快时间(&F)", IDM_TIMES
|
|
|
|
MENUITEM "关于(&A)", IDM_ABOUT
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
DLG_TIMES DIALOG 0, 0, 160, 80
|
2008-08-30 08:17:32 +02:00
|
|
|
STYLE DS_MODALFRAME | DS_3DLOOK |
|
|
|
|
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
|
|
|
CAPTION "最快时间"
|
|
|
|
{
|
2009-01-14 11:30:44 +01:00
|
|
|
GROUPBOX "最快时间", -1, 10, 10, 140, 45
|
|
|
|
LTEXT "初学者", -1, 20, 20, 40, 8
|
|
|
|
LTEXT "高级", -1, 20, 30, 40, 8
|
|
|
|
LTEXT "专家", -1, 20, 40, 40, 8
|
2008-08-30 08:17:32 +02:00
|
|
|
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 "确定", IDOK, 55, 60, 50, 15
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
DLG_CONGRATS DIALOG 0, 0, 160, 60
|
2008-08-30 08:17:32 +02:00
|
|
|
STYLE DS_MODALFRAME | DS_3DLOOK |
|
|
|
|
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
2010-09-29 08:24:24 +02:00
|
|
|
CAPTION "祝贺!"
|
2008-08-30 08:17:32 +02:00
|
|
|
{
|
2009-01-14 11:30:44 +01:00
|
|
|
LTEXT "请输入你的名字", -1, 10, 10, 150, 10
|
2008-08-30 08:17:32 +02:00
|
|
|
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
|
|
|
|
DEFPUSHBUTTON "确定", IDOK, 60, 40, 40, 15
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
DLG_CUSTOM DIALOG 0, 0, 100, 100
|
2008-08-30 08:17:32 +02:00
|
|
|
STYLE DS_MODALFRAME | DS_3DLOOK |
|
|
|
|
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
|
|
|
CAPTION "自定义游戏"
|
|
|
|
{
|
2009-01-14 11:30:44 +01:00
|
|
|
LTEXT "行", -1, 5, 5, 30, 10
|
|
|
|
LTEXT "列", -1, 5, 35, 30, 10
|
|
|
|
LTEXT "地雷", -1, 5, 65, 30, 10
|
2008-08-30 08:17:32 +02:00
|
|
|
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 "确定", IDOK, 40, 30, 50, 15
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 40, 50, 50, 15
|
|
|
|
}
|
|
|
|
|
|
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|
|
|
|
|
|
|
STRINGTABLE {
|
|
|
|
IDS_APPNAME, "Wine地雷"
|
|
|
|
IDS_NOBODY, "無人"
|
|
|
|
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
MENU_WINEMINE MENU
|
2008-08-30 08:17:32 +02:00
|
|
|
{
|
|
|
|
POPUP "選項(&O)" {
|
|
|
|
MENUITEM "新遊戲(&N)\tF2", IDM_NEW
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "標出問題(&M)", IDM_MARKQ
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "初學者(&B)", IDM_BEGINNER
|
|
|
|
MENUITEM "高級(&A)", IDM_ADVANCED
|
|
|
|
MENUITEM "專家(&E)", IDM_EXPERT
|
|
|
|
MENUITEM "自定義(&C)", IDM_CUSTOM
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "結束(&X)\tAlt+X", IDM_EXIT
|
|
|
|
}
|
|
|
|
POPUP "資訊(&I)" {
|
|
|
|
MENUITEM "最快時間(&F)", IDM_TIMES
|
|
|
|
MENUITEM "關於(&A)", IDM_ABOUT
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
DLG_TIMES DIALOG 0, 0, 160, 80
|
2008-08-30 08:17:32 +02:00
|
|
|
STYLE DS_MODALFRAME | DS_3DLOOK |
|
|
|
|
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
|
|
|
CAPTION "最快時間"
|
|
|
|
{
|
2009-01-14 11:30:44 +01:00
|
|
|
GROUPBOX "最快時間", -1, 10, 10, 140, 45
|
|
|
|
LTEXT "初學者", -1, 20, 20, 40, 8
|
|
|
|
LTEXT "高級", -1, 20, 30, 40, 8
|
|
|
|
LTEXT "專家", -1, 20, 40, 40, 8
|
2008-08-30 08:17:32 +02:00
|
|
|
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 "確定", IDOK, 55, 60, 50, 15
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
DLG_CONGRATS DIALOG 0, 0, 160, 60
|
2008-08-30 08:17:32 +02:00
|
|
|
STYLE DS_MODALFRAME | DS_3DLOOK |
|
|
|
|
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
|
|
|
CAPTION "祝賀!"
|
|
|
|
{
|
2009-01-14 11:30:44 +01:00
|
|
|
LTEXT "請輸入你的名字", -1, 10, 10, 150, 10
|
2008-08-30 08:17:32 +02:00
|
|
|
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
|
|
|
|
DEFPUSHBUTTON "確定", IDOK, 60, 40, 40, 15
|
|
|
|
}
|
|
|
|
|
2010-07-21 23:57:29 +02:00
|
|
|
DLG_CUSTOM DIALOG 0, 0, 100, 100
|
2008-08-30 08:17:32 +02:00
|
|
|
STYLE DS_MODALFRAME | DS_3DLOOK |
|
|
|
|
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
|
|
|
|
CAPTION "自定義遊戲"
|
|
|
|
{
|
2009-01-14 11:30:44 +01:00
|
|
|
LTEXT "行", -1, 5, 5, 30, 10
|
|
|
|
LTEXT "列", -1, 5, 35, 30, 10
|
|
|
|
LTEXT "地雷", -1, 5, 65, 30, 10
|
2008-08-30 08:17:32 +02:00
|
|
|
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 "確定", IDOK, 40, 30, 50, 15
|
|
|
|
PUSHBUTTON "取消", IDCANCEL, 40, 50, 50, 15
|
|
|
|
}
|