shell32: Build language resource files separately.

Do not include them from an other rc file.
This commit is contained in:
Michael Stefaniuc 2009-07-02 00:28:19 +02:00 committed by Alexandre Julliard
parent 5b9a7edaaf
commit ee8c98c05c
31 changed files with 94 additions and 60 deletions

View File

@ -54,7 +54,37 @@ C_SRCS = \
trash.c \
xdg.c
RC_SRCS = shres.rc
RC_SRCS = \
shell32_Bg.rc \
shell32_Ca.rc \
shell32_Cs.rc \
shell32_Da.rc \
shell32_De.rc \
shell32_En.rc \
shell32_Eo.rc \
shell32_Es.rc \
shell32_Fi.rc \
shell32_Fr.rc \
shell32_Hu.rc \
shell32_It.rc \
shell32_Ja.rc \
shell32_Ko.rc \
shell32_Lt.rc \
shell32_Nl.rc \
shell32_No.rc \
shell32_Pl.rc \
shell32_Pt.rc \
shell32_Ro.rc \
shell32_Ru.rc \
shell32_Si.rc \
shell32_Sk.rc \
shell32_Sv.rc \
shell32_Tr.rc \
shell32_Uk.rc \
shell32_Wa.rc \
shell32_Zh.rc \
shres.rc \
version.rc
SVG_SRCS = \
desktop.svg \

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_CATALAN, SUBLANG_DEFAULT
/*

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
/* Czech strings in CP1250 */

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_ESPERANTO, SUBLANG_DEFAULT
/* Cxapelitaj literoj estas en Latin-3 iso8895-3 */

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
#pragma code_page(65001) /* UTF-8 */
@ -309,5 +311,3 @@ GNU avec Wine ; si ce nest pas le cas, écrivez à la : \
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, \
MA 02110-1301, USA."
}
#pragma code_page(default) /* Return to default encoding */

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
/*

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
/* UTF-8 */
#pragma code_page(65001)
@ -303,5 +305,3 @@ You should have received a copy of the GNU Lesser General Public \
License along with Wine; if not, write to the Free Software \
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."
}
#pragma code_page(default)

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
/* UTF-8 */
#pragma code_page(65001)
@ -307,5 +309,3 @@ kopiją kartu su Wine; jei negavote, rašykite adresu \
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, \
Boston, MA 02110-1301, USA."
}
#pragma code_page(default)

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
MENU_001 MENU DISCARDABLE

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
MENU_001 MENU DISCARDABLE

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
@ -304,5 +306,3 @@ You should have received a copy of the GNU Lesser General Public \
License along with this library; if not, write to the Free Software \
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."
}
#pragma code_page(default)

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
@ -303,6 +305,3 @@ You should have received a copy of the GNU Lesser General Public \
License along with this library; if not, write to the Free Software \
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."
}
#pragma code_page(default)

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
/*

View File

@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
/*

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
MENU_001 MENU DISCARDABLE

View File

@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
LANGUAGE LANG_WALON, SUBLANG_DEFAULT
/*

View File

@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "shresdef.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
@ -209,5 +211,3 @@ BEGIN
IDS_CPANEL_NAME "名稱"
IDS_CPANEL_DESCRIPTION "描述"
END
#pragma code_page(default)

View File

@ -18,16 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winnls.h"
#include "wingdi.h"
#include "shlobj.h"
#include "shresdef.h"
#include "dlgs.h"
#include "version.rc"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
@ -131,40 +122,3 @@ IDR_AVI_FILENUKE AVI searching.avi
/* @makedep: searching.avi */
IDR_AVI_FILEDELETE AVI searching.avi
/*
* 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 "shell32_Bg.rc"
#include "shell32_Ca.rc"
#include "shell32_Cs.rc"
#include "shell32_Da.rc"
#include "shell32_De.rc"
#include "shell32_En.rc"
#include "shell32_Eo.rc"
#include "shell32_Es.rc"
#include "shell32_Fi.rc"
#include "shell32_Fr.rc"
#include "shell32_Hu.rc"
#include "shell32_It.rc"
#include "shell32_Ja.rc"
#include "shell32_Ko.rc"
#include "shell32_Lt.rc"
#include "shell32_Nl.rc"
#include "shell32_No.rc"
#include "shell32_Pl.rc"
#include "shell32_Pt.rc"
#include "shell32_Ro.rc"
#include "shell32_Ru.rc"
#include "shell32_Si.rc"
#include "shell32_Sk.rc"
#include "shell32_Sv.rc"
#include "shell32_Tr.rc"
#include "shell32_Uk.rc"
#include "shell32_Wa.rc"
#include "shell32_Zh.rc"

View File

@ -19,6 +19,13 @@
#ifndef __WINE_SHELL_RES_H
#define __WINE_SHELL_RES_H
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winnls.h>
#include <shlobj.h>
#include <dlgs.h>
/*
columntitles for the shellview
*/