xresources_es.java

来自「JAVA的一些源码 JAVA2 STANDARD EDITION DEVELO」· Java 代码 · 共 82 行

JAVA
82
字号
/* * Copyright 1999-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *     http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *//* * $Id: XResources_es.java,v 1.6 2004/02/17 04:22:15 minchau Exp $ */package com.sun.org.apache.xml.internal.utils.res;////  LangResources_es.properties///** * The Spanish resource bundle. * @xsl.usage internal */public class XResources_es extends XResourceBundle{  /**   * Get the association list.   *   * @return The association list.   */  protected Object[][] getContents() {      // return a copy of contents; in theory we want a deep clone      // of contents, but since it only contains (immutable) Strings,      // this shallow copy is sufficient      Object[][] msgCopy = new Object[contents.length][2];      for (int i = 0; i < contents.length; i++) {          msgCopy[i][0] = contents[i][0];          msgCopy[i][1] = contents[i][1];      }      return msgCopy;  }  /** The association list.         */  static final Object[][] contents =  {    { "ui_language", "es" }, { "help_language", "es" }, { "language", "es" },    { "alphabet",      new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',                  'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',                  'Y', 'Z' } },    { "tradAlphabet",      new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',                  'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',                  'Y', 'Z' } },    //language orientation    { "orientation", "LeftToRight" },    //language numbering       { "numbering", "additive" },    // largest numerical value    //{"MaxNumericalValue", new Integer()},    //These would not be used for EN. Only used for traditional numbering       //{"numberGroups", new int[]{10,1}},    //These only used for mutiplicative-additive numbering    //{"multiplier", "10"},    //{"multiplierChar", "M"},     //{"digits", new char[]{'a','b','c','d','e','f','g','h','i'}},    //{"digits", new char[]{0x10D0,0x10D1,0x10D2,0x10D3,0x10D4,0x10D5,0x10D6,0x10D7,0x10D8}},    //{"tens", new char[]{0x10D9,0x10DA,0x10DB,0x10DC,0x10DD,0x10DE,0x10DF,0x10E0,0x10E1}},      //hundreds, etc...    //{"tables", new String[]{"tens", "digits"}}  };}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?