2006-02-17 11:37:51 +01:00
|
|
|
|
/*
|
|
|
|
|
* Copyright 2006 by Phil Krylov
|
|
|
|
|
*
|
|
|
|
|
* 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
|
2006-05-18 14:49:52 +02:00
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2006-02-17 11:37:51 +01:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
|
|
|
|
|
|
|
|
|
MAINMENU MENU DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
POPUP "&<26><><EFBFBD><EFBFBD>"
|
|
|
|
|
BEGIN
|
2006-07-12 14:08:47 +02:00
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD>&<26><><EFBFBD>\tCtrl+N", ID_FILE_NEW
|
2007-06-05 11:11:56 +02:00
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...\tCtrl+O",ID_FILE_OPEN
|
2006-07-12 14:08:47 +02:00
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+S", ID_FILE_SAVE
|
2007-05-31 15:38:51 +02:00
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &<26><><EFBFBD>...", ID_FILE_SAVEAS
|
2006-02-17 11:37:51 +01:00
|
|
|
|
MENUITEM SEPARATOR
|
2007-08-23 01:36:29 +02:00
|
|
|
|
MENUITEM "&Print . . .\tCtrl+P", ID_PRINT
|
2007-08-23 01:38:08 +02:00
|
|
|
|
MENUITEM "Pag&e setup . . .", ID_PRINTSETUP
|
2007-08-23 01:36:29 +02:00
|
|
|
|
MENUITEM SEPARATOR
|
2006-02-17 11:37:51 +01:00
|
|
|
|
MENUITEM "<22>&<26><><EFBFBD><EFBFBD>", ID_FILE_EXIT
|
|
|
|
|
END
|
|
|
|
|
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+Z", ID_EDIT_UNDO
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+Y", ID_EDIT_REDO
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>&<26><>\tCtrl+A", ID_EDIT_SELECTALL
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+X", ID_EDIT_CUT
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+C", ID_EDIT_COPY
|
2007-08-23 15:05:23 +02:00
|
|
|
|
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
|
2006-02-17 11:37:51 +01:00
|
|
|
|
MENUITEM SEPARATOR
|
2007-07-18 15:41:33 +02:00
|
|
|
|
MENUITEM "&Find . . .\tCrtl+F", ID_FIND
|
|
|
|
|
MENUITEM "Find &next\tF3", ID_FIND_NEXT
|
|
|
|
|
MENUITEM SEPARATOR
|
2006-02-17 11:37:51 +01:00
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_EDIT_READONLY
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_EDIT_MODIFIED
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
POPUP "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_EDIT_SELECTIONINFO
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_EDIT_CHARFORMAT
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &<26><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_EDIT_DEFCHARFORMAT
|
|
|
|
|
MENUITEM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>", ID_EDIT_PARAFORMAT
|
|
|
|
|
MENUITEM "<22>&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>", ID_EDIT_GETTEXT
|
|
|
|
|
END
|
|
|
|
|
END
|
2007-06-06 11:10:47 +02:00
|
|
|
|
POPUP "&View"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&Toolbar", ID_TOGGLE_TOOLBAR
|
2007-06-06 13:28:26 +02:00
|
|
|
|
MENUITEM "&Formatbar", ID_TOGGLE_FORMATBAR
|
2007-06-06 11:21:08 +02:00
|
|
|
|
MENUITEM "&Statusbar", ID_TOGGLE_STATUSBAR
|
2007-06-06 11:10:47 +02:00
|
|
|
|
END
|
2007-07-18 15:50:21 +02:00
|
|
|
|
POPUP "&Insert"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&Date and time . . .", ID_DATETIME
|
|
|
|
|
END
|
2006-02-17 11:37:51 +01:00
|
|
|
|
POPUP "<22><><EFBFBD>&<26><><EFBFBD>"
|
|
|
|
|
BEGIN
|
2007-07-20 18:38:08 +02:00
|
|
|
|
MENUITEM "B&ullet points" ID_BULLET
|
2007-08-23 01:15:17 +02:00
|
|
|
|
MENUITEM "&Paragraph . . ." ID_PARAFORMAT
|
2007-08-23 01:27:50 +02:00
|
|
|
|
MENUITEM "&Tabs . . ." ID_TABSTOPS
|
2006-02-17 11:37:51 +01:00
|
|
|
|
POPUP "&<26><><EFBFBD>"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+1", ID_BACK_1
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> PostThat\tCtrl+2", ID_BACK_2
|
|
|
|
|
END
|
|
|
|
|
END
|
|
|
|
|
END
|
2007-07-08 13:51:19 +02:00
|
|
|
|
|
2007-08-23 15:05:23 +02:00
|
|
|
|
IDM_POPUP MENU DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
POPUP ""
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+X", ID_EDIT_CUT
|
|
|
|
|
MENUITEM "&<26><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\tCtrl+C", ID_EDIT_COPY
|
|
|
|
|
MENUITEM "&Paste", ID_EDIT_PASTE
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "&Bullet points" ID_BULLET
|
|
|
|
|
MENUITEM "&Paragraph . . ." ID_PARAFORMAT
|
|
|
|
|
END
|
|
|
|
|
END
|
|
|
|
|
|
2007-07-18 15:50:21 +02:00
|
|
|
|
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",0,3,2,100,15
|
|
|
|
|
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT
|
|
|
|
|
PUSHBUTTON "&OK",IDOK,87,12,40,12
|
|
|
|
|
PUSHBUTTON "&Cancel",IDCANCEL,87,26,40,12
|
|
|
|
|
END
|
|
|
|
|
|
2007-07-18 22:27:15 +02:00
|
|
|
|
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",0,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
|
|
|
|
|
|
2007-08-23 01:15:17 +02:00
|
|
|
|
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", 0, 10, 10, 120, 68
|
|
|
|
|
LTEXT "Left", 0, 15, 22, 40, 13
|
|
|
|
|
EDITTEXT IDC_PARA_LEFT, 55, 20, 60, 13
|
|
|
|
|
LTEXT "Right", 0, 15, 40, 40, 13
|
|
|
|
|
EDITTEXT IDC_PARA_RIGHT, 55, 38, 60, 13
|
|
|
|
|
LTEXT "First line", 0, 15, 58, 40, 13
|
|
|
|
|
EDITTEXT IDC_PARA_FIRST, 55, 56, 60, 13
|
|
|
|
|
LTEXT "Alignment", 0, 15, 87, 40, 13
|
|
|
|
|
COMBOBOX IDC_PARA_ALIGN, 55, 85, 60, 13, CBS_DROPDOWNLIST
|
|
|
|
|
PUSHBUTTON "&OK", IDOK, 137, 15, 50, 15
|
|
|
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 137, 33, 50, 15
|
|
|
|
|
END
|
|
|
|
|
|
2007-08-23 01:27:50 +02:00
|
|
|
|
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", 0, 10, 10, 120, 90
|
|
|
|
|
COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE | CBS_SORT
|
|
|
|
|
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
|
|
|
|
|
|
2007-07-18 15:50:21 +02:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
2007-07-18 21:59:24 +02:00
|
|
|
|
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 (*.*)"
|
2007-07-18 15:50:21 +02:00
|
|
|
|
END
|
|
|
|
|
|
2007-08-23 01:15:17 +02:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
STRING_ALIGN_LEFT, "Left"
|
|
|
|
|
STRING_ALIGN_RIGHT, "Right"
|
|
|
|
|
STRING_ALIGN_CENTER, "Center"
|
|
|
|
|
END
|
|
|
|
|
|
2007-07-18 22:27:15 +02:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
STRING_NEWFILE_RICHTEXT, "Rich text document"
|
|
|
|
|
STRING_NEWFILE_TXT, "Text document"
|
|
|
|
|
STRING_NEWFILE_TXT_UNICODE, "Unicode text document"
|
|
|
|
|
END
|
|
|
|
|
|
2007-08-23 01:15:17 +02:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
2007-08-23 01:36:29 +02:00
|
|
|
|
STRING_PRINTER_FILES_PRN, "Printer files (*.PRN)"
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
STRING_UNITS_CM, "cm"
|
2007-08-23 01:15:17 +02:00
|
|
|
|
END
|
|
|
|
|
|
2007-07-08 13:51:19 +02:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
STRING_DEFAULT_FILENAME, "Document"
|
|
|
|
|
STRING_PROMPT_SAVE_CHANGES, "Save changes to '%s'?"
|
2007-07-18 15:41:33 +02:00
|
|
|
|
STRING_SEARCH_FINISHED, "Finished searching the document."
|
2007-07-18 15:44:24 +02:00
|
|
|
|
STRING_LOAD_RICHED_FAILED, "Failed to load the RichEdit library."
|
2007-07-18 21:59:24 +02:00
|
|
|
|
STRING_SAVE_LOSEFORMATTING, "You have chosen to save in plain text format, " \
|
|
|
|
|
"which will cause all formatting to be lost. " \
|
|
|
|
|
"Are you sure that you wish to do this?"
|
2007-08-23 01:15:17 +02:00
|
|
|
|
STRING_INVALID_NUMBER, "Invalid number format"
|
2007-07-08 13:51:19 +02:00
|
|
|
|
END
|