winmm: Build language resource files separately.

Do not include them from an other rc file.
This commit is contained in:
Michael Stefaniuc 2009-07-03 01:38:04 +02:00 committed by Alexandre Julliard
parent 47fc16fb54
commit 0b16b40148
20 changed files with 74 additions and 31 deletions

View File

@ -24,7 +24,26 @@ C_SRCS16 = \
SPEC_SRCS16 = \ SPEC_SRCS16 = \
mmsystem.spec mmsystem.spec
RC_SRCS = winmm_res.rc RC_SRCS = \
winmm_Cs.rc \
winmm_Da.rc \
winmm_De.rc \
winmm_En.rc \
winmm_Es.rc \
winmm_Fr.rc \
winmm_It.rc \
winmm_Ja.rc \
winmm_Ko.rc \
winmm_Lt.rc \
winmm_Nl.rc \
winmm_No.rc \
winmm_Pl.rc \
winmm_Pt.rc \
winmm_Ru.rc \
winmm_Si.rc \
winmm_Sk.rc \
winmm_Tr.rc \
winmm_res.rc
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@

View File

@ -19,6 +19,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 "windef.h"
#include "mmddk.h"
/* Czech strings in CP1250 */ /* Czech strings in CP1250 */
STRINGTABLE LANGUAGE LANG_CZECH, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_CZECH, SUBLANG_NEUTRAL

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_DANISH, SUBLANG_DEFAULT STRINGTABLE LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT STRINGTABLE LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
BEGIN BEGIN

View File

@ -17,6 +17,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
BEGIN BEGIN

View File

@ -19,6 +19,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 "windef.h"
#include "mmddk.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE STRINGTABLE

View File

@ -17,6 +17,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
/* UTF-8 */ /* UTF-8 */
#pragma code_page(65001) #pragma code_page(65001)
@ -127,5 +130,3 @@ MCIERR_SEQ_PORTUNSPECIFIED, "システムに現在のMIDIポートが指定さ
MCIERR_SEQ_TIMER, "全てのマルチメディアタイマは他のアプリケーションによって使用されています。タイマを使用しているアプリケーションを一つ終了してからやり直して下さい。" MCIERR_SEQ_TIMER, "全てのマルチメディアタイマは他のアプリケーションによって使用されています。タイマを使用しているアプリケーションを一つ終了してからやり直して下さい。"
END END
#pragma code_page(default)

View File

@ -17,6 +17,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT STRINGTABLE LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
/* UTF-8 */ /* UTF-8 */
#pragma code_page(65001) #pragma code_page(65001)
@ -129,5 +132,3 @@ MCIERR_SEQ_PORTUNSPECIFIED, "Sistemoje nėra nurodytas dabartinis MIDI prie
MCIERR_SEQ_TIMER, "Visi įvairialypės terpės laikmačiai yra naudojami kitų programų. Išeikite iš vienos tokios programos ir mėginkite vėl." MCIERR_SEQ_TIMER, "Visi įvairialypės terpės laikmačiai yra naudojami kitų programų. Išeikite iš vienos tokios programos ir mėginkite vėl."
END END
#pragma code_page(default)

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL STRINGTABLE LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_POLISH, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_POLISH, SUBLANG_NEUTRAL
BEGIN BEGIN

View File

@ -18,6 +18,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN STRINGTABLE LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_RUSSIAN, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_RUSSIAN, SUBLANG_NEUTRAL
BEGIN BEGIN

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
#pragma code_page(65001) #pragma code_page(65001)
STRINGTABLE LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT STRINGTABLE LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
@ -126,5 +129,3 @@ MCIERR_SEQ_PORTUNSPECIFIED, "Zahtevana MIDI vrata niso nameščena."
MCIERR_SEQ_TIMER, "Vsi većpredstavnostni števci so zasedeni. Zaprite enega od večpredstavnostih programov in poskusite znova." MCIERR_SEQ_TIMER, "Vsi većpredstavnostni števci so zasedeni. Zaprite enega od večpredstavnostih programov in poskusite znova."
END END
#pragma code_page(default)

View File

@ -16,6 +16,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_SLOVAK, SUBLANG_NEUTRAL STRINGTABLE LANGUAGE LANG_SLOVAK, SUBLANG_NEUTRAL
BEGIN BEGIN

View File

@ -18,6 +18,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 "windef.h"
#include "mmddk.h"
STRINGTABLE LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT STRINGTABLE LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
BEGIN BEGIN

View File

@ -23,31 +23,7 @@
*/ */
#include "windef.h" #include "windef.h"
#include "winbase.h"
#include "mmddk.h" #include "mmddk.h"
#include "winnls.h"
/* Add your language specific defines here */
#include "winmm_Cs.rc"
#include "winmm_Da.rc"
#include "winmm_De.rc"
#include "winmm_En.rc"
#include "winmm_Es.rc"
#include "winmm_Fr.rc"
#include "winmm_It.rc"
#include "winmm_Ko.rc"
#include "winmm_Lt.rc"
#include "winmm_Ja.rc"
#include "winmm_Nl.rc"
#include "winmm_No.rc"
#include "winmm_Pl.rc"
#include "winmm_Pt.rc"
#include "winmm_Ru.rc"
#include "winmm_Si.rc"
#include "winmm_Sk.rc"
#include "winmm_Tr.rc"
/* do not add NLS specific stuff below that line */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL