From bcfeb519cb20c7419a3d1a6a2b41eaff156bfa3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Thu, 12 Jul 2018 20:48:23 +0200 Subject: [PATCH] railway-infrastructure: localization for usage tag --- railway-infrastructure.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railway-infrastructure.json b/railway-infrastructure.json index 722a78b1b..bc17df179 100644 --- a/railway-infrastructure.json +++ b/railway-infrastructure.json @@ -17,7 +17,7 @@ "description": "{{ tagTrans('railway', tags.railway) }}", "body": [ "{% if tags.operator %}{{ keyTrans('operator') }}: {{ localizedTag(tags, 'operator') }}
{% endif %}", - "{% if tags.usage %}{{ keyTrans('usage') }}: {{ tagTrans('usage', tags.usage)|default(trans('unknown')) }}
{% endif %}", + "{% if tags.usage %}{{ keyTrans('railway=rail usage') }}: {{ tagTrans('railway=rail usage', tags.usage)|default(trans('unknown')) }}
{% endif %}", "{% if tags.service %}{{ keyTrans('railway=rail service') }}: {{ tagTrans('railway=rail service', tags.service ) }}
{% endif %}", "{{ keyTrans('gauge') }}: {{ tags.gauge|default(trans('unknown')) }}
", "{% if tags.electrified == 'no' %}{{ keyTrans('electrified') }}: {{ tagTrans('electrified', 'no') }}{% elseif tags.electrified %}{{ keyTrans('electrified') }}: {{ tagTrans('electrified', tags.electrified) }}, {{ keyTrans('voltage') }}: {{ tags.voltage|default(trans('unknown')) }}, {{ keyTrans('frequency') }}: {{ tags.frequency|default(trans('unknown')) }}
{% endif %}"