openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r892504 - in /incubator/openwebbeans/trunk/webbeans-impl/src/main: java/org/apache/webbeans/logger/WebBeansLogger.java resources/META-INF/Messages_en.properties resources/openwebbeans/ resources/openwebbeans/Messages.properties
Date Sat, 19 Dec 2009 21:09:39 GMT
Author: struberg
Date: Sat Dec 19 21:09:39 2009
New Revision: 892504

URL: http://svn.apache.org/viewvc?rev=892504&view=rev
Log:
OWB-191 fix resource bundle for Locales != 'en'

Added:
    incubator/openwebbeans/trunk/webbeans-impl/src/main/resources/openwebbeans/
    incubator/openwebbeans/trunk/webbeans-impl/src/main/resources/openwebbeans/Messages.properties
      - copied unchanged from r892501, incubator/openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/Messages_en.properties
Removed:
    incubator/openwebbeans/trunk/webbeans-impl/src/main/resources/META-INF/Messages_en.properties
Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/logger/WebBeansLogger.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/logger/WebBeansLogger.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/logger/WebBeansLogger.java?rev=892504&r1=892503&r2=892504&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/logger/WebBeansLogger.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/logger/WebBeansLogger.java
Sat Dec 19 21:09:39 2009
@@ -14,7 +14,6 @@
 package org.apache.webbeans.logger;
 
 import org.apache.log4j.Logger;
-import org.apache.webbeans.config.OWBLogConst;
 
 import java.text.MessageFormat;
 import java.util.Locale;
@@ -39,7 +38,7 @@
     /** Private constructor */
     private WebBeansLogger()
     {
-    	wbBundle = ResourceBundle.getBundle("META-INF.Messages");
+    	wbBundle = ResourceBundle.getBundle("openwebbeans/Messages");
     }
 
     /**



Mime
View raw message