This commit is contained in:
Andreas Preikschat 2011-05-06 07:17:13 +02:00
parent 7372db18a8
commit 68c1236a2a
8 changed files with 46 additions and 44 deletions

View File

@ -115,11 +115,11 @@ class ServiceManager(QtGui.QWidget):
UiStrings().CreateService, self.onNewServiceClicked)
self.toolbar.addToolbarButton(
UiStrings().OpenService, u':/general/general_open.png',
translate('OpenLP.ServiceManager', 'Load an existing service'),
translate('OpenLP.ServiceManager', 'Load an existing service.'),
self.onLoadServiceClicked)
self.toolbar.addToolbarButton(
UiStrings().SaveService, u':/general/general_save.png',
translate('OpenLP.ServiceManager', 'Save this service'),
translate('OpenLP.ServiceManager', 'Save this service.'),
self.saveFile)
self.toolbar.addSeparator()
self.themeLabel = QtGui.QLabel(u'%s:' % UiStrings().Theme, self)
@ -128,7 +128,7 @@ class ServiceManager(QtGui.QWidget):
self.toolbar.addToolbarWidget(u'ThemeLabel', self.themeLabel)
self.themeComboBox = QtGui.QComboBox(self.toolbar)
self.themeComboBox.setToolTip(translate('OpenLP.ServiceManager',
'Select a theme for the service'))
'Select a theme for the service.'))
self.themeComboBox.setSizeAdjustPolicy(
QtGui.QComboBox.AdjustToMinimumContentsLength)
self.themeComboBox.setSizePolicy(

View File

@ -137,13 +137,14 @@ class BiblePlugin(Plugin):
# Middle Header Bar
tooltips = {
u'load': u'',
u'import': translate('BiblesPlugin', 'Import a Bible'),
u'new': translate('BiblesPlugin', 'Add a new Bible'),
u'edit': translate('BiblesPlugin', 'Edit the selected Bible'),
u'delete': translate('BiblesPlugin', 'Delete the selected Bible'),
u'preview': translate('BiblesPlugin', 'Preview the selected Bible'),
u'live': translate('BiblesPlugin', 'Send the selected Bible live'),
u'import': translate('BiblesPlugin', 'Import a Bible.'),
u'new': translate('BiblesPlugin', 'Add a new Bible.'),
u'edit': translate('BiblesPlugin', 'Edit the selected Bible.'),
u'delete': translate('BiblesPlugin', 'Delete the selected Bible.'),
u'preview': translate('BiblesPlugin',
'Preview the selected Bible.'),
u'live': translate('BiblesPlugin', 'Send the selected Bible live.'),
u'service': translate('BiblesPlugin',
'Add the selected Bible to the service')
'Add the selected Bible to the service.')
}
self.setPluginUiTextStrings(tooltips)
self.setPluginUiTextStrings(tooltips)

View File

@ -106,17 +106,17 @@ class CustomPlugin(Plugin):
}
# Middle Header Bar
tooltips = {
u'load': translate('CustomsPlugin', 'Load a new Custom'),
u'import': translate('CustomsPlugin', 'Import a Custom'),
u'new': translate('CustomsPlugin', 'Add a new Custom'),
u'edit': translate('CustomsPlugin', 'Edit the selected Custom'),
u'delete': translate('CustomsPlugin', 'Delete the selected Custom'),
u'load': translate('CustomsPlugin', 'Load a new Custom.'),
u'import': translate('CustomsPlugin', 'Import a Custom.'),
u'new': translate('CustomsPlugin', 'Add a new Custom.'),
u'edit': translate('CustomsPlugin', 'Edit the selected Custom.'),
u'delete': translate('CustomsPlugin', 'Delete the selected Custom.'),
u'preview': translate('CustomsPlugin',
'Preview the selected Custom'),
'Preview the selected Custom.'),
u'live': translate('CustomsPlugin',
'Send the selected Custom live'),
'Send the selected Custom live.'),
u'service': translate('CustomsPlugin',
'Add the selected Custom to the service')
'Add the selected Custom to the service.')
}
self.setPluginUiTextStrings(tooltips)

View File

@ -71,12 +71,12 @@ class ImagePlugin(Plugin):
tooltips = {
u'load': translate('ImagePlugin', 'Load a new Image'),
u'import': u'',
u'new': translate('ImagePlugin', 'Add a new Image'),
u'edit': translate('ImagePlugin', 'Edit the selected Image'),
u'delete': translate('ImagePlugin', 'Delete the selected Image'),
u'preview': translate('ImagePlugin', 'Preview the selected Image'),
u'live': translate('ImagePlugin', 'Send the selected Image live'),
u'new': translate('ImagePlugin', 'Add a new Image.'),
u'edit': translate('ImagePlugin', 'Edit the selected Image.'),
u'delete': translate('ImagePlugin', 'Delete the selected Image.'),
u'preview': translate('ImagePlugin', 'Preview the selected Image.'),
u'live': translate('ImagePlugin', 'Send the selected Image live.'),
u'service': translate('ImagePlugin',
'Add the selected Image to the service')
'Add the selected Image to the service.')
}
self.setPluginUiTextStrings(tooltips)

View File

@ -111,14 +111,14 @@ class MediaPlugin(Plugin):
}
# Middle Header Bar
tooltips = {
u'load': translate('MediaPlugin', 'Load a new Media'),
u'load': translate('MediaPlugin', 'Load a new Media.'),
u'import': u'',
u'new': translate('MediaPlugin', 'Add a new Media'),
u'edit': translate('MediaPlugin', 'Edit the selected Media'),
u'delete': translate('MediaPlugin', 'Delete the selected Media'),
u'preview': translate('MediaPlugin', 'Preview the selected Media'),
u'live': translate('MediaPlugin', 'Send the selected Media live'),
u'new': translate('MediaPlugin', 'Add a new Media.'),
u'edit': translate('MediaPlugin', 'Edit the selected Media.'),
u'delete': translate('MediaPlugin', 'Delete the selected Media.'),
u'preview': translate('MediaPlugin', 'Preview the selected Media.'),
u'live': translate('MediaPlugin', 'Send the selected Media live.'),
u'service': translate('MediaPlugin',
'Add the selected Media to the service')
'Add the selected Media to the service.')
}
self.setPluginUiTextStrings(tooltips)

View File

@ -167,17 +167,18 @@ class PresentationPlugin(Plugin):
}
# Middle Header Bar
tooltips = {
u'load': translate('PresentationPlugin', 'Load a new Presentation'),
u'load': translate('PresentationPlugin',
'Load a new Presentation.'),
u'import': u'',
u'new': u'',
u'edit': u'',
u'delete': translate('PresentationPlugin',
'Delete the selected Presentation'),
'Delete the selected Presentation.'),
u'preview': translate('PresentationPlugin',
'Preview the selected Presentation'),
'Preview the selected Presentation.'),
u'live': translate('PresentationPlugin',
'Send the selected Presentation live'),
'Send the selected Presentation live.'),
u'service': translate('PresentationPlugin',
'Add the selected Presentation to the service')
'Add the selected Presentation to the service.')
}
self.setPluginUiTextStrings(tooltips)

View File

@ -141,7 +141,7 @@ class SongMediaItem(MediaManagerItem):
self.searchTextButton.setText(UiStrings().Search)
self.maintenanceAction.setText(SongStrings.SongMaintenance)
self.maintenanceAction.setToolTip(translate('SongsPlugin.MediaItem',
'Maintain the lists of authors, topics and books'))
'Maintain the lists of authors, topics and books.'))
def initialise(self):
self.searchTextEdit.setSearchTypes([

View File

@ -214,13 +214,13 @@ class SongsPlugin(Plugin):
tooltips = {
u'load': u'',
u'import': u'',
u'new': translate('SongsPlugin', 'Add a new Song'),
u'edit': translate('SongsPlugin', 'Edit the selected Song'),
u'delete': translate('SongsPlugin', 'Delete the selected Song'),
u'preview': translate('SongsPlugin', 'Preview the selected Song'),
u'live': translate('SongsPlugin', 'Send the selected Song live'),
u'new': translate('SongsPlugin', 'Add a new Song.'),
u'edit': translate('SongsPlugin', 'Edit the selected Song.'),
u'delete': translate('SongsPlugin', 'Delete the selected Song.'),
u'preview': translate('SongsPlugin', 'Preview the selected Song.'),
u'live': translate('SongsPlugin', 'Send the selected Song live.'),
u'service': translate('SongsPlugin',
'Add the selected Song to the service')
'Add the selected Song to the service.')
}
self.setPluginUiTextStrings(tooltips)