Skip to content

Commit c3fc41e

Browse files
committedJan 22, 2019
fix translation string
1 parent 8c24fa8 commit c3fc41e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎src/gui/qgsattributeform.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,7 @@ void QgsAttributeForm::pushSelectedFeaturesMessage()
478478
if ( count > 0 )
479479
{
480480
mMessageBar->pushMessage( QString(),
481-
tr( "%1 matching %2 selected" ).arg( count )
482-
.arg( count == 1 ? tr( "feature" ) : tr( "features" ) ),
481+
tr( "%n matching feature(s) selected", "matching features", count ),
483482
Qgis::Info,
484483
messageTimeout() );
485484
}

‎src/gui/qgsexpressionselectiondialog.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ void QgsExpressionSelectionDialog::pushSelectedFeaturesMessage()
142142
if ( count > 0 )
143143
{
144144
mMessageBar->pushMessage( QString(),
145-
tr( "%1 matching %2 selected" ).arg( count )
146-
.arg( count == 1 ? tr( "feature" ) : tr( "features" ) ),
145+
tr( "%n matching feature(s) selected", "matching features", count ),
147146
Qgis::Info, timeout );
148147
}
149148
else

0 commit comments

Comments
 (0)
Please sign in to comment.