notepad: Implement handling of page setup dialog parameters.
[wine] / programs / notepad / Sk.rc
1 /*
2  *  Notepad (Slovak 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 LANGUAGE LANG_SLOVAK, 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 "&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 "&Exit",             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",       CMD_SELECT_ALL
47   MENUITEM "&Time/Date\tF5",    CMD_TIME_DATE
48   MENUITEM SEPARATOR
49   MENUITEM "&Wrap long lines",  CMD_WRAP
50  }
51 POPUP "&Search" {
52   MENUITEM "&Search...", CMD_SEARCH
53   MENUITEM "&Search next\tF3",  CMD_SEARCH_NEXT
54  }
55 POPUP "&Help" {
56   MENUITEM "&Contents",         CMD_HELP_CONTENTS
57   MENUITEM "&Search...",        CMD_HELP_SEARCH
58   MENUITEM "&Help on help",     CMD_HELP_ON_HELP
59   MENUITEM SEPARATOR
60   POPUP "Inf&o" {
61    MENUITEM "&License...",      CMD_LICENSE
62    MENUITEM "&NO WARRANTY...",  CMD_NO_WARRANTY
63    MENUITEM "&About Wine...",   CMD_ABOUT_WINE
64   }
65  }
66 }
67
68 /* Dialog `Page setup' */
69
70 DIALOG_PAGESETUP DIALOG 0, 0, 225, 95
71 STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
72 FONT 8, "MS Shell Dlg"
73 CAPTION "Page Setup"
74 {
75 LTEXT    "&Header:",  0x140,   10, 07, 40, 15
76 EDITTEXT IDC_PAGESETUP_HEADERVALUE,   60, 05,110, 12, WS_BORDER | WS_TABSTOP
77 LTEXT    "&Footer:",  0x142,   10, 24, 40, 15
78 EDITTEXT IDC_PAGESETUP_FOOTERVALUE,   60, 22,110, 12, WS_BORDER | WS_TABSTOP
79
80 GROUPBOX "&Margins:",      0x144,     10, 43,160, 45
81 LTEXT    "&Left:",        0x145,   20, 55, 30, 10, WS_CHILD
82 EDITTEXT IDC_PAGESETUP_LEFTVALUE,     50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
83 LTEXT    "&Top:",         0x148,    20, 73, 30, 10, WS_CHILD
84 EDITTEXT IDC_PAGESETUP_TOPVALUE,      50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
85 LTEXT    "&Right:",       0x14B, 100, 55, 30, 10, WS_CHILD
86 EDITTEXT IDC_PAGESETUP_RIGHTVALUE,   130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
87 LTEXT    "&Bottom:",      0x14E,100, 73, 30, 10, WS_CHILD
88 EDITTEXT IDC_PAGESETUP_BOTTOMVALUE,  130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP
89
90 DEFPUSHBUTTON "OK",         IDOK,                   180,  3, 40, 15, WS_TABSTOP
91 PUSHBUTTON    "Cancel",     IDCANCEL,               180, 21, 40, 15, WS_TABSTOP
92 PUSHBUTTON    "&Help",       IDHELP,                180, 39, 40, 15, WS_TABSTOP
93 }
94
95 STRINGTABLE DISCARDABLE
96 {
97 STRING_PAGESETUP_HEADERVALUE,   "&f"
98 STRING_PAGESETUP_FOOTERVALUE,   "Page &p"
99
100 STRING_NOTEPAD,                                 "Notepad"
101 STRING_ERROR,                                   "ERROR"
102 STRING_WARNING,                                 "WARNING"
103 STRING_INFO,                                    "Information"
104
105 STRING_UNTITLED,                                "(untitled)"
106
107 STRING_ALL_FILES,                               "All files (*.*)"
108 STRING_TEXT_FILES_TXT,                  "Text files (*.txt)"
109
110 STRING_TOOLARGE,                                "File '%s' is too large for notepad.\n \
111 Please use a different editor."
112 STRING_NOTEXT,                                  "You didn't enter any text. \
113 \nPlease type something and try again"
114 STRING_DOESNOTEXIST,                            "File '%s'\ndoes not exist\n\n \
115 Do you want to create a new file ?"
116 STRING_NOTSAVED,                                "File '%s'\nhas been modified\n\n \
117 Would you like to save the changes ?"
118 STRING_NOTFOUND,                                        "'%s' can not be found."
119 STRING_OUT_OF_MEMORY,                   "Not enough memory to complete this \
120 task. \nClose one or more applications to increase the amount of \nfree \
121 memory."
122
123 }