From 2b7d7f3ba5787c4373799d7e22d454a7f980905d Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Fri, 23 Jul 2010 20:03:19 +0200 Subject: [PATCH] More string updating. --- openlp/plugins/alerts/alertsplugin.py | 7 +++--- openlp/plugins/bibles/bibleplugin.py | 7 +++--- openlp/plugins/custom/customplugin.py | 10 ++++---- openlp/plugins/images/imageplugin.py | 21 +++++++++------- openlp/plugins/media/mediaplugin.py | 5 ++-- .../presentations/presentationplugin.py | 8 +++---- openlp/plugins/remotes/remoteplugin.py | 11 ++++----- openlp/plugins/songs/songsplugin.py | 6 ++--- openlp/plugins/songusage/songusageplugin.py | 24 +++++++++---------- 9 files changed, 48 insertions(+), 51 deletions(-) diff --git a/openlp/plugins/alerts/alertsplugin.py b/openlp/plugins/alerts/alertsplugin.py index 5b904e385..a9c726024 100644 --- a/openlp/plugins/alerts/alertsplugin.py +++ b/openlp/plugins/alerts/alertsplugin.py @@ -99,8 +99,7 @@ class AlertsPlugin(Plugin): self.alertForm.exec_() def about(self): - about_text = translate('AlertsPlugin', - 'Alerts Plugin
This plugin ' - 'controls the displaying of alerts on the presentations screen') + about_text = translate('AlertsPlugin', 'Alerts Plugin' + '
The alert plugin controls the displaying of nursery alerts ' + 'on the display screen') return about_text - diff --git a/openlp/plugins/bibles/bibleplugin.py b/openlp/plugins/bibles/bibleplugin.py index 65bf815f0..19d6d65cd 100644 --- a/openlp/plugins/bibles/bibleplugin.py +++ b/openlp/plugins/bibles/bibleplugin.py @@ -89,10 +89,9 @@ class BiblePlugin(Plugin): self.mediaItem.onImportClick() def about(self): - about_text = translate('BiblesPlugin', - 'Bible Plugin
This ' - 'plugin allows bible verses from different sources to be ' - 'displayed on the screen during the service.') + about_text = translate('BiblesPlugin', 'Bible Plugin' + '
The Bible plugin provides the ability to display bible ' + 'verses from different sources during the service.') return about_text def usesTheme(self, theme): diff --git a/openlp/plugins/custom/customplugin.py b/openlp/plugins/custom/customplugin.py index 79ccb1f9b..4785ad6b8 100644 --- a/openlp/plugins/custom/customplugin.py +++ b/openlp/plugins/custom/customplugin.py @@ -62,11 +62,11 @@ class CustomPlugin(Plugin): return CustomMediaItem(self, self.icon, self.name) def about(self): - about_text = translate('CustomPlugin', - 'Custom Plugin
This plugin ' - 'allows slides to be displayed on the screen in the same way ' - 'songs are. This plugin provides greater freedom over the ' - 'songs plugin.
') + about_text = translate('CustomPlugin', 'Custom Plugin' + '
The custom plugin provides the ability to set up custom ' + 'text slides that can be displayed on the screen the same way ' + 'songs are. This plugin provides greater freedom over the songs ' + 'plugin.') return about_text def usesTheme(self, theme): diff --git a/openlp/plugins/images/imageplugin.py b/openlp/plugins/images/imageplugin.py index adf8e401b..03c8992f9 100644 --- a/openlp/plugins/images/imageplugin.py +++ b/openlp/plugins/images/imageplugin.py @@ -48,12 +48,15 @@ class ImagePlugin(Plugin): return ImageMediaItem(self, self.icon, self.name) def about(self): - about_text = translate('ImagePlugin', 'Image Plugin' - '
Allows images of all types to be displayed. If a number ' - 'of images are selected together and presented on the live ' - 'controller it is possible to turn them into a timed loop.' - 'From the plugin if the Override background is chosen and ' - 'an image is selected any songs which are rendered will use the ' - 'selected image from the background instead of the one provied by ' - 'the theme.
') - return about_text \ No newline at end of file + about_text = translate('ImagePlugin', 'Image Plugin' + '
The image plugin provides displaying of images.
One ' + 'of the distinguishing features of this plugin is the ability to ' + 'group a number of images together in the service manager, making ' + 'the displaying of multiple images easier. This plugin can also ' + 'make use of OpenLP\'s "timed looping" feature to create a slide ' + 'show that runs automatically. In addition to this, images from ' + 'the plugin can be used to override the current theme\'s ' + 'background, which renders text-based items like songs with the ' + 'selected image as a background instead of the background ' + 'provided by the theme.') + return about_text diff --git a/openlp/plugins/media/mediaplugin.py b/openlp/plugins/media/mediaplugin.py index 4162c4d31..a2e27bd4d 100644 --- a/openlp/plugins/media/mediaplugin.py +++ b/openlp/plugins/media/mediaplugin.py @@ -73,7 +73,6 @@ class MediaPlugin(Plugin): return MediaMediaItem(self, self.icon, self.name) def about(self): - about_text = translate('MediaPlugin', - 'Media Plugin
This plugin ' - 'allows the playing of audio and video media') + about_text = translate('MediaPlugin', 'Media Plugin' + '
The media plugin provides playback of audio and video.') return about_text diff --git a/openlp/plugins/presentations/presentationplugin.py b/openlp/plugins/presentations/presentationplugin.py index 50784ed51..47234b371 100644 --- a/openlp/plugins/presentations/presentationplugin.py +++ b/openlp/plugins/presentations/presentationplugin.py @@ -42,7 +42,7 @@ class PresentationPlugin(Plugin): def __init__(self, plugin_helpers): """ - PluginPresentation constructor. + PluginPresentation constructor. """ log.debug(u'Initialised') self.controllers = {} @@ -132,9 +132,9 @@ class PresentationPlugin(Plugin): """ Return information about this plugin """ - about_text = translate('PresentationPlugin', - 'Presentation Plugin
Delivers ' - 'the ability to show presentations using a number of different ' + about_text = translate('PresentationPlugin', 'Presentation ' + 'Plugin
The presentation plugin provides the ' + 'ability to show presentations using a number of different ' 'programs. The choice of available presentation programs is ' 'available to the user in a drop down box.') return about_text diff --git a/openlp/plugins/remotes/remoteplugin.py b/openlp/plugins/remotes/remoteplugin.py index a878869d0..6666b5e93 100644 --- a/openlp/plugins/remotes/remoteplugin.py +++ b/openlp/plugins/remotes/remoteplugin.py @@ -70,9 +70,8 @@ class RemotesPlugin(Plugin): """ Information about this plugin """ - about_text = translate('RemotePlugin', - 'Remote Plugin
This plugin ' - 'provides the ability to send messages to a running version of ' - 'openlp on a different computer via a web browser or other app
' - 'The Primary use for this would be to send alerts from a creche') - return about_text \ No newline at end of file + about_text = translate('RemotePlugin', 'Remote Plugin' + '
The remote plugin provides the ability to send messages to ' + 'a running version of OpenLP on a different computer via a web ' + 'browser or through the remote API.') + return about_text diff --git a/openlp/plugins/songs/songsplugin.py b/openlp/plugins/songs/songsplugin.py index bf1c0cb23..c57a175e6 100644 --- a/openlp/plugins/songs/songsplugin.py +++ b/openlp/plugins/songs/songsplugin.py @@ -259,9 +259,9 @@ class SongsPlugin(Plugin): Receiver.send_message(u'songs_load_list') def about(self): - about_text = translate('SongsPlugin', - 'Song Plugin
' - 'This plugin allows songs to be managed and displayed.') + about_text = translate('SongsPlugin', 'Songs Plugin' + '
The songs plugin provides the ability to display and ' + 'manage songs.') return about_text def usesTheme(self, theme): diff --git a/openlp/plugins/songusage/songusageplugin.py b/openlp/plugins/songusage/songusageplugin.py index c7a8a30aa..a11e61605 100644 --- a/openlp/plugins/songusage/songusageplugin.py +++ b/openlp/plugins/songusage/songusageplugin.py @@ -60,31 +60,30 @@ class SongUsagePlugin(Plugin): self.SongUsageMenu = QtGui.QMenu(tools_menu) self.SongUsageMenu.setObjectName(u'SongUsageMenu') self.SongUsageMenu.setTitle(translate( - 'SongUsagePlugin', '&Song Usage')) + 'SongUsagePlugin', '&Song Usage Tracking')) #SongUsage Delete self.SongUsageDelete = QtGui.QAction(tools_menu) self.SongUsageDelete.setText(translate('SongUsagePlugin', - '&Delete recorded data')) + '&Delete Tracking Data')) self.SongUsageDelete.setStatusTip(translate('SongUsagePlugin', - 'Delete song usage to specified date')) + 'Delete song usage data up to a specified date.')) self.SongUsageDelete.setObjectName(u'SongUsageDelete') #SongUsage Report self.SongUsageReport = QtGui.QAction(tools_menu) self.SongUsageReport.setText( - translate('SongUsagePlugin', '&Extract recorded data')) + translate('SongUsagePlugin', '&Extract Tracking Data')) self.SongUsageReport.setStatusTip( - translate('SongUsagePlugin', 'Generate report on Song Usage')) + translate('SongUsagePlugin', 'Generate a report on song usage.')) self.SongUsageReport.setObjectName(u'SongUsageReport') #SongUsage activation SongUsageIcon = build_icon(u':/plugins/plugin_songusage.png') self.SongUsageStatus = QtGui.QAction(tools_menu) - self.SongUsageStatus.setIcon(SongUsageIcon) self.SongUsageStatus.setCheckable(True) self.SongUsageStatus.setChecked(False) self.SongUsageStatus.setText(translate( - 'SongUsagePlugin', 'Song Usage Status')) + 'SongUsagePlugin', 'Toggle Tracking')) self.SongUsageStatus.setStatusTip(translate('SongUsagePlugin', - 'Start/Stop live song usage recording')) + 'Toggle the tracking of song usage.')) self.SongUsageStatus.setShortcut(u'F4') self.SongUsageStatus.setObjectName(u'SongUsageStatus') #Add Menus together @@ -158,8 +157,7 @@ class SongUsagePlugin(Plugin): self.SongUsagedetailform.exec_() def about(self): - about_text = translate('SongUsagePlugin', - 'SongUsage Plugin
This plugin ' - 'records the use of songs and when they have been used during ' - 'a live service') - return about_text \ No newline at end of file + about_text = translate('SongUsagePlugin', 'SongUsage Plugin' + '
This plugin tracks the usage of songs in ' + 'services.') + return about_text