appwiz.cpl: 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:33:11 +02:00 committed by Alexandre Julliard
parent 937d70203e
commit aca9acf18f
16 changed files with 45 additions and 33 deletions

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
#pragma code_page(65001)
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
@ -78,5 +80,3 @@ FONT 8, "MS Shell Dlg"
CONTROL "", IDC_INFO_UPDATES, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 90, 136, 8
CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 100, 136, 8
}
#pragma code_page(default)

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)
@ -78,5 +80,3 @@ FONT 9, "MS Shell Dlg"
CONTROL "", IDC_INFO_UPDATES, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 90, 136, 8
CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 100, 136, 8
}
#pragma code_page(default)

View File

@ -20,6 +20,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
/* UTF-8 */
#pragma code_page(65001)
@ -79,5 +81,3 @@ FONT 8, "MS Shell Dlg"
CONTROL "", IDC_INFO_UPDATES, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 90, 136, 8
CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 100, 136, 8
}
#pragma code_page(default)

View File

@ -8,7 +8,21 @@ IMPORTS = kernel32 comctl32 advapi32 shell32 user32 comdlg32
C_SRCS = \
appwiz.c
RC_SRCS = appwiz.rc
RC_SRCS = \
De.rc \
En.rc \
Fr.rc \
Ja.rc \
Ko.rc \
Lt.rc \
Nl.rc \
No.rc \
Pt.rc \
Ro.rc \
Ru.rc \
Si.rc \
Zh.rc \
appwiz.rc
@MAKE_DLL_RULES@

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
STRINGTABLE

View File

@ -20,6 +20,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
@ -79,5 +81,3 @@ FONT 8, "MS Shell Dlg"
CONTROL "", IDC_INFO_UPDATES, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 90, 136, 8
CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 100, 136, 8
}
#pragma code_page(default)

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
@ -78,5 +80,3 @@ FONT 8, "MS Shell Dlg"
CONTROL "", IDC_INFO_UPDATES, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 90, 136, 8
CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 100, 136, 8
}
#pragma code_page(default)

View File

@ -19,6 +19,8 @@
*
*/
#include "res.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
@ -135,5 +137,3 @@ FONT 9, "MS Shell Dlg"
CONTROL "", IDC_INFO_UPDATES, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 90, 136, 8
CONTROL "", IDC_INFO_COMMENTS, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 104, 100, 136, 8
}
#pragma code_page(default)

View File

@ -18,28 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h>
#include "res.h"
#include "De.rc"
#include "En.rc"
#include "Fr.rc"
#include "Ja.rc"
#include "Ko.rc"
#include "Lt.rc"
#include "Nl.rc"
#include "No.rc"
#include "Pt.rc"
#include "Ro.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Zh.rc"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: appwiz.ico */
ICO_MAIN ICON "appwiz.ico"

View File

@ -19,6 +19,10 @@
*
*/
#include <windef.h>
#include <winuser.h>
#include <commctrl.h>
/* Dialogs */
#define IDD_MAIN 1