1 /* 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 /* 19 * $Id: XResources_zh_CN.java 468655 2006-10-28 07:12:06Z minchau $ 20 */ 21 package org.apache.xml.utils.res; 22 23 // 24 // LangResources_en.properties 25 // 26 27 /** 28 * The Chinese resource bundle. 29 * @xsl.usage internal 30 */ 31 public class XResources_zh_CN extends XResourceBundle 32 { 33 34 /** 35 * Get the association list. 36 * 37 * @return The association list. 38 */ 39 public Object[][] getContents() 40 { 41 return new Object[][] 42 { 43 { "ui_language", "zh" }, { "help_language", "zh" }, { "language", "zh" }, 44 { "alphabet", new CharArrayWrapper( 45 new char[]{ 0xff21, 0xff22, 0xff23, 0xff24, 0xff25, 0xff26, 0xff27, 46 0xff28, 0xff29, 0xff2a, 0xff2b, 0xff2c, 0xff2d, 0xff2e, 47 0xff2f, 0xff30, 0xff31, 0xff32, 0xff33, 0xff34, 0xff35, 48 0xff36, 0xff37, 0xff38, 0xff39, 0xff3a }) }, 49 { "tradAlphabet", new CharArrayWrapper( 50 new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 51 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 52 'Y', 'Z' }) }, 53 54 //language orientation 55 { "orientation", "LeftToRight" }, 56 57 //language numbering 58 { "numbering", "multiplicative-additive" }, 59 { "multiplierOrder", "follows" }, 60 61 // largest numerical value 62 //{"MaxNumericalValue", new Integer(100000000)}, 63 //These would not be used for EN. Only used for traditional numbering 64 { "numberGroups", new IntArrayWrapper(new int[]{ 1 }) }, 65 66 // simplified chinese 67 { "zero", new CharArrayWrapper(new char[]{ 0x96f6 }) }, 68 69 //These only used for mutiplicative-additive numbering 70 { "multiplier", new LongArrayWrapper(new long[]{ 100000000, 10000, 1000, 71 100, 10 }) }, 72 { "multiplierChar", new CharArrayWrapper( 73 new char[]{ 0x4ebf, 0x4e07, 0x5343, 0x767e, 0x5341 }) }, 74 { "digits", new CharArrayWrapper( 75 new char[]{ 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94, 0x516d, 0x4e03, 76 0x516b, 0x4e5d }) }, { "tables", new StringArrayWrapper( 77 new String[]{ "digits" }) } 78 }; 79 } 80 } 81