winemine: Fix French translation & UI display.

This commit is contained in:
Frédéric Delanoy 2009-07-09 22:34:35 +02:00 committed by Alexandre Julliard
parent 0803473784
commit e4b0d328ca
1 changed files with 25 additions and 22 deletions

View File

@ -4,8 +4,8 @@
* *
* Copyright 2000 Joshua Thielen * Copyright 2000 Joshua Thielen
* Copyright 2003 Marcelo Duarte * Copyright 2003 Marcelo Duarte
* Copyright 2003 Vincent Béron * Copyright 2003 Vincent Béron
* Copyright 2006 Jonathan Ernst * Copyright 2006 Jonathan Ernst
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -24,10 +24,13 @@
#include "resource.h" #include "resource.h"
/* UTF-8 */
#pragma code_page(65001)
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE { STRINGTABLE {
IDS_APPNAME, "Démineur Wine" IDS_APPNAME, "Démineur de Wine"
IDS_NOBODY, "Anonyme" IDS_NOBODY, "Anonyme"
IDS_ABOUT, "Copyright 2000 Joshua Thielen" IDS_ABOUT, "Copyright 2000 Joshua Thielen"
} }
@ -37,29 +40,29 @@ MENU_WINEMINE MENU DISCARDABLE
POPUP "&Options" { POPUP "&Options" {
MENUITEM "&Nouveau\tF2", IDM_NEW MENUITEM "&Nouveau\tF2", IDM_NEW
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "Points d'interro&gation", IDM_MARKQ MENUITEM "&Marquage des cases suspectes", IDM_MARKQ
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Débutant", IDM_BEGINNER MENUITEM "&Débutant", IDM_BEGINNER
MENUITEM "&Avancé", IDM_ADVANCED MENUITEM "&Avancé", IDM_ADVANCED
MENUITEM "&Expert", IDM_EXPERT MENUITEM "&Expert", IDM_EXPERT
MENUITEM "&Personnalisé...", IDM_CUSTOM MENUITEM "&Personnalisé...", IDM_CUSTOM
MENUITEM SEPARATOR MENUITEM SEPARATOR
MENUITEM "&Quitter\tAlt+X", IDM_EXIT MENUITEM "&Quitter\tAlt+X", IDM_EXIT
} }
POPUP "&Info" { POPUP "&Info" {
MENUITEM "&Temps les plus rapides", IDM_TIMES MENUITEM "Meilleurs &temps", IDM_TIMES
MENUITEM "À &propos", IDM_ABOUT MENUITEM "À &propos", IDM_ABOUT
} }
} }
DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80 DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80
STYLE DS_MODALFRAME | DS_3DLOOK | STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Temps les plus rapides" CAPTION "Meilleurs temps"
{ {
GROUPBOX "Temps les plus rapides", -1, 10, 10, 140, 45 GROUPBOX "Meilleurs temps", -1, 10, 10, 140, 45
LTEXT "Débutant", -1, 20, 20, 40, 8 LTEXT "Débutant", -1, 20, 20, 40, 8
LTEXT "Avancé", -1, 20, 30, 40, 8 LTEXT "Avancé", -1, 20, 30, 40, 8
LTEXT "Expert", -1, 20, 40, 40, 8 LTEXT "Expert", -1, 20, 40, 40, 8
LTEXT "999", IDC_TIME1, 70, 20, 15, 8 LTEXT "999", IDC_TIME1, 70, 20, 15, 8
LTEXT "999", IDC_TIME2, 70, 30, 15, 8 LTEXT "999", IDC_TIME2, 70, 30, 15, 8
@ -73,9 +76,9 @@ CAPTION "Temps les plus rapides"
DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60 DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60
STYLE DS_MODALFRAME | DS_3DLOOK | STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Félicitations !" CAPTION "Félicitations !"
{ {
LTEXT "Veuillez saisir votre nom", -1, 10, 10, 150, 10 LTEXT "Veuillez saisir votre nom :", -1, 25, 10, 150, 10
EDITTEXT IDC_EDITNAME, 25, 20, 110, 12 EDITTEXT IDC_EDITNAME, 25, 20, 110, 12
DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15 DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15
} }
@ -83,14 +86,14 @@ CAPTION "F
DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100 DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100
STYLE DS_MODALFRAME | DS_3DLOOK | STYLE DS_MODALFRAME | DS_3DLOOK |
WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP
CAPTION "Grille personnalisée" CAPTION "Grille personnalisée"
{ {
LTEXT "Rangées", -1, 5, 5, 30, 10 LTEXT "Lignes", -1, 5, 5, 30, 10
LTEXT "Colonnes", -1, 5, 35, 30, 10 LTEXT "Colonnes", -1, 5, 35, 30, 10
LTEXT "Mines", -1, 5, 65, 30, 10 LTEXT "Mines", -1, 5, 65, 30, 10
EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER EDITTEXT IDC_EDITROWS, 5, 15, 30, 12, ES_NUMBER
EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER EDITTEXT IDC_EDITCOLS, 5, 45, 30, 12, ES_NUMBER
EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER EDITTEXT IDC_EDITMINES, 5, 75, 30, 12, ES_NUMBER
DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15 DEFPUSHBUTTON "OK", IDOK, 44, 30, 50, 15
PUSHBUTTON "Annuler", IDCANCEL, 40, 50, 50, 15 PUSHBUTTON "Annuler", IDCANCEL, 44, 50, 50, 15
} }