Skip to content
Permalink
Browse files

backport adjust pluralization

  • Loading branch information
tomkralidis committed Nov 24, 2014
1 parent 2ec4c2a commit af3418ac7934d4eda147e4463a8527e8dc0157cc
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 af3418a

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