home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12ort1.exe / locale / en_us / oddesk.cmd < prev    next >
OS/2 REXX Batch file  |  1997-04-02  |  9KB  |  269 lines

  1. :------------------------------------------------------------------
  2. : ODDESK Message Catalog
  3. :------------------------------------------------------------------
  4. :
  5. : A Note to the Translators:
  6. :
  7. : Translate only English text found on echo statements. All other
  8. : text is considered commentary and is not displayed to the
  9. : customer.
  10. :------------------------------------------------------------------
  11. :
  12. :   Message Jump Table
  13. :
  14.     @if "%1" == "ODDESK_Start"       goto %1
  15.     @if "%1" == "ODVARS_Check"       goto %1
  16.     @if "%1" == "ODVARS_Found"       goto %1
  17.     @if "%1" == "ODBASE_Check"       goto %1
  18.     @if "%1" == "ODBASE_Found"       goto %1
  19.     @if "%1" == "ODINST_Check"       goto %1
  20.     @if "%1" == "ODINST_Found"       goto %1
  21.     @if "%1" == "DIRS_Create"        goto %1
  22.     @if "%1" == "DIRS_Complete"      goto %1
  23.     @if "%1" == "PE_Install"         goto %1
  24.     @if "%1" == "OLEPART_Install"    goto %1
  25.     @if "%1" == "PKG_Install"        goto %1
  26.     @if "%1" == "PKG_Warning"        goto %1
  27.     @if "%1" == "LOTUS_Install"      goto %1
  28.     @if "%1" == "LOTUS_Complete"     goto %1
  29.     @if "%1" == "AbortNoEnv"         goto %1
  30.     @if "%1" == "AbortNoBase"        goto %1
  31.     @if "%1" == "AbortNoODInst"      goto %1
  32.     @if "%1" == "AbortInvalidDir"    goto %1
  33.     @if "%1" == "AbortNoCMGRCMD"     goto %1
  34.     @if "%1" == "AbortReadOnly"      goto %1
  35.     @if "%1" == "AbortOlePartFailed" goto %1
  36.     @if "%1" == "AbortODInstFailed"  goto %1
  37.     @if "%1" == "ODDESK_Finish"      goto %1
  38. :
  39. :   else display the default message
  40. :
  41.     @echo (%1)  %2 %3 %4 %5 %6 %7 %8 %9
  42.     @goto end
  43. :
  44. :
  45. :
  46. :------------------------------------------------------------------
  47. :ODDESK_Start
  48. :------------------------------------------------------------------
  49.     @echo ###########################################
  50.     @echo # OpenDoc Desktop Reconstruction Facility #
  51.     @echo ###########################################
  52.     @echo.
  53.     @echo Please wait a few moments while I attempt to reconstruct the OpenDoc
  54.     @echo ODCFG and ODPARTS directories.
  55.     @echo.
  56.     @goto end
  57. :
  58. :
  59. :
  60. :------------------------------------------------------------------
  61. :ODVARS_Check
  62. :------------------------------------------------------------------
  63.     @echo o Checking for OD environment variables...
  64.     @goto end
  65. :
  66. :
  67. :
  68. :------------------------------------------------------------------
  69. :ODVARS_Found
  70. :------------------------------------------------------------------
  71.     @echo OpenDoc environment variables have been found.
  72.     @goto end
  73. :
  74. :
  75. :
  76. :------------------------------------------------------------------
  77. :ODBASE_Check
  78. :------------------------------------------------------------------
  79.     @echo o Checking for the ODBASE directory...
  80.     @goto end
  81. :
  82. :
  83. :
  84. :------------------------------------------------------------------
  85. :ODBASE_Found
  86. :------------------------------------------------------------------
  87.     @echo The ODBASE directory has been found.
  88.     @goto end
  89. :
  90. :
  91. :
  92. :------------------------------------------------------------------
  93. :ODINST_Check
  94. :------------------------------------------------------------------
  95.     @echo o Checking for the the ODINST command...
  96.     @goto end
  97. :
  98. :
  99. :
  100. :------------------------------------------------------------------
  101. :ODINST_Found
  102. :------------------------------------------------------------------
  103.     @echo The ODINST command has been found.
  104.     @goto end
  105. :
  106. :
  107. :
  108. :------------------------------------------------------------------
  109. :DIRS_Create
  110. :------------------------------------------------------------------
  111.     @echo o Creating ODCFG and ODPARTS directories...
  112.     @goto end
  113. :
  114. :
  115. :
  116. :------------------------------------------------------------------
  117. :DIRS_Complete
  118. :------------------------------------------------------------------
  119.     @echo ODCFG and ODPARTS directories have been created.
  120.     @goto end
  121. :
  122. :
  123. :
  124. :------------------------------------------------------------------
  125. :PE_Install
  126. :------------------------------------------------------------------
  127.     @echo o Installing part editors. This will take a few moments...
  128.     @goto end
  129. :
  130. :
  131. :
  132. :------------------------------------------------------------------
  133. :OLEPART_Install
  134. :------------------------------------------------------------------
  135.     @echo ...Registering OlePart
  136.     @goto end
  137. :
  138. :
  139. :
  140. :------------------------------------------------------------------
  141. :PKG_Install
  142. :------------------------------------------------------------------
  143.     @echo ...Installing %PKG%.
  144.     @goto end
  145. :
  146. :
  147. :
  148. :------------------------------------------------------------------
  149. :PKG_Warning
  150. :------------------------------------------------------------------
  151.     @echo * Warning! Part editor package %PKG% was not found.
  152.     @goto end
  153. :
  154. :
  155. :
  156. :------------------------------------------------------------------
  157. :LOTUS_Install
  158. :------------------------------------------------------------------
  159.     @echo o Registering Lotus Script component...
  160.     @goto end
  161. :
  162. :
  163. :
  164. :------------------------------------------------------------------
  165. :LOTUS_Complete
  166. :------------------------------------------------------------------
  167.     @echo The Lotus Script component has been registered.
  168.     @goto end
  169. :
  170. :
  171. :
  172. :------------------------------------------------------------------
  173. :AbortNoEnv
  174. :------------------------------------------------------------------
  175.     @echo * Error! Missing OpenDoc and SOM environment variables.
  176.     @echo.
  177.     @echo * The environment variables ODBASE, ODCFG, ODPARTS, SOMBASE, NLSPATH,
  178.     @echo * and LANG must be set before running this command. Please make sure
  179.     @echo * all are set properly and try again.
  180.     @goto end
  181. :
  182. :
  183. :
  184. :------------------------------------------------------------------
  185. :AbortNoBase
  186. :------------------------------------------------------------------
  187.     @echo * Error! The directory pointed to by ODBASE does not exist.
  188.     @echo.
  189.     @echo * Please make sure the environment variable ODBASE points to
  190.     @echo * the directory where OpenDoc is installed and try again.
  191.     @goto end
  192. :
  193. :
  194. :
  195. :------------------------------------------------------------------
  196. :AbortNOODInst
  197. :------------------------------------------------------------------
  198.     @echo * Error! Cannot find the part editor installation tool (odinst.exe).
  199.     @echo.
  200.     @echo * This file should be located in the ODBASE/bin directory but is
  201.     @echo * not. Please correct this problem and try again.
  202.     @goto end
  203. :
  204. :
  205. :
  206. :------------------------------------------------------------------
  207. :AbortInvalidDir
  208. :------------------------------------------------------------------
  209.     @echo * Error! Cannot create directory "%DIR%".
  210.     @echo.
  211.     @echo * The path may already exist as a file or the drive may not be
  212.     @echo * writeable. Please correct this problem and try again.
  213.     @goto end
  214. :
  215. :
  216. :
  217. :------------------------------------------------------------------
  218. :AbortNoCMGRCMD
  219. :------------------------------------------------------------------
  220.     @echo * Error! Cannot find the Lotus script registration command,
  221.     @echo * "%ODBASE%\bin\cmgrcmd.exe". Please correct this problem and
  222.     @echo * try again.
  223.     @goto end
  224. :
  225. :
  226. :
  227. :------------------------------------------------------------------
  228. :AbortReadOnly
  229. :------------------------------------------------------------------
  230.     @echo * Error! Directory "%DIR%" must be writable. It currently
  231.     @echo * has the Readonly attribute set. Please correct this problem
  232.     @echo * and try again.
  233.     @goto end
  234. :
  235. :
  236. :
  237. :------------------------------------------------------------------
  238. :AbortOlePartFailed
  239. :------------------------------------------------------------------
  240.     @echo * Error! The installation of OlePart failed. Please ensure the
  241.     @echo * value of the SOMIR environment variable is correct and try again.
  242.     @goto end
  243. :
  244. :
  245. :
  246. :------------------------------------------------------------------
  247. :AbortODInstFailed
  248. :------------------------------------------------------------------
  249.     @echo * Error! The installation of part editor %PKG%
  250.     @echo * failed due to an unknown error.
  251.     @goto end
  252. :
  253. :
  254. :
  255. :------------------------------------------------------------------
  256. :ODDESK_Finish
  257. :------------------------------------------------------------------
  258.     @echo.
  259.     @echo ###########################################
  260.     @echo # OpenDoc Desktop Reconstruction Facility #
  261.     @echo #             Finished                    #
  262.     @echo ###########################################
  263.     @echo.
  264.     @goto end
  265. :
  266. :
  267. :
  268. :end
  269.