← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20630: PT i18n fix.

 

------------------------------------------------------------
revno: 20630
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-10-12 13:59:33 +0300
message:
  PT i18n fix.
modified:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/i18n/i18n_app.properties
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.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-apps/src/main/webapp/dhis-web-pivot/i18n/i18n_app.properties'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/i18n/i18n_app.properties	2015-09-22 06:05:39 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/i18n/i18n_app.properties	2015-10-12 10:59:33 +0000
@@ -206,3 +206,7 @@
 space=Space
 download_data=Download data
 skip_rounding=Skip rounding
+write_interpretation=Write interpretation
+embed_in_web_page=Embed in web page
+favorite_link=Favorite link
+api_link=API link

=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.js	2015-10-02 14:16:28 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/app.js	2015-10-12 10:59:33 +0000
@@ -1937,7 +1937,7 @@
 			});
 
 			window = Ext.create('Ext.window.Window', {
-				title: 'Write interpretation' + '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>',
+				title: NS.i18n.write_interpretation + '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>',
 				layout: 'fit',
 				width: 550,
 				bodyStyle: 'padding:1px; background-color:#fff',
@@ -6955,7 +6955,7 @@
 		});
 
 		interpretationItem = Ext.create('Ext.menu.Item', {
-			text: 'Write interpretation' + '&nbsp;&nbsp;',
+			text: NS.i18n.write_interpretation + '&nbsp;&nbsp;',
 			iconCls: 'ns-menu-item-tablelayout',
 			disabled: true,
 			xable: function() {
@@ -6978,7 +6978,7 @@
 		});
 
 		pluginItem = Ext.create('Ext.menu.Item', {
-			text: 'Embed in web page' + '&nbsp;&nbsp;',
+			text: NS.i18n.embed_in_web_page + '&nbsp;&nbsp;',
 			iconCls: 'ns-menu-item-datasource',
 			disabled: true,
 			xable: function() {
@@ -7017,7 +7017,7 @@
 				});
 
 				window = Ext.create('Ext.window.Window', {
-                    title: 'Embed in web page' + (ns.app.layout.name ? '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>' : ''),
+                    title: NS.i18n.embed_in_web_page + (ns.app.layout.name ? '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>' : ''),
 					layout: 'fit',
 					modal: true,
 					resizable: false,
@@ -7053,7 +7053,7 @@
 		});
 
         favoriteUrlItem = Ext.create('Ext.menu.Item', {
-			text: 'Favorite link' + '&nbsp;&nbsp;',
+			text: NS.i18n.favorite_link + '&nbsp;&nbsp;',
 			iconCls: 'ns-menu-item-datasource',
 			disabled: true,
 			xable: function() {
@@ -7074,7 +7074,7 @@
                 });
 
 				window = Ext.create('Ext.window.Window', {
-                    title: 'Favorite link' + '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>',
+                    title: NS.i18n.favorite_link + '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>',
 					layout: 'fit',
 					modal: true,
 					resizable: false,
@@ -7102,7 +7102,7 @@
         });
 
         apiUrlItem = Ext.create('Ext.menu.Item', {
-			text: 'API link' + '&nbsp;&nbsp;',
+			text: NS.i18n.api_link + '&nbsp;&nbsp;',
 			iconCls: 'ns-menu-item-datasource',
 			disabled: true,
 			xable: function() {
@@ -7123,7 +7123,7 @@
                 });
 
 				window = Ext.create('Ext.window.Window', {
-                    title: 'API link' + '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>',
+                    title: NS.i18n.api_link + '<span style="font-weight:normal">&nbsp;|&nbsp;&nbsp;' + ns.app.layout.name + '</span>',
 					layout: 'fit',
 					modal: true,
 					resizable: false,