X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/48b980fed3435926e0b3a8d72ecb58be703a1c7a..729e4ab9bc6618bc3d8a898e575df7f4019e29ca:/icuSources/data/rbnf/sv.txt diff --git a/icuSources/data/rbnf/sv.txt b/icuSources/data/rbnf/sv.txt index 2a16566c..d7063c71 100644 --- a/icuSources/data/rbnf/sv.txt +++ b/icuSources/data/rbnf/sv.txt @@ -1,95 +1,247 @@ -// *************************************************************************** +// *************************************************************************** // * -// * Copyright (C) 2004, International Business Machines -// * Corporation and others. All Rights Reserved. +// * Copyright (C) 2010 International Business Machines +// * Corporation and others. All Rights Reserved. +// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java +// * Source File:/common/rbnf/sv.xml // * // *************************************************************************** -// - -sv { - //------------------------------------------------------------ - // Rule Based Number Format Support - //------------------------------------------------------------ - - // Spellout rules for Swedish. - // Thanks to Kent Karlsson for cleaning up these rules. - // (rapport inskickad till ICU 2001-11-03; ny version inskickad till Doug Felt 2001-11-07) - - SpelloutRules { - "%year:\n" - "=%neutrum=;\n" - "1000>: <%neutrum>];\n" - "10,000: =%neutrum=;\n" - // the same as default except we change the one's digit, wish there were a better way - "%neutrum:\n" - "-x: minus >>;\n" - "x.x: << komma >>;\n" - "noll; ett; tv\u00e5; tre; fyra; fem; sex; sju; \u00e5tta; nio;\n" - "tio; elva; tolv; tretton; fjorton; femton; sexton; sjutton; arton; nitton;\n" - "20: tjugo[>>];\n" - "30: trettio[>>];\n" - "40: fyrtio[>>];\n" - "50: femtio[>>];\n" - "60: sextio[>>];\n" - "70: sjuttio[>>];\n" - "80: \u00e5ttio[>>];\n" - "90: nittio[>>];\n" - "100: <>];\n" - "1000: ettusen[ >>];\n" - "2000: <%default<\u00adtusen[ >>];\n" - "1,000,000: en miljon[ >>];\n" - "2,000,000: <%default< miljoner[ >>];\n" - "1,000,000,000: en miljard[ >>];\n" - "2,000,000,000: <%default< miljarder[ >>];\n" - "1,000,000,000,000: en biljon[ >>];\n" - "2,000,000,000,000: <%default< biljoner[ >>];\n" - "1,000,000,000,000,000: en triljon[ >>];\n" - "2,000,000,000,000,000: <%default< triljoner[ >>];\n" - "1,000,000,000,000,000,000: =#,##0=;\n" - "%default:\n" - " -x: minus >>;\n" - "x.x: << komma >>;\n" - "noll; en; tv\u00e5; tre; fyra; fem; sex; sju; \u00e5tta; nio;\n" - "tio; elva; tolv; tretton; fjorton; femton; sexton; sjutton; arton; nitton;\n" - "20: tjugo[>>];\n" - "30: trettio[>>];\n" - "40: fyrtio[>>];\n" - "50: femtio[>>];\n" - "60: sextio[>>];\n" - "70: sjuttio[>>];\n" - "80: \u00e5ttio[>>];\n" - "90: nittio[>>];\n" - "100: etthundra[\u00ad>>];\n" - "200: <>];\n" - "1000: ettusen[ >>];\n" - "2000: <<\u00adtusen[ >>];\n" - "1,000,000: en miljon[ >>];\n" - "2,000,000: << miljoner[ >>];\n" - "1,000,000,000: en miljard[ >>];\n" - "2,000,000,000: << miljarder[ >>];\n" - "1,000,000,000,000: en biljon[ >>];\n" - "2,000,000,000,000: << biljoner[ >>];\n" - "1,000,000,000,000,000: en triljon[ >>];\n" - "2,000,000,000,000,000: << triljoner[ >>];\n" - "1,000,000,000,000,000,000: =#,##0=;\n" -/* - * Current (java) implementation can't handle these magnitudes - "1,000,000,000,000,000,000: en triljard[ >>];\n" - "2,000,000,000,000,000,000: << triljarder[ >>];\n" - * Current (c++) implmenatation can't handle these magnitudes - "1,000,000,000,000,000,000,000: en kvartiljon[ >>];\n" - "2,000,000,000,000,000,000,000: << kvartiljoner[ >>];\n" - "1,000,000,000,000,000,000,000,000: en kvartiljard[ >>];\n" - "2,000,000,000,000,000,000,000,000: << kvartiljarder[ >>];\n" - "1,000,000,000,000,000,000,000,000,000: en kvintiljon[ >>];\n" - "2,000,000,000,000,000,000,000,000,000: << kvintiljoner[ >>];\n" - "1,000,000,000,000,000,000,000,000,000,000: en kvintiljard[ >>];\n" - "2,000,000,000,000,000,000,000,000,000,000: << kvintiljarder[ >>];\n" - "1,000,000,000,000,000,000,000,000,000,000,000: en sextiljon[ >>];\n" - "2,000,000,000,000,000,000,000,000,000,000,000: << sextiljoner[ >>];\n" - "1,000,000,000,000,000,000,000,000,000,000,000,000: en sextiljard[ >>];\n" - "2,000,000,000,000,000,000,000,000,000,000,000,000: << sextiljarder[ >>];\n" - "1,000,000,000,000,000,000,000,000,000,000,000,000,000: =#,##0=" -*/ +/** + * ICU source: /xml/rbnf/sv.xml + */ +sv{ + RBNFRules{ + OrdinalRules{ + "%digits-ordinal-masculine:", + "-x: \u2212>>;", + "0: =#,##0==%%dord-mascabbrev=;", + "%%dord-mascabbrev:", + "0: :e", + "%digits-ordinal-neutre:", + "0: =%digits-ordinal-feminine=;", + "%digits-ordinal-reale:", + "0: =%digits-ordinal-feminine=;", + "%digits-ordinal-feminine:", + "-x: \u2212>>;", + "0: =#,##0==%%dord-femabbrev=;", + "%%dord-femabbrev:", + "0: :e;", + "1: :a;", + "2: :a;", + "3: :e;", + "20: >>;", + "100: >>;", + "%digits-ordinal:", + "0: =%digits-ordinal-masculine=;", + } + SpelloutRules{ + "%%lenient-parse:", + "&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';", + "%spellout-numbering-year:", + "-x: minus >>;", + "x.x: =#,###0.#=;", + "0: =%spellout-numbering=;", + "1100/100: <<\u00ADhundra[\u00AD>>];", + "10000: =%spellout-numbering=;", + "%spellout-numbering:", + "-x: minus >>;", + "x.x: << komma >>;", + "0: noll;", + "1: ett;", + "2: tv\u00E5;", + "3: tre;", + "4: fyra;", + "5: fem;", + "6: sex;", + "7: sju;", + "8: \u00E5tta;", + "9: nio;", + "10: tio;", + "11: elva;", + "12: tolv;", + "13: tretton;", + "14: fjorton;", + "15: femton;", + "16: sexton;", + "17: sjutton;", + "18: arton;", + "19: nitton;", + "20: tjugo[\u00AD>>];", + "30: trettio[\u00AD>>];", + "40: fyrtio[\u00AD>>];", + "50: femtio[\u00AD>>];", + "60: sextio[\u00AD>>];", + "70: sjuttio[\u00AD>>];", + "80: \u00E5ttio[\u00AD>>];", + "90: nittio[\u00AD>>];", + "100: <%spellout-numbering<\u00ADhundra[\u00AD>>];", + "1000: <%%spellout-numbering-t<\u00ADtusen[ >>];", + "1000000: en miljon[ >>];", + "2000000: <%spellout-cardinal-reale< miljoner[ >>];", + "1000000000: en miljard[ >>];", + "2000000000: <%spellout-cardinal-reale< miljarder[ >>];", + "1000000000000: en biljon[ >>];", + "2000000000000: <%spellout-cardinal-reale< biljoner[ >>];", + "1000000000000000: en biljard[ >>];", + "2000000000000000: <%spellout-cardinal-reale< biljarder[ >>];", + "1000000000000000000: =#,##0=;", + "%%spellout-numbering-t:", + "1: et;", + "2: tv\u00E5;", + "3: tre;", + "4: fyra;", + "5: fem;", + "6: sex;", + "7: sju;", + "8: \u00E5tta;", + "9: nio;", + "10: tio;", + "11: elva;", + "12: tolv;", + "13: tretton;", + "14: fjorton;", + "15: femton;", + "16: sexton;", + "17: sjutton;", + "18: arton;", + "19: nitton;", + "20: tjugo[\u00AD>>];", + "30: trettio[\u00AD>>];", + "40: fyrtio[\u00AD>>];", + "50: femtio[\u00AD>>];", + "60: sextio[\u00AD>>];", + "70: sjuttio[\u00AD>>];", + "80: \u00E5ttio[\u00AD>>];", + "90: nittio[\u00AD>>];", + "100: <%spellout-numbering<\u00ADhundra[\u00AD>>];", + "1000: ERROR;", + "%spellout-cardinal-neutre:", + "-x: minus >>;", + "x.x: << komma >>;", + "0: noll;", + "1: ett;", + "2: =%spellout-cardinal-reale=;", + "%spellout-cardinal-masculine:", + "0: =%spellout-cardinal-reale=;", + "%spellout-cardinal-feminine:", + "0: =%spellout-cardinal-reale=;", + "%spellout-cardinal-reale:", + "-x: minus >>;", + "x.x: << komma >>;", + "0: noll;", + "1: en;", + "2: =%spellout-numbering=;", + "20: tjugo[\u00AD>>];", + "30: trettio[\u00AD>>];", + "40: fyrtio[\u00AD>>];", + "50: femtio[\u00AD>>];", + "60: sextio[\u00AD>>];", + "70: sjuttio[\u00AD>>];", + "80: \u00E5ttio[\u00AD>>];", + "90: nittio[\u00AD>>];", + "100: <%spellout-cardinal-neutre<\u00ADhundra[\u00AD>>];", + "1000: ettusen[ >>];", + "2000: <%spellout-cardinal-reale<\u00ADtusen[ >>];", + "1000000: en miljon[ >>];", + "2000000: <%spellout-cardinal-reale< miljoner[ >>];", + "1000000000: en miljard[ >>];", + "2000000000: <%spellout-cardinal-reale< miljarder[ >>];", + "1000000000000: en biljon[ >>];", + "2000000000000: <%spellout-cardinal-reale< biljoner[ >>];", + "1000000000000000: en biljard[ >>];", + "2000000000000000: <%spellout-cardinal-reale< biljarder[ >>];", + "1000000000000000000: =#,##0=;", + "%spellout-ordinal-masculine:", + "-x: minus >>;", + "x.x: =#,##0.#=;", + "0: nollte;", + "1: f\u00F6rste;", + "2: andre;", + "3: tredje;", + "4: fj\u00E4rde;", + "5: femte;", + "6: sj\u00E4tte;", + "7: sjunde;", + "8: \u00E5ttonde;", + "9: nionde;", + "10: tionde;", + "11: elfte;", + "12: tolfte;", + "13: =%spellout-cardinal-neutre=de;", + "20: tjugo>%%ord-masc-nde>;", + "30: trettio>%%ord-masc-nde>;", + "40: fyrtio>%%ord-masc-nde>;", + "50: femtio>%%ord-masc-nde>;", + "60: sextio>%%ord-masc-nde>;", + "70: sjuttio>%%ord-masc-nde>;", + "80: \u00E5ttio>%%ord-masc-nde>;", + "90: nittio>%%ord-masc-nde>;", + "100: <%spellout-numbering<\u00ADhundra>%%ord-masc-de>;", + "1000: <%%spellout-numbering-t<\u00ADtusen>%%ord-masc-de>;", + "1000000: en miljon>%%ord-masc-te>;", + "2000000: <%spellout-cardinal-reale< miljon>%%ord-masc-teer>;", + "1000000000: en miljard>%%ord-masc-te>;", + "2000000000: <%spellout-cardinal-reale< miljard>%%ord-masc-teer>;", + "1000000000000: en biljon>%%ord-masc-te>;", + "2000000000000: <%spellout-cardinal-reale< biljon>%%ord-masc-teer>;", + "1000000000000000: en biljard>%%ord-masc-te>;", + "2000000000000000: <%spellout-cardinal-reale< biljard>%%ord-masc-teer>;", + "1000000000000000000: =#,##0=':e;", + "%%ord-masc-nde:", + "0: nde;", + "1: \u00AD=%spellout-ordinal-masculine=;", + "%%ord-masc-de:", + "0: de;", + "1: ' =%spellout-ordinal-masculine=;", + "%%ord-masc-te:", + "0: te;", + "1: ' =%spellout-ordinal-masculine=;", + "%%ord-masc-teer:", + "0: te;", + "1: er =%spellout-ordinal-masculine=;", + "%spellout-ordinal-feminine:", + "0: =%spellout-ordinal-neutre=;", + "%spellout-ordinal-reale:", + "0: =%spellout-ordinal-neutre=;", + "%spellout-ordinal-neutre:", + "-x: minus >>;", + "x.x: =#,##0.#=;", + "0: nollte;", + "1: f\u00F6rsta;", + "2: andra;", + "3: =%spellout-ordinal-masculine=;", + "20: tjugo>%%ord-fem-nde>;", + "30: trettio>%%ord-fem-nde>;", + "40: fyrtio>%%ord-fem-nde>;", + "50: femtio>%%ord-fem-nde>;", + "60: sextio>%%ord-fem-nde>;", + "70: sjuttio>%%ord-fem-nde>;", + "80: \u00E5ttio>%%ord-fem-nde>;", + "90: nittio>%%ord-fem-nde>;", + "100: <%spellout-numbering<\u00ADhundra>%%ord-fem-de>;", + "1000: <%%spellout-numbering-t<\u00ADtusen>%%ord-fem-de>;", + "1000000: en miljon>%%ord-fem-te>;", + "2000000: <%spellout-cardinal-reale< miljon>%%ord-fem-teer>;", + "1000000000: en miljard>%%ord-fem-te>;", + "2000000000: <%spellout-cardinal-reale< miljard>%%ord-fem-teer>;", + "1000000000000: en biljon>%%ord-fem-te>;", + "2000000000000: <%spellout-cardinal-reale< biljon>%%ord-fem-teer>;", + "1000000000000000: en biljard>%%ord-fem-te>;", + "2000000000000000: <%spellout-cardinal-reale< biljard>%%ord-fem-teer>;", + "1000000000000000000: =#,##0=':e;", + "%%ord-fem-nde:", + "0: nde;", + "1: \u00AD=%spellout-ordinal-feminine=;", + "%%ord-fem-de:", + "0: de;", + "1: ' =%spellout-ordinal-feminine=;", + "%%ord-fem-te:", + "0: te;", + "1: ' =%spellout-ordinal-feminine=;", + "%%ord-fem-teer:", + "0: te;", + "1: er =%spellout-ordinal-feminine=;", + } } + Version{"2.0.50.69"} }