itl.h
上传用户:xiaoan1112
上传日期:2013-04-11
资源大小:19621k
文件大小:2k
源码类别:

操作系统开发

开发平台:

Visual C++

  1. /*
  2. COW : Character Oriented Windows
  3. itl.h   : Internationalization header
  4. This contains strings for use in QBASIC dialog boxes.
  5. You have a string in quotes, followed by its length +
  6. the total number of spaces to have on each side of
  7. the string.
  8. eg. "OK" is 2 long, the 4 means put 4/2=2 spaces on
  9.     each side of the word when it is being displayed.
  10.     make sure you leave the brackets around the numbers
  11.     ie, 2+4 is incorrect, (2+4) is correct.
  12. Some also have their hotkey following the key and the
  13. size, make sure that you leave the single qutoes (')
  14. around these characters.
  15. You may have to make some adjustments to the .des files
  16. when you have changed this file.
  17. eg, say you translate "OK" to "Okay", then the size
  18. might go to (4+4), or whatever you want.
  19. Then you would go to the .des files.
  20. lines with the following would have to be modified:
  21. OK_BUTTON AT (col, row, 6, 1) ACT...........
  22. ^
  23. to
  24. OK_BUTTON AT (col, row, 8, 1) ACT...........
  25. ^
  26. */
  27. #define szOk            "OK"
  28. #define cchOk           (2+4)
  29. /* chAccelOk no accelerator */
  30. #define szYes "Ja"
  31. #define cchYes (2+2)
  32. #define chAccelYes 'J'
  33. #define szNo "Nee"
  34. #define cchNo (3+4)
  35. #define chAccelNo       'N'
  36. #define szCancel "Annuleren"
  37. #define cchCancel 11
  38. /* chAccelCancel no accelerator */
  39. #define szRetry  "Herhalen"
  40. #define cchRetry 10
  41. #define chAccelRetry 'H'
  42. #define szAbort  "Afbreken"
  43. #define cchAbort 10
  44. #define chAccelAbort    'A'
  45. #ifdef HELP_BUTTON
  46. #define szHelp          "Help"
  47. #define cchHelp         (4+2)
  48. #define chAccelHelp     'H'
  49. #endif