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()