[OSM-dev] Duplicated "vor" in history

malenki osm_ at malenki.ch
Wed Nov 4 16:11:24 UTC 2015


Holger Jeromin wrote:
>
>The website and main osm db logic is here
>
>https://github.com/openstreetmap/openstreetmap-website
>which links to
>https://translatewiki.net/wiki/Translating:OpenStreetMap
>
>Someone (with translation right) has to correct the german strings
>Created <abbr title='%{title}'>%{time} ago</abbr>‎
>and
>Closed <abbr title='%{title}'>%{time} ago</abbr>‎
>
>as the used ruby function distance_of_time_in_words_to_now already
>provide the "vor" word.
>Same problem with notes.

Same issue with blocks except that the translator cannot fix the great
combination of past and future:
The state of a block is shown as (when ending in the future)
|Endet in vor einem Tag
translated: 
|Ends in one day ago

Not sure if ruby offers other time functions, else this issue maybe
should escalated upstream.

Thomas





More information about the dev mailing list