wineboot: 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:30:39 +02:00 committed by Alexandre Julliard
parent 13455d31ca
commit f0c3514537
20 changed files with 57 additions and 61 deletions

View File

@ -12,7 +12,24 @@ C_SRCS = \
shutdown.c \
wineboot.c
RC_SRCS = wineboot.rc
RC_SRCS = \
wineboot_Da.rc \
wineboot_De.rc \
wineboot_En.rc \
wineboot_Es.rc \
wineboot_Fr.rc \
wineboot_Ja.rc \
wineboot_Ko.rc \
wineboot_Lt.rc \
wineboot_Nl.rc \
wineboot_No.rc \
wineboot_Pl.rc \
wineboot_Pt.rc \
wineboot_Ro.rc \
wineboot_Ru.rc \
wineboot_Si.rc \
wineboot_Sv.rc \
wineboot_Zh.rc
@MAKE_PROG_RULES@

View File

@ -16,5 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "windef.h"
#include "winuser.h"
#define IDC_STATIC -1
#define IDD_ENDTASK 100

View File

@ -1,46 +0,0 @@
/*
* WineBoot resources
*
* Copyright (C) 2007 Robert Shearman for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* 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
*
*/
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winnls.h"
#include "winuser.h"
#include "commctrl.h"
#include "resource.h"
#include "wineboot_Da.rc"
#include "wineboot_De.rc"
#include "wineboot_En.rc"
#include "wineboot_Es.rc"
#include "wineboot_Fr.rc"
#include "wineboot_Ja.rc"
#include "wineboot_Ko.rc"
#include "wineboot_Lt.rc"
#include "wineboot_Nl.rc"
#include "wineboot_No.rc"
#include "wineboot_Pl.rc"
#include "wineboot_Pt.rc"
#include "wineboot_Ro.rc"
#include "wineboot_Ru.rc"
#include "wineboot_Si.rc"
#include "wineboot_Sv.rc"
#include "wineboot_Zh.rc"

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -20,6 +20,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "resource.h"
#pragma code_page(65001)
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
@ -34,5 +37,3 @@ BEGIN
LTEXT "Si termina el programa puede perder los datos no grabados.",
IDC_STATIC,7,28,172,15
END
#pragma code_page(default)

View File

@ -18,6 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*/
#include "resource.h"
#pragma code_page(65001)
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
@ -34,5 +37,3 @@ BEGIN
LTEXT "Si vous arrêtez le programme, vous pouvez perdre toutes les données non enregistrées.",
IDC_STATIC,7,28,172,15
END
#pragma code_page(default)

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
/* UTF-8 */
#pragma code_page(65001)
@ -36,5 +38,3 @@ BEGIN
LTEXT "プロセスを終了させると、保存していないデータは全て失われます。",
IDC_STATIC,7,28,262,15
END
#pragma code_page(default)

View File

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

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
/* UTF-8 */
#pragma code_page(65001)
@ -36,5 +38,3 @@ BEGIN
LTEXT "Jei nutrauksite procesą, tai galite prarasti visus neišsaugotus duomenis.",
IDC_STATIC,7,28,172,17
END
#pragma code_page(default)

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -20,6 +20,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -20,6 +20,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
@ -36,5 +38,3 @@ BEGIN
LTEXT "Prin terminarea acestui proces se pot pierde datele nesalvate.",
IDC_STATIC,7,28,172,15
END
#pragma code_page(default)

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
@ -35,5 +37,3 @@ BEGIN
LTEXT "Če se odločite za končanje programa, lahko izgubite neshranjene podatke.",
IDC_STATIC,7,28,172,15
END
#pragma code_page(default)

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
IDD_ENDTASK DIALOG DISCARDABLE 0, 0, 186, 71

View File

@ -19,6 +19,8 @@
*
*/
#include "resource.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
@ -51,5 +53,3 @@ BEGIN
LTEXT "如果你中斷進程,有可能丟失沒有儲存的數據.",
IDC_STATIC,7,28,172,15
END
#pragma code_page(default)