--- a/eric6/Project/ProjectTranslationsBrowser.py Sun Apr 11 16:53:48 2021 +0200 +++ b/eric6/Project/ProjectTranslationsBrowser.py Sun Apr 11 18:45:10 2021 +0200 @@ -711,10 +711,12 @@ dname = self.project.getRelativePath(itm.dirName()) trfiles = sorted(self.project.pdata["TRANSLATIONS"][:]) for trfile in trfiles: - if trfile.startswith(dname): - if trfile not in fileNames: - fileNames.append( - os.path.join(self.project.ppath, trfile)) + if ( + trfile.startswith(dname) and + trfile not in fileNames + ): + fileNames.append( + os.path.join(self.project.ppath, trfile)) else: fn = itm.fileName() if fn not in fileNames: