Branch: Tag:

2000-01-17

2000-01-17 21:03:20 by Martin Nilsson <mani@lysator.liu.se>

Inherit abstract to make additions easier.

Rev: server/languages/catala.pike:1.7
Rev: server/languages/croatian.pike:1.7
Rev: server/languages/czech.pike:1.10
Rev: server/languages/dutch.pike:1.7
Rev: server/languages/english.pike:1.10
Rev: server/languages/finnish.pike:1.6
Rev: server/languages/french.pike:1.8
Rev: server/languages/german.pike:1.8
Rev: server/languages/hungarian.pike:1.3
Rev: server/languages/italian.pike:1.10
Rev: server/languages/japanese.pike:1.12
Rev: server/languages/maori.pike:1.6
Rev: server/languages/norwegian.pike:1.6
Rev: server/languages/polish.pike:1.3
Rev: server/languages/portuguese.pike:1.8
Rev: server/languages/russian.pike:1.5
Rev: server/languages/serbian.pike:1.6
Rev: server/languages/slovenian.pike:1.11
Rev: server/languages/spanish.pike:1.7
Rev: server/languages/swedish.pike:1.11

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.    */
8:    * 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)
134:    return "molt&iacute;ssim";    }   } -  - string day(int num) - { -  return ({ "diumenge","dilluns","dimarts","dimecres", -  "dijous","divendres","dissabte" })[ num - 1 ]; - } -  - array aliases() - { -  return ({ "ca", "cat", "catala", "es_CA" }); - } +