From 7758ecc0bf9bb7006a28f04d670806b1516f0b39 Mon Sep 17 00:00:00 2001 From: Klemens Friedl Date: Tue, 8 Mar 2005 19:00:44 +0000 Subject: [PATCH] System Control Panel: * add language support * english and german language files svn path=/trunk/; revision=13881 --- reactos/lib/cpl/control/De.rc | 28 +++++++++++++++++++++ reactos/lib/cpl/control/En.rc | 28 +++++++++++++++++++++ reactos/lib/cpl/control/control.rc | 39 +++++++++++------------------- 3 files changed, 70 insertions(+), 25 deletions(-) create mode 100644 reactos/lib/cpl/control/De.rc create mode 100644 reactos/lib/cpl/control/En.rc diff --git a/reactos/lib/cpl/control/De.rc b/reactos/lib/cpl/control/De.rc new file mode 100644 index 00000000000..0b4611c4886 --- /dev/null +++ b/reactos/lib/cpl/control/De.rc @@ -0,0 +1,28 @@ +// German language resource file (frik85, 2005-03-08) + +LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT + +///////////////////////////////////////////////////////////////////////////// +// +// Menu +// + +IDM_MAINMENU MENU DISCARDABLE +BEGIN + POPUP "&Datei" + BEGIN + MENUITEM "&Beenden", IDM_CLOSE + END + POPUP "&Ansicht" + BEGIN + MENUITEM "Große Symbole", IDM_LARGEICONS + MENUITEM "Kleine Symbole", IDM_SMALLICONS + MENUITEM "Liste", IDM_LIST + MENUITEM "Details", IDM_DETAILS + END + POPUP "&?" + BEGIN + MENUITEM "Inf&o", IDM_ABOUT + END +END + diff --git a/reactos/lib/cpl/control/En.rc b/reactos/lib/cpl/control/En.rc new file mode 100644 index 00000000000..89ff27aad0f --- /dev/null +++ b/reactos/lib/cpl/control/En.rc @@ -0,0 +1,28 @@ +// English language resource file (frik85, 2005-03-08) + +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US + +///////////////////////////////////////////////////////////////////////////// +// +// Menu +// + +IDM_MAINMENU MENU DISCARDABLE +BEGIN + POPUP "&File" + BEGIN + MENUITEM "&Close", IDM_CLOSE + END + POPUP "&View" + BEGIN + MENUITEM "Large Icons", IDM_LARGEICONS + MENUITEM "Small Icons", IDM_SMALLICONS + MENUITEM "List", IDM_LIST + MENUITEM "Details", IDM_DETAILS + END + POPUP "Help" + BEGIN + MENUITEM "About", IDM_ABOUT + END +END + diff --git a/reactos/lib/cpl/control/control.rc b/reactos/lib/cpl/control/control.rc index afed2760e7f..1fac250730a 100644 --- a/reactos/lib/cpl/control/control.rc +++ b/reactos/lib/cpl/control/control.rc @@ -20,31 +20,6 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT -///////////////////////////////////////////////////////////////////////////// -// -// Menu -// - -IDM_MAINMENU MENU DISCARDABLE -BEGIN - POPUP "&File" - BEGIN - MENUITEM "&Close", IDM_CLOSE - END - POPUP "&View" - BEGIN - MENUITEM "Large Icons", IDM_LARGEICONS - MENUITEM "Small Icons", IDM_SMALLICONS - MENUITEM "List", IDM_LIST - MENUITEM "Details", IDM_DETAILS - END - POPUP "Help" - BEGIN - MENUITEM "About", IDM_ABOUT - END -END - - ///////////////////////////////////////////////////////////////////////////// // // Icon @@ -54,3 +29,17 @@ END // remains consistent on all systems. IDI_MAINICON ICON DISCARDABLE "resources/config.ico" ///////////////////////////////////////////////////////////////////////////// + + +/* + * 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 "En.rc" +#include "De.rc" + + + +