1685: Tools: some strings into print statement were untranslated
This commit is contained in:
parent
d3e75650b4
commit
612a72a455
@ -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()
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user