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/webapps/examples/src/org/apache/myfaces/examples/misc OptionsForm.java
Date Fri, 28 Jan 2005 08:31:07 GMT
matzew      2005/01/28 00:31:07

  Modified:    webapps/examples/src/org/apache/myfaces/examples/resource
                        example_messages_ca.properties
                        example_messages_es.properties
               webapps/examples/src/org/apache/myfaces/examples/misc
                        OptionsForm.java
  Log:
  closed MYFACES-90. Thanks to Bruno Aranda
  
  Revision  Changes    Path
  1.6       +3 -3      incubator-myfaces/webapps/examples/src/org/apache/myfaces/examples/resource/example_messages_ca.properties
  
  Index: example_messages_ca.properties
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/webapps/examples/src/org/apache/myfaces/examples/resource/example_messages_ca.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- example_messages_ca.properties	10 Jan 2005 08:08:14 -0000	1.5
  +++ example_messages_ca.properties	28 Jan 2005 08:31:07 -0000	1.6
  @@ -133,7 +133,7 @@
   
   
   selectBoxPanel=Panell de SelectBox
  -treePanel=Panel Órbre
  +treePanel=Panell Órbre
   
   fileupload_title=Pujada d'arxiu
   fileupload_gimmeimage=Dona'm una imatge:
  @@ -158,5 +158,5 @@
   js_submit=Enviar
   css_msg=Una prova simple per  
   
  -forceOne=Value 1 @TRANSLATE
  -forceTwo=Value 2 (with forceId) @TRANSLATE
  \ No newline at end of file
  +forceOne=Valor 1
  +forceTwo=Valor 2 (amb forceId)
  \ No newline at end of file
  
  
  
  1.6       +2 -2      incubator-myfaces/webapps/examples/src/org/apache/myfaces/examples/resource/example_messages_es.properties
  
  Index: example_messages_es.properties
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/webapps/examples/src/org/apache/myfaces/examples/resource/example_messages_es.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- example_messages_es.properties	10 Jan 2005 08:08:14 -0000	1.5
  +++ example_messages_es.properties	28 Jan 2005 08:31:07 -0000	1.6
  @@ -158,5 +158,5 @@
   js_submit=Enviar
   css_msg=Una prueba simple para 
   
  -forceOne=Value 1 @TRANSLATE
  -forceTwo=Value 2 (with forceId) @TRANSLATE
  \ No newline at end of file
  +forceOne=Valor 1
  +forceTwo=Valor 2 (con forceId)
  \ No newline at end of file
  
  
  
  1.2       +8 -3      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OptionsForm.java	20 Oct 2004 07:46:39 -0000	1.1
  +++ OptionsForm.java	28 Jan 2005 08:31:07 -0000	1.2
  @@ -29,11 +29,16 @@
    */
   public class OptionsForm
   {
  +	private static final Locale SPANISH = new Locale("es", "","");
  +	private static final Locale CATALAN = new Locale("ca", "","");
  +
       private static final List AVAILABLE_LOCALES
           = Arrays.asList(new Locale[] {Locale.ENGLISH,
                                         Locale.GERMAN,
                                         Locale.JAPANESE,
  -                                      Locale.FRENCH});
  +                                      Locale.FRENCH,
  +									  SPANISH,
  +									  CATALAN});
   
       private Locale _locale = null;
   
  
  
  

Mime
View raw message