Roxen.git / server / languages / catala.pike

version» Context lines:

Roxen.git/server/languages/catala.pike:1:   /* Bugs by: Per */ - string cvs_version = "$Id: catala.pike,v 1.6 1998/07/11 18:53:57 grubba Exp $"; +    /* Trans by: jordi@lleida.net    * This version revised by a catalan linguist.    */   /*    * name = "Catalan language plugin ";    * doc = "Handles the conversion of numbers and dates to Catalan. You have to restart the server for updates to take effect. Translation by jordi@lleida.net, revised by a catalan linguist.";    */    -  + inherit "abstract.pike";    - string month(int num) - { -  return ({ "gener", "febrer", "març", "abril", "maig", + constant cvs_version = "$Id: catala.pike,v 1.7 2000/01/17 21:03:19 nilsson Exp $"; + constant _id = ({ "ca", "catala" }); + constant _aliases = ({ "ca", "cat", "catala", "es_CA" }); +  + constant months=({ +  "gener", "febrer", "març", "abril", "maig",    "juny", "juliol", "agost", "setembre", "octubre", -  "novembre", "desembre" })[ num - 1 ]; - } +  "novembre", "desembre" });    -  + constant days = ({ +  "diumenge","dilluns","dimarts","dimecres", +  "dijous","divendres","dissabte" }); +    string ordered(int i)   {    switch(i)    {    case 1: return "1r";    case 2: return "2n";    case 3: return "3r";    case 4: return "4t";    default:    return i+"è";
Roxen.git/server/languages/catala.pike:127:    case 1000000..1999999:    return "un milio "+number(num%1000000);       case 2000000..999999999:    return number(num/1000000)+" milions "+number(num%1000000);       default:    return "moltíssim";    }   } -  - string day(int num) - { -  return ({ "diumenge","dilluns","dimarts","dimecres", -  "dijous","divendres","dissabte" })[ num - 1 ]; - } -  - array aliases() - { -  return ({ "ca", "cat", "catala", "es_CA" }); - } +