It runed out that the translation was a bit messed up. After generating a new file, some of the old translations were in incorrect format.
Download the updated file:
http://cvs.lysator.liu.se/viewcvs/viewcvs.cgi/*checkout*/Mattricks/po/de.po?...
and run the msgfmt command again.
There are some really crappy translations as the software takes guesses based on similar words (and I also filled in a few), but you'll have to live with that.
poEdit or Kbabel are otherwise recommended tools for translating. :-)
I would otherwise recommend downloading the current CVS-tarball as quite some things have improved (although you may also run in to new problems).
/Oscar
On Tue, 14 Sep 2004, Niels Schröter wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Oscar Gustafsson wrote :
A guess would be that the german translation is incorrect. Looking at the de.po it turns out that the last line
#line 3071 msgid "%d week" 3072 msgid_plural "%d weeks" 3073 msgstr[0] "%d Woche" 3074 msgstr[1] ""
should read
msgstr[1] "%d Wochen" (if week in plrual is Wochen).
You can edit this file yourself and then run
msgfmt -o locale/de/LC_MESSAGES/mattricks.mo po/de.po
standing in
This fixed the error, thank you ( by the way, in my de.po the line# was 3920).
Now mattrick.py started, asked for HT login name and password, downloaded both 'team details' and 'data for all players' and then exited with:
Conversion error: not all arguments converted during string formatting ( ^ multiple times) Traceback (most recent call last): File "./mattricks.py", line 36, in ? Init.start() File "/home/niels/Mattricks/Mattricks/Init.py", line 57, in start Commandline.parse_and_start() File "/home/niels/Mattricks/Mattricks/Commandline.py", line 105, in parse_and_start all_commands[command](args, help_command) File "/home/niels/Mattricks/Mattricks/Commandline.py", line 121, in parse_cmd_gui Main.main(*args) File "/home/niels/Mattricks/Mattricks/Main.py", line 465, in main app = Main(filename) File "/home/niels/Mattricks/Mattricks/Main.py", line 417, in __init__ wxApp.__init__(self) File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in __init__ _wxStart(self.OnInit) File "/home/niels/Mattricks/Mattricks/Main.py", line 424, in OnInit frame = MainFrame(NULL, Main.ID_FRAME, "Mattricks", self.initial_file) File "/home/niels/Mattricks/Mattricks/Main.py", line 213, in __init__ the_pages = [ File "/home/niels/Mattricks/Mattricks/TeamSelectorPage.py", line 78, in __init__ self.player_list=Players.Players() File "/home/niels/Mattricks/Mattricks/Players.py", line 159, in __init__ self.__extract_data(date, team) File "/home/niels/Mattricks/Mattricks/Players.py", line 194, in __extract_data player.data["CompetitionGoals"] = (compgoals, TypeError: not all arguments converted during string formatting
For information, I have installed libwxgtk2.4-python (2.4.2.6), I don't know if that is important.
And yes, the plural of week in german is Wochen :)
Greetz, Niels
niels.schroeter@uni-koblenz.de www.uni-koblenz.de/~schroetn
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBRu/oUE7Cj6m36twRApOWAJ0QcXtvY3cfW/d1pGGZRs6Y+vnLwACggpZN rJVj+N3m7+uAiW2XKmuEVfo= =m+/f -----END PGP SIGNATURE----- _______________________________________________ Mattricks mailing list Mattricks@lists.lysator.liu.se http://lists.lysator.liu.se/mailman/listinfo/mattricks
-- +------------------------ o | Oscar Gustafsson \o/ | oscar@lysator.liu.se ] | //