Re: [OSM-dev] Duplicated "vor" in history

2015-11-25 Thread Gerd Petermann
It seems that this problem is fixed now in most places (at least for the
German pages).
\O/
Thanks to those who helped .

Gerd



--
View this message in context: 
http://gis.19327.n5.nabble.com/Duplicated-vor-in-history-tp5855644p5860985.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-11-04 Thread GerdP
Andy Townsend wrote
> On 04/11/2015 16:11, malenki wrote:
>> 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
>>
>>
> 
> (somewhat offtopic but) I'd be happy if we got rid of this "Ended about 
> 1 year ago" form altogether and just had something like "End Date: 
> -mm-dd hh:mm".
> 
> Cheers,
> 
> Andy
> 
> 
> ___
> dev mailing list

> dev@

> https://lists.openstreetmap.org/listinfo/dev

+1



--
View this message in context: 
http://gis.19327.n5.nabble.com/Duplicated-vor-in-history-tp5855644p5858952.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-11-04 Thread Martin Koppenhoefer
2015-11-04 17:22 GMT+01:00 Andy Townsend :

> (somewhat offtopic but) I'd be happy if we got rid of this "Ended about 1
> year ago" form altogether and just had something like "End Date: -mm-dd
> hh:mm".



+1, we could keep the generalized human form as a tooltip / hover for those
not on touch devices.

Cheers,
Martin
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-11-04 Thread Andy Townsend

On 04/11/2015 16:11, malenki wrote:

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




(somewhat offtopic but) I'd be happy if we got rid of this "Ended about 
1 year ago" form altogether and just had something like "End Date: 
-mm-dd hh:mm".


Cheers,

Andy


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-11-04 Thread malenki
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 %{time} ago‎
>and
>Closed %{time} ago‎
>
>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



___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-30 Thread Holger Jeromin
GerdP  Wrote in message:
> Hi Holger,
> 
> I think before I should try to update the translations someone has to 
> update the pattern strings, e.g.
> "%{time} ago?"
> should be 
> "%{time}?"
> when %{time} contains the (translated) word at the right position.
> 

The Ruby function returns in English and German other things. 
So the German string has to adapt (drop "vor", while "ago" is
 kept).  But a change in English is not necessary.
 


Btw: The translation updates are quite rare (this cannot be
 changed by osm admins), so do not expect a quick change on the
 website. 

-- 
Holger


Android NewsGroup Reader
http://usenet.sinaapp.com/


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-30 Thread GerdP
Hi Holger,

I think before I should try to update the translations someone has to 
update the pattern strings, e.g.
"%{time} ago‎"
should be 
"%{time}‎"
when %{time} contains the (translated) word at the right position.

Gerd


Holger Jeromin wrote
> Gerd Petermann wrote on 28.09.2015 12:33:
> 
>> please redirect if this is the wrong list:
>> For quite a while now the (german) changeset history shows a text like
>> this:
>> 
>> "Änderungssätze von GerdP" [comment] .. "Geschlossen" vor vor 
>> The text starting "vor vor " is a link like this:
>> 
>> http://www.openstreetmap.org/changeset/34291704
>> 
>> I was not able to find out what program is generating this text,
>> so please forward this to the programmer.
> 
> 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 
> 
> %{time} ago
> 
> ‎
> and
> Closed 
> 
> %{time} ago
> 
> ‎
> 
> as the used ruby function distance_of_time_in_words_to_now already
> provide the "vor" word.
> Same problem with notes.
> 
> -- 
> greetings
> Holger
> 
> 
> ___
> dev mailing list

> dev@

> https://lists.openstreetmap.org/listinfo/dev





--
View this message in context: 
http://gis.19327.n5.nabble.com/Duplicated-vor-in-history-tp5855644p5855892.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-30 Thread GerdP
Hi Holger,

thanks for the hints, I've just registered.

Gerd


Holger Jeromin wrote
> Gerd Petermann wrote on 28.09.2015 12:33:
> 
>> please redirect if this is the wrong list:
>> For quite a while now the (german) changeset history shows a text like
>> this:
>> 
>> "Änderungssätze von GerdP" [comment] .. "Geschlossen" vor vor 
>> The text starting "vor vor " is a link like this:
>> 
>> http://www.openstreetmap.org/changeset/34291704
>> 
>> I was not able to find out what program is generating this text,
>> so please forward this to the programmer.
> 
> 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 
> 
> %{time} ago
> 
> ‎
> and
> Closed 
> 
> %{time} ago
> 
> ‎
> 
> as the used ruby function distance_of_time_in_words_to_now already
> provide the "vor" word.
> Same problem with notes.
> 
> -- 
> greetings
> Holger
> 
> 
> ___
> dev mailing list

> dev@

> https://lists.openstreetmap.org/listinfo/dev





--
View this message in context: 
http://gis.19327.n5.nabble.com/Duplicated-vor-in-history-tp5855644p5855880.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-29 Thread Shaun McDonald

> On 29 Sep 2015, at 16:50, Martin Koppenhoefer  wrote:
> 
> btw.: is there a way to see the actual date and time of a changeset in the 
> frontend, rather than an approximated natural language version? 
> 

You can by hovering over the n days ago, and you'll get a tooltip with the 
actual date and time of the changeset.

Shaun


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-29 Thread Martin Koppenhoefer
2015-09-29 18:23 GMT+02:00 Andy Townsend :

> On 29/09/2015 16:50, Martin Koppenhoefer wrote:
>
>> btw.: is there a way to see the actual date and time of a changeset in
>> the frontend, rather than an approximated natural language version?
>>
>
> Short answer - not as things currently stand.  For info, in case you've
> not seen them before:
>


Thanks for this summary, I think I had seen them before but forgot about it
in the meantime. Hovering is working fine here on the PC, but it is
unfortunately not working on the smartphone (naturally).

Cheers,
Martin
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-29 Thread Andy Townsend

On 29/09/2015 16:50, Martin Koppenhoefer wrote:
btw.: is there a way to see the actual date and time of a changeset in 
the frontend, rather than an approximated natural language version?


Short answer - not as things currently stand.  For info, in case you've 
not seen them before:


https://trac.openstreetmap.org/ticket/5045

https://github.com/openstreetmap/openstreetmap-website/issues/639

https://github.com/openstreetmap/openstreetmap-website/issues/631

https://github.com/openstreetmap/openstreetmap-website/issues/798

https://github.com/openstreetmap/openstreetmap-website/issues/907

https://github.com/openstreetmap/openstreetmap-website/issues/923

Cheers,

Andy


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-29 Thread Martin Koppenhoefer
btw.: is there a way to see the actual date and time of a changeset in the
frontend, rather than an approximated natural language version?

Cheers,
Martin
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-29 Thread joost schouppe
I just fixed a translation to Dutch that's been bothering me for a while.
If you want to translate to German:
- register on the website
- check about 20 translations to prove you're worthy
- wait a couple of minutes (in my case) for manual quality control of your
work
- fix the translation

I don't know how long it takes for translations to show up on the website.

2015-09-29 14:46 GMT+02:00 Holger Jeromin :

> Gerd Petermann wrote on 28.09.2015 12:33:
>
> > please redirect if this is the wrong list:
> > For quite a while now the (german) changeset history shows a text like
> this:
> >
> > "Änderungssätze von GerdP" [comment] .. "Geschlossen" vor vor 
> > The text starting "vor vor " is a link like this:
> >
> > http://www.openstreetmap.org/changeset/34291704
> >
> > I was not able to find out what program is generating this text,
> > so please forward this to the programmer.
>
> 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 %{time} ago‎
> and
> Closed %{time} ago‎
>
> as the used ruby function distance_of_time_in_words_to_now already
> provide the "vor" word.
> Same problem with notes.
>
> --
> greetings
> Holger
>
>
> ___
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
>



-- 
Joost @
Openstreetmap  |
Twitter  | LinkedIn
 | Meetup
 | Reddit
 | Wordpress

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Duplicated "vor" in history

2015-09-29 Thread Holger Jeromin
Gerd Petermann wrote on 28.09.2015 12:33:

> please redirect if this is the wrong list:
> For quite a while now the (german) changeset history shows a text like this:
> 
> "Änderungssätze von GerdP" [comment] .. "Geschlossen" vor vor 
> The text starting "vor vor " is a link like this:
> 
> http://www.openstreetmap.org/changeset/34291704
> 
> I was not able to find out what program is generating this text,
> so please forward this to the programmer.

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 %{time} ago‎
and
Closed %{time} ago‎

as the used ruby function distance_of_time_in_words_to_now already
provide the "vor" word.
Same problem with notes.

-- 
greetings
Holger


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Duplicated "vor" in history

2015-09-28 Thread Gerd Petermann
Hi,

please redirect if this is the wrong list:

For quite a while now the (german) changeset history shows a text like this:

"Änderungssätze von GerdP" [comment] .. "Geschlossen" vor vor 

The text starting "vor vor " is a link like this:

http://www.openstreetmap.org/changeset/34291704

I was not able to find out what program is generating this text,
so please forward this to the programmer.

thanks,
Gerd  ___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev