1. /*
  2. * Copyright 1999-2004 The Apache Software Foundation.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  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_zh_CN.java,v 1.8 2004/02/17 04:22:15 minchau Exp $
  18. */
  19. package com.sun.org.apache.xml.internal.utils.res;
  20. //
  21. // LangResources_en.properties
  22. //
  23. /**
  24. * The Chinese resource bundle.
  25. * @xsl.usage internal
  26. */
  27. public class XResources_zh_CN extends XResourceBundle
  28. {
  29. /**
  30. * Get the association list.
  31. *
  32. * @return The association list.
  33. */
  34. public Object[][] getContents()
  35. {
  36. return contents;
  37. }
  38. /** The association list. */
  39. static final Object[][] contents =
  40. {
  41. { "ui_language", "zh" }, { "help_language", "zh" }, { "language", "zh" },
  42. { "alphabet",
  43. new char[]{ 0xff21, 0xff22, 0xff23, 0xff24, 0xff25, 0xff26, 0xff27,
  44. 0xff28, 0xff29, 0xff2a, 0xff2b, 0xff2c, 0xff2d, 0xff2e,
  45. 0xff2f, 0xff30, 0xff31, 0xff32, 0xff33, 0xff34, 0xff35,
  46. 0xff36, 0xff37, 0xff38, 0xff39, 0xff3a } },
  47. { "tradAlphabet",
  48. new char[]{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L',
  49. 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X',
  50. 'Y', 'Z' } },
  51. //language orientation
  52. { "orientation", "LeftToRight" },
  53. //language numbering
  54. { "numbering", "multiplicative-additive" },
  55. { "multiplierOrder", "follows" },
  56. // largest numerical value
  57. //{"MaxNumericalValue", new Integer(100000000)},
  58. //These would not be used for EN. Only used for traditional numbering
  59. { "numberGroups", new int[]{ 1 } },
  60. // simplified chinese
  61. { "zero", new char[]{ 0x96f6 } },
  62. //These only used for mutiplicative-additive numbering
  63. { "multiplier", new long[]{ 100000000, 10000, 1000, 100, 10 } },
  64. { "multiplierChar",
  65. new char[]{ 0x4ebf, 0x4e07, 0x5343, 0x767e, 0x5341 } },
  66. { "digits",
  67. new char[]{ 0x4e00, 0x4e8c, 0x4e09, 0x56db, 0x4e94, 0x516d, 0x4e03,
  68. 0x516b, 0x4e5d } }, { "tables", new String[]{ "digits" } }
  69. };
  70. }