1685: Tools: some strings into print statement were untranslated

This commit is contained in:
Jérôme Rapinat 2014-10-08 11:33:29 +02:00
parent ecb4c1d58e
commit 353bb62523
2 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ class RebuildRefMap(tool.Tool, UpdateCallback):
uistate.push_message(dbstate, _("Rebuilding reference maps..."))
else:
self.callback = None
print("Rebuilding reference maps...")
print(_("Rebuilding reference maps..."))
UpdateCallback.__init__(self, self.callback)
self.set_total(6)
@ -94,7 +94,7 @@ class RebuildRefMap(tool.Tool, UpdateCallback):
_('All reference maps have been rebuilt.'),
parent=uistate.window)
else:
print("All reference maps have been rebuilt.")
print(_("All reference maps have been rebuilt."))
self.db.enable_signals()
#------------------------------------------------------------------------

View File

@ -69,7 +69,7 @@ class ReorderIds(tool.BatchTool):
if uistate:
self.progress = ProgressMeter(_('Reordering Gramps IDs'),'')
else:
print("Reordering Gramps IDs...")
print(_("Reordering Gramps IDs..."))
with DbTxn(_("Reorder Gramps IDs"), db, batch=True) as self.trans:
db.disable_signals()
@ -169,7 +169,7 @@ class ReorderIds(tool.BatchTool):
if uistate:
self.progress.close()
else:
print("Done.")
print(_("Done."))
db.enable_signals()
db.request_rebuild()