2003-12-01 23:43:20 +01:00
|
|
|
|
/*
|
|
|
|
|
* 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
|
2006-05-18 14:49:52 +02:00
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2003-12-01 23:43:20 +01:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
LANGUAGE LANG_THAI, SUBLANG_DEFAULT
|
|
|
|
|
|
|
|
|
|
MAIN_MENU MENU
|
|
|
|
|
{
|
|
|
|
|
POPUP "<22><><EFBFBD><EFBFBD>" {
|
2006-07-12 13:32:47 +02:00
|
|
|
|
MENUITEM "<22><><EFBFBD>ҧ<EFBFBD><D2A7><EFBFBD><EFBFBD>\tCtrl+N", CMD_NEW
|
2003-12-01 23:43:20 +01:00
|
|
|
|
MENUITEM "<22><>Դ...\tCtrl+O", CMD_OPEN
|
|
|
|
|
MENUITEM "<22>ѹ<EFBFBD>ס\tCtrl+S", CMD_SAVE
|
|
|
|
|
MENUITEM "<22>ѹ<EFBFBD>ס<EFBFBD><D7A1><EFBFBD><EFBFBD>...", CMD_SAVE_AS
|
|
|
|
|
MENUITEM SEPARATOR
|
2006-07-12 13:32:47 +02:00
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tCtrl+P", CMD_PRINT
|
2003-12-01 23:43:20 +01:00
|
|
|
|
MENUITEM "<22><>Ѻ<EFBFBD><D1BA><EFBFBD><EFBFBD>˹<EFBFBD><CBB9>...", CMD_PAGE_SETUP
|
|
|
|
|
MENUITEM "<22><>Ѻ<EFBFBD><D1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͧ<EFBFBD><CDA7><EFBFBD><EFBFBD><EFBFBD>...", CMD_PRINTER_SETUP
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "<22>͡", CMD_EXIT
|
|
|
|
|
}
|
|
|
|
|
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD>" {
|
|
|
|
|
MENUITEM "<22><><EFBFBD>¡<EFBFBD>\tCtrl+Z", CMD_UNDO
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "<22>Ѵ\tCtrl+X", CMD_CUT
|
|
|
|
|
MENUITEM "<22>Ѵ<EFBFBD>͡\tCtrl+C", CMD_COPY
|
|
|
|
|
MENUITEM "<22>ҧ\tCtrl+V", CMD_PASTE
|
|
|
|
|
MENUITEM "ź\tDel", CMD_DELETE
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "<22><><EFBFBD>͡<EFBFBD><CDA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+A", CMD_SELECT_ALL
|
|
|
|
|
MENUITEM "<22>ѹ<EFBFBD><D1B9><EFBFBD>/\tF5", CMD_TIME_DATE
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "<22><>ͺ<EFBFBD>÷Ѵ<C3B7><D1B4><EFBFBD>", CMD_WRAP
|
|
|
|
|
MENUITEM "<22>ٻẺ<D9BB><E1BABA><EFBFBD><EFBFBD>ѡ<EFBFBD><D1A1>...", CMD_FONT
|
|
|
|
|
}
|
|
|
|
|
POPUP "<22>ѹ<EFBFBD><D1B9>" {
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>\tCtrl+F", CMD_SEARCH
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD>ҵ<EFBFBD><D2B5><EFBFBD><EFBFBD>\tF3", CMD_SEARCH_NEXT
|
|
|
|
|
}
|
|
|
|
|
POPUP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" {
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", CMD_HELP_CONTENTS
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>...", CMD_HELP_SEARCH
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD>ǡѺ<C7A1><D1BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", CMD_HELP_ON_HELP
|
|
|
|
|
MENUITEM SEPARATOR
|
2008-06-07 12:07:15 +02:00
|
|
|
|
MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD
|
2003-12-01 23:43:20 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Dialog `Page setup' */
|
|
|
|
|
|
|
|
|
|
DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
|
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
2004-08-24 20:33:01 +02:00
|
|
|
|
FONT 8, "MS Shell Dlg"
|
2003-12-01 23:43:20 +01:00
|
|
|
|
CAPTION "<22><>Ѻ<EFBFBD><D1BA><EFBFBD><EFBFBD>˹<EFBFBD><CBB9>"
|
|
|
|
|
{
|
|
|
|
|
LTEXT "<22><><EFBFBD>:", 0x140, 10, 07, 40, 15
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_HEADERVALUE, 60, 05,110, 12, WS_BORDER | WS_TABSTOP
|
2003-12-01 23:43:20 +01:00
|
|
|
|
LTEXT "&Footer:", 0x142, 10, 24, 40, 15
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 60, 22,110, 12, WS_BORDER | WS_TABSTOP
|
2003-12-01 23:43:20 +01:00
|
|
|
|
|
|
|
|
|
GROUPBOX "<22>ͺ<EFBFBD><CDBA>д<EFBFBD><D0B4>:", 0x144, 10, 43,160, 45
|
|
|
|
|
LTEXT "<22><><EFBFBD><EFBFBD>:", 0x145, 20, 55, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_LEFTVALUE, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2003-12-01 23:43:20 +01:00
|
|
|
|
LTEXT "<22><>:", 0x148, 20, 73, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_TOPVALUE, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2003-12-01 23:43:20 +01:00
|
|
|
|
LTEXT "<22><><EFBFBD>:", 0x14B, 100, 55, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2003-12-01 23:43:20 +01:00
|
|
|
|
LTEXT "<22><>ҧ:", 0x14E,100, 73, 30, 10, WS_CHILD
|
2007-04-01 20:52:08 +02:00
|
|
|
|
EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
2003-12-01 23:43:20 +01:00
|
|
|
|
|
2005-10-07 17:02:03 +02:00
|
|
|
|
DEFPUSHBUTTON "<22><>ŧ", IDOK, 180, 3, 40, 15, WS_TABSTOP
|
|
|
|
|
PUSHBUTTON "¡<><C2A1>ԡ", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP
|
|
|
|
|
PUSHBUTTON "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", IDHELP, 180, 39, 40, 15, WS_TABSTOP
|
2003-12-01 23:43:20 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
{
|
2007-04-01 20:52:08 +02:00
|
|
|
|
STRING_PAGESETUP_HEADERVALUE, "&f"
|
|
|
|
|
STRING_PAGESETUP_FOOTERVALUE, "˹<><CBB9> &p"
|
2003-12-01 23:43:20 +01:00
|
|
|
|
|
|
|
|
|
STRING_NOTEPAD, "Notepad"
|
|
|
|
|
STRING_ERROR, "<22><><EFBFBD><EFBFBD><EFBFBD>Դ"
|
|
|
|
|
STRING_WARNING, "<22><>ҵ<EFBFBD>"
|
|
|
|
|
STRING_INFO, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>´"
|
|
|
|
|
|
|
|
|
|
STRING_UNTITLED, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˹<EFBFBD><CBB9><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
STRING_ALL_FILES, "<22>ء<EFBFBD><D8A1><EFBFBD><EFBFBD> (*.*)"
|
|
|
|
|
STRING_TEXT_FILES_TXT, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (*.txt)"
|
|
|
|
|
|
|
|
|
|
STRING_TOOLARGE, "<22><><EFBFBD><EFBFBD> '%s' <20>˭<EFBFBD><CBAD><EFBFBD>Թ<EFBFBD><D4B9>"
|
|
|
|
|
STRING_NOTEXT, "<22>س<EFBFBD><D8B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹<EFBFBD><C2B9><EFBFBD><EFBFBD>\n<><6E>س<EFBFBD><D8B3>ͧ<EFBFBD><CDA7><EFBFBD><EFBFBD>"
|
|
|
|
|
STRING_DOESNOTEXIST, "<22><>辺<EFBFBD><E8BEBA><EFBFBD><EFBFBD> '%s' <20><><EFBFBD><EFBFBD><EFBFBD>ͧ<EFBFBD><CDA7><EFBFBD><EFBFBD><EFBFBD>Դ\n<>س<EFBFBD><D8B3>ͧ<EFBFBD><CDA7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҧ<EFBFBD><D2A7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ?"
|
|
|
|
|
STRING_NOTSAVED, "<22>ա<EFBFBD><D5A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¹<EFBFBD><C2B9>ŧ<EFBFBD>Ѻ<EFBFBD>͡<EFBFBD><CDA1><EFBFBD>\n\n'%s'\n\n<>س<EFBFBD><D8B3>ͧ<EFBFBD><CDA7>úѹ<C3BA>֡<EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ?"
|
|
|
|
|
STRING_NOTFOUND, "<22><>辺<EFBFBD><E8BEBA>ͤ<EFBFBD><CDA4><EFBFBD> '%s' <20><><EFBFBD><EFBFBD><EFBFBD>ͧ<EFBFBD><CDA7>ä<EFBFBD><C3A4><EFBFBD><EFBFBD>"
|
|
|
|
|
STRING_OUT_OF_MEMORY, "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n<><6E>س<EFBFBD><D8B3>ͧ<EFBFBD><CDA7><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
}
|