]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/data/rbnf/es.txt
ICU-64260.0.1.tar.gz
[apple/icu.git] / icuSources / data / rbnf / es.txt
index 41968911e5b31df3e82113401c0fd6012a1a7513..a00551bcf4e6963a46ba36d95900a88e10eb55a5 100644 (file)
-// ***************************************************************************
-// *
-// *   Copyright (C) 2004, International Business Machines
-// *   Corporation and others.  All Rights Reserved.
-// *
-// ***************************************************************************
-// 
-
-es {
-    //------------------------------------------------------------
-    // Rule Based Number Format Support
-    //------------------------------------------------------------
-
-    // * Spellout rules for Spanish.  The Spanish rules are quite similar to
-    // * the English rules, but there are some important differences:
-    // * First, we have to provide separate rules for most of the twenties
-    // * because the ones digit frequently picks up an accent mark that it
-    // * doesn't have when standing alone.  Second, each multiple of 100 has
-    // * to be specified separately because the multiplier on 100 very often
-    // * changes form in the contraction: 500 is "quinientos," not
-    // * "cincocientos."  In addition, the word for 100 is "cien" when
-    // * standing alone, but changes to "ciento" when followed by more digits.
-    // * There also some other differences.
-
-    // The Spanish rules are incomplete.  I'm missing information on negative
-    // numbers and numbers with fractional parts.  I also don't have
-    // information on numbers higher than the millions.
-
-    SpelloutRules {
-        // negative-number and fraction rules
-        "-x: menos >>;\n"
-        "x.x: << punto >>;\n"
-        // words for values from 0 to 19
-        "cero; uno; dos; tres; cuatro; cinco; seis; siete; ocho; nueve;\n"
-        "diez; once; doce; trece; catorce; quince; diecis\u00e9is;\n"
-        "    diecisiete; dieciocho; diecinueve;\n"
-        // words for values from 20 to 29 (necessary because the ones digit
-        // often picks up an accent mark it doesn't have when standing alone)
-        "veinte; veintiuno; veintid\u00f3s; veintitr\u00e9s; veinticuatro;\n"
-        "    veinticinco; veintis\u00e9is; veintisiete; veintiocho;\n"
-        "    veintinueve;\n"
-        // words for multiples of 10 (notice that the tens digit is separated
-        // from the ones digit by the word "y".)
-        "30: treinta[ y >>];\n"
-        "40: cuarenta[ y >>];\n"
-        "50: cincuenta[ y >>];\n"
-        "60: sesenta[ y >>];\n"
-        "70: setenta[ y >>];\n"
-        "80: ochenta[ y >>];\n"
-        "90: noventa[ y >>];\n"
-        // 100 by itself is "cien," but 100 followed by something is "cineto"
-        "100: cien;\n"
-        "101: ciento >>;\n"
-        // words for multiples of 100 (must be stated because they're
-        // rarely simple concatenations)
-        "200: doscientos[ >>];\n"
-        "300: trescientos[ >>];\n"
-        "400: cuatrocientos[ >>];\n"
-        "500: quinientos[ >>];\n"
-        "600: seiscientos[ >>];\n"
-        "700: setecientos[ >>];\n"
-        "800: ochocientos[ >>];\n"
-        "900: novecientos[ >>];\n"
-        // for 1,000, the multiplier on "mil" is omitted: 2,000 is "dos mil,"
-        // but 1,000 is just "mil."
-        "1000: mil[ >>];\n"
-        "2000: << mil[ >>];\n"
-        // 1,000,000 is "un millon," not "uno millon"
-        "1,000,000: un mill\u00f3n[ >>];\n"
-        "2,000,000: << mill\u00f3n[ >>];\n"
-        // overflow rule
-        "1,000,000,000: =#,##0= (incomplete data);" 
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html#License
+es{
+    RBNFRules{
+        OrdinalRules{
+            "%%dord-mascabbrev:",
+            "0: \u00BA;",
+            "1: \u1D49\u02B3;",
+            "2: \u00BA;",
+            "3: \u1D49\u02B3;",
+            "4: \u00BA;",
+            "20: >>;",
+            "100: >>;",
+            "%digits-ordinal-masculine-adjective:",
+            "-x: \u2212>>;",
+            "0: =#,##0=.=%%dord-mascabbrev=;",
+            "%digits-ordinal-masculine:",
+            "-x: \u2212>>;",
+            "0: =#,##0=.\u00BA;",
+            "%digits-ordinal-feminine:",
+            "-x: \u2212>>;",
+            "0: =#,##0=.\u00AA;",
+            "%digits-ordinal:",
+            "0: =%digits-ordinal-masculine=;",
+        }
+        SpelloutRules{
+            "%%lenient-parse:",
+            "&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';",
+            "%spellout-numbering-year:",
+            "x.x: =0.0=;",
+            "0: =%spellout-numbering=;",
+            "%spellout-numbering:",
+            "-x: menos >>;",
+            "x.x: << punto >>;",
+            "x,x: << coma >>;",
+            "0: cero;",
+            "1: uno;",
+            "2: dos;",
+            "3: tres;",
+            "4: cuatro;",
+            "5: cinco;",
+            "6: seis;",
+            "7: siete;",
+            "8: ocho;",
+            "9: nueve;",
+            "10: diez;",
+            "11: once;",
+            "12: doce;",
+            "13: trece;",
+            "14: catorce;",
+            "15: quince;",
+            "16: diecis\u00E9is;",
+            "17: dieci>>;",
+            "20: veinte;",
+            "21: veintiuno;",
+            "22: veintid\u00F3s;",
+            "23: veintitr\u00E9s;",
+            "24: veinticuatro;",
+            "25: veinticinco;",
+            "26: veintis\u00E9is;",
+            "27: veinti>>;",
+            "30: treinta[ y >>];",
+            "40: cuarenta[ y >>];",
+            "50: cincuenta[ y >>];",
+            "60: sesenta[ y >>];",
+            "70: setenta[ y >>];",
+            "80: ochenta[ y >>];",
+            "90: noventa[ y >>];",
+            "100: cien;",
+            "101: ciento >>;",
+            "200: doscientos[ >>];",
+            "300: trescientos[ >>];",
+            "400: cuatrocientos[ >>];",
+            "500: quinientos[ >>];",
+            "600: seiscientos[ >>];",
+            "700: setecientos[ >>];",
+            "800: ochocientos[ >>];",
+            "900: novecientos[ >>];",
+            "1000: mil[ >>];",
+            "2000: <%spellout-cardinal-masculine< mil[ >>];",
+            "1000000: un mill\u00F3n[ >>];",
+            "2000000: <%spellout-cardinal-masculine< millones[ >>];",
+            "1000000000000: un bill\u00F3n[ >>];",
+            "2000000000000: <%spellout-cardinal-masculine< billones[ >>];",
+            "1000000000000000000: =#,##0=;",
+            "%spellout-cardinal-masculine:",
+            "-x: menos >>;",
+            "x.x: << punto >>;",
+            "x,x: << coma >>;",
+            "0: cero;",
+            "1: un;",
+            "2: =%spellout-numbering=;",
+            "21: veinti\u00FAn;",
+            "22: =%spellout-numbering=;",
+            "30: treinta[ y >>];",
+            "40: cuarenta[ y >>];",
+            "50: cincuenta[ y >>];",
+            "60: sesenta[ y >>];",
+            "70: setenta[ y >>];",
+            "80: ochenta[ y >>];",
+            "90: noventa[ y >>];",
+            "100: cien;",
+            "101: ciento >>;",
+            "200: doscientos[ >>];",
+            "300: trescientos[ >>];",
+            "400: cuatrocientos[ >>];",
+            "500: quinientos[ >>];",
+            "600: seis\u00ADcientos[ >>];",
+            "700: sete\u00ADcientos[ >>];",
+            "800: ocho\u00ADcientos[ >>];",
+            "900: nove\u00ADcientos[ >>];",
+            "1000: mil[ >>];",
+            "2000: <%spellout-cardinal-masculine< mil[ >>];",
+            "1000000: un mill\u00F3n[ >>];",
+            "2000000: <%spellout-cardinal-masculine< millones[ >>];",
+            "1000000000000: un bill\u00F3n[ >>];",
+            "2000000000000: <%spellout-cardinal-masculine< billones[ >>];",
+            "1000000000000000000: =#,##0=;",
+            "%spellout-cardinal-feminine:",
+            "-x: menos >>;",
+            "x.x: << punto >>;",
+            "x,x: << coma >>;",
+            "0: cero;",
+            "1: una;",
+            "2: =%spellout-numbering=;",
+            "21: veintiuna;",
+            "22: =%spellout-numbering=;",
+            "30: treinta[ y >>];",
+            "40: cuarenta[ y >>];",
+            "50: cincuenta[ y >>];",
+            "60: sesenta[ y >>];",
+            "70: setenta[ y >>];",
+            "80: ochenta[ y >>];",
+            "90: noventa[ y >>];",
+            "100: cien;",
+            "101: ciento >>;",
+            "200: dos\u00ADcientas[ >>];",
+            "300: tres\u00ADcientas[ >>];",
+            "400: cuatro\u00ADcientas[ >>];",
+            "500: quinientas[ >>];",
+            "600: seis\u00ADcientas[ >>];",
+            "700: sete\u00ADcientas[ >>];",
+            "800: ocho\u00ADcientas[ >>];",
+            "900: nove\u00ADcientas[ >>];",
+            "1000: mil[ >>];",
+            "2000: <%spellout-cardinal-masculine< mil[ >>];",
+            "1000000: un mill\u00F3n[ >>];",
+            "2000000: <%spellout-cardinal-masculine< millones[ >>];",
+            "1000000000000: un bill\u00F3n[ >>];",
+            "2000000000000: <%spellout-cardinal-masculine< billones[ >>];",
+            "1000000000000000000: =#,##0=;",
+            "%spellout-ordinal-masculine-adjective:",
+            "-x: menos >>;",
+            "x.x: =#,##0.#=;",
+            "0: cero;",
+            "1: primer;",
+            "2: segundo;",
+            "3: tercer;",
+            "4: cuarto;",
+            "5: quinto;",
+            "6: sexto;",
+            "7: s\u00E9ptimo;",
+            "8: octavo;",
+            "9: noveno;",
+            "10: d\u00E9cimo;",
+            "11: und\u00E9cimo;",
+            "12: duod\u00E9cimo;",
+            "13: decimo>>;",
+            "18: decim>>;",
+            "19: decimo>>;",
+            "20: vig\u00E9simo[ >>];",
+            "30: trig\u00E9simo[ >>];",
+            "40: cuadrag\u00E9simo[ >>];",
+            "50: quincuag\u00E9simo[ >>];",
+            "60: sexag\u00E9simo[ >>];",
+            "70: septuag\u00E9simo[ >>];",
+            "80: octog\u00E9simo[ >>];",
+            "90: nonag\u00E9simo[ >>];",
+            "100: cent\u00E9simo[ >>];",
+            "200: ducent\u00E9simo[ >>];",
+            "300: tricent\u00E9simo[ >>];",
+            "400: cuadringent\u00E9simo[ >>];",
+            "500: quingent\u00E9simo[ >>];",
+            "600: sexcent\u00E9simo[ >>];",
+            "700: septingent\u00E9simo[ >>];",
+            "800: octing\u00E9simo[ >>];",
+            "900: noningent\u00E9simo[ >>];",
+            "1000: mil\u00E9simo[ >>];",
+            "2000: <%spellout-cardinal-masculine< mil\u00E9simo[ >>];",
+            "1000000: un millon\u00E9simo[ >>];",
+            "2000000: <%spellout-cardinal-masculine< millon\u00E9simo[ >>];",
+            "1000000000000: un billon\u00E9simo[ >>];",
+            "2000000000000: <%spellout-cardinal-masculine< billon\u00E9simo[ >>];",
+            "1000000000000000000: =#,##0=\u00BA;",
+            "%spellout-ordinal-masculine-plural:",
+            "-x: menos >>;",
+            "x.x: =#,##0.#=;",
+            "0: =%spellout-ordinal-masculine=;",
+            "1: =%spellout-ordinal-masculine=s;",
+            "1000000000000000000: =#,##0=\u00BA;",
+            "%spellout-ordinal-masculine:",
+            "-x: menos >>;",
+            "x.x: =#,##0.#=;",
+            "0: cero;",
+            "1: primero;",
+            "2: segundo;",
+            "3: tercero;",
+            "4: cuarto;",
+            "5: quinto;",
+            "6: sexto;",
+            "7: s\u00E9ptimo;",
+            "8: octavo;",
+            "9: noveno;",
+            "10: d\u00E9cimo;",
+            "11: decimo>>;",
+            "18: decim>>;",
+            "19: decimo>>;",
+            "20: vig\u00E9simo[ >>];",
+            "30: trig\u00E9simo[ >>];",
+            "40: cuadrag\u00E9simo[ >>];",
+            "50: quincuag\u00E9simo[ >>];",
+            "60: sexag\u00E9simo[ >>];",
+            "70: septuag\u00E9simo[ >>];",
+            "80: octog\u00E9simo[ >>];",
+            "90: nonag\u00E9simo[ >>];",
+            "100: cent\u00E9simo[ >>];",
+            "200: ducent\u00E9simo[ >>];",
+            "300: tricent\u00E9simo[ >>];",
+            "400: cuadringent\u00E9simo[ >>];",
+            "500: quingent\u00E9simo[ >>];",
+            "600: sexcent\u00E9simo[ >>];",
+            "700: septingent\u00E9simo[ >>];",
+            "800: octing\u00E9simo[ >>];",
+            "900: noningent\u00E9simo[ >>];",
+            "1000: mil\u00E9simo[ >>];",
+            "2000: <%spellout-cardinal-masculine< mil\u00E9simo[ >>];",
+            "1000000: un millon\u00E9simo[ >>];",
+            "2000000: <%spellout-cardinal-masculine< millon\u00E9simo[ >>];",
+            "1000000000000: un billon\u00E9simo[ >>];",
+            "2000000000000: <%spellout-cardinal-masculine< billon\u00E9simo[ >>];",
+            "1000000000000000000: =#,##0=\u00BA;",
+            "%spellout-ordinal-feminine-plural:",
+            "-x: menos >>;",
+            "x.x: =#,##0.#=;",
+            "0: =%spellout-ordinal-feminine=;",
+            "1: =%spellout-ordinal-feminine=s;",
+            "1000000000000000000: =#,##0=\u00AA;",
+            "%spellout-ordinal-feminine:",
+            "-x: menos >>;",
+            "x.x: =#,##0.#=;",
+            "0: cero;",
+            "1: primera;",
+            "2: segunda;",
+            "3: tercera;",
+            "4: cuarta;",
+            "5: quinta;",
+            "6: sexta;",
+            "7: s\u00E9ptima;",
+            "8: octava;",
+            "9: novena;",
+            "10: d\u00E9cima;",
+            "11: decimo>>;",
+            "18: decim>>;",
+            "19: decimo>>;",
+            "20: vig\u00E9sima[ >>];",
+            "30: trig\u00E9sima[ >>];",
+            "40: cuadrag\u00E9sima[ >>];",
+            "50: quincuag\u00E9sima[ >>];",
+            "60: sexag\u00E9sima[ >>];",
+            "70: septuag\u00E9sima[ >>];",
+            "80: octog\u00E9sima[ >>];",
+            "90: nonag\u00E9sima[ >>];",
+            "100: cent\u00E9sima[ >>];",
+            "200: ducent\u00E9sima[ >>];",
+            "300: tricent\u00E9sima[ >>];",
+            "400: cuadringent\u00E9sima[ >>];",
+            "500: quingent\u00E9sima[ >>];",
+            "600: sexcent\u00E9sima[ >>];",
+            "700: septingent\u00E9sima[ >>];",
+            "800: octing\u00E9sima[ >>];",
+            "900: noningent\u00E9sima[ >>];",
+            "1000: mil\u00E9sima[ >>];",
+            "2000: <%spellout-cardinal-masculine< mil\u00E9sima[ >>];",
+            "1000000: un millon\u00E9sima[ >>];",
+            "2000000: <%spellout-cardinal-masculine< millon\u00E9sima[ >>];",
+            "1000000000000: un billon\u00E9sima[ >>];",
+            "2000000000000: <%spellout-cardinal-masculine< billon\u00E9sima[ >>];",
+            "1000000000000000000: =#,##0=\u00AA;",
+        }
     }
+    Version{"2.1.27.33"}
 }