Opened 9 years ago

Closed 9 years ago

#28136 closed Bug (invalid)

timesince() uses wrong plural form in Polish when the number is 14.

Reported by: Rafał P. Owned by: nobody
Component: Internationalization Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Tested in version 1.11:

>>> from datetime import timedelta
>>> from django.utils import translation
>>> from django.utils.timezone import now
>>> from django.utils.timesince import timesince
>>> translation.activate('pl')
>>> timesince(now() - timedelta(minutes=14))
'14\xa0minuty'

The result should be '14\xa0minut'. In version 1.10.6 the above code works as expected.

Change History (1)

comment:1 by Tim Graham, 9 years ago

Component: Uncategorized → Internationalization
Resolution: → invalid
Status: new → closed

Looks like you'll need to suggest reverting the change on ​Transifex (translations aren't handled in this ticket tracker). This change came in during the Django 1.11 translations update, 96ec72e298cd359648e1cf408d3c506ee3b1f297.

Note: See TracTickets for help on using tickets.
Back to Top