pike.git / lib / modules / Calendar.pmod / Language.pmod

version» Context lines:

pike.git/lib/modules/Calendar.pmod/Language.pmod:1177:    "czwartek",    "piatek",    "sobota",    "niedziela",    });       void create() { SETUPSTUFF; }   }       - // source: anonymous unix locale file + // source: Cile Ekici (@ Roxen IS)      constant cTR=cTURKISH; // Turkish   constant cTUR=cTURKISH; // Turkish   class cTURKISH   {    inherit _ymd_base;       static private constant month_names=    ({    "Ocak",    "Subat",    "Mart",    "Nisan",    "Mayis",    "Haziran",    "Temmuz",    "Agustos", -  "Eylul", +  "Eylül",    "Ekim",    "Kasim",    "Aralik",    });       static private constant week_day_names=    ({    "Pazartesi",    "Sali", // <S><a><l><i.> -  "Carsamba", +  "Çarsamba",    "Persembe",    "Cuma",    "Cumartesi",    "Pazar",    });       void create() { SETUPSTUFF; }   }    -  + constant cTR_UNICODE=cTURKISH_UNICODE; // Turkish + constant cTUR_UNICODE=cTURKISH_UNICODE; // Turkish + class cTURKISH_UNICODE + { +  inherit _ymd_base; +  +  static private constant month_names= +  ({ +  "Ocak", +  "\015e""ubat", // S-cedilla +  "Mart", +  "Nisan", +  "May\x0131""s", // i-no-dot +  "Haziran", +  "Temmuz", +  "A\x01e5""ustos", // line over g +  "Eylül", +  "Ekim", +  "Kas\x0131""m", // i-no-dot +  "Aral\x0131""k", // i-no-dot +  }); +  +  static private constant week_day_names= +  ({ +  "Pazartesi", +  "Sal\x0131", // <S><a><l><i.> i without dot +  "Çarsamba", +  "Per\x015f""embe",// s-cedilla +  "Cuma", +  "Cumartesi", +  "Pazar", +  }); +  +  void create() { SETUPSTUFF; } + } +    // source: anonymous unix locale file            constant cDE=cGERMAN; // German   constant cDEU=cGERMAN;   class cGERMAN   {    inherit _ymd_base;   
pike.git/lib/modules/Calendar.pmod/Language.pmod:1294:    "tresdiena",    "ceturtdiena",    "piektdiena",    "sestdiena",    "svetdiena", // <s><v><e-><t><d><i><e><n><a>    });       void create() { SETUPSTUFF; }   }    + constant cLV_UNICODE=cLATVIAN_UNICODE; + constant cLAV_UNICODE=cLATVIAN_UNICODE;   class cLATVIAN_UNICODE   {    inherit _ymd_base;       static private constant month_names=    ({    "janv\x0101""ris", // <j><a><n><v><a-><r><i><s>    "februaris",    "marts",    "apr\x012b""lis", // <a><p><r><i-><l><i><s>
pike.git/lib/modules/Calendar.pmod/Language.pmod:1976:      static mapping _cache=([]);      Ruleset.Language `[](string lang)   {    lang=upper_case(lang);    Ruleset.Language l=_cache[lang];    if (l) return l;    program cl=::`[]("c"+lang);    + // if unicode doesn't exist, try without +  if (!cl && sscanf(lang,"%S_UNICODE",lang)) +  cl=::`[]("c"+lang); +     if (!cl) { return ([])[0]; }       l=_cache[lang]=cl();       return l;   }