django/tests/humanize_tests
Maximilian Merz 78912ccd0e 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.
2018-05-10 15:53:33 +02:00
..
__init__.py Moved contrib.humanize tests out of contrib. 2015-02-11 10:19:22 -05:00
tests.py Fixed #21408 — German Translation for “3 days ago” 2018-05-10 15:53:33 +02:00