Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue Fri Feb 15 12:32:22 2019 +0100 +++ b/client/src/components/Pdftool.vue Fri Feb 15 13:00:50 2019 +0100 @@ -142,7 +142,7 @@ offset: { x: 2, y: 2 }, width: 60, fontSize: 8, - text: "Generated by {user}, {date}" + text: this.$gettext("Generated by") + " " + "{user}, {date}" }, { type: "northarrow", @@ -193,7 +193,7 @@ .catch(e => { const { status, data } = e.response; displayError({ - title: "Backend Error", + title: this.$gettext("Backend Error"), message: `${status}: ${data.message || data}` }); }); @@ -860,7 +860,7 @@ .catch(e => { const { status, data } = e.response; displayError({ - title: "Backend Error", + title: this.$gettext("Backend Error"), message: `${status}: ${data.message || data}` }); });