diff --git a/src/module_vmap/module/lang/lang-en.json b/src/module_vmap/module/lang/lang-en.json index a3ff6a7e347e029fac7106db6d48ed5e3be82abe..0812753bc143103637d1ada3ef1cd3379cad779a 100644 --- a/src/module_vmap/module/lang/lang-en.json +++ b/src/module_vmap/module/lang/lang-en.json @@ -524,6 +524,11 @@ "VMAP_RADIUS": "Radius", "VMAP_SEE_ON_MAP": "See on map", "VMAP_CSV_EXPORT": "Export to CSV", + "VMAP_MODEL": "Model", + "VMAP_STYLE": "Style", + "VMAP_SCALE": "Scale", + "VMAP_RESOLUTION": "Resolution", + "VMAP_PRINT": "Print", "": "", "VMAP_LAYERTREE_DATASETS": "Datasets", "VMAP_LAYERTREE_MAP_1": "Map 1", @@ -612,5 +617,9 @@ "VMAP_MEASURE_SHOW_MEASURES": "Display measures", "VMAP_MEASURE_NO_MEASURES": "No measure to display", "VMAP_COORDINATES_PROJ": "Coordinates projection", + "": "", + "VMAP_PRINT_NO_MODEL_ASSOCIATE": "No model associated", + "VMAP_PRINT_MODIFY_MAP_PRINT_ZONE": "Modify print zone on map", + "VMAP_PRINT_MODIFY_COMPARE_MAP_PRINT_ZONE": "Modify print zone on compare map", "": "" } diff --git a/src/module_vmap/module/lang/lang-fr.json b/src/module_vmap/module/lang/lang-fr.json index fac07fe44b23526ad0928f78b547049e58fb7319..3d2683952950e4c128f43c872bd275ff31f66fa8 100644 --- a/src/module_vmap/module/lang/lang-fr.json +++ b/src/module_vmap/module/lang/lang-fr.json @@ -525,6 +525,11 @@ "VMAP_RADIUS": "Rayon", "VMAP_SEE_ON_MAP": "Voir sur la carte", "VMAP_CSV_EXPORT": "Exporter en CSV", + "VMAP_MODEL": "Modèle", + "VMAP_STYLE": "Style", + "VMAP_SCALE": "Échelle", + "VMAP_RESOLUTION": "Résolution", + "VMAP_PRINT": "Imprimer", "": "", "VMAP_LAYERTREE_DATASETS": "Jeux de données", "VMAP_LAYERTREE_MAP_1": "Carte 1", @@ -612,5 +617,9 @@ "VMAP_MEASURE_SHOW_MEASURES": "Afficher les mesures", "VMAP_MEASURE_NO_MEASURES": "Aucune mesure à afficher", "VMAP_COORDINATES_PROJ": "Projection des coordonnées", + "": "", + "VMAP_PRINT_NO_MODEL_ASSOCIATE": "Aucun modèle d'impression associé", + "VMAP_PRINT_MODIFY_MAP_PRINT_ZONE": "Modification de la zone d'impression sur la carte", + "VMAP_PRINT_MODIFY_COMPARE_MAP_PRINT_ZONE": "Modification de la zone d'impression sur la carte de comparaison", "": "" } diff --git a/src/module_vmap/module/template/tools/print.html b/src/module_vmap/module/template/tools/print.html index 330a8b9c2733511e33358d8d02c6e41a6463122a..2190f57f46cc6116d9221a8885e5fd678b0ddfe3 100644 --- a/src/module_vmap/module/template/tools/print.html +++ b/src/module_vmap/module/template/tools/print.html @@ -2,17 +2,17 @@ <div style="text-align: left"> <div class="print-form-label" ng-show="!ctrl.models.length > 0"> - Aucun modèle d'impression associé + {{ 'VMAP_PRINT_NO_MODEL_ASSOCIATE' | translate }} </div> <form role="form" ng-submit="ctrl.prepareAndLaunchPrint()" ng-show="ctrl.models.length > 0"> - <div class="print-form-label">Modèle</div> + <div class="print-form-label">{{ 'VMAP_MODEL' | translate }}</div> <select id="select-print-format" class="form-control minus" ng-model="modelIndex" ng-options="index as model.name for (index, model) in ctrl.models" ng-change="ctrl.loadModelParmas(modelIndex)"></select> - <div class="print-form-label" ng-if="ctrl.printStyles.length > 0">Style</div> + <div class="print-form-label" ng-if="ctrl.printStyles.length > 0">{{ 'VMAP_STYLE' | translate }}</div> <select id="select-print-format" class="form-control minus" ng-if="ctrl.printStyles.length > 0" ng-model="$parent.selectedPrintstyleId" @@ -26,7 +26,7 @@ <br> </div> - <div class="print-form-label">Echelle</div> + <div class="print-form-label">{{ 'VMAP_SCALE' | translate }}</div> <select id="select-print-scale" class="form-control minus" ng-model="ctrl.scale" ng-change="ctrl.changeScale(ctrl.scale)"> <option value="auto">{{ctrl.currentScale}}</option> <option value="1000000">1:1,000,000</option> @@ -45,7 +45,7 @@ <option value="100">1:100</option> </select> - <div class="print-form-label">Résolution</div> + <div class="print-form-label">{{ 'VMAP_RESOLUTION' | translate }}</div> <select id="select-print-resolution" class="form-control minus" ng-model="ctrl.dpi"> <option value="1">72 dpi</option> <option value="2" ng-show="ctrl.resolution <= 4">144 dpi</option> @@ -53,13 +53,13 @@ </select> <button type="button" - title="Modification de la zone d'impression sur la carte" + title="{{ 'VMAP_PRINT_MODIFY_MAP_PRINT_ZONE' | translate }}" class="btn btn-info btn-sm" style="margin-top: 10px" ng-class="{'active': managePrintZoneInProgress}" ng-click="ctrl.managePrintZone()"><span class="glyphicon glyphicon-move"></span></button> <button type="button" - title="Modification de la zone d'impression sur la carte de comparaison" + title="{{ 'VMAP_PRINT_MODIFY_COMPARE_MAP_PRINT_ZONE' | translate }}" ng-show="$root.compare_enabled" class="btn btn-info btn-sm" style="margin-top: 10px" @@ -68,6 +68,6 @@ <button type="submit" class="btn btn-info btn-sm" - style="margin-top: 10px">Imprimer</button> + style="margin-top: 10px">{{ 'VMAP_PRINT' | translate }}</button> </form> </div>