System Control Panel: * add language support * english and german language files Added: trunk/reactos/lib/cpl/control/De.rc Added: trunk/reactos/lib/cpl/control/En.rc Modified: trunk/reactos/lib/cpl/control/control.rc _____
Added: trunk/reactos/lib/cpl/control/De.rc --- trunk/reactos/lib/cpl/control/De.rc 2005-03-08 18:48:01 UTC (rev 13880) +++ trunk/reactos/lib/cpl/control/De.rc 2005-03-08 19:00:44 UTC (rev 13881) @@ -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 + _____
Added: trunk/reactos/lib/cpl/control/En.rc --- trunk/reactos/lib/cpl/control/En.rc 2005-03-08 18:48:01 UTC (rev 13880) +++ trunk/reactos/lib/cpl/control/En.rc 2005-03-08 19:00:44 UTC (rev 13881) @@ -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 + _____
Modified: trunk/reactos/lib/cpl/control/control.rc --- trunk/reactos/lib/cpl/control/control.rc 2005-03-08 18:48:01 UTC (rev 13880) +++ trunk/reactos/lib/cpl/control/control.rc 2005-03-08 19:00:44 UTC (rev 13881) @@ -22,31 +22,6 @@
//////////////////////////////////////////////////////////////////////// ///// // -// 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 @@ // 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" + + + +