Skip to content

Commit

Permalink
Bugfixing typos, thanx to Carlos Davila for pointing them out
Browse files Browse the repository at this point in the history
  • Loading branch information
mach0 committed Jul 3, 2013
1 parent 0789760 commit 18d100a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/composer/qgscomposer.cpp
Expand Up @@ -976,7 +976,7 @@ void QgsComposer::on_mActionExportAsImage_triggered()
if (image.isNull())
{
QMessageBox::warning( 0, tr( "Memory Allocation Error" ),
tr( "Trying to create image #%1 ( %2x%3 @ %4dpi )"
tr( "Trying to create image #%1( %2x%3 @ %4dpi ) "
"may result in a memory overflow.\n"
"Please try a lower resolution or a smaller papersize" )
.arg( i+1 ).arg( width ).arg( height ).arg ( dpi ),
Expand Down
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -6160,7 +6160,7 @@ void QgisApp::duplicateLayers( QList<QgsMapLayer *> lyrList )
{
msgBars.append( QgsMessageBar::createMessage(
tr( "Duplicate layer: " ),
tr( "%1 (%2type unsupported)" )
tr( "%1 (%2 type unsupported)" )
.arg( selectedLyr->name() )
.arg( !unSppType.isEmpty() ? QString( "'" ) + unSppType + "' " : "" ),
QgsApplication::getThemeIcon( "/mIconWarn.png" ),
Expand Down Expand Up @@ -6932,7 +6932,7 @@ bool QgisApp::saveDirty()

// prompt user to save
answer = QMessageBox::information( this, tr( "Save?" ),
tr( "Do you want to save the current project?%1" )
tr( "Do you want to save the current project? %1" )
.arg( whyDirty ),
QMessageBox::Save | QMessageBox::Cancel | QMessageBox::Discard,
hasUnsavedEdits ? QMessageBox::Cancel : QMessageBox::Save );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsfeature.cpp
Expand Up @@ -192,7 +192,7 @@ bool QgsFeature::setAttribute( int idx, const QVariant &value )
{
if ( idx < 0 || idx >= mAttributes.size() )
{
QgsMessageLog::logMessage( QObject::tr( "Attribute index %1 out of bounds [0;%2[" ).arg( idx ).arg( mAttributes.size() ), QString::null, QgsMessageLog::WARNING );
QgsMessageLog::logMessage( QObject::tr( "Attribute index %1 out of bounds [0;%2]" ).arg( idx ).arg( mAttributes.size() ), QString::null, QgsMessageLog::WARNING );
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgscollapsiblegroupbox.cpp
Expand Up @@ -191,7 +191,7 @@ void QgsCollapsibleGroupBoxBasic::setSyncGroup( QString grp )
QString tipTxt = QString( "" );
if ( !grp.isEmpty() )
{
tipTxt = tr( "Ctrl(or Alt)-click to toggle all" ) + "\n" + tr( "Shift-click to expand, then collapse others" );
tipTxt = tr( "Ctrl (or Alt)-click to toggle all" ) + "\n" + tr( "Shift-click to expand, then collapse others" );
}
mCollapseButton->setToolTip( tipTxt );
}
Expand Down
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -2896,7 +2896,7 @@ QGISEXTERN bool deleteLayer( const QString& uri, QString& errCause )
.arg( QgsOracleConn::quotedValue( tableName ) ) )
|| !qry.next() )
{
errCause = QObject::tr( "Unable determine number of geometry columns of layer %1.%2: \n%3" )
errCause = QObject::tr( "Unable to determine number of geometry columns of layer %1.%2: \n%3" )
.arg( ownerName )
.arg( tableName )
.arg( qry.lastError().text() );
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsattributetabledialog.ui
Expand Up @@ -443,7 +443,7 @@
<item>
<widget class="QToolButton" name="mFilterButton">
<property name="toolTip">
<string>The filter defines, which features are currently shown in the list or on the table</string>
<string>The filter defines which features are currently shown in the list or on the table</string>
</property>
<property name="text">
<string>Filter</string>
Expand Down

0 comments on commit 18d100a

Please sign in to comment.