[ mailman-Bugs-1113318 ] translation of 1st-4th quarter in archive

SourceForge.net noreply at sourceforge.net
Mon Jan 31 18:43:22 CET 2005


Bugs item #1113318, was opened at 2005-01-31 18:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1113318&group_id=103

Category: Web/CGI
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Arendsen Hein (thomas_ah)
Assigned to: Nobody/Anonymous (nobody)
Summary: translation of 1st-4th quarter in archive

Initial Comment:
Mailman/Archiver/HyperArch.py contains this code:

if each == 'quarter':
    d =["", _("First"), _("Second"), _("Third"),
_("Fourth") ]
    ord = d[int(match.group('quarter'))] 
    return _("%(ord)s quarter %(year)i")

"First" to "Fourth" are very generic, therefore the
german translation (and probably others, too) look very
ugly:
  Erste(s) Quartal
  Zweite(r) Quartal
  Erste(s) Quartal
  Vierte(s) Quartal

It should be:
  Erstes Quartal
  Zweites Quartal
  Drittes Quartal
  Viertes Quartal

I suggest changing the strings to include "quarter":

if each == 'quarter':
    d = ["", _("First quarter"), _("Second quarter"),
         _("Third quarter"), _("Fourth quarter")]
    ord = d[int(match.group('quarter'))]
    return _("%(ord)s %(year)i")

Looking at the .po file there are other uses of 1st to
4th, where a similar change would be important for
translators.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1113318&group_id=103


More information about the Mailman-coders mailing list