myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject cvs commit: incubator-myfaces/src/myfaces/javax/faces Messages_zh_CN.properties
Date Sun, 30 Jan 2005 11:21:24 GMT
matzew      2005/01/30 03:21:24

  Modified:    doc      release-notes.txt
               webapps/examples/src/org/apache/myfaces/examples/misc
                        OptionsForm.java
  Added:       webapps/examples/src/org/apache/myfaces/examples/resource
                        example_messages_zh.properties
               src/myfaces/javax/faces Messages_zh_CN.properties
  Log:
  closed MYFACES-96 in Jira (Jason Hoo)
  
  Revision  Changes    Path
  1.162     +2 -1      incubator-myfaces/doc/release-notes.txt
  
  Index: release-notes.txt
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/doc/release-notes.txt,v
  retrieving revision 1.161
  retrieving revision 1.162
  diff -u -r1.161 -r1.162
  --- release-notes.txt	29 Jan 2005 10:07:13 -0000	1.161
  +++ release-notes.txt	30 Jan 2005 11:21:23 -0000	1.162
  @@ -6,7 +6,8 @@
   * added support for portlet api (MYFACES-86). Thanks to Stan Silver (JBoss Group)
   * new CollapsiblePanel Component
   * added forceId to <x:inputText for better reuse of legacy JavaScript
  -*closed MYFACES-91 in Jira 
  +* closed MYFACES-96 in Jira (Jason Hoo)
  +* closed MYFACES-91 in Jira 
   * closed MYFACES-79 in Jira 
   * closed MYFACES-90 in Jira (i18n support)
   * closed MYFACES-86 in Jira (portlet)
  
  
  
  1.1                  incubator-myfaces/webapps/examples/src/org/apache/myfaces/examples/resource/example_messages_zh.properties
  
  Index: example_messages_zh.properties
  ===================================================================
  welcome = \u6b22\u8fce\u60a8
  today = \u4eca\u5929\u662f {0,date,short}.
  
  
  nav_Home            = \u9996\u9875
  nav_Examples        = \u4f8b\u5b50
  nav_Sample_1        = \u4f8b\u5b50\u4e00
  nav_Sample_2        = \u4f8b\u5b50\u4e8c
  nav_aliasBean       = \u522b\u540d
  nav_buffer          = Buffer
  nav_dataTable       = \u660e\u7ec6\u8868\u683c
  nav_sortTable       = \u53ef\u6392\u5e8f\u8868\u683c
  nav_Documentation   = \u6587\u6863
  nav_Features        = \u7279\u6027
  nav_Info            = \u4fe1\u606f
  nav_Contact         = \u4e0e\u6211\u4eec\u8054\u7cfb
  nav_Copyright       = \u7248\u6743
  nav_Options         = \u8bbe\u7f6e
  nav_Components      = \u63a7\u4ef6
  nav_Selectbox       = \u9009\u62e9\u9879
  nav_FileUpload      = \u6587\u4ef6\u4e0a\u4f20
  nav_TabbedPane      = \u6807\u7b7e\u6837\u5f0f\u9875\u9762
  nav_Calendar        = \u65e5\u5386
  nav_Popup           = \u5f39\u51fa\u5f0f
  nav_JsListener      = JavaScript\u76d1\u542c\u5668
  nav_dataList        = \u52a8\u6001\u5217\u8868
  nav_tree            = \u6811
  nav_treeTable       = \u8868\u683c\u6811
  nav_Validate		= \u9a8c\u8bc1
  nav_rssTicker		= RSSTicker
  nav_dataScroller    = \u5206\u9875\u8868\u683c
  nav_Date			= \u65e5\u671f
  nav_panelstack      = \u5806\u6808\u6837\u5f0f\u9875\u9762
  nav_css             = \u6837\u5f0f
  nav_newspaperTable  = Newspaper\u8868\u683c
  nav_HtmlEditor		= Html\u7f16\u8f91\u5668
  nav_forceId         = ForceId
  
  nav_swapimage       = \u52a8\u6001\u56fe\u7247
  # buttons
  
  button_save = \u4fdd\u5b58
  button_apply = \u786e\u5b9a
  button_cancel = \u53d6\u6d88
  button_delete = \u5220\u9664
  button_submit = \u63d0\u4ea4
  
  alt_logo = MyFaces - the open source JSF implementation
  
  option_lang = \u5c06\u8be5\u9875\u663e\u793a\u4e8e
  option_layout = Layout
  
  empty_selitem = \u8bf7\u9009\u62e9 ...
  
  # sample1
  
  sample1_form = \u7a97\u53e3
  sample1_another_form = \u53e6\u4e00\u4e2a\u7a97\u53e3
  sample1_validation = \u9a8c\u8bc1
  sample1_number = \u6570\u503c
  sample1_add = \u76f8\u52a0
  sample1_sub = \u76f8\u51cf
  sample1_add_link = \u70b9\u51fb\u8be5\u94fe\u63a5\u76f8\u52a0
  sample1_sub_link = \u70b9\u51fb\u8be5\u94fe\u63a5\u76f8
  sample1_result = \u7ed3\u679c
  sample1_text = \u6587\u672c
  sample1_uppercase = \u8f6c\u6210\u5927\u5199
  sample1_lowercase = \u8f6c\u6210\u5c0f\u5199
  sample1_disable_validation = \u53d6\u6d88\u9a8c\u8bc1
  sample1_enable_validation = \u4f7f\u7528\u9a8c\u8bc1
  
  # sample2
  
  sample2_add_quote = \u6dfb\u52a0\u62ec\u53f7
  sample2_remove_quote = \u53bb\u9664\u62ec\u53f7
  sample2_select_quote = \u9009\u62e9\u62ec\u53f7\u5b57\u7b26
  sample2_select_unquote = \u9009\u62e9\u53bb\u9664\u62ec\u53f7\u5b57\u7b26
  
  # components examples
  
  label_cars = \u7c7b\u578b
  label_colors = \u989c\u8272
  label_color = \u989c\u8272
  label_extras = Extras
  button_calcprice = \u8ba1\u7b97\u4ef7\u683c
  msg_price = {0,\u9009\u62e9,0#\u6700\u7b26\u5408\u60a8\u7684\u8981\u6c42!|1< \u60a8\u7684\u4ef7\u683c:
\u20ac\u00a0{0}}
  color_black = \u9ed1\u8272
  color_blue = \u84dd\u8272
  color_marine = \u85cf\u84dd
  color_red = \u7ea2
  extra_aircond = \u7a7a\u8c03
  extra_sideab = \u6c14\u56ca
  extra_mirrowheat = \u5916\u7ebf\u955c
  extra_leaderseat = \u76ae\u5ea7
  discount_0 = \u6ca1\u6709\u6298\u6263
  discount_1 = \u4e00\u6b21\u8d2d\u4e70\u6298\u6263
  discount_2 = \u516c\u53f8\u7528\u6237\u6298\u6263
  discount_2_0 = "\u6d77\u5cb8\u5730\u5e26"\u975e\u5e38\u597d
  discount_2_1 = "\u7ea2\u91ce\u5c71\u6912"\u66f4\u597d\u4e9b
  discount_2_2 = \u6211\u559c\u6b22\u7684\u7c7b\u578b
  radio_hint = This Radio is a myfaces extension - you can use html code here!
  sort_cartype = \u8f66\u8f86\u7c7b\u578b
  sort_carcolor = \u8f66\u8f86\u989c\u8272
  sales_tax = \u6d88\u8d39\u7a0e
  doors = \u8f66\u95e8\u6570
  
  validate_email = \u7535\u5b50\u90ae\u4ef6\u5730\u5740
  validate_credit = \u4fe1\u7528\u5361\u5361\u53f7
  validate_regexp = \u8fd0\u7b97\u7b26
  validate_equal = \u7b49\u503c\u6bd4\u8f83
  validate_isbn = ISBN
  
  label_country_name = \u56fd\u5bb6
  label_country_iso = ISO\u4ee3\u7801
  label_country_cities = \u57ce\u5e02
  new_country = \u589e\u52a0\u65b0\u56fd\u5bb6 \ufffd
  country_edit_table = \u7f16\u8bd1\u6240\u6709\u56fd\u5bb6\ufffd
  
  dataList_simple = \u7b80\u5355\u5217\u8868
  dataList_ul = \u672a\u8ba2\u8d2d\u5217\u8868
  dataList_ol = \u8ba2\u8d2d\u5217\u8868
  
  dataScroller_pages = \u67e5\u627e\u5230 {0} \u8f86\u8f66, \u5f53\u524d\u663e\u793a {1} \u8f86\u8f66,
\u4ece\u7b2c {2} \u8f86\u81f3\u7b2c {3} \u8f86. \u7b2c {4} \u9875/\u5171 {5} \u9875
  date_comp_header = \u65e5\u671f\u8f93\u5165\u6807\u8bb0
  date_comp_text1 = \u586b\u5199\u65e5\u671f
  date_comp_text2 = \u65e5\u671f\u662f:
  date_comp_text3 = \u586b\u5199\u65f6\u95f4
  date_comp_text4 = \u65f6\u95f4\u662f:
  date_comp_text5 = \u586b\u5199\u65e5\u671f\u53ca\u65f6\u95f4
  date_comp_text6 = \u65e5\u671f\u65f6\u95f4\u662f:
  date_comp_button = \u66f4\u65b0
  popup_today_string = \u4eca\u5929\u662f :
  popup_week_string = \u661f\u671f
  
  
  selectBoxPanel = \u9009\u62e9\u6846 \u9875\u9762
  treePanel = \u6811 \u9875\u9762
  
  fileupload_title = \u6587\u4ef6\u4e0a\u4f20
  fileupload_gimmeimage = \u9009\u62e9\u4e00\u5f20\u56fe\u7247:
  fileupload_name = \u5e76\u547d\u540d\u4e3a: 
  fileupload_button = \u4e0a\u4f20
  fileupload_msg1 = \u5f85\u4e0a\u4f20\u7684\u56fe\u7247:
  fileupload_msg2 = \u4e0b\u8f7d(\u5e76\u4fdd\u5b58)\u56fe\u7247 :
  fileupload_msg3 = \u76f4\u63a5\u663e\u793a\u56fe\u7247:
  fileupload_dlimg = \u4e0b\u8f7d\u56fe\u7247
  
  tabbed_tab1 = \u6807\u7b7e 1
  tabbed_tab2 = \u6807\u7b7e 2
  tabbed_tab3 = \u6807\u7b7e 3
  tabbed_visible1 = \u6807\u7b7e 1 \u663e\u793a
  tabbed_visible2 = \u6807\u7b7e 2 \u663e\u793a
  tabbed_visible3 = \u6807\u7b7e 3 \u663e\u793a
  tabbed_submit = \u63d0\u4ea4\u6309\u94ae
  tabbed_common = \u8fd9\u662f\u4e00\u4e2a\u7b80\u5355\u53e5\u5b50.
  
  js_popup = JavaScript \u5f39\u51fa\u5f0f\u65e5\u5386.
  js_form = Form \u5f0f\u65e5\u5386.
  js_submit = \u63d0\u4ea4
  css_msg = \u7b80\u5355\u6d4b\u8bd5
  
  forceOne = \u6570\u503c 1
  forceTwo = \u6570\u503c 2 (with forceId)
  
  
  
  1.3       +2 -1      incubator-myfaces/webapps/examples/src/org/apache/myfaces/examples/misc/OptionsForm.java
  
  Index: OptionsForm.java
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/webapps/examples/src/org/apache/myfaces/examples/misc/OptionsForm.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- OptionsForm.java	28 Jan 2005 08:31:07 -0000	1.2
  +++ OptionsForm.java	30 Jan 2005 11:21:23 -0000	1.3
  @@ -34,6 +34,7 @@
   
       private static final List AVAILABLE_LOCALES
           = Arrays.asList(new Locale[] {Locale.ENGLISH,
  +                                      Locale.CHINESE,
                                         Locale.GERMAN,
                                         Locale.JAPANESE,
                                         Locale.FRENCH,
  
  
  
  1.1                  incubator-myfaces/src/myfaces/javax/faces/Messages_zh_CN.properties
  
  Index: Messages_zh_CN.properties
  ===================================================================
  # Copyright 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.
  
  # standard messages (Spec. 2.5.1.4)
  
  javax.faces.component.UIInput.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.component.UIInput.CONVERSION_detail = "{0}": \u8f6c\u6362\u65f6\u53d1\u751f\u9519\u8bef.
  
  javax.faces.component.UIInput.REQUIRED        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.component.UIInput.REQUIRED_detail = "{0}": \u8be5\u503c\u5fc5\u987b\u586b\u5199.
  
  javax.faces.component.UISelectOne.INVALID        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.component.UISelectOne.INVALID_detail = \u975e\u6cd5\u9009\u9879.
  
  javax.faces.component.UISelectMany.INVALID        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.component.UISelectMany.INVALID_detail = \u975e\u6cd5\u9009\u9879.
  
  javax.faces.validator.NOT_IN_RANGE        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.NOT_IN_RANGE_detail = "{2}": \u8be5\u503c\u4e0d\u5728\u5141\u8bb8\u7684
{0} \u81f3 {1} \u5305\u56f4\u5185.
  
  javax.faces.validator.DoubleRangeValidator.LIMIT        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.DoubleRangeValidator.LIMIT_detail = \u65e0\u6cd5\u5c06\u8be5\u5c5e\u6027\u8f6c\u6362\u6210\u5408\u9002\u7684\u7c7b\u578b.
  
  javax.faces.validator.DoubleRangeValidator.MAXIMUM        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.DoubleRangeValidator.MAXIMUM_detail = "{1}": \u8be5\u503c\u5927\u4e8e\u5141\u8bb8\u7684\u6700\u5927\u503c
''{0}''.
  
  javax.faces.validator.DoubleRangeValidator.MINIMUM        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.DoubleRangeValidator.MINIMUM_detail = "{1}": \u8be5\u503c\u5c0f\u4e8e\u5141\u8bb8\u7684\u6700\u5c0f\u503c
''{0}''.
  
  javax.faces.validator.DoubleRangeValidator.TYPE        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.DoubleRangeValidator.TYPE_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5141\u8bb8\u7684\u7c7b\u578b.
  
  javax.faces.validator.LengthValidator.LIMIT        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.LengthValidator.LIMIT_detail = \u65e0\u6cd5\u5c06\u8be5\u5c5e\u6027\u8f6c\u6362\u6210\u5408\u9002\u7684\u7c7b\u578b.
  
  javax.faces.validator.LengthValidator.MAXIMUM        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.LengthValidator.MAXIMUM_detail = "{1}": \u8be5\u503c\u957f\u5ea6\u5927\u4e8e\u5141\u8bb8\u6700\u5927\u503c
{0} .
  
  javax.faces.validator.LengthValidator.MINIMUM        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.LengthValidator.MINIMUM_detail = "{1}": \u8be5\u503c\u957f\u5ea6\u5c0f\u4e8e\u5141\u8bb8\u6700\u5c0f\u503c
{0} .
  
  javax.faces.validator.LongRangeValidator.LIMIT        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.LongRangeValidator.LIMIT_detail = \u65e0\u6cd5\u5c06\u8be5\u5c5e\u6027\u8f6c\u6362\u6210\u5408\u9002\u7684\u7c7b\u578b.
  
  javax.faces.validator.LongRangeValidator.MAXIMUM        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.LongRangeValidator.MAXIMUM_detail = "{1}": \u8be5\u503c\u5927\u4e8e\u5141\u8bb8\u7684\u6700\u5927\u503c
''{0}''.
  
  javax.faces.validator.LongRangeValidator.MINIMUM        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.LongRangeValidator.MINIMUM_detail = "{1}": \u8be5\u503c\u5c0f\u4e8e\u5141\u8bb8\u7684\u6700\u5c0f\u503c
''{0}''.
  
  javax.faces.validator.LongRangeValidator.TYPE        = \u9a8c\u8bc1\u9519\u8bef
  javax.faces.validator.LongRangeValidator.TYPE_detail = "{0}": \u8be5\u503c\u7c7b\u578b\u4e0d\u6b63\u786e.
  
  
  # additional messages (not specified, but supported by myfaces API converters)
  
  javax.faces.convert.BigDecimalConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.BigDecimalConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  javax.faces.convert.BigIntegerConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.BigIntegerConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  javax.faces.convert.BooleanConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.BooleanConverter.CONVERSION_detail = "{1}": \u65e0\u6cd5\u5c06 '{0}'
\u8f6c\u6362\u6210\u5e03\u5c14\u503c.
  
  javax.faces.convert.ByteConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.ByteConverter.CONVERSION_detail = "{1}": \u65e0\u6cd5\u5c06 '{0}' \u8f6c\u6362\u6210\u6574\u6570\u503c.
  
  javax.faces.convert.CharacterConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.CharacterConverter.CONVERSION_detail = "{1}": \u65e0\u6cd5\u5c06 '{0}'
\u8f6c\u6362\u6210\u5b57\u7b26.
  
  javax.faces.convert.DateTimeConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.DateTimeConverter.CONVERSION_detail = "{1}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u65e5\u671f/\u65f6\u95f4\u503c.
  
  javax.faces.convert.DoubleConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.DoubleConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  javax.faces.convert.FloatConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.FloatConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  javax.faces.convert.IntegerConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.IntegerConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  javax.faces.convert.LongConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.LongConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  javax.faces.convert.NumberConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.NumberConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  javax.faces.convert.ShortConverter.CONVERSION        = \u8f6c\u6362\u9519\u8bef
  javax.faces.convert.ShortConverter.CONVERSION_detail = "{0}": \u8be5\u503c\u4e0d\u662f\u5408\u6cd5\u7684\u6570\u503c.
  
  
  # myfaces specific messages
  
  org.apache.myfaces.renderkit.html.HtmlMessagesRenderer.IN_FIELD =  \u5728\u57df {0} \u4e2d
  org.apache.myfaces.Email.INVALID = \u9a8c\u8bc1\u9519\u8bef
  org.apache.myfaces.Email.INVALID_detail = \u6240\u7ed9\u51fa\u7684\u503c ({0}) \u4e0d\u662f\u5408\u6cd5\u7535\u5b50\u90ae\u4ef6\u5730\u5740.
  
  org.apache.myfaces.Equal.INVALID = \u9a8c\u8bc1\u9519\u8bef
  org.apache.myfaces.Equal.INVALID_detail = \u6240\u7ed9\u51fa\u7684\u503c ({0}) \u4e0e\u503c
"{1}" \u4e0d\u76f8\u7b49.
  
  org.apache.myfaces.Creditcard.INVALID = \u9a8c\u8bc1\u9519\u8bef
  org.apache.myfaces.Creditcard.INVALID_detail = \u6240\u7ed9\u51fa\u7684\u503c ({0}) \u4e0d\u662f\u5408\u6cd5\u4fe1\u7528\u5361\u5361\u53f7.
  
  org.apache.myfaces.Regexpr.INVALID = \u9a8c\u8bc1\u9519\u8bef
  org.apache.myfaces.Regexpr.INVALID_detail = \u6240\u7ed9\u51fa\u7684\u503c ({0}) \u4e0d\u5408\u6cd5.
  
  org.apache.myfaces.Date.INVALID = \u9a8c\u8bc1\u9519\u8bef
  org.apache.myfaces.Date.INVALID_detail = \u6240\u7ed9\u51fa\u7684\u503c ({0}) \u4e0d\u662f\u5408\u6cd5\u65e5\u671f.
  
  org.apache.myfaces.ticker.NOCONNECTION = \u65e0\u6cd5\u8fde\u63a5: 
  org.apache.myfaces.ticker.NOCONNECTION_detail = \u8bf7\u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e?
  
  org.apache.myfaces.ISBN.INVALID = \u9a8c\u8bc1\u9519\u8bef
  org.apache.myfaces.ISBN.INVALID_detail = \u6240\u7ed9\u51fa\u7684\u503c ({0}) \u4e0d\u662f\u5408\u6cd5\u7684ISBN\u4ee3\u7801.
  
  
  

Mime
View raw message