Th.rc 4.03 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 *  Notepad (Thai Resources)
 *
 *  Copyright 2003 Jon Griffiths
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 20 21 22 23 24 25
 */

LANGUAGE LANG_THAI, SUBLANG_DEFAULT

MAIN_MENU MENU
{
 POPUP "" {
26
  MENUITEM "ҧ\tCtrl+N",        CMD_NEW
27 28 29 30
  MENUITEM "Դ...\tCtrl+O",   CMD_OPEN
  MENUITEM "ѹס\tCtrl+S",     CMD_SAVE
  MENUITEM "ѹס...",       CMD_SAVE_AS
  MENUITEM SEPARATOR
31
  MENUITEM "\tCtrl+P",            CMD_PRINT
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
  MENUITEM "Ѻ˹...",    CMD_PAGE_SETUP
  MENUITEM "Ѻͧ...", CMD_PRINTER_SETUP
  MENUITEM SEPARATOR
  MENUITEM "͡",             CMD_EXIT
 }
 POPUP "" {
  MENUITEM "¡׹\tCtrl+Z",     CMD_UNDO
  MENUITEM SEPARATOR
  MENUITEM "Ѵ\tCtrl+X",      CMD_CUT
  MENUITEM "Ѵ͡\tCtrl+C",     CMD_COPY
  MENUITEM "ҧ\tCtrl+V",    CMD_PASTE
  MENUITEM "ź\tDel",      CMD_DELETE
  MENUITEM SEPARATOR
  MENUITEM "͡\tCtrl+A",       CMD_SELECT_ALL
  MENUITEM "ѹ/\tF5",    CMD_TIME_DATE
  MENUITEM SEPARATOR
  MENUITEM "ͺ÷Ѵ",  CMD_WRAP
  MENUITEM "ٻẺѡ...",          CMD_FONT
 }
 POPUP "ѹ" {
  MENUITEM "\tCtrl+F",   CMD_SEARCH
  MENUITEM "ҵ\tF3",  CMD_SEARCH_NEXT
 }
 POPUP "" {
  MENUITEM "",         CMD_HELP_CONTENTS
  MENUITEM "...",        CMD_HELP_SEARCH
  MENUITEM "ǡѺ",     CMD_HELP_ON_HELP
  MENUITEM SEPARATOR
60
  MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD
61 62 63 64 65 66 67
 }
}

/* Dialog `Page setup' */

DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
68
FONT 8, "MS Shell Dlg"
69 70 71
CAPTION "Ѻ˹"
{
LTEXT    ":",  0x140,   10, 07, 40, 15
72
EDITTEXT IDC_PAGESETUP_HEADERVALUE,   60, 05,110, 12, WS_BORDER | WS_TABSTOP
73
LTEXT    "&Footer:",  0x142,   10, 24, 40, 15
74
EDITTEXT IDC_PAGESETUP_FOOTERVALUE,   60, 22,110, 12, WS_BORDER | WS_TABSTOP
75 76 77

GROUPBOX "ͺд:",      0x144,     10, 43,160, 45
LTEXT    ":",        0x145,   20, 55, 30, 10, WS_CHILD
78
EDITTEXT IDC_PAGESETUP_LEFTVALUE,     50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
79
LTEXT    ":",         0x148,    20, 73, 30, 10, WS_CHILD
80
EDITTEXT IDC_PAGESETUP_TOPVALUE,      50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
81
LTEXT    ":",       0x14B, 100, 55, 30, 10, WS_CHILD
82
EDITTEXT IDC_PAGESETUP_RIGHTVALUE,   130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
83
LTEXT    "ҧ:",      0x14E,100, 73, 30, 10, WS_CHILD
84
EDITTEXT IDC_PAGESETUP_BOTTOMVALUE,  130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
85

Jonathan Ernst's avatar
Jonathan Ernst committed
86 87 88
DEFPUSHBUTTON "ŧ",         IDOK,                   180,  3, 40, 15, WS_TABSTOP
PUSHBUTTON    "¡ԡ",     IDCANCEL,               180, 21, 40, 15, WS_TABSTOP
PUSHBUTTON    "",       IDHELP,                180, 39, 40, 15, WS_TABSTOP
89 90 91 92
}

STRINGTABLE DISCARDABLE
{
93 94
STRING_PAGESETUP_HEADERVALUE, "&f"
STRING_PAGESETUP_FOOTERVALUE, "˹ &p"
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113

STRING_NOTEPAD,       "Notepad"
STRING_ERROR,         "Դ"
STRING_WARNING,       "ҵ͹"
STRING_INFO,          "´"

STRING_UNTITLED,      "˹"

STRING_ALL_FILES,       "ء (*.*)"
STRING_TEXT_FILES_TXT,  " (*.txt)"

STRING_TOOLARGE,  " '%s' ˭Թ"
STRING_NOTEXT,    "س¹\nسͧ"
STRING_DOESNOTEXIST, "辺 '%s' ͧԴ\nسͧҧ ?"
STRING_NOTSAVED,  "ա¹ŧѺ͡\n\n'%s'\n\nسͧúѹ֡ѹ ?"
STRING_NOTFOUND,  "辺ͤ '%s' ͧä"
STRING_OUT_OF_MEMORY, "\nسͧ"

}