← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 998: Replaced println with log.

 

------------------------------------------------------------
revno: 998
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Sun 2009-11-08 22:49:33 +0100
message:
  Replaced println with log.
modified:
  dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java
  dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_no_NO.properties


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java'
--- dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java	2009-11-08 20:18:11 +0000
+++ dhis-2/dhis-i18n/dhis-i18n-db/src/main/java/org/hisp/dhis/i18n/DefaultI18nService.java	2009-11-08 21:49:33 +0000
@@ -536,15 +536,15 @@
         }
         catch ( IllegalAccessException iae )
         {
-            System.out.println( "Ex: " + iae );
+            log.warn( "Ex: " + iae );
         }
         catch ( NoSuchMethodException nsme )
         {
-            System.out.println( "Ex: " + nsme );
+            log.warn( "Ex: " + nsme );
         }
         catch ( InvocationTargetException ite )
         {
-            System.out.println( "Ex: " + ite );
+            log.warn( "Ex: " + ite );
         }
     }
 
@@ -573,15 +573,15 @@
         }
         catch ( NoSuchMethodException e )
         {
-            System.out.println( e );
+            log.warn( e );
         }
         catch ( IllegalAccessException e )
         {
-            System.out.println( e );
+            log.warn( e );
         }
         catch ( InvocationTargetException e )
         {
-            System.out.println( e );
+            log.warn( e );
         }
 
         return value;
@@ -625,15 +625,15 @@
         }
         catch ( NoSuchMethodException e )
         {
-            System.out.println( e );
+            log.warn( e );
         }
         catch ( IllegalAccessException e )
         {
-            System.out.println( e );
+            log.warn( e );
         }
         catch ( InvocationTargetException e )
         {
-            System.out.println( e );
+            log.warn( e );
         }
 
         return result;

=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_no_NO.properties'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_no_NO.properties	2009-03-03 16:46:36 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_no_NO.properties	2009-11-08 21:49:33 +0000
@@ -1,5 +1,9 @@
 #Resource generated by I18n Resource Editor
 #Wed Feb 06 17:57:42 IST 2008
+maintenance = Vedlikehold
+services = Tjenester
+help = Hjelp
+about = Om
 operations=Handlinger
 change_password=Bytt passord
 translation_locale_added=Lokalitet lagt til listen\: