diff --git a/orangecontrib/text/widgets/owimportdocuments.py b/orangecontrib/text/widgets/owimportdocuments.py index e70dc81d0..863878590 100644 --- a/orangecontrib/text/widgets/owimportdocuments.py +++ b/orangecontrib/text/widgets/owimportdocuments.py @@ -413,7 +413,8 @@ def __updateInfo(self): if ncategories < 2: text = f'{nvalid} {pl(nvalid, "document")}' else: - text = f'{nvalid} {pl(nvalid, "document")} / {ncategories} {pl(ncategories, "category")}' + text = (f'{nvalid} {pl(nvalid, "document")} / {ncategories} ' + f'{pl(ncategories, "category|categories")}') if n_skipped > 0: text = text + f', {n_skipped} skipped' elif self.__state == State.Cancelled: