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:   /*    - string cvs_version = "$Id: french.pike,v 1.7 1998/09/22 14:53:53 grubba Exp $"; + string cvs_version = "$Id: french.pike,v 1.8 2000/01/17 21:03:20 nilsson Exp $";   Created by:      ---------------------+--------------------------------------------------
18:    * doc = "Handles the conversion of numbers and dates to French. You have to restart the server for updates to take effect. Translation by Patrick Kremer.";    */    + inherit "abstract.pike";    - string month(int num) - { -  return ({ "janvier", "février", "mars", "avril", "mai", + constant _id = ({ "fr", "french" }); + constant _aliases = ({ "fr", "fra", "français", "french" }); +  + constant months = ({ +  "janvier", "février", "mars", "avril", "mai",    "juin", "juillet", "août", "septembre", "octobre", -  "novembre", "décembre" })[ num - 1 ]; - } +  "novembre", "décembre" });    -  + constant day = ({ +  "dimanche", "lundi", "mardi", "mercredi", +  "jeudi", "vendredi", "samedi" }); +    string ordered(int i)   {    switch(i)
136:    return "beaucoup";    }   } -  - string day(int num) - { -  return ({ "dimanche", "lundi", "mardi", "mercredi", -  "jeudi", "vendredi", "samedi" })[ num - 1 ]; - } -  - array aliases() - { -  return ({ "fr", "fra", "français", "french" }); - } -  +