Skip to content

Commit 66fbe48

Browse files
committed
[composer] Nicer dialog title strings
1 parent dd75937 commit 66fbe48

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/app/composer/qgscomposer.cpp‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,7 @@ void QgsComposer::exportCompositionAsPDF( QgsComposer::OutputMode mode )
16161616

16171617
outputFileName = QFileDialog::getSaveFileName(
16181618
this,
1619-
tr( "Choose a file name to save the map as" ),
1619+
tr( "Save composition as" ),
16201620
outputFileName,
16211621
tr( "PDF Format" ) + " (*.pdf *.PDF)" );
16221622
if ( outputFileName.isEmpty() )
@@ -1650,7 +1650,7 @@ void QgsComposer::exportCompositionAsPDF( QgsComposer::OutputMode mode )
16501650
QSettings myQSettings;
16511651
QString lastUsedDir = myQSettings.value( "/UI/lastSaveAtlasAsPdfDir", "." ).toString();
16521652
outputDir = QFileDialog::getExistingDirectory( this,
1653-
tr( "Directory where to save PDF files" ),
1653+
tr( "Export atlas to directory" ),
16541654
lastUsedDir,
16551655
QFileDialog::ShowDirsOnly );
16561656
if ( outputDir.isEmpty() )
@@ -1990,7 +1990,7 @@ void QgsComposer::exportCompositionAsImage( QgsComposer::OutputMode mode )
19901990
outputFileName = QDir( lastUsedDir ).filePath( atlasMap->currentFilename() );
19911991
}
19921992

1993-
QPair<QString, QString> fileNExt = QgisGui::getSaveAsImageName( this, tr( "Choose a file name to save the map image as" ), outputFileName );
1993+
QPair<QString, QString> fileNExt = QgisGui::getSaveAsImageName( this, tr( "Save composition as" ), outputFileName );
19941994

19951995
if ( fileNExt.first.isEmpty() )
19961996
{
@@ -2129,7 +2129,7 @@ void QgsComposer::exportCompositionAsImage( QgsComposer::OutputMode mode )
21292129
QString lastUsedDir = myQSettings.value( "/UI/lastSaveAtlasAsImagesDir", "." ).toString();
21302130
QString lastUsedFormat = myQSettings.value( "/UI/lastSaveAtlasAsImagesFormat", "jpg" ).toString();
21312131

2132-
QFileDialog dlg( this, tr( "Directory where to save image files" ) );
2132+
QFileDialog dlg( this, tr( "Export atlas to directory" ) );
21332133
dlg.setFileMode( QFileDialog::Directory );
21342134
dlg.setOption( QFileDialog::ShowDirsOnly, true );
21352135
dlg.setDirectory( lastUsedDir );
@@ -2444,7 +2444,7 @@ void QgsComposer::exportCompositionAsSVG( QgsComposer::OutputMode mode )
24442444
// open file dialog
24452445
outputFileName = QFileDialog::getSaveFileName(
24462446
this,
2447-
tr( "Choose a file name to save the composition as" ),
2447+
tr( "Save composition as" ),
24482448
outputFileName,
24492449
tr( "SVG Format" ) + " (*.svg *.SVG)" );
24502450

@@ -2479,7 +2479,7 @@ void QgsComposer::exportCompositionAsSVG( QgsComposer::OutputMode mode )
24792479

24802480
// open file dialog
24812481
outputDir = QFileDialog::getExistingDirectory( this,
2482-
tr( "Directory where to save SVG files" ),
2482+
tr( "Export atlas to directory" ),
24832483
lastUsedDir,
24842484
QFileDialog::ShowDirsOnly );
24852485

0 commit comments

Comments
 (0)