001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one
003     * or more contributor license agreements. See the NOTICE file
004     * distributed with this work for additional information
005     * regarding copyright ownership. The ASF licenses this file
006     * to you under the Apache License, Version 2.0 (the  "License");
007     * you may not use this file except in compliance with the License.
008     * You may obtain a copy of the License at
009     *
010     *     http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing, software
013     * distributed under the License is distributed on an "AS IS" BASIS,
014     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015     * See the License for the specific language governing permissions and
016     * limitations under the License.
017     */
018    /*
019     * $Id: XResources_zh_CN.java 468655 2006-10-28 07:12:06Z minchau $
020     */
021    package org.apache.xml.utils.res;
022    
023    //
024    //  LangResources_en.properties
025    //
026    
027    /**
028     * The Chinese resource bundle.
029     * @xsl.usage internal
030     */
031    public class XResources_zh_CN extends XResourceBundle
032    {
033    
034      /**
035       * Get the association list.
036       *
037       * @return The association list.
038       */
039      public Object[][] getContents()
040      {
041        return new Object[][]
042      {
043        { "ui_language", "zh" }, { "help_language", "zh" }, { "language", "zh" },
044        { "alphabet", new CharArrayWrapper(
045          new char[]{ 0xff21, 0xff22, 0xff23, 0xff24, 0xff25, 0xff26, 0xff27,
046                      0xff28, 0xff29, 0xff2a, 0xff2b, 0xff2c, 0xff2d, 0xff2e,
047                      0xff2f, 0xff30, 0xff31, 0xff32, 0xff33, 0xff34, 0xff35,
048                      0xff36, 0xff37, 0xff38, 0xff39, 0xff3a }) },
049        { "tradAlphabet", new CharArrayWrapper(
050          new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
051                      'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
052                      'Y', 'Z' }) },
053    
054        //language orientation 
055        { "orientation", "LeftToRight" },
056    
057        //language numbering   
058        { "numbering", "multiplicative-additive" },
059        { "multiplierOrder", "follows" },
060    
061        // largest numerical value
062        //{"MaxNumericalValue", new Integer(100000000)},
063        //These would not be used for EN. Only used for traditional numbering   
064        { "numberGroups", new IntArrayWrapper(new int[]{ 1 }) },
065    
066        // simplified chinese  
067        { "zero", new CharArrayWrapper(new char[]{ 0x96f6 }) },
068    
069        //These only used for mutiplicative-additive numbering
070        { "multiplier", new LongArrayWrapper(new long[]{ 100000000, 10000, 1000, 
071            100, 10 }) },
072        { "multiplierChar", new CharArrayWrapper(
073          new char[]{ 0x4ebf, 0x4e07, 0x5343, 0x767e, 0x5341 }) },
074        { "digits", new CharArrayWrapper(
075          new char[]{ 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94, 0x516d, 0x4e03,
076                      0x516b, 0x4e5d }) }, { "tables", new StringArrayWrapper(
077                          new String[]{ "digits" }) }
078      };
079      }
080    }