Th.rc 4.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
/*
 *  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
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

LANGUAGE LANG_THAI, SUBLANG_DEFAULT

MAIN_MENU MENU
{
 POPUP "" {
  MENUITEM "ҧ...",        CMD_NEW
  MENUITEM "Դ...\tCtrl+O",   CMD_OPEN
  MENUITEM "ѹס\tCtrl+S",     CMD_SAVE
  MENUITEM "ѹס...",       CMD_SAVE_AS
  MENUITEM SEPARATOR
  MENUITEM "",            CMD_PRINT
  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
  POPUP "´..." {
   MENUITEM "͹حҵ", CMD_LICENSE
   MENUITEM " WARRANTY", CMD_NO_WARRANTY
   MENUITEM "ǡѺ Wine... ", CMD_ABOUT_WINE
  }
 }
}

/* Dialog `Page setup' */

DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
FONT 8, "Helv"
CAPTION "Ѻ˹"
{
LTEXT    ":",  0x140,   10, 07, 40, 15
EDITTEXT 0x141,       60, 05,110, 12, WS_BORDER | WS_TABSTOP
LTEXT    "&Footer:",  0x142,   10, 24, 40, 15
EDITTEXT 0x143,       60, 22,110, 12, WS_BORDER | WS_TABSTOP

GROUPBOX "ͺд:",      0x144,     10, 43,160, 45
LTEXT    ":",        0x145,   20, 55, 30, 10, WS_CHILD
EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/   0x147,       50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
LTEXT    ":",         0x148,    20, 73, 30, 10, WS_CHILD
EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/    0x14A,        50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
LTEXT    ":",       0x14B, 100, 55, 30, 10, WS_CHILD
EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/  0x14D,     130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
LTEXT    "ҧ:",      0x14E,100, 73, 30, 10, WS_CHILD
EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150,    130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP

DEFPUSHBUTTON "ŧ",         0x151,                   180,  3, 40, 15, WS_TABSTOP
PUSHBUTTON    "¡ԡ",     0x152,               180, 21, 40, 15, WS_TABSTOP
PUSHBUTTON    "",       0x153,                180, 39, 40, 15, WS_TABSTOP
}

STRINGTABLE DISCARDABLE
{
STRING_PAGESETUP_HEADERVALUE, "&n"        /* FIXME */
STRING_PAGESETUP_FOOTERVALUE, "˹ &s"   /* FIXME */
STRING_PAGESETUP_LEFTVALUE,   "20 ."     /* FIXME */
STRING_PAGESETUP_RIGHTVALUE,  "20 ."     /* FIXME */
STRING_PAGESETUP_TOPVALUE,    "25 ."     /* FIXME */
STRING_PAGESETUP_BOTTOMVALUE, "25 ."     /* FIXME */

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سͧ"

}