From 91a8e0e2074cfc2bcb39a123818dfea280a48ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 15 Jan 2019 15:19:10 +0100 Subject: [PATCH 1/3] buildings-start_date: translate strings in map key --- buildings-start_date.json | 4 ++-- lang/ast.json | 3 ++- lang/ca.json | 3 ++- lang/cs.json | 3 ++- lang/de.json | 3 ++- lang/el.json | 3 ++- lang/en.json | 3 ++- lang/es.json | 3 ++- lang/et.json | 3 ++- lang/fr.json | 3 ++- lang/hu.json | 3 ++- lang/it.json | 3 ++- lang/ja.json | 3 ++- lang/nl.json | 3 ++- lang/pl.json | 3 ++- lang/pt-br.json | 3 ++- lang/pt.json | 3 ++- lang/ro.json | 3 ++- lang/ru.json | 3 ++- lang/template.json | 3 ++- lang/uk.json | 3 ++- 21 files changed, 42 insertions(+), 22 deletions(-) diff --git a/buildings-start_date.json b/buildings-start_date.json index a5b5055..6b9bb53 100644 --- a/buildings-start_date.json +++ b/buildings-start_date.json @@ -111,11 +111,11 @@ " ", " ", " {{ markerPolygon(evaluate({ \"building\": \"yes\", \"start_date\": \"xxx\" }))|raw }}", - " unparseable start_date", + " {{ repoTrans('date format not understood') }}", " ", " ", " {{ markerPolygon(evaluate({ \"building\": \"yes\" }))|raw }}", - " no start_date", + " {{ trans('unknown') }}", " ", "" ] diff --git a/lang/ast.json b/lang/ast.json index f50bfdb..716071e 100644 --- a/lang/ast.json +++ b/lang/ast.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "Fábriques", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/ca.json b/lang/ca.json index 8fc4128..c3f136d 100644 --- a/lang/ca.json +++ b/lang/ca.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/cs.json b/lang/cs.json index d554545..f8ee143 100644 --- a/lang/cs.json +++ b/lang/cs.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "Továrny", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/de.json b/lang/de.json index e3e9e40..100cd38 100644 --- a/lang/de.json +++ b/lang/de.json @@ -85,5 +85,6 @@ "category:water": "Gewässer", "category:wikipedia": "Wikipedia", "category:works": "Fabriken", - "category:xmas": "Weihnachten" + "category:xmas": "Weihnachten", + "date format not understood": "Datumsformat nicht erkannt" } diff --git a/lang/el.json b/lang/el.json index ecceb29..f4ed8b1 100644 --- a/lang/el.json +++ b/lang/el.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/en.json b/lang/en.json index c9a3519..e719bc9 100644 --- a/lang/en.json +++ b/lang/en.json @@ -85,5 +85,6 @@ "category:water": "Waterbodies", "category:wikipedia": "Wikipedia", "category:works": "Works", - "category:xmas": "Christmas" + "category:xmas": "Christmas", + "date format not understood": "" } diff --git a/lang/es.json b/lang/es.json index 1e74bf0..48d6d0f 100644 --- a/lang/es.json +++ b/lang/es.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/et.json b/lang/et.json index d86c5c3..798a575 100644 --- a/lang/et.json +++ b/lang/et.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/fr.json b/lang/fr.json index 3713ae8..3c535cb 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -85,5 +85,6 @@ "category:water": "Hydrographie", "category:wikipedia": "Wikipédia", "category:works": "Zones industrielles", - "category:xmas": "Noël" + "category:xmas": "Noël", + "date format not understood": "" } diff --git a/lang/hu.json b/lang/hu.json index bbacb7b..35b4d60 100644 --- a/lang/hu.json +++ b/lang/hu.json @@ -85,5 +85,6 @@ "category:water": "Vizek", "category:wikipedia": "Wikipédia", "category:works": "Üzemek", - "category:xmas": "Karácsony" + "category:xmas": "Karácsony", + "date format not understood": "" } diff --git a/lang/it.json b/lang/it.json index 7960f3a..245647c 100644 --- a/lang/it.json +++ b/lang/it.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "Fabbriche", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/ja.json b/lang/ja.json index 32a1fe9..f409ba7 100644 --- a/lang/ja.json +++ b/lang/ja.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "工場", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/nl.json b/lang/nl.json index 41e2d31..c4d8ad3 100644 --- a/lang/nl.json +++ b/lang/nl.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "Fabrieken", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/pl.json b/lang/pl.json index 1877ff0..174566e 100644 --- a/lang/pl.json +++ b/lang/pl.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/pt-br.json b/lang/pt-br.json index 7b57f8a..b6f1086 100644 --- a/lang/pt-br.json +++ b/lang/pt-br.json @@ -85,5 +85,6 @@ "category:water": "Hidrografia", "category:wikipedia": "Wikipédia", "category:works": "Fábricas", - "category:xmas": "Natal" + "category:xmas": "Natal", + "date format not understood": "" } diff --git a/lang/pt.json b/lang/pt.json index 770d2ba..7a6f779 100644 --- a/lang/pt.json +++ b/lang/pt.json @@ -85,5 +85,6 @@ "category:water": "Massas de água", "category:wikipedia": "Wikipédia", "category:works": "Fábricas", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/ro.json b/lang/ro.json index 08ce2fe..a5572e4 100644 --- a/lang/ro.json +++ b/lang/ro.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/ru.json b/lang/ru.json index f321c05..073a42b 100644 --- a/lang/ru.json +++ b/lang/ru.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "Промышленность", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/template.json b/lang/template.json index b2231d5..29c5c65 100644 --- a/lang/template.json +++ b/lang/template.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } diff --git a/lang/uk.json b/lang/uk.json index 6b01ebe..eb3ad06 100644 --- a/lang/uk.json +++ b/lang/uk.json @@ -85,5 +85,6 @@ "category:water": "", "category:wikipedia": "", "category:works": "", - "category:xmas": "" + "category:xmas": "", + "date format not understood": "" } From 929ec74f3edfb0ef9e419f632bdd3b9eb31c93bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Tue, 15 Jan 2019 15:38:49 +0100 Subject: [PATCH 2/3] xmas: translate outdated warnings --- lang/ast.json | 4 +++- lang/ca.json | 4 +++- lang/cs.json | 4 +++- lang/de.json | 4 +++- lang/el.json | 4 +++- lang/en.json | 4 +++- lang/es.json | 4 +++- lang/et.json | 4 +++- lang/fr.json | 4 +++- lang/hu.json | 4 +++- lang/it.json | 4 +++- lang/ja.json | 4 +++- lang/nl.json | 4 +++- lang/pl.json | 4 +++- lang/pt-br.json | 4 +++- lang/pt.json | 4 +++- lang/ro.json | 4 +++- lang/ru.json | 4 +++- lang/template.json | 4 +++- lang/uk.json | 4 +++- xmas.json | 4 ++-- 21 files changed, 62 insertions(+), 22 deletions(-) diff --git a/lang/ast.json b/lang/ast.json index 716071e..dd6c6ce 100644 --- a/lang/ast.json +++ b/lang/ast.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "Fábriques", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/ca.json b/lang/ca.json index c3f136d..ac2b799 100644 --- a/lang/ca.json +++ b/lang/ca.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/cs.json b/lang/cs.json index f8ee143..a6dd03c 100644 --- a/lang/cs.json +++ b/lang/cs.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "Továrny", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/de.json b/lang/de.json index 100cd38..1771e3b 100644 --- a/lang/de.json +++ b/lang/de.json @@ -86,5 +86,7 @@ "category:wikipedia": "Wikipedia", "category:works": "Fabriken", "category:xmas": "Weihnachten", - "date format not understood": "Datumsformat nicht erkannt" + "date format not understood": "Datumsformat nicht erkannt", + "outdated feature": "Informationen nicht aktuell", + "xmas:outdated-warning": "Objekt wurde nicht für die aktuelle Saison aktualisiert. Bitte prüfen und das Tag 'xmas:lastcheck' auf das aktuelle Datum setzen." } diff --git a/lang/el.json b/lang/el.json index f4ed8b1..b631c5a 100644 --- a/lang/el.json +++ b/lang/el.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/en.json b/lang/en.json index e719bc9..a804044 100644 --- a/lang/en.json +++ b/lang/en.json @@ -86,5 +86,7 @@ "category:wikipedia": "Wikipedia", "category:works": "Works", "category:xmas": "Christmas", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "Feature has not been updated for the current season! Please check and set the tag 'xmas:lastcheck' to the current date." } diff --git a/lang/es.json b/lang/es.json index 48d6d0f..f5f32dc 100644 --- a/lang/es.json +++ b/lang/es.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/et.json b/lang/et.json index 798a575..e4fed49 100644 --- a/lang/et.json +++ b/lang/et.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/fr.json b/lang/fr.json index 3c535cb..088e64e 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -86,5 +86,7 @@ "category:wikipedia": "Wikipédia", "category:works": "Zones industrielles", "category:xmas": "Noël", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/hu.json b/lang/hu.json index 35b4d60..5fd5cb9 100644 --- a/lang/hu.json +++ b/lang/hu.json @@ -86,5 +86,7 @@ "category:wikipedia": "Wikipédia", "category:works": "Üzemek", "category:xmas": "Karácsony", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/it.json b/lang/it.json index 245647c..0a02801 100644 --- a/lang/it.json +++ b/lang/it.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "Fabbriche", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/ja.json b/lang/ja.json index f409ba7..478c538 100644 --- a/lang/ja.json +++ b/lang/ja.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "工場", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/nl.json b/lang/nl.json index c4d8ad3..cad77ca 100644 --- a/lang/nl.json +++ b/lang/nl.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "Fabrieken", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/pl.json b/lang/pl.json index 174566e..77e00eb 100644 --- a/lang/pl.json +++ b/lang/pl.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/pt-br.json b/lang/pt-br.json index b6f1086..e259d29 100644 --- a/lang/pt-br.json +++ b/lang/pt-br.json @@ -86,5 +86,7 @@ "category:wikipedia": "Wikipédia", "category:works": "Fábricas", "category:xmas": "Natal", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/pt.json b/lang/pt.json index 7a6f779..e38e6a6 100644 --- a/lang/pt.json +++ b/lang/pt.json @@ -86,5 +86,7 @@ "category:wikipedia": "Wikipédia", "category:works": "Fábricas", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/ro.json b/lang/ro.json index a5572e4..1ac1b5b 100644 --- a/lang/ro.json +++ b/lang/ro.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/ru.json b/lang/ru.json index 073a42b..30e885e 100644 --- a/lang/ru.json +++ b/lang/ru.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "Промышленность", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/template.json b/lang/template.json index 29c5c65..c7952ee 100644 --- a/lang/template.json +++ b/lang/template.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/lang/uk.json b/lang/uk.json index eb3ad06..4e36f3f 100644 --- a/lang/uk.json +++ b/lang/uk.json @@ -86,5 +86,7 @@ "category:wikipedia": "", "category:works": "", "category:xmas": "", - "date format not understood": "" + "date format not understood": "", + "outdated feature": "", + "xmas:outdated-warning": "" } diff --git a/xmas.json b/xmas.json index 8da2b52..ed0f023 100644 --- a/xmas.json +++ b/xmas.json @@ -25,7 +25,7 @@ "description": "{{ tagTransList(\"xmas:feature\", attribute(tags, \"xmas:feature\")) }}", "body": [ "{% if not isCurrent %}", - "
Feature has not been updated for the current season! Please check and set the tag 'xmas:lastcheck' to the current date.
", + "
{{ repoTrans('xmas:outdated-warning') }}
", "{% endif %}", "", "{% if attribute(tags, 'xmas:location') %}", @@ -88,7 +88,7 @@ "{% endfor %}", " ", " {{ markerCircle({\"fillColor\":\"red\"})|raw }}", - " outdated feature", + " {{ repoTrans('outdated feature') }}", " ", "" ] From 1ab3a85704e141f06fabcebc0d11f02e543322e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Thu, 17 Jan 2019 11:37:15 +0100 Subject: [PATCH 3/3] pt: translate headings --- pt.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pt.json b/pt.json index 9c26bf2..fd517b5 100644 --- a/pt.json +++ b/pt.json @@ -58,7 +58,7 @@ ], "description": "{{ tagTrans('route', tags.route) }}", "body": [ - "

Stops

    ", + "

    {{ repoTrans('category:pt:stops') }}

      ", "{% for member in members %}", "{% if member.tags.highway == 'bus_stop' or member.tags.amenity == 'bus_station' or member.tags.amenity == 'ferry_terminal' or member.tags.railway == 'tram_stop' or member.tags.railway == 'halt' or member.tags.railway == 'station' or member.tags.aerialway == 'station' or member.tags.public_transport == 'stop_position' or member.role|slice(-4) == 'stop' %}", "
    • {% if member.tags %}{{ member.tags.name|default(trans('unknown')) }}{% else %}{{ trans('loading') }}{% endif %}
    • ", @@ -123,7 +123,7 @@ ], "title": "{% if isStop %}{{ tags.name|default(stopName)|default(id) }}{% endif %}", "body": [ - "

      Routes

      ", + "

      {{ repoTrans('category:pt:routes') }}

      ", "
        ", "{% for master in masters %}", " {% if master.tags.public_transport != 'stop_area' %}",