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

Changeset 10770


Ignore:
Timestamp:
08/12/14 20:20:45 (4 years ago)
Author:
markdavis
Message:

cldrbug 7615: update tool and data

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/common/dtd/ldmlSupplemental.dtd

    r10039 r10770  
    261261<!ATTLIST languageAlias type NMTOKEN #IMPLIED > 
    262262<!ATTLIST languageAlias replacement NMTOKEN #IMPLIED > 
    263 <!ATTLIST languageAlias reason ( deprecated | overlong | macrolanguage | legacy ) #IMPLIED > 
     263<!ATTLIST languageAlias reason ( deprecated | overlong | macrolanguage | legacy | bibliographic ) #IMPLIED > 
    264264 
    265265<!ELEMENT scriptAlias EMPTY > 
  • trunk/common/supplemental/supplementalMetadata.xml

    r10757 r10770  
    11171117                        <languageAlias type="zho" replacement="zh" reason="overlong"/> <!-- [Chinese] --> 
    11181118                        <languageAlias type="zul" replacement="zu" reason="overlong"/> <!-- [Zulu] --> 
     1119                        <!-- Bibliographic --> 
     1120                        <languageAlias type="alb" replacement="sq" reason="bibliographic"/> <!-- [Albanian] --> 
     1121                        <languageAlias type="arm" replacement="hy" reason="bibliographic"/> <!-- [Armenian] --> 
     1122                        <languageAlias type="baq" replacement="eu" reason="bibliographic"/> <!-- [Basque] --> 
     1123                        <languageAlias type="bur" replacement="my" reason="bibliographic"/> <!-- [Burmese] --> 
     1124                        <languageAlias type="chi" replacement="zh" reason="bibliographic"/> <!-- [Chinese] --> 
     1125                        <languageAlias type="cze" replacement="cs" reason="bibliographic"/> <!-- [Czech] --> 
     1126                        <languageAlias type="dut" replacement="nl" reason="bibliographic"/> <!-- [Dutch, Flemish] --> 
     1127                        <languageAlias type="fre" replacement="fr" reason="bibliographic"/> <!-- [French] --> 
     1128                        <languageAlias type="geo" replacement="ka" reason="bibliographic"/> <!-- [Georgian] --> 
     1129                        <languageAlias type="ger" replacement="de" reason="bibliographic"/> <!-- [German] --> 
     1130                        <languageAlias type="gre" replacement="el" reason="bibliographic"/> <!-- [Modern Greek (1453-)] --> 
     1131                        <languageAlias type="ice" replacement="is" reason="bibliographic"/> <!-- [Icelandic] --> 
     1132                        <languageAlias type="mac" replacement="mk" reason="bibliographic"/> <!-- [Macedonian] --> 
     1133                        <languageAlias type="mao" replacement="mi" reason="bibliographic"/> <!-- [Maori] --> 
     1134                        <languageAlias type="may" replacement="ms" reason="bibliographic"/> <!-- [Malay (macrolanguage)] --> 
     1135                        <languageAlias type="per" replacement="fa" reason="bibliographic"/> <!-- [Persian] --> 
     1136                        <languageAlias type="rum" replacement="ro" reason="bibliographic"/> <!-- [Romanian, Moldavian, Moldovan] --> 
     1137                        <languageAlias type="slo" replacement="sk" reason="bibliographic"/> <!-- [Slovak] --> 
     1138                        <languageAlias type="tib" replacement="bo" reason="bibliographic"/> <!-- [Tibetan] --> 
     1139                        <languageAlias type="wel" replacement="cy" reason="bibliographic"/> <!-- [Welsh] --> 
    11191140            <!-- end of data generated with CountItems tool per http://sites.google.com/site/cldr/development/updating-codes/update-languagescriptregion-subtags --> 
    11201141            <!-- scripts --> 
  • trunk/tools/java/org/unicode/cldr/tool/CountItems.java

    r10138 r10770  
    598598                Iso639Data.getNames(target) + " -->"); 
    599599        } 
     600        System.out.println("\t\t\t<!-- Bibliographic -->"); 
     601        TreeMap<String,String> sorted = new TreeMap<>(); 
     602        for (String hasBiblio : Iso639Data.hasBiblio3()) { 
     603            String biblio = Iso639Data.toBiblio3(hasBiblio); 
     604            sorted.put(biblio, hasBiblio); 
     605        } 
     606        for (Entry<String, String> entry : sorted.entrySet()) { 
     607            String biblio = entry.getKey(); 
     608            String hasBiblio = entry.getValue(); 
     609            System.out.println("\t\t\t<languageAlias type=\"" + biblio + "\" replacement=\"" + hasBiblio 
     610                + "\" reason=\"bibliographic\"/> <!-- " + 
     611                Iso639Data.getNames(hasBiblio) + " -->"); 
     612        } 
    600613        System.out.println("<!-- end of Language alises generated with CountItems tool ..."); 
    601614 
  • trunk/tools/java/org/unicode/cldr/util/Iso639Data.java

    r9592 r10770  
    204204        } 
    205205        return toAlpha3(languageTag); 
     206    } 
     207 
     208    public static Set<String> hasBiblio3() { 
     209        return toBiblio3.keySet(); 
    206210    } 
    207211 
  • trunk/tools/java/org/unicode/cldr/util/data/external/alternate_country_names.txt

    r10169 r10770  
    191191RW;; Republic of Rwanda 
    192192US;; United States of America 
     193US;; U.S. 
     194US;; U.S.A. 
     195US;; USA 
     196US;; US 
     197UK;; UK 
     198UK;; U.K. 
    193199RS;; Yugoslavia 
    194200KM;; Comros 
Note: See TracChangeset for help on using the changeset viewer.