From e6f7e107b83319aeb70495e13bf4b23e8f4e370e Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Fri, 16 Mar 2018 06:05:18 +0000 Subject: [PATCH] fix string --- openlp/core/ui/thememanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/core/ui/thememanager.py b/openlp/core/ui/thememanager.py index 4a544b11d..a1b1d7a55 100644 --- a/openlp/core/ui/thememanager.py +++ b/openlp/core/ui/thememanager.py @@ -428,8 +428,8 @@ class ThemeManager(QtWidgets.QWidget, RegistryBase, Ui_ThemeManager, LogMixin, R self.log_exception('Export Theme Failed') critical_error_message_box(translate('OpenLP.ThemeManager', 'Theme Export Failed'), translate('OpenLP.ThemeManager', - 'The theme_name export failed because this error occurred: {err}') - .format(err=ose.strerror)) + 'The {theme_name} export failed because this error occurred: {err}') + .format(theme_name=theme_name, err=ose.strerror)) if theme_path.exists(): theme_path.rmtree(ignore_errors=True) return False