Commit 807d75a9 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winecfg: Build language resource files separately.

Do not include them from an other rc file.
parent f0c35145
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* *
*/ */
#include "resource.h"
/* Czech strings in CP1250 */ /* Czech strings in CP1250 */
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
IDD_ABOUTCFG DIALOGEX 0, 0, 260, 270 IDD_ABOUTCFG DIALOGEX 0, 0, 260, 270
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
* *
*/ */
#include "resource.h"
/* UTF-8 */ /* UTF-8 */
#pragma code_page(65001) #pragma code_page(65001)
...@@ -327,5 +329,3 @@ BEGIN ...@@ -327,5 +329,3 @@ BEGIN
IDC_SYSPARAMS_MENU_HILIGHT "Menu Highlight" IDC_SYSPARAMS_MENU_HILIGHT "Menu Highlight"
IDC_SYSPARAMS_MENUBAR "メニュー バー" IDC_SYSPARAMS_MENUBAR "メニュー バー"
END END
#pragma code_page(default)
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
/* UTF-8 */ /* UTF-8 */
#pragma code_page(65001) #pragma code_page(65001)
...@@ -325,5 +327,3 @@ BEGIN ...@@ -325,5 +327,3 @@ BEGIN
IDC_SYSPARAMS_MENU_HILIGHT "Meniu paryškinimas" IDC_SYSPARAMS_MENU_HILIGHT "Meniu paryškinimas"
IDC_SYSPARAMS_MENUBAR "Meniu juosta" IDC_SYSPARAMS_MENUBAR "Meniu juosta"
END END
#pragma code_page(default)
...@@ -18,7 +18,31 @@ C_SRCS = \ ...@@ -18,7 +18,31 @@ C_SRCS = \
winecfg.c \ winecfg.c \
x11drvdlg.c x11drvdlg.c
RC_SRCS = winecfg.rc RC_SRCS = \
Bg.rc \
Cs.rc \
Da.rc \
De.rc \
En.rc \
Es.rc \
Fi.rc \
Fr.rc \
Hu.rc \
It.rc \
Ja.rc \
Ko.rc \
Lt.rc \
Nl.rc \
No.rc \
Pl.rc \
Pt.rc \
Ro.rc \
Ru.rc \
Si.rc \
Sv.rc \
Tr.rc \
Zh.rc \
winecfg.rc
@MAKE_PROG_RULES@ @MAKE_PROG_RULES@
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -23,6 +23,8 @@ ...@@ -23,6 +23,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001) #pragma code_page(65001)
...@@ -324,5 +326,3 @@ BEGIN ...@@ -324,5 +326,3 @@ BEGIN
IDC_SYSPARAMS_MENU_HILIGHT "Evidențiere meniu" IDC_SYSPARAMS_MENU_HILIGHT "Evidențiere meniu"
IDC_SYSPARAMS_MENUBAR "Bară de meniu" IDC_SYSPARAMS_MENUBAR "Bară de meniu"
END END
#pragma code_page(default)
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
#pragma code_page(65001) #pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
...@@ -324,5 +326,3 @@ BEGIN ...@@ -324,5 +326,3 @@ BEGIN
IDC_SYSPARAMS_MENU_HILIGHT "Meni: osvetljen" IDC_SYSPARAMS_MENU_HILIGHT "Meni: osvetljen"
IDC_SYSPARAMS_MENUBAR "Meni: vrstica" IDC_SYSPARAMS_MENUBAR "Meni: vrstica"
END END
#pragma code_page(default)
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
* *
*/ */
#include "resource.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
IDR_WINECFG MENU DISCARDABLE IDR_WINECFG MENU DISCARDABLE
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
* *
*/ */
#include "resource.h"
/* Chinese text is encoded in UTF-8 */ /* Chinese text is encoded in UTF-8 */
#pragma code_page(65001) #pragma code_page(65001)
...@@ -594,5 +596,3 @@ BEGIN ...@@ -594,5 +596,3 @@ BEGIN
IDC_SYSPARAMS_INACTIVE_TITLE "非當前標題欄" IDC_SYSPARAMS_INACTIVE_TITLE "非當前標題欄"
IDC_SYSPARAMS_INACTIVE_TITLE_TEXT "非當前標題欄文字" IDC_SYSPARAMS_INACTIVE_TITLE_TEXT "非當前標題欄文字"
END END
#pragma code_page(default)
...@@ -23,6 +23,10 @@ ...@@ -23,6 +23,10 @@
* *
*/ */
#include <windef.h>
#include <winuser.h>
#include <commctrl.h>
#define IDC_STATIC -1 #define IDC_STATIC -1
#define IDS_TAB_APPLICATIONS 2 #define IDS_TAB_APPLICATIONS 2
#define IDS_TAB_DLLS 3 #define IDS_TAB_DLLS 3
......
...@@ -20,41 +20,8 @@ ...@@ -20,41 +20,8 @@
* *
*/ */
#include "config.h" /* Needed for the PACKAGE_STRING definition */
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winnls.h"
#include "winuser.h"
#include "commctrl.h"
#include "resource.h" #include "resource.h"
#include "Bg.rc"
#include "Cs.rc"
#include "Da.rc"
#include "De.rc"
#include "En.rc"
#include "Es.rc"
#include "Fi.rc"
#include "Fr.rc"
#include "Hu.rc"
#include "It.rc"
#include "Ja.rc"
#include "Ko.rc"
#include "Lt.rc"
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
#include "Ro.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Sv.rc"
#include "Tr.rc"
#include "Zh.rc"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: idb_wine.bmp */ /* @makedep: idb_wine.bmp */
IDB_WINE BITMAP idb_wine.bmp IDB_WINE BITMAP idb_wine.bmp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment