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