[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 

Changeset 9732


Ignore:
Timestamp:
02/13/14 11:57:02 (4 years ago)
Author:
pedberg
Message:

cldrbug 6979: Add hanidays number system, change zh[_Hant] chinese-calendar std date patterns to use it

Location:
trunk/common
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/bcp47/number.xml

    r9329 r9732  
    22<!DOCTYPE ldmlBCP47 SYSTEM "../../common/dtd/ldmlBCP47.dtd"> 
    33<!-- 
    4 Copyright © 1991-2013 Unicode, Inc. 
     4Copyright © 1991-2014 Unicode, Inc. 
    55CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    66For terms of use, see http://www.unicode.org/copyright.html 
     
    3030            <type name="gujr" description="Gujarati digits"/> 
    3131            <type name="guru" description="Gurmukhi digits"/> 
     32            <type name="hanidays" description="Han-character day-of-month numbering for lunar/other traditional calendars" since="25"/> 
    3233            <type name="hanidec" description="Positional decimal system using Chinese number ideographs as digits" since="1.9"/> 
    3334            <type name="hans" description="Simplified Chinese numerals — algorithmic"/> 
  • trunk/common/main/en.xml

    r9709 r9732  
    11<?xml version="1.0" encoding="UTF-8" ?> 
    22<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> 
    3 <!-- Copyright © 1991-2013 Unicode, Inc. 
     3<!-- Copyright © 1991-2014 Unicode, Inc. 
    44CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    55For terms of use, see http://www.unicode.org/copyright.html 
     
    11691169                        <type type="gujr" key="numbers">Gujarati Digits</type> 
    11701170                        <type type="guru" key="numbers">Gurmukhi Digits</type> 
     1171                        <type type="hanidays" key="numbers">Chinese Calendar Day-of-Month Numerals</type> 
    11711172                        <type type="hanidec" key="numbers">Chinese Decimal Numerals</type> 
    11721173                        <type type="hans" key="numbers">Simplified Chinese Numerals</type> 
  • trunk/common/main/zh.xml

    r9722 r9732  
    11<?xml version="1.0" encoding="UTF-8" ?> 
    22<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> 
    3 <!-- Copyright © 1991-2013 Unicode, Inc. 
     3<!-- Copyright © 1991-2014 Unicode, Inc. 
    44CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    55For terms of use, see http://www.unicode.org/copyright.html 
     
    15581558                                        <dateFormatLength type="full"> 
    15591559                                                <dateFormat> 
    1560                                                         <pattern numbers="hanidec">U年MMMd日EEEE</pattern> 
     1560                                                        <pattern numbers="d=hanidays">U年MMMdEEEE</pattern> 
    15611561                                                </dateFormat> 
    15621562                                        </dateFormatLength> 
    15631563                                        <dateFormatLength type="long"> 
    15641564                                                <dateFormat> 
    1565                                                         <pattern numbers="hanidec">U年MMMd日</pattern> 
     1565                                                        <pattern numbers="d=hanidays">U年MMMd</pattern> 
    15661566                                                </dateFormat> 
    15671567                                        </dateFormatLength> 
    15681568                                        <dateFormatLength type="medium"> 
    15691569                                                <dateFormat> 
    1570                                                         <pattern numbers="hanidec">U年MMMd日</pattern> 
     1570                                                        <pattern numbers="d=hanidays">U年MMMd</pattern> 
    15711571                                                </dateFormat> 
    15721572                                        </dateFormatLength> 
  • trunk/common/main/zh_Hant.xml

    r9722 r9732  
    11<?xml version="1.0" encoding="UTF-8" ?> 
    22<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> 
    3 <!-- Copyright © 1991-2013 Unicode, Inc. 
     3<!-- Copyright © 1991-2014Unicode, Inc. 
    44CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    55For terms of use, see http://www.unicode.org/copyright.html 
     
    15711571                                        <dateFormatLength type="full"> 
    15721572                                                <dateFormat> 
    1573                                                         <pattern numbers="hanidec">U年MMMd日EEEE</pattern> 
     1573                                                        <pattern numbers="d=hanidays">U年MMMdEEEE</pattern> 
    15741574                                                </dateFormat> 
    15751575                                        </dateFormatLength> 
    15761576                                        <dateFormatLength type="long"> 
    15771577                                                <dateFormat> 
    1578                                                         <pattern numbers="hanidec">U年MMMd日</pattern> 
     1578                                                        <pattern numbers="d=hanidays">U年MMMd</pattern> 
    15791579                                                </dateFormat> 
    15801580                                        </dateFormatLength> 
    15811581                                        <dateFormatLength type="medium"> 
    15821582                                                <dateFormat> 
    1583                                                         <pattern numbers="hanidec">U年MMMd日</pattern> 
     1583                                                        <pattern numbers="d=hanidays">U年MMMd</pattern> 
    15841584                                                </dateFormat> 
    15851585                                        </dateFormatLength> 
  • trunk/common/rbnf/zh.xml

    r8242 r9732  
    22<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> 
    33<!-- 
    4 Copyright © 1991-2013 Unicode, Inc. 
     4Copyright © 1991-2014 Unicode, Inc. 
    55CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    66For terms of use, see http://www.unicode.org/copyright.html 
     
    2525                <rbnfrule value="100">←←→→→;</rbnfrule> 
    2626                <rbnfrule value="1000">←←→→→;</rbnfrule> 
     27            </ruleset> 
     28            <ruleset type="spellout-numbering-days"> 
     29                <rbnfrule value="-x">负→→;</rbnfrule> 
     30                <rbnfrule value="x.x">=#,##0.#=;</rbnfrule> 
     31                <rbnfrule value="0">〇;</rbnfrule> 
     32                <rbnfrule value="1">初=%spellout-numbering=;</rbnfrule> 
     33                <rbnfrule value="11">=%spellout-numbering=;</rbnfrule> 
     34                <rbnfrule value="21">=%%numbering-days=;</rbnfrule> 
     35            </ruleset> 
     36            <ruleset type="numbering-days" access="private"> 
     37                <rbnfrule value="0">=%spellout-numbering=;</rbnfrule> 
     38                <rbnfrule value="21">廿→→;</rbnfrule> 
     39                <rbnfrule value="30">←←十;</rbnfrule> 
     40                <rbnfrule value="31">丗→→;</rbnfrule> 
     41                <rbnfrule value="40">←←十;</rbnfrule> 
     42                <rbnfrule value="41">卌→→;</rbnfrule> 
     43                <rbnfrule value="50">=%spellout-numbering=;</rbnfrule> 
    2744            </ruleset> 
    2845            <ruleset type="spellout-numbering"> 
  • trunk/common/supplemental/coverageLevels.xml

    r9714 r9732  
    22<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd"> 
    33<!-- 
    4 Copyright © 1991-2013 Unicode, Inc. 
     4Copyright © 1991-2014 Unicode, Inc. 
    55CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    66For terms of use, see http://www.unicode.org/copyright.html 
     
    9494                <coverageVariable key="%monthTypes" value="(1[0-3]?|[2-9])"/> 
    9595                <coverageVariable key="%numberingSystem80" value="(arab(ext)?|armn(low)?|beng|deva|ethi|fullwide|geor|grek(low)?|gujr|guru|hanidec|han[st](fin)?|hebr|jpan(fin)?|khmr|knda|laoo|mlym|mymr|orya|roman(low)?|taml(dec)?|telu|thai|tibt)"/> 
    96                 <coverageVariable key="%numberingSystem100" value="(finance|native|traditional|bali|brah|cakm|cham|java|kali|lana(tham)?|lepc|limb|mong|mtei|mymrshan|nkoo|olck|osma|saur|shrd|sora|sund|takr|talu|vaii)"/> 
     96                <coverageVariable key="%numberingSystem100" value="(finance|native|traditional|bali|brah|cakm|cham|hanidays|java|kali|lana(tham)?|lepc|limb|mong|mtei|mymrshan|nkoo|olck|osma|saur|shrd|sora|sund|takr|talu|vaii)"/> 
    9797                <coverageVariable key="%persianCalendarTerritories" value="(AF|IR)"/> 
    9898                <coverageVariable key="%phonebookCollationLanguages" value="(de|fi)"/> 
  • trunk/common/supplemental/numberingSystems.xml

    r8352 r9732  
    22<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd"> 
    33<!-- 
    4 Copyright © 1991-2013 Unicode, Inc. 
     4Copyright © 1991-2014 Unicode, Inc. 
    55CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    66For terms of use, see http://www.unicode.org/copyright.html 
     
    2727        <numberingSystem id="gujr" type="numeric" digits="૦૧૨૩૪૫૬૭૮૯"/> 
    2828        <numberingSystem id="guru" type="numeric" digits="੦੧੨੩੪੫੬੭੮੯"/> 
     29        <numberingSystem id="hanidays" type="algorithmic" rules="zh/SpelloutRules/spellout-numbering-days"/> 
    2930        <numberingSystem id="hanidec" type="numeric" digits="〇一二三四五六七八九"/> 
    3031        <numberingSystem id="hans" type="algorithmic" rules="zh/SpelloutRules/spellout-cardinal"/> 
  • trunk/common/supplemental/supplementalMetadata.xml

    r9618 r9732  
    22<!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd"> 
    33<!-- 
    4 Copyright © 1991-2013 Unicode, Inc. 
     4Copyright © 1991-2014 Unicode, Inc. 
    55CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) 
    66For terms of use, see http://www.unicode.org/copyright.html 
     
    328328                                finance fullwide 
    329329                                geor grek greklow gujr guru 
    330                                 hanidec hans hansfin hant hantfin hebr 
     330                                hanidays hanidec hans hansfin hant hantfin hebr 
    331331                                java jpan jpanfin 
    332332                                kali khmr knda 
     
    800800            <attributeValues elements="territoryAlias" attributes="replacement type">$territory</attributeValues> 
    801801            <attributeValues elements="type" attributes="key" type="choice">calendar collation colAlternate colBackwards colCaseFirst colCaseLevel colHiraganaQuaternary colNormalization colNumeric colStrength numbers va</attributeValues> <!-- Exluded: colReorder curerncy timezone x --> 
    802             <attributeValues elements="type" attributes="type" type="choice">arab arabext armn armnlow bali beng big5han brah buddhist cakm cham chinese coptic dangi deva dictionary ducet eor ethi ethiopic ethiopic-amete-alem finance fullwide gb2312han geor gregorian grek greklow gujr guru hanidec hans hansfin hant hantfin hebr hebrew identical indian islamic islamic-civil islamic-rgsa islamic-tbla islamic-umalqura iso8601 japanese java jpan jpanfin kali khmr knda lana lanatham laoo latn lepc limb lower mlym mong mtei mymr mymrshan native nkoo no non-ignorable olck orya osma persian phonebook phonetic pinyin posix primary quaternary reformed roc roman romanlow saur search searchjl secondary shifted shrd sora standard stroke sund takr talu taml tamldec telu tertiary thai tibt traditional unihan upper vaii yes zhuyin</attributeValues> 
     802            <attributeValues elements="type" attributes="type" type="choice">arab arabext armn armnlow bali beng big5han brah buddhist cakm cham chinese coptic dangi deva dictionary ducet eor ethi ethiopic ethiopic-amete-alem finance fullwide gb2312han geor gregorian grek greklow gujr guru hanidays hanidec hans hansfin hant hantfin hebr hebrew identical indian islamic islamic-civil islamic-rgsa islamic-tbla islamic-umalqura iso8601 japanese java jpan jpanfin kali khmr knda lana lanatham laoo latn lepc limb lower mlym mong mtei mymr mymrshan native nkoo no non-ignorable olck orya osma persian phonebook phonetic pinyin posix primary quaternary reformed roc roman romanlow saur search searchjl secondary shifted shrd sora standard stroke sund takr talu taml tamldec telu tertiary thai tibt traditional unihan upper vaii yes zhuyin</attributeValues> 
    803803            <attributeValues elements="unit" attributes="type" type="regex">(acceleration-g-force|angle-(degree|arc-minute|arc-second)|area-(acre|square-(foot|kilometer|meter|mile)|hectare)|duration-(millisecond|(day|hour|minute|month|second|week|year))|length-((pico|milli|centi|kilo)?meter|foot|inch|light-year|mile|yard)|mass-((kilo)?gram|ounce|pound)|power-(horsepower|(kilo)?watt)|pressure-(hectopascal|inch-hg|millibar)|speed-((mile|kilometer)-per-hour|meter-per-second)|temperature-(celsius|fahrenheit)|volume-(liter|cubic-(kilometer|mile)))</attributeValues> 
    804804            <attributeValues elements="variable" attributes="id">$variableID</attributeValues> 
Note: See TracChangeset for help on using the changeset viewer.