Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

243 lines
10 KiB

  1. // WARNING
  2. // localizable resources only
  3. // non-localizable resources must go in occache.rc
  4. #include <windows.h>
  5. #include "resource.h"
  6. #include "occache.rcv"
  7. /////////////////////////////////////////////////////////////////////////////
  8. //
  9. // Menu
  10. //
  11. IDR_POPUP_CONTROLCONTEXT MENU DISCARDABLE
  12. BEGIN
  13. POPUP ""
  14. BEGIN
  15. MENUITEM "&Update", IDM_CTRL_UPDATE
  16. MENUITEM SEPARATOR
  17. MENUITEM "Re&move", IDM_CTRL_REMOVECONTROL
  18. MENUITEM SEPARATOR
  19. MENUITEM "P&roperties", IDM_CTRL_PROPERTIES
  20. END
  21. END
  22. IDR_POPUP_CONTROLCONTEXT_NO_UPDATE MENU DISCARDABLE
  23. BEGIN
  24. POPUP ""
  25. BEGIN
  26. MENUITEM "Re&move", IDM_CTRL_REMOVECONTROL
  27. MENUITEM SEPARATOR
  28. MENUITEM "P&roperties", IDM_CTRL_PROPERTIES
  29. END
  30. END
  31. IDR_CONTROLFOLDER MENU DISCARDABLE
  32. BEGIN
  33. POPUP ""
  34. BEGIN
  35. MENUITEM "by &Name", IDM_SORTBYNAME
  36. MENUITEM "by &Status", IDM_SORTBYSTATUS
  37. MENUITEM "by &Total Size", IDM_SORTBYTOTALSIZE
  38. MENUITEM "by &Creation", IDM_SORTBYCREATION
  39. MENUITEM "by &Last Access", IDM_SORTBYLASTACCESS
  40. MENUITEM "by &Version", IDM_SORTBYVERSION
  41. END
  42. END
  43. IDR_FILE_MERGE MENU DISCARDABLE
  44. BEGIN
  45. POPUP ""
  46. BEGIN
  47. MENUITEM "Re&move Program File", IDM_CTRL_REMOVECONTROL
  48. MENUITEM "Show All Files", IDM_CTRL_SHOWALL
  49. END
  50. END
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Dialog
  54. //
  55. IDD_PROP_DEPENDENCY DIALOG DISCARDABLE 0, 0, 282, 183
  56. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  57. CAPTION "Dependency"
  58. FONT 8, "MS Shell Dlg"
  59. BEGIN
  60. CONTROL "List2",IDC_DEPENDENCYLIST,"SysListView32",LVS_REPORT |
  61. LVS_SINGLESEL | LVS_SORTASCENDING | LVS_ALIGNLEFT |
  62. WS_BORDER | WS_TABSTOP,15,57,250,58
  63. LTEXT "",IDC_STATIC_DESCRIPTION,66,18,184,22
  64. CONTROL "",IDC_STATIC_SEPARATOR,"Static",SS_ETCHEDHORZ,15,49,250,
  65. 1
  66. ICON 102,IDC_STATIC_ICON,30,18,20,20
  67. CONTROL "List2",IDC_PACKAGELIST,"SysListView32",LVS_REPORT |
  68. LVS_SINGLESEL | LVS_SORTASCENDING | LVS_ALIGNLEFT |
  69. WS_BORDER | WS_TABSTOP,15,120,250,58
  70. END
  71. IDD_PROP_GENERAL DIALOG DISCARDABLE 0, 0, 282, 183
  72. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  73. CAPTION "General"
  74. FONT 8, "MS Shell Dlg"
  75. BEGIN
  76. ICON 102,IDC_STATIC_ICON,30,18,20,20
  77. LTEXT "<unknown>",IDC_STATIC_CONTROL,90,21,165,10
  78. CONTROL "",IDC_STATIC_CONTROLNAME,"Static",SS_ETCHEDHORZ,25,42,
  79. 230,1
  80. LTEXT "Created:",IDC_STATIC_LABEL_CREATION,30,66,48,8
  81. LTEXT "Last Accessed:",IDC_STATIC_LABEL_LASTACCESS,30,81,50,8
  82. LTEXT "Total Size:",IDC_STATIC_LABEL_TOTALSIZE,30,96,48,8
  83. LTEXT "ID:",IDC_STATIC_LABEL_CLSID,30,111,39,8
  84. LTEXT "Status:",IDC_STATIC_LABEL_STATUS,30,126,32,8
  85. LTEXT "CodeBase:",IDC_STATIC_LABEL_CODEBASE,30,141,39,8
  86. LTEXT "<unknown>",IDC_STATIC_TYPE,90,50,155,8
  87. LTEXT "<unknown>",IDC_STATIC_LASTACCESS,90,81,155,8
  88. LTEXT "<unknown>",IDC_STATIC_STATUS,90,126,155,8
  89. LTEXT "<unknown>",IDC_STATIC_TOTALSIZE,90,96,155,8
  90. EDITTEXT IDC_STATIC_CLSID,90,111,155,12,ES_AUTOHSCROLL |
  91. ES_READONLY | NOT WS_BORDER
  92. LTEXT "<unknown>",IDC_STATIC_CREATION,90,66,155,8
  93. LTEXT "Type:",IDC_STATIC_LABEL_TYPE,30,50,48,8
  94. CONTROL "",IDC_STATIC_CONTROLNAME,"Static",SS_ETCHEDHORZ,25,161,
  95. 230,1
  96. EDITTEXT IDC_STATIC_CODEBASE,90,141,155,12,ES_MULTILINE |
  97. ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER
  98. END
  99. IDD_PROP_UPDATE DIALOG DISCARDABLE 0, 0, 282, 183
  100. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION
  101. CAPTION "Scheduling"
  102. FONT 8, "MS Shell Dlg"
  103. BEGIN
  104. CONTROL "&Never update program file",IDC_CHECK_NEVERUPDATE,
  105. "Button",BS_AUTORADIOBUTTON | WS_TABSTOP,30,59,101,15
  106. CONTROL "&Update program file periodically every ",
  107. IDC_CHECK_UPDATEPERIODICALLY,"Button",BS_AUTORADIOBUTTON |
  108. WS_TABSTOP,30,80,119,15
  109. EDITTEXT IDC_EDIT_UPDATEINTERVAL,150,81,29,13,ES_NUMBER
  110. LTEXT "minutes",IDC_STATIC_TIMELABEL,182,83,30,11
  111. LTEXT "",IDC_STATIC_DESCRIPTION,66,18,179,22
  112. ICON 102,IDC_STATIC_ICON,30,18,20,20
  113. CONTROL "",IDC_STATIC_SEPARATOR,"Static",SS_ETCHEDHORZ,15,49,245,
  114. 1
  115. PUSHBUTTON "Update Now",IDC_BUTTON_UPDATENOW,200,105,57,15
  116. END
  117. IDD_PROP_VERSION DIALOG DISCARDABLE 0, 0, 282, 183
  118. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  119. CAPTION "Version"
  120. FONT 8, "MS Shell Dlg"
  121. BEGIN
  122. LTEXT "Version:",IDC_STATIC_VER_LABEL_VERSION,30,60,28,8
  123. LTEXT "<unknown>",IDC_STATIC_VER_VERSION,84,60,171,8
  124. LTEXT "Description:",IDC_STATIC_VER_LABEL_DESCRIPTION,30,78,48,
  125. 8
  126. LTEXT "Company :",IDC_STATIC_VER_LABEL_COMPANY,30,96,48,8
  127. LTEXT "Language:",IDC_STATIC_VER_LABEL_LANGUAGE,30,114,48,8
  128. LTEXT "Copyright:",IDC_STATIC_VER_LABEL_COPYRIGHT,30,132,48,8
  129. ICON 102,IDC_STATIC_ICON,30,18,20,20
  130. LTEXT "<unknown>",IDC_STATIC_VER_DESCRIPTION,84,78,171,8
  131. LTEXT "<unknown>",IDC_STATIC_VER_COMPANY,84,96,171,8
  132. LTEXT "<unknown>",IDC_STATIC_VER_LANGUAGE,84,114,171,8
  133. LTEXT "<unknown>",IDC_STATIC_VER_COPYRIGHT,84,132,171,27
  134. LTEXT "<unknown>",IDC_STATIC_VER_HEADING,66,18,153,22
  135. CONTROL "",IDC_STATIC_SEPARATOR,"Static",SS_ETCHEDHORZ,24,49,236,
  136. 1
  137. END
  138. /*
  139. IDD_PROP_EXPIRE DIALOG DISCARDABLE 0, 0, 177, 49
  140. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  141. CAPTION "Properties"
  142. FONT 8, "MS Shell Dlg"
  143. BEGIN
  144. LTEXT "&Downloaded controls expire in: ",IDC_STATIC_EXPIRE,7,10,100,8
  145. EDITTEXT IDC_EDIT_EXPIRE,110,7,40,14,ES_RIGHT | ES_AUTOHSCROLL |
  146. ES_NUMBER | WS_GROUP
  147. CONTROL "Spin1",IDC_SPIN_EXPIRE,"msctls_updown32",UDS_SETBUDDYINT |
  148. UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS |
  149. WS_GROUP,140,7,10,14
  150. LTEXT "days",IDC_STATIC_EXPIRE_DAYS,154,10,16,8
  151. DEFPUSHBUTTON "OK",IDOK,36,28,50,14,WS_GROUP
  152. PUSHBUTTON "Cancel",IDCANCEL,90,28,50,14
  153. END
  154. */
  155. #include ".\res\ocupdate.dlg"
  156. /////////////////////////////////////////////////////////////////////////////
  157. //
  158. // String Table
  159. //
  160. STRINGTABLE DISCARDABLE
  161. BEGIN
  162. IDS_HELP_SORTBYTOTALSIZE "Sorts items by total size of dependent files."
  163. IDS_HELP_SORTBYCREATION "Sorts items by creation time."
  164. IDS_HELP_SORTBYLASTACCESS "Sorts items by last accessed time."
  165. IDS_HELP_SORTBYVERSION "Sorts items by version."
  166. IDS_MSG_SCHEDULING "Select how often you would like %s to be updated."
  167. IDS_VERSION_PAGE_HEADER "This page lists the version information about %s."
  168. IDS_HELP_UPDATE "Updates the program files"
  169. IDS_CONTROL_INUSE "These program files are currently being used by one or more programs.\nPlease close some programs, and try again.\n You may need to restart Windows."
  170. IDS_LISTTITLE_PACKAGENAME "Package name"
  171. IDS_ERROR_NOUNINSTALLACTION
  172. "There is not enough information available to completely remove %s.\nPlease check the Add/Remove Programs Control Panel for more removal options."
  173. IDS_MBTITLE_NOUNINSTALLACTION "Incomplete Removal"
  174. IDS_STATUS_UNPLUGGED "Unplugged"
  175. IDS_UPDATE_CAPTION "Updating "
  176. IDS_WARNING_USERNOACCESS "The current user account is not authorized to remove items from this folder.\nPlease consult this computer's administrator."
  177. IDS_LISTTITLE_NAMESPACE "Namespace"
  178. END
  179. STRINGTABLE DISCARDABLE
  180. BEGIN
  181. IDS_COL_CONTROL "Program File"
  182. IDS_COL_STATUS "Status"
  183. IDS_COL_TOTALSIZE "Total Size"
  184. IDS_COL_CREATION "Creation Date"
  185. IDS_COL_LASTACCESS "Last Accessed"
  186. IDS_COL_VERSION "Version"
  187. IDS_UNKNOWNDATA "None"
  188. IDS_STATUS_INSTALLED "Installed"
  189. IDS_STATUS_SHARED "Shared"
  190. IDS_STATUS_DAMAGED "Damaged"
  191. IDS_STATUS_UNKNOWN "Unknown"
  192. IDS_MBTITLE_REMOVECONTROL "Remove Program File"
  193. IDS_MBTITLE_SHARED "Not Safe For Removal"
  194. IDS_MBTITLE_SHAREVIOLATION "Share Violation"
  195. END
  196. STRINGTABLE DISCARDABLE
  197. BEGIN
  198. IDS_MBTITLE_REMOVEFAIL "Error"
  199. IDS_WARNING_SINGLEREMOVAL "%s will be removed permanently.\nAre you sure?"
  200. IDS_WARNING_MULTIPLEREMOVAL
  201. "All selected program files will be removed permanently.\nAre you sure?"
  202. IDS_WARNING_SHARED "%s is potentially shared by other applications.\nProceed?"
  203. IDS_ERROR_REMOVEFAIL "Fail to remove %s."
  204. IDS_MSG_DEPENDENCY "This page lists the %1!i! file(s) and %2!i! Java packages upon which %3!s! depends."
  205. IDS_LISTTITLE_FILENAME "File name"
  206. IDS_LISTTITLE_FILESIZE "Size (bytes)"
  207. IDS_EXTENSION_INF "INF"
  208. IDS_HELP_VIEWCONTROL "Opens the selected items."
  209. IDS_HELP_REMOVECONTROL "Deletes the selected items."
  210. IDS_HELP_PROPERTIES "Displays the properties of the selected items."
  211. IDS_HELP_SORTBYNAME "Sorts items alphabetically by name."
  212. IDS_HELP_SORTBYSTATUS "Sorts items by status."
  213. IDS_PROPERTY_TYPE_ACTX "ActiveX Control"
  214. IDS_PROPERTY_TYPE_JAVA "Java"
  215. IDS_PROPERTY_TYPE_MIXED "Mixed ActiveX and Java"
  216. END
  217. STRINGTABLE DISCARDABLE
  218. BEGIN
  219. IDS_OCCACHE_WARNING_DEPENDENCY_REMOVAL "The program file %s is dependent on this control. Continue anyway?"
  220. IDS_OCCACHE_WARNING_DEP_REMOVAL_NAME_UNKNOWN "The program file is dependent on another control. Continue anyway?"
  221. IDS_OCCACHE_WARNING_JAVA_SYSTEM_CLASS "This component contains a Java system class. Continue anyway?"
  222. IDS_REMOVAL_WARNING "Removal Warning"
  223. IDS_PROPERTY_BYTES "bytes"
  224. IDS_KILOBYTE_ABBREV " KB"
  225. END