cmd: 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:36 +02:00 committed by Alexandre Julliard
parent 6f4b74de5b
commit 2753331af0
18 changed files with 48 additions and 26 deletions

View file

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

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
STRINGTABLE

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
STRINGTABLE

View file

@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
STRINGTABLE

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
/* UTF-8 */
#pragma code_page(65001)
@ -279,5 +281,3 @@ EXIT\t\tCMDを終了\n\n\
WCMD_MOREPROMPT, "More? "
WCMD_LINETOOLONG, "The input line is too long.\n"
}
#pragma code_page(default)

View file

@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -13,7 +13,23 @@ C_SRCS = \
directory.c \
wcmdmain.c
RC_SRCS = wcmdrc.rc
RC_SRCS = \
Cs.rc \
Da.rc \
De.rc \
En.rc \
Es.rc \
Fr.rc \
Ja.rc \
Ko.rc \
Nl.rc \
No.rc \
Pl.rc \
Pt.rc \
Ru.rc \
Si.rc \
Tr.rc \
wcmdrc.rc
SVG_SRCS = wcmd.svg

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
STRINGTABLE

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
STRINGTABLE

View file

@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
STRINGTABLE

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
@ -272,5 +274,3 @@ Uporabite HELP <ukaz> za več informacijo o kateremkoli od zgoraj navedenih ukaz
WCMD_MOREPROMPT, "Več? "
WCMD_LINETOOLONG, "The input line is too long.\n"
}
#pragma code_page(default)

View file

@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wcmd.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
STRINGTABLE

View file

@ -21,6 +21,7 @@
#define IDI_ICON1 1
#include <windows.h>
#include <windef.h>
#ifndef RC_INVOKED
#include <string.h>
#include <stdlib.h>

View file

@ -16,28 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winuser.h>
#include "wcmd.h"
#include "Cs.rc"
#include "Da.rc"
#include "De.rc"
#include "En.rc"
#include "Es.rc"
#include "Fr.rc"
#include "Ja.rc"
#include "Ko.rc"
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Tr.rc"
LANGUAGE LANG_NEUTRAL,SUBLANG_NEUTRAL
/* @makedep: wcmd.ico */
IDI_ICON1 ICON wcmd.ico