2 * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
3 * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #include "notepad_res.h"
22 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
27 MENUITEM "&New\tCtrl+N", CMD_NEW
28 MENUITEM "&Open...\tCtrl+O", CMD_OPEN
29 MENUITEM "&Save\tCtrl+S", CMD_SAVE
30 MENUITEM "Save &as...", CMD_SAVE_AS
32 MENUITEM "&Print...\tCtrl+P", CMD_PRINT
33 MENUITEM "Page Se&tup...", CMD_PAGE_SETUP
34 MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
36 MENUITEM "E&xit", CMD_EXIT
39 MENUITEM "&Undo\tCtrl+Z", CMD_UNDO
41 MENUITEM "Cu&t\tCtrl+X", CMD_CUT
42 MENUITEM "&Copy\tCtrl+C", CMD_COPY
43 MENUITEM "&Paste\tCtrl+V", CMD_PASTE
44 MENUITEM "&Delete\tDel", CMD_DELETE
46 MENUITEM "Select &all\tCtrl+A", CMD_SELECT_ALL
47 MENUITEM "&Time/Date\tF5", CMD_TIME_DATE
49 MENUITEM "&Wrap long lines", CMD_WRAP
50 MENUITEM "&Font...", CMD_FONT
53 MENUITEM "&Search...\tCtrl+F", CMD_SEARCH
54 MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT
55 MENUITEM "&Replace...\tCtrl+H", CMD_REPLACE
58 MENUITEM "&Contents\tF1", CMD_HELP_CONTENTS
59 MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD
65 STRING_PAGESETUP_HEADERVALUE, "#msgctxt#do not translate#&f"
66 STRING_PAGESETUP_FOOTERVALUE, "Page &p"
68 STRING_NOTEPAD, "Notepad"
71 STRING_UNTITLED, "Untitled"
73 STRING_ALL_FILES, "All files (*.*)"
74 STRING_TEXT_FILES_TXT, "Text files (*.txt)"
76 STRING_DOESNOTEXIST, "File '%s' does not exist.\n\n\
77 Do you want to create a new file?"
78 STRING_NOTSAVED, "File '%s' has been modified.\n\n\
79 Would you like to save the changes?"
80 STRING_NOTFOUND, "'%s' could not be found."
82 STRING_UNICODE_LE, "Unicode (UTF-16)"
83 STRING_UNICODE_BE, "Unicode (UTF-16 big-endian)"
84 STRING_UTF8, "Unicode (UTF-8)"
86 STRING_LOSS_OF_UNICODE_CHARACTERS, "%1\n\
87 This file contains Unicode characters which will be lost if\n\
88 you save this file in the %2 encoding.\n\
89 To keep these characters, click Cancel, and then select\n\
90 one of the Unicode options in the Encoding drop down list.\n\
94 DIALOG_PAGESETUP DIALOG 0, 0, 240, 95
95 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
96 FONT 8, "MS Shell Dlg"
99 LTEXT "&Header:", 0x140, 10, 07, 68, 15
100 EDITTEXT IDC_PAGESETUP_HEADERVALUE, 78, 5,110, 12, WS_BORDER | WS_TABSTOP
101 LTEXT "&Footer:", 0x142, 10, 24, 68, 15
102 EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 78, 22,110, 12, WS_BORDER | WS_TABSTOP
104 GROUPBOX "Margins (millimeters)", 0x144, 10, 43,178, 45
105 LTEXT "&Left:", 0x145, 20, 55, 39, 10, WS_CHILD
106 EDITTEXT IDC_PAGESETUP_LEFTVALUE, 59, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
107 LTEXT "&Top:", 0x148, 20, 73, 39, 10, WS_CHILD
108 EDITTEXT IDC_PAGESETUP_TOPVALUE, 59, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
109 LTEXT "&Right:", 0x14B, 107, 55, 39, 10, WS_CHILD
110 EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 148, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
111 LTEXT "&Bottom:", 0x14E, 107, 73, 39, 10, WS_CHILD
112 EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 148, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
114 DEFPUSHBUTTON "OK", IDOK, 195, 3, 40, 15, WS_TABSTOP
115 PUSHBUTTON "Cancel", IDCANCEL, 195, 21, 40, 15, WS_TABSTOP
116 PUSHBUTTON "&Help", IDHELP, 195, 39, 40, 15, WS_TABSTOP
119 IDD_OFN_TEMPLATE DIALOG 50,50,300,15
120 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
121 FONT 8, "MS Shell Dlg"
123 LTEXT "Encoding:", -1, 5,0, 60,12
124 COMBOBOX IDC_OFN_ENCCOMBO, 63,0, 150,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
127 ID_ACCEL ACCELERATORS
129 "#msgctxt#accelerator Select All#A", CMD_SELECT_ALL, VIRTKEY, CONTROL
130 "#msgctxt#accelerator Copy#C", CMD_COPY, VIRTKEY, CONTROL
131 "#msgctxt#accelerator Find#F", CMD_SEARCH, VIRTKEY, CONTROL
132 "#msgctxt#accelerator Replace#H", CMD_REPLACE, VIRTKEY, CONTROL
133 "#msgctxt#accelerator New#N", CMD_NEW, VIRTKEY, CONTROL
134 "#msgctxt#accelerator Open#O", CMD_OPEN, VIRTKEY, CONTROL
135 "#msgctxt#accelerator Print#P", CMD_PRINT, VIRTKEY, CONTROL
136 "#msgctxt#accelerator Save#S", CMD_SAVE, VIRTKEY, CONTROL
137 "#msgctxt#accelerator Paste#V", CMD_PASTE, VIRTKEY, CONTROL
138 "#msgctxt#accelerator Cut#X", CMD_CUT, VIRTKEY, CONTROL
139 "#msgctxt#accelerator Undo#Z", CMD_UNDO, VIRTKEY, CONTROL
140 VK_BACK, CMD_UNDO, VIRTKEY, ALT
141 VK_F1, CMD_HELP_CONTENTS, VIRTKEY
142 VK_F3, CMD_SEARCH_NEXT, VIRTKEY
143 VK_F5, CMD_TIME_DATE, VIRTKEY
144 VK_INSERT, CMD_COPY, VIRTKEY, CONTROL
145 VK_INSERT, CMD_PASTE, VIRTKEY, SHIFT
148 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
150 /* @makedep: notepad.ico */
151 IDI_NOTEPAD ICON "notepad.ico"