Mercurial > gemma
comparison client/src/components/Pdftool.vue @ 2284:9f327f197ddd
client: translation: mark some strings for translations
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Fri, 15 Feb 2019 13:00:50 +0100 |
parents | a6cfa06c5983 |
children | 3f9847c89491 |
comparison
equal
deleted
inserted
replaced
2283:1169f18a0f11 | 2284:9f327f197ddd |
---|---|
140 type: "textbox", | 140 type: "textbox", |
141 position: "bottomleft", | 141 position: "bottomleft", |
142 offset: { x: 2, y: 2 }, | 142 offset: { x: 2, y: 2 }, |
143 width: 60, | 143 width: 60, |
144 fontSize: 8, | 144 fontSize: 8, |
145 text: "Generated by {user}, {date}" | 145 text: this.$gettext("Generated by") + " " + "{user}, {date}" |
146 }, | 146 }, |
147 { | 147 { |
148 type: "northarrow", | 148 type: "northarrow", |
149 position: "topright", | 149 position: "topright", |
150 offset: { x: 6, y: 4 }, | 150 offset: { x: 6, y: 4 }, |
191 this.form.resolution = this.templateData.properties.resolution; | 191 this.form.resolution = this.templateData.properties.resolution; |
192 }) | 192 }) |
193 .catch(e => { | 193 .catch(e => { |
194 const { status, data } = e.response; | 194 const { status, data } = e.response; |
195 displayError({ | 195 displayError({ |
196 title: "Backend Error", | 196 title: this.$gettext("Backend Error"), |
197 message: `${status}: ${data.message || data}` | 197 message: `${status}: ${data.message || data}` |
198 }); | 198 }); |
199 }); | 199 }); |
200 } | 200 } |
201 }, | 201 }, |
858 } | 858 } |
859 }) | 859 }) |
860 .catch(e => { | 860 .catch(e => { |
861 const { status, data } = e.response; | 861 const { status, data } = e.response; |
862 displayError({ | 862 displayError({ |
863 title: "Backend Error", | 863 title: this.$gettext("Backend Error"), |
864 message: `${status}: ${data.message || data}` | 864 message: `${status}: ${data.message || data}` |
865 }); | 865 }); |
866 }); | 866 }); |
867 } | 867 } |
868 }; | 868 }; |