mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Tweak some dialog titles
This commit is contained in:
parent
f699e35ce9
commit
dd378a58c2
@ -287,8 +287,8 @@ class ModelerDialog(BASE, WIDGET):
|
|||||||
|
|
||||||
if self.hasChanged:
|
if self.hasChanged:
|
||||||
ret = QMessageBox.question(
|
ret = QMessageBox.question(
|
||||||
self, self.tr('Save?'),
|
self, self.tr('Save Model?'),
|
||||||
self.tr('There are unsaved changes in this model, do you want to keep those?'),
|
self.tr('There are unsaved changes in this model. Do you want to keep those?'),
|
||||||
QMessageBox.Save | QMessageBox.Cancel | QMessageBox.Discard, QMessageBox.Cancel)
|
QMessageBox.Save | QMessageBox.Cancel | QMessageBox.Discard, QMessageBox.Cancel)
|
||||||
|
|
||||||
if ret == QMessageBox.Save:
|
if ret == QMessageBox.Save:
|
||||||
|
@ -114,7 +114,7 @@ class ModelerParameterDefinitionDialog(QDialog):
|
|||||||
super(ModelerParameterDefinitionDialog, self).closeEvent(event)
|
super(ModelerParameterDefinitionDialog, self).closeEvent(event)
|
||||||
|
|
||||||
def setupUi(self):
|
def setupUi(self):
|
||||||
self.setWindowTitle(self.tr('Parameter definition'))
|
self.setWindowTitle(self.tr('Parameter Definition'))
|
||||||
self.setMinimumWidth(300)
|
self.setMinimumWidth(300)
|
||||||
|
|
||||||
self.verticalLayout = QVBoxLayout(self)
|
self.verticalLayout = QVBoxLayout(self)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Help editor</string>
|
<string>Help Editor</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
<property name="spacing">
|
<property name="spacing">
|
||||||
|
@ -10292,7 +10292,7 @@ bool QgisApp::saveDirty()
|
|||||||
// old code: mProjectIsDirtyFlag = true;
|
// old code: mProjectIsDirtyFlag = true;
|
||||||
|
|
||||||
// prompt user to save
|
// prompt user to save
|
||||||
answer = QMessageBox::information( this, tr( "Save?" ),
|
answer = QMessageBox::information( this, tr( "Save Project?" ),
|
||||||
tr( "Do you want to save the current project? %1" )
|
tr( "Do you want to save the current project? %1" )
|
||||||
.arg( whyDirty ),
|
.arg( whyDirty ),
|
||||||
QMessageBox::Save | QMessageBox::Cancel | QMessageBox::Discard,
|
QMessageBox::Save | QMessageBox::Cancel | QMessageBox::Discard,
|
||||||
@ -10329,7 +10329,7 @@ bool QgisApp::checkTasksDependOnProject()
|
|||||||
|
|
||||||
if ( !activeTaskDescriptions.isEmpty() )
|
if ( !activeTaskDescriptions.isEmpty() )
|
||||||
{
|
{
|
||||||
QMessageBox::warning( this, tr( "Active tasks" ),
|
QMessageBox::warning( this, tr( "Active Tasks" ),
|
||||||
tr( "The following tasks are currently running which depend on layers in this project:\n\n%1\n\nPlease cancel these tasks and retry." ).arg( activeTaskDescriptions.toList().join( QStringLiteral( "\n" ) ) ) );
|
tr( "The following tasks are currently running which depend on layers in this project:\n\n%1\n\nPlease cancel these tasks and retry." ).arg( activeTaskDescriptions.toList().join( QStringLiteral( "\n" ) ) ) );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user