From 353bb62523123c13d29652ac2d6f7a4723b297f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Wed, 8 Oct 2014 11:33:29 +0200 Subject: [PATCH] 1685: Tools: some strings into print statement were untranslated --- gramps/plugins/tool/rebuildrefmap.py | 4 ++-- gramps/plugins/tool/reorderids.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/tool/rebuildrefmap.py b/gramps/plugins/tool/rebuildrefmap.py index 03b2fc48c..3c8b6e6ec 100644 --- a/gramps/plugins/tool/rebuildrefmap.py +++ b/gramps/plugins/tool/rebuildrefmap.py @@ -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() #------------------------------------------------------------------------ diff --git a/gramps/plugins/tool/reorderids.py b/gramps/plugins/tool/reorderids.py index cae9f5845..dc01afe01 100644 --- a/gramps/plugins/tool/reorderids.py +++ b/gramps/plugins/tool/reorderids.py @@ -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()