System Control Panel:

* add language support
* english and german language files

svn path=/trunk/; revision=13881
This commit is contained in:
Klemens Friedl 2005-03-08 19:00:44 +00:00
parent 0b18ff226e
commit 7758ecc0bf
3 changed files with 70 additions and 25 deletions

View file

@ -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

View file

@ -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

View file

@ -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"