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
60 MENUITEM "&Contents\tF1", CMD_HELP_CONTENTS
61 MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD
67 STRING_PAGESETUP_HEADERVALUE, "#msgctxt#do not translate#&f"
68 STRING_PAGESETUP_FOOTERVALUE, "Page &p"
70 STRING_NOTEPAD, "Notepad"
73 STRING_UNTITLED, "Untitled"
75 STRING_ALL_FILES, "All files (*.*)"
76 STRING_TEXT_FILES_TXT, "Text files (*.txt)"
78 STRING_DOESNOTEXIST, "File '%s' does not exist.\n\n\
79 Do you want to create a new file?"
80 STRING_NOTSAVED, "File '%s' has been modified.\n\n\
81 Would you like to save the changes?"
82 STRING_NOTFOUND, "'%s' could not be found."
84 STRING_UNICODE_LE, "Unicode (UTF-16)"
85 STRING_UNICODE_BE, "Unicode (UTF-16 big-endian)"
86 STRING_UTF8, "Unicode (UTF-8)"
88 STRING_LOSS_OF_UNICODE_CHARACTERS, "%1\n\
89 This file contains Unicode characters which will be lost if\n\
90 you save this file in the %2 encoding.\n\
91 To keep these characters, click Cancel, and then select\n\
92 one of the Unicode options in the Encoding drop down list.\n\
96 DIALOG_PAGESETUP DIALOG 0, 0, 240, 95
97 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
98 FONT 8, "MS Shell Dlg"
101 LTEXT "&Header:", 0x140, 10, 07, 68, 15
102 EDITTEXT IDC_PAGESETUP_HEADERVALUE, 78, 5,110, 12, WS_BORDER | WS_TABSTOP
103 LTEXT "&Footer:", 0x142, 10, 24, 68, 15
104 EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 78, 22,110, 12, WS_BORDER | WS_TABSTOP
106 GROUPBOX "Margins (millimeters)", 0x144, 10, 43,178, 45
107 LTEXT "&Left:", 0x145, 20, 55, 39, 10, WS_CHILD
108 EDITTEXT IDC_PAGESETUP_LEFTVALUE, 59, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
109 LTEXT "&Top:", 0x148, 20, 73, 39, 10, WS_CHILD
110 EDITTEXT IDC_PAGESETUP_TOPVALUE, 59, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
111 LTEXT "&Right:", 0x14B, 107, 55, 39, 10, WS_CHILD
112 EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 148, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
113 LTEXT "&Bottom:", 0x14E, 107, 73, 39, 10, WS_CHILD
114 EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 148, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
116 DEFPUSHBUTTON "OK", IDOK, 195, 3, 40, 15, WS_TABSTOP
117 PUSHBUTTON "Cancel", IDCANCEL, 195, 21, 40, 15, WS_TABSTOP
118 PUSHBUTTON "&Help", IDHELP, 195, 39, 40, 15, WS_TABSTOP
121 IDD_OFN_TEMPLATE DIALOG 50,50,300,15
122 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
123 FONT 8, "MS Shell Dlg"
125 LTEXT "Encoding:", -1, 5,0, 60,12
126 COMBOBOX IDC_OFN_ENCCOMBO, 63,0, 150,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
129 ID_ACCEL ACCELERATORS
131 "#msgctxt#accelerator Select All#A", CMD_SELECT_ALL, VIRTKEY, CONTROL
132 "#msgctxt#accelerator Copy#C", CMD_COPY, VIRTKEY, CONTROL
133 "#msgctxt#accelerator Find#F", CMD_SEARCH, VIRTKEY, CONTROL
134 "#msgctxt#accelerator Replace#H", CMD_REPLACE, VIRTKEY, CONTROL
135 "#msgctxt#accelerator New#N", CMD_NEW, VIRTKEY, CONTROL
136 "#msgctxt#accelerator Open#O", CMD_OPEN, VIRTKEY, CONTROL
137 "#msgctxt#accelerator Print#P", CMD_PRINT, VIRTKEY, CONTROL
138 "#msgctxt#accelerator Save#S", CMD_SAVE, VIRTKEY, CONTROL
139 "#msgctxt#accelerator Paste#V", CMD_PASTE, VIRTKEY, CONTROL
140 "#msgctxt#accelerator Cut#X", CMD_CUT, VIRTKEY, CONTROL
141 "#msgctxt#accelerator Undo#Z", CMD_UNDO, VIRTKEY, CONTROL
142 VK_BACK, CMD_UNDO, VIRTKEY, ALT
143 VK_F1, CMD_HELP_CONTENTS, VIRTKEY
144 VK_F3, CMD_SEARCH_NEXT, VIRTKEY
145 VK_F5, CMD_TIME_DATE, VIRTKEY
146 VK_INSERT, CMD_COPY, VIRTKEY, CONTROL
147 VK_INSERT, CMD_PASTE, VIRTKEY, SHIFT
150 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
152 /* @makedep: notepad.ico */
153 IDI_NOTEPAD ICON "notepad.ico"