Skip to content

Commit

Permalink
backport adjust pluralization
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Nov 24, 2014
1 parent 9a8dcec commit a2b74ce
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/plugins/MetaSearch/dialogs/maindialog.py
Expand Up @@ -473,10 +473,9 @@ def display_results(self):

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

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

self.lblResults.setText(msg)

Expand Down

0 comments on commit a2b74ce

Please sign in to comment.