Skip to content
Snippets Groups Projects
Commit 27413406 authored by Armand Bahi's avatar Armand Bahi
Browse files

Translate location

parent 221c0de9
No related branches found
No related tags found
No related merge requests found
......@@ -513,6 +513,8 @@
"VMAP_SAVE": "Save",
"VMAP_YES": "Yes",
"VMAP_NO": "No",
"VMAP_DETAILS": "Details",
"VMAP_MORE_RESULTS": "More results",
"": "",
"VMAP_LAYERTREE_DATASETS": "Datasets",
"VMAP_LAYERTREE_MAP_1": "Map 1",
......@@ -587,5 +589,14 @@
"VMAP_LOCATION_SEE_ON_MAP": "See on map",
"VMAP_LOCATION_NEW_SCALE": "New scale",
"VMAP_LOCATION_NEW_SCALE_DEF": "Set a nez scale an click on \"Add\"",
"VMAP_LOCATION_SEARCH_RESULTS": "Search results",
"VMAP_LOCATION_CENTER_MAP_ON_DEFAULT_EXTENT": "Center map on default extent",
"VMAP_LOCATION_REFRESH_MAP_LAYERS": "Refresh map layers",
"VMAP_LOCATION_CENTER_MAP_ON_MAX_EXTENT": "Center map on maximum extent",
"VMAP_LOCATION_CENTER_MAP_ON_MY_POSITION": "Center map on my position",
"VMAP_LOCATION_CENTER_MAP_ON_GIVEN_POSITION": "Center map on a given position",
"VMAP_LOCATION_GO": "Go",
"VMAP_LOCATION_GO_TO_PREV_EXTENT": "Next extent",
"VMAP_LOCATION_GO_TO_NEXT_EXTENT": "Previous extent",
"": ""
}
......@@ -514,6 +514,8 @@
"VMAP_SAVE": "Sauvegarder",
"VMAP_YES": "Oui",
"VMAP_NO": "Non",
"VMAP_DETAILS": "Détails",
"VMAP_MORE_RESULTS": "Plus de résultats",
"": "",
"VMAP_LAYERTREE_DATASETS": "Jeux de données",
"VMAP_LAYERTREE_MAP_1": "Carte 1",
......@@ -588,5 +590,14 @@
"VMAP_LOCATION_SEE_ON_MAP": "Voir sur la carte",
"VMAP_LOCATION_NEW_SCALE": "Nouvelle échelle",
"VMAP_LOCATION_NEW_SCALE_DEF": "Saisissez une nouvelle échelle puis cliquez sur \"Ajouter\"",
"VMAP_LOCATION_SEARCH_RESULTS": "Résultats de la recherche",
"VMAP_LOCATION_CENTER_MAP_ON_DEFAULT_EXTENT": "Centrer la carte sur l’emprise par défaut",
"VMAP_LOCATION_REFRESH_MAP_LAYERS": "Rafraichir les couches de la carte",
"VMAP_LOCATION_CENTER_MAP_ON_MAX_EXTENT": "Centrer la carte à l’étendue maximale",
"VMAP_LOCATION_CENTER_MAP_ON_MY_POSITION": "Centrer la carte sur ma position",
"VMAP_LOCATION_CENTER_MAP_ON_GIVEN_POSITION": "Centrer la carte sur une position donnée",
"VMAP_LOCATION_GO": "Aller",
"VMAP_LOCATION_GO_TO_PREV_EXTENT": "Aller à l'étendue précédente",
"VMAP_LOCATION_GO_TO_NEXT_EXTENT": "Aller à l'étendue suivante",
"": ""
}
......@@ -25,7 +25,7 @@
<!--Bandeau du haut-->
<div style="margin: 10px">
<label>Résultats de la recherche: </label>
<label>{{ 'VMAP_LOCATION_SEARCH_RESULTS' | translate }}: </label>
<span class="glyphicon glyphicon-remove right pointer margin-sides-10"
ng-click="ctrl.removeLocation()"></span>
</div>
......@@ -47,7 +47,7 @@
</div>
<div class="location-search-dropdown-result-buttons pointer collapsed" data-toggle="collapse" href="#location-custom-search-dropdown-result-infos-{{this['$index']}}">
<a>Détails</a>
<a>{{ 'VMAP_DETAILS' | translate }}</a>
<i class="caret right" style="margin: 9px 0px 0px 6px;"></i>
</div>
......@@ -73,7 +73,7 @@
</div>
<div class="location-search-dropdown-result-buttons pointer collapsed" data-toggle="collapse" href="#location-search-dropdown-result-infos-{{this['$index']}}">
<a>Détails</a>
<a>{{ 'VMAP_DETAILS' | translate }}</a>
<i class="caret right" style="margin: 9px 0px 0px 6px;"></i>
</div>
......@@ -90,7 +90,7 @@
<!--Bandeau du bas-->
<div style="text-align: center; margin: 10px;">
<button type="button" class="btn btn-sm btn-primary" ng-click="ctrl.searchLocation(ctrl.locationSearch, 12)">
Plus de résultats
{{ 'VMAP_MORE_RESULTS' | translate }}
</button>
</div>
</div>
......@@ -99,7 +99,7 @@
<!--Go home-->
<li role="presentation" ng-class="{'hidden': !$root.isVmapToolActive('LocationHome')}">
<a id="original-position-tool"
class="basic-tools-element pointer" title="Centrer la carte sur l’emprise par défaut"
class="basic-tools-element pointer" title="{{ 'VMAP_LOCATION_CENTER_MAP_ON_DEFAULT_EXTENT' | translate }}"
ng-click="ctrl.goHome()">
<span class="glyphicon glyphicon-home" aria-hidden="true"></span>
</a>
......@@ -108,7 +108,7 @@
<!--Refresh map-->
<li role="presentation" ng-class="{'hidden': !$root.isVmapToolActive('LocationRefresh')}">
<a id="original-position-tool"
class="basic-tools-element pointer" title="Rafraichir les couches de la carte"
class="basic-tools-element pointer" title="{{ 'VMAP_LOCATION_REFRESH_MAP_LAYERS' | translate }}"
ng-click="ctrl.refreshMap()">
<span class="icon-repeat" aria-hidden="true"></span>
</a>
......@@ -116,7 +116,7 @@
<!--Max extent-->
<li role="presentation" ng-class="{'hidden': !$root.isVmapToolActive('LocationMaxExtent')}">
<a class="basic-tools-element pointer" title="Centrer la carte à l’étendue maximale"
<a class="basic-tools-element pointer" title="{{ 'VMAP_LOCATION_CENTER_MAP_ON_MAX_EXTENT' | translate }}"
ng-click="ctrl.maxExtent()">
<span class="icon-language" aria-hidden="true"></span>
</a>
......@@ -124,7 +124,7 @@
<!--Geolocate me-->
<li role="presentation" ng-class="{'hidden': !$root.isVmapToolActive('LocationMyPosition')}">
<a class="basic-tools-element pointer" title="Centrer la carte sur ma position"
<a class="basic-tools-element pointer" title="{{ 'VMAP_LOCATION_CENTER_MAP_ON_MY_POSITION' | translate }}"
ng-click="ctrl.geolocateMe()">
<span class="glyphicon glyphicon-map-marker" aria-hidden="true"></span>
</a>
......@@ -134,7 +134,7 @@
<li role="presentation" style="position: inherit" class="basic-tools-dropdown" ng-class="{'hidden': !$root.isVmapToolActive('LocationXY')}">
<a class="basic-tools-element pointer"
title="Centrer la carte sur une position donnée"
title="{{ 'VMAP_LOCATION_CENTER_MAP_ON_GIVEN_POSITION' | translate }}"
onclick="oVmap.getToolsManager().getBasicTools().toggleTool(this)">
<span class="icon-coordinates" aria-hidden="true" style="font-size: 19px;line-height: 0.7 !important;"></span>
</a>
......@@ -150,7 +150,7 @@
</div>
</div>
<div class="col-md-5">
<b>Projection:</b>
<b>{{ 'VMAP_PROJETION' | translate }}:</b>
<select class="form-control" ng-model="goToProj">
<option value="EPSG:4326">{{ctrl.projections['EPSG:4326']}}</option>
<option value="EPSG:3857">{{ctrl.projections['EPSG:3857']}}</option>
......@@ -161,7 +161,7 @@
<br>
<button type="button" class="btn btn-success btn-sm"
ng-click="ctrl.goTo(goToX, goToY, goToProj)">
Go
{{ 'VMAP_LOCATION_GO' | translate }}
</button>
</div>
</div>
......@@ -170,7 +170,7 @@
<!--Previous history-->
<li role="presentation" ng-class="{'hidden': !$root.isVmapToolActive('LocationPrecNext')}">
<a class="basic-tools-element pointer" title="Aller à l'étendue précédente"
<a class="basic-tools-element pointer" title="{{ 'VMAP_LOCATION_GO_TO_PREV_EXTENT' | translate }}"
ng-click="ctrl.previousHistoryExtent()" ng-class="{'inactive' : ctrl.iHistoryOffset >= ctrl.aLocationHistory.length - 1}">
<span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span>
</a>
......@@ -178,7 +178,7 @@
<!--Next history-->
<li role="presentation" ng-class="{'hidden': !$root.isVmapToolActive('LocationPrecNext')}">
<a class="basic-tools-element pointer" title="Aller à l'étendue suivante"
<a class="basic-tools-element pointer" title="{{ 'VMAP_LOCATION_GO_TO_NEXT_EXTENT' | translate }}"
ng-click="ctrl.nextHistoryExtent()" ng-class="{'inactive' : ctrl.iHistoryOffset === 0}">
<span class="glyphicon glyphicon-arrow-right" aria-hidden="true"></span>
</a>
......@@ -193,17 +193,17 @@
<form ng-submit="ctrl.addScale()">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Nouvelle échelle</h4>
<h4 class="modal-title">{{ 'VMAP_LOCATION_NEW_SCALE' | translate }}</h4>
</div>
<div class="modal-body">
<i>Saisissez une nouvelle échelle puis cliquez sur "ajouter"</i>
<i>{{ 'VMAP_LOCATION_NEW_SCALE_DEF' | translate }}</i>
<div class="input-group">
<span class="input-group-addon" id="new-scale-describer">1:</span>
<input type="number" class="form-control" id="new-scale-input" aria-describedby="new-scale-describer" required>
</div>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary">Ajouter</button>
<button type="submit" class="btn btn-primary">{{ 'VMAP_ADD' | translate }}</button>
</div>
</form>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment