home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / remind / src / german.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-12  |  3.1 KB  |  104 lines

  1. /***************************************************************/
  2. /*                                                             */
  3. /*  GERMAN.H                                                   */
  4. /*                                                             */
  5. /*  Support for the German language.                           */
  6. /*                                                             */
  7. /*  This file was derived from a patch submitted by Wolfgang   */
  8. /*  Thronicke.  I don't guarantee that there are no mistakes - */
  9. /*  I don't speak German.                                      */
  10. /*                                                             */
  11. /*  This file is part of REMIND.                               */
  12. /*  Copyright (C) 1992, 1993 by David F. Skoll.                */
  13. /*                                                             */
  14. /***************************************************************/
  15.  
  16. /* The very first define in a language support file must be L_LANGNAME: */
  17. #define L_LANGNAME "German"
  18.  
  19. /* Day names */
  20. #define L_SUNDAY "Sonntag"
  21. #define L_MONDAY "Montag"
  22. #define L_TUESDAY "Dienstag"
  23. #define L_WEDNESDAY "Mittwoch"
  24. #define L_THURSDAY "Donnerstag"
  25. #define L_FRIDAY "Freitag"
  26. #define L_SATURDAY "Samstag"
  27.  
  28. /* Day initials - first letter only */
  29. #define L_DAYINIT "SMDMDFS"
  30.  
  31. /* Month names */
  32. #define L_JAN "Januar"
  33. #define L_FEB "Februar"
  34. #ifdef ISOLATIN1
  35. #  define L_MAR "M\344rz"
  36. #else
  37. #  define L_MAR "Maerz"
  38. #endif
  39. #define L_APR "April"
  40. #define L_MAY "Mai"
  41. #define L_JUN "Juni"
  42. #define L_JUL "Juli"
  43. #define L_AUG "August"
  44. #define L_SEP "September"
  45. #define L_OCT "Oktober"
  46. #define L_NOV "November"
  47. #define L_DEC "Dezember"
  48.  
  49. /* Today and tomorrow */
  50. #define L_TODAY "heute"
  51. #define L_TOMORROW "morgen"
  52.  
  53. /* The default banner */
  54. #ifdef ISOLATIN1
  55. #  define L_BANNER "Termine f\374r %w, den %d. %m %y%o:"
  56. #else
  57. #  define L_BANNER "Termine fuer %w, den %d. %m %y%o:"
  58. #endif
  59.  
  60. /* "am" and "pm" */
  61. #define L_AM "am"
  62. #define L_PM "pm"
  63.  
  64. /*** The following are only used in dosubst.c ***/
  65. #ifdef L_IN_DOSUBST
  66.  
  67. /* Ago and from now */
  68. #define L_AGO "vorher"
  69. #define L_FROMNOW "von heute"
  70.  
  71. /* "in %d days' time" */
  72. #define L_INXDAYS "in %d Tagen"
  73.  
  74. /* "on" as in "on date..." */
  75. #define L_ON "am"
  76.  
  77. /* Pluralizing - this is a problem for many languages and may require
  78.    a more drastic fix */
  79. #define L_PLURAL "en"
  80.  
  81. /* Minutes, hours, at, etc */
  82. #define L_NOW "jetzt"
  83. #define L_AT "um"
  84. #define L_MINUTE "Minute"
  85. #define L_HOUR "Stunde"
  86. #define L_IS "ist"
  87. #define L_WAS "war"
  88. #define L_AND "und"
  89. /* What to add to make "hour" plural */
  90. #define L_HPLU "n"  
  91. /* What to add to make "minute" plural */
  92. #define L_MPLU "n"
  93.  
  94. /* Define any overrides here, such as L_ORDINAL_OVERRIDE, L_A_OVER, etc.
  95.    See the file dosubst.c for more info. */
  96. #define L_AMPM_OVERRIDE(ampm, hour)    ampm = (hour < 12) ? (hour<5) ? " nachts" : " vormittags" : (hour > 17) ? " abends" : " nachmittags";
  97. #define L_ORDINAL_OVERRIDE        plu = ".";
  98. #define L_A_OVER            sprintf(s, "%s %s, den %d. %s %d", L_ON, DayName[jul%7], d, MonthName[m], y);
  99. #define    L_G_OVER            sprintf(s, "%s %s, den %d. %s", L_ON, DayName[jul%7], d, MonthName[m]);
  100. #define L_U_OVER            L_A_OVER
  101. #define L_V_OVER            L_G_OVER
  102.  
  103. #endif /* L_IN_DOSUBST */
  104.