Skip to content

Commit

Permalink
adjust pluralization (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Nov 24, 2014
1 parent 748007a commit 83b88f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugin/MetaSearch/dialogs/maindialog.py
Expand Up @@ -477,10 +477,8 @@ 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 83b88f6

Please sign in to comment.