0001751: Translation of string in FanCaaart.py does not work.

svn: r10013
This commit is contained in:
Brian Matherly 2008-02-10 21:22:28 +00:00
parent 1f783f6545
commit fbb9bcedf8
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2008-02-10 Brian Matherly <brian@gramps-project.org>
* src/plugins/FanChart.py:
0001751: Translation of string in FanCaaart.py does not work.
2008-02-10 Brian Matherly <brian@gramps-project.org>
* src/plugins/NarrativeWeb.py:
* src/PluginUtils/_GuiOptions.py:

View File

@ -177,8 +177,8 @@ class FanChart(Report):
block_size = min_xy / (self.max_generations * 2 - max_circular)
else:
block_size = min_xy / self.max_generations
text = _("%(generations)d Generation Fan Chart for %(person)s" %
{ 'generations' : self.max_generations, 'person' : n } )
text = _("%(generations)d Generation Fan Chart for %(person)s" ) % \
{ 'generations' : self.max_generations, 'person' : n }
self.doc.center_text ('t', text, self.doc.get_usable_width() / 2, 0)
for generation in range (0, min (max_circular, self.max_generations)):