Author: janderwald
Date: Tue Jun 27 00:14:36 2006
New Revision: 22643
URL:
http://svn.reactos.org/svn/reactos?rev=22643&view=rev
Log:
* move english resource file to own file
* add german translation
* patch provided by Daniel "EmuandCo" Reimer
Added:
trunk/reactos/base/applications/games/solitaire/de.rc
trunk/reactos/base/applications/games/solitaire/en.rc
Modified:
trunk/reactos/base/applications/games/solitaire/sol.rc
Added: trunk/reactos/base/applications/games/solitaire/de.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/de.rc (added)
+++ trunk/reactos/base/applications/games/solitaire/de.rc Tue Jun 27 00:14:36 2006
@@ -1,0 +1,129 @@
+/*
+ * PROJECT: Solitaire
+ * LICENSE: Freeware, permission to use under Public Domain
+ * FILE: base/applications/games/solitaire/de.rc
+ * PURPOSE: German Language File for Solitaire
+ * PROGRAMMERS: Daniel "EmuandCo" Reimer (reimer.daniel(a)freenet.de)
+ */
+
+#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
+
+/////
+// German resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
+#ifdef _WIN32
+LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
+#pragma code_page(1252)
+#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 "OK",IDOK,129,7,50,14
+ PUSHBUTTON "Abbrechen",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 "&Spiel"
+ BEGIN
+ MENUITEM "&Karten geben\t F2", IDM_GAME_NEW
+ MENUITEM SEPARATOR
+ MENUITEM "&Deckblatt...", IDM_GAME_DECK
+ MENUITEM "&Optionen...", IDM_GAME_OPTIONS
+ MENUITEM SEPARATOR
+ MENUITEM "&Beenden", IDM_GAME_EXIT
+ END
+ POPUP "&?"
+ BEGIN
+ MENUITEM "&Inhalt\tF1", IDM_HELP_CONTENTS
+ MENUITEM "Inf&o", 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 // German resources
+
+/////
+
+
+#ifndef APSTUDIO_INVOKED
+
+/////
+#endif // not APSTUDIO_INVOKED
Added: trunk/reactos/base/applications/games/solitaire/en.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/en.rc (added)
+++ trunk/reactos/base/applications/games/solitaire/en.rc Tue Jun 27 00:14:36 2006
@@ -1,0 +1,129 @@
+/*
+ * PROJECT: Solitaire
+ * LICENSE: Freeware, permission to use under Public Domain
+ * FILE: base/applications/games/solitaire/en.rc
+ * PURPOSE: English Language File for Solitaire
+ * PROGRAMMERS: Daniel "EmuandCo" Reimer (reimer.daniel(a)freenet.de)
+ */
+
+#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
+
+/////
+// English (U.K.) resources
+
+#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
+#ifdef _WIN32
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+#pragma code_page(1252)
+#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 "OK",IDOK,129,7,50,14
+ PUSHBUTTON "Cancel",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 "&Game"
+ BEGIN
+ MENUITEM "&Deal\tF2", IDM_GAME_NEW
+ MENUITEM SEPARATOR
+ MENUITEM "De&ck...", IDM_GAME_DECK
+ MENUITEM "&Options...", IDM_GAME_OPTIONS
+ MENUITEM SEPARATOR
+ MENUITEM "&Exit", IDM_GAME_EXIT
+ END
+ POPUP "&Help"
+ BEGIN
+ MENUITEM "&Contents\tF1", IDM_HELP_CONTENTS
+ MENUITEM "&About", 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 // English (U.K.) resources
+
+/////
+
+
+#ifndef APSTUDIO_INVOKED
+
+/////
+#endif // not APSTUDIO_INVOKED
Modified: trunk/reactos/base/applications/games/solitaire/sol.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/so…
==============================================================================
--- trunk/reactos/base/applications/games/solitaire/sol.rc (original)
+++ trunk/reactos/base/applications/games/solitaire/sol.rc Tue Jun 27 00:14:36 2006
@@ -1,144 +1,4 @@
-//Microsoft Developer Studio generated resource script.
-//
#include "resource.h"
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-/* 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
-
-/////////////////////////////////////////////////////////////////////////////
-// English (U.K.) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
-#ifdef _WIN32
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
-#pragma code_page(1252)
-#endif //_WIN32
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Dialog
-//
-
-IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 186, 95
-STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Dialog"
-FONT 8, "MS Sans Serif"
-BEGIN
- DEFPUSHBUTTON "OK",IDOK,129,7,50,14
- PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
-END
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// DESIGNINFO
-//
-
-#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO DISCARDABLE
-BEGIN
- IDD_DIALOG1, DIALOG
- 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 "&Game"
- BEGIN
- MENUITEM "&Deal\tF2", IDM_GAME_NEW
- MENUITEM SEPARATOR
- MENUITEM "De&ck...", IDM_GAME_DECK
- MENUITEM "&Options...", IDM_GAME_OPTIONS
- MENUITEM SEPARATOR
- MENUITEM "&Exit", IDM_GAME_EXIT
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&Contents\tF1", IDM_HELP_CONTENTS
- MENUITEM "&About", 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
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_ICON1 ICON DISCARDABLE "solitaire.ico"
-#endif // English (U.K.) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
-
+#include "De.rc"
+#include "En.rc"