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_cy.java 468655 2006-10-28 07:12:06Z minchau $
020 */
021 package org.apache.xml.utils.res;
022
023
024 /**
025 * The Cyrillic resource bundle.
026 * @xsl.usage internal
027 */
028 public class XResources_cy extends XResourceBundle
029 {
030
031 /**
032 * Get the association list.
033 *
034 * @return The association list.
035 */
036 public Object[][] getContents()
037 {
038 return new Object[][]
039 {
040 { "ui_language", "cy" }, { "help_language", "cy" }, { "language", "cy" },
041 { "alphabet", new CharArrayWrapper(
042 new char[]{ 0x0430, 0x0432, 0x0433, 0x0434, 0x0435, 0x0437, 0x0438,
043 0x0439, 0x04A9, 0x0457, 0x043A, 0x043B, 0x043C, 0x043D,
044 0x046F, 0x043E, 0x043F, 0x0447, 0x0440, 0x0441, 0x0442,
045 0x0443, 0x0444, 0x0445, 0x0470, 0x0460, 0x0446 }) },
046 { "tradAlphabet", new CharArrayWrapper(
047 new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
048 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
049 'Y', 'Z' }) },
050
051 //language orientation
052 { "orientation", "LeftToRight" },
053
054 //language numbering
055 //{"numbering", "additive"},
056 { "numbering", "multiplicative-additive" },
057 { "multiplierOrder", "precedes" },
058
059 // largest numerical value
060 //{"MaxNumericalValue", new Integer(10000000000)},
061 //These would not be used for EN. Only used for traditional numbering
062 { "numberGroups", new IntArrayWrapper(new int[]{ 100, 10, 1 }) },
063
064 //These only used for mutiplicative-additive numbering
065 { "multiplier", new LongArrayWrapper(new long[]{ 1000 }) },
066 { "multiplierChar", new CharArrayWrapper(new char[]{ 0x03D9 }) },
067
068 // chinese only??
069 { "zero", new CharArrayWrapper(new char[0]) },
070
071 //{"digits", new char[]{'a','b','c','d','e','f','g','h','i'}},
072 { "digits", new CharArrayWrapper(
073 new char[]{ 0x0430, 0x0432, 0x0433, 0x0434, 0x0435, 0x0437, 0x0438,
074 0x0439, 0x04A9 }) },
075 { "tens", new CharArrayWrapper(
076 new char[]{ 0x0457, 0x043A, 0x043B, 0x043C, 0x043D, 0x046F, 0x043E,
077 0x043F, 0x0447 }) },
078 { "hundreds", new CharArrayWrapper(
079 new char[]{ 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0470,
080 0x0460, 0x0446 }) },
081 { "tables", new StringArrayWrapper(new String[]{ "hundreds", "tens", "digits" }) }
082 };
083 }
084 }