Source code of Windows XP (NT5)
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.

339 lines
8.8 KiB

  1. ;/*
  2. ;-------------------------------------------------------------------------
  3. ; HEADER SECTION
  4. ;
  5. ; The header section defines names and language identifiers for use
  6. ; by the message definitions later in this file. The MessageIdTypedef,
  7. ; SeverityNames, FacilityNames, and LanguageNames keywords are
  8. ; optional and not required.
  9. ;
  10. ;
  11. MessageIdTypedef=DWORD
  12. ;
  13. ; The MessageIdTypedef keyword gives a typedef name that is used in a
  14. ; type cast for each message code in the generated include file. Each
  15. ; message code appears in the include file with the format: #define
  16. ; name ((type) 0xnnnnnnnn) The default value for type is empty, and no
  17. ; type cast is generated. It is the programmer's responsibility to
  18. ; specify a typedef statement in the application source code to define
  19. ; the type. The type used in the typedef must be large enough to
  20. ; accomodate the entire 32-bit message code.
  21. ;
  22. ;
  23. SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
  24. Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
  25. Warning=0x2:STATUS_SEVERITY_WARNING
  26. Error=0x3:STATUS_SEVERITY_ERROR
  27. )
  28. ;
  29. ; The SeverityNames keyword defines the set of names that are allowed
  30. ; as the value of the Severity keyword in the message definition. The
  31. ; set is delimited by left and right parentheses. Associated with each
  32. ; severity name is a number that, when shifted left by 30, gives the
  33. ; bit pattern to logical-OR with the Facility value and MessageId
  34. ; value to form the full 32-bit message code. The default value of
  35. ; this keyword is:
  36. ;
  37. ; SeverityNames=(
  38. ; Success=0x0
  39. ; Informational=0x1
  40. ; Warning=0x2
  41. ; Error=0x3
  42. ; )
  43. ;
  44. ; Severity values occupy the high two bits of a 32-bit message code.
  45. ; Any severity value that does not fit in two bits is an error. The
  46. ; severity codes can be given symbolic names by following each value
  47. ; with :name
  48. ;
  49. ;
  50. FacilityNames=(System=0x0:FACILITY_SYSTEM
  51. Runtime=0x2:FACILITY_RUNTIME
  52. Stubs=0x3:FACILITY_STUBS
  53. Io=0x4:FACILITY_IO_ERROR_CODE
  54. )
  55. ;
  56. ; The FacilityNames keyword defines the set of names that are allowed
  57. ; as the value of the Facility keyword in the message definition. The
  58. ; set is delimited by left and right parentheses. Associated with each
  59. ; facility name is a number that, when shift it left by 16 bits, gives
  60. ; the bit pattern to logical-OR with the Severity value and MessageId
  61. ; value to form the full 32-bit message code. The default value of
  62. ; this keyword is:
  63. ;
  64. ; FacilityNames=(
  65. ; System=0x0FF
  66. ; Application=0xFFF
  67. ; )
  68. ;
  69. ; Facility codes occupy the low order 12 bits of the high order
  70. ; 16-bits of a 32-bit message code. Any facility code that does not
  71. ; fit in 12 bits is an error. This allows for 4,096 facility codes.
  72. ; The first 256 codes are reserved for use by the system software. The
  73. ; facility codes can be given symbolic names by following each value
  74. ; with :name
  75. ;
  76. ;
  77. ; The LanguageNames keyword defines the set of names that are allowed
  78. ; as the value of the Language keyword in the message definition. The
  79. ; set is delimited by left and right parentheses. Associated with each
  80. ; language name is a number and a file name that are used to name the
  81. ; generated resource file that contains the messages for that
  82. ; language. The number corresponds to the language identifier to use
  83. ; in the resource table. The number is separated from the file name
  84. ; with a colon.
  85. ;
  86. LanguageNames=(English=0x409:MSG00409)
  87. ;
  88. ; Any new names in the source file which don't override the built-in
  89. ; names are added to the list of valid languages. This allows an
  90. ; application to support private languages with descriptive names.
  91. ;
  92. ;
  93. ;-------------------------------------------------------------------------
  94. ; MESSAGE DEFINITION SECTION
  95. ;
  96. ; Following the header section is the body of the Message Compiler
  97. ; source file. The body consists of zero or more message definitions.
  98. ; Each message definition begins with one or more of the following
  99. ; statements:
  100. ;
  101. ; MessageId = [number|+number]
  102. ; Severity = severity_name
  103. ; Facility = facility_name
  104. ; SymbolicName = name
  105. ;
  106. ; The MessageId statement marks the beginning of the message
  107. ; definition. A MessageID statement is required for each message,
  108. ; although the value is optional. If no value is specified, the value
  109. ; used is the previous value for the facility plus one. If the value
  110. ; is specified as +number then the value used is the previous value
  111. ; for the facility, plus the number after the plus sign. Otherwise, if
  112. ; a numeric value is given, that value is used. Any MessageId value
  113. ; that does not fit in 16 bits is an error.
  114. ;
  115. ; The Severity and Facility statements are optional. These statements
  116. ; specify additional bits to OR into the final 32-bit message code. If
  117. ; not specified they default to the value last specified for a message
  118. ; definition. The initial values prior to processing the first message
  119. ; definition are:
  120. ;
  121. ; Severity=Success
  122. ; Facility=Application
  123. ;
  124. ; The value associated with Severity and Facility must match one of
  125. ; the names given in the FacilityNames and SeverityNames statements in
  126. ; the header section. The SymbolicName statement allows you to
  127. ; associate a C/C++ symbolic constant with the final 32-bit message
  128. ; code.
  129. ; */
  130. ;// %0 terminates text line without newline to continue with next line
  131. ;// %0 also used to suppress trailing newline for prompt messages
  132. ;// %1 .. 99 refer to positional string args
  133. ;// %n!<printf spec>! refer to positional non string args
  134. ;// %\ forces a line break at the end of a line
  135. ;// %b hard space char that will not be formatted away
  136. ;//
  137. ;// Note that lines beginning with ';' are comments in the MC file, but
  138. ;// are copied to the H file without the leading semicolon
  139. ;
  140. ;#ifndef __CONSMSG_H
  141. ;#define __CONSMSG_H
  142. ;//Message resource numbers
  143. ;//CMDLINESTRINGBASE = 2500
  144. ;//Messages
  145. MessageId=2500
  146. SymbolicName=IDS_UNKNOWN_CARD
  147. Language=English
  148. Incompatible smart card%0
  149. .
  150. MessageId=2501
  151. SymbolicName=IDS_BACKWARDS_CARD
  152. Language=English
  153. Unable to read smart card%0
  154. .
  155. MessageId=2502
  156. SymbolicName=IDS_EMPTY_CARD
  157. Language=English
  158. No certificates on smart card%0
  159. .
  160. MessageId=2503
  161. SymbolicName=IDS_READING_CARD
  162. Language=English
  163. Reading smart card...%0
  164. .
  165. MessageId=2504
  166. SymbolicName=IDS_CARD_ERROR
  167. Language=English
  168. Error reading smart card%0
  169. .
  170. MessageId=2505
  171. SymbolicName=IDS_CMDLINE_PREAMBLE
  172. Language=English
  173. Reader %1!d!: %2!ws!
  174. .
  175. MessageId=2506
  176. SymbolicName=IDS_CHOOSE_A_CERT
  177. Language=English
  178. Please enter the certificate you wish to use. Select from the following list:
  179. .
  180. MessageId=2507
  181. SymbolicName=IDS_CMDLINE_NOCARD
  182. Language=English
  183. No card%0
  184. .
  185. MessageId=2508
  186. SymbolicName=IDS_CMDLINE_THISCARD
  187. Language=English
  188. Using the card in reader %1!d!. Enter the PIN: %0
  189. .
  190. MessageId=2509
  191. SymbolicName=IDS_NO_READERS_FOUND
  192. Language=English
  193. No smart card readers were found.
  194. .
  195. MessageId=2510
  196. SymbolicName=IDS_CMDLINE_ERRORS
  197. Language=English
  198. The following errors occurred reading the smart cards on the system:
  199. .
  200. MessageId=2511
  201. SymbolicName=IDS_CMDLINE_ERROR
  202. Language=English
  203. on reader %1!d!
  204. .
  205. MessageId=2512
  206. SymbolicName=IDS_READING_SMARTCARDS
  207. Language=English
  208. Reading smart cards...%0
  209. .
  210. MessageId=2513
  211. SymbolicName=IDS_SAVE_PROMPT
  212. Language=English
  213. Remember this password? (%1!ws!/%2!ws!)%0
  214. .
  215. MessageId=2514
  216. SymbolicName=IDS_USERNAME_PROMPT
  217. Language=English
  218. Enter the user name for '%1!ws!': %0
  219. .
  220. MessageId=2515
  221. SymbolicName=IDS_SCARD_PROMPT
  222. Language=English
  223. Choose a reader number to use for '%1!ws!': %0
  224. .
  225. MessageId=2516
  226. SymbolicName=IDS_PIN_PROMPT
  227. Language=English
  228. PIN:%0
  229. .
  230. MessageId=2517
  231. SymbolicName=IDS_NO_USERNAME_MATCH
  232. Language=English
  233. No smart cards for %1!ws! were found
  234. .
  235. MessageId=2518
  236. SymbolicName=IDS_PASSWORD_PROMPT
  237. Language=English
  238. Enter the password for '%1!ws!' to connect to '%2!ws!': %0
  239. .
  240. MessageId=2519
  241. SymbolicName=IDS_SIMPLEPASSWORD_PROMPT
  242. Language=English
  243. Enter the password for %1!ws!: %0
  244. .
  245. MessageId=2520
  246. SymbolicName=IDS_CERTIFICATE_PROMPT
  247. Language=English
  248. Enter the pin to connect to %1!ws! using a certificate: %0
  249. .
  250. MessageId=2521
  251. SymbolicName=IDS_PASSEDNAME_PROMPT
  252. Language=English
  253. To connect %1!ws! to %2!ws!, press ENTER, or type a new user name: %0
  254. .
  255. MessageId=2522
  256. SymbolicName=IDS_INVALID_USERNAME
  257. Language=English
  258. Invalid user name.\nExamples of valid user names are username@domain and domain\\username
  259. .
  260. MessageId=2523
  261. SymbolicName=IDS_NO_USERNAME_ENTERED
  262. Language=English
  263. No username was entered.
  264. .
  265. MessageId=2524
  266. SymbolicName=IDS_NO_SCARD_ENTERED
  267. Language=English
  268. No reader was chosen.
  269. .
  270. MessageId=2525
  271. SymbolicName=IDS_READERINVALID
  272. Language=English
  273. That reader number is invalid.
  274. .
  275. MessageId=2526
  276. SymbolicName=IDS_MANY_USERNAME_MATCH
  277. Language=English
  278. More than one smart card for %1!ws! was found
  279. .
  280. MessageId=2527
  281. SymbolicName=IDS_YES_TEXT
  282. Language=English
  283. Y%0
  284. .
  285. MessageId=2528
  286. SymbolicName=IDS_NO_TEXT
  287. Language=English
  288. N%0
  289. .
  290. MessageId=2529
  291. SymbolicName=IDS_EMPTY_READER
  292. Language=English
  293. Insert smart card...%0
  294. .
  295. MessageId=2530
  296. SymbolicName=IDS_CERTIFICATE
  297. Language=English
  298. Certificate%0
  299. .
  300. ;#endif // __CONSMSG.H__