Mercurial > gemma
changeset 4690:b263d9ae0057
client: mark sounding results strings for translation
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Wed, 16 Oct 2019 15:24:30 +0200 |
parents | 1653b13e0db6 |
children | 65a67b3492fd |
files | client/src/components/identify/formatter.js |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/identify/formatter.js Wed Oct 16 14:50:17 2019 +0200 +++ b/client/src/components/identify/formatter.js Wed Oct 16 15:24:30 2019 +0200 @@ -115,10 +115,12 @@ } }, sounding_results_areas_geoserver: { + label: app.$gettext("Sounding results"), props: p => { let propsToRemove = ["height"]; if (propsToRemove.indexOf(p.key) !== -1) return null; - + if (p.key === "surtyp") p.key = app.$gettext("Survey type"); + if (p.key === "bottleneck_id") p.key = app.$gettext("Bottleneck"); return p; } }