wordpad.rc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. /*
  2. * Copyright 2004 by Krzysztof Foltman
  3. * Copyright 2007 by Alexander N. Sørnes <alex@thehandofagony.com>
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  18. */
  19. #include "wordpad.h"
  20. #pragma makedep po
  21. LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
  22. IDM_MAINMENU MENUEX
  23. BEGIN
  24. POPUP "&File"
  25. BEGIN
  26. MENUITEM "&New...\tCtrl+N", ID_FILE_NEW
  27. MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
  28. MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
  29. MENUITEM "Save &as...", ID_FILE_SAVEAS
  30. MENUITEM SEPARATOR
  31. MENUITEM "&Print...\tCtrl+P", ID_PRINT
  32. MENUITEM "Print previe&w", ID_PREVIEW
  33. MENUITEM "Page Se&tup...", ID_PRINTSETUP
  34. MENUITEM SEPARATOR
  35. MENUITEM "E&xit", ID_FILE_EXIT
  36. END
  37. POPUP "&Edit"
  38. BEGIN
  39. MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
  40. MENUITEM "R&edo\tCtrl+Y", ID_EDIT_REDO
  41. MENUITEM SEPARATOR
  42. MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
  43. MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
  44. MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
  45. MENUITEM "&Clear\tDel", ID_EDIT_CLEAR
  46. MENUITEM "&Select all\tCtrl+A", ID_EDIT_SELECTALL
  47. MENUITEM SEPARATOR
  48. MENUITEM "&Find...\tCtrl+F", ID_FIND
  49. MENUITEM "Find &next\tF3", ID_FIND_NEXT
  50. MENUITEM "&Replace...\tCtrl+H", ID_REPLACE
  51. MENUITEM SEPARATOR
  52. MENUITEM "Read-&only", ID_EDIT_READONLY
  53. MENUITEM "&Modified", ID_EDIT_MODIFIED
  54. MENUITEM SEPARATOR
  55. POPUP "E&xtras"
  56. BEGIN
  57. MENUITEM "Selection &info", ID_EDIT_SELECTIONINFO
  58. MENUITEM "Character &format", ID_EDIT_CHARFORMAT
  59. MENUITEM "&Def. char format", ID_EDIT_DEFCHARFORMAT
  60. MENUITEM "Paragrap&h format", ID_EDIT_PARAFORMAT
  61. MENUITEM "&Get text", ID_EDIT_GETTEXT
  62. END
  63. END
  64. POPUP "&View"
  65. BEGIN
  66. MENUITEM "&Toolbar", ID_TOGGLE_TOOLBAR
  67. MENUITEM "&Format Bar", ID_TOGGLE_FORMATBAR
  68. MENUITEM "&Ruler", ID_TOGGLE_RULER
  69. MENUITEM "&Status Bar", ID_TOGGLE_STATUSBAR
  70. MENUITEM SEPARATOR
  71. MENUITEM "&Options...", ID_VIEWPROPERTIES
  72. END
  73. POPUP "&Insert"
  74. BEGIN
  75. MENUITEM "&Date and time...", ID_DATETIME
  76. END
  77. POPUP "F&ormat"
  78. BEGIN
  79. MENUITEM "&Font...", ID_FONTSETTINGS
  80. POPUP "&Lists", ID_LISTMENU
  81. BEGIN
  82. MENUITEM "&Bullet points", ID_BULLET
  83. MENUITEM "Numbers", ID_NUMBERING
  84. MENUITEM "Letters - lower case", ID_LCLETTER
  85. MENUITEM "Letters - upper case", ID_UCLETTER
  86. MENUITEM "Roman numerals - lower case", ID_LCROMAN
  87. MENUITEM "Roman numerals - upper case", ID_UCROMAN
  88. END
  89. MENUITEM "&Paragraph...", ID_PARAFORMAT
  90. MENUITEM "&Tabs...", ID_TABSTOPS
  91. POPUP "Backgroun&d"
  92. BEGIN
  93. MENUITEM "&System\tCtrl+1", ID_BACK_1
  94. MENUITEM "&Pale yellow\tCtrl+2", ID_BACK_2
  95. END
  96. END
  97. POPUP "&Help"
  98. BEGIN
  99. MENUITEM "&About Wine Wordpad", ID_ABOUT
  100. END
  101. END
  102. IDM_POPUP MENU
  103. BEGIN
  104. POPUP ""
  105. BEGIN
  106. MENUITEM "Cu&t", ID_EDIT_CUT
  107. MENUITEM "&Copy", ID_EDIT_COPY
  108. MENUITEM "&Paste", ID_EDIT_PASTE
  109. MENUITEM SEPARATOR
  110. MENUITEM "&Bullet points", ID_BULLET
  111. MENUITEM "&Paragraph...", ID_PARAFORMAT
  112. END
  113. END
  114. IDM_COLOR_POPUP MENU
  115. BEGIN
  116. POPUP ""
  117. BEGIN
  118. MENUITEM "Black", ID_COLOR_BLACK
  119. MENUITEM "Maroon", ID_COLOR_MAROON
  120. MENUITEM "Green", ID_COLOR_GREEN
  121. MENUITEM "Olive", ID_COLOR_OLIVE
  122. MENUITEM "Navy", ID_COLOR_NAVY
  123. MENUITEM "Purple", ID_COLOR_PURPLE
  124. MENUITEM "Teal", ID_COLOR_TEAL
  125. MENUITEM "Gray", ID_COLOR_GRAY
  126. MENUITEM "Silver", ID_COLOR_SILVER
  127. MENUITEM "Red", ID_COLOR_RED
  128. MENUITEM "Lime", ID_COLOR_LIME
  129. MENUITEM "Yellow", ID_COLOR_YELLOW
  130. MENUITEM "Blue", ID_COLOR_BLUE
  131. MENUITEM "Fuchsia", ID_COLOR_FUCHSIA
  132. MENUITEM "Aqua", ID_COLOR_AQUA
  133. MENUITEM "White", ID_COLOR_WHITE
  134. MENUITEM "Automatic", ID_COLOR_AUTOMATIC
  135. END
  136. END
  137. STRINGTABLE
  138. BEGIN
  139. STRING_ALL_FILES, "All documents (*.*)"
  140. STRING_TEXT_FILES_TXT, "Text documents (*.txt)"
  141. STRING_TEXT_FILES_UNICODE_TXT, "Unicode text documents (*.txt)"
  142. STRING_RICHTEXT_FILES_RTF, "Rich text format (*.rtf)"
  143. STRING_NEWFILE_RICHTEXT, "Rich text document"
  144. STRING_NEWFILE_TXT, "Text document"
  145. STRING_NEWFILE_TXT_UNICODE, "Unicode text document"
  146. STRING_PRINTER_FILES_PRN, "Printer files (*.prn)"
  147. END
  148. STRINGTABLE
  149. BEGIN
  150. STRING_ALIGN_LEFT, "Left"
  151. STRING_ALIGN_RIGHT, "Right"
  152. STRING_ALIGN_CENTER, "Center"
  153. END
  154. STRINGTABLE
  155. BEGIN
  156. STRING_VIEWPROPS_TITLE, "Options"
  157. STRING_VIEWPROPS_TEXT, "Text"
  158. STRING_VIEWPROPS_RICHTEXT, "Rich text"
  159. END
  160. STRINGTABLE
  161. BEGIN
  162. STRING_PREVIEW_PRINT, "Print"
  163. STRING_PREVIEW_NEXTPAGE, "Next page"
  164. STRING_PREVIEW_PREVPAGE, "Previous page"
  165. STRING_PREVIEW_TWOPAGES, "Two pages"
  166. STRING_PREVIEW_ONEPAGE, "One page"
  167. STRING_PREVIEW_ZOOMIN, "Zoom in"
  168. STRING_PREVIEW_ZOOMOUT, "Zoom out"
  169. STRING_PREVIEW_CLOSE, "Close"
  170. STRING_PREVIEW_PAGE, "Page"
  171. STRING_PREVIEW_PAGES, "Pages"
  172. STRING_UNITS_CM, "#msgctxt#unit: centimeter#cm"
  173. STRING_UNITS_IN, "#msgctxt#unit: inch#in"
  174. STRING_UNITS_INCH, "inch"
  175. STRING_UNITS_PT, "#msgctxt#unit: point#pt"
  176. END
  177. STRINGTABLE
  178. BEGIN
  179. STRING_DEFAULT_FILENAME, "Document"
  180. STRING_PROMPT_SAVE_CHANGES, "Save changes to '%s'?"
  181. STRING_SEARCH_FINISHED, "Finished searching the document."
  182. STRING_LOAD_RICHED_FAILED, "Failed to load the RichEdit library."
  183. STRING_SAVE_LOSEFORMATTING, "You have chosen to save in plain text format, " \
  184. "which will cause all formatting to be lost. " \
  185. "Are you sure that you wish to do this?"
  186. STRING_INVALID_NUMBER, "Invalid number format."
  187. STRING_OLE_STORAGE_NOT_SUPPORTED, "OLE storage documents are not supported."
  188. STRING_WRITE_FAILED, "Could not save the file."
  189. STRING_WRITE_ACCESS_DENIED, "You do not have access to save the file."
  190. STRING_OPEN_FAILED, "Could not open the file."
  191. STRING_OPEN_ACCESS_DENIED, "You do not have access to open the file."
  192. STRING_PRINTING_NOT_IMPLEMENTED, "Printing not implemented."
  193. STRING_MAX_TAB_STOPS, "Cannot add more than 32 tab stops."
  194. END
  195. IDD_DATETIME DIALOG 30, 20, 130, 80
  196. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  197. CAPTION "Date and time"
  198. FONT 8, "MS Shell Dlg"
  199. BEGIN
  200. LTEXT "Available formats",-1,3,2,100,15
  201. LISTBOX IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
  202. DEFPUSHBUTTON "OK",IDOK,87,12,40,12
  203. PUSHBUTTON "Cancel",IDCANCEL,87,26,40,12
  204. END
  205. IDD_NEWFILE DIALOG 30, 20, 140, 80
  206. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  207. CAPTION "New"
  208. FONT 8, "MS Shell Dlg"
  209. BEGIN
  210. LTEXT "New document type",-1,3,2,100,15
  211. LISTBOX IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
  212. DEFPUSHBUTTON "OK",IDOK,97,12,40,12
  213. PUSHBUTTON "Cancel",IDCANCEL,97,26,40,12
  214. END
  215. IDD_PARAFORMAT DIALOG 30, 20, 220, 110
  216. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  217. CAPTION "Paragraph format"
  218. FONT 8, "MS Shell Dlg"
  219. BEGIN
  220. GROUPBOX "Indentation", -1, 10, 10, 140, 68
  221. LTEXT "Left", -1, 15, 22, 60, 13
  222. EDITTEXT IDC_PARA_LEFT, 75, 20, 65, 13
  223. LTEXT "Right", -1, 15, 40, 60, 13
  224. EDITTEXT IDC_PARA_RIGHT, 75, 38, 65, 13
  225. LTEXT "First line", -1, 15, 58, 60, 13
  226. EDITTEXT IDC_PARA_FIRST, 75, 56, 65, 13
  227. LTEXT "Alignment", -1, 15, 87, 60, 13
  228. COMBOBOX IDC_PARA_ALIGN, 75, 85, 65, 60, CBS_DROPDOWNLIST
  229. DEFPUSHBUTTON "OK", IDOK, 160, 15, 50, 15
  230. PUSHBUTTON "Cancel", IDCANCEL, 160, 33, 50, 15
  231. END
  232. IDD_TABSTOPS DIALOG 30, 20, 200, 110
  233. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  234. CAPTION "Tabs"
  235. FONT 8, "MS Shell Dlg"
  236. BEGIN
  237. GROUPBOX "Tab stops", -1, 10, 10, 120, 90
  238. COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
  239. DEFPUSHBUTTON "&Add", ID_TAB_ADD, 20, 80, 45, 15
  240. PUSHBUTTON "&Remove", ID_TAB_DEL, 72, 80, 45, 15
  241. PUSHBUTTON "OK", IDOK, 135, 15, 58, 15
  242. PUSHBUTTON "Cancel", IDCANCEL, 135, 33, 58, 15
  243. PUSHBUTTON "Remove al&l", ID_TAB_EMPTY, 135, 51, 58, 15
  244. END
  245. IDD_FORMATOPTS DIALOG 0, 0, 280, 110
  246. STYLE DS_SYSMODAL
  247. CAPTION ""
  248. FONT 8, "MS Shell Dlg"
  249. BEGIN
  250. GROUPBOX "Line wrapping", -1, 5, 10, 145, 85
  251. RADIOBUTTON "&No line wrapping", IDC_PAGEFMT_WN, 10, 25, 138, 15
  252. RADIOBUTTON "Wrap text by the &window border", IDC_PAGEFMT_WW, 10, 45, 138, 15
  253. RADIOBUTTON "Wrap text by the &margin", IDC_PAGEFMT_WM, 10, 65, 138, 15
  254. GROUPBOX "Toolbars", -1, 155, 10, 115, 85
  255. CHECKBOX "&Toolbar", IDC_PAGEFMT_TB, 165, 20, 80, 15
  256. CHECKBOX "&Format Bar", IDC_PAGEFMT_FB, 165, 38, 80, 15
  257. CHECKBOX "&Ruler", IDC_PAGEFMT_RU, 165, 56, 80, 15
  258. CHECKBOX "&Status Bar", IDC_PAGEFMT_SB, 165, 74, 80, 15
  259. LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
  260. END
  261. MAINACCELTABLE ACCELERATORS
  262. BEGIN
  263. "1", ID_BACK_1, VIRTKEY, CONTROL
  264. "2", ID_BACK_2, VIRTKEY, CONTROL
  265. VK_F3, ID_FIND_NEXT, VIRTKEY
  266. "#msgctxt#accelerator Align Left#L", ID_ALIGN_LEFT, VIRTKEY, CONTROL
  267. "#msgctxt#accelerator Align Center#E", ID_ALIGN_CENTER, VIRTKEY, CONTROL
  268. "#msgctxt#accelerator Align Right#R", ID_ALIGN_RIGHT, VIRTKEY, CONTROL
  269. "#msgctxt#accelerator Find#F", ID_FIND, VIRTKEY, CONTROL
  270. "#msgctxt#accelerator Replace#H", ID_REPLACE, VIRTKEY, CONTROL
  271. "#msgctxt#accelerator Select All#A", ID_EDIT_SELECTALL, VIRTKEY, CONTROL
  272. "#msgctxt#accelerator Cut#X", ID_EDIT_CUT, VIRTKEY, CONTROL
  273. "#msgctxt#accelerator Copy#C", ID_EDIT_COPY, VIRTKEY, CONTROL
  274. "#msgctxt#accelerator Undo#Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
  275. "#msgctxt#accelerator Redo#Y", ID_EDIT_REDO, VIRTKEY, CONTROL
  276. "#msgctxt#accelerator Bold#B", ID_FORMAT_BOLD, VIRTKEY, CONTROL
  277. "#msgctxt#accelerator Italic#I", ID_FORMAT_ITALIC, VIRTKEY, CONTROL
  278. "#msgctxt#accelerator Underline#U", ID_FORMAT_UNDERLINE, VIRTKEY, CONTROL
  279. "#msgctxt#accelerator New#N", ID_FILE_NEW, VIRTKEY, CONTROL
  280. "#msgctxt#accelerator Open#O", ID_FILE_OPEN, VIRTKEY, CONTROL
  281. "#msgctxt#accelerator Save#S", ID_FILE_SAVE, VIRTKEY, CONTROL
  282. "#msgctxt#accelerator Print#P", ID_PRINT, VIRTKEY, CONTROL
  283. END
  284. LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
  285. /* @makedep: wordpad.manifest */
  286. 1 RT_MANIFEST wordpad.manifest
  287. /* @makedep: toolbar.bmp */
  288. IDB_TOOLBAR BITMAP "toolbar.bmp"
  289. /* @makedep: formatbar.bmp */
  290. IDB_FORMATBAR BITMAP "formatbar.bmp"
  291. /* @makedep: wordpad.ico */
  292. IDI_WORDPAD ICON "wordpad.ico"
  293. /* @makedep: zoom.cur */
  294. IDC_ZOOM CURSOR "zoom.cur"