More string updating.

This commit is contained in:
Raoul Snyman 2010-07-23 20:03:19 +02:00
parent 60e1c7002e
commit 2b7d7f3ba5
9 changed files with 48 additions and 51 deletions

View File

@ -99,8 +99,7 @@ class AlertsPlugin(Plugin):
self.alertForm.exec_() self.alertForm.exec_()
def about(self): def about(self):
about_text = translate('AlertsPlugin', about_text = translate('AlertsPlugin', '<strong>Alerts Plugin</strong>'
'<b>Alerts Plugin</b><br>This plugin ' '<br />The alert plugin controls the displaying of nursery alerts '
'controls the displaying of alerts on the presentations screen') 'on the display screen')
return about_text return about_text

View File

@ -89,10 +89,9 @@ class BiblePlugin(Plugin):
self.mediaItem.onImportClick() self.mediaItem.onImportClick()
def about(self): def about(self):
about_text = translate('BiblesPlugin', about_text = translate('BiblesPlugin', '<strong>Bible Plugin</strong>'
'<strong>Bible Plugin</strong><br />This ' '<br />The Bible plugin provides the ability to display bible '
'plugin allows bible verses from different sources to be ' 'verses from different sources during the service.')
'displayed on the screen during the service.')
return about_text return about_text
def usesTheme(self, theme): def usesTheme(self, theme):

View File

@ -62,11 +62,11 @@ class CustomPlugin(Plugin):
return CustomMediaItem(self, self.icon, self.name) return CustomMediaItem(self, self.icon, self.name)
def about(self): def about(self):
about_text = translate('CustomPlugin', about_text = translate('CustomPlugin', '<strong>Custom Plugin</strong>'
'<b>Custom Plugin</b><br>This plugin ' '<br />The custom plugin provides the ability to set up custom '
'allows slides to be displayed on the screen in the same way ' 'text slides that can be displayed on the screen the same way '
'songs are. This plugin provides greater freedom over the ' 'songs are. This plugin provides greater freedom over the songs '
'songs plugin.<br>') 'plugin.')
return about_text return about_text
def usesTheme(self, theme): def usesTheme(self, theme):

View File

@ -48,12 +48,15 @@ class ImagePlugin(Plugin):
return ImageMediaItem(self, self.icon, self.name) return ImageMediaItem(self, self.icon, self.name)
def about(self): def about(self):
about_text = translate('ImagePlugin', '<b>Image Plugin' about_text = translate('ImagePlugin', '<strong>Image Plugin</strong>'
'</b><br>Allows images of all types to be displayed. If a number ' '<br />The image plugin provides displaying of images.<br />One '
'of images are selected together and presented on the live ' 'of the distinguishing features of this plugin is the ability to '
'controller it is possible to turn them into a timed loop.<br<br>' 'group a number of images together in the service manager, making '
'From the plugin if the <i>Override background</i> is chosen and ' 'the displaying of multiple images easier. This plugin can also '
'an image is selected any songs which are rendered will use the ' 'make use of OpenLP\'s "timed looping" feature to create a slide '
'selected image from the background instead of the one provied by ' 'show that runs automatically. In addition to this, images from '
'the theme.<br>') 'the plugin can be used to override the current theme\'s '
return about_text '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

View File

@ -73,7 +73,6 @@ class MediaPlugin(Plugin):
return MediaMediaItem(self, self.icon, self.name) return MediaMediaItem(self, self.icon, self.name)
def about(self): def about(self):
about_text = translate('MediaPlugin', about_text = translate('MediaPlugin', '<strong>Media Plugin</strong>'
'<b>Media Plugin</b><br>This plugin ' '<br />The media plugin provides playback of audio and video.')
'allows the playing of audio and video media')
return about_text return about_text

View File

@ -42,7 +42,7 @@ class PresentationPlugin(Plugin):
def __init__(self, plugin_helpers): def __init__(self, plugin_helpers):
""" """
PluginPresentation constructor. PluginPresentation constructor.
""" """
log.debug(u'Initialised') log.debug(u'Initialised')
self.controllers = {} self.controllers = {}
@ -132,9 +132,9 @@ class PresentationPlugin(Plugin):
""" """
Return information about this plugin Return information about this plugin
""" """
about_text = translate('PresentationPlugin', about_text = translate('PresentationPlugin', '<strong>Presentation '
'<b>Presentation Plugin</b> <br> Delivers ' 'Plugin</strong><br />The presentation plugin provides the '
'the ability to show presentations using a number of different ' 'ability to show presentations using a number of different '
'programs. The choice of available presentation programs is ' 'programs. The choice of available presentation programs is '
'available to the user in a drop down box.') 'available to the user in a drop down box.')
return about_text return about_text

View File

@ -70,9 +70,8 @@ class RemotesPlugin(Plugin):
""" """
Information about this plugin Information about this plugin
""" """
about_text = translate('RemotePlugin', about_text = translate('RemotePlugin', '<strong>Remote Plugin</strong>'
'<b>Remote Plugin</b><br>This plugin ' '<br/ >The remote plugin provides the ability to send messages to '
'provides the ability to send messages to a running version of ' 'a running version of OpenLP on a different computer via a web '
'openlp on a different computer via a web browser or other app<br>' 'browser or through the remote API.')
'The Primary use for this would be to send alerts from a creche') return about_text
return about_text

View File

@ -259,9 +259,9 @@ class SongsPlugin(Plugin):
Receiver.send_message(u'songs_load_list') Receiver.send_message(u'songs_load_list')
def about(self): def about(self):
about_text = translate('SongsPlugin', about_text = translate('SongsPlugin', '<strong>Songs Plugin</strong>'
'<strong>Song Plugin</strong><br />' '<br />The songs plugin provides the ability to display and '
'This plugin allows songs to be managed and displayed.') 'manage songs.')
return about_text return about_text
def usesTheme(self, theme): def usesTheme(self, theme):

View File

@ -60,31 +60,30 @@ class SongUsagePlugin(Plugin):
self.SongUsageMenu = QtGui.QMenu(tools_menu) self.SongUsageMenu = QtGui.QMenu(tools_menu)
self.SongUsageMenu.setObjectName(u'SongUsageMenu') self.SongUsageMenu.setObjectName(u'SongUsageMenu')
self.SongUsageMenu.setTitle(translate( self.SongUsageMenu.setTitle(translate(
'SongUsagePlugin', '&Song Usage')) 'SongUsagePlugin', '&Song Usage Tracking'))
#SongUsage Delete #SongUsage Delete
self.SongUsageDelete = QtGui.QAction(tools_menu) self.SongUsageDelete = QtGui.QAction(tools_menu)
self.SongUsageDelete.setText(translate('SongUsagePlugin', self.SongUsageDelete.setText(translate('SongUsagePlugin',
'&Delete recorded data')) '&Delete Tracking Data'))
self.SongUsageDelete.setStatusTip(translate('SongUsagePlugin', 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') self.SongUsageDelete.setObjectName(u'SongUsageDelete')
#SongUsage Report #SongUsage Report
self.SongUsageReport = QtGui.QAction(tools_menu) self.SongUsageReport = QtGui.QAction(tools_menu)
self.SongUsageReport.setText( self.SongUsageReport.setText(
translate('SongUsagePlugin', '&Extract recorded data')) translate('SongUsagePlugin', '&Extract Tracking Data'))
self.SongUsageReport.setStatusTip( self.SongUsageReport.setStatusTip(
translate('SongUsagePlugin', 'Generate report on Song Usage')) translate('SongUsagePlugin', 'Generate a report on song usage.'))
self.SongUsageReport.setObjectName(u'SongUsageReport') self.SongUsageReport.setObjectName(u'SongUsageReport')
#SongUsage activation #SongUsage activation
SongUsageIcon = build_icon(u':/plugins/plugin_songusage.png') SongUsageIcon = build_icon(u':/plugins/plugin_songusage.png')
self.SongUsageStatus = QtGui.QAction(tools_menu) self.SongUsageStatus = QtGui.QAction(tools_menu)
self.SongUsageStatus.setIcon(SongUsageIcon)
self.SongUsageStatus.setCheckable(True) self.SongUsageStatus.setCheckable(True)
self.SongUsageStatus.setChecked(False) self.SongUsageStatus.setChecked(False)
self.SongUsageStatus.setText(translate( self.SongUsageStatus.setText(translate(
'SongUsagePlugin', 'Song Usage Status')) 'SongUsagePlugin', 'Toggle Tracking'))
self.SongUsageStatus.setStatusTip(translate('SongUsagePlugin', self.SongUsageStatus.setStatusTip(translate('SongUsagePlugin',
'Start/Stop live song usage recording')) 'Toggle the tracking of song usage.'))
self.SongUsageStatus.setShortcut(u'F4') self.SongUsageStatus.setShortcut(u'F4')
self.SongUsageStatus.setObjectName(u'SongUsageStatus') self.SongUsageStatus.setObjectName(u'SongUsageStatus')
#Add Menus together #Add Menus together
@ -158,8 +157,7 @@ class SongUsagePlugin(Plugin):
self.SongUsagedetailform.exec_() self.SongUsagedetailform.exec_()
def about(self): def about(self):
about_text = translate('SongUsagePlugin', about_text = translate('SongUsagePlugin', '<strong>SongUsage Plugin'
'<b>SongUsage Plugin</b><br>This plugin ' '</strong><br />This plugin tracks the usage of songs in '
'records the use of songs and when they have been used during ' 'services.')
'a live service') return about_text
return about_text