← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12514: (GIS) Plugin fix.

 

Merge authors:
  Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 12514 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-10-08 20:26:11 +0200
message:
  (GIS) Plugin fix.
modified:
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/index.html
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/plugin.html
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js
  dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonInitialize.vm


--
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-mapping/src/main/webapp/dhis-web-mapping/app/index.html'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/index.html	2013-09-16 10:14:59 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/index.html	2013-10-08 17:58:45 +0000
@@ -18,7 +18,6 @@
 	</form>
 
 	<script type="text/javascript">
-		var GIS = {};
 		window.google = null;
 	</script>
 
@@ -30,7 +29,6 @@
 
     <script type="text/javascript" src="../../dhis-web-commons/javascripts/periodTypeNoDep.js"></script>
 
-    <script type="text/javascript" src="i18n.action"></script>
     <script type="text/javascript" src="scripts/core.js"></script>
 
     <script type="text/javascript" src="scripts/mapfish/MapFish.js"></script>

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/plugin.html'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/plugin.html	2013-09-30 15:43:49 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/plugin.html	2013-10-08 17:58:45 +0000
@@ -4,50 +4,42 @@
 <head>
     <title>DHIS2 GIS Plugin</title>
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
-	<link rel="stylesheet" type="text/css" href="../../dhis-web-commons/javascripts/ext/resources/css/ext-all-gray.css"/>
-	
+	<link rel="stylesheet" type="text/css" href="http://apps.dhis2.org/dev/dhis-web-commons/javascripts/ext/resources/css/ext-all-gray.css"/>
+
 	<style>
 		body	{font-family: sans-serif; margin: 0 0 0 60px;}
 		h1		{font-size: 20px; margin: 30px 0 20px;}
 	</style>
-</head>
-
-<body style="margin:10px 0 0 30px">
-
-	<h1>MAP BY UID</h1>
-	<div id="map1" style="width:700px; height:400px"></div>
-	
-	<h1>MAP BY CONFIG</h1>
-	<div id="map2" style="width:700px; height:400px"></div>
-
-    <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false";></script>
-
-    <script type="text/javascript" src="../../dhis-web-commons/javascripts/ext/ext-all.js"></script>
-    <script type="text/javascript" src="scripts/openlayers/OpenLayers.js"></script>
-    <script type="text/javascript" src="scripts/custom.js"></script>
-    
-    <script type="text/javascript" src="scripts/core.js"></script>
-
-    <script type="text/javascript" src="scripts/mapfish/MapFish.js"></script>
-    <script type="text/javascript" src="scripts/mapfish/core/Color.js"></script>
-    <script type="text/javascript" src="scripts/mapfish/core/Util.js"></script>
-    <script type="text/javascript" src="scripts/mapfish/core/GeoStat.js"></script>
-    <script type="text/javascript" src="scripts/mapfish/core/GeoStat/all.js"></script>
-
-    <script type="text/javascript" src="scripts/plugin.js"></script>
-
-	<script type="text/javascript">
-		Ext.onReady( function() {
-			var url = "http://localhost:8080/";;
-
+
+    <script src="https://maps.google.com/maps/api/js?sensor=false";></script>
+
+    <script src="http://apps.dhis2.org/dev/dhis-web-commons/javascripts/ext/ext-all.js";></script>
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/openlayers/OpenLayers.js";></script>
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/custom.js";></script>
+
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/core.js";></script>
+
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/mapfish/MapFish.js";></script>
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/mapfish/core/Color.js";></script>
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/mapfish/core/Util.js";></script>
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/mapfish/core/GeoStat.js";></script>
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/mapfish/core/GeoStat/all.js";></script>
+
+    <script src="http://apps.dhis2.org/dev/dhis-web-mapping/app/scripts/plugin.js";></script>
+
+	<script>
+		var base = "http://apps.dhis2.org/dev/";,
+			setLinks;
+
+		setLinks = function() {
 			GIS.getMap({
-				url: url,
+				url: base,
 				el: "map1",
 				id: "ytkZY3ChM6J"
 			});
 
 			GIS.getMap({
-				url: url,
+				url: base,
 				el: "map2",
 				mapViews: [{
 					columns: [{dimension: 'in', items: [{id: 'Uvn6LCg7dVU'}]}], // data
@@ -60,10 +52,27 @@
 					//legendSet: {id: 'fqs276KXCXi'}
 				}]
 			});
+		};
 
+		Ext.onReady( function() {
+			Ext.Ajax.request({
+				url: base + "dhis-web-commons-security/login.action",
+				method: "POST",
+				params: { j_username: "admin", j_password: "district" },
+				success: setLinks
+			});
 		});
-
 	</script>
+</head>
+
+<body style="margin:10px 0 0 30px">
+
+	<h1>MAP BY UID</h1>
+	<div id="map1" style="width:700px; height:400px"></div>
+
+	<h1>MAP BY CONFIG</h1>
+	<div id="map2" style="width:700px; height:400px"></div>
+
 </body>
 
 </html>

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js	2013-10-08 15:18:45 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js	2013-10-08 17:58:45 +0000
@@ -6639,7 +6639,11 @@
 		Ext.Ajax.request({
 			url: '../initialize.action',
 			success: function(r) {
-				gis = GIS.core.getInstance(Ext.decode(r.responseText));
+				var init = Ext.decode(r.responseText);
+
+				GIS.i18n = init.i18n;
+
+				gis = GIS.core.getInstance(init);
 
 				GIS.app.createExtensions();
 

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js	2013-10-08 13:23:38 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js	2013-10-08 17:58:45 +0000
@@ -3,32 +3,16 @@
 	// ext config
 	Ext.Ajax.method = 'GET';
 
-	// namespace
-	if (!('GIS' in window)) {
-		GIS = {
-			i18n: {
-				thematic_layer_1_legend: 'Thematic layer 1 legend',
-				thematic_layer_2_legend: 'Thematic layer 2 legend',
-				thematic_layer_3_legend: 'Thematic layer 3 legend',
-				thematic_layer_4_legend: 'Thematic layer 4 legend',
-				facility_layer_legend: 'Facility layer legend'
-			}
-		};
-	}
-
-	// mode
-	GIS.isDebug = false;
-
-	// html5
-	GIS.isSessionStorage = 'sessionStorage' in window && window['sessionStorage'] !== null;
-
-	// log
-	GIS.logg = [];
-
-	// core
-
-	GIS.core = {};
-	GIS.core.instances = [];
+	// gis
+	GIS = {
+		core: {
+			instances: []
+		},
+		i18n: {},
+		isDebug: false,
+		isSessionStorage: 'sessionStorage' in window && window['sessionStorage'] !== null,
+		logg: []
+	};
 
 	GIS.core.getOLMap = function(gis) {
 		var olmap,
@@ -2349,6 +2333,8 @@
 
 		gis.olmap.addLayers(layers);
 
+		GIS.core.instances.push(gis);
+
 		return gis;
 	};
 

=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonInitialize.vm'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonInitialize.vm	2013-09-16 13:46:22 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/jsonInitialize.vm	2013-10-08 17:58:45 +0000
@@ -15,7 +15,423 @@
 "rootNodes":[#foreach( $node in $rootNodes ){"id": "$!{node.uid}", "text": "$!encoder.jsonEncode( ${node.name} )", "level": 1, "hasChildrenWithCoordinates": $!{node.hasChildrenWithCoordinates()}, "expanded": true}#if( $velocityCount < $rootNodesSize ),#end#end],
 "organisationUnitLevels":[#foreach($level in $levels){"id":"$!{level.uid}","name":"$!encoder.jsonEncode($!{level.name})","level":"$!{level.level}"}#if($velocityCount<$levels.size()),#end#end],
 "indicatorGroups":[#foreach($group in $indicatorGroups){"id":"$!{group.uid}","name":"$!encoder.jsonEncode($!{group.name})"}#if($velocityCount<$indicatorGroups.size()),#end#end],
-"dataElementGroups":[#foreach($group in $dataElementGroups){"id":"$!{group.uid}","name":"$!encoder.jsonEncode($!{group.name})"}#if($velocityCount<$dataElementGroups.size()),#end#end]
+"dataElementGroups":[#foreach($group in $dataElementGroups){"id":"$!{group.uid}","name":"$!encoder.jsonEncode($!{group.name})"}#if($velocityCount<$dataElementGroups.size()),#end#end],
+"i18n": {
+    "save": "$encoder.jsEscape($i18n.getString( 'save' ) , "'")",
+    "saved": "$encoder.jsEscape($i18n.getString( 'saved' ) , "'")",
+    "delete_": "$encoder.jsEscape($i18n.getString( 'delete' ) , "'")",
+    "deleted": "$encoder.jsEscape($i18n.getString( 'deleted' ) , "'")",
+    "update": "$encoder.jsEscape($i18n.getString( 'update' ) , "'")",
+    "updated": "$encoder.jsEscape($i18n.getString( 'updated' ) , "'")",
+    "register": "$encoder.jsEscape($i18n.getString( 'register' ) , "'")",
+    "registered": "$encoder.jsEscape($i18n.getString( 'registered' ) , "'")",
+    "add": "$encoder.jsEscape($i18n.getString( 'add' ) , "'")",
+    "added": "$encoder.jsEscape($i18n.getString( 'added' ) , "'")",
+    "assign": "$encoder.jsEscape($i18n.getString( 'assign' ) , "'")",
+    "assigned": "$encoder.jsEscape($i18n.getString( 'assigned' ) , "'")",
+    "refresh": "$encoder.jsEscape($i18n.getString( 'refresh' ) , "'")",
+    "refreshed": "$encoder.jsEscape($i18n.getString( 'refreshed' ) , "'")",
+    "select": "$encoder.jsEscape($i18n.getString( 'select' ) , "'")",
+    "selected": "$encoder.jsEscape($i18n.getString( 'selected' ) , "'")",
+    "cancel": "$encoder.jsEscape($i18n.getString( 'cancel' ) , "'")",
+    "cancelled": "$encoder.jsEscape($i18n.getString( 'cancelled' ) , "'")",
+    "apply": "$encoder.jsEscape($i18n.getString( 'apply' ) , "'")",
+    "applied": "$encoder.jsEscape($i18n.getString( 'applied' ) , "'")",
+    "show": "$encoder.jsEscape($i18n.getString( 'show' ) , "'")",
+    "hide": "$encoder.jsEscape($i18n.getString( 'hide' ) , "'")",
+    "showhide": "$encoder.jsEscape($i18n.getString( 'showhide' ) , "'")",
+    "toggle": "$encoder.jsEscape($i18n.getString( 'toggle' ) , "'")",
+    "boundary": "$encoder.jsEscape($i18n.getString( 'boundary' ) , "'")",
+    "level": "$encoder.jsEscape($i18n.getString( 'level' ) , "'")",
+    "type": "$encoder.jsEscape($i18n.getString( 'type' ) , "'")",
+    "new_": "$encoder.jsEscape($i18n.getString( 'new' ) , "'")",
+    "edit": "$encoder.jsEscape($i18n.getString( 'edit' ) , "'")",
+    "export_": "$encoder.jsEscape($i18n.getString( 'export' ) , "'")",
+    "map": "$encoder.jsEscape($i18n.getString( 'map' ) , "'")",
+    "favorite": "$encoder.jsEscape($i18n.getString( 'favorite' ) , "'")",
+    "favorites": "$encoder.jsEscape($i18n.getString( 'favorites' ) , "'")",
+    "legend": "$encoder.jsEscape($i18n.getString( 'legend' ) , "'")",
+    "legendset": "$encoder.jsEscape($i18n.getString( 'legendset' ) , "'")",
+    "group": "$encoder.jsEscape($i18n.getString( 'group' ) , "'")",
+    "groups": "$encoder.jsEscape($i18n.getString( 'groups' ) , "'")",
+    "groupset": "$encoder.jsEscape($i18n.getString( 'groupset' ) , "'")",
+    "groupsets": "$encoder.jsEscape($i18n.getString( 'groupsets' ) , "'")",
+    "indicators": "$encoder.jsEscape($i18n.getString( 'indicators' ) , "'")",
+    "dataelements": "$encoder.jsEscape($i18n.getString( 'dataelements' ) , "'")",
+    "thematic_map": "$encoder.jsEscape($i18n.getString( 'thematic_map' ) , "'")",
+    "polygon_layer": "$encoder.jsEscape($i18n.getString( 'polygon_layer' ) , "'")",
+    "point_layer": "$encoder.jsEscape($i18n.getString( 'point_layer' ) , "'")",
+    "indicator_group": "$encoder.jsEscape($i18n.getString( 'indicator_group' ) , "'")",	
+    "indicator": "$encoder.jsEscape($i18n.getString( 'indicator' ) , "'")",	
+    "period_type": "$encoder.jsEscape($i18n.getString( 'period_type' ) , "'")",	
+    "period": "$encoder.jsEscape($i18n.getString( 'period' ) , "'")",	
+    "map": "$encoder.jsEscape($i18n.getString( 'map' ) , "'")",
+    "in_the_map": "$encoder.jsEscape($i18n.getString( 'in_the_map' ) , "'")",
+    "legend_type": "$encoder.jsEscape($i18n.getString( 'legend_type' ) , "'")",	
+    "method": "$encoder.jsEscape($i18n.getString( 'method' ) , "'")",	
+    "classes": "$encoder.jsEscape($i18n.getString( 'classes' ) , "'")",	
+    "low_color": "$encoder.jsEscape($i18n.getString( 'low_color' ) , "'")",	
+    "high_color": "$encoder.jsEscape($i18n.getString( 'high_color' ) , "'")",	
+    "optional": "$encoder.jsEscape($i18n.getString( 'optional' ) , "'")",	
+    "loading": "$encoder.jsEscape($i18n.getString( 'loading' ) , "'")",	
+    "automatic": "$encoder.jsEscape($i18n.getString( 'automatic' ) , "'")",	
+    "predefined": "$encoder.jsEscape($i18n.getString( 'predefined' ) , "'")",	
+    "equal_intervals": "$encoder.jsEscape($i18n.getString( 'equal_intervals' ) , "'")",	
+    "equal_group_count": "$encoder.jsEscape($i18n.getString( 'equal_group_count' ) , "'")",	
+    "fixed_intervals": "$encoder.jsEscape($i18n.getString( 'fixed_intervals' ) , "'")",	
+    "administrator": "$encoder.jsEscape($i18n.getString( 'administrator' ) , "'")",	
+    "map_source": "$encoder.jsEscape($i18n.getString( 'map_source' ) , "'")",	
+    "base_coordinate": "$encoder.jsEscape($i18n.getString( 'base_coordinate' ) , "'")",	
+    "admin_panels": "$encoder.jsEscape($i18n.getString( 'admin_panels' ) , "'")",	
+    "longitude_x": "$encoder.jsEscape($i18n.getString( 'longitude_x' ) , "'")",	
+    "latitude_y": "$encoder.jsEscape($i18n.getString( 'latitude_y' ) , "'")",	
+    "save_coordinate": "$encoder.jsEscape($i18n.getString( 'save_coordinate' ) , "'")",	
+    "export_map_as_image": "$encoder.jsEscape($i18n.getString( 'export_map_as_image' ) , "'")",	
+    "status": "$encoder.jsEscape($i18n.getString( 'status' ) , "'")",	
+    "error_while_retrieving_data": "$encoder.jsEscape($i18n.getString( 'error_while_retrieving_data' ) , "'")",	
+    "bounds": "$encoder.jsEscape($i18n.getString( 'bounds' ) , "'")",
+    "comma_separated_values": "$encoder.jsEscape($i18n.getString( 'comma_separated_values' ) , "'")",
+    "ajax_request_failed": "$encoder.jsEscape($i18n.getString( 'ajax_request_failed' ) , "'")",
+    "component_init_not_complete": "$encoder.jsEscape($i18n.getString( 'component_init_not_complete' ) , "'")",
+    "error": "$encoder.jsEscape($i18n.getString( 'error' ) , "'")",
+    "form_is_not_complete": "$encoder.jsEscape($i18n.getString( 'form_is_not_complete' ) , "'")",
+    "filter": "$encoder.jsEscape($i18n.getString( 'filter' ) , "'")",
+    "assign_all": "$encoder.jsEscape($i18n.getString( 'assign_all' ) , "'")",
+    "auto_assign": "$encoder.jsEscape($i18n.getString( 'auto_assign' ) , "'")",
+    "please_select_map": "$encoder.jsEscape($i18n.getString( 'please_select_map' ) , "'")",	
+    "auto_assignment": "$encoder.jsEscape($i18n.getString( 'auto_assignment' ) , "'")",	
+    "remove_all": "$encoder.jsEscape($i18n.getString( 'remove_all' ) , "'")",
+    "remove_all_relations": "$encoder.jsEscape($i18n.getString( 'remove_all_relations' ) , "'")",
+    "all_relations_for_the_map": "$encoder.jsEscape($i18n.getString( 'all_relations_for_the_map' ) , "'")",
+    "removed": "$encoder.jsEscape($i18n.getString( 'removed' ) , "'")",
+    "error_while_deleting_relation_map_and_oranisation_unit": "$encoder.jsEscape($i18n.getString( 'error_while_deleting_relation_map_and_oranisation_unit' ) , "'")",
+    "remove_selected": "$encoder.jsEscape($i18n.getString( 'remove_selected' ) , "'")",
+    "remove_relation": "$encoder.jsEscape($i18n.getString( 'remove_relation' ) , "'")",
+    "please_select_least_one_organisation_unit_in_the_list": "$encoder.jsEscape($i18n.getString( 'please_select_least_one_organisation_unit_in_the_list' ) , "'")",
+    "assign": "$encoder.jsEscape($i18n.getString( 'assign' ) , "'")",	
+    "organisation_units": "$encoder.jsEscape($i18n.getString( 'organisation_units' ) , "'")",	
+    "assigned_to": "$encoder.jsEscape($i18n.getString( 'assigned_to' ) , "'")",
+    "database": "$encoder.jsEscape($i18n.getString( 'database' ) , "'")",
+    "is_already_assigned": "$encoder.jsEscape($i18n.getString( 'is_already_assigned' ) , "'")",
+    "min_size": "$encoder.jsEscape($i18n.getString( 'min_size' ) , "'")",
+    "max_size": "$encoder.jsEscape($i18n.getString( 'max_size' ) , "'")",
+    "select_a_value": "$encoder.jsEscape($i18n.getString( 'select_a_value' ) , "'")",
+    "applying_organisation_units_relations": "$encoder.jsEscape($i18n.getString( 'applying_organisation_units_relations' ) , "'")",
+    "assigning": "$encoder.jsEscape($i18n.getString( 'assigning' ) , "'")",
+    "no": "$encoder.jsEscape($i18n.getString( 'no' ) , "'")",
+    "assigned": "$encoder.jsEscape($i18n.getString( 'assigned' ) , "'")",
+    "creating_map": "$encoder.jsEscape($i18n.getString( 'creating_map' ) , "'")",
+    "current_selection_no_data": "$encoder.jsEscape($i18n.getString( 'current_selection_no_data' ) , "'")",
+    "creating_choropleth": "$encoder.jsEscape($i18n.getString( 'creating_choropleth' ) , "'")",	
+    "assign_organisation_unit": "$encoder.jsEscape($i18n.getString( 'assign_organisation_unit' ) , "'")",
+    "no_feature_selected": "$encoder.jsEscape($i18n.getString( 'no_feature_selected' ) , "'")",
+    "cursor_position": "$encoder.jsEscape($i18n.getString( 'cursor_position' ) , "'")",
+    "overview_map": "$encoder.jsEscape($i18n.getString( 'overview_map' ) , "'")",
+    "feature_data": "$encoder.jsEscape($i18n.getString( 'feature_data' ) , "'")",
+    "map_legend_polygon": "$encoder.jsEscape($i18n.getString( 'map_legend_polygon' ) , "'")",
+    "map_legend_point": "$encoder.jsEscape($i18n.getString( 'map_legend_point' ) , "'")",
+    "return_to_DHIS_2_dashboard": "$encoder.jsEscape($i18n.getString( 'return_to_DHIS_2_dashboard' ) , "'")",
+    "exit_gis": "$encoder.jsEscape($i18n.getString( 'exit_gis' ) , "'")",
+    "help": "$encoder.jsEscape($i18n.getString( 'help' ) , "'")",
+    "create_predefined_legend_sets": "$encoder.jsEscape($i18n.getString( 'create_predefined_legend_sets' ) , "'")",
+    "export_map_as_excel": "$encoder.jsEscape($i18n.getString( 'export_map_as_excel' ) , "'")",
+    "favorite_map_views": "$encoder.jsEscape($i18n.getString( 'favorite_map_views' ) , "'")",	
+    "show_hide_labels": "$encoder.jsEscape($i18n.getString( 'show_hide_labels' ) , "'")",	
+    "zoom_to_visible_extent": "$encoder.jsEscape($i18n.getString( 'zoom_to_visible_extent' ) , "'")",
+    "zoom_out": "$encoder.jsEscape($i18n.getString( 'zoom_out' ) , "'")",
+    "zoom_in": "$encoder.jsEscape($i18n.getString( 'zoom_in' ) , "'")",
+    "assign_organisation_units_to_map": "$encoder.jsEscape($i18n.getString( 'assign_organisation_units_to_map' ) , "'")",
+    "map_layers": "$encoder.jsEscape($i18n.getString( 'map_layers' ) , "'")",
+    "and": "$encoder.jsEscape($i18n.getString( 'and' ) , "'")",
+    "was_saved_as_base_coordinate": "$encoder.jsEscape($i18n.getString( 'was_saved_as_base_coordinate' ) , "'")",
+    "error_while_saving_data": "$encoder.jsEscape($i18n.getString( 'error_while_saving_data' ) , "'")",
+    "is_saved_as_map_source": "$encoder.jsEscape($i18n.getString( 'is_saved_as_map_source' ) , "'")",
+    "is_already_selected": "$encoder.jsEscape($i18n.getString( 'is_already_selected' ) , "'")",
+    "overlays_": "$encoder.jsEscape($i18n.getString( 'overlays_' ) , "'")",
+    "overlays": "$encoder.jsEscape($i18n.getString( 'overlays' ) , "'")",
+    "was_registered": "$encoder.jsEscape($i18n.getString( 'was_registered' ) , "'")",
+    "is_already_in_use": "$encoder.jsEscape($i18n.getString( 'is_already_in_use' ) , "'")",
+    "new_overlay": "$encoder.jsEscape($i18n.getString( 'new_overlay' ) , "'")",
+    "name": "$encoder.jsEscape($i18n.getString( 'name' ) , "'")",
+    "overlay_form_is_not_complete": "$encoder.jsEscape($i18n.getString( 'overlay_form_is_not_complete' ) , "'")",
+    "display_name": "$encoder.jsEscape($i18n.getString( 'display_name' ) , "'")",
+    "fill_color": "$encoder.jsEscape($i18n.getString( 'fill_color' ) , "'")",
+    "fill_opacity": "$encoder.jsEscape($i18n.getString( 'fill_opacity' ) , "'")",
+    "stroke_color": "$encoder.jsEscape($i18n.getString( 'stroke_color' ) , "'")",
+    "map_source_file": "$encoder.jsEscape($i18n.getString( 'map_source_file' ) , "'")",
+    "please_enter_map_title": "$encoder.jsEscape($i18n.getString( 'please_enter_map_title' ) , "'")",
+    "stroke_width": "$encoder.jsEscape($i18n.getString( 'stroke_width' ) , "'")",	
+    "delete_overlay": "$encoder.jsEscape($i18n.getString( 'delete_overlay' ) , "'")",
+    "overlay": "$encoder.jsEscape($i18n.getString( 'overlay' ) , "'")",
+    "was_deleted": "$encoder.jsEscape($i18n.getString( 'was_deleted' ) , "'")",
+    "please_select_an_overlay": "$encoder.jsEscape($i18n.getString( 'please_select_an_overlay' ) , "'")",
+    "select": "$encoder.jsEscape($i18n.getString( 'select' ) , "'")",
+    "title": "$encoder.jsEscape($i18n.getString( 'title' ) , "'")",
+    "preview": "$encoder.jsEscape($i18n.getString( 'preview' ) , "'")",
+    "queryable": "$encoder.jsEscape($i18n.getString( 'queryable' ) , "'")",
+    "description": "$encoder.jsEscape($i18n.getString( 'description' ) , "'")",
+    "register_map": "$encoder.jsEscape($i18n.getString( 'register_map' ) , "'")",
+    "register_maps": "$encoder.jsEscape($i18n.getString( 'register_maps' ) , "'")",
+    "zoom": "$encoder.jsEscape($i18n.getString( 'zoom' ) , "'")",	
+    "name_column": "$encoder.jsEscape($i18n.getString( 'name_column' ) , "'")",	
+    "organisation_unit_level": "$encoder.jsEscape($i18n.getString( 'organisation_unit_level' ) , "'")",
+    "please_render_map_first": "$encoder.jsEscape($i18n.getString( 'please_render_map_first' ) , "'")",
+    "please_select_an_overlay": "$encoder.jsEscape($i18n.getString( 'please_select_an_overlay' ) , "'")",
+    "select": "$encoder.jsEscape($i18n.getString( 'select' ) , "'")",
+    "title": "$encoder.jsEscape($i18n.getString( 'title' ) , "'")",
+    "include_legend": "$encoder.jsEscape($i18n.getString( 'include_legend' ) , "'")",
+    "include_values": "$encoder.jsEscape($i18n.getString( 'include_values' ) , "'")",
+    "export_excel": "$encoder.jsEscape($i18n.getString( 'export_excel' ) , "'")",
+    "image_format": "$encoder.jsEscape($i18n.getString( 'image_format' ) , "'")",
+    "image_quality": "$encoder.jsEscape($i18n.getString( 'image_quality' ) , "'")",
+    "export_image": "$encoder.jsEscape($i18n.getString( 'export_image' ) , "'")",
+    "image_export": "$encoder.jsEscape($i18n.getString( 'image_export' ) , "'")",
+    "setup": "$encoder.jsEscape($i18n.getString( 'setup' ) , "'")",
+    "medium": "$encoder.jsEscape($i18n.getString( 'medium' ) , "'")",	
+    "large": "$encoder.jsEscape($i18n.getString( 'large' ) , "'")",
+    "add_to_dashboard": "$encoder.jsEscape($i18n.getString( 'add_to_dashboard' ) , "'")",
+    "dhis_dashboard": "$encoder.jsEscape($i18n.getString( 'dhis_dashboard' ) , "'")",
+    "dashboard_map_view": "$encoder.jsEscape($i18n.getString( 'dashboard_map_view' ) , "'")",
+    "added_to_dashboard": "$encoder.jsEscape($i18n.getString( 'added_to_dashboard' ) , "'")",
+    "please_select_a_map_view": "$encoder.jsEscape($i18n.getString( 'please_select_a_map_view' ) , "'")",
+    "view": "$encoder.jsEscape($i18n.getString( 'view' ) , "'")",
+    "delete_map_view": "$encoder.jsEscape($i18n.getString( 'delete_map_view' ) , "'")",
+    "new_map_view": "$encoder.jsEscape($i18n.getString( 'new_map_view' ) , "'")",
+    "there_is_already_a_map_view_called": "$encoder.jsEscape($i18n.getString( 'there_is_already_a_map_view_called' ) , "'")",
+    "thematic_map_form_is_not_complete": "$encoder.jsEscape($i18n.getString( 'thematic_map_form_is_not_complete' ) , "'")",	
+    "map_view_form_is_not_complete": "$encoder.jsEscape($i18n.getString( 'map_view_form_is_not_complete' ) , "'")",	
+    "save": "$encoder.jsEscape($i18n.getString( 'save' ) , "'")",
+    "saving_current_thematic_map_selection": "$encoder.jsEscape($i18n.getString( 'saving_current_thematic_map_selection' ) , "'")",
+    "new_legend_set": "$encoder.jsEscape($i18n.getString( 'new_legend_set' ) , "'")",
+    "already_exists": "$encoder.jsEscape($i18n.getString( 'already_exists' ) , "'")",
+    "a_legend_set_called": "$encoder.jsEscape($i18n.getString( 'a_legend_set_called' ) , "'")",
+    "assign_to_indicator": "$encoder.jsEscape($i18n.getString( 'assign_to_indicator' ) , "'")",
+    "assign_to_dataelement": "$encoder.jsEscape($i18n.getString( 'assign_to_dataelement' ) , "'")",
+    "please_select_a_legend_set": "$encoder.jsEscape($i18n.getString( 'please_select_a_legend_set' ) , "'")",
+    "link_legend_set_to_indicator": "$encoder.jsEscape($i18n.getString( 'link_legend_set_to_indicator' ) , "'")",
+    "please_select_at_least_one_indicator": "$encoder.jsEscape($i18n.getString( 'please_select_at_least_one_indicator' ) , "'")",	
+    "was_updated": "$encoder.jsEscape($i18n.getString( 'was_updated' ) , "'")",	
+    "automatic_legend_sets": "$encoder.jsEscape($i18n.getString( 'automatic_legend_sets' ) , "'")",
+    "start_value": "$encoder.jsEscape($i18n.getString( 'start_value' ) , "'")",
+    "end_value": "$encoder.jsEscape($i18n.getString( 'end_value' ) , "'")",
+    "color": "$encoder.jsEscape($i18n.getString( 'color' ) , "'")",
+    "new_legend": "$encoder.jsEscape($i18n.getString( 'new_legend' ) , "'")",
+    "please_select_a_legend": "$encoder.jsEscape($i18n.getString( 'please_select_a_legend' ) , "'")",
+    "legends": "$encoder.jsEscape($i18n.getString( 'legends' ) , "'")",
+    "overlapping_legends_are_not_allowed": "$encoder.jsEscape($i18n.getString( 'overlapping_legends_are_not_allowed' ) , "'")",
+    "please_select_at_least_one_legend": "$encoder.jsEscape($i18n.getString( 'please_select_at_least_one_legend' ) , "'")",
+    "predefined_legend_sets": "$encoder.jsEscape($i18n.getString( 'predefined_legend_sets' ) , "'")",	
+    "assignment": "$encoder.jsEscape($i18n.getString( 'assignment' ) , "'")",	
+    "geoserver_shapefiles": "$encoder.jsEscape($i18n.getString( 'geoserver_shapefiles' ) , "'")",
+    "must_be_a_number": "$encoder.jsEscape($i18n.getString( 'must_be_a_number' ) , "'")",
+    "must_be_between_180_and_180": "$encoder.jsEscape($i18n.getString( 'must_be_between_-180_and_180' ) , "'")",
+    "must_be_between_90_and_90": "$encoder.jsEscape($i18n.getString( 'must_be_between_-90_and_90' ) , "'")",
+    "there_is_already_a_map_called": "$encoder.jsEscape($i18n.getString( 'there_is_already_a_map_called' ) , "'")",
+    "selected_relations_removed": "$encoder.jsEscape($i18n.getString( 'selected_relations_removed' ) , "'")",
+    "the_source_file": "$encoder.jsEscape($i18n.getString( 'the_source_file' ) , "'")",
+    "delete_baselayer": "$encoder.jsEscape($i18n.getString( 'delete_baselayer' ) , "'")",
+    "please_select_a_baselayer": "$encoder.jsEscape($i18n.getString( 'please_select_a_baselayer' ) , "'")",
+    "baselayer": "$encoder.jsEscape($i18n.getString( 'baselayer' ) , "'")",
+    "baselayers": "$encoder.jsEscape($i18n.getString( 'baselayers' ) , "'")",
+    "url": "$encoder.jsEscape($i18n.getString( 'url' ) , "'")",
+    "layer": "$encoder.jsEscape($i18n.getString( 'layer' ) , "'")",
+    "new_baselayer": "$encoder.jsEscape($i18n.getString( 'new_baselayer' ) , "'")",
+    "baselayer_form_is_not_complete": "$encoder.jsEscape($i18n.getString( 'baselayer_form_is_not_complete' ) , "'")",
+    "mapvaluetype": "$encoder.jsEscape($i18n.getString( 'mapvaluetype' ) , "'")",
+    "dataelement_group": "$encoder.jsEscape($i18n.getString( 'dataelement_group' ) , "'")",
+    "dataelement": "$encoder.jsEscape($i18n.getString( 'dataelement' ) , "'")",
+    "organisation_units_assigned": "$encoder.jsEscape($i18n.getString( 'organisation_units_assigned' ) , "'")",
+    "the_view": "$encoder.jsEscape($i18n.getString( 'the_view' ) , "'")",
+    "parent_orgunit": "$encoder.jsEscape($i18n.getString( 'parent_orgunit' ) , "'")",
+    "delete_map": "$encoder.jsEscape($i18n.getString( 'delete_map' ) , "'")",
+    "aggregating_map_values": "$encoder.jsEscape($i18n.getString( 'aggregating_map_values' ) , "'")",
+    "loading_geojson": "$encoder.jsEscape($i18n.getString( 'loading_geojson' ) , "'")",
+    "date_type": "$encoder.jsEscape($i18n.getString( 'date_type' ) , "'")",
+    "saved_as_date_type": "$encoder.jsEscape($i18n.getString( 'saved_as_date_type' ) , "'")",
+    "start_date": "$encoder.jsEscape($i18n.getString( 'start_date' ) , "'")",
+    "end_date": "$encoder.jsEscape($i18n.getString( 'end_date' ) , "'")",
+    "fixed_periods": "$encoder.jsEscape($i18n.getString( 'fixed_periods' ) , "'")",
+    "start_end_dates": "$encoder.jsEscape($i18n.getString( 'start_end_dates' ) , "'")",
+    "please_expand_layer_panel": "$encoder.jsEscape($i18n.getString( 'please_expand_layer_panel' ) , "'")",
+    "has_no_orgunits": "$encoder.jsEscape($i18n.getString( 'has_no_orgunits' ) , "'")",
+    "highlight_color": "$encoder.jsEscape($i18n.getString( 'highlight_color' ) , "'")",
+    "feature_filter": "$encoder.jsEscape($i18n.getString( 'feature_filter' ) , "'")",
+    "locate_features": "$encoder.jsEscape($i18n.getString( 'locate_features' ) , "'")",
+    "no_coordinates_found": "$encoder.jsEscape($i18n.getString( 'no_coordinates_found' ) , "'")",
+    "image_resolution": "$encoder.jsEscape($i18n.getString( 'image_resolution' ) , "'")",
+    "max": "$encoder.jsEscape($i18n.getString( 'max' ) , "'")",
+    "characters": "$encoder.jsEscape($i18n.getString( 'characters' ) , "'")",
+    "geojson_file": "$encoder.jsEscape($i18n.getString( 'geojson_file' ) , "'")",
+    "history": "$encoder.jsEscape($i18n.getString( 'history' ) , "'")",
+    "api_key": "$encoder.jsEscape($i18n.getString( 'api_key' ) , "'")",
+    "measure_distance": "$encoder.jsEscape($i18n.getString( 'measure_distance' ) , "'")",
+    "low_point_size": "$encoder.jsEscape($i18n.getString( 'low_point_size' ) , "'")",
+    "high_point_size": "$encoder.jsEscape($i18n.getString( 'high_point_size' ) , "'")",
+    "system": "$encoder.jsEscape($i18n.getString( 'system' ) , "'")",
+    "width": "$encoder.jsEscape($i18n.getString( 'width' ) , "'")",
+    "height": "$encoder.jsEscape($i18n.getString( 'height' ) , "'")",
+    "text_filter": "$encoder.jsEscape($i18n.getString( 'text_filter' ) , "'")",
+    "font_size": "$encoder.jsEscape($i18n.getString( 'font_size' ) , "'")",
+    "bold_": "$encoder.jsEscape($i18n.getString( 'bold_' ) , "'")",
+    "italic": "$encoder.jsEscape($i18n.getString( 'italic' ) , "'")",
+    "level": "$encoder.jsEscape($i18n.getString( 'level' ) , "'")",
+    "low_point_size": "$encoder.jsEscape($i18n.getString( 'low_point_size' ) , "'")",
+    "high_point_size": "$encoder.jsEscape($i18n.getString( 'high_point_size' ) , "'")",
+    "system": "$encoder.jsEscape($i18n.getString( 'system' ) , "'")",
+    "width": "$encoder.jsEscape($i18n.getString( 'width' ) , "'")",
+    "height": "$encoder.jsEscape($i18n.getString( 'height' ) , "'")",
+    "text_filter": "$encoder.jsEscape($i18n.getString( 'text_filter' ) , "'")",
+    "font_size": "$encoder.jsEscape($i18n.getString( 'font_size' ) , "'")",
+    "bold_": "$encoder.jsEscape($i18n.getString( 'bold_' ) , "'")",
+    "italic": "$encoder.jsEscape($i18n.getString( 'italic' ) , "'")",
+    "select_outer_boundary": "$encoder.jsEscape($i18n.getString( 'select_outer_boundary' ) , "'")",
+    "select_organisation_unit_level": "$encoder.jsEscape($i18n.getString( 'select_organisation_unit_level' ) , "'")",
+    "type": "$encoder.jsEscape($i18n.getString( 'type' ) , "'")",
+    "code": "$encoder.jsEscape($i18n.getString( 'code' ) , "'")",
+    "address": "$encoder.jsEscape($i18n.getString( 'address' ) , "'")",
+    "contact_person": "$encoder.jsEscape($i18n.getString( 'contact_person' ) , "'")",
+    "email": "$encoder.jsEscape($i18n.getString( 'email' ) , "'")",
+    "phone_number": "$encoder.jsEscape($i18n.getString( 'phone_number' ) , "'")",
+    "infrastructural_data": "$encoder.jsEscape($i18n.getString( 'infrastructural_data' ) , "'")",
+    "select_point_level": "$encoder.jsEscape($i18n.getString( 'select_point_level' ) , "'")",
+    "level_is_higher_that_boundary_level": "$encoder.jsEscape($i18n.getString( 'level_is_higher_that_boundary_level' ) , "'")",
+    "select_new_location_on_map": "$encoder.jsEscape($i18n.getString( 'select_new_location_on_map' ) , "'")",
+    "show_information_sheet": "$encoder.jsEscape($i18n.getString( 'show_information_sheet' ) , "'")",
+    "relocate": "$encoder.jsEscape($i18n.getString( 'relocate' ) , "'")",
+    "administrator_settings": "$encoder.jsEscape($i18n.getString( 'administrator_settings' ) , "'")",
+    "thematic_layer": "$encoder.jsEscape($i18n.getString( 'thematic_layer' ) , "'")",
+    "register_map_favorite": "$encoder.jsEscape($i18n.getString( 'register_map_favorite' ) , "'")",
+    "delete_favorite": "$encoder.jsEscape($i18n.getString( 'delete_favorite' ) , "'")",
+    "register_new_legend": "$encoder.jsEscape($i18n.getString( 'register_new_legend' ) , "'")",
+    "delete_legend": "$encoder.jsEscape($i18n.getString( 'delete_legend' ) , "'")",
+    "overlay_": "$encoder.jsEscape($i18n.getString( 'overlay_' ) , "'")",
+    "register_new_legend_set": "$encoder.jsEscape($i18n.getString( 'register_new_legend_set' ) , "'")",
+    "delete_legend_set": "$encoder.jsEscape($i18n.getString( 'delete_legend_set' ) , "'")",
+    "assign_indicators_to_legend_set": "$encoder.jsEscape($i18n.getString( 'assign_indicators_to_legend_set' ) , "'")",
+    "assign_dataelements_to_legend_set": "$encoder.jsEscape($i18n.getString( 'assign_dataelements_to_legend_set' ) , "'")",
+    "export_image": "$encoder.jsEscape($i18n.getString( 'export_image' ) , "'")",
+    "export_thematic_map_to_png": "$encoder.jsEscape($i18n.getString( 'export_thematic_map_to_png' ) , "'")",
+    "total_distance": "$encoder.jsEscape($i18n.getString( 'total_distance' ) , "'")",
+    "set_thematic_map_date_type": "$encoder.jsEscape($i18n.getString( 'set_thematic_map_date_type' ) , "'")",
+    "date": "$encoder.jsEscape($i18n.getString( 'date' ) , "'")",
+    "legend_symbolizer": "$encoder.jsEscape($i18n.getString( 'legend_symbolizer' ) , "'")",
+    "image": "$encoder.jsEscape($i18n.getString( 'image' ) , "'")",
+    "register_new_wms_overlay": "$encoder.jsEscape($i18n.getString( 'register_new_wms_overlay' ) , "'")",
+    "register_new_vector_overlay": "$encoder.jsEscape($i18n.getString( 'register_new_vector_overlay' ) , "'")",
+    "manage_favorites": "$encoder.jsEscape($i18n.getString( 'manage_favorites' ) , "'")",
+    "layers": "$encoder.jsEscape($i18n.getString( 'layers' ) , "'")",
+    "tools": "$encoder.jsEscape($i18n.getString( 'tools' ) , "'")",
+    "edit_layer": "$encoder.jsEscape($i18n.getString( 'edit_layer' ) , "'")",
+    "clear": "$encoder.jsEscape($i18n.getString( 'clear' ) , "'")",
+    "search": "$encoder.jsEscape($i18n.getString( 'search' ) , "'")",
+    "labels": "$encoder.jsEscape($i18n.getString( 'labels' ) , "'")",
+    "show_hide_feature_labels": "$encoder.jsEscape($i18n.getString( 'show_hide_feature_labels' ) , "'")",
+    "opacity": "$encoder.jsEscape($i18n.getString( 'opacity' ) , "'")",
+    "history": "$encoder.jsEscape($i18n.getString( 'history' ) , "'")",
+    "data_options": "$encoder.jsEscape($i18n.getString( 'data_options' ) , "'")",
+    "legend_options": "$encoder.jsEscape($i18n.getString( 'legend_options' ) , "'")",
+    "parent_organisation_unit": "$encoder.jsEscape($i18n.getString( 'parent_organisation_unit' ) , "'")",
+    "resize": "$encoder.jsEscape($i18n.getString( 'resize' ) , "'")",
+    "facility_layer": "$encoder.jsEscape($i18n.getString( 'facility_layer' ) , "'")",
+    "open_which_layer": "$encoder.jsEscape($i18n.getString( 'open_which_layer' ) , "'")",
+    "organisationunit_search": "$encoder.jsEscape($i18n.getString( 'organisationunit_search' ) , "'")",
+    "no_features_rendered": "$encoder.jsEscape($i18n.getString( 'no_features_rendered' ) , "'")",
+    "wms_overlays": "$encoder.jsEscape($i18n.getString( 'wms_overlays' ) , "'")",
+    "file_overlays": "$encoder.jsEscape($i18n.getString( 'file_overlays' ) , "'")",
+    "symbol_layer": "$encoder.jsEscape($i18n.getString( 'symbol_layer' ) , "'")",
+    "centroid_layer": "$encoder.jsEscape($i18n.getString( 'centroid_layer' ) , "'")",
+    "no_values_found": "$encoder.jsEscape($i18n.getString( 'no_values_found' ) , "'")",
+    "close": "$encoder.jsEscape($i18n.getString( 'close' ) , "'")",
+    "boundary_layer": "$encoder.jsEscape($i18n.getString( 'boundary_layer' ) , "'")",
+    "register_new_wms_overlay": "$encoder.jsEscape($i18n.getString( 'register_new_wms_overlay' ) , "'")",
+    "can_view": "$encoder.jsEscape($i18n.getString( 'can_view' ) , "'")",
+    "can_edit_and_view": "$encoder.jsEscape($i18n.getString( 'can_edit_and_view' ) , "'")",
+    "none": "$encoder.jsEscape($i18n.getString( 'none' ) , "'")",
+    "public_access": "$encoder.jsEscape($i18n.getString( 'public_access' ) , "'")",
+    "search_for_user_groups": "$encoder.jsEscape($i18n.getString( 'search_for_user_groups' ) , "'")",
+    "create": "$encoder.jsEscape($i18n.getString( 'create' ) , "'")",
+    "add_new": "$encoder.jsEscape($i18n.getString( 'add_new' ) , "'")",
+    "search_for_favorites": "$encoder.jsEscape($i18n.getString( 'search_for_favorites' ) , "'")",
+    "prev": "$encoder.jsEscape($i18n.getString( 'prev' ) , "'")",
+    "next": "$encoder.jsEscape($i18n.getString( 'next' ) , "'")",
+    "no_map_to_save": "$encoder.jsEscape($i18n.getString( 'no_map_to_save' ) , "'")",
+    "rename": "$encoder.jsEscape($i18n.getString( 'rename' ) , "'")",
+    "overwrite": "$encoder.jsEscape($i18n.getString( 'overwrite' ) , "'")",
+    "share_with_other_people": "$encoder.jsEscape($i18n.getString( 'share_with_other_people' ) , "'")",
+    "legend_set_name": "$encoder.jsEscape($i18n.getString( 'legend_set_name' ) , "'")",
+    "legend_name": "$encoder.jsEscape($i18n.getString( 'legend_name' ) , "'")",
+    "add_legend": "$encoder.jsEscape($i18n.getString( 'add_legend' ) , "'")",
+    "favorite_outdated_create_new": "$encoder.jsEscape($i18n.getString( 'favorite_outdated_create_new' ) , "'")",
+    "no_valid_coordinates_found": "$encoder.jsEscape($i18n.getString( 'no_valid_coordinates_found' ) , "'")",
+    "invalid_coordinates": "$encoder.jsEscape($i18n.getString( 'invalid_coordinates' ) , "'")",
+    "coordinates_could_not_be_loaded": "$encoder.jsEscape($i18n.getString( 'coordinates_could_not_be_loaded' ) , "'")",
+    "no_aggregated_data_found": "$encoder.jsEscape($i18n.getString( 'no_aggregated_data_found' ) , "'")",
+    "start_end_value": "$encoder.jsEscape($i18n.getString( 'start_end_value' ) , "'")",
+    "current_legends": "$encoder.jsEscape($i18n.getString( 'current_legends' ) , "'")",
+    "legendsets": "$encoder.jsEscape($i18n.getString( 'legendsets' ) , "'")",
+    "download": "$encoder.jsEscape($i18n.getString( 'download' ) , "'")",
+    "please_create_map_first": "$encoder.jsEscape($i18n.getString( 'please_create_map_first' ) , "'")",
+    "download_map_as_png": "$encoder.jsEscape($i18n.getString( 'download_map_as_png' ) , "'")",
+    "write_your_interpretation": "$encoder.jsEscape($i18n.getString( 'write_your_interpretation' ) , "'")",
+    "share": "$encoder.jsEscape($i18n.getString( 'share' ) , "'")",
+    "share_interpretation": "$encoder.jsEscape($i18n.getString( 'share_interpretation' ) , "'")",
+    "organisation_unit_level_parent": "$encoder.jsEscape($i18n.getString( 'organisation_unit_level_parent' ) , "'")",
+    "value_type": "$encoder.jsEscape($i18n.getString( 'value_type' ) , "'")",
+    "equal_counts": "$encoder.jsEscape($i18n.getString( 'equal_counts' ) , "'")",
+    "classes_method": "$encoder.jsEscape($i18n.getString( 'classes_method' ) , "'")",
+    "low_color_size": "$encoder.jsEscape($i18n.getString( 'low_color_size' ) , "'")",
+    "high_color_size": "$encoder.jsEscape($i18n.getString( 'high_color_size' ) , "'")",
+    "no_indicator_selected": "$encoder.jsEscape($i18n.getString( 'no_indicator_selected' ) , "'")",
+    "no_dataelement_selected": "$encoder.jsEscape($i18n.getString( 'no_dataelement_selected' ) , "'")",
+    "no_period_selected": "$encoder.jsEscape($i18n.getString( 'no_period_selected' ) , "'")",
+    "no_legendset_selected": "$encoder.jsEscape($i18n.getString( 'no_legendset_selected' ) , "'")",
+    "no_level_selected": "$encoder.jsEscape($i18n.getString( 'no_level_selected' ) , "'")",
+    "no_parent_organisationunit_selected": "$encoder.jsEscape($i18n.getString( 'no_parent_organisationunit_selected' ) , "'")",
+    "no_groupset_selected": "$encoder.jsEscape($i18n.getString( 'no_groupset_selected' ) , "'")",
+    "show_circular_area": "$encoder.jsEscape($i18n.getString( 'show_circular_area' ) , "'")",
+    "organisationunit_groupset": "$encoder.jsEscape($i18n.getString( 'organisationunit_groupset' ) , "'")",
+    "surrounding_areas": "$encoder.jsEscape($i18n.getString( 'surrounding_areas' ) , "'")",
+    "table": "$encoder.jsEscape($i18n.getString( 'table' ) , "'")",
+    "chart": "$encoder.jsEscape($i18n.getString( 'chart' ) , "'")",
+    "layer_stack_transparency": "$encoder.jsEscape($i18n.getString( 'layer_stack_transparency' ) , "'")",
+    "thematic_layer_1_legend": "$encoder.jsEscape($i18n.getString( 'thematic_layer_1_legend' ) , "'")",
+    "thematic_layer_2_legend": "$encoder.jsEscape($i18n.getString( 'thematic_layer_2_legend' ) , "'")",
+    "thematic_layer_3_legend": "$encoder.jsEscape($i18n.getString( 'thematic_layer_3_legend' ) , "'")",
+    "thematic_layer_4_legend": "$encoder.jsEscape($i18n.getString( 'thematic_layer_4_legend' ) , "'")",
+    "facility_layer_legend": "$encoder.jsEscape($i18n.getString( 'facility_layer_legend' ) , "'")",
+    "facility_layer_export_currently_not_supported": "$encoder.jsEscape($i18n.getString( 'facility_layer_export_currently_not_supported' ) , "'")",
+    "link_": "$encoder.jsEscape($i18n.getString( 'link_' ) , "'")",
+    "level_not_higher_than_parent_level": "$encoder.jsEscape($i18n.getString( 'level_not_higher_than_parent_level' ) , "'")",
+    "information": "$encoder.jsEscape($i18n.getString( 'information' ) , "'")",
+    "parent_unit": "$encoder.jsEscape($i18n.getString( 'parent_unit' ) , "'")",
+    "home": "$encoder.jsEscape($i18n.getString( 'home' ) , "'")",
+    "google_streets": "$encoder.jsEscape($i18n.getString( 'google_streets' ) , "'")",
+    "google_hybrid": "$encoder.jsEscape($i18n.getString( 'google_hybrid' ) , "'")",
+    "openstreetmap": "$encoder.jsEscape($i18n.getString( 'openstreetmap' ) , "'")",
+    "totals": "$encoder.jsEscape($i18n.getString( 'totals' ) , "'")",
+    "details": "$encoder.jsEscape($i18n.getString( 'details' ) , "'")",
+    "last_week": "$encoder.jsEscape($i18n.getString( 'last_week' ) , "'")",
+    "last_month": "$encoder.jsEscape($i18n.getString( 'last_month' ) , "'")",
+    "last_bimonth": "$encoder.jsEscape($i18n.getString( 'last_bimonth' ) , "'")",
+    "last_quarter": "$encoder.jsEscape($i18n.getString( 'last_quarter' ) , "'")",
+    "last_sixmonth": "$encoder.jsEscape($i18n.getString( 'last_sixmonth' ) , "'")",
+    "this_year": "$encoder.jsEscape($i18n.getString( 'this_year' ) , "'")",
+    "last_year": "$encoder.jsEscape($i18n.getString( 'last_year' ) , "'")",
+    "last_financial_year": "$encoder.jsEscape($i18n.getString( 'last_financial_year' ) , "'")",
+	"select_organisation_units": "$encoder.jsEscape($i18n.getString( 'select_organisation_units' ) , "'")",
+	"select_boundaries_and_levels": "$encoder.jsEscape($i18n.getString( 'select_boundaries_and_levels' ) , "'")",
+	"select_organisation_unit_levels": "$encoder.jsEscape($i18n.getString( 'select_organisation_unit_levels' ) , "'")",
+	"select_boundaries_and_groups": "$encoder.jsEscape($i18n.getString( 'select_boundaries_and_groups' ) , "'")",
+	"select_organisation_unit_groups": "$encoder.jsEscape($i18n.getString( 'select_organisation_unit_groups' ) , "'")",
+    "user_organisation_unit": "$encoder.jsEscape($i18n.getString( 'user_organisation_unit' ) , "'")",
+    "user_organisation_unit_children": "$encoder.jsEscape($i18n.getString( 'user_organisation_unit_children' ) , "'")",
+    "user_organisation_unit_grandchildren": "$encoder.jsEscape($i18n.getString( 'user_organisation_unit_grandchildren' ) , "'")",
+    "user_organisation_units": "$encoder.jsEscape($i18n.getString( 'user_organisation_units' ) , "'")",
+    "dataset": "$encoder.jsEscape($i18n.getString( 'dataset' ) , "'")",
+    "select_all_children": "$encoder.jsEscape($i18n.getString( 'select_all_children' ) , "'")",
+    "select_groupset": "$encoder.jsEscape($i18n.getString( 'select_groupset' ) , "'")",
+    "allow_external_access": "$encoder.jsEscape($i18n.getString( 'allow_external_access' ) , "'")"
+}
 }
 #if($callback)
 )