notepad: Move from a per resource to a global LANGUAGE setting.
This commit is contained in:
parent
f6ff7225b3
commit
cd8e1f8e75
|
@ -23,7 +23,9 @@
|
||||||
|
|
||||||
#include "notepad_res.h"
|
#include "notepad_res.h"
|
||||||
|
|
||||||
MAIN_MENU MENU LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
|
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
|
||||||
|
|
||||||
|
MAIN_MENU MENU
|
||||||
{
|
{
|
||||||
POPUP "&Fájl" {
|
POPUP "&Fájl" {
|
||||||
MENUITEM "Ú&j\tCtrl+N", CMD_NEW
|
MENUITEM "Ú&j\tCtrl+N", CMD_NEW
|
||||||
|
@ -93,7 +95,7 @@ PUSHBUTTON "M
|
||||||
PUSHBUTTON "&Súgó", IDHELP, 180, 39, 40, 15, WS_TABSTOP
|
PUSHBUTTON "&Súgó", IDHELP, 180, 39, 40, 15, WS_TABSTOP
|
||||||
}
|
}
|
||||||
|
|
||||||
STRINGTABLE DISCARDABLE LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
|
STRINGTABLE DISCARDABLE
|
||||||
{
|
{
|
||||||
STRING_PAGESETUP_HEADERVALUE, "&f"
|
STRING_PAGESETUP_HEADERVALUE, "&f"
|
||||||
STRING_PAGESETUP_FOOTERVALUE, "Oldalszám: &p."
|
STRING_PAGESETUP_FOOTERVALUE, "Oldalszám: &p."
|
||||||
|
|
|
@ -24,7 +24,9 @@
|
||||||
/* Chinese text is encoded in UTF-8 */
|
/* Chinese text is encoded in UTF-8 */
|
||||||
#pragma code_page(65001)
|
#pragma code_page(65001)
|
||||||
|
|
||||||
MAIN_MENU MENU LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||||||
|
|
||||||
|
MAIN_MENU MENU
|
||||||
{
|
{
|
||||||
POPUP "文件(&F)" {
|
POPUP "文件(&F)" {
|
||||||
MENUITEM "新建(&N)\tCtrl+N", CMD_NEW
|
MENUITEM "新建(&N)\tCtrl+N", CMD_NEW
|
||||||
|
@ -69,7 +71,6 @@ POPUP "帮助(&H)" {
|
||||||
/* Dialog `Page setup' */
|
/* Dialog `Page setup' */
|
||||||
|
|
||||||
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
||||||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
|
||||||
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
||||||
FONT 9, "MS Shell Dlg"
|
FONT 9, "MS Shell Dlg"
|
||||||
CAPTION "页面设置"
|
CAPTION "页面设置"
|
||||||
|
@ -94,7 +95,7 @@ PUSHBUTTON "取消", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP
|
||||||
PUSHBUTTON "帮助(&H)", IDHELP, 180, 39, 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_HEADERVALUE, "&f"
|
||||||
STRING_PAGESETUP_FOOTERVALUE, "&p 页"
|
STRING_PAGESETUP_FOOTERVALUE, "&p 页"
|
||||||
|
|
Loading…
Reference in New Issue