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"
24 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
29 MENUITEM "&New\tCtrl+N", CMD_NEW
30 MENUITEM "&Open...\tCtrl+O", CMD_OPEN
31 MENUITEM "&Save\tCtrl+S", CMD_SAVE
32 MENUITEM "Save &as...", CMD_SAVE_AS
34 MENUITEM "&Print...\tCtrl+P", CMD_PRINT
35 MENUITEM "Page Se&tup...", CMD_PAGE_SETUP
36 MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
38 MENUITEM "E&xit", CMD_EXIT
41 MENUITEM "&Undo\tCtrl+Z", CMD_UNDO
43 MENUITEM "Cu&t\tCtrl+X", CMD_CUT
44 MENUITEM "&Copy\tCtrl+C", CMD_COPY
45 MENUITEM "&Paste\tCtrl+V", CMD_PASTE
46 MENUITEM "&Delete\tDel", CMD_DELETE
48 MENUITEM "Select &all\tCtrl+A", CMD_SELECT_ALL
49 MENUITEM "&Time/Date\tF5", CMD_TIME_DATE
51 MENUITEM "&Wrap long lines", CMD_WRAP
52 MENUITEM "&Font...", CMD_FONT
55 MENUITEM "&Search...\tCtrl+F", CMD_SEARCH
56 MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT
57 MENUITEM "&Replace...\tCtrl+H", CMD_REPLACE
58 MENUITEM "&Go To...\tCtrl+G", CMD_GO_TO
62 MENUITEM "&Status Bar", CMD_SBAR
65 MENUITEM "&Contents\tF1", CMD_HELP_CONTENTS
66 MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD
72 STRING_PAGESETUP_HEADERVALUE, "#msgctxt#do not translate#&f"
73 STRING_PAGESETUP_FOOTERVALUE, "Page &p"
75 STRING_NOTEPAD, "Notepad"
78 STRING_UNTITLED, "Untitled"
80 STRING_ALL_FILES, "All files (*.*)"
81 STRING_TEXT_FILES_TXT, "Text files (*.txt)"
83 STRING_DOESNOTEXIST, "File '%s' does not exist.\n\n\
84 Do you want to create a new file?"
85 STRING_NOTSAVED, "File '%s' has been modified.\n\n\
86 Would you like to save the changes?"
87 STRING_NOTFOUND, "'%s' could not be found."
89 STRING_STATUSBAR, "Ln %ld, Col %ld"
91 STRING_UNICODE_LE, "Unicode (UTF-16)"
92 STRING_UNICODE_BE, "Unicode (UTF-16 big-endian)"
93 STRING_UTF8, "Unicode (UTF-8)"
95 STRING_LOSS_OF_UNICODE_CHARACTERS, "%1\n\
96 This file contains Unicode characters which will be lost if\n\
97 you save this file in the %2 encoding.\n\
98 To keep these characters, click Cancel, and then select\n\
99 one of the Unicode options in the Encoding drop down list.\n\
103 DIALOG_PAGESETUP DIALOG 0, 0, 240, 95
104 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
105 FONT 8, "MS Shell Dlg"
108 LTEXT "&Header:", 0x140, 10, 07, 68, 15
109 EDITTEXT IDC_PAGESETUP_HEADERVALUE, 78, 5,110, 12, WS_BORDER | WS_TABSTOP
110 LTEXT "&Footer:", 0x142, 10, 24, 68, 15
111 EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 78, 22,110, 12, WS_BORDER | WS_TABSTOP
113 GROUPBOX "Margins (millimeters)", 0x144, 10, 43,178, 45
114 LTEXT "&Left:", 0x145, 20, 55, 39, 10, WS_CHILD
115 EDITTEXT IDC_PAGESETUP_LEFTVALUE, 59, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
116 LTEXT "&Top:", 0x148, 20, 73, 39, 10, WS_CHILD
117 EDITTEXT IDC_PAGESETUP_TOPVALUE, 59, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
118 LTEXT "&Right:", 0x14B, 107, 55, 39, 10, WS_CHILD
119 EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 148, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
120 LTEXT "&Bottom:", 0x14E, 107, 73, 39, 10, WS_CHILD
121 EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 148, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
123 DEFPUSHBUTTON "OK", IDOK, 195, 3, 40, 15, WS_TABSTOP
124 PUSHBUTTON "Cancel", IDCANCEL, 195, 21, 40, 15, WS_TABSTOP
125 PUSHBUTTON "&Help", IDHELP, 195, 39, 40, 15, WS_TABSTOP
128 DIALOG_GOTO DIALOG 0, 0, 130, 55
129 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
130 FONT 8, "MS Shell Dlg"
133 LTEXT "&Line Number:", 0x140, 10, 07, 68, 12
134 EDITTEXT IDC_GOTO_LINEVALUE, 10, 19, 110,12, WS_BORDER | WS_TABSTOP | ES_NUMBER
136 DEFPUSHBUTTON "Go To", IDOK, 35, 35, 40, 15, WS_TABSTOP
137 PUSHBUTTON "Cancel", IDCANCEL, 80, 35, 40, 15, WS_TABSTOP
140 IDD_OFN_TEMPLATE DIALOG 50,50,300,15
141 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
142 FONT 8, "MS Shell Dlg"
144 LTEXT "Encoding:", -1, 5,0, 60,12
145 COMBOBOX IDC_OFN_ENCCOMBO, 63,0, 150,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
148 ID_ACCEL ACCELERATORS
150 "#msgctxt#accelerator Select All#A", CMD_SELECT_ALL, VIRTKEY, CONTROL
151 "#msgctxt#accelerator Copy#C", CMD_COPY, VIRTKEY, CONTROL
152 "#msgctxt#accelerator Find#F", CMD_SEARCH, VIRTKEY, CONTROL
153 "#msgctxt#accelerator Replace#H", CMD_REPLACE, VIRTKEY, CONTROL
154 "#msgctxt#accelerator New#N", CMD_NEW, VIRTKEY, CONTROL
155 "#msgctxt#accelerator Open#O", CMD_OPEN, VIRTKEY, CONTROL
156 "#msgctxt#accelerator Print#P", CMD_PRINT, VIRTKEY, CONTROL
157 "#msgctxt#accelerator Save#S", CMD_SAVE, VIRTKEY, CONTROL
158 "#msgctxt#accelerator Paste#V", CMD_PASTE, VIRTKEY, CONTROL
159 "#msgctxt#accelerator Cut#X", CMD_CUT, VIRTKEY, CONTROL
160 "#msgctxt#accelerator Undo#Z", CMD_UNDO, VIRTKEY, CONTROL
161 "#msgctxt#accelerator GoTo#G", CMD_GO_TO, VIRTKEY, CONTROL
162 VK_BACK, CMD_UNDO, VIRTKEY, ALT
163 VK_F1, CMD_HELP_CONTENTS, VIRTKEY
164 VK_F3, CMD_SEARCH_NEXT, VIRTKEY
165 VK_F5, CMD_TIME_DATE, VIRTKEY
166 VK_INSERT, CMD_COPY, VIRTKEY, CONTROL
167 VK_INSERT, CMD_PASTE, VIRTKEY, SHIFT
170 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
172 /* @makedep: notepad.manifest */
173 1 RT_MANIFEST notepad.manifest
175 /* @makedep: notepad.ico */
176 IDI_NOTEPAD ICON "notepad.ico"