← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20829: set translation=true to default in web-api, means that if you use translation all calls will be r...

 

------------------------------------------------------------
revno: 20829
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-10-21 20:15:18 +0700
message:
  set translation=true to default in web-api, means that if you use translation all calls will be run through i18nservice.. does not need modification to web-api calls, tools need to update from name:like:xyz to displayName:like:xyz
modified:
  dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/TranslateParams.java


--
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-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/TranslateParams.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/TranslateParams.java	2015-07-13 09:52:25 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/common/TranslateParams.java	2015-10-21 13:15:18 +0000
@@ -37,7 +37,7 @@
  */
 public class TranslateParams
 {
-    private boolean translate;
+    private boolean translate = true;
 
     private String locale;