[openstreetmap/openstreetmap-website] Correct dates in Polish (#2602)
maro-21
notifications at github.com
Sat Apr 25 12:22:11 UTC 2020
On the OSM website I found dates written in four different formats:
1 - "25.04.2020", (on https://www.osm.org/diary)
2 - "25 kwi 2020" (on https://www.osm.org/history)
3 - "Mapuje od: kwiecień 25, 2020" (on the user's profile page)
4 - "25 kwiecień 2020 o 13:30" (messages and other places)
The first one and the second one are correct in Polish, but the 3rd and 4th are not.
"kwiecień 25, 2020" looks like an American date format filled in with Polish words, but in Polish we never start a date with a month.
There is a list of months
https://github.com/svenfuchs/rails-i18n/blob/26f1bd90c2cd9e7192fbf84d64a5415e6a2fc977/rails/locale/pl.yml#L45-L58
It is indeed a list of months but... in nominative case and for dates we use genitive case, so if these names of months are used only for dates (I suppose so), they should be changed to:
```
- stycznia
- lutego
- marca
- kwietnia
- maja
- czerwca
- lipca
- sierpnia
- września
- października
- listopada
- grudnia
```
Please correct also:
https://github.com/svenfuchs/rails-i18n/blob/26f1bd90c2cd9e7192fbf84d64a5415e6a2fc977/rails/locale/pl.yml#L25
to "maja".
So the correct format for dates in 3 and 4 is:
25 kwietnia 2020
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2602
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200425/12fdb179/attachment.htm>
More information about the rails-dev
mailing list