You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Translation: Some strings need to be fetched with ngettext #18
Looks like the related code has changed somewhat between then and with latest tag: 2.4.8
see /mintbackup/usr/lib/linuxmint/mintbackup/mintbackup.py L589:
self.errors.append([_("Warning: Some files were not saved. Only %(archived)d files were backed up out of %(total)d.") % {'archived': self.archived_files, 'total': self.num_files}, None])
and /mintbackup/usr/lib/linuxmint/mintbackup/mintbackup.py L713 (I think):
self.errors.append([_("Warning: Only %(number)d files were restored out of %(total)d.") % {'number': self.restored_files, 'total': self.num_files}, None])
Changing messages to use Python's ngettext still seems relevant though.
I'm slowly working my way through the Linux Mint Developer Guide, and might tackle this as a starting point once / if I can wrap my head around how to test changes.
Activity
magnondamant commentedon Nov 26, 2026
Looks like the related code has changed somewhat between then and with latest tag: 2.4.8
see
/mintbackup/usr/lib/linuxmint/mintbackup/mintbackup.pyL589:and
/mintbackup/usr/lib/linuxmint/mintbackup/mintbackup.pyL713 (I think):Changing messages to use Python's
ngettextstill seems relevant though.I'm slowly working my way through the Linux Mint Developer Guide, and might tackle this as a starting point once / if I can wrap my head around how to test changes.