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_cy.java,v 1.8 2004/12/15 17:35:52 jycli Exp $
18: */
19: package org.apache.xml.utils.res;
20:
21: /**
22: * The Cyrillic resource bundle.
23: * @xsl.usage internal
24: */
25: public class XResources_cy extends XResourceBundle {
26:
27: /**
28: * Get the association list.
29: *
30: * @return The association list.
31: */
32: public Object[][] getContents() {
33: return new Object[][] {
34: { "ui_language", "cy" },
35: { "help_language", "cy" },
36: { "language", "cy" },
37: {
38: "alphabet",
39: new CharArrayWrapper(new char[] { 0x0430,
40: 0x0432, 0x0433, 0x0434, 0x0435, 0x0437,
41: 0x0438, 0x0439, 0x04A9, 0x0457, 0x043A,
42: 0x043B, 0x043C, 0x043D, 0x046F, 0x043E,
43: 0x043F, 0x0447, 0x0440, 0x0441, 0x0442,
44: 0x0443, 0x0444, 0x0445, 0x0470, 0x0460,
45: 0x0446 }) },
46: {
47: "tradAlphabet",
48: new CharArrayWrapper(
49: new char[] { 'A', 'B', 'C', 'D', 'E',
50: 'F', 'G', 'H', 'I', 'J', 'K',
51: 'L', 'M', 'N', 'O', 'P', 'Q',
52: 'R', 'S', 'T', 'U', 'V', 'W',
53: 'X', 'Y', 'Z' }) },
54:
55: //language orientation
56: { "orientation", "LeftToRight" },
57:
58: //language numbering
59: //{"numbering", "additive"},
60: { "numbering", "multiplicative-additive" },
61: { "multiplierOrder", "precedes" },
62:
63: // largest numerical value
64: //{"MaxNumericalValue", new Integer(10000000000)},
65: //These would not be used for EN. Only used for traditional numbering
66: { "numberGroups",
67: new IntArrayWrapper(new int[] { 100, 10, 1 }) },
68:
69: //These only used for mutiplicative-additive numbering
70: { "multiplier",
71: new LongArrayWrapper(new long[] { 1000 }) },
72: { "multiplierChar",
73: new CharArrayWrapper(new char[] { 0x03D9 }) },
74:
75: // chinese only??
76: { "zero", new CharArrayWrapper(new char[0]) },
77:
78: //{"digits", new char[]{'a','b','c','d','e','f','g','h','i'}},
79: {
80: "digits",
81: new CharArrayWrapper(new char[] { 0x0430,
82: 0x0432, 0x0433, 0x0434, 0x0435, 0x0437,
83: 0x0438, 0x0439, 0x04A9 }) },
84: {
85: "tens",
86: new CharArrayWrapper(new char[] { 0x0457,
87: 0x043A, 0x043B, 0x043C, 0x043D, 0x046F,
88: 0x043E, 0x043F, 0x0447 }) },
89: {
90: "hundreds",
91: new CharArrayWrapper(new char[] { 0x0440,
92: 0x0441, 0x0442, 0x0443, 0x0444, 0x0445,
93: 0x0470, 0x0460, 0x0446 }) },
94: {
95: "tables",
96: new StringArrayWrapper(new String[] {
97: "hundreds", "tens", "digits" }) } };
98: }
99: }
|