#21408: Fallback to timesince produces erroneous translations in naturaltime
-------------------------------------+-------------------------------------
     Reporter:  676c7473@…           |                    Owner:
                                     |  Maximilian Merz
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  master
  Internationalization               |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  i18n l10n            |             Triage Stage:  Ready for
  translation                        |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz <claude@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"78912ccd0e1fcdfe98ca85081c9eb8acb7aa1f6d" 78912ccd]:
 {{{
 #!CommitTicketReference repository=""
 revision="78912ccd0e1fcdfe98ca85081c9eb8acb7aa1f6d"
 Fixed #21408 — German Translation for “3 days ago”

 The problem:
 “3 days ago” should translate to “vor 3 Tagen” in German, while “3 days”
 translates to “3 Tage”. #21408 describes that django always translated to
 “Tage”, even when the dative “Tagen” was correct. The same applies to
 months (“Monate”/“Monaten”) and years (“Jahre”/“Jahren”).

 The solution:
 Let `timesince` caller provide the string dict to use for the time-related
 strings.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21408#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.145fa0509e856c8157df623f49b2bfa4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to