Fixed an issue related to adding a new translation language. eric7

Thu, 29 Aug 2024 14:00:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 29 Aug 2024 14:00:41 +0200
branch
eric7
changeset 10888
84ab02a07803
parent 10887
305885e65bd1
child 10889
a80e7859ba3e

Fixed an issue related to adding a new translation language.

src/eric7/Project/Project.py file | annotate | diff | comparison | revisions
--- a/src/eric7/Project/Project.py	Fri Aug 23 17:23:34 2024 +0200
+++ b/src/eric7/Project/Project.py	Thu Aug 29 14:00:41 2024 +0200
@@ -1179,7 +1179,8 @@
             # check, if the files of the project still exist in the
             # project directory
             for fileCategory in self.getFileCategories():
-                self.__checkFilesExist(fileCategory)
+                if fileCategory != "TRANSLATIONS":
+                    self.__checkFilesExist(fileCategory)
 
             # get the names of subdirectories the files are stored in
             for fileCategory in [c for c in self.getFileCategories() if c != "OTHERS"]:

eric ide

mercurial