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.

186 lines
5.7 KiB

  1. /* ****************************************************************************
  2. **
  3. ** COPYRIGHT (C) 1985 MICROSOFT
  4. **
  5. ** ****************************************************************************
  6. *
  7. * Module: globdefs.h - text for static arrays and other uses. Change this
  8. * module when internationalizing.
  9. *
  10. * Functions included: none
  11. *
  12. **
  13. ** REVISIONS
  14. **
  15. ** Date Who Rel Ver Remarks
  16. ** 07/08/86 yy addition of reverse string for unit parsing.
  17. ** 11/20/85 bz initial version
  18. **
  19. ** ***************************************************************************/
  20. #ifdef KANJI
  21. #define utDefault utCch /* used to set utCur - may be utInch, utCm or utCch */
  22. #else
  23. #define utDefault utCm /* used to set utCur - may be utInch or utCm */
  24. #endif /* if-else-def KANJI */
  25. #define vzaTabDfltDef (czaInch / 2) /* width of default tab in twips */
  26. /* note that czaCm is also available */
  27. #define szModeDef "Page 1" /* buffer for "Page nnn" message */
  28. #define szExtWordDocDef ".DOC"
  29. #define szExtWordBakDef ".BAK"
  30. #define szExtDrvDef ".drv"
  31. #define szExtGlsDef ".GLS"
  32. #ifdef KINTL
  33. #define szExtDocDef ".WRI" /* this and next extension should be the same */
  34. #define szExtSearchDef "\\*.WRI" /* store default search spec */
  35. #define szExtBackupDef ".BKP"
  36. #ifdef KANJI
  37. #define szExtTxtOnly ".TXT" /* Text only document. */
  38. #endif /* KANJI */
  39. #else
  40. #define szExtDocDef ".DOC" /* This and next extension should be the same */
  41. #define szExtSearchDef "\\*.DOC" /* Store default search spec. */
  42. #define szExtBackupDef ".BAK"
  43. #endif /* if-else-def INTL */
  44. #define szWriteProductDef "MSWrite" /* WIN.INI: our app entry */
  45. #define szFontEntryDef "Fontx" /* WIN.INI: our font list */
  46. #define szWriteDocPromptDef "Write Document" /* OpenFile prompts */
  47. #define szScratchFilePromptDef "Write Program"
  48. #define szSaveFilePromptDef "Write Save"
  49. #define szAppNameDef "Write" /* For message box headings */
  50. #define szUntitledDef "(Untitled)" /* Unnamed doc */
  51. #define szSepNameDef " - " /* Separates AppName from file name in header */
  52. #ifdef STYLES
  53. #define szSshtEmpty "NORMAL.STY"
  54. #endif /* STYLES */
  55. /* Strings for parsing the user profile. */
  56. #define szWindowsDef "windows"
  57. #define szDeviceDef "Device"
  58. #define szDevicesDef "devices"
  59. #define szBackupDef "Backup"
  60. /* used to get decimal point character from user profile */
  61. #define szIntlDef "intl"
  62. #define szsDecimalDef "sDecimal"
  63. #define szsDecimalDefaultDef "."
  64. #define sziCountryDef "iCountry"
  65. #define sziCountryDefaultDef "001" /* default country is USA */
  66. /* see msdos manual for meaning of codes */
  67. /* Strings for our window classes (MUST BE < 39 CHARS) */
  68. #define szParentClassDef "MSWRITE_MENU"
  69. #define szDocClassDef "MSWRITE_DOC"
  70. #define szRulerClassDef "MSWRITE_RULER"
  71. #define szPageInfoClassDef "MSWRITE_PAGEINFO"
  72. #ifdef ONLINEHELP
  73. #define szHelpDocClassDef "MSWRITE_HELPDOC"
  74. #endif
  75. /* used in clipdisp.c */
  76. #define szWRITETextDef "WRITE Formatted Text"
  77. /* used in cmd.c */
  78. #define szFreeDef " words"
  79. /* used in diachgpr.c */
  80. #define szDeviceModeDef "DEVICEMODE" /* windows device mode */
  81. /* used in fileutil.c - name of temp file */
  82. #ifdef INTL
  83. #define szMWTempDef "~WRI0000.TMP"
  84. #else
  85. #define szMWTempDef "~DOC0000.TMP"
  86. #endif
  87. /* used in fontenum.c */
  88. #define szSystemDef "System"
  89. /* used in initwin.c */
  90. #define szMw_acctbDef "mw_acctb"
  91. #define szNullPortDef "NullPort"
  92. #define szNoneDef "None"
  93. #define szMwloresDef "mwlores"
  94. #define szMwhiresDef "mwhires"
  95. #define szMw_iconDef "mw_icon"
  96. #define szMw_menuDef "mw_menu"
  97. #define szScrollBarDef "ScrollBar"
  98. /* used in menu.c */
  99. #define szShEscDef " \tSh Esc"
  100. /* used in pictdrag.c */
  101. #define szPmsCurDef "pmscur"
  102. /* used in ruler.c */
  103. #define szBtnDef "rbutton"
  104. #define szMarkDef "rmark"
  105. /* used in running.c */
  106. #define szHeaderDef "HEADER"
  107. #define szFooterDef "FOOTER"
  108. /* used in screen.c - available font family names */
  109. #define szModernDef "Modern"
  110. #define szRomanDef "Roman"
  111. #define szSwissDef "Swiss"
  112. #define szScriptDef "Script"
  113. #define szDecorativeDef "Decorative"
  114. /* used in trans.c */
  115. #define szLoadFileDef "Loading File..."
  116. #define szCvtLoadFileDef "Converting and Loading File..."
  117. /* used in util2.c abbreviations for units */
  118. #define szInchDef "\""
  119. #define szCmDef " cm"
  120. #define szP10Def " p10"
  121. #define szP12Def " p12"
  122. #define szPointDef " pt"
  123. #define szLineDef " li"
  124. #ifdef KANJI
  125. #define szKanjiLineDef " \215\163"
  126. #define szKanjiChDef " \216\232"
  127. #endif /* ifdef KANJI */
  128. #ifdef KANJI
  129. /* used in util2.c. Unit names spelled in reverse. */
  130. #define szUtInch "ni" /* in */
  131. #define szUtInchQ "\"" /* a double quote */
  132. #ifdef CASHMERE
  133. #define szUtP10 "01p" /* p10 */
  134. #define szUtP12 "21p" /* p12 */
  135. #define szUtLine "il" /* li */
  136. #define szUtPt "tp" /* pt */
  137. #endif /* CASHMERE */
  138. #define szUtCm "mc" /* cm */
  139. #define szUtCch1 "ij" /* Roma-ji spelling. */
  140. #define szUtCch2 "\232\216" /* Kanji "ji" */
  141. #define szUtCch3 "\127\203" /* katakana "ji" */
  142. #define szUtCch4 "\266\202" /* hiragana "ji" */
  143. #define szUtCch5 "\334\205\272\205" /* half-width kataknak shi followed by */
  144. /* half-width daku-on. */
  145. #define szUtCch6 "\336\274" /* System katakana shi followed by system */
  146. /* daku-on */
  147. #define szUtLn1 "uoyg" /* Roma-ji spelling. */
  148. #define szUtLn2 "\163\215" /* Kanji "gyou" */
  149. #define szUtLn3 "\244\202\345\202\254\202" /* hiragana "gyou" */
  150. #define szUtLn4 "\105\203\207\203\255\203" /* katakana "gyou" */
  151. #define szUtLn5 "\263\256\336\267" /* 1-byte katakana "gyou" */
  152. #define szUtLn6 "\261\205\254\205\334\205\265\205" /* half-width katakana "gyou" */
  153. #endif /* ifdef KANJI */