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.

220 lines
12 KiB

  1. //---------------------------------------------------------------------------
  2. // Base values
  3. //---------------------------------------------------------------------------
  4. #define ID_BASE 0x1000
  5. #define IDS_BASE (ID_BASE + 0x0000)
  6. //---------------------------------------------------------------------------
  7. // Strings
  8. //---------------------------------------------------------------------------
  9. // Range of indexes are 0x000 - 0x7ff
  10. #define IDS_ERR_BASE (IDS_BASE + 0x0000)
  11. #define IDS_OOM_BASE (IDS_BASE + 0x0800)
  12. #define IDS_MSG_BASE (IDS_BASE + 0x1000)
  13. #define IDS_RANDO_BASE (IDS_BASE + 0x1800)
  14. // Error strings
  15. #define IDS_ERR_READONLY (IDS_ERR_BASE + 0x000)
  16. #define IDS_ERR_ADD_SUBTREECYCLE (IDS_ERR_BASE + 0x003)
  17. #define IDS_ERR_CORRUPTDB (IDS_ERR_BASE + 0x004)
  18. #define IDS_ERR_SAMEGUYIDIOT (IDS_ERR_BASE + 0x005)
  19. #define IDS_ERR_BOGUSVOLUME (IDS_ERR_BASE + 0x006)
  20. #define IDS_ERR_FULLDISK (IDS_ERR_BASE + 0x007)
  21. #define IDS_ERR_FULLDISKSAVE (IDS_ERR_BASE + 0x008)
  22. #define IDS_ERR_CANTADDBRIEFCASE (IDS_ERR_BASE + 0x009)
  23. #define IDS_ERR_BCALREADYEXISTS (IDS_ERR_BASE + 0x00a)
  24. #define IDS_ERR_CANTCREATEBC (IDS_ERR_BASE + 0x00b)
  25. #define IDS_ERR_BRIEFCASE_LOCKED (IDS_ERR_BASE + 0x00c)
  26. #define IDS_ERR_UPD_UNAVAIL_VOL (IDS_ERR_BASE + 0x00d)
  27. #define IDS_ERR_FILE_CHANGED (IDS_ERR_BASE + 0x00e)
  28. #define IDS_ERR_SOURCE_FILE (IDS_ERR_BASE + 0x00f)
  29. #define IDS_ERR_ADDFILE_UNAVAIL_VOL (IDS_ERR_BASE + 0x010)
  30. #define IDS_ERR_ADDFOLDER_UNAVAIL_VOL (IDS_ERR_BASE + 0x011)
  31. #define IDS_ERR_NEWER_BRIEFCASE (IDS_ERR_BASE + 0x012)
  32. #define IDS_ERR_ADD_READONLY (IDS_ERR_BASE + 0x013)
  33. #define IDS_ERR_ADD_FULLDISK (IDS_ERR_BASE + 0x014)
  34. #define IDS_ERR_ADD_SOURCE_FILE (IDS_ERR_BASE + 0x015)
  35. #define IDS_ERR_ADD_UNAVAIL_VOL (IDS_ERR_BASE + 0x016)
  36. #define IDS_ERR_SAVE_UNAVAIL_VOL (IDS_ERR_BASE + 0x017)
  37. #define IDS_ERR_CLOSE_UNAVAIL_VOL (IDS_ERR_BASE + 0x018)
  38. #define IDS_ERR_OPEN_UNAVAIL_VOL (IDS_ERR_BASE + 0x019)
  39. #define IDS_ERR_UNAVAIL_VOL (IDS_ERR_BASE + 0x01a)
  40. #define IDS_ERR_OPEN_SUBTREECYCLE (IDS_ERR_BASE + 0x01b)
  41. #define IDS_ERR_OPEN_ACCESS_DENIED (IDS_ERR_BASE + 0x01c)
  42. #define IDS_ERR_NO_MERGE_HANDLER (IDS_ERR_BASE + 0x01d)
  43. #define IDS_ERR_ADDFILE_TOOLONG (IDS_ERR_BASE + 0x01e)
  44. #define IDS_ERR_ADDFOLDER_TOOLONG (IDS_ERR_BASE + 0x01f)
  45. #define IDS_ERR_OPEN_TOOLONG (IDS_ERR_BASE + 0x020)
  46. #define IDS_ERR_CREATE_TOOLONG (IDS_ERR_BASE + 0x021)
  47. #define IDS_ERR_ADDFILE_TOOMANY (IDS_ERR_BASE + 0x022)
  48. #define IDS_ERR_ADDFOLDER_TOOMANY (IDS_ERR_BASE + 0x023)
  49. #define IDS_ERR_ADD_SYNCFOLDER (IDS_ERR_BASE + 0x024)
  50. #define IDS_ERR_ADD_SYNCFOLDER_SRC (IDS_ERR_BASE + 0x025)
  51. #define IDS_ERR_CREATE_INANOTHER (IDS_ERR_BASE + 0x026)
  52. #define IDS_ERR_F_CantSplit (IDS_ERR_BASE + 0x100)
  53. #define IDS_ERR_1_CantSplit (IDS_ERR_BASE + 0x101)
  54. #define IDS_ERR_2_CantSplit (IDS_ERR_BASE + 0x102)
  55. #define IDS_ERR_F_CorruptDB (IDS_ERR_BASE + 0x104)
  56. #define IDS_ERR_1_CorruptDB (IDS_ERR_BASE + 0x105)
  57. #define IDS_ERR_2_CorruptDB (IDS_ERR_BASE + 0x106)
  58. #define IDS_ERR_F_FullDiskSave (IDS_ERR_BASE + 0x108)
  59. #define IDS_ERR_1_FullDiskSave (IDS_ERR_BASE + 0x109)
  60. #define IDS_ERR_2_FullDiskSave (IDS_ERR_BASE + 0x10a)
  61. // Out-of-memory strings
  62. #define IDS_OOM_ADD (IDS_OOM_BASE + 0x000)
  63. #define IDS_OOM_CHANGETYPES (IDS_OOM_BASE + 0x001)
  64. #define IDS_OOM_STATUS (IDS_OOM_BASE + 0x002)
  65. #define IDS_OOM_INFO (IDS_OOM_BASE + 0x003)
  66. #define IDS_OOM_FILLTYPES (IDS_OOM_BASE + 0x004)
  67. #define IDS_OOM_UPDATEDIALOG (IDS_OOM_BASE + 0x005)
  68. #define IDS_OOM_OPENBRIEFCASE (IDS_OOM_BASE + 0x006)
  69. #define IDS_OOM_UPDATE (IDS_OOM_BASE + 0x007)
  70. #define IDS_OOM_ADDFOLDER (IDS_OOM_BASE + 0x008)
  71. // Messages
  72. #define IDS_MSG_SPECIFYTYPE (IDS_MSG_BASE + 0x010)
  73. #define IDS_MSG_ONDESKTOP (IDS_MSG_BASE + 0x011)
  74. #define IDS_MSG_ATPATH (IDS_MSG_BASE + 0x012)
  75. #define IDS_MSG_CantFindOriginal (IDS_MSG_BASE + 0x013)
  76. #define IDS_MSG_ConfirmFileSplit (IDS_MSG_BASE + 0x014)
  77. #define IDS_MSG_ConfirmFolderSplit (IDS_MSG_BASE + 0x015)
  78. #define IDS_MSG_ConfirmMultiSplit (IDS_MSG_BASE + 0x016)
  79. #define IDS_MSG_FileAlreadyOrphan (IDS_MSG_BASE + 0x017)
  80. #define IDS_MSG_FolderAlreadyOrphan (IDS_MSG_BASE + 0x018)
  81. #define IDS_MSG_FileTombstone (IDS_MSG_BASE + 0x019)
  82. #define IDS_MSG_FolderTombstone (IDS_MSG_BASE + 0x01a)
  83. #define IDS_MSG_UpdateOnDock (IDS_MSG_BASE + 0x01b)
  84. #define IDS_MSG_UpdateBeforeUndock (IDS_MSG_BASE + 0x01c)
  85. #define IDS_MSG_NoMatchingFiles (IDS_MSG_BASE + 0x01d)
  86. #define IDS_MSG_CHECKING (IDS_MSG_BASE + 0x01e)
  87. #define IDS_MSG_NoFiles (IDS_MSG_BASE + 0x040)
  88. #define IDS_MSG_AllOrphans (IDS_MSG_BASE + 0x041)
  89. #define IDS_MSG_AllUptodate (IDS_MSG_BASE + 0x042)
  90. #define IDS_MSG_AllSomeUnavailable (IDS_MSG_BASE + 0x043)
  91. // The file/folder ids below must be interleaved, with the
  92. // folder id = the file id + 1.
  93. #define IDS_MSG_FileOrphan (IDS_MSG_BASE + 0x044)
  94. #define IDS_MSG_FolderOrphan (IDS_MSG_BASE + 0x045)
  95. #define IDS_MSG_FileUptodate (IDS_MSG_BASE + 0x046)
  96. #define IDS_MSG_FolderUptodate (IDS_MSG_BASE + 0x047)
  97. #define IDS_MSG_FileUnavailable (IDS_MSG_BASE + 0x048)
  98. #define IDS_MSG_FolderUnavailable (IDS_MSG_BASE + 0x049)
  99. #define IDS_MSG_FolderSubfolder (IDS_MSG_BASE + 0x04a)
  100. #define IDS_MSG_MultiOrphans (IDS_MSG_BASE + 0x050)
  101. #define IDS_MSG_MultiUptodate (IDS_MSG_BASE + 0x051)
  102. #define IDS_MSG_MultiUptodateOrphan (IDS_MSG_BASE + 0x052)
  103. #define IDS_MSG_MultiUnavailable (IDS_MSG_BASE + 0x053)
  104. #define IDS_MSG_MultiSubfolder (IDS_MSG_BASE + 0x054)
  105. // Menu strings
  106. #define IDS_MENU_REPLACE (IDS_RANDO_BASE + 0x000)
  107. #define IDS_MENU_CREATE (IDS_RANDO_BASE + 0x001)
  108. #define IDS_MENU_WHATSTHIS (IDS_RANDO_BASE + 0x002)
  109. //#define IDS_MENU_HELPFINDER (IDS_RANDO_BASE + 0x003)
  110. #define IDS_MENU_UPDATE (IDS_RANDO_BASE + 0x004)
  111. #define IDS_MENU_UPDATEALL (IDS_RANDO_BASE + 0x005)
  112. #define IDS_MENU_SKIP (IDS_RANDO_BASE + 0x006)
  113. #define IDS_MENU_MERGE (IDS_RANDO_BASE + 0x007)
  114. #define IDS_MENU_DELETE (IDS_RANDO_BASE + 0x008)
  115. #define IDS_MENU_DONTDELETE (IDS_RANDO_BASE + 0x009)
  116. // Captions
  117. #define IDS_CAP_ADD (IDS_RANDO_BASE + 0x010)
  118. #define IDS_CAP_UPDATE (IDS_RANDO_BASE + 0x011)
  119. #define IDS_CAP_INFO (IDS_RANDO_BASE + 0x012)
  120. #define IDS_CAP_OPEN (IDS_RANDO_BASE + 0x013)
  121. #define IDS_CAP_STATUS (IDS_RANDO_BASE + 0x014)
  122. #define IDS_CAP_SAVE (IDS_RANDO_BASE + 0x015)
  123. #define IDS_CAP_CREATE (IDS_RANDO_BASE + 0x016)
  124. #define IDS_CAP_ReplaceFile (IDS_RANDO_BASE + 0x017) // Old
  125. #define IDS_CAP_ReplaceFolder (IDS_RANDO_BASE + 0x018)
  126. #define IDS_CAP_ConfirmSplit (IDS_RANDO_BASE + 0x019)
  127. #define IDS_CAP_ConfirmMultiSplit (IDS_RANDO_BASE + 0x01a)
  128. #define IDS_CAP_Split (IDS_RANDO_BASE + 0x01b)
  129. #define IDS_CAP_UpdateFmt (IDS_RANDO_BASE + 0x01c)
  130. #define IDS_CAP_UPDATING (IDS_RANDO_BASE + 0x01d)
  131. #define IDS_CAP_CHECKING (IDS_RANDO_BASE + 0x01e)
  132. // Random stuff
  133. #define IDS_YES (IDS_RANDO_BASE + 0x100)
  134. #define IDS_NO (IDS_RANDO_BASE + 0x101)
  135. #define IDS_OK (IDS_RANDO_BASE + 0x102)
  136. #define IDS_CANCEL (IDS_RANDO_BASE + 0x103)
  137. #define IDS_RETRY (IDS_RANDO_BASE + 0x104)
  138. #define IDS_YESTOALL (IDS_RANDO_BASE + 0x105)
  139. //#define IDS_NoOriginal (IDS_RANDO_BASE + 0x110) // old
  140. #define IDS_InLocation (IDS_RANDO_BASE + 0x111)
  141. #define IDS_InBriefcase (IDS_RANDO_BASE + 0x112)
  142. #define IDS_BYTES (IDS_RANDO_BASE + 0x113)
  143. #define IDS_BOGUSDBTEMPLATE (IDS_RANDO_BASE + 0x114)
  144. #define IDS_BC_DATABASE (IDS_RANDO_BASE + 0x115)
  145. #define IDS_BC_NAME (IDS_RANDO_BASE + 0x116)
  146. #define IDS_DATESIZELINE (IDS_RANDO_BASE + 0x117)
  147. #define IDS_ORDERKB (IDS_RANDO_BASE + 0x118)
  148. #define IDS_ORDERMB (IDS_RANDO_BASE + 0x119)
  149. #define IDS_ORDERGB (IDS_RANDO_BASE + 0x11a)
  150. #define IDS_ORDERTB (IDS_RANDO_BASE + 0x11b)
  151. #define IDS_BC_DATABASE_SHORT (IDS_RANDO_BASE + 0x11c)
  152. #define IDS_BC_NAME_SHORT (IDS_RANDO_BASE + 0x11d)
  153. #define IDS_ALTNAME (IDS_RANDO_BASE + 0x11e)
  154. // Status Property sheet
  155. #define IDS_STATPROP_SubfolderTwin (IDS_RANDO_BASE + 0x300)
  156. #define IDS_STATPROP_OrphanFolder (IDS_RANDO_BASE + 0x301)
  157. #define IDS_STATPROP_OrphanFile (IDS_RANDO_BASE + 0x302)
  158. #define IDS_STATPROP_Uptodate (IDS_RANDO_BASE + 0x303)
  159. #define IDS_STATPROP_PressButton (IDS_RANDO_BASE + 0x304)
  160. #define IDS_STATPROP_Unavailable (IDS_RANDO_BASE + 0x305)
  161. #define IDS_STATPROP_Update (IDS_RANDO_BASE + 0x306)
  162. #define IDS_STATPROP_Conflict (IDS_RANDO_BASE + 0x307)
  163. // Confirm Replace dialog
  164. //#define IDS_REPLACE_ReplaceFile (IDS_RANDO_BASE + 0x340) // Old
  165. //#define IDS_REPLACE_ReplaceFolder (IDS_RANDO_BASE + 0x341) // Old
  166. //#define IDS_REPLACE_WithFile (IDS_RANDO_BASE + 0x342) // Old
  167. //#define IDS_REPLACE_WithFolder (IDS_RANDO_BASE + 0x343) // Old
  168. //#define IDS_REPLACE_ReplaceOrphan (IDS_RANDO_BASE + 0x344) // Old
  169. #define IDS_MSG_ConfirmFileReplace (IDS_RANDO_BASE + 0x345)
  170. #define IDS_MSG_ConfirmFileReplace_RO (IDS_RANDO_BASE + 0x346)
  171. #define IDS_MSG_ConfirmFileReplace_Sys (IDS_RANDO_BASE + 0x347)
  172. #define IDS_MSG_ConfirmFolderReplace (IDS_RANDO_BASE + 0x348)
  173. // Update progress dialog
  174. #define IDS_UPDATE_Copy (IDS_RANDO_BASE + 0x380)
  175. #define IDS_UPDATE_Merge (IDS_RANDO_BASE + 0x381)
  176. #define IDS_UPDATE_Delete (IDS_RANDO_BASE + 0x382)
  177. // States of sync copies
  178. #define IDS_STATE_Creates (IDS_RANDO_BASE + 0x400)
  179. #define IDS_STATE_Replaces (IDS_RANDO_BASE + 0x401)
  180. #define IDS_STATE_Skip (IDS_RANDO_BASE + 0x402)
  181. #define IDS_STATE_Conflict (IDS_RANDO_BASE + 0x403)
  182. #define IDS_STATE_Merge (IDS_RANDO_BASE + 0x404)
  183. #define IDS_STATE_Uptodate (IDS_RANDO_BASE + 0x405)
  184. #define IDS_STATE_NeedToUpdate (IDS_RANDO_BASE + 0x406)
  185. #define IDS_STATE_Orphan (IDS_RANDO_BASE + 0x407)
  186. #define IDS_STATE_Subfolder (IDS_RANDO_BASE + 0x408)
  187. #define IDS_STATE_Changed (IDS_RANDO_BASE + 0x409)
  188. #define IDS_STATE_Unchanged (IDS_RANDO_BASE + 0x40a)
  189. #define IDS_STATE_NewFile (IDS_RANDO_BASE + 0x40b)
  190. #define IDS_STATE_Unavailable (IDS_RANDO_BASE + 0x40c)
  191. #define IDS_STATE_UptodateInBrf (IDS_RANDO_BASE + 0x40d)
  192. #define IDS_STATE_SystemFile (IDS_RANDO_BASE + 0x40e)
  193. #define IDS_STATE_Delete (IDS_RANDO_BASE + 0x40f)
  194. #define IDS_STATE_DontDelete (IDS_RANDO_BASE + 0x410)
  195. #define IDS_STATE_DoesNotExist (IDS_RANDO_BASE + 0x411)
  196. #define IDS_STATE_Deleted (IDS_RANDO_BASE + 0x412)