You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by kp...@apache.org on 2003/02/04 14:16:52 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/i18n I18nUtils.java

kpiroumian    2003/02/04 05:16:51

  Modified:    src/java/org/apache/cocoon/i18n I18nUtils.java
  Log:
  Re-allow '-', '@' and '.' as locale delimiters.
  Thanks to Bruno Dumon <br...@outerthought.org>.
  
  Revision  Changes    Path
  1.8       +2 -2      xml-cocoon2/src/java/org/apache/cocoon/i18n/I18nUtils.java
  
  Index: I18nUtils.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/i18n/I18nUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- I18nUtils.java	31 Jan 2003 22:51:49 -0000	1.7
  +++ I18nUtils.java	4 Feb 2003 13:16:51 -0000	1.8
  @@ -63,7 +63,7 @@
   public class I18nUtils {
   
       // Locale string delimiter
  -    private static final String LOCALE_DELIMITER   = "_";
  +    private static final String LOCALE_DELIMITER = "_-@.";
   
       /**
        * Parses given locale string to Locale object. If the string is null
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org