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_el.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 Greek resource bundle.
     29  * @xsl.usage internal
     30  */
     31 public class XResources_el 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", "el" }, { "help_language", "el" }, { "language", "el" },
     44     { "alphabet", new CharArrayWrapper(
     45       new char[]{ 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03b6, 0x03b7,
     46                   0x03b8, 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be,
     47                   0x03bf, 0x03c0, 0x03c1, 0x03c2, 0x03c3, 0x03c4, 0x03c5,
     48                   0x03c6, 0x03c7, 0x03c8, 0x03c9 }) },
     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", "additive"},
     59     { "numbering", "multiplicative-additive" },
     60     { "multiplierOrder", "precedes" },
     61 
     62     // largest numerical value
     63     //{"MaxNumericalValue", new Integer()},
     64     //These would not be used for EN. Only used for traditional numbering
     65     { "numberGroups", new IntArrayWrapper(new int[]{ 100, 10, 1 }) },
     66 
     67     //These only used for mutiplicative-additive numbering
     68     { "multiplier", new LongArrayWrapper(new long[]{ 1000 }) },
     69     { "multiplierChar", new CharArrayWrapper(new char[]{ 0x03d9 }) },
     70 
     71     // chinese only??
     72     { "zero", new CharArrayWrapper(new char[0]) },
     73 
     74     //{"digits", new char[]{'a','b','c','d','e','f','g','h','i'}},
     75     { "digits", new CharArrayWrapper(
     76       new char[]{ 0x03b1, 0x03b2, 0x03b3, 0x03b4, 0x03b5, 0x03db, 0x03b6,
     77                   0x03b7, 0x03b8 }) },
     78     { "tens", new CharArrayWrapper(
     79       new char[]{ 0x03b9, 0x03ba, 0x03bb, 0x03bc, 0x03bd, 0x03be, 0x03bf,
     80                   0x03c0, 0x03df }) },
     81     { "hundreds", new CharArrayWrapper(
     82       new char[]{ 0x03c1, 0x03c2, 0x03c4, 0x03c5, 0x03c6, 0x03c7, 0x03c8,
     83                   0x03c9, 0x03e1 }) },
     84 
     85     //{"thousands", new char[]{0x10D9,0x10DA,0x10DB,0x10DC,0x10DD,0x10DE,0x10DF,0x10E0,0x10E1}},
     86     //hundreds, etc...
     87     { "tables", new StringArrayWrapper(new String[]{ "hundreds", "tens", "digits" }) }
     88   };
     89   }
     90 }
     91