System Control Panel:
authorKlemens Friedl <frik85@gmail.com>
Tue, 8 Mar 2005 19:00:44 +0000 (19:00 +0000)
committerKlemens Friedl <frik85@gmail.com>
Tue, 8 Mar 2005 19:00:44 +0000 (19:00 +0000)
* add language support
* english and german language files

svn path=/trunk/; revision=13881

reactos/lib/cpl/control/De.rc [new file with mode: 0644]
reactos/lib/cpl/control/En.rc [new file with mode: 0644]
reactos/lib/cpl/control/control.rc

diff --git a/reactos/lib/cpl/control/De.rc b/reactos/lib/cpl/control/De.rc
new file mode 100644 (file)
index 0000000..0b4611c
--- /dev/null
@@ -0,0 +1,28 @@
+// German language resource file (frik85, 2005-03-08)\r
+\r
+LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
+//\r
+// Menu\r
+//\r
+\r
+IDM_MAINMENU MENU DISCARDABLE \r
+BEGIN\r
+    POPUP "&Datei"\r
+    BEGIN\r
+        MENUITEM "&Beenden",                     IDM_CLOSE\r
+    END\r
+    POPUP "&Ansicht"\r
+    BEGIN\r
+        MENUITEM "Große Symbole",                IDM_LARGEICONS\r
+        MENUITEM "Kleine Symbole",               IDM_SMALLICONS\r
+        MENUITEM "Liste",                        IDM_LIST\r
+        MENUITEM "Details",                      IDM_DETAILS\r
+    END\r
+    POPUP "&?"\r
+    BEGIN\r
+        MENUITEM "Inf&o",                        IDM_ABOUT\r
+    END\r
+END\r
+\r
diff --git a/reactos/lib/cpl/control/En.rc b/reactos/lib/cpl/control/En.rc
new file mode 100644 (file)
index 0000000..89ff27a
--- /dev/null
@@ -0,0 +1,28 @@
+// English language resource file (frik85, 2005-03-08)\r
+\r
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
+\r
+/////////////////////////////////////////////////////////////////////////////\r
+//\r
+// Menu\r
+//\r
+\r
+IDM_MAINMENU MENU DISCARDABLE \r
+BEGIN\r
+    POPUP "&File"\r
+    BEGIN\r
+        MENUITEM "&Close",                      IDM_CLOSE\r
+    END\r
+    POPUP "&View"\r
+    BEGIN\r
+        MENUITEM "Large Icons",                 IDM_LARGEICONS\r
+        MENUITEM "Small Icons",                 IDM_SMALLICONS\r
+        MENUITEM "List",                        IDM_LIST\r
+        MENUITEM "Details",                     IDM_DETAILS\r
+    END\r
+    POPUP "Help"\r
+    BEGIN\r
+        MENUITEM "About",                       IDM_ABOUT\r
+    END\r
+END\r
+\r
index afed276..1fac250 100644 (file)
 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
 
 
 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
 /////////////////////////////////////////////////////////////////////////////
 //
 // Icon
@@ -54,3 +29,17 @@ END
 // remains consistent on all systems.
 IDI_MAINICON            ICON    DISCARDABLE     "resources/config.ico"
 /////////////////////////////////////////////////////////////////////////////
 // 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"
+
+
+
+