forked from openlp/openlp
r1344
This commit is contained in:
commit
9b941d2f83
@ -220,8 +220,6 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
if self.hasDeleteIcon:
|
||||
toolbar_actions.append([StringContent.Delete,
|
||||
u':/general/general_delete.png', self.onDeleteClick])
|
||||
## Separator Line ##
|
||||
self.addToolbarSeparator()
|
||||
## Preview ##
|
||||
toolbar_actions.append([StringContent.Preview,
|
||||
u':/general/general_preview.png', self.onPreviewClick])
|
||||
@ -232,6 +230,8 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
toolbar_actions.append([StringContent.Service,
|
||||
u':/general/general_add.png', self.onAddClick])
|
||||
for action in toolbar_actions:
|
||||
if action[0] == StringContent.Preview:
|
||||
self.addToolbarSeparator()
|
||||
self.addToolbarButton(
|
||||
self.plugin.getString(action[0])[u'title'],
|
||||
self.plugin.getString(action[0])[u'tooltip'],
|
||||
|
@ -163,7 +163,7 @@ class AlertForm(QtGui.QDialog, Ui_AlertDialog):
|
||||
# We found '<>' in the alert text, but the ParameterEdit field is empty.
|
||||
if text.find(u'<>') != -1 and not self.parameterEdit.text() and \
|
||||
QtGui.QMessageBox.question(self,
|
||||
translate('AlertPlugin.AlertForm', 'No Parameter found'),
|
||||
translate('AlertPlugin.AlertForm', 'No Parameter Found'),
|
||||
translate('AlertPlugin.AlertForm', 'You have not entered a '
|
||||
'parameter to be replaced.\nDo you want to continue anyway?'),
|
||||
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.No |
|
||||
@ -174,9 +174,9 @@ class AlertForm(QtGui.QDialog, Ui_AlertDialog):
|
||||
# in the alert text.
|
||||
elif text.find(u'<>') == -1 and self.parameterEdit.text() and \
|
||||
QtGui.QMessageBox.question(self,
|
||||
translate('AlertPlugin.AlertForm', 'No Placeholder found'),
|
||||
translate('AlertPlugin.AlertForm', 'No Placeholder Found'),
|
||||
translate('AlertPlugin.AlertForm', 'The alert text does not'
|
||||
' contain \'<>\'.\nDo want to continue anyway?'),
|
||||
' contain \'<>\'.\nDo you want to continue anyway?'),
|
||||
QtGui.QMessageBox.StandardButtons(QtGui.QMessageBox.No |
|
||||
QtGui.QMessageBox.Yes)) == QtGui.QMessageBox.No:
|
||||
self.parameterEdit.setFocus()
|
||||
|
3509
resources/i18n/af.ts
3509
resources/i18n/af.ts
File diff suppressed because it is too large
Load Diff
4020
resources/i18n/de.ts
4020
resources/i18n/de.ts
File diff suppressed because it is too large
Load Diff
3491
resources/i18n/en.ts
3491
resources/i18n/en.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
3505
resources/i18n/es.ts
3505
resources/i18n/es.ts
File diff suppressed because it is too large
Load Diff
3747
resources/i18n/et.ts
3747
resources/i18n/et.ts
File diff suppressed because it is too large
Load Diff
4832
resources/i18n/fr.ts
Normal file
4832
resources/i18n/fr.ts
Normal file
File diff suppressed because it is too large
Load Diff
3507
resources/i18n/hu.ts
3507
resources/i18n/hu.ts
File diff suppressed because it is too large
Load Diff
4825
resources/i18n/id.ts
Normal file
4825
resources/i18n/id.ts
Normal file
File diff suppressed because it is too large
Load Diff
4697
resources/i18n/ja.ts
4697
resources/i18n/ja.ts
File diff suppressed because it is too large
Load Diff
3493
resources/i18n/ko.ts
3493
resources/i18n/ko.ts
File diff suppressed because it is too large
Load Diff
3497
resources/i18n/nb.ts
3497
resources/i18n/nb.ts
File diff suppressed because it is too large
Load Diff
6311
resources/i18n/nl.ts
6311
resources/i18n/nl.ts
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
4828
resources/i18n/ru.ts
Normal file
4828
resources/i18n/ru.ts
Normal file
File diff suppressed because it is too large
Load Diff
3629
resources/i18n/sv.ts
3629
resources/i18n/sv.ts
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user