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.

98 lines
3.1 KiB

  1. //----------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1999 Microsoft Corporation
  4. // All rights reserved.
  5. //
  6. // File Name:
  7. // strings.c
  8. //
  9. // Description:
  10. // Contains all of the strings constants for DOS based MAKEBOOT program.
  11. //
  12. // To localize this file for a new language do the following:
  13. // - change the unsigned int CODEPAGE variable to the code page
  14. // of the language you are translating to
  15. // - translate the strings in the EngStrings array into the
  16. // LocStrings array. Be very careful that the 1st string in the
  17. // EngStrings array corresponds to the 1st string in the LocStrings
  18. // array, the 2nd corresponds to the 2nd, etc...
  19. //
  20. //----------------------------------------------------------------------------
  21. //
  22. // NOTE: To add more strings to this file, you need to:
  23. // - add the new #define descriptive constant to the makeboot.h file
  24. // - add the new string to the English language array and then make
  25. // sure localizers add the string to the Localized arrays
  26. // - the #define constant must match the string's index in the array
  27. //
  28. #include <stdlib.h>
  29. unsigned int CODEPAGE = 437;
  30. const char *EngStrings[] = {
  31. "Windows XP",
  32. "Windows XP Setup Boot Disk",
  33. "Windows XP Setup Disk #2",
  34. "Windows XP Setup Disk #3",
  35. "Windows XP Setup Disk #4",
  36. "Cannot find file %s\n",
  37. "Not enough free memory to complete request\n",
  38. "%s is not in an executable file format\n",
  39. "****************************************************",
  40. "This program creates the Setup boot disks",
  41. "for Microsoft %s.",
  42. "To create these disks, you need to provide 7 blank,",
  43. "formatted, high-density disks.",
  44. "Insert one of these disks into drive %c:. This disk",
  45. "will become the %s.",
  46. "Insert another disk into drive %c:. This disk will",
  47. "become the %s.",
  48. "Press any key when you are ready.",
  49. "The setup boot disks have been created successfully.",
  50. "complete",
  51. "An unknown error has occurred trying to execute %s.",
  52. "Please specify the floppy drive to copy the images to: ",
  53. "Invalid drive letter\n",
  54. "Drive %c: is not a floppy drive\n",
  55. "Do you want to attempt to create this floppy again?",
  56. "Press Enter to try again or Esc to exit.",
  57. "Error: Disk write protected\n",
  58. "Error: Unknown disk unit\n",
  59. "Error: Drive not ready\n",
  60. "Error: Unknown command\n",
  61. "Error: Data error (Bad CRC)\n",
  62. "Error: Bad request structure length\n",
  63. "Error: Seek error\n",
  64. "Error: Media type not found\n",
  65. "Error: Sector not found\n",
  66. "Error: Write fault\n",
  67. "Error: General failure\n",
  68. "Error: Invalid request or bad command\n",
  69. "Error: Address mark not found\n",
  70. "Error: Disk write fault\n",
  71. "Error: Direct Memory Access (DMA) overrun\n",
  72. "Error: Data read (CRC or ECC) error\n",
  73. "Error: Controller failure\n",
  74. "Error: Disk timed out or failed to respond\n",
  75. "Windows XP Setup Disk #5",
  76. "Windows XP Setup Disk #6",
  77. "Windows XP Setup Disk #7"
  78. };
  79. const char *LocStrings[] = {"\0"};