translate the number of matched lines text

This commit is contained in:
2022-08-25 19:23:46 +02:00
parent 4a082ab8ee
commit f9d10d37ec
4 changed files with 46 additions and 38 deletions

View File

@@ -248,7 +248,7 @@ class FilterWidget(QWidget):
def _update_hits(self, hits: int):
if hits >= 0:
self.hits_field.setText("({0} lines)".format(hits))
self.hits_field.setText(_("({hits} lines)").format(hits=hits))
else:
self.hits_field.setText("")