mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
reapply translation string changes lost with r10006
git-svn-id: http://svn.osgeo.org/qgis/trunk@10021 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
686eefc64a
commit
6100c66c18
@ -509,10 +509,8 @@ void QgsComposer::on_mActionExportAsImage_activated( void )
|
||||
if ( memuse > 200 ) // cca 4500 x 4500
|
||||
{
|
||||
int answer = QMessageBox::warning( 0, tr( "Big image" ),
|
||||
tr( "To create image " ) + QString::number( width ) + " x "
|
||||
+ QString::number( height )
|
||||
+ tr( " requires circa " )
|
||||
+ QString::number( memuse ) + tr( " MB of memory" ),
|
||||
tr( "To create image %1 x %2 requires circa %3 MB of memory" )
|
||||
.arg( width ).arg( height ).arg( memuse ),
|
||||
QMessageBox::Ok, QMessageBox::Abort );
|
||||
|
||||
raise();
|
||||
@ -539,7 +537,8 @@ void QgsComposer::on_mActionExportAsImage_activated( void )
|
||||
for ( ; myCounterInt < QImageWriter::supportedImageFormats().count(); myCounterInt++ )
|
||||
{
|
||||
QString myFormat = QString( QImageWriter::supportedImageFormats().at( myCounterInt ) );
|
||||
QString myFilter = myFormat + " " + tr( "format" ) + " (*." + myFormat.toLower() + " *." + myFormat.toUpper() + ")";
|
||||
QString myFilter = tr( "%1 format (*.%2 *.%3)" )
|
||||
.arg( myFormat ).arg( myFormat.toLower() ).arg( myFormat.toUpper() );
|
||||
|
||||
if ( myCounterInt > 0 ) myFilters += ";;";
|
||||
myFilters += myFilter;
|
||||
@ -638,18 +637,18 @@ void QgsComposer::on_mActionExportAsSVG_activated( void )
|
||||
m->setCheckBoxVisible( true );
|
||||
m->setCheckBoxQSettingsLabel( myQSettingsLabel );
|
||||
m->setMessageAsHtml( tr( "<p>The SVG export function in Qgis has several "
|
||||
"problems due to bugs and deficiencies in the "
|
||||
"problems due to bugs and deficiencies in the " )
|
||||
#if QT_VERSION < 0x040300
|
||||
"Qt4 svg code. Of note, text does not "
|
||||
+ tr( "Qt4 svg code. Of note, text does not "
|
||||
"appear in the SVG file and there are problems "
|
||||
"with the map bounding box clipping other items "
|
||||
"such as the legend or scale bar.</p>"
|
||||
"such as the legend or scale bar.</p>" )
|
||||
#else
|
||||
"Qt4 svg code. In particular, there are problems "
|
||||
+ tr( "Qt4 svg code. In particular, there are problems "
|
||||
"with layers not being clipped to the map "
|
||||
"bounding box.</p>"
|
||||
"bounding box.</p>" )
|
||||
#endif
|
||||
"If you require a vector-based output file from "
|
||||
+ tr( "If you require a vector-based output file from "
|
||||
"Qgis it is suggested that you try printing "
|
||||
"to PostScript if the SVG output is not "
|
||||
"satisfactory."
|
||||
|
Loading…
x
Reference in New Issue
Block a user