Sweden-Number/programs/wordpad/wordpad.rc

210 lines
7.6 KiB
Plaintext

/*
* Copyright 2004 by Krzysztof Foltman
* Copyright 2007 by Alexander N. Sørnes <alex@thehandofagony.com>
*
* 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_ENGLISH, SUBLANG_DEFAULT
IDM_MAINMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New...\tCtrl+N", ID_FILE_NEW
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
MENUITEM "Save &as...", ID_FILE_SAVEAS
MENUITEM SEPARATOR
MENUITEM "&Print...\tCtrl+P", ID_PRINT
MENUITEM "Print previe&w", ID_PREVIEW
MENUITEM "Page Se&tup...", ID_PRINTSETUP
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_FILE_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM "R&edo\tCtrl+Y", ID_EDIT_REDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
MENUITEM "&Clear\tDEL", ID_EDIT_CLEAR
MENUITEM "&Select all\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 "Read-&only", ID_EDIT_READONLY
MENUITEM "&Modified", ID_EDIT_MODIFIED
MENUITEM SEPARATOR
POPUP "E&xtras"
BEGIN
MENUITEM "Selection &info", ID_EDIT_SELECTIONINFO
MENUITEM "Character &format", ID_EDIT_CHARFORMAT
MENUITEM "&Def. char format", ID_EDIT_DEFCHARFORMAT
MENUITEM "Paragrap&h format", ID_EDIT_PARAFORMAT
MENUITEM "&Get text", 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&ormat"
BEGIN
MENUITEM "&Font...", ID_FONTSETTINGS
MENUITEM "&Bullet points" ID_BULLET
MENUITEM "&Paragraph..." ID_PARAFORMAT
MENUITEM "&Tabs..." ID_TABSTOPS
POPUP "Backgroun&d"
BEGIN
MENUITEM "&System\tCtrl+1", ID_BACK_1
MENUITEM "&Pale yellow\tCtrl+2", ID_BACK_2
END
END
POPUP "&Help"
BEGIN
MENUITEM "&About Wine Wordpad" ID_ABOUT
END
END
IDM_POPUP MENU
BEGIN
POPUP ""
BEGIN
MENUITEM "Cu&t", ID_EDIT_CUT
MENUITEM "&Copy", ID_EDIT_COPY
MENUITEM "&Paste", ID_EDIT_PASTE
MENUITEM SEPARATOR
MENUITEM "&Bullet points" ID_BULLET
MENUITEM "&Paragraph..." ID_PARAFORMAT
END
END
IDM_COLOR_POPUP MENU
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
STRINGTABLE
BEGIN
STRING_ALL_FILES, "All documents (*.*)"
STRING_TEXT_FILES_TXT, "Text documents (*.txt)"
STRING_TEXT_FILES_UNICODE_TXT, "Unicode text document (*.txt)"
STRING_RICHTEXT_FILES_RTF, "Rich text format (*.rtf)"
STRING_NEWFILE_RICHTEXT, "Rich text document"
STRING_NEWFILE_TXT, "Text document"
STRING_NEWFILE_TXT_UNICODE, "Unicode text document"
STRING_PRINTER_FILES_PRN, "Printer files (*.prn)"
END
STRINGTABLE
BEGIN
STRING_ALIGN_LEFT, "Left"
STRING_ALIGN_RIGHT, "Right"
STRING_ALIGN_CENTER, "Center"
END
STRINGTABLE
BEGIN
STRING_VIEWPROPS_TITLE, "Options"
STRING_VIEWPROPS_TEXT, "Text"
STRING_VIEWPROPS_RICHTEXT, "Rich text"
END
STRINGTABLE
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"
STRING_UNITS_CM, "#msgctxt#unit: centimeter#cm"
STRING_UNITS_IN, "#msgctxt#unit: inch#in"
STRING_UNITS_INCH, "inch"
STRING_UNITS_PT, "#msgctxt#unit: point#pt"
END
STRINGTABLE
BEGIN
STRING_DEFAULT_FILENAME, "Document"
STRING_PROMPT_SAVE_CHANGES, "Save changes to '%s'?"
STRING_SEARCH_FINISHED, "Finished searching the document."
STRING_LOAD_RICHED_FAILED, "Failed to load the RichEdit library."
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?"
STRING_INVALID_NUMBER, "Invalid number format"
STRING_OLE_STORAGE_NOT_SUPPORTED, "OLE storage documents are not supported"
STRING_WRITE_FAILED, "Could not save the file."
STRING_WRITE_ACCESS_DENIED, "You do not have access to save the file."
STRING_OPEN_FAILED, "Could not open the file."
STRING_OPEN_ACCESS_DENIED, "You do not have access to open the file."
STRING_PRINTING_NOT_IMPLEMENTED, "Printing not implemented"
STRING_MAX_TAB_STOPS, "Cannot add more than 32 tab stops."
END
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: toolbar.bmp */
IDB_TOOLBAR BITMAP "toolbar.bmp"
/* @makedep: formatbar.bmp */
IDB_FORMATBAR BITMAP "formatbar.bmp"
/* @makedep: wordpad.ico */
IDI_WORDPAD ICON "wordpad.ico"
/* @makedep: zoom.cur */
IDC_ZOOM CURSOR "zoom.cur"