forked from openlp/openlp
Stray backslashes and translate() updates
bzr-revno: 869
This commit is contained in:
commit
4385f24e3e
@ -82,7 +82,7 @@ class BiblePlugin(Plugin):
|
||||
self.ExportBibleItem.setObjectName(u'ExportBibleItem')
|
||||
export_menu.addAction(self.ExportBibleItem)
|
||||
self.ExportBibleItem.setText(translate(
|
||||
u'BiblePlugin', u'&Bible'))
|
||||
'BiblePlugin', '&Bible'))
|
||||
self.ExportBibleItem.setVisible(False)
|
||||
|
||||
def onBibleImportClick(self):
|
||||
|
@ -63,9 +63,9 @@ class SongImport(object):
|
||||
self.verses = []
|
||||
self.versecount = 0
|
||||
self.choruscount = 0
|
||||
self.copyright_string = unicode(QtGui.QApplication.translate( \
|
||||
self.copyright_string = unicode(QtGui.QApplication.translate(
|
||||
u'SongsPlugin.SongImport', u'copyright'))
|
||||
self.copyright_symbol = unicode(QtGui.QApplication.translate( \
|
||||
self.copyright_symbol = unicode(QtGui.QApplication.translate(
|
||||
u'SongsPlugin.SongImport', u'\xa9'))
|
||||
|
||||
@staticmethod
|
||||
|
@ -91,9 +91,8 @@ class SongsPlugin(Plugin):
|
||||
self.SongImportItem = QtGui.QAction(import_menu)
|
||||
self.SongImportItem.setObjectName(u'SongImportItem')
|
||||
self.SongImportItem.setText(translate(
|
||||
u'SongsPlugin', u'&Song'))
|
||||
self.SongImportItem.setToolTip(
|
||||
translate('SongsPlugin',
|
||||
'SongsPlugin', '&Song'))
|
||||
self.SongImportItem.setToolTip(translate('SongsPlugin',
|
||||
'Import songs using the import wizard.'))
|
||||
import_menu.addAction(self.SongImportItem)
|
||||
# Songs of Fellowship import menu item - will be removed and the
|
||||
|
@ -60,24 +60,20 @@ class SongUsagePlugin(Plugin):
|
||||
self.SongUsageMenu = QtGui.QMenu(tools_menu)
|
||||
self.SongUsageMenu.setObjectName(u'SongUsageMenu')
|
||||
self.SongUsageMenu.setTitle(translate(
|
||||
u'SongUsagePlugin', u'&Song Usage'))
|
||||
'SongUsagePlugin', '&Song Usage'))
|
||||
#SongUsage Delete
|
||||
self.SongUsageDelete = QtGui.QAction(tools_menu)
|
||||
self.SongUsageDelete.setText(
|
||||
translate('SongUsagePlugin',
|
||||
self.SongUsageDelete.setText(translate('SongUsagePlugin',
|
||||
'&Delete recorded data'))
|
||||
self.SongUsageDelete.setStatusTip(
|
||||
translate('SongUsagePlugin',
|
||||
self.SongUsageDelete.setStatusTip(translate('SongUsagePlugin',
|
||||
'Delete song usage to 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 recorded data'))
|
||||
self.SongUsageReport.setStatusTip(
|
||||
translate('SongUsagePlugin',
|
||||
'Generate report on Song Usage'))
|
||||
translate('SongUsagePlugin', 'Generate report on Song Usage'))
|
||||
self.SongUsageReport.setObjectName(u'SongUsageReport')
|
||||
#SongUsage activation
|
||||
SongUsageIcon = build_icon(u':/tools/tools_alert.png')
|
||||
@ -87,8 +83,7 @@ class SongUsagePlugin(Plugin):
|
||||
self.SongUsageStatus.setChecked(False)
|
||||
self.SongUsageStatus.setText(translate(
|
||||
'SongUsagePlugin', 'Song Usage Status'))
|
||||
self.SongUsageStatus.setStatusTip(
|
||||
translate('SongUsagePlugin',
|
||||
self.SongUsageStatus.setStatusTip(translate('SongUsagePlugin',
|
||||
'Start/Stop live song usage recording'))
|
||||
self.SongUsageStatus.setShortcut(u'F4')
|
||||
self.SongUsageStatus.setObjectName(u'SongUsageStatus')
|
||||
|
Loading…
Reference in New Issue
Block a user