]> source.dussan.org Git - archiva.git/commitdiff
fix redback i18n loading package name
authorOlivier Lamy <olamy@apache.org>
Sun, 8 Apr 2012 23:27:08 +0000 (23:27 +0000)
committerOlivier Lamy <olamy@apache.org>
Sun, 8 Apr 2012 23:27:08 +0000 (23:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1311119 13f79535-47bb-0310-9956-ffa450edef68

redback-integrations/redback-rest/redback-rest-services/src/main/java/org/apache/archiva/redback/rest/services/DefaultUtilServices.java

index 2d71d335ed52a347a337bdf97f18388b8f1e92f1..ab7fca0916211189bd58038409661bf1f35fd9c4 100644 (file)
@@ -72,26 +72,26 @@ public class DefaultUtilServices
         {
 
             // load default first then requested locale
-            loadResource( properties, "org/codehaus/plexus/redback/users/messages", null );
-            loadResource( properties, "org/codehaus/plexus/redback/users/messages", locale );
+            loadResource( properties, "org/apache/archiva/redback/users/messages", null );
+            loadResource( properties, "org/apache/archiva/redback/users/messages", locale );
 
         }
         catch ( IOException e )
         {
-            log.warn( "skip error loading properties {}", "org/codehaus/plexus/redback/users/messages" );
+            log.warn( "skip error loading properties {}", "org/apache/archiva/redback/users/messages" );
         }
 
         try
         {
 
             // load default first then requested locale
-            loadResource( properties, "org/codehaus/redback/i18n/default", null );
-            loadResource( properties, "org/codehaus/redback/i18n/default", locale );
+            loadResource( properties, "org/apache/archiva/redback/i18n/default", null );
+            loadResource( properties, "org/apache/archiva/redback/i18n/default", locale );
 
         }
         catch ( IOException e )
         {
-            log.warn( "skip error loading properties {}", "org/codehaus/redback/i18n/default" );
+            log.warn( "skip error loading properties {}", "org/apache/archiva/redback/i18n/default" );
         }
 
         StringBuilder output = new StringBuilder();
@@ -114,11 +114,11 @@ public class DefaultUtilServices
         {
             Properties properties = new Properties();
             // load default first then requested locale
-            loadResource( properties, "org/codehaus/plexus/redback/users/messages", null );
-            loadResource( properties, "org/codehaus/plexus/redback/users/messages", locale );
+            loadResource( properties, "org/apache/archiva/redback/users/messages", null );
+            loadResource( properties, "org/apache/archiva/redback/users/messages", locale );
 
-            loadResource( properties, "org/codehaus/redback/i18n/default", null );
-            loadResource( properties, "org/codehaus/redback/i18n/default", locale );
+            loadResource( properties, "org/apache/archiva/redback/i18n/default", null );
+            loadResource( properties, "org/apache/archiva/redback/i18n/default", locale );
             return properties;
         }
         catch ( IOException e )