Skip to content

Commit af3418a

Browse files
committedNov 24, 2014
backport adjust pluralization
backport geopython/MetaSearch@83b88f6
1 parent 2ec4c2a commit af3418a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎python/plugins/MetaSearch/dialogs/maindialog.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,9 @@ def display_results(self):
473473

474474
position = self.catalog.results['returned'] + self.startfrom
475475

476-
msg = self.tr('Showing %d - %d of %d result%s') % (
477-
self.startfrom + 1, position,
478-
self.catalog.results['matches'],
479-
's'[self.catalog.results['matches'] == 1:])
476+
msg = self.tr('Showing %d - %d of %n result(s)', 'number of results',
477+
self.catalog.results['matches']) % (self.startfrom + 1,
478+
position)
480479

481480
self.lblResults.setText(msg)
482481

0 commit comments

Comments
 (0)
Please sign in to comment.