"Fossies" - the Fresh Open Source Software Archive

Member "remind-03.03.09/src/langs/norwgian.h" (15 Oct 2021, 3269 Bytes) of package /linux/misc/remind-03.03.09.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "norwgian.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 03.03.06_vs_03.03.07.

    1 /***************************************************************/
    2 /*                                                             */
    3 /*  NORWGIAN.H                                                 */
    4 /*                                                             */
    5 /*  Support for the Norwegian language.                        */
    6 /*                                                             */
    7 /*  This file is part of REMIND.                               */
    8 /*  This file is Copyright (C) 1993 by Trygve Randen.          */
    9 /*  Remind is Copyright (C) 1992-2021 by Dianne Skoll          */
   10 /*                                                             */
   11 /***************************************************************/
   12 
   13 /* The very first define in a language support file must be L_LANGNAME: */
   14 #define L_LANGNAME "Norwegian"
   15 
   16 /* Day names */
   17 #if ISOLATIN1
   18 #  define L_SUNDAY "S\370ndag"
   19 #else
   20 #  define L_SUNDAY "Soendag"
   21 #endif
   22 #define L_MONDAY "Mandag"
   23 #define L_TUESDAY "Tirsdag"
   24 #define L_WEDNESDAY "Onsdag"
   25 #define L_THURSDAY "Torsdag"
   26 #define L_FRIDAY "Fredag"
   27 #if ISOLATIN1
   28 #  define L_SATURDAY "L\370rdag"
   29 #else
   30 #  define L_SATURDAY "Loerdag"
   31 #endif
   32 
   33 /* Month names */
   34 #define L_JAN "Januar"
   35 #define L_FEB "Februar"
   36 #define L_MAR "Mars"
   37 #define L_APR "April"
   38 #define L_MAY "Mai"
   39 #define L_JUN "Juni"
   40 #define L_JUL "Juli"
   41 #define L_AUG "August"
   42 #define L_SEP "September"
   43 #define L_OCT "Oktober"
   44 #define L_NOV "November"
   45 #define L_DEC "Desember"
   46 
   47 /* Today and tomorrow */
   48 #define L_TODAY "i dag"
   49 #define L_TOMORROW "i morgen"
   50 
   51 /* The default banner */
   52 #if ISOLATIN1
   53 #  define L_BANNER "P\345minnelse for %w, %d. %m, %y%o:"
   54 #else
   55 #  define L_BANNER "Paaminnelse for %w, %d. %m, %y%o:"
   56 #endif
   57 
   58 /* "am" and "pm" */
   59 #define L_AM "am"
   60 #define L_PM "pm"
   61 
   62 /*** The following are only used in dosubst.c ***/
   63 #ifdef L_IN_DOSUBST
   64 
   65 /* Ago and from now */
   66 #define L_AGO "siden"
   67 #if ISOLATIN1
   68 #  define L_FROMNOW "fra n\345"
   69 #else
   70 #  define L_FROMNOW "fra naa"
   71 #endif
   72 
   73 /* "in %d days' time" */
   74 #define L_INXDAYS "om %d dager"
   75 
   76 /* "on" as in "on date..." */
   77 #define L_ON "den"
   78 
   79 /* Pluralizing - this is a problem for many languages and may require
   80    a more drastic fix */
   81 #define L_PLURAL "er"
   82 
   83 /* Minutes, hours, at, etc */
   84 #if ISOLATIN1
   85 #  define L_NOW "n\345"
   86 #else
   87 #  define L_NOW "naa"
   88 #endif
   89 #define L_AT "kl."
   90 #define L_MINUTE "minutt"
   91 #define L_HOUR "time"
   92 #define L_IS "er"
   93 #define L_WAS "var"
   94 #define L_AND "og"
   95 /* What to add to make "hour" plural */
   96 #define L_HPLU "r"  
   97 /* What to add to make "minute" plural */
   98 #define L_MPLU "er"
   99 
  100 /* Define any overrides here, such as L_ORDINAL_OVERRIDE, L_A_OVER, etc.
  101    See the file dosubst.c for more info. */
  102 #define L_ORDINAL_OVERRIDE              plu = ".";
  103 #define L_A_OVER                        if (altmode == '*') { sprintf(s, "%s, den %d. %s %d", DayName[jul%7], d, MonthName[m], y); } else { sprintf(s, "%s %s, den %d. %s %d", L_ON, DayName[jul%7], d, MonthName[m], y); }
  104 #define L_G_OVER                        if (altmode == '*') { sprintf(s, "%s, den %d. %s", DayName[jul%7], d, MonthName[m]); } else { sprintf(s, "%s %s, den %d. %s", L_ON, DayName[jul%7], d, MonthName[m]); }
  105 #define L_U_OVER                        L_A_OVER
  106 #define L_V_OVER                        L_G_OVER
  107 
  108 
  109 #endif /* L_IN_DOSUBST */