Skip to content
Permalink
Browse files

backport adjust pluralization

  • Loading branch information
tomkralidis committed Nov 24, 2014
1 parent 9a8dcec commit a2b74ce700e8734c42ac4350c5153cee0e7267c1
Showing with 3 additions and 4 deletions.
  1. +3 −4 python/plugins/MetaSearch/dialogs/maindialog.py
@@ -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)

0 comments on commit a2b74ce

Please sign in to comment.
You can’t perform that action at this time.