Skip to content

Commit

Permalink
Localize some strings in the worldmap composer
Browse files Browse the repository at this point in the history
  • Loading branch information
capooti committed Nov 9, 2018
1 parent f274add commit 6c3dba0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions geonode/client/templates/worldmap/maps/map_worldmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,12 @@
{% endif %}

authorizedRoles: "{{ user.is_authenticated|yesno:"ROLE_ADMINISTRATOR,ROLE_ANONYMOUS" }}",

// here we localize some strings
worldmapDataText: "{% trans 'Search' %}",
externalDataText: "{% trans 'Layers List' %}",
infoBtnText: "{% trans 'About' %}",

}, {{ config }});

app = new GeoExplorer(config, true);
Expand Down

0 comments on commit 6c3dba0

Please sign in to comment.