forked from openlp/openlp
fix string
This commit is contained in:
parent
2531e56910
commit
e6f7e107b8
@ -428,8 +428,8 @@ class ThemeManager(QtWidgets.QWidget, RegistryBase, Ui_ThemeManager, LogMixin, R
|
|||||||
self.log_exception('Export Theme Failed')
|
self.log_exception('Export Theme Failed')
|
||||||
critical_error_message_box(translate('OpenLP.ThemeManager', 'Theme Export Failed'),
|
critical_error_message_box(translate('OpenLP.ThemeManager', 'Theme Export Failed'),
|
||||||
translate('OpenLP.ThemeManager',
|
translate('OpenLP.ThemeManager',
|
||||||
'The theme_name export failed because this error occurred: {err}')
|
'The {theme_name} export failed because this error occurred: {err}')
|
||||||
.format(err=ose.strerror))
|
.format(theme_name=theme_name, err=ose.strerror))
|
||||||
if theme_path.exists():
|
if theme_path.exists():
|
||||||
theme_path.rmtree(ignore_errors=True)
|
theme_path.rmtree(ignore_errors=True)
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user