forked from openlp/openlp
Changed some labels. Fixed GUI buttons
This commit is contained in:
parent
0548bfb345
commit
de15cf85a3
@ -177,27 +177,27 @@ class AdvancedTab(SettingsTab):
|
|||||||
self.newDataDirectoryHasFilesLabel.setObjectName(
|
self.newDataDirectoryHasFilesLabel.setObjectName(
|
||||||
u'newDataDirectoryHasFilesLabel')
|
u'newDataDirectoryHasFilesLabel')
|
||||||
self.newDataDirectoryHasFilesLabel.setWordWrap(True)
|
self.newDataDirectoryHasFilesLabel.setWordWrap(True)
|
||||||
self.newDataDirectoryLabelHBox = QtGui.QHBoxLayout()
|
self.dataDirectoryBrowseButton = QtGui.QToolButton(
|
||||||
self.newDataDirectoryLabelHBox.setObjectName(
|
|
||||||
u'newDataDirectoryLabelHBox')
|
|
||||||
self.dataDirectoryBrowseButton = QtGui.QPushButton(
|
|
||||||
self.dataDirectoryGroupBox)
|
self.dataDirectoryGroupBox)
|
||||||
self.dataDirectoryBrowseButton.setObjectName(
|
self.dataDirectoryBrowseButton.setObjectName(
|
||||||
u'dataDirectoryBrowseButton')
|
u'dataDirectoryBrowseButton')
|
||||||
self.dataDirectoryBrowseButton.setIcon(
|
self.dataDirectoryBrowseButton.setIcon(
|
||||||
build_icon(u':/general/general_open.png'))
|
build_icon(u':/general/general_open.png'))
|
||||||
self.dataDirectoryDefaultButton = QtGui.QPushButton(
|
self.dataDirectoryDefaultButton = QtGui.QToolButton(
|
||||||
self.dataDirectoryGroupBox)
|
self.dataDirectoryGroupBox)
|
||||||
self.dataDirectoryDefaultButton.setObjectName(
|
self.dataDirectoryDefaultButton.setObjectName(
|
||||||
u'dataDirectoryDefaultButton')
|
u'dataDirectoryDefaultButton')
|
||||||
self.dataDirectoryDefaultButton.setIcon(
|
self.dataDirectoryDefaultButton.setIcon(
|
||||||
build_icon(u':/general/general_revert.png'))
|
build_icon(u':/general/general_revert.png'))
|
||||||
self.dataDirectoryCancelButton = QtGui.QPushButton(
|
self.dataDirectoryCancelButton = QtGui.QToolButton(
|
||||||
self.dataDirectoryGroupBox)
|
self.dataDirectoryGroupBox)
|
||||||
self.dataDirectoryCancelButton.setObjectName(
|
self.dataDirectoryCancelButton.setObjectName(
|
||||||
u'dataDirectoryCancelButton')
|
u'dataDirectoryCancelButton')
|
||||||
self.dataDirectoryCancelButton.setIcon(
|
self.dataDirectoryCancelButton.setIcon(
|
||||||
build_icon(u':/general/general_delete.png'))
|
build_icon(u':/general/general_delete.png'))
|
||||||
|
self.newDataDirectoryLabelHBox = QtGui.QHBoxLayout()
|
||||||
|
self.newDataDirectoryLabelHBox.setObjectName(
|
||||||
|
u'newDataDirectoryLabelHBox')
|
||||||
self.newDataDirectoryLabelHBox.addWidget(self.newDataDirectoryEdit)
|
self.newDataDirectoryLabelHBox.addWidget(self.newDataDirectoryEdit)
|
||||||
self.newDataDirectoryLabelHBox.addWidget(
|
self.newDataDirectoryLabelHBox.addWidget(
|
||||||
self.dataDirectoryBrowseButton)
|
self.dataDirectoryBrowseButton)
|
||||||
@ -212,6 +212,7 @@ class AdvancedTab(SettingsTab):
|
|||||||
u'dataDirectoryCopyCheckBox')
|
u'dataDirectoryCopyCheckBox')
|
||||||
self.dataDirectoryCopyCheckHBox.addWidget(
|
self.dataDirectoryCopyCheckHBox.addWidget(
|
||||||
self.dataDirectoryCopyCheckBox)
|
self.dataDirectoryCopyCheckBox)
|
||||||
|
self.dataDirectoryCopyCheckHBox.addStretch()
|
||||||
self.dataDirectoryCopyCheckHBox.addWidget(
|
self.dataDirectoryCopyCheckHBox.addWidget(
|
||||||
self.dataDirectoryCancelButton)
|
self.dataDirectoryCancelButton)
|
||||||
self.dataDirectoryLayout.addRow(self.dataDirectoryCurrentLabel,
|
self.dataDirectoryLayout.addRow(self.dataDirectoryCurrentLabel,
|
||||||
@ -404,9 +405,9 @@ class AdvancedTab(SettingsTab):
|
|||||||
self.defaultRevertButton.setToolTip(translate('OpenLP.AdvancedTab',
|
self.defaultRevertButton.setToolTip(translate('OpenLP.AdvancedTab',
|
||||||
'Revert to the default OpenLP logo.'))
|
'Revert to the default OpenLP logo.'))
|
||||||
self.dataDirectoryCurrentLabel.setText(translate('OpenLP.AdvancedTab',
|
self.dataDirectoryCurrentLabel.setText(translate('OpenLP.AdvancedTab',
|
||||||
'Current:'))
|
'Current path:'))
|
||||||
self.dataDirectoryNewLabel.setText(translate('OpenLP.AdvancedTab',
|
self.dataDirectoryNewLabel.setText(translate('OpenLP.AdvancedTab',
|
||||||
'New:'))
|
'Custom path:'))
|
||||||
self.dataDirectoryBrowseButton.setToolTip(
|
self.dataDirectoryBrowseButton.setToolTip(
|
||||||
translate('OpenLP.AdvancedTab',
|
translate('OpenLP.AdvancedTab',
|
||||||
'Browse for new data file location.'))
|
'Browse for new data file location.'))
|
||||||
@ -415,7 +416,7 @@ class AdvancedTab(SettingsTab):
|
|||||||
'Set the data location to the default.'))
|
'Set the data location to the default.'))
|
||||||
self.dataDirectoryCancelButton.setText(
|
self.dataDirectoryCancelButton.setText(
|
||||||
translate('OpenLP.AdvancedTab',
|
translate('OpenLP.AdvancedTab',
|
||||||
'Cancel Location Change'))
|
'Cancel'))
|
||||||
self.dataDirectoryCancelButton.setToolTip(
|
self.dataDirectoryCancelButton.setToolTip(
|
||||||
translate('OpenLP.AdvancedTab',
|
translate('OpenLP.AdvancedTab',
|
||||||
'Cancel OpenLP data directory location change.'))
|
'Cancel OpenLP data directory location change.'))
|
||||||
@ -427,7 +428,7 @@ class AdvancedTab(SettingsTab):
|
|||||||
'Copy the OpenLP data files to the new location.'))
|
'Copy the OpenLP data files to the new location.'))
|
||||||
self.newDataDirectoryHasFilesLabel.setText(
|
self.newDataDirectoryHasFilesLabel.setText(
|
||||||
translate('OpenLP.AdvancedTab',
|
translate('OpenLP.AdvancedTab',
|
||||||
'<strong>WARNING:</strong> New data directory location contains'
|
'<strong>WARNING:</strong> New data directory location contains '
|
||||||
'OpenLP data files. These files WILL be replaced during a copy.'))
|
'OpenLP data files. These files WILL be replaced during a copy.'))
|
||||||
self.x11GroupBox.setTitle(translate('OpenLP.AdvancedTab',
|
self.x11GroupBox.setTitle(translate('OpenLP.AdvancedTab',
|
||||||
'X11'))
|
'X11'))
|
||||||
|
Loading…
Reference in New Issue
Block a user