2011-01-08 12:53:31 +01:00
|
|
|
/*
|
|
|
|
* Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
|
|
|
|
* Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
|
|
|
|
*
|
|
|
|
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "notepad_res.h"
|
|
|
|
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
|
|
|
|
|
|
|
MAIN_MENU MENU
|
|
|
|
{
|
|
|
|
POPUP "&File" {
|
|
|
|
MENUITEM "&New\tCtrl+N", CMD_NEW
|
|
|
|
MENUITEM "&Open...\tCtrl+O", CMD_OPEN
|
|
|
|
MENUITEM "&Save\tCtrl+S", CMD_SAVE
|
|
|
|
MENUITEM "Save &as...", CMD_SAVE_AS
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&Print...\tCtrl+P", CMD_PRINT
|
|
|
|
MENUITEM "Page Se&tup...", CMD_PAGE_SETUP
|
|
|
|
MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "E&xit", CMD_EXIT
|
|
|
|
}
|
|
|
|
POPUP "&Edit" {
|
|
|
|
MENUITEM "&Undo\tCtrl+Z", CMD_UNDO
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Cu&t\tCtrl+X", CMD_CUT
|
|
|
|
MENUITEM "&Copy\tCtrl+C", CMD_COPY
|
|
|
|
MENUITEM "&Paste\tCtrl+V", CMD_PASTE
|
|
|
|
MENUITEM "&Delete\tDel", CMD_DELETE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "Select &all\tCtrl+A", CMD_SELECT_ALL
|
|
|
|
MENUITEM "&Time/Date\tF5", CMD_TIME_DATE
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
MENUITEM "&Wrap long lines", CMD_WRAP
|
|
|
|
MENUITEM "&Font...", CMD_FONT
|
|
|
|
}
|
|
|
|
POPUP "&Search" {
|
|
|
|
MENUITEM "&Search...\tCtrl+F", CMD_SEARCH
|
|
|
|
MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT
|
|
|
|
MENUITEM "&Replace...\tCtrl+H", CMD_REPLACE
|
|
|
|
}
|
|
|
|
POPUP "&Help" {
|
2011-04-13 09:39:17 +02:00
|
|
|
MENUITEM "&Contents\tF1", CMD_HELP_CONTENTS
|
2011-04-12 10:57:30 +02:00
|
|
|
MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD
|
2011-01-08 12:53:31 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
STRINGTABLE
|
|
|
|
{
|
2011-08-25 10:22:39 +02:00
|
|
|
STRING_PAGESETUP_HEADERVALUE, "#msgctxt#do not translate#&f"
|
2011-01-08 12:53:31 +01:00
|
|
|
STRING_PAGESETUP_FOOTERVALUE, "Page &p"
|
|
|
|
|
|
|
|
STRING_NOTEPAD, "Notepad"
|
|
|
|
STRING_ERROR, "ERROR"
|
|
|
|
STRING_WARNING, "WARNING"
|
|
|
|
STRING_INFO, "Information"
|
|
|
|
|
|
|
|
STRING_UNTITLED, "Untitled"
|
|
|
|
|
|
|
|
STRING_ALL_FILES, "All files (*.*)"
|
|
|
|
STRING_TEXT_FILES_TXT, "Text files (*.txt)"
|
|
|
|
|
|
|
|
STRING_TOOLARGE, "File '%s' is too large for notepad.\n\
|
|
|
|
Please use a different editor."
|
2011-08-23 14:40:28 +02:00
|
|
|
STRING_NOTEXT, "You did not enter any text.\
|
|
|
|
\nPlease type something and try again."
|
2011-01-08 12:53:31 +01:00
|
|
|
STRING_DOESNOTEXIST, "File '%s' does not exist.\n\n\
|
|
|
|
Do you want to create a new file?"
|
|
|
|
STRING_NOTSAVED, "File '%s' has been modified.\n\n\
|
|
|
|
Would you like to save the changes?"
|
|
|
|
STRING_NOTFOUND, "'%s' could not be found."
|
|
|
|
STRING_OUT_OF_MEMORY, "Not enough memory to complete this \
|
|
|
|
task.\nClose one or more applications to increase the amount of free memory."
|
|
|
|
|
|
|
|
STRING_UNICODE_LE, "Unicode (UTF-16)"
|
|
|
|
STRING_UNICODE_BE, "Unicode (UTF-16 big-endian)"
|
2011-01-27 21:08:22 +01:00
|
|
|
STRING_UTF8, "Unicode (UTF-8)"
|
2011-01-08 12:53:31 +01:00
|
|
|
|
2011-11-24 00:26:30 +01:00
|
|
|
STRING_LOSS_OF_UNICODE_CHARACTERS, "%1\n\
|
2011-01-08 12:53:31 +01:00
|
|
|
This file contains Unicode characters which will be lost if\n\
|
2011-11-24 00:26:30 +01:00
|
|
|
you save this file in the %2 encoding.\n\
|
2011-01-08 12:53:31 +01:00
|
|
|
To keep these characters, click Cancel, and then select\n\
|
|
|
|
one of the Unicode options in the Encoding drop down list.\n\
|
|
|
|
Continue?"
|
|
|
|
}
|
|
|
|
|
2011-10-31 16:45:15 +01:00
|
|
|
DIALOG_PAGESETUP DIALOG 0, 0, 240, 95
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
CAPTION "Page Setup"
|
|
|
|
{
|
|
|
|
LTEXT "&Header:", 0x140, 10, 07, 68, 15
|
|
|
|
EDITTEXT IDC_PAGESETUP_HEADERVALUE, 78, 5,110, 12, WS_BORDER | WS_TABSTOP
|
|
|
|
LTEXT "&Footer:", 0x142, 10, 24, 68, 15
|
|
|
|
EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 78, 22,110, 12, WS_BORDER | WS_TABSTOP
|
|
|
|
|
|
|
|
GROUPBOX "&Margins (millimeters):", 0x144, 10, 43,178, 45
|
|
|
|
LTEXT "&Left:", 0x145, 20, 55, 39, 10, WS_CHILD
|
|
|
|
EDITTEXT IDC_PAGESETUP_LEFTVALUE, 59, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
LTEXT "&Top:", 0x148, 20, 73, 39, 10, WS_CHILD
|
|
|
|
EDITTEXT IDC_PAGESETUP_TOPVALUE, 59, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
LTEXT "&Right:", 0x14B, 107, 55, 39, 10, WS_CHILD
|
|
|
|
EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 148, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
LTEXT "&Bottom:", 0x14E, 107, 73, 39, 10, WS_CHILD
|
|
|
|
EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 148, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
|
|
|
|
|
|
|
|
DEFPUSHBUTTON "OK", IDOK, 195, 3, 40, 15, WS_TABSTOP
|
|
|
|
PUSHBUTTON "Cancel", IDCANCEL, 195, 21, 40, 15, WS_TABSTOP
|
|
|
|
PUSHBUTTON "&Help", IDHELP, 195, 39, 40, 15, WS_TABSTOP
|
|
|
|
}
|
|
|
|
|
|
|
|
IDD_OFN_TEMPLATE DIALOG 50,50,300,15
|
|
|
|
STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
BEGIN
|
|
|
|
LTEXT "Encoding:", -1, 5,0, 50,12
|
|
|
|
COMBOBOX IDC_OFN_ENCCOMBO, 53,0, 156,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
|
|
|
|
END
|
|
|
|
|
|
|
|
ID_ACCEL ACCELERATORS
|
|
|
|
{
|
|
|
|
"^A", CMD_SELECT_ALL
|
|
|
|
"^C", CMD_COPY
|
|
|
|
"^F", CMD_SEARCH
|
|
|
|
"H", CMD_REPLACE, VIRTKEY, CONTROL
|
|
|
|
"^N", CMD_NEW
|
|
|
|
"^O", CMD_OPEN
|
|
|
|
"^P", CMD_PRINT
|
|
|
|
"^S", CMD_SAVE
|
|
|
|
"^V", CMD_PASTE
|
|
|
|
"^X", CMD_CUT
|
|
|
|
"^Z", CMD_UNDO
|
|
|
|
VK_BACK, CMD_UNDO, VIRTKEY, ALT
|
|
|
|
VK_F1, CMD_HELP_CONTENTS, VIRTKEY
|
|
|
|
VK_F3, CMD_SEARCH_NEXT, VIRTKEY
|
|
|
|
VK_F5, CMD_TIME_DATE, VIRTKEY
|
|
|
|
VK_INSERT, CMD_COPY, VIRTKEY, CONTROL
|
|
|
|
VK_INSERT, CMD_PASTE, VIRTKEY, SHIFT
|
|
|
|
}
|
|
|
|
|
2011-01-08 12:53:31 +01:00
|
|
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|
|
|
|
|
|
|
/* @makedep: notepad.ico */
|
|
|
|
IDI_NOTEPAD ICON "notepad.ico"
|