← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19068: minor

 

------------------------------------------------------------
revno: 19068
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-04-30 11:00:22 +0200
message:
  minor
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.services.js


--
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-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.services.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.services.js	2015-04-28 15:28:51 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.angular.services.js	2015-04-30 09:00:22 +0000
@@ -19,7 +19,10 @@
         var promise = $http.get(url).then(function(response){
             tx= {locale: locale, keys: dhis2.util.parseJavaProperties(response.data)};
             return tx;
-        }, function(){            
+        }, function(){
+        	
+        	setHeaderDelayMessage($translate('No translation file is found for the selected locale. Using default translation (English).'));
+        	            
             var p = $http.get(defaultUrl).then(function(response){
                 tx= {locale: locale, keys: dhis2.util.parseJavaProperties(response.data)};
                 return tx;