From 649b78d097cb94f7d09de9cd1de6fc5cbe0e13bb Mon Sep 17 00:00:00 2001 From: Marcelo Duarte Date: Wed, 21 Jul 2004 19:37:44 +0000 Subject: [PATCH] Visual updates and translations for regedit. --- programs/regedit/De.rc | 46 +++++++++++++++--------------- programs/regedit/Fr.rc | 64 ++++++++++++++++++++++++++++++++++++++++++ programs/regedit/It.rc | 22 +++++++++++++++ 3 files changed, 108 insertions(+), 24 deletions(-) diff --git a/programs/regedit/De.rc b/programs/regedit/De.rc index 77abe4376a3..3fcfebfbba4 100644 --- a/programs/regedit/De.rc +++ b/programs/regedit/De.rc @@ -140,38 +140,36 @@ BEGIN DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP END -IDD_EDIT_STRING DIALOG 32, 24, 252, 84 -STYLE DS_SETFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | - WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +IDD_EDIT_STRING DIALOG DISCARDABLE 22, 17, 210, 75 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU CAPTION "Zeichenkette ändern" -FONT 8, "MS Shell Dlg" +FONT 8, "System" BEGIN - LTEXT "&Name:",IDC_STATIC,6,6,134,8 - EDITTEXT IDC_VALUE_NAME,6,17,240,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "&Daten:",IDC_STATIC,6,35,161,8 - EDITTEXT IDC_VALUE_DATA,6,46,240,12,ES_AUTOHSCROLL - DEFPUSHBUTTON "OK",IDOK,142,64,50,14 - PUSHBUTTON "Abbrechen",IDCANCEL,196,64,50,14 + LTEXT "&Name:",IDC_STATIC,5,5,119,8 + EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | WS_DISABLED + LTEXT "&Daten:",IDC_STATIC,5,30,119,8 + EDITTEXT IDC_VALUE_DATA,5,40,200,12, WS_BORDER | WS_TABSTOP + DEFPUSHBUTTON "OK",IDOK,140,60,30,11,WS_GROUP + PUSHBUTTON "Abbrechen",IDCANCEL,175,60,30,11,WS_GROUP END - -IDD_EDIT_DWORD DIALOG 32, 24, 252, 104 -STYLE DS_SETFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_3DLOOK | DS_CONTEXTHELP | - WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +IDD_EDIT_DWORD DIALOG DISCARDABLE 22, 17, 210, 100 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU CAPTION "DWORD Wert editieren" -FONT 8, "MS Shell Dlg" +FONT 8, "System" BEGIN - LTEXT "&Name:",IDC_STATIC,6,6,134,8 - EDITTEXT IDC_VALUE_NAME,6,17,240,12,ES_AUTOHSCROLL | ES_READONLY - LTEXT "&Daten:",IDC_STATIC,6,35,161,8 - EDITTEXT IDC_VALUE_DATA,6,46,116,12,ES_AUTOHSCROLL - GROUPBOX "Basis",IDC_STATIC,130,35,116,39 - AUTORADIOBUTTON "&Hexadecimal",IDC_DWORD_HEX,141,46,60,10,WS_TABSTOP - AUTORADIOBUTTON "&Dezimal",IDC_DWORD_DEC,141,59,60,10 - DEFPUSHBUTTON "OK",IDOK,142,82,50,14 - PUSHBUTTON "Abbrechen",IDCANCEL,196,82,50,14 + LTEXT "&Name:",IDC_STATIC,5,5,119,8 + EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | WS_DISABLED + LTEXT "&Daten:",IDC_STATIC,5,30,90,8 + EDITTEXT IDC_VALUE_DATA,5,40,90,12, WS_BORDER | WS_TABSTOP + GROUPBOX "Basis", IDC_DWORD_BASE, 120, 30, 85, 37, BS_GROUPBOX + AUTORADIOBUTTON "Hexadezimal", IDC_DWORD_HEX, 130, 40, 60, 10, WS_TABSTOP + AUTORADIOBUTTON "Dezimal", IDC_DWORD_DEC, 130, 52, 60, 10, WS_TABSTOP + DEFPUSHBUTTON "OK",IDOK,140,80,30,11,WS_GROUP + PUSHBUTTON "Abbrechen",IDCANCEL,175,80,30,11,WS_GROUP END + /* * String Table */ diff --git a/programs/regedit/Fr.rc b/programs/regedit/Fr.rc index bcbd5ccbc51..e09b0b548ef 100644 --- a/programs/regedit/Fr.rc +++ b/programs/regedit/Fr.rc @@ -95,6 +95,28 @@ BEGIN END END +IDR_POPUP_MENUS MENU DISCARDABLE +BEGIN + POPUP "" + BEGIN + MENUITEM "&Modifier", ID_EDIT_MODIFY + MENUITEM "Modifier données binaires", ID_EDIT_MODIFY_BIN + MENUITEM SEPARATOR + MENUITEM "&Supprimer\tDel", ID_EDIT_DELETE + MENUITEM "Ren&ommer", ID_EDIT_RENAME + END + POPUP "" + BEGIN + POPUP "&Nouvelle" + BEGIN + MENUITEM "&Clé", ID_EDIT_NEW_KEY + MENUITEM SEPARATOR + MENUITEM "Valeur c&haîne", ID_EDIT_NEW_STRINGVALUE + MENUITEM "Valeur &binaire", ID_EDIT_NEW_BINARYVALUE + MENUITEM "Valeur &mot double", ID_EDIT_NEW_DWORDVALUE + END + END +END /* * Dialog @@ -112,6 +134,35 @@ BEGIN DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP END +IDD_EDIT_STRING DIALOG DISCARDABLE 22, 17, 210, 75 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU +CAPTION "Éditez c&haîne" +FONT 8, "System" +BEGIN + LTEXT "Nom de valeur:",IDC_STATIC,5,5,119,8 + EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | WS_DISABLED + LTEXT "Données de valeur:",IDC_STATIC,5,30,119,8 + EDITTEXT IDC_VALUE_DATA,5,40,200,12, WS_BORDER | WS_TABSTOP + DEFPUSHBUTTON "OK",IDOK,140,60,30,11,WS_GROUP + PUSHBUTTON "Annuler",IDCANCEL,175,60,30,11,WS_GROUP +END + +IDD_EDIT_DWORD DIALOG DISCARDABLE 22, 17, 210, 100 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU +CAPTION "Éditez DWORD" +FONT 8, "System" +BEGIN + LTEXT "Nom de valeur:",IDC_STATIC,5,5,119,8 + EDITTEXT IDC_VALUE_NAME,5,15,200,12, WS_BORDER | WS_TABSTOP | WS_DISABLED + LTEXT "Données de valeur:",IDC_STATIC,5,30,90,8 + EDITTEXT IDC_VALUE_DATA,5,40,90,12, WS_BORDER | WS_TABSTOP + GROUPBOX "Basse", IDC_DWORD_BASE, 120, 30, 85, 37, BS_GROUPBOX + AUTORADIOBUTTON "Hexadécimale", IDC_DWORD_HEX, 130, 40, 60, 10, WS_TABSTOP + AUTORADIOBUTTON "Décimale", IDC_DWORD_DEC, 130, 52, 60, 10, WS_TABSTOP + DEFPUSHBUTTON "OK",IDOK,140,80,30,11,WS_GROUP + PUSHBUTTON "Annuler",IDCANCEL,175,80,30,11,WS_GROUP +END + /* * String Table */ @@ -174,6 +225,19 @@ BEGIN ID_EDIT_FINDNEXT "Recherche l'occurence suivante du texte de la dernière recherche" END +STRINGTABLE DISCARDABLE +BEGIN + IDS_ERROR "Erreur" + IDS_BAD_KEY "Ne peut pas questionner la clé '%s'" + IDS_BAD_VALUE "Ne peut pas questionner la valeur '%s'" + IDS_UNSUPPORTED_TYPE "Ne peut pas éditer des clés de ce type (%ld)" + IDS_TOO_BIG_VALUE "La valeur est trop grande (%ld)" + IDS_DELETE_BOX_TITLE "Confirmez l'effacement de valeur" + IDS_DELETE_BOX_TEXT "Êtes vous sûr vous voulez supprimer la valeur '%s'?" + IDS_NEWKEY "Nouvelle Clé #%d" + IDS_NEWVALUE "Nouvelle Valeur #%d" +END + /*****************************************************************/ diff --git a/programs/regedit/It.rc b/programs/regedit/It.rc index 864a67425b0..05788992f0a 100644 --- a/programs/regedit/It.rc +++ b/programs/regedit/It.rc @@ -95,6 +95,28 @@ BEGIN END END +IDR_POPUP_MENUS MENU DISCARDABLE +BEGIN + POPUP "" + BEGIN + MENUITEM "&Modifica", ID_EDIT_MODIFY + MENUITEM "Modifica dati binari", ID_EDIT_MODIFY_BIN + MENUITEM SEPARATOR + MENUITEM "&Elimina\tDel", ID_EDIT_DELETE + MENUITEM "&Rinomina", ID_EDIT_RENAME + END + POPUP "" + BEGIN + POPUP "&Nuovo" + BEGIN + MENUITEM "&Chiave", ID_EDIT_NEW_KEY + MENUITEM SEPARATOR + MENUITEM "&Valore stringa", ID_EDIT_NEW_STRINGVALUE + MENUITEM "&Valore binario", ID_EDIT_NEW_BINARYVALUE + MENUITEM "&Valore DWORD", ID_EDIT_NEW_DWORDVALUE + END + END +END /* * Dialog