changeset 2225:bc1780dd7cd1 pdf-export

PDF generation: changed option names in resolution select
author Markus Kottlaender <markus@intevation.de>
date Tue, 12 Feb 2019 13:33:58 +0100
parents 5176ea7fbc53
children e21bfc76816d
files client/src/components/Pdftool.vue
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue	Tue Feb 12 11:11:32 2019 +0100
+++ b/client/src/components/Pdftool.vue	Tue Feb 12 13:33:58 2019 +0100
@@ -42,9 +42,9 @@
               v-model="form.resolution"
               class="form-control form-control-sm mb-2 d-block w-100"
             >
-              <option value="80">80 dpi</option>
-              <option value="120">120 dpi</option>
-              <option value="200">200 dpi</option>
+              <option value="80"><translate>80 dpi</translate></option>
+              <option value="120"><translate>120 dpi</translate></option>
+              <option value="200"><translate>200 dpi</translate></option>
             </select>
           </div>
           <div class="flex-fill ml-2">
@@ -206,7 +206,6 @@
       var mapExtent = map.getView().calculateExtent(mapSize);
 
       this.pdf.doc = new jsPDF(this.form.format, "mm", this.form.paperSize);
-
       // set a callback for after the next complete rendering of the map
       map.once("rendercomplete", event => {
         let canvas = event.context.canvas;