Commit 8e2f6368 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

notepad: Build language resource files separately.

Do not include them from an other rc file.
parent 99e17944
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -22,6 +22,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
/* Czech strings in CP1250 */
......
......@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_DANISH, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
MAIN_MENU MENU
......
......@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_ESPERANTO, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -22,6 +22,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
MAIN_MENU MENU
......
......@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
MAIN_MENU MENU
......
......@@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
{
POPUP "&Fjl" {
......
......@@ -23,6 +23,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
MAIN_MENU MENU
......
......@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
/* UTF-8 */
#pragma code_page(65001)
......@@ -123,5 +125,3 @@ STRING_OUT_OF_MEMORY, "この操作を実行するためのメ
下さい。"
}
#pragma code_page(default)
......@@ -22,6 +22,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
/* UTF-8 */
#pragma code_page(65001)
......@@ -120,4 +122,3 @@ STRING_OUT_OF_MEMORY, "Neužtenka atminties operacijai užbaigt
Norėdami atlaisvinti atminties uždarykite vieną ar daugiau programų."
}
#pragma code_page(default)
......@@ -13,7 +13,34 @@ C_SRCS = \
dialog.c \
main.c
RC_SRCS = rsrc.rc
RC_SRCS = \
Bg.rc \
Cs.rc \
Da.rc \
De.rc \
En.rc \
Eo.rc \
Es.rc \
Fi.rc \
Fr.rc \
Hu.rc \
It.rc \
Ja.rc \
Ko.rc \
Lt.rc \
Nl.rc \
No.rc \
Pl.rc \
Pt.rc \
Ro.rc \
Ru.rc \
Si.rc \
Sv.rc \
Th.rc \
Tr.rc \
Wa.rc \
Zh.rc \
rsrc.rc
SVG_SRCS = notepad.svg
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
MAIN_MENU MENU
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_NORWEGIAN, SUBLANG_NORWEGIAN_BOKMAL
MAIN_MENU MENU
......
......@@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -22,6 +22,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
MAIN_MENU MENU
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
#pragma code_page(65001)
......@@ -114,5 +116,3 @@ STRING_NOTFOUND, "'%s' nu a fost găsit."
STRING_OUT_OF_MEMORY, "Nu este destulă memorie pentru a completa această sarcină.\nÎnchideți una sau mai multe aplicații pentru a mări memoria liberă."
}
#pragma code_page(default)
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
#pragma code_page(65001)
LANGUAGE LANG_SLOVENIAN, SUBLANG_DEFAULT
......@@ -119,5 +121,3 @@ STRING_OUT_OF_MEMORY, "Za dokončanje operacije je na voljo pr
pomnilnika.\nZaprite enega ali več programov in poskusite znova."
}
#pragma code_page(default)
......@@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_SWEDISH, SUBLANG_NEUTRAL
MAIN_MENU MENU
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_THAI, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -18,6 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
MAIN_MENU MENU
......
......@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
#ifdef LANG_WALON
LANGUAGE LANG_WALON, SUBLANG_DEFAULT
......
......@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "notepad_res.h"
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
......@@ -212,5 +214,3 @@ STRING_NOTSAVED, "檔案 '%s'\n正文已更改\n\n是否儲存更改?"
STRING_NOTFOUND, "找不到: '%s'"
STRING_OUT_OF_MEMORY, "沒有足夠的內存來完成此項任務,\n請關閉一些程式後再試。"
}
#pragma code_page(default)
......@@ -19,6 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winuser.h>
#define MAIN_MENU 0x201
#define DIALOG_PAGESETUP 0x202
#define ID_ACCEL 0x203
......
......@@ -17,12 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "main.h"
#include "winnls.h"
#include "commctrl.h"
#include "notepad_res.h"
ID_ACCEL ACCELERATORS
......@@ -47,30 +41,3 @@ ID_ACCEL ACCELERATORS
/* @makedep: notepad.ico */
IDI_NOTEPAD ICON "notepad.ico"
#include "Bg.rc"
#include "Cs.rc"
#include "Da.rc"
#include "De.rc"
#include "En.rc"
#include "Eo.rc"
#include "Es.rc"
#include "Fi.rc"
#include "Fr.rc"
#include "Hu.rc"
#include "It.rc"
#include "Ja.rc"
#include "Ko.rc"
#include "Lt.rc"
#include "Nl.rc"
#include "No.rc"
#include "Pl.rc"
#include "Pt.rc"
#include "Ro.rc"
#include "Ru.rc"
#include "Si.rc"
#include "Sv.rc"
#include "Th.rc"
#include "Tr.rc"
#include "Wa.rc"
#include "Zh.rc"
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