Commit eaa31f33 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wordpad: Build language resource files separately.

Do not include them from an other rc file.
parent 465cf355
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
......@@ -244,5 +246,3 @@ BEGIN
STRING_PRINTING_NOT_IMPLEMENTED, "Drucken ist nicht implementiert"
STRING_MAX_TAB_STOPS, "Es können nur maximal 32 Tabstopps definiert werden."
END
#pragma code_page(default)
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
/* UTF-8 */
#pragma code_page(65001)
......@@ -245,5 +247,3 @@ BEGIN
STRING_PRINTING_NOT_IMPLEMENTED, "プリントが実装されていません。"
STRING_MAX_TAB_STOPS, "32以上なタブを追加できません。"
END
#pragma code_page(default)
......@@ -17,6 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
/* UTF-8 */
#pragma code_page(65001)
......@@ -245,5 +247,3 @@ BEGIN
STRING_PRINTING_NOT_IMPLEMENTED, "Spausdinimas nerealizuotas"
STRING_MAX_TAB_STOPS, "Negalima pridėti daugiau negu 32-jų tabuliavimo pozicijų."
END
#pragma code_page(default)
......@@ -14,7 +14,25 @@ C_SRCS = \
registry.c \
wordpad.c
RC_SRCS = rsrc.rc
RC_SRCS = \
Da.rc \
De.rc \
En.rc \
Fr.rc \
Hu.rc \
Ja.rc \
Ko.rc \
Lt.rc \
Nl.rc \
No.rc \
Pl.rc \
Pt.rc \
Ru.rc \
Si.rc \
Sv.rc \
Tr.rc \
Zh.rc \
rsrc.rc
SVG_SRCS = wordpad.svg
......
......@@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
......@@ -245,5 +247,3 @@ BEGIN
STRING_PRINTING_NOT_IMPLEMENTED, "Tiskanje (še) ni na voljo"
STRING_MAX_TAB_STOPS, "Ne morem vstaviti več kot 32 položajev tabulatorja."
END
#pragma code_page(default)
......@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
#pragma code_page(65001)
......@@ -244,5 +246,3 @@ BEGIN
STRING_PRINTING_NOT_IMPLEMENTED, "Utskrift ej implementerat."
STRING_MAX_TAB_STOPS, "Kan ej lägga till mer än 32 tabbstopp."
END
#pragma code_page(default)
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
IDM_MAINMENU MENU DISCARDABLE
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "wordpad.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
......@@ -469,5 +471,3 @@ BEGIN
STRING_OPEN_FAILED, "不能開啟檔案."
STRING_OPEN_ACCESS_DENIED, "你沒有開啟檔案的權力."
END
#pragma code_page(default)
......@@ -17,9 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winuser.h>
#include "wordpad.h"
MAINACCELTABLE ACCELERATORS
......@@ -63,21 +60,3 @@ IDI_WRI ICON "wri.ico"
/* @makedep: txt.ico */
IDI_TXT ICON "txt.ico"
#include "Da.rc"
#include "De.rc"
#include "En.rc"
#include "Fr.rc"
#include "Hu.rc"
#include "Ja.rc"
#include "Ko.rc"
#include "Lt.rc"
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Sv.rc"
#include "Tr.rc"
#include "Zh.rc"
......@@ -17,6 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winuser.h>
#define MAX_STRING_LEN 255
#define TWIPS_PER_INCH 1440
......
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