server: Make the fd passing code slightly more portable.
[wine] / programs / notepad / En.rc
1 /*
2  *  Notepad (English resources)
3  *
4  *  Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
5  *  Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu>
6  *  Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
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
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21  */
22
23 #include "notepad_res.h"
24
25 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
26
27 MAIN_MENU MENU
28 {
29  POPUP "&File" {
30   MENUITEM "&New\tCtrl+N",      CMD_NEW
31   MENUITEM "&Open...\tCtrl+O",  CMD_OPEN
32   MENUITEM "&Save\tCtrl+S",     CMD_SAVE
33   MENUITEM "Save &as...",       CMD_SAVE_AS
34   MENUITEM SEPARATOR
35   MENUITEM "&Print...\tCtrl+P",            CMD_PRINT
36   MENUITEM "Page Se&tup...",    CMD_PAGE_SETUP
37   MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
38   MENUITEM SEPARATOR
39   MENUITEM "E&xit",             CMD_EXIT
40  }
41 POPUP "&Edit" {
42   MENUITEM "&Undo\tCtrl+Z",     CMD_UNDO
43   MENUITEM SEPARATOR
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
48   MENUITEM SEPARATOR
49   MENUITEM "Select &all\tCtrl+A",       CMD_SELECT_ALL
50   MENUITEM "&Time/Date\tF5",    CMD_TIME_DATE
51   MENUITEM SEPARATOR
52   MENUITEM "&Wrap long lines",  CMD_WRAP
53   MENUITEM "&Font...",          CMD_FONT
54  }
55 POPUP "&Search" {
56   MENUITEM "&Search...\tCtrl+F",   CMD_SEARCH
57   MENUITEM "&Search next\tF3",  CMD_SEARCH_NEXT
58   MENUITEM "&Replace...\tCtrl+H", CMD_REPLACE
59  }
60 POPUP "&Help" {
61   MENUITEM "&Contents",         CMD_HELP_CONTENTS
62   MENUITEM "&Search...",        CMD_HELP_SEARCH
63   MENUITEM "&Help on help",     CMD_HELP_ON_HELP
64   MENUITEM SEPARATOR
65   MENUITEM "&About Notepad", CMD_HELP_ABOUT_NOTEPAD
66  }
67 }
68
69 /* Dialog `Page setup' */
70
71 DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
72 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
73 FONT 8, "MS Shell Dlg"
74 CAPTION "Page Setup"
75 {
76 LTEXT    "&Header:",  0x140,  10, 07, 40, 15
77 EDITTEXT IDC_PAGESETUP_HEADERVALUE,   60, 05,110, 12, WS_BORDER | WS_TABSTOP
78 LTEXT    "&Footer:",  0x142,   10, 24, 40, 15
79 EDITTEXT IDC_PAGESETUP_FOOTERVALUE,   60, 22,110, 12, WS_BORDER | WS_TABSTOP
80
81 GROUPBOX "&Margins (millimeters):",      0x144,     10, 43,160, 45
82 LTEXT    "&Left:",        0x145,   20, 55, 30, 10, WS_CHILD
83 EDITTEXT IDC_PAGESETUP_LEFTVALUE,     50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
84 LTEXT    "&Top:",         0x148,    20, 73, 30, 10, WS_CHILD
85 EDITTEXT IDC_PAGESETUP_TOPVALUE,      50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
86 LTEXT    "&Right:",       0x14B, 100, 55, 30, 10, WS_CHILD
87 EDITTEXT IDC_PAGESETUP_RIGHTVALUE,   130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
88 LTEXT    "&Bottom:",      0x14E,100, 73, 30, 10, WS_CHILD
89 EDITTEXT IDC_PAGESETUP_BOTTOMVALUE,  130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
90
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
94 }
95
96 IDD_OFN_TEMPLATE  DIALOG 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
104 STRINGTABLE
105 {
106 STRING_PAGESETUP_HEADERVALUE,   "&f"
107 STRING_PAGESETUP_FOOTERVALUE,   "Page &p"
108
109 STRING_NOTEPAD,                                 "Notepad"
110 STRING_ERROR,                                   "ERROR"
111 STRING_WARNING,                                 "WARNING"
112 STRING_INFO,                                    "Information"
113
114 STRING_UNTITLED,                                "Untitled"
115
116 STRING_ALL_FILES,                               "All files (*.*)"
117 STRING_TEXT_FILES_TXT,                  "Text files (*.txt)"
118
119 STRING_TOOLARGE,                                "File '%s' is too large for notepad.\n\
120 Please use a different editor."
121 STRING_NOTEXT,                                  "You didn't enter any text.\
122 \nPlease type something and try again"
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?"
127 STRING_NOTFOUND,                                        "'%s' could not be found."
128 STRING_OUT_OF_MEMORY,                   "Not enough memory to complete this \
129 task.\nClose one or more applications to increase the amount of free memory."
130
131 STRING_UNICODE_LE,     "Unicode (UTF-16)"
132 STRING_UNICODE_BE,     "Unicode (UTF-16 big-endian)"
133
134 STRING_LOSS_OF_UNICODE_CHARACTERS,         "%s\n\
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\
139 Continue?"
140 }