From f83ce82a605757b1c3aeb19ffeb66be0ac837606 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sun, 15 Oct 2000 00:26:58 +0000 Subject: [PATCH] Split out resources that might be localized. Added German resources. --- dlls/comctl32/comctl_De.rc | 12 ++++++ dlls/comctl32/comctl_En.rc | 58 +++++++++++++++++++++++++ dlls/comctl32/rsrc.rc | 88 ++++++++------------------------------ 3 files changed, 88 insertions(+), 70 deletions(-) create mode 100644 dlls/comctl32/comctl_De.rc create mode 100644 dlls/comctl32/comctl_En.rc diff --git a/dlls/comctl32/comctl_De.rc b/dlls/comctl32/comctl_De.rc new file mode 100644 index 0000000000..37e32a7c11 --- /dev/null +++ b/dlls/comctl32/comctl_De.rc @@ -0,0 +1,12 @@ +LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT + +STRINGTABLE DISCARDABLE +{ + IDS_CLOSE "Schließen" +} + +STRINGTABLE DISCARDABLE +{ + IDM_TODAY "Heute:" + IDM_GOTODAY "Gehe zu Heute" +} diff --git a/dlls/comctl32/comctl_En.rc b/dlls/comctl32/comctl_En.rc new file mode 100644 index 0000000000..ee04d5f3a0 --- /dev/null +++ b/dlls/comctl32/comctl_En.rc @@ -0,0 +1,58 @@ +LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT + +IDD_PROPSHEET DIALOG DISCARDABLE 0, 0, 220, 140 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE +CAPTION "Properties for " +FONT 8, "MS Sans Serif" +BEGIN + DEFPUSHBUTTON "OK", IDOK,4,122,50,14, WS_TABSTOP | WS_GROUP + PUSHBUTTON "Cancel", IDCANCEL,58,122,50,14 + PUSHBUTTON "&Apply", IDC_APPLY_BUTTON,112,122,50,14,WS_DISABLED + PUSHBUTTON "Help", IDHELP,166,122,50,14,WS_TABSTOP|WS_GROUP + CONTROL "Tab", IDC_TABCONTROL,"SysTabControl32",WS_CLIPSIBLINGS|WS_GROUP|WS_TABSTOP,4,4,212,114 +END + + +IDD_WIZARD DIALOG DISCARDABLE 0, 0, 290, 159 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE +CAPTION "Wizard" +FONT 8, "MS Sans Serif" +BEGIN + DEFPUSHBUTTON "Finish", IDC_FINISH_BUTTON,121,138,50,14 + DEFPUSHBUTTON "&Next >", IDC_NEXT_BUTTON,121,138,50,14 + PUSHBUTTON "< &Back", IDC_BACK_BUTTON,71,138,50,14 + PUSHBUTTON "Cancel", IDCANCEL,178,138,50,14 + PUSHBUTTON "Help", IDHELP,235,138,50,14,WS_GROUP + LTEXT "", IDC_SUNKEN_LINE,7,129,278,1,SS_SUNKEN + CONTROL "Tab", IDC_TABCONTROL,"SysTabControl32",WS_CLIPSIBLINGS | WS_DISABLED,7,7,258,5 +END + + +IDD_TBCUSTOMIZE DIALOG DISCARDABLE 10, 20, 357, 125 +STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Customize Toolbar" +FONT 8, "MS Sans Serif" +BEGIN + DEFPUSHBUTTON "&Close", IDCANCEL,308,6,44,14 + PUSHBUTTON "R&eset", IDC_RESET_BTN,308,23,44,14 + PUSHBUTTON "&Help", IDC_HELP_BTN,308,40,44,14 + PUSHBUTTON "Move &Up", IDC_MOVEUP_BTN,308,74,44,14 + PUSHBUTTON "Move &Down", IDC_MOVEDN_BTN,308,91,44,14 + LTEXT "A&vailable buttons:", -1,4,5,84,10 + LISTBOX IDC_AVAILBTN_LBOX,4,17,120,100, LBS_NOTIFY | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP + PUSHBUTTON "&Add ->", IDOK, 131, 42, 44, 14 + PUSHBUTTON "<- &Remove", IDC_REMOVE_BTN,131,62,44,14 + LTEXT "&Toolbar buttons:", -1,182,5,78,10 + LISTBOX IDC_TOOLBARBTN_LBOX, 182,17,120,100,LBS_NOTIFY | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP +END + +STRINGTABLE DISCARDABLE +{ + IDS_CLOSE "Close" +} + +STRINGTABLE DISCARDABLE +{ + IDM_TODAY "Today:" + IDM_GOTODAY "Go to today" +} diff --git a/dlls/comctl32/rsrc.rc b/dlls/comctl32/rsrc.rc index f7392a3b8c..c0aac92d18 100644 --- a/dlls/comctl32/rsrc.rc +++ b/dlls/comctl32/rsrc.rc @@ -1,72 +1,14 @@ +/* + * Top level resource file for Common Controls + * + */ + #include "windef.h" #include "winuser.h" +#include "winnls.h" #include "comctl32.h" - -IDD_PROPSHEET DIALOG DISCARDABLE 0, 0, 220, 140 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE -CAPTION "Properties for " -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "OK", IDOK,4,122,50,14, WS_TABSTOP | WS_GROUP - PUSHBUTTON "Cancel", IDCANCEL,58,122,50,14 - PUSHBUTTON "&Apply", IDC_APPLY_BUTTON,112,122,50,14,WS_DISABLED - PUSHBUTTON "Help", IDHELP,166,122,50,14,WS_TABSTOP|WS_GROUP - CONTROL "Tab", IDC_TABCONTROL,"SysTabControl32",WS_CLIPSIBLINGS|WS_GROUP|WS_TABSTOP,4,4,212,114 -END - - -IDD_WIZARD DIALOG DISCARDABLE 0, 0, 290, 159 -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE -CAPTION "Wizard" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "Finish", IDC_FINISH_BUTTON,121,138,50,14 - DEFPUSHBUTTON "&Next >", IDC_NEXT_BUTTON,121,138,50,14 - PUSHBUTTON "< &Back", IDC_BACK_BUTTON,71,138,50,14 - PUSHBUTTON "Cancel", IDCANCEL,178,138,50,14 - PUSHBUTTON "Help", IDHELP,235,138,50,14,WS_GROUP - LTEXT "", IDC_SUNKEN_LINE,7,129,278,1,SS_SUNKEN - CONTROL "Tab", IDC_TABCONTROL,"SysTabControl32",WS_CLIPSIBLINGS | WS_DISABLED,7,7,258,5 -END - - -IDD_TBCUSTOMIZE DIALOG DISCARDABLE 10, 20, 357, 125 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Customize Toolbar" -FONT 8, "MS Sans Serif" -BEGIN - DEFPUSHBUTTON "&Close", IDCANCEL,308,6,44,14 - PUSHBUTTON "R&eset", IDC_RESET_BTN,308,23,44,14 - PUSHBUTTON "&Help", IDC_HELP_BTN,308,40,44,14 - PUSHBUTTON "Move &Up", IDC_MOVEUP_BTN,308,74,44,14 - PUSHBUTTON "Move &Down", IDC_MOVEDN_BTN,308,91,44,14 - LTEXT "A&vailable buttons:", -1,4,5,84,10 - LISTBOX IDC_AVAILBTN_LBOX,4,17,120,100, LBS_NOTIFY | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP - PUSHBUTTON "&Add ->", IDOK, 131, 42, 44, 14 - PUSHBUTTON "<- &Remove", IDC_REMOVE_BTN,131,62,44,14 - LTEXT "&Toolbar buttons:", -1,182,5,78,10 - LISTBOX IDC_TOOLBARBTN_LBOX, 182,17,120,100,LBS_NOTIFY | LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP -END - -IDD_MCMONTHMENU MENU LOADONCALL DISCARDABLE -{ - POPUP "" - BEGIN - MENUITEM "&January", IDM_JAN - MENUITEM "&February", IDM_FEB - MENUITEM "&March", IDM_MAR - MENUITEM "&April", IDM_APR - MENUITEM "&May", IDM_MAY - MENUITEM "J&une", IDM_JUN - MENUITEM "Ju&ly", IDM_JUL - MENUITEM "Au&gust", IDM_AUG - MENUITEM "&September", IDM_SEP - MENUITEM "&October", IDM_OCT - MENUITEM "&November", IDM_NOV - MENUITEM "&December", IDM_DEC - END -} +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDT_CHECK BITMAP LOADONCALL DISCARDABLE { @@ -97,11 +39,6 @@ IDT_CHECK BITMAP LOADONCALL DISCARDABLE '0D 11 02 99 0E 11 01 99 00 00 1F 99 00 01' } -STRINGTABLE DISCARDABLE -{ - IDS_CLOSE "Close" -} - IDB_STD_SMALL BITMAP LOADONCALL DISCARDABLE { '42 4D 20 07 00 00 00 00 00 00 76 00 00 00 28 00' @@ -934,3 +871,14 @@ IDB_HIST_LARGE BITMAP LOADONCALL DISCARDABLE '02 86 0A 66 02 68 06 88 02 68 1A 88 00 00 00 01' } + +/* + * Everything specific to any language goes + * in one of the specific files. + * Note that you can and may override resources + * which also have a neutral version. This is to + * get localized bitmaps for example. + */ + +#include "comctl_En.rc" +#include "comctl_De.rc" -- 2.32.0.93.g670b81a890