blob: 3694062e355b92d21404d46ecd23bbbed1335edf [file] [log] [blame]
András Kovács94c65022006-04-22 01:38:54 +02001/*
2 * Copyright 2006 Andras Kovacs
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
Jonathan Ernst360a3f92006-05-18 14:49:52 +020016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
András Kovács94c65022006-04-22 01:38:54 +020017 */
18
Michael Stefaniuceaa31f32009-07-02 00:31:53 +020019#include "wordpad.h"
20
András Kovács94c65022006-04-22 01:38:54 +020021LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
22
Alexander Nicolaysen Sørnes04aefe82007-11-04 12:34:03 +010023IDM_MAINMENU MENU DISCARDABLE
András Kovács94c65022006-04-22 01:38:54 +020024BEGIN
25 POPUP "&Fájl"
26 BEGIN
Mikołaj Zalewskia8fd0e02008-02-13 14:30:21 +010027 MENUITEM "&Új...\tCtrl+N", ID_FILE_NEW
Alexander Nicolaysen Sørnesf19f4de2007-06-05 11:11:56 +020028 MENUITEM "&Megnyitás...\tCtrl+O", ID_FILE_OPEN
Jonathan Ernstad4516f2006-07-12 14:08:47 +020029 MENUITEM "M&entés\tCtrl+S", ID_FILE_SAVE
Alexander Nicolaysen Sørnes68ce6022007-05-31 15:38:51 +020030 MENUITEM "Mentés má&sként...", ID_FILE_SAVEAS
András Kovács94c65022006-04-22 01:38:54 +020031 MENUITEM SEPARATOR
Francois Gouget39cb4322008-06-05 14:48:16 +020032 MENUITEM "&Print...\tCtrl+P", ID_PRINT
33 MENUITEM "Print previe&w...", ID_PREVIEW
34 MENUITEM "Page setup...", ID_PRINTSETUP
Alexander Nicolaysen Sørnes61876c72007-08-23 01:36:29 +020035 MENUITEM SEPARATOR
András Kovács94c65022006-04-22 01:38:54 +020036 MENUITEM "&Kilépés", ID_FILE_EXIT
37 END
38 POPUP "Sz&erkesztés"
39 BEGIN
40 MENUITEM "&Visszavonás\tCtrl+Z", ID_EDIT_UNDO
41 MENUITEM "&Elõre\tCtrl+Y", ID_EDIT_REDO
András Kovács94c65022006-04-22 01:38:54 +020042 MENUITEM SEPARATOR
43 MENUITEM "Kiv&ágás\tCtrl+X", ID_EDIT_CUT
44 MENUITEM "Má&solás\tCtrl+C", ID_EDIT_COPY
Alexander Nicolaysen Sørnes194c3f22007-02-25 14:39:58 +010045 MENUITEM "&Beillesztés\tCtrl+V", ID_EDIT_PASTE
46 MENUITEM "Tör&lés\tDel", ID_EDIT_CLEAR
47 MENUITEM "M&indet kijelöli\tCtrl+A", ID_EDIT_SELECTALL
András Kovács94c65022006-04-22 01:38:54 +020048 MENUITEM SEPARATOR
Frédéric Delanoy51a61532010-02-01 23:34:47 +010049 MENUITEM "&Find...\tCtrl+F", ID_FIND
Alexander Nicolaysen Sørnes55949ae2007-07-18 15:41:33 +020050 MENUITEM "Find &next\tF3", ID_FIND_NEXT
Francois Gouget39cb4322008-06-05 14:48:16 +020051 MENUITEM "&Replace...\tCtrl+H", ID_REPLACE
Alexander Nicolaysen Sørnes55949ae2007-07-18 15:41:33 +020052 MENUITEM SEPARATOR
András Kovács94c65022006-04-22 01:38:54 +020053 MENUITEM "Csak &olvasható", ID_EDIT_READONLY
54 MENUITEM "Mó&dosítva", ID_EDIT_MODIFIED
55 MENUITEM SEPARATOR
56 POPUP "&Extrák"
57 BEGIN
58 MENUITEM "Kijelölés &információ", ID_EDIT_SELECTIONINFO
59 MENUITEM "Karakter&formátum", ID_EDIT_CHARFORMAT
60 MENUITEM "A&laprtelmezett karakter formátum", ID_EDIT_DEFCHARFORMAT
61 MENUITEM "&Bekezdés formátum", ID_EDIT_PARAFORMAT
62 MENUITEM "Sz&övegszerzés", ID_EDIT_GETTEXT
63 END
64 END
Alexander Nicolaysen Sørnes10b34832007-06-06 11:10:47 +020065 POPUP "&View"
66 BEGIN
67 MENUITEM "&Toolbar", ID_TOGGLE_TOOLBAR
Alexander Nicolaysen Sørnesffa7e0e2007-06-06 13:28:26 +020068 MENUITEM "&Formatbar", ID_TOGGLE_FORMATBAR
Alexander Nicolaysen Sørnes9a1b6262008-01-14 00:36:23 +010069 MENUITEM "&Ruler", ID_TOGGLE_RULER
Alexander Nicolaysen Sørnes2de3d952007-06-06 11:21:08 +020070 MENUITEM "&Statusbar", ID_TOGGLE_STATUSBAR
Alexander Nicolaysen Sørnes7fa05902007-08-23 15:08:41 +020071 MENUITEM SEPARATOR
Francois Gouget39cb4322008-06-05 14:48:16 +020072 MENUITEM "&Options...", ID_VIEWPROPERTIES
Alexander Nicolaysen Sørnes10b34832007-06-06 11:10:47 +020073 END
Alexander Nicolaysen Sørnes4c6c9e52007-07-18 15:50:21 +020074 POPUP "&Insert"
75 BEGIN
Francois Gouget39cb4322008-06-05 14:48:16 +020076 MENUITEM "&Date and time...", ID_DATETIME
Alexander Nicolaysen Sørnes4c6c9e52007-07-18 15:50:21 +020077 END
András Kovács94c65022006-04-22 01:38:54 +020078 POPUP "F&ormátum"
79 BEGIN
Francois Gouget39cb4322008-06-05 14:48:16 +020080 MENUITEM "&Font...", ID_FONTSETTINGS
Alexander Nicolaysen Sørnesd4ddb7f2007-07-20 18:38:08 +020081 MENUITEM "&Bullet points" ID_BULLET
Francois Gouget39cb4322008-06-05 14:48:16 +020082 MENUITEM "&Paragraph..." ID_PARAFORMAT
83 MENUITEM "&Tabs..." ID_TABSTOPS
András Kovács94c65022006-04-22 01:38:54 +020084 POPUP "&Háttér"
85 BEGIN
86 MENUITEM "&Rendszer\tCtrl+1", ID_BACK_1
87 MENUITEM "&Sárgában kérem\tCtrl+2", ID_BACK_2
88 END
András Kovács94c65022006-04-22 01:38:54 +020089 END
Alexander Nicolaysen Sørnesdfb29f42007-08-23 15:05:40 +020090 POPUP "&Help"
91 BEGIN
92 MENUITEM "&About Wine Wordpad" ID_ABOUT
93 END
András Kovács94c65022006-04-22 01:38:54 +020094END
Alexander Nicolaysen Sørnes77bf8992007-07-08 13:51:19 +020095
Alexander Nicolaysen Sørnes5bc0dfc2007-08-23 15:05:23 +020096IDM_POPUP MENU DISCARDABLE
97BEGIN
98 POPUP ""
99 BEGIN
100 MENUITEM "Kiv&ágás\tCtrl+X", ID_EDIT_CUT
101 MENUITEM "Má&solás\tCtrl+C", ID_EDIT_COPY
102 MENUITEM "&Beillesztés\tCtrl+V", ID_EDIT_PASTE
103 MENUITEM SEPARATOR
104 MENUITEM "&Bullet points" ID_BULLET
Francois Gouget39cb4322008-06-05 14:48:16 +0200105 MENUITEM "&Paragraph..." ID_PARAFORMAT
Alexander Nicolaysen Sørnes5bc0dfc2007-08-23 15:05:23 +0200106 END
107END
108
Dylan Smith23971712010-02-17 14:19:36 -0500109IDM_COLOR_POPUP MENU DISCARDABLE
110BEGIN
111 POPUP ""
112 BEGIN
113 MENUITEM "Black", ID_COLOR_BLACK
114 MENUITEM "Maroon", ID_COLOR_MAROON
115 MENUITEM "Green", ID_COLOR_GREEN
116 MENUITEM "Olive" ID_COLOR_OLIVE
117 MENUITEM "Navy" ID_COLOR_NAVY
118 MENUITEM "Purple" ID_COLOR_PURPLE
119 MENUITEM "Teal" ID_COLOR_TEAL
120 MENUITEM "Gray" ID_COLOR_GRAY
121 MENUITEM "Silver" ID_COLOR_SILVER
122 MENUITEM "Red" ID_COLOR_RED
123 MENUITEM "Lime" ID_COLOR_LIME
124 MENUITEM "Yellow" ID_COLOR_YELLOW
125 MENUITEM "Blue" ID_COLOR_BLUE
126 MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
127 MENUITEM "Aqua" ID_COLOR_AQUA
128 MENUITEM "White" ID_COLOR_WHITE
129 MENUITEM "Automatic" ID_COLOR_AUTOMATIC
130 END
131END
132
Alexander Nicolaysen Sørnes4c6c9e52007-07-18 15:50:21 +0200133IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
134STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
135CAPTION "Date and time"
136FONT 10, "MS Sans Serif"
137BEGIN
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800138 LTEXT "Available formats",-1,3,2,100,15
Hirofumi Katayama1b8f4b92008-11-15 09:10:57 +0900139 LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
Alexander Nicolaysen Sørnes4c6c9e52007-07-18 15:50:21 +0200140 PUSHBUTTON "&OK",IDOK,87,12,40,12
141 PUSHBUTTON "&Cancel",IDCANCEL,87,26,40,12
142END
143
Alexander Nicolaysen Sørnesbbc20452007-07-18 22:27:15 +0200144IDD_NEWFILE DIALOG DISCARDABLE 30, 20, 140, 80
145STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
146CAPTION "New"
147FONT 10, "MS Sans Serif"
148BEGIN
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800149 LTEXT "New document type",-1,3,2,100,15
Alexander Nicolaysen Sørnesbbc20452007-07-18 22:27:15 +0200150 LISTBOX IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
151 PUSHBUTTON "&OK",IDOK,97,12,40,12
152 PUSHBUTTON "&Cancel",IDCANCEL,97,26,40,12
153END
154
Alexander Nicolaysen Sørnesfd129c22007-08-23 01:15:17 +0200155IDD_PARAFORMAT DIALOG DISCARDABLE 30, 20, 200, 110
156STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
157Caption "Paragraph format"
158FONT 8, "MS Shell Dlg"
159BEGIN
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800160 GROUPBOX "Indentation", -1, 10, 10, 120, 68
161 LTEXT "Left", -1, 15, 22, 40, 13
Alexander Nicolaysen Sørnesfd129c22007-08-23 01:15:17 +0200162 EDITTEXT IDC_PARA_LEFT, 55, 20, 60, 13
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800163 LTEXT "Right", -1, 15, 40, 40, 13
Alexander Nicolaysen Sørnesfd129c22007-08-23 01:15:17 +0200164 EDITTEXT IDC_PARA_RIGHT, 55, 38, 60, 13
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800165 LTEXT "First line", -1, 15, 58, 40, 13
Alexander Nicolaysen Sørnesfd129c22007-08-23 01:15:17 +0200166 EDITTEXT IDC_PARA_FIRST, 55, 56, 60, 13
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800167 LTEXT "Alignment", -1, 15, 87, 40, 13
Dylan Smithd0927f62008-06-17 21:20:14 -0400168 COMBOBOX IDC_PARA_ALIGN, 55, 85, 60, 60, CBS_DROPDOWNLIST
Alexander Nicolaysen Sørnesfd129c22007-08-23 01:15:17 +0200169 PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
170 PUSHBUTTON "&Cancel", IDCANCEL, 137, 33, 50, 15
171END
172
Alexander Nicolaysen Sørnes695a94f2007-08-23 01:27:50 +0200173IDD_TABSTOPS DIALOG DISCARDABLE 30, 20, 200, 110
174STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
175Caption "Tabs"
176FONT 8, "MS SHell DLg"
177BEGIN
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800178 GROUPBOX "Tab stops", -1, 10, 10, 120, 90
Dylan Smith8e8c02a2009-02-25 15:15:25 -0500179 COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
Alexander Nicolaysen Sørnes695a94f2007-08-23 01:27:50 +0200180 DEFPUSHBUTTON "&Add", ID_TAB_ADD, 20, 80, 45, 15
181 PUSHBUTTON "&Remove", ID_TAB_DEL, 72, 80, 45, 15
182 PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
183 PUSHBUTTON "&Cancel", IDCANCEL, 137, 33, 50, 15
184 PUSHBUTTON "Remove al&l", ID_TAB_EMPTY, 137, 51, 50, 15
185END
186
Alexander Nicolaysen Sørnes7fa05902007-08-23 15:08:41 +0200187IDD_FORMATOPTS DIALOG DISCARDABLE 0, 0, 280, 110
188STYLE DS_SYSMODAL
189Caption ""
190FONT 8, "MS Shell Dlg"
191BEGIN
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800192 GROUPBOX "Line wrapping", -1, 10, 10, 130, 85
Dylan Smithf124a582008-10-13 18:48:41 -0400193 RADIOBUTTON "No line wrapping", IDC_PAGEFMT_WN, 18, 25, 117, 15
194 RADIOBUTTON "Wrap text by the &window border", IDC_PAGEFMT_WW, 18, 45, 117, 15
195 RADIOBUTTON "Wrap text by the &margin", IDC_PAGEFMT_WM, 18, 65, 117, 15
Dmitry Timoshkov1793f552009-01-14 18:31:00 +0800196 GROUPBOX "Toolbars", -1, 150, 10, 120, 85
Alexander Nicolaysen Sørnes7fa05902007-08-23 15:08:41 +0200197 CHECKBOX "&Toolbar", IDC_PAGEFMT_TB, 160, 20, 80, 15
198 CHECKBOX "&Formatbar", IDC_PAGEFMT_FB, 160, 38, 80, 15
Alexander Nicolaysen Sørnes9a1b6262008-01-14 00:36:23 +0100199 CHECKBOX "&Ruler", IDC_PAGEFMT_RU, 160, 56, 80, 15
200 CHECKBOX "&Statusbar", IDC_PAGEFMT_SB, 160, 74, 80, 15
Alexander Nicolaysen Sørnes7fa05902007-08-23 15:08:41 +0200201 LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
202END
203
Alexander Nicolaysen Sørnes4c6c9e52007-07-18 15:50:21 +0200204STRINGTABLE DISCARDABLE
205BEGIN
Alexander Nicolaysen Sørnes425c2c62007-07-18 21:59:24 +0200206 STRING_RICHTEXT_FILES_RTF, "Rich text format (*.rtf)"
207 STRING_TEXT_FILES_TXT, "Text documents (*.txt)"
208 STRING_TEXT_FILES_UNICODE_TXT, "Unicode text document (*.txt)"
209 STRING_ALL_FILES, "All documents (*.*)"
Alexander Nicolaysen Sørnes4c6c9e52007-07-18 15:50:21 +0200210END
211
Alexander Nicolaysen Sørnes77bf8992007-07-08 13:51:19 +0200212STRINGTABLE DISCARDABLE
213BEGIN
Alexander Nicolaysen Sørnesfd129c22007-08-23 01:15:17 +0200214 STRING_ALIGN_LEFT, "Left"
215 STRING_ALIGN_RIGHT, "Right"
216 STRING_ALIGN_CENTER, "Center"
217END
218
219STRINGTABLE DISCARDABLE
220BEGIN
Alexander Nicolaysen Sørnesbbc20452007-07-18 22:27:15 +0200221 STRING_NEWFILE_RICHTEXT, "Rich text document"
222 STRING_NEWFILE_TXT, "Text document"
223 STRING_NEWFILE_TXT_UNICODE, "Unicode text document"
224END
225
226STRINGTABLE DISCARDABLE
227BEGIN
Alexander Nicolaysen Sørnes61876c72007-08-23 01:36:29 +0200228 STRING_PRINTER_FILES_PRN, "Printer files (*.PRN)"
229END
230
231STRINGTABLE DISCARDABLE
232BEGIN
Alexander Nicolaysen Sørnes7fa05902007-08-23 15:08:41 +0200233 STRING_VIEWPROPS_TITLE, "Options"
234 STRING_VIEWPROPS_TEXT, "Text"
235 STRING_VIEWPROPS_RICHTEXT, "Rich text"
236END
237
238STRINGTABLE DISCARDABLE
239BEGIN
Alexander Nicolaysen Sørnescd64bf82007-08-23 15:09:49 +0200240 STRING_PREVIEW_PRINT, "Print"
241 STRING_PREVIEW_NEXTPAGE, "Next page"
242 STRING_PREVIEW_PREVPAGE, "Previous page"
Alexander Nicolaysen Sørnes1ea82f72008-03-27 01:39:05 +0100243 STRING_PREVIEW_TWOPAGES, "Two pages"
244 STRING_PREVIEW_ONEPAGE, "One page"
Dylan Smith0c46da82010-01-29 03:02:41 -0500245 STRING_PREVIEW_ZOOMIN, "Zoom in"
246 STRING_PREVIEW_ZOOMOUT, "Zoom out"
Alexander Nicolaysen Sørnescd64bf82007-08-23 15:09:49 +0200247 STRING_PREVIEW_CLOSE, "Close"
Dylan Smithbb585372010-02-25 01:50:01 -0500248 STRING_PREVIEW_PAGE, "Page"
249 STRING_PREVIEW_PAGES, "Pages"
Alexander Nicolaysen Sørnescd64bf82007-08-23 15:09:49 +0200250END
251
252STRINGTABLE DISCARDABLE
253BEGIN
Alexander Nicolaysen Sørnes61876c72007-08-23 01:36:29 +0200254 STRING_UNITS_CM, "cm"
Alexander Nicolaysen Sørnesfd129c22007-08-23 01:15:17 +0200255END