mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
base_report_to_printer: fix translation-positional-used
This commit is contained in:
@@ -45,7 +45,9 @@ class PrintAttachment(models.TransientModel):
|
||||
"warning": _("Following attachments could not be printed:\n\n%s")
|
||||
% "\n".join(
|
||||
[
|
||||
_("%s (%s copies)") % (err.record_name, err.copies)
|
||||
_("{name} ({copies} copies)").format(
|
||||
name=err.record_name, copies=err.copies
|
||||
)
|
||||
for err in errors
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user