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