From a19cc1f896cc5be5fbb91ed6058ad4cfe73e9879 Mon Sep 17 00:00:00 2001 From: Bob Swift Date: Tue, 27 Jun 2023 10:18:14 -0600 Subject: [PATCH] Another i18n fix. --- picard/ui/savewarningdialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/picard/ui/savewarningdialog.py b/picard/ui/savewarningdialog.py index 5debfc84a..8f114bb58 100644 --- a/picard/ui/savewarningdialog.py +++ b/picard/ui/savewarningdialog.py @@ -43,8 +43,8 @@ class SaveWarningDialog(): footer = _("This action cannot be undone. Do you want to continue?") list_of_actions = '' for action in actions: - list_of_actions += f'
  • {action}
  • ' - self.WARNING_TEXT = f'

    {header}

    {footer}

    ' + list_of_actions += _('
  • {action}
  • ').format(action=action) + self.WARNING_TEXT = _('

    {header}

    {footer}

    ').format(header=header, list_of_actions=list_of_actions, footer=footer) else: self.WARNING_TEXT = _("There are no actions selected. No changes will be saved.")