256 lines
8.7 KiB
Plaintext
256 lines
8.7 KiB
Plaintext
/*
|
|
* Copyright 2006 Andras Kovacs
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
#include "wordpad.h"
|
|
|
|
LANGUAGE LANG_HUNGARIAN, SUBLANG_DEFAULT
|
|
|
|
IDM_MAINMENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&Fájl"
|
|
BEGIN
|
|
MENUITEM "&Új...\tCtrl+N", ID_FILE_NEW
|
|
MENUITEM "&Megnyitás...\tCtrl+O", ID_FILE_OPEN
|
|
MENUITEM "M&entés\tCtrl+S", ID_FILE_SAVE
|
|
MENUITEM "Mentés má&sként...", ID_FILE_SAVEAS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Print...\tCtrl+P", ID_PRINT
|
|
MENUITEM "Print previe&w...", ID_PREVIEW
|
|
MENUITEM "Page setup...", ID_PRINTSETUP
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Kilépés", ID_FILE_EXIT
|
|
END
|
|
POPUP "Sz&erkesztés"
|
|
BEGIN
|
|
MENUITEM "&Visszavonás\tCtrl+Z", ID_EDIT_UNDO
|
|
MENUITEM "&Elõre\tCtrl+Y", ID_EDIT_REDO
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Kiv&ágás\tCtrl+X", ID_EDIT_CUT
|
|
MENUITEM "Má&solás\tCtrl+C", ID_EDIT_COPY
|
|
MENUITEM "&Beillesztés\tCtrl+V", ID_EDIT_PASTE
|
|
MENUITEM "Tör&lés\tDel", ID_EDIT_CLEAR
|
|
MENUITEM "M&indet kijelöli\tCtrl+A", ID_EDIT_SELECTALL
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Find...\tCtrl+F", ID_FIND
|
|
MENUITEM "Find &next\tF3", ID_FIND_NEXT
|
|
MENUITEM "&Replace...\tCtrl+H", ID_REPLACE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Csak &olvasható", ID_EDIT_READONLY
|
|
MENUITEM "Mó&dosítva", ID_EDIT_MODIFIED
|
|
MENUITEM SEPARATOR
|
|
POPUP "&Extrák"
|
|
BEGIN
|
|
MENUITEM "Kijelölés &információ", ID_EDIT_SELECTIONINFO
|
|
MENUITEM "Karakter&formátum", ID_EDIT_CHARFORMAT
|
|
MENUITEM "A&laprtelmezett karakter formátum", ID_EDIT_DEFCHARFORMAT
|
|
MENUITEM "&Bekezdés formátum", ID_EDIT_PARAFORMAT
|
|
MENUITEM "Sz&övegszerzés", ID_EDIT_GETTEXT
|
|
END
|
|
END
|
|
POPUP "&View"
|
|
BEGIN
|
|
MENUITEM "&Toolbar", ID_TOGGLE_TOOLBAR
|
|
MENUITEM "&Formatbar", ID_TOGGLE_FORMATBAR
|
|
MENUITEM "&Ruler", ID_TOGGLE_RULER
|
|
MENUITEM "&Statusbar", ID_TOGGLE_STATUSBAR
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Options...", ID_VIEWPROPERTIES
|
|
END
|
|
POPUP "&Insert"
|
|
BEGIN
|
|
MENUITEM "&Date and time...", ID_DATETIME
|
|
END
|
|
POPUP "F&ormátum"
|
|
BEGIN
|
|
MENUITEM "&Font...", ID_FONTSETTINGS
|
|
MENUITEM "&Bullet points" ID_BULLET
|
|
MENUITEM "&Paragraph..." ID_PARAFORMAT
|
|
MENUITEM "&Tabs..." ID_TABSTOPS
|
|
POPUP "&Háttér"
|
|
BEGIN
|
|
MENUITEM "&Rendszer\tCtrl+1", ID_BACK_1
|
|
MENUITEM "&Sárgában kérem\tCtrl+2", ID_BACK_2
|
|
END
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About Wine Wordpad" ID_ABOUT
|
|
END
|
|
END
|
|
|
|
IDM_POPUP MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP ""
|
|
BEGIN
|
|
MENUITEM "Kiv&ágás\tCtrl+X", ID_EDIT_CUT
|
|
MENUITEM "Má&solás\tCtrl+C", ID_EDIT_COPY
|
|
MENUITEM "&Beillesztés\tCtrl+V", ID_EDIT_PASTE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Bullet points" ID_BULLET
|
|
MENUITEM "&Paragraph..." ID_PARAFORMAT
|
|
END
|
|
END
|
|
|
|
IDM_COLOR_POPUP MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP ""
|
|
BEGIN
|
|
MENUITEM "Black", ID_COLOR_BLACK
|
|
MENUITEM "Maroon", ID_COLOR_MAROON
|
|
MENUITEM "Green", ID_COLOR_GREEN
|
|
MENUITEM "Olive" ID_COLOR_OLIVE
|
|
MENUITEM "Navy" ID_COLOR_NAVY
|
|
MENUITEM "Purple" ID_COLOR_PURPLE
|
|
MENUITEM "Teal" ID_COLOR_TEAL
|
|
MENUITEM "Gray" ID_COLOR_GRAY
|
|
MENUITEM "Silver" ID_COLOR_SILVER
|
|
MENUITEM "Red" ID_COLOR_RED
|
|
MENUITEM "Lime" ID_COLOR_LIME
|
|
MENUITEM "Yellow" ID_COLOR_YELLOW
|
|
MENUITEM "Blue" ID_COLOR_BLUE
|
|
MENUITEM "Fuchsia" ID_COLOR_FUCHSIA
|
|
MENUITEM "Aqua" ID_COLOR_AQUA
|
|
MENUITEM "White" ID_COLOR_WHITE
|
|
MENUITEM "Automatic" ID_COLOR_AUTOMATIC
|
|
END
|
|
END
|
|
|
|
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Date and time"
|
|
FONT 10, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "Available formats",-1,3,2,100,15
|
|
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
|
|
PUSHBUTTON "&OK",IDOK,87,12,40,12
|
|
PUSHBUTTON "&Cancel",IDCANCEL,87,26,40,12
|
|
END
|
|
|
|
IDD_NEWFILE DIALOG DISCARDABLE 30, 20, 140, 80
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "New"
|
|
FONT 10, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "New document type",-1,3,2,100,15
|
|
LISTBOX IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
|
|
PUSHBUTTON "&OK",IDOK,97,12,40,12
|
|
PUSHBUTTON "&Cancel",IDCANCEL,97,26,40,12
|
|
END
|
|
|
|
IDD_PARAFORMAT DIALOG DISCARDABLE 30, 20, 200, 110
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
Caption "Paragraph format"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Indentation", -1, 10, 10, 120, 68
|
|
LTEXT "Left", -1, 15, 22, 40, 13
|
|
EDITTEXT IDC_PARA_LEFT, 55, 20, 60, 13
|
|
LTEXT "Right", -1, 15, 40, 40, 13
|
|
EDITTEXT IDC_PARA_RIGHT, 55, 38, 60, 13
|
|
LTEXT "First line", -1, 15, 58, 40, 13
|
|
EDITTEXT IDC_PARA_FIRST, 55, 56, 60, 13
|
|
LTEXT "Alignment", -1, 15, 87, 40, 13
|
|
COMBOBOX IDC_PARA_ALIGN, 55, 85, 60, 60, CBS_DROPDOWNLIST
|
|
PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 137, 33, 50, 15
|
|
END
|
|
|
|
IDD_TABSTOPS DIALOG DISCARDABLE 30, 20, 200, 110
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
Caption "Tabs"
|
|
FONT 8, "MS SHell DLg"
|
|
BEGIN
|
|
GROUPBOX "Tab stops", -1, 10, 10, 120, 90
|
|
COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
|
|
DEFPUSHBUTTON "&Add", ID_TAB_ADD, 20, 80, 45, 15
|
|
PUSHBUTTON "&Remove", ID_TAB_DEL, 72, 80, 45, 15
|
|
PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 137, 33, 50, 15
|
|
PUSHBUTTON "Remove al&l", ID_TAB_EMPTY, 137, 51, 50, 15
|
|
END
|
|
|
|
IDD_FORMATOPTS DIALOG DISCARDABLE 0, 0, 280, 110
|
|
STYLE DS_SYSMODAL
|
|
Caption ""
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Line wrapping", -1, 10, 10, 130, 85
|
|
RADIOBUTTON "No line wrapping", IDC_PAGEFMT_WN, 18, 25, 117, 15
|
|
RADIOBUTTON "Wrap text by the &window border", IDC_PAGEFMT_WW, 18, 45, 117, 15
|
|
RADIOBUTTON "Wrap text by the &margin", IDC_PAGEFMT_WM, 18, 65, 117, 15
|
|
GROUPBOX "Toolbars", -1, 150, 10, 120, 85
|
|
CHECKBOX "&Toolbar", IDC_PAGEFMT_TB, 160, 20, 80, 15
|
|
CHECKBOX "&Formatbar", IDC_PAGEFMT_FB, 160, 38, 80, 15
|
|
CHECKBOX "&Ruler", IDC_PAGEFMT_RU, 160, 56, 80, 15
|
|
CHECKBOX "&Statusbar", IDC_PAGEFMT_SB, 160, 74, 80, 15
|
|
LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_RICHTEXT_FILES_RTF, "Rich text format (*.rtf)"
|
|
STRING_TEXT_FILES_TXT, "Text documents (*.txt)"
|
|
STRING_TEXT_FILES_UNICODE_TXT, "Unicode text document (*.txt)"
|
|
STRING_ALL_FILES, "All documents (*.*)"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_ALIGN_LEFT, "Left"
|
|
STRING_ALIGN_RIGHT, "Right"
|
|
STRING_ALIGN_CENTER, "Center"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_NEWFILE_RICHTEXT, "Rich text document"
|
|
STRING_NEWFILE_TXT, "Text document"
|
|
STRING_NEWFILE_TXT_UNICODE, "Unicode text document"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_PRINTER_FILES_PRN, "Printer files (*.PRN)"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_VIEWPROPS_TITLE, "Options"
|
|
STRING_VIEWPROPS_TEXT, "Text"
|
|
STRING_VIEWPROPS_RICHTEXT, "Rich text"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_PREVIEW_PRINT, "Print"
|
|
STRING_PREVIEW_NEXTPAGE, "Next page"
|
|
STRING_PREVIEW_PREVPAGE, "Previous page"
|
|
STRING_PREVIEW_TWOPAGES, "Two pages"
|
|
STRING_PREVIEW_ONEPAGE, "One page"
|
|
STRING_PREVIEW_ZOOMIN, "Zoom in"
|
|
STRING_PREVIEW_ZOOMOUT, "Zoom out"
|
|
STRING_PREVIEW_CLOSE, "Close"
|
|
STRING_PREVIEW_PAGE, "Page"
|
|
STRING_PREVIEW_PAGES, "Pages"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_UNITS_CM, "cm"
|
|
END
|