Skip to content

Commit

Permalink
Add plural form in QgsMessageBar
Browse files Browse the repository at this point in the history
  • Loading branch information
artfwo authored and m-kuhn committed Aug 3, 2013
1 parent 0f418c2 commit 7ff9028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmessagebar.cpp
Expand Up @@ -370,5 +370,5 @@ void QgsMessageBar::resetCountdown()

void QgsMessageBar::updateItemCount()
{
mItemCount->setText( mList.count() > 0 ? QString::number( mList.count() ) + QString( " " ) + tr( "more" ) : QString( "" ) );
mItemCount->setText( mList.count() > 0 ? tr( "%n more", "unread messages", mList.count() ) : QString( "" ) );
}

0 comments on commit 7ff9028

Please sign in to comment.