Skip to content

Commit 18d100a

Browse files
committed
Bugfixing typos, thanx to Carlos Davila for pointing them out
1 parent 0789760 commit 18d100a

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/app/composer/qgscomposer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ void QgsComposer::on_mActionExportAsImage_triggered()
976976
if (image.isNull())
977977
{
978978
QMessageBox::warning( 0, tr( "Memory Allocation Error" ),
979-
tr( "Trying to create image #%1 ( %2x%3 @ %4dpi )"
979+
tr( "Trying to create image #%1( %2x%3 @ %4dpi ) "
980980
"may result in a memory overflow.\n"
981981
"Please try a lower resolution or a smaller papersize" )
982982
.arg( i+1 ).arg( width ).arg( height ).arg ( dpi ),

src/app/qgisapp.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6160,7 +6160,7 @@ void QgisApp::duplicateLayers( QList<QgsMapLayer *> lyrList )
61606160
{
61616161
msgBars.append( QgsMessageBar::createMessage(
61626162
tr( "Duplicate layer: " ),
6163-
tr( "%1 (%2type unsupported)" )
6163+
tr( "%1 (%2 type unsupported)" )
61646164
.arg( selectedLyr->name() )
61656165
.arg( !unSppType.isEmpty() ? QString( "'" ) + unSppType + "' " : "" ),
61666166
QgsApplication::getThemeIcon( "/mIconWarn.png" ),
@@ -6932,7 +6932,7 @@ bool QgisApp::saveDirty()
69326932

69336933
// prompt user to save
69346934
answer = QMessageBox::information( this, tr( "Save?" ),
6935-
tr( "Do you want to save the current project?%1" )
6935+
tr( "Do you want to save the current project? %1" )
69366936
.arg( whyDirty ),
69376937
QMessageBox::Save | QMessageBox::Cancel | QMessageBox::Discard,
69386938
hasUnsavedEdits ? QMessageBox::Cancel : QMessageBox::Save );

src/core/qgsfeature.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ bool QgsFeature::setAttribute( int idx, const QVariant &value )
192192
{
193193
if ( idx < 0 || idx >= mAttributes.size() )
194194
{
195-
QgsMessageLog::logMessage( QObject::tr( "Attribute index %1 out of bounds [0;%2[" ).arg( idx ).arg( mAttributes.size() ), QString::null, QgsMessageLog::WARNING );
195+
QgsMessageLog::logMessage( QObject::tr( "Attribute index %1 out of bounds [0;%2]" ).arg( idx ).arg( mAttributes.size() ), QString::null, QgsMessageLog::WARNING );
196196
return false;
197197
}
198198

src/gui/qgscollapsiblegroupbox.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void QgsCollapsibleGroupBoxBasic::setSyncGroup( QString grp )
191191
QString tipTxt = QString( "" );
192192
if ( !grp.isEmpty() )
193193
{
194-
tipTxt = tr( "Ctrl(or Alt)-click to toggle all" ) + "\n" + tr( "Shift-click to expand, then collapse others" );
194+
tipTxt = tr( "Ctrl (or Alt)-click to toggle all" ) + "\n" + tr( "Shift-click to expand, then collapse others" );
195195
}
196196
mCollapseButton->setToolTip( tipTxt );
197197
}

src/providers/oracle/qgsoracleprovider.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2896,7 +2896,7 @@ QGISEXTERN bool deleteLayer( const QString& uri, QString& errCause )
28962896
.arg( QgsOracleConn::quotedValue( tableName ) ) )
28972897
|| !qry.next() )
28982898
{
2899-
errCause = QObject::tr( "Unable determine number of geometry columns of layer %1.%2: \n%3" )
2899+
errCause = QObject::tr( "Unable to determine number of geometry columns of layer %1.%2: \n%3" )
29002900
.arg( ownerName )
29012901
.arg( tableName )
29022902
.arg( qry.lastError().text() );

src/ui/qgsattributetabledialog.ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
<item>
444444
<widget class="QToolButton" name="mFilterButton">
445445
<property name="toolTip">
446-
<string>The filter defines, which features are currently shown in the list or on the table</string>
446+
<string>The filter defines which features are currently shown in the list or on the table</string>
447447
</property>
448448
<property name="text">
449449
<string>Filter</string>

0 commit comments

Comments
 (0)