diff --git a/openlp/core/ui/advancedtab.py b/openlp/core/ui/advancedtab.py
index 8c7fbdce1..b12b60d4f 100644
--- a/openlp/core/ui/advancedtab.py
+++ b/openlp/core/ui/advancedtab.py
@@ -294,7 +294,7 @@ class AdvancedTab(SettingsTab):
self.enable_auto_close_check_box.setText(translate('OpenLP.AdvancedTab',
'Enable application exit confirmation'))
self.service_name_group_box.setTitle(translate('OpenLP.AdvancedTab', 'Default Service Name'))
- self.service_name_check_box.setText(translate('OpenLP.AdvancedTab', 'Enable default Service name'))
+ self.service_name_check_box.setText(translate('OpenLP.AdvancedTab', 'Enable default service name'))
self.service_name_time_label.setText(translate('OpenLP.AdvancedTab', 'Date and Time:'))
self.service_name_day.setItemText(0, translate('OpenLP.AdvancedTab', 'Monday'))
self.service_name_day.setItemText(1, translate('OpenLP.AdvancedTab', 'Tuesday'))
@@ -304,11 +304,11 @@ class AdvancedTab(SettingsTab):
self.service_name_day.setItemText(5, translate('OpenLP.AdvancedTab', 'Saturday'))
self.service_name_day.setItemText(6, translate('OpenLP.AdvancedTab', 'Sunday'))
self.service_name_day.setItemText(7, translate('OpenLP.AdvancedTab', 'Now'))
- self.service_name_time.setToolTip(translate('OpenLP.AdvancedTab', 'Time when usual Service starts.'))
+ self.service_name_time.setToolTip(translate('OpenLP.AdvancedTab', 'Time when usual service starts.'))
self.service_name_label.setText(translate('OpenLP.AdvancedTab', 'Name:'))
self.service_name_edit.setToolTip(translate('OpenLP.AdvancedTab', 'Consult the OpenLP manual for usage.'))
self.service_name_revert_button.setToolTip(
- translate('OpenLP.AdvancedTab', 'Revert to the default Service name "%s".') %
+ translate('OpenLP.AdvancedTab', 'Revert to the default service name "%s".') %
UiStrings().DefaultServiceName)
self.service_name_example_label.setText(translate('OpenLP.AdvancedTab', 'Example:'))
self.hide_mouse_group_box.setTitle(translate('OpenLP.AdvancedTab', 'Mouse Cursor'))
@@ -336,7 +336,7 @@ class AdvancedTab(SettingsTab):
self.slide_label.setText(translate('OpenLP.GeneralTab', 'Behavior of next/previous on the last/first slide:'))
self.end_slide_radio_button.setText(translate('OpenLP.GeneralTab', '&Remain on Slide'))
self.wrap_slide_radio_button.setText(translate('OpenLP.GeneralTab', '&Wrap around'))
- self.next_item_radio_button.setText(translate('OpenLP.GeneralTab', '&Move to next/previous Service item'))
+ self.next_item_radio_button.setText(translate('OpenLP.GeneralTab', '&Move to next/previous service item'))
self.search_as_type_check_box.setText(translate('SongsPlugin.GeneralTab', 'Enable search as you type'))
def load(self):
diff --git a/openlp/core/ui/exceptiondialog.py b/openlp/core/ui/exceptiondialog.py
index 1782374ce..5a4523ade 100644
--- a/openlp/core/ui/exceptiondialog.py
+++ b/openlp/core/ui/exceptiondialog.py
@@ -90,22 +90,24 @@ class Ui_ExceptionDialog(object):
"""
Translate the widgets on the fly.
"""
- # Note that bugs_mail is not clicable, but it adds the blue color and underlining and makes the test copyable.
- exception_dialog.setWindowTitle(translate('OpenLP.ExceptionDialog', 'Error Occurred'))
+ # Note that bugs mail is not clicable, but it adds the blue color and underlining and makes the test copyable.
+ #exception_dialog.setWindowTitle(translate('OpenLP.ExceptionDialog', 'Error Occurred'))
# Explanation text, adds a small space before: If possible, write in English.
self.description_explanation.setText(
translate('OpenLP.ExceptionDialog', 'Please describe what you were trying to do. '
' If possible, write in English.'))
+ expection_part1 = (translate('OpenLP.ExceptionDialog',
+ 'Oops, OpenLP hit a problem and couldn\'t recover!
You can '
+ 'help OpenLP developers to fix this by
sending them a '
+ 'bug report to {email}
'
+ ).format(email=' bugs@openlp.org'))
self.message_label.setText(
- translate('OpenLP.ExceptionDialog', 'Oops, OpenLP hit a problem '
- 'and couldn\'t recover!
'
- 'You can help OpenLP developers to fix this by
'
- 'sending them a bug report to {email}
'
+ translate('OpenLP.ExceptionDialog', '{first_part}'
'No email app? You can save this '
'information to a file and
'
'send it from your mail on browser via an attachement.
'
'Thank you for being part of making OpenLP better!
'
- ).format(email=' bugs@openlp.org'))
+ ).format(first_part = expection_part1))
self.send_report_button.setText(translate('OpenLP.ExceptionDialog', 'Send E-Mail'))
self.save_report_button.setText(translate('OpenLP.ExceptionDialog', 'Save to File'))
self.attach_tile_button.setText(translate('OpenLP.ExceptionDialog', 'Attach File'))
diff --git a/openlp/core/ui/exceptionform.py b/openlp/core/ui/exceptionform.py
index 6430423cf..7df0d695f 100644
--- a/openlp/core/ui/exceptionform.py
+++ b/openlp/core/ui/exceptionform.py
@@ -199,7 +199,8 @@ class ExceptionForm(QtWidgets.QDialog, Ui_ExceptionDialog, RegistryProperties):
else:
self.__button_state(False)
self.description_word_count.setText(
- translate('OpenLP.ExceptionDialog', '%s Characters from the minimum description remaining.') % count)
+ translate('OpenLP.ExceptionDialog', '{count} characters from the minimum description remaining.'
+ ).format(count = count))
def on_attach_file_button_clicked(self):
"""
diff --git a/openlp/core/ui/generaltab.py b/openlp/core/ui/generaltab.py
index 884e95900..5173f315b 100644
--- a/openlp/core/ui/generaltab.py
+++ b/openlp/core/ui/generaltab.py
@@ -257,10 +257,10 @@ class GeneralTab(SettingsTab):
self.check_for_updates_check_box.setText(translate('OpenLP.GeneralTab', 'Check for updates to OpenLP'))
self.settings_group_box.setTitle(translate('OpenLP.GeneralTab', 'Application Settings'))
self.save_check_service_check_box.setText(translate('OpenLP.GeneralTab',
- 'Prompt to save before starting a new Service'))
+ 'Prompt to save before starting a new service'))
self.auto_unblank_check_box.setText(translate('OpenLP.GeneralTab', 'Unblank display when adding new Live item'))
self.auto_preview_check_box.setText(translate('OpenLP.GeneralTab',
- 'Automatically preview next item in Service'))
+ 'Automatically preview the next item in service'))
self.timeout_label.setText(translate('OpenLP.GeneralTab', 'Timed slide interval:'))
self.timeout_spin_box.setSuffix(translate('OpenLP.GeneralTab', ' sec'))
self.ccli_group_box.setTitle(translate('OpenLP.GeneralTab', 'CCLI Details'))
diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py
index 57c67c66e..db1636518 100644
--- a/openlp/core/ui/mainwindow.py
+++ b/openlp/core/ui/mainwindow.py
@@ -442,7 +442,7 @@ class Ui_MainWindow(object):
self.view_media_manager_item.setStatusTip(translate('OpenLP.MainWindow',
'Toggle the visibility of the Library.'))
self.view_theme_manager_item.setText(translate('OpenLP.MainWindow', '&Themes'))
- self.view_theme_manager_item.setToolTip(translate('OpenLP.MainWindow', 'Hide or show Themes'))
+ self.view_theme_manager_item.setToolTip(translate('OpenLP.MainWindow', 'Hide or show themes'))
self.view_theme_manager_item.setStatusTip(translate('OpenLP.MainWindow',
'Toggle the visibility of the Themes.'))
self.view_service_manager_item.setText(translate('OpenLP.MainWindow', '&Service'))