We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 2ec4c2a commit af3418aCopy full SHA for af3418a
python/plugins/MetaSearch/dialogs/maindialog.py
@@ -473,10 +473,9 @@ def display_results(self):
473
474
position = self.catalog.results['returned'] + self.startfrom
475
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:])
+ msg = self.tr('Showing %d - %d of %n result(s)', 'number of results',
+ self.catalog.results['matches']) % (self.startfrom + 1,
+ position)
480
481
self.lblResults.setText(msg)
482
0 commit comments