Commit f20651b1 authored by Alexandre Julliard's avatar Alexandre Julliard

winemine: Use a standard About box with the larger icon.

parent 7f880d9b
......@@ -29,6 +29,7 @@ LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nikdo"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -93,15 +94,3 @@ CAPTION "Vlastn hra"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Storno", IDCANCEL, 40, 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 "O aplikaci"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "Licenovn pod LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -24,6 +24,7 @@ LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Niemand"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -88,15 +89,3 @@ CAPTION "Benutzerdefiniertes Spiel"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Abbrechen", IDCANCEL, 40, 50, 50, 15
}
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 180, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "ber"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "Lizensiert unter der LGPL", IDIGNORE, 35, 35, 135, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -25,6 +25,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -89,15 +90,3 @@ CAPTION "Custom Game"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Cancel", IDCANCEL, 40, 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 "Licensed under the LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -24,6 +24,7 @@ LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nadie"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -88,15 +89,3 @@ CAPTION "Juego personalizado"
DEFPUSHBUTTON "Aceptar", IDOK, 40, 30, 50, 15
PUSHBUTTON "Cancelar", IDCANCEL, 40, 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 "Acerca de"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "bajo la licencia LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "Aceptar", IDOK, 50, 60, 60, 15
}
......@@ -24,6 +24,7 @@ LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Ei kukaan"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -88,15 +89,3 @@ CAPTION "Mukautettu Peli"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Peruuta", IDCANCEL, 40, 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 "Tietoja"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "Licensed under the LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -27,6 +27,7 @@ LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE {
IDS_APPNAME, "Dmineur Wine"
IDS_NOBODY, "Anonyme"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -91,15 +92,3 @@ CAPTION "Grille personnalise"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Annuler", IDCANCEL, 40, 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 " propos"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "sous la licence LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -26,6 +26,7 @@ LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -90,15 +91,3 @@ CAPTION "Custom Game"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Annulla", IDCANCEL, 40, 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 "Informazioni su WineMine"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "Concesso in licenza LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -26,6 +26,7 @@ LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "아무개"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -93,16 +94,3 @@ FONT 8, "MS Shell Dlg"
DEFPUSHBUTTON "확인", IDOK, 40, 30, 50, 15
PUSHBUTTON "취소", IDCANCEL, 40, 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 "정보"
FONT 8, "MS Shell Dlg"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "LGPL 라이센스를 따릅니다", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "확인", IDOK, 50, 60, 60, 15
}
......@@ -5,6 +5,7 @@ VPATH = @srcdir@
MODULE = winemine.exe
APPMODE = -mwindows
IMPORTS = user32 gdi32 advapi32 kernel32
DELAYIMPORTS = shell32
C_SRCS = \
dialog.c \
......
......@@ -23,6 +23,7 @@ LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -87,15 +88,3 @@ CAPTION "Aangepast spel"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Annuleren", IDCANCEL, 40, 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 "dit programma valt onder de LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -24,6 +24,7 @@ LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE {
IDS_APPNAME, "Minesveiper"
IDS_NOBODY, "Ingen"
IDS_ABOUT, "Kopirett 2000 tilhrer Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -88,16 +89,3 @@ CAPTION "Egendefinert spill"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Avbryt", IDCANCEL, 40, 50, 50, 15
}
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 170, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Om"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Kopirett 2000 tilhrer Joshua Thielen", IDIGNORE, 35, 25, 140, 10
LTEXT "Oversatt av Alexander N. Srnes i 2005", IDIGNORE, 35, 35, 140, 10
LTEXT "Lisensiert under LGPL", IDIGNORE, 35, 45, 115, 10
ICON "MINESVEIPER", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -26,6 +26,7 @@ LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Anonim"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -90,15 +91,3 @@ CAPTION "Ustawienia Uytkownika"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Anuluj", IDCANCEL, 40, 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 "O Programie"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "Na licencji LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -20,16 +20,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Ningum"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
MENU_WINEMINE MENU DISCARDABLE
{
POPUP "&Opes" {
......@@ -52,6 +50,12 @@ MENU_WINEMINE MENU DISCARDABLE
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Ningum"
IDS_ABOUT, "Direitos de autor 2000, Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
{
POPUP "&Opes" {
......@@ -135,32 +139,3 @@ CAPTION "Jogo personalizado"
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15
PUSHBUTTON "Cancelar", IDCANCEL, 40, 50, 50, 15
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 160, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Sobre"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "conforme a licena LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
DLG_ABOUT DIALOG DISCARDABLE 0, 0, 160, 80
STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Sobre"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Direitos de autor 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "conforme a licena LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -26,6 +26,7 @@ LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nimeni"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -91,16 +92,4 @@ CAPTION "Joc personalizat"
PUSHBUTTON "Renunţă", IDCANCEL, 40, 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 "Despre"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "Licenţiat sub termenii Licenţei LGPL", IDIGNORE, 35, 35, 115, 20
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
#pragma code_page(default)
......@@ -24,6 +24,7 @@ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -88,15 +89,3 @@ CAPTION " "
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 " LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -24,6 +24,7 @@ LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
STRINGTABLE {
IDS_APPNAME, "WineMine"
IDS_NOBODY, "Nobody"
IDS_ABOUT, "Copyright 2000 Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -88,15 +89,3 @@ CAPTION "Poljubna igra"
DEFPUSHBUTTON "V redu", IDOK, 40, 30, 50, 15
PUSHBUTTON "Preklii", IDCANCEL, 40, 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 "O programu"
{
LTEXT "Winemine", IDIGNORE, 10, 10, 50, 10
LTEXT "Copyright 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "under the LGPL", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "OK", IDOK, 50, 60, 60, 15
}
......@@ -24,6 +24,7 @@ LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE {
IDS_APPNAME, "Wine Mayn Tarlas"
IDS_NOBODY, "Hi kimse"
IDS_ABOUT, "Telif hakk 2000, Joshua Thielen"
}
MENU_WINEMINE MENU DISCARDABLE
......@@ -88,15 +89,3 @@ CAPTION "zel Oyun"
DEFPUSHBUTTON "Tamam", IDOK, 40, 30, 50, 15
PUSHBUTTON "ptal", IDCANCEL, 40, 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 "Hakknda"
{
LTEXT "Wine Mayn Tarlas", IDIGNORE, 10, 10, 80, 10
LTEXT "Telif hakk 2000, Joshua Thielen", IDIGNORE, 35, 25, 115, 10
LTEXT "LGPL aktnda lisanslanmtr", IDIGNORE, 35, 35, 115, 10
ICON "WINEMINE", IDIGNORE, 10, 25, 20, 20
DEFPUSHBUTTON "Tamam", IDOK, 50, 60, 60, 15
}
......@@ -24,6 +24,7 @@
#include <time.h>
#include <windows.h>
#include <stdlib.h>
#include <shellapi.h>
#include "main.h"
#include "resource.h"
......@@ -235,8 +236,14 @@ LRESULT WINAPI MainProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
return 0;
case IDM_ABOUT:
DialogBox( board.hInst, "DLG_ABOUT", hWnd, AboutDlgProc );
{
WCHAR appname[256], other[256];
LoadStringW( board.hInst, IDS_APPNAME, appname, sizeof(appname)/sizeof(WCHAR) );
LoadStringW( board.hInst, IDS_ABOUT, other, sizeof(other)/sizeof(WCHAR) );
ShellAboutW( hWnd, appname, other,
LoadImageA( board.hInst, "WINEMINE", IMAGE_ICON, 48, 48, LR_SHARED ));
return 0;
}
default:
WINE_TRACE("Unknown WM_COMMAND command message received\n");
break;
......
......@@ -47,5 +47,6 @@
#define IDS_APPNAME 1101
#define IDS_NOBODY 1102
#define IDS_ABOUT 1103
#define IDA_WINEMINE 1201
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment