Need an explicit truncate command to shorten the length of a file.
[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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21  */
22
23 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
24
25 MAIN_MENU MENU
26 {
27  POPUP "&File" {
28   MENUITEM "&New...\tCtrl+N",           CMD_NEW
29   MENUITEM "&Open\tCtrl+O",     CMD_OPEN
30   MENUITEM "&Save\tCtrl+S",     CMD_SAVE
31   MENUITEM "Save &as...",       CMD_SAVE_AS
32   MENUITEM SEPARATOR
33   MENUITEM "&Print\tCtrl+P",            CMD_PRINT
34   MENUITEM "Page Se&tup...",    CMD_PAGE_SETUP
35   MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
36   MENUITEM SEPARATOR
37   MENUITEM "E&xit",             CMD_EXIT
38  }
39 POPUP "&Edit" {
40   MENUITEM "&Undo\tCtrl+Z",     CMD_UNDO
41   MENUITEM SEPARATOR
42   MENUITEM "Cu&t\tCtrl+X",      CMD_CUT
43   MENUITEM "&Copy\tCtrl+C",     CMD_COPY
44   MENUITEM "&Paste\tCtrl+V",    CMD_PASTE
45   MENUITEM "&Delete\tDel",      CMD_DELETE
46   MENUITEM SEPARATOR
47   MENUITEM "Select &all\tCtrl+A",       CMD_SELECT_ALL
48   MENUITEM "&Time/Date\tF5",    CMD_TIME_DATE
49   MENUITEM SEPARATOR
50   MENUITEM "&Wrap long lines",  CMD_WRAP
51   MENUITEM "&Font...",          CMD_FONT
52  }
53 POPUP "&Search" {
54   MENUITEM "&Search\tCtrl+F",   CMD_SEARCH
55   MENUITEM "&Search next\tF3",  CMD_SEARCH_NEXT
56  }
57 POPUP "&Help" {
58   MENUITEM "&Contents",         CMD_HELP_CONTENTS
59   MENUITEM "&Search...",        CMD_HELP_SEARCH
60   MENUITEM "&Help on help",     CMD_HELP_ON_HELP
61   MENUITEM SEPARATOR
62   POPUP "Inf&o..." {
63    MENUITEM "&License",         CMD_LICENSE
64    MENUITEM "&NO WARRANTY",     CMD_NO_WARRANTY
65    MENUITEM "&About Wine",      CMD_ABOUT_WINE
66   }
67  }
68 }
69
70 /* Dialog `Page setup' */
71
72 DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
73 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
74 FONT 8, "MS Shell Dlg"
75 CAPTION "Page Setup"
76 {
77 LTEXT    "&Header:",  0x140,   10, 07, 40, 15
78 EDITTEXT                         0x141,       60, 05,110, 12, WS_BORDER | WS_TABSTOP
79 LTEXT    "&Footer:",  0x142,   10, 24, 40, 15
80 EDITTEXT                         0x143,       60, 22,110, 12, WS_BORDER | WS_TABSTOP
81
82 GROUPBOX "&Margins:",      0x144,     10, 43,160, 45
83 LTEXT    "&Left:",        0x145,   20, 55, 30, 10, WS_CHILD
84 EDITTEXT /*STRING_PAGESETUP_LEFTVALUE,*/   0x147,       50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
85 LTEXT    "&Top:",         0x148,    20, 73, 30, 10, WS_CHILD
86 EDITTEXT /*STRING_PAGESETUP_TOPVALUE,*/    0x14A,        50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
87 LTEXT    "&Right:",       0x14B, 100, 55, 30, 10, WS_CHILD
88 EDITTEXT /*STRING_PAGESETUP_RIGHTVALUE,*/  0x14D,     130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
89 LTEXT    "&Bottom:",      0x14E,100, 73, 30, 10, WS_CHILD
90 EDITTEXT /*STRING_PAGESETUP_BOTTOMVALUE,*/ 0x150,    130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
91
92 DEFPUSHBUTTON "OK",         IDOK,                   180,  3, 40, 15, WS_TABSTOP
93 PUSHBUTTON    "Cancel",     IDCANCEL,               180, 21, 40, 15, WS_TABSTOP
94 PUSHBUTTON    "&Help",       IDHELP,                180, 39, 40, 15, WS_TABSTOP
95 }
96
97 STRINGTABLE DISCARDABLE
98 {
99 STRING_PAGESETUP_HEADERVALUE,   "&n"        /* FIXME */
100 STRING_PAGESETUP_FOOTERVALUE,   "Page &s"   /* FIXME */
101 STRING_PAGESETUP_LEFTVALUE,             "20 mm"     /* FIXME */
102 STRING_PAGESETUP_RIGHTVALUE,    "20 mm"     /* FIXME */
103 STRING_PAGESETUP_TOPVALUE,              "25 mm"     /* FIXME */
104 STRING_PAGESETUP_BOTTOMVALUE,   "25 mm"     /* FIXME */
105
106 STRING_NOTEPAD,                                 "Notepad"
107 STRING_ERROR,                                   "ERROR"
108 STRING_WARNING,                                 "WARNING"
109 STRING_INFO,                                    "Information"
110
111 STRING_UNTITLED,                                "(untitled)"
112
113 STRING_ALL_FILES,                               "All files (*.*)"
114 STRING_TEXT_FILES_TXT,                  "Text files (*.txt)"
115
116 STRING_TOOLARGE,                                "File '%s' is too large for notepad.\n \
117 Please use a different editor."
118 STRING_NOTEXT,                                  "You didn't enter any text. \
119 \nPlease type something and try again"
120 STRING_DOESNOTEXIST,                            "File '%s'\ndoes not exist\n\n \
121 Do you want to create a new file ?"
122 STRING_NOTSAVED,                                "File '%s'\nhas been modified\n\n \
123 Would you like to save the changes ?"
124 STRING_NOTFOUND,                                        "'%s' could not be found."
125 STRING_OUT_OF_MEMORY,                   "Not enough memory to complete this \
126 task. \nClose one or more applications to increase the amount of \nfree \
127 memory."
128
129 }