notepad: Don't assign access keys to group box labels or give them trailing punctuation.
[wine/multimedia.git] / programs / notepad / notepad.rc
blob2add47ecff9e1cda2d830189b1bd72fcd5cef8e2
1 /*
2  *  Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch>
3  *  Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr>
4  *
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.
9  *
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.
14  *
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
18  */
20 #include "notepad_res.h"
22 LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
24 MAIN_MENU MENU
26  POPUP "&File" {
27   MENUITEM "&New\tCtrl+N",      CMD_NEW
28   MENUITEM "&Open...\tCtrl+O",  CMD_OPEN
29   MENUITEM "&Save\tCtrl+S",     CMD_SAVE
30   MENUITEM "Save &as...",       CMD_SAVE_AS
31   MENUITEM SEPARATOR
32   MENUITEM "&Print...\tCtrl+P",            CMD_PRINT
33   MENUITEM "Page Se&tup...",    CMD_PAGE_SETUP
34   MENUITEM "P&rinter Setup...", CMD_PRINTER_SETUP
35   MENUITEM SEPARATOR
36   MENUITEM "E&xit",             CMD_EXIT
37  }
38 POPUP "&Edit" {
39   MENUITEM "&Undo\tCtrl+Z",     CMD_UNDO
40   MENUITEM SEPARATOR
41   MENUITEM "Cu&t\tCtrl+X",      CMD_CUT
42   MENUITEM "&Copy\tCtrl+C",     CMD_COPY
43   MENUITEM "&Paste\tCtrl+V",    CMD_PASTE
44   MENUITEM "&Delete\tDel",      CMD_DELETE
45   MENUITEM SEPARATOR
46   MENUITEM "Select &all\tCtrl+A",       CMD_SELECT_ALL
47   MENUITEM "&Time/Date\tF5",    CMD_TIME_DATE
48   MENUITEM SEPARATOR
49   MENUITEM "&Wrap long lines",  CMD_WRAP
50   MENUITEM "&Font...",          CMD_FONT
51  }
52 POPUP "&Search" {
53   MENUITEM "&Search...\tCtrl+F",   CMD_SEARCH
54   MENUITEM "&Search next\tF3",  CMD_SEARCH_NEXT
55   MENUITEM "&Replace...\tCtrl+H", CMD_REPLACE
56  }
57 POPUP "&Help" {
58   MENUITEM "&Contents\tF1",     CMD_HELP_CONTENTS
59   MENUITEM "&About Notepad",    CMD_HELP_ABOUT_NOTEPAD
60  }
63 STRINGTABLE
65 STRING_PAGESETUP_HEADERVALUE,   "#msgctxt#do not translate#&f"
66 STRING_PAGESETUP_FOOTERVALUE,   "Page &p"
68 STRING_NOTEPAD,                                 "Notepad"
69 STRING_ERROR,                                   "ERROR"
70 STRING_WARNING,                                 "WARNING"
71 STRING_INFO,                                    "Information"
73 STRING_UNTITLED,                                "Untitled"
75 STRING_ALL_FILES,                               "All files (*.*)"
76 STRING_TEXT_FILES_TXT,                  "Text files (*.txt)"
78 STRING_TOOLARGE,                                "File '%s' is too large for notepad.\n\
79 Please use a different editor."
80 STRING_NOTEXT,                                  "You did not enter any text.\
81 \nPlease type something and try again."
82 STRING_DOESNOTEXIST,                            "File '%s' does not exist.\n\n\
83 Do you want to create a new file?"
84 STRING_NOTSAVED,                                "File '%s' has been modified.\n\n\
85 Would you like to save the changes?"
86 STRING_NOTFOUND,                                        "'%s' could not be found."
87 STRING_OUT_OF_MEMORY,                   "Not enough memory to complete this \
88 task.\nClose one or more applications to increase the amount of free memory."
90 STRING_UNICODE_LE,     "Unicode (UTF-16)"
91 STRING_UNICODE_BE,     "Unicode (UTF-16 big-endian)"
92 STRING_UTF8,           "Unicode (UTF-8)"
94 STRING_LOSS_OF_UNICODE_CHARACTERS,         "%1\n\
95 This file contains Unicode characters which will be lost if\n\
96 you save this file in the %2 encoding.\n\
97 To keep these characters, click Cancel, and then select\n\
98 one of the Unicode options in the Encoding drop down list.\n\
99 Continue?"
102 DIALOG_PAGESETUP DIALOG 0, 0, 240, 95
103 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
104 FONT 8, "MS Shell Dlg"
105 CAPTION "Page Setup"
107 LTEXT    "&Header:",  0x140,  10, 07, 68, 15
108 EDITTEXT IDC_PAGESETUP_HEADERVALUE,   78,  5,110, 12, WS_BORDER | WS_TABSTOP
109 LTEXT    "&Footer:",  0x142,   10, 24, 68, 15
110 EDITTEXT IDC_PAGESETUP_FOOTERVALUE,   78, 22,110, 12, WS_BORDER | WS_TABSTOP
112 GROUPBOX "Margins (millimeters)",      0x144,     10, 43,178, 45
113 LTEXT    "&Left:",        0x145,   20, 55, 39, 10, WS_CHILD
114 EDITTEXT IDC_PAGESETUP_LEFTVALUE,     59, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
115 LTEXT    "&Top:",         0x148,    20, 73, 39, 10, WS_CHILD
116 EDITTEXT IDC_PAGESETUP_TOPVALUE,      59, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
117 LTEXT    "&Right:",       0x14B, 107, 55, 39, 10, WS_CHILD
118 EDITTEXT IDC_PAGESETUP_RIGHTVALUE,   148, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
119 LTEXT    "&Bottom:",      0x14E, 107, 73, 39, 10, WS_CHILD
120 EDITTEXT IDC_PAGESETUP_BOTTOMVALUE,  148, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
122 DEFPUSHBUTTON "OK",         IDOK,                   195,  3, 40, 15, WS_TABSTOP
123 PUSHBUTTON    "Cancel",     IDCANCEL,               195, 21, 40, 15, WS_TABSTOP
124 PUSHBUTTON    "&Help",       IDHELP,                195, 39, 40, 15, WS_TABSTOP
127 IDD_OFN_TEMPLATE  DIALOG 50,50,300,15
128 STYLE DS_3DLOOK | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_BORDER
129 FONT 8, "MS Shell Dlg"
130 BEGIN
131   LTEXT "Encoding:", -1, 5,0, 50,12
132   COMBOBOX IDC_OFN_ENCCOMBO, 53,0, 156,48, WS_CHILD | WS_VSCROLL | CBS_DROPDOWNLIST
135 ID_ACCEL ACCELERATORS
137     "^A", CMD_SELECT_ALL
138     "^C", CMD_COPY
139     "^F", CMD_SEARCH
140     "H", CMD_REPLACE, VIRTKEY, CONTROL
141     "^N", CMD_NEW
142     "^O", CMD_OPEN
143     "^P", CMD_PRINT
144     "^S", CMD_SAVE
145     "^V", CMD_PASTE
146     "^X", CMD_CUT
147     "^Z", CMD_UNDO
148     VK_BACK, CMD_UNDO, VIRTKEY, ALT
149     VK_F1, CMD_HELP_CONTENTS, VIRTKEY
150     VK_F3, CMD_SEARCH_NEXT, VIRTKEY
151     VK_F5, CMD_TIME_DATE, VIRTKEY
152     VK_INSERT, CMD_COPY, VIRTKEY, CONTROL
153     VK_INSERT, CMD_PASTE, VIRTKEY, SHIFT
156 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
158 /* @makedep: notepad.ico */
159 IDI_NOTEPAD ICON "notepad.ico"