Zhangbing's Solitaire translation (bug #2186).

svn path=/trunk/; revision=26423
This commit is contained in:
Dmitry Gorbachev 2007-04-19 15:25:54 +00:00
parent 1cefaa15f9
commit 8961a9e5d5
2 changed files with 130 additions and 1 deletions

View file

@ -0,0 +1,129 @@
/*
* PROJECT: Solitaire
* LICENSE: Freeware, permission to use under Public Domain
* FILE: base/applications/games/solitaire/lang/zh-CN.rc
* PURPOSE: Simplified Chinese Language resources File for Solitaire
* TRANSLATOR: zhangbing <e_zb@21cn.com, ezb@mail.gywb.cn>
*/
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/* winemaker: #include "afxres.h" */
/* winemaker:warning: 'afxres.h' is an MFC specific header. Replacing it with 'winres.h' */
#include "winres.h"
/////
#undef APSTUDIO_READONLY_SYMBOLS
/////
// 简体中文资源
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#pragma code_page(936)
#endif //_WIN32
/////
// Dialog
IDD_DIALOG1 DIALOGEX DISCARDABLE 0, 0, 186, 95
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Shell Dlg"
EXSTYLE DS_SHELLFONT
BEGIN
DEFPUSHBUTTON "确定", IDOK, 129, 7, 50, 14
PUSHBUTTON "取消", IDCANCEL, 129, 24, 50, 14
END
/////
// DESIGNINFO
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_DIALOG1, DIALOGEX
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 179
TOPMARGIN, 7
BOTTOMMARGIN, 88
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////
// TEXTINCLUDE
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////
// Menu
IDR_MENU1 MENU DISCARDABLE
BEGIN
POPUP "游戏(&G)"
BEGIN
MENUITEM "发牌(&D)\tF2", IDM_GAME_NEW
MENUITEM SEPARATOR
MENUITEM "背面图案(&C)...", IDM_GAME_DECK
MENUITEM "选项(&O)...", IDM_GAME_OPTIONS
MENUITEM SEPARATOR
MENUITEM "退出(&X)", IDM_GAME_EXIT
END
POPUP "帮助(&H)"
BEGIN
MENUITEM "目录(&C)\tF1", IDM_HELP_CONTENTS
MENUITEM "关于纸牌(&A)", IDM_HELP_ABOUT
END
END
/////
// Accelerator
IDR_ACCELERATOR1 ACCELERATORS DISCARDABLE
BEGIN
VK_F1, IDM_HELP_CONTENTS, VIRTKEY, NOINVERT
VK_F2, IDM_GAME_NEW, VIRTKEY, NOINVERT
END
/////
// Icon
IDI_ICON1 ICON DISCARDABLE "solitaire.ico"
#endif // 中文资源
/////
#ifndef APSTUDIO_INVOKED
/////
#endif // not APSTUDIO_INVOKED

View file

@ -10,4 +10,4 @@
#include "lang/pl-PL.rc"
#include "lang/th-TH.rc"
#include "lang/uk-UA.rc"
#include "lang/zh-CN.rc"