mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
d0927f63aa
The combobox to select the alignment in the paragraph format dialog did not have enough height to display the dropdown list. Also, code was missing to set the alignment when OK button is pressed. This patch fixes these issues.
237 lines
8.5 KiB
Text
237 lines
8.5 KiB
Text
/*
|
|
* 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
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
|
|
|
IDM_MAINMENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&Ôàéë"
|
|
BEGIN
|
|
MENUITEM "Ñîçä&àòü...\tCtrl+N",ID_FILE_NEW
|
|
MENUITEM "&Îòêðûòü...\tCtrl+O",ID_FILE_OPEN
|
|
MENUITEM "&Ñîõðàíèòü\tCtrl+S", ID_FILE_SAVE
|
|
MENUITEM "Ñîõðàíèòü &êàê...", ID_FILE_SAVEAS
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Ïå÷àòü...\tCtrl+P", ID_PRINT
|
|
MENUITEM "Ïðåä&âàðèòåëüíûé ïðîñìîòð...", ID_PREVIEW
|
|
MENUITEM "&Ìàêåò ñòðàíèöû...", ID_PRINTSETUP
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "Â&ûõîä", ID_FILE_EXIT
|
|
END
|
|
POPUP "&Ïðàâêà"
|
|
BEGIN
|
|
MENUITEM "&Îòìåíèòü\tCtrl+Z", ID_EDIT_UNDO
|
|
MENUITEM "&Ïîâòîðèòü\tCtrl+Y", ID_EDIT_REDO
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Âûðåçàòü\tCtrl+X", ID_EDIT_CUT
|
|
MENUITEM "&Êîïèðîâàòü\tCtrl+C", ID_EDIT_COPY
|
|
MENUITEM "&Âñòàâèòü\tCtrl+V", ID_EDIT_PASTE
|
|
MENUITEM "&Óäàëèòü\tDEL", ID_EDIT_CLEAR
|
|
MENUITEM "Âûäåëèòü â&ñå\tCtrl+A", ID_EDIT_SELECTALL
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Íàéòè...\tCrtl+F", ID_FIND
|
|
MENUITEM "Íà&éòè äàëåå\tF3", ID_FIND_NEXT
|
|
MENUITEM "&Çàìåíèòü...\tCtrl+H", ID_REPLACE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Òîëüêî äëÿ ÷òåíèÿ", ID_EDIT_READONLY
|
|
MENUITEM "&Èçìåíåí", ID_EDIT_MODIFIED
|
|
MENUITEM SEPARATOR
|
|
POPUP "&Äîïîëíèòåëüíî"
|
|
BEGIN
|
|
MENUITEM "&Èíôîðìàöèÿ î âûäåëåíèè", ID_EDIT_SELECTIONINFO
|
|
MENUITEM "&Ôîðìàò ñèìâîëîâ", ID_EDIT_CHARFORMAT
|
|
MENUITEM "Ôîðìàò ñèìâîëîâ &ïî óìîë÷àíèþ", ID_EDIT_DEFCHARFORMAT
|
|
MENUITEM "Ôîðìàò &àáçàöà", ID_EDIT_PARAFORMAT
|
|
MENUITEM "Ï&îëó÷èòü òåêñò", ID_EDIT_GETTEXT
|
|
END
|
|
END
|
|
POPUP "&Âèä"
|
|
BEGIN
|
|
MENUITEM "Ïàíåëü &èíñòðóìåíòîâ", ID_TOGGLE_TOOLBAR
|
|
MENUITEM "Ï&àíåëü ôîðìàòèðîâàíèÿ", ID_TOGGLE_FORMATBAR
|
|
MENUITEM "&Ëèíåéêà", ID_TOGGLE_RULER
|
|
MENUITEM "&Ñòðîêà ñîñòîÿíèÿ", ID_TOGGLE_STATUSBAR
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Ïàðàìåòðû...", ID_VIEWPROPERTIES
|
|
END
|
|
POPUP "Âñò&àâêà"
|
|
BEGIN
|
|
MENUITEM "&Äàòà è âðåìÿ...", ID_DATETIME
|
|
END
|
|
POPUP "Ôîð&ìàò"
|
|
BEGIN
|
|
MENUITEM "&Øðèôò...", ID_FONTSETTINGS
|
|
MENUITEM "&Ìàðêåð" ID_BULLET
|
|
MENUITEM "&Àáçàö..." ID_PARAFORMAT
|
|
MENUITEM "&Òàáóëÿöèÿ..." ID_TABSTOPS
|
|
POPUP "&Ôîí"
|
|
BEGIN
|
|
MENUITEM "&Ñèñòåìíûé\tCtrl+1", ID_BACK_1
|
|
MENUITEM "&Æåëòîâàòûé PostThat\tCtrl+2", ID_BACK_2
|
|
END
|
|
END
|
|
POPUP "&Ñïðàâêà"
|
|
BEGIN
|
|
MENUITEM "&Î Wine Wordpad" ID_ABOUT
|
|
END
|
|
END
|
|
|
|
IDM_POPUP MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP ""
|
|
BEGIN
|
|
MENUITEM "&Âûðåçàòü\tCtrl+X", ID_EDIT_CUT
|
|
MENUITEM "&Êîïèðîâàòü\tCtrl+C", ID_EDIT_COPY
|
|
MENUITEM "Âñò&àâèòü", ID_EDIT_PASTE
|
|
MENUITEM SEPARATOR
|
|
MENUITEM "&Ìàðêåð" ID_BULLET
|
|
MENUITEM "&Àáçàö..." ID_PARAFORMAT
|
|
END
|
|
END
|
|
|
|
IDD_DATETIME DIALOG DISCARDABLE 30, 20, 130, 80
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Äàòà è âðåìÿ"
|
|
FONT 10, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "Äîñòóïíûå ôîðìàòû",0,3,2,100,15
|
|
LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT
|
|
PUSHBUTTON "&ÎÊ",IDOK,87,12,40,12
|
|
PUSHBUTTON "Î&òìåíà",IDCANCEL,87,26,40,12
|
|
END
|
|
|
|
IDD_NEWFILE DIALOG DISCARDABLE 30, 20, 140, 80
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Íîâûé äîêóìåíò"
|
|
FONT 10, "MS Sans Serif"
|
|
BEGIN
|
|
LTEXT "Òèï ñîçäàâàåìîãî äîêóìåíòà",0,3,2,100,15
|
|
LISTBOX IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
|
|
PUSHBUTTON "&ÎÊ",IDOK,97,12,40,12
|
|
PUSHBUTTON "Î&òìåíà",IDCANCEL,97,26,40,12
|
|
END
|
|
|
|
IDD_PARAFORMAT DIALOG DISCARDABLE 30, 20, 200, 110
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
Caption "Àáçàö"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Îòñòóï", 0, 10, 10, 120, 68
|
|
LTEXT "Ñëåâà", 0, 15, 22, 40, 13
|
|
EDITTEXT IDC_PARA_LEFT, 55, 20, 60, 13
|
|
LTEXT "Ñïðàâà", 0, 15, 40, 40, 13
|
|
EDITTEXT IDC_PARA_RIGHT, 55, 38, 60, 13
|
|
LTEXT "Ïåðâàÿ ñòðîêà", 0, 15, 58, 40, 13
|
|
EDITTEXT IDC_PARA_FIRST, 55, 56, 60, 13
|
|
LTEXT "Âûðàâíèâàíèå", 0, 15, 87, 40, 13
|
|
COMBOBOX IDC_PARA_ALIGN, 55, 85, 60, 60, CBS_DROPDOWNLIST
|
|
PUSHBUTTON "&ÎÊ", IDOK, 137, 15, 50, 15
|
|
PUSHBUTTON "Î&òìåíà", IDCANCEL, 137, 33, 50, 15
|
|
END
|
|
|
|
IDD_TABSTOPS DIALOG DISCARDABLE 30, 20, 200, 110
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
Caption "Òàáóëÿöèÿ"
|
|
FONT 8, "MS SHell DLg"
|
|
BEGIN
|
|
GROUPBOX "Ïîçèöèè òàáóëÿöèè", 0, 10, 10, 120, 90
|
|
COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE | CBS_SORT
|
|
DEFPUSHBUTTON "&Óñòàíîâèòü", ID_TAB_ADD, 20, 80, 45, 15
|
|
PUSHBUTTON "Î&÷èñòèòü", ID_TAB_DEL, 72, 80, 45, 15
|
|
PUSHBUTTON "&ÎÊ", IDOK, 137, 15, 50, 15
|
|
PUSHBUTTON "Î&òìåíà", IDCANCEL, 137, 33, 50, 15
|
|
PUSHBUTTON "Î÷èñòèòü &âñå", 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 "Ïåðåíîñ ïî ñëîâàì", 0, 10, 10, 130, 85
|
|
RADIOBUTTON "Â ãðàíèöàõ &îêíà", IDC_PAGEFMT_WW, 18, 25, 117, 15
|
|
RADIOBUTTON "Â ãðàíèöàõ &ïîëåé", IDC_PAGEFMT_WM, 18, 45, 117, 15
|
|
GROUPBOX "Ïàíåëè", 0, 150, 10, 120, 85
|
|
CHECKBOX "&Èíñòðóìåíòîâ", IDC_PAGEFMT_TB, 160, 20, 80, 15
|
|
CHECKBOX "&Ôîðìàòèðîâàíèÿ", IDC_PAGEFMT_FB, 160, 38, 80, 15
|
|
CHECKBOX "&Ëèíåéêà", IDC_PAGEFMT_RU, 160, 56, 80, 15
|
|
CHECKBOX "&Ñòðîêà ñîñòîÿíèÿ", IDC_PAGEFMT_SB, 160, 74, 80, 15
|
|
LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_RICHTEXT_FILES_RTF, "Ôàéëû RTF (*.rtf)"
|
|
STRING_TEXT_FILES_TXT, "Òåêñòîâûå äîêóìåíòû (*.txt)"
|
|
STRING_TEXT_FILES_UNICODE_TXT, "Äîêóìåíòû Unicode (*.txt)"
|
|
STRING_ALL_FILES, "Âñå äîêóìåíòû (*.*)"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_ALIGN_LEFT, "Ïî ëåâîìó êðàþ"
|
|
STRING_ALIGN_RIGHT, "Ïî ïðàâîìó êðàþ"
|
|
STRING_ALIGN_CENTER, "Ïî öåíòðó"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_NEWFILE_RICHTEXT, "Ôàéë RTF"
|
|
STRING_NEWFILE_TXT, "Òåêñòîâûé äîêóìåíò"
|
|
STRING_NEWFILE_TXT_UNICODE, "Äîêóìåíò â ôîðìàòå Unicode"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_PRINTER_FILES_PRN, "Ôàéëû ïðèíòåðà (*.PRN)"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_VIEWPROPS_TITLE, "Íàñòðîéêè"
|
|
STRING_VIEWPROPS_TEXT, "Òåêñò"
|
|
STRING_VIEWPROPS_RICHTEXT, "Ôàéë RTF"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_PREVIEW_PRINT, "Ïå÷àòü"
|
|
STRING_PREVIEW_NEXTPAGE, "Ñëåäóþùàÿ ñòðàíèöà"
|
|
STRING_PREVIEW_PREVPAGE, "Ïðåäûäóùàÿ ñòðàíèöà"
|
|
STRING_PREVIEW_TWOPAGES, "Two pages"
|
|
STRING_PREVIEW_ONEPAGE, "One page"
|
|
STRING_PREVIEW_CLOSE, "Çàêðûòü"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_UNITS_CM, "ñì"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
STRING_DEFAULT_FILENAME, "Document"
|
|
STRING_PROMPT_SAVE_CHANGES, "Ñîõðàíèòü èçìåíåíèÿ â '%s'?"
|
|
STRING_SEARCH_FINISHED, "Ïîèñê â äîêóìåíòå çàâåðøåí."
|
|
STRING_LOAD_RICHED_FAILED, "Îøèáêà çàãðóçêè áèáëèîòåêè RichEdit."
|
|
STRING_SAVE_LOSEFORMATTING, "Ñîõðàíåíèå äîêóìåíòà â âèäå íåôîðìàòèðîâàííîãî òåêñòà, " \
|
|
"ïðèâåäåò ê ïîòåðå ôîðìàòèðîâàíèÿ. Ïîäòâåðæäàåòå âûïîëíåíèå" \
|
|
"ýòîé îïåðàöèè?"
|
|
STRING_INVALID_NUMBER, "Íåïðàâèëüíûé ÷èñëîâîé ôîðìàò"
|
|
STRING_OLE_STORAGE_NOT_SUPPORTED, "OLE storage äîêóìåíòû íå ïîääåðæèâàþòñÿ"
|
|
END
|