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

notepad: Move from a per resource to a global LANGUAGE setting.

parent f6ff7225
......@@ -23,7 +23,9 @@
#include "notepad_res.h"
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
MAIN_MENU MENU
{
POPUP "&Fjl" {
MENUITEM "&j\tCtrl+N", CMD_NEW
......@@ -93,7 +95,7 @@ PUSHBUTTON "Mgse", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP
PUSHBUTTON "&Sg", IDHELP, 180, 39, 40, 15, WS_TABSTOP
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
STRINGTABLE DISCARDABLE
{
STRING_PAGESETUP_HEADERVALUE, "&f"
STRING_PAGESETUP_FOOTERVALUE, "Oldalszm: &p."
......
......@@ -24,7 +24,9 @@
/* Chinese text is encoded in UTF-8 */
#pragma code_page(65001)
MAIN_MENU MENU LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
MAIN_MENU MENU
{
POPUP "文件(&F)" {
MENUITEM "新建(&N)\tCtrl+N", CMD_NEW
......@@ -69,7 +71,6 @@ POPUP "帮助(&H)" {
/* Dialog `Page setup' */
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 9, "MS Shell Dlg"
CAPTION "页面设置"
......@@ -94,7 +95,7 @@ PUSHBUTTON "取消", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP
PUSHBUTTON "帮助(&H)", IDHELP, 180, 39, 40, 15, WS_TABSTOP
}
STRINGTABLE DISCARDABLE LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
STRINGTABLE DISCARDABLE
{
STRING_PAGESETUP_HEADERVALUE, "&f"
STRING_PAGESETUP_FOOTERVALUE, "&p 页"
......
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