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.

215 lines
10 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 2000.
  5. //
  6. // File: Strings.cxx
  7. //
  8. // Contents: Localizable string resources.
  9. //
  10. // History: 26-Jan-1998 KyleP Added header
  11. // 20-Jan-1999 SLarimor Modified rescan interface to include
  12. // Full and Incremental options separatly
  13. //
  14. //--------------------------------------------------------------------------
  15. #include <pch.cxx>
  16. #pragma hdrstop
  17. #include <ciares.h>
  18. #include "ntverp.h"
  19. //-----------------------------------------------------------------------------
  20. StringResource srAnnealing = { MSG_STATE_ANNEALING_MERGE };
  21. StringResource srBattery = { MSG_STATE_BATTERY_POWER };
  22. StringResource srCMAddCatalog = { MSG_CM_ADD_CATALOG };
  23. StringResource srCMAddCatalogHelp = { MSG_CM_ADD_CATALOG_HELP };
  24. StringResource srCMDelCatalog = { MSG_CM_DEL_CATALOG };
  25. StringResource srCMDelCatalogHelp = { MSG_CM_DEL_CATALOG_HELP };
  26. StringResource srCMDelScope = { MSG_CM_DEL_SCOPE };
  27. StringResource srCMDelScopeHelp = { MSG_CM_DEL_SCOPE_HELP };
  28. StringResource srCMMerge = { MSG_CM_MERGE };
  29. StringResource srCMMergeHelp = { MSG_CM_MERGE_HELP };
  30. StringResource srCMPauseCI = { MSG_CM_PAUSE_CI };
  31. StringResource srCMPauseCIHelp = { MSG_CM_PAUSE_CI_HELP };
  32. StringResource srCMRescanFull = { MSG_CM_SCAN_FULL_SCOPE };
  33. StringResource srCMRescanFullHelp = { MSG_CM_SCAN_FULL_SCOPE_HELP };
  34. StringResource srCMRescanIncremental = { MSG_CM_SCAN_INCREMENTAL_SCOPE };
  35. StringResource srCMRescanIncrementalHelp = { MSG_CM_SCAN_INCREMENTAL_SCOPE_HELP };
  36. StringResource srCMScope = { MSG_CM_ADD_SCOPE };
  37. StringResource srCMScopeHelp = { MSG_CM_ADD_SCOPE_HELP };
  38. StringResource srCMStartCI = { MSG_CM_START_CI };
  39. StringResource srCMStartCIHelp = { MSG_CM_START_CI_HELP };
  40. StringResource srCMStopCI = { MSG_CM_STOP_CI };
  41. StringResource srCMStopCIHelp = { MSG_CM_STOP_CI_HELP };
  42. StringResource srCMEmptyCatalog = { MSG_CM_EMPTY_CATALOG };
  43. StringResource srCMEmptyCatalogHelp = { MSG_CM_EMPTY_CATALOG_HELP };
  44. StringResource srCMInvalidScope = { MSG_CM_INVALID_SCOPE };
  45. StringResource srCMUnexpectedError = { MSG_CM_UNEXPECTED_ERROR };
  46. StringResource srCMShutdownService = { MSG_CM_SHUTDOWN_SERVICE };
  47. StringResource srCMShutdownServiceTitle = { MSG_CM_SHUTDOWN_SERVICE_TITLE };
  48. StringResource srCMCantShutdownService = { MSG_CM_CANT_SHUTDOWN_SERVICE };
  49. StringResource srCMCantSaveSettings = { MSG_CM_CANT_SAVE_SETTINGS };
  50. StringResource srGenericError = { MSG_GENERIC_ERROR };
  51. StringResource srGenericErrorTitle= { MSG_ERROR_TITLE };
  52. StringResource srInvalidComputerName = { MSG_INVALID_COMPUTER_NAME };
  53. StringResource srHighIo = { MSG_STATE_HIGH_IO };
  54. StringResource srIndexServer = { MSG_INDEX_SERVER };
  55. StringResource srIndexServerCmpManage = { MSG_INDEX_SERVER_CMPMANAGE };
  56. StringResource srLM = { MSG_LOCAL_MACHINE };
  57. StringResource srLowMemory = { MSG_STATE_LOW_MEMORY };
  58. StringResource srMaster = { MSG_STATE_MASTER_MERGE };
  59. StringResource srMMPaused = { MSG_STATE_MASTER_MERGE_PAUSED };
  60. StringResource srMsgCantDeleteCatalog = { MSG_CANT_DELETE_CATALOG };
  61. StringResource srMsgDeleteCatalog = { MSG_DELETE_CATALOG };
  62. StringResource srMsgDeleteCatalogAsk = { MSG_DELETE_CATALOG_ASK };
  63. StringResource srMsgCatalogPartialDeletion = { MSG_CATALOG_PARTIAL_DELETION };
  64. StringResource srMsgDeleteCatalogTitle = { MSG_DELETE_CATALOG_TITLE };
  65. StringResource srMsgEnableCI = { MSG_ENABLE_CI };
  66. StringResource srMsgEnableCITitle = { MSG_ENABLE_CI_TITLE };
  67. StringResource srMsgMerge = { MSG_MERGE_CATALOG };
  68. StringResource srMsgRescanFull = { MSG_RESCAN_FULL_SCOPE };
  69. StringResource srMsgRescanIncremental = { MSG_RESCAN_INCREMENTAL_SCOPE };
  70. StringResource srMsgRescanFullExplain = { MSG_RESCAN_FULL_SCOPE_EXPLAIN };
  71. StringResource srMsgRescanIncrementalExplain = { MSG_RESCAN_INCREMENTAL_SCOPE_EXPLAIN };
  72. StringResource srNC = { MSG_NEW_CATALOG };
  73. StringResource srNCError = { MSG_CANT_ADD_CATALOG };
  74. StringResource srNCT = { MSG_NEW_CATALOG_TITLE };
  75. StringResource srNCErrorT = { MSG_CANT_ADD_CATALOG_TITLE };
  76. StringResource srNo = { MSG_NO };
  77. StringResource srNodeDirectories = { MSG_NODE_DIRECTORIES };
  78. StringResource srNodeProperties = { MSG_NODE_PROPERTIES };
  79. StringResource srNodeUnfiltered = { MSG_NODE_UNFILTERED };
  80. StringResource srPendingProps = { MSG_PENDING_PROP_CHANGE };
  81. StringResource srPendingPropsTitle= { MSG_PENDING_PROP_CHANGE_TITLE };
  82. StringResource srRecovering = { MSG_STATE_RECOVERING };
  83. StringResource srScanReq = { MSG_STATE_CONTENT_SCAN_REQUIRED };
  84. StringResource srScanning = { MSG_STATE_SCANNING };
  85. StringResource srShadow = { MSG_STATE_SHADOW_MERGE };
  86. StringResource srStarting = { MSG_STATE_STARTING };
  87. StringResource srReadingUsns = { MSG_STATE_READING_USNS };
  88. StringResource srUserActive = { MSG_STATE_USER_ACTIVE };
  89. StringResource srStarted = { MSG_STATE_STARTED };
  90. StringResource srStopped = { MSG_STATE_STOPPED };
  91. StringResource srYes = { MSG_YES };
  92. StringResource srPrimaryStore = { MSG_STORELEVEL_PRIMARY };
  93. StringResource srSecondaryStore = { MSG_STORELEVEL_SECONDARY };
  94. StringResource srPropCommitErrorT = { MSG_ERROR_PROP_COMMIT};
  95. StringResource srProductDescription = { MSG_PRODUCT_DESCRIPTION };
  96. StringResource srVendorCopyright = { MSG_VENDOR_COPYRIGHT };
  97. StringResource srVendorName = { MSG_VENDOR_NAME };
  98. StringResource srProviderName = { MSG_PROVIDER_NAME };
  99. StringResource srRefreshProperties = { MSG_CM_PROPERTIES_REFRESH };
  100. StringResource srRefreshPropertiesHelp = { MSG_CM_PROPERTIES_REFRESH_HELP };
  101. StringResource srNoneSelected = { MSG_NONE_SELECTED };
  102. StringResource srReadOnly = { MSG_STATE_READ_ONLY };
  103. StringResource srMsgEmptyCatalogAsk = { MSG_EMPTY_CATALOG_TITLE };
  104. StringResource srMsgEmptyCatalogPrompt = { MSG_EMPTY_CATALOG_PROMPT };
  105. StringResource srType = { MSG_TYPE };
  106. StringResource srCMTunePerformance = { MSG_CM_TUNE_PERFORMANCE };
  107. StringResource srCMTunePerformanceHelp = { MSG_CM_TUNE_PERFORMANCE_HELP };
  108. #if 0
  109. // NTRAID#DB-NTBUG9-97218-2000/10/17-kitmanh MUI:MMC:Index Service snap-in stores its name string in the registry
  110. // the change is backed out due to localization issues
  111. StringResource srSnapinNameStringIndirect = { MSG_SNAPIN_NAME_STRING_INDIRECT };
  112. #endif
  113. void InitStrings( HINSTANCE hInstance )
  114. {
  115. srAnnealing.Init( hInstance );
  116. srBattery.Init( hInstance );
  117. srCMAddCatalog.Init( hInstance );
  118. srCMAddCatalogHelp.Init( hInstance );
  119. srCMDelCatalog.Init( hInstance );
  120. srCMDelCatalogHelp.Init( hInstance );
  121. srCMDelScope.Init( hInstance );
  122. srCMDelScopeHelp.Init( hInstance );
  123. srCMMerge.Init( hInstance );
  124. srCMMergeHelp.Init( hInstance );
  125. srCMPauseCI.Init( hInstance );
  126. srCMPauseCIHelp.Init( hInstance );
  127. srCMRescanFull.Init( hInstance );
  128. srCMRescanFullHelp.Init( hInstance );
  129. srCMRescanIncremental.Init( hInstance );
  130. srCMRescanIncrementalHelp.Init( hInstance );
  131. srCMScope.Init( hInstance );
  132. srCMScopeHelp.Init( hInstance );
  133. srCMStartCI.Init( hInstance );
  134. srCMStartCIHelp.Init( hInstance );
  135. srCMStopCI.Init( hInstance );
  136. srCMStopCIHelp.Init( hInstance );
  137. srCMEmptyCatalog.Init( hInstance );
  138. srCMEmptyCatalogHelp.Init( hInstance );
  139. srCMInvalidScope.Init( hInstance );
  140. srCMUnexpectedError.Init( hInstance );
  141. srGenericError.Init( hInstance );
  142. srGenericErrorTitle.Init( hInstance );
  143. srInvalidComputerName.Init( hInstance );
  144. srHighIo.Init( hInstance );
  145. srIndexServer.Init( hInstance );
  146. srIndexServerCmpManage.Init( hInstance );
  147. srLM.Init( hInstance );
  148. srLowMemory.Init( hInstance );
  149. srMaster.Init( hInstance );
  150. srMMPaused.Init( hInstance );
  151. srMsgCantDeleteCatalog.Init( hInstance );
  152. srMsgDeleteCatalog.Init( hInstance );
  153. srMsgCatalogPartialDeletion.Init( hInstance );
  154. srMsgDeleteCatalogAsk.Init( hInstance );
  155. srMsgDeleteCatalogTitle.Init( hInstance );
  156. srMsgEnableCI.Init( hInstance );
  157. srMsgEnableCITitle.Init( hInstance );
  158. srMsgMerge.Init( hInstance );
  159. srMsgRescanFull.Init( hInstance );
  160. srMsgRescanIncremental.Init( hInstance );
  161. srMsgRescanFullExplain.Init( hInstance );
  162. srMsgRescanIncrementalExplain.Init( hInstance );
  163. srNC.Init( hInstance );
  164. srNCError.Init( hInstance );
  165. srNCT.Init( hInstance );
  166. srNCErrorT.Init( hInstance );
  167. srNo.Init( hInstance );
  168. srNodeDirectories.Init( hInstance );
  169. srNodeProperties.Init( hInstance );
  170. srNodeUnfiltered.Init( hInstance );
  171. srPendingProps.Init( hInstance );
  172. srPendingPropsTitle.Init( hInstance );
  173. srRecovering.Init( hInstance );
  174. srScanReq.Init( hInstance );
  175. srScanning.Init( hInstance );
  176. srUserActive.Init( hInstance );
  177. srShadow.Init( hInstance );
  178. srStarting.Init( hInstance );
  179. srReadingUsns.Init( hInstance );
  180. srStarted.Init( hInstance );
  181. srStopped.Init( hInstance );
  182. srYes.Init( hInstance );
  183. srPrimaryStore.Init( hInstance );
  184. srSecondaryStore.Init( hInstance );
  185. srPropCommitErrorT.Init( hInstance );
  186. srProductDescription.Init( hInstance );
  187. srVendorName.Init( hInstance );
  188. srProviderName.Init( hInstance );
  189. srVendorCopyright.Init( hInstance );
  190. srRefreshProperties.Init( hInstance );
  191. srRefreshPropertiesHelp.Init( hInstance );
  192. srNoneSelected.Init( hInstance );
  193. srReadOnly.Init( hInstance );
  194. srMsgEmptyCatalogAsk.Init( hInstance );
  195. srMsgEmptyCatalogPrompt.Init( hInstance );
  196. srType.Init( hInstance );
  197. srCMTunePerformance.Init( hInstance );
  198. srCMTunePerformanceHelp.Init( hInstance );
  199. srCMShutdownService.Init( hInstance );
  200. srCMShutdownServiceTitle.Init( hInstance );
  201. srCMCantSaveSettings.Init( hInstance );
  202. srCMCantShutdownService.Init( hInstance );
  203. #if 0
  204. // NTRAID#DB-NTBUG9-97218-2000/10/17-kitmanh MUI:MMC:Index Service snap-in stores its name string in the registry
  205. // the change is backed out due to localization issues
  206. srSnapinNameStringIndirect.Init( hInstance );
  207. #endif
  208. }