Commit | Line | Data |
---|---|---|
44ed71f5 | 1 | /* |
a43295d1 | 2 | * Notepad (English resources) |
44ed71f5 | 3 | * |
a43295d1 MB |
4 | * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch> |
5 | * Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu> | |
eaa8df60 | 6 | * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr> |
0799c1a7 AJ |
7 | * |
8 | * This library is free software; you can redistribute it and/or | |
9 | * modify it under the terms of the GNU Lesser General Public | |
10 | * License as published by the Free Software Foundation; either | |
11 | * version 2.1 of the License, or (at your option) any later version. | |
12 | * | |
13 | * This library is distributed in the hope that it will be useful, | |
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
16 | * Lesser General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU Lesser General Public | |
19 | * License along with this library; if not, write to the Free Software | |
360a3f91 | 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
44ed71f5 AJ |
21 | */ |
22 | ||
8e2f6368 MS |
23 | #include "notepad_res.h" |
24 | ||
2517d809 DT |
25 | LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT |
26 | ||
27 | MAIN_MENU MENU | |
eaa8df60 SP |
28 | { |
29 | POPUP "&File" { | |
a5ebefc0 MZ |
30 | MENUITEM "&New\tCtrl+N", CMD_NEW |
31 | MENUITEM "&Open...\tCtrl+O", CMD_OPEN | |
fc0d07f8 | 32 | MENUITEM "&Save\tCtrl+S", CMD_SAVE |
c55dce01 | 33 | MENUITEM "Save &as...", CMD_SAVE_AS |
fc0d07f8 | 34 | MENUITEM SEPARATOR |
66890b8b | 35 | MENUITEM "&Print...\tCtrl+P", CMD_PRINT |
c55dce01 AP |
36 | MENUITEM "Page Se&tup...", CMD_PAGE_SETUP |
37 | MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP | |
eaa8df60 | 38 | MENUITEM SEPARATOR |
fc0d07f8 | 39 | MENUITEM "E&xit", CMD_EXIT |
eaa8df60 SP |
40 | } |
41 | POPUP "&Edit" { | |
c55dce01 | 42 | MENUITEM "&Undo\tCtrl+Z", CMD_UNDO |
eaa8df60 | 43 | MENUITEM SEPARATOR |
c55dce01 AP |
44 | MENUITEM "Cu&t\tCtrl+X", CMD_CUT |
45 | MENUITEM "&Copy\tCtrl+C", CMD_COPY | |
46 | MENUITEM "&Paste\tCtrl+V", CMD_PASTE | |
47 | MENUITEM "&Delete\tDel", CMD_DELETE | |
eaa8df60 | 48 | MENUITEM SEPARATOR |
fc0d07f8 | 49 | MENUITEM "Select &all\tCtrl+A", CMD_SELECT_ALL |
c55dce01 | 50 | MENUITEM "&Time/Date\tF5", CMD_TIME_DATE |
5bb472ea MD |
51 | MENUITEM SEPARATOR |
52 | MENUITEM "&Wrap long lines", CMD_WRAP | |
53 | MENUITEM "&Font...", CMD_FONT | |
eaa8df60 SP |
54 | } |
55 | POPUP "&Search" { | |
66890b8b | 56 | MENUITEM "&Search...\tCtrl+F", CMD_SEARCH |
c55dce01 | 57 | MENUITEM "&Search next\tF3", CMD_SEARCH_NEXT |
31376006 | 58 | MENUITEM "&Replace...\tCtrl+H", CMD_REPLACE |
eaa8df60 SP |
59 | } |
60 | POPUP "&Help" { | |
c55dce01 AP |
61 | MENUITEM "&Contents", CMD_HELP_CONTENTS |
62 | MENUITEM "&Search...", CMD_HELP_SEARCH | |
63 | MENUITEM "&Help on help", CMD_HELP_ON_HELP | |
eaa8df60 | 64 | MENUITEM SEPARATOR |
6f41fd0c | 65 | MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD |
eaa8df60 | 66 | } |
7cae558b | 67 | } |
eaa8df60 SP |
68 | |
69 | /* Dialog `Page setup' */ | |
70 | ||
c55dce01 | 71 | DIALOG_PAGESETUP DIALOG 0, 0, 225, 95 |
eaa8df60 | 72 | STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU |
174e6a5d | 73 | FONT 8, "MS Shell Dlg" |
eaa8df60 SP |
74 | CAPTION "Page Setup" |
75 | { | |
054ed55d | 76 | LTEXT "&Header:", 0x140, 10, 07, 40, 15 |
3cae9203 | 77 | EDITTEXT IDC_PAGESETUP_HEADERVALUE, 60, 05,110, 12, WS_BORDER | WS_TABSTOP |
eaa8df60 | 78 | LTEXT "&Footer:", 0x142, 10, 24, 40, 15 |
3cae9203 | 79 | EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 60, 22,110, 12, WS_BORDER | WS_TABSTOP |
eaa8df60 | 80 | |
054ed55d | 81 | GROUPBOX "&Margins (millimeters):", 0x144, 10, 43,160, 45 |
eaa8df60 | 82 | LTEXT "&Left:", 0x145, 20, 55, 30, 10, WS_CHILD |
3cae9203 | 83 | EDITTEXT IDC_PAGESETUP_LEFTVALUE, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
eaa8df60 | 84 | LTEXT "&Top:", 0x148, 20, 73, 30, 10, WS_CHILD |
3cae9203 | 85 | EDITTEXT IDC_PAGESETUP_TOPVALUE, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
eaa8df60 | 86 | LTEXT "&Right:", 0x14B, 100, 55, 30, 10, WS_CHILD |
3cae9203 | 87 | EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
eaa8df60 | 88 | LTEXT "&Bottom:", 0x14E,100, 73, 30, 10, WS_CHILD |
3cae9203 | 89 | EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
eaa8df60 | 90 | |
8eff9137 JE |
91 | DEFPUSHBUTTON "OK", IDOK, 180, 3, 40, 15, WS_TABSTOP |
92 | PUSHBUTTON "Cancel", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP | |
93 | PUSHBUTTON "&Help", IDHELP, 180, 39, 40, 15, WS_TABSTOP | |
eaa8df60 SP |
94 | } |
95 | ||
67766392 ASJ |
96 | IDD_OFN_TEMPLATE DIALOG DISCARDABLE 50,50,300,15 |
97 | STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER | |
98 | FONT 8, "MS Shell Dlg" | |
99 | BEGIN | |
100 | LTEXT "Encoding:", -1, 5,0, 50,12 | |
101 | COMBOBOX IDC_OFN_ENCCOMBO, 53,0, 156,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST | |
102 | END | |
103 | ||
2517d809 | 104 | STRINGTABLE DISCARDABLE |
eaa8df60 | 105 | { |
3cae9203 RK |
106 | STRING_PAGESETUP_HEADERVALUE, "&f" |
107 | STRING_PAGESETUP_FOOTERVALUE, "Page &p" | |
eaa8df60 | 108 | |
c55dce01 AP |
109 | STRING_NOTEPAD, "Notepad" |
110 | STRING_ERROR, "ERROR" | |
111 | STRING_WARNING, "WARNING" | |
112 | STRING_INFO, "Information" | |
eaa8df60 | 113 | |
3ec165fd | 114 | STRING_UNTITLED, "Untitled" |
eaa8df60 | 115 | |
c55dce01 AP |
116 | STRING_ALL_FILES, "All files (*.*)" |
117 | STRING_TEXT_FILES_TXT, "Text files (*.txt)" | |
eaa8df60 | 118 | |
95a7e5f8 | 119 | STRING_TOOLARGE, "File '%s' is too large for notepad.\n\ |
44ed71f5 | 120 | Please use a different editor." |
95a7e5f8 | 121 | STRING_NOTEXT, "You didn't enter any text.\ |
44ed71f5 | 122 | \nPlease type something and try again" |
95a7e5f8 AE |
123 | STRING_DOESNOTEXIST, "File '%s' does not exist.\n\n\ |
124 | Do you want to create a new file?" | |
125 | STRING_NOTSAVED, "File '%s' has been modified.\n\n\ | |
126 | Would you like to save the changes?" | |
f5c9da68 | 127 | STRING_NOTFOUND, "'%s' could not be found." |
c55dce01 | 128 | STRING_OUT_OF_MEMORY, "Not enough memory to complete this \ |
b0f53e19 | 129 | task.\nClose one or more applications to increase the amount of free memory." |
44ed71f5 | 130 | |
67766392 ASJ |
131 | STRING_UNICODE_LE, "Unicode (UTF-16)" |
132 | STRING_UNICODE_BE, "Unicode (UTF-16 big-endian)" | |
84fd1c84 ASJ |
133 | |
134 | STRING_LOSS_OF_UNICODE_CHARACTERS, "%s\n\ | |
1e602c57 FG |
135 | This file contains Unicode characters which will be lost if\n\ |
136 | you save this file in the %s encoding.\n\ | |
137 | To keep these characters, click Cancel, and then select\n\ | |
138 | one of the Unicode options in the Encoding drop down list.\n\ | |
84fd1c84 | 139 | Continue?" |
eaa8df60 | 140 | } |