Skip to content

Commit dc97106

Browse files
author
Ralf Schlatterbeck
committed
Fix issue2550606 (german translation bug)
"an hour" is only used in the context "in an hour" or "an hour ago" which translates to german "in einer Stunde" or "vor einer Stunde". So "an hour" is translated "einer Stunde" (which sounds wrong at first). Also note that date.py already has a comment saying "XXX this is internationally broken" -- but at least there's a workaround for german :-) Thanks to Chris (radioking) for reporting.
1 parent cbe9610 commit dc97106

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGES.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ Fixes:
4646
This also means now a template can override the way role processing
4747
occurs (e.g. for elaborate permission schemes). Thanks to intevation
4848
for funding the change.
49+
- Fix issue2550606 (german translation bug) "an hour" is only used in
50+
the context "in an hour" or "an hour ago" which translates to german
51+
"in einer Stunde" or "vor einer Stunde". So "an hour" is translated
52+
"einer Stunde" (which sounds wrong at first). Also note that date.py
53+
already has a comment saying "XXX this is internationally broken" --
54+
but at least there's a workaround for german :-) Thanks to Chris
55+
(radioking) for reporting.
56+
4957

5058
2009-10-09 1.4.10 (r4374)
5159

locale/de.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ msgstr[1] "%(number)s Stunden"
17881788

17891789
#: ../roundup/date.py:861
17901790
msgid "an hour"
1791-
msgstr "eine Stunde"
1791+
msgstr "einer Stunde"
17921792

17931793
#: ../roundup/date.py:863
17941794
msgid "1 1/2 hours"

0 commit comments

Comments
 (0)