Add application version to data passed to systems
offlate/manager.py
81 | 81 | try: | |
82 | 82 | proj = self.loadProject(name, lang, system, data) | |
83 | 83 | proj.initialize(projectpath, callback) | |
84 | - | if system == TRANSLATION_PROJECT: | |
85 | - | self.projects.append({"name": name, "lang": lang, "system": system, | |
86 | - | "info": {"version": proj.version}}) | |
87 | - | else: | |
88 | - | self.projects.append({"name": name, "lang": lang, "system": system, | |
89 | - | "info": data}) | |
84 | + | data["version"] = "0.3" | |
85 | + | self.projects.append({"name": name, "lang": lang, "system": system, | |
86 | + | "info": data}) | |
90 | 87 | except UnsupportedFormatException: | |
91 | 88 | rmdir(projectpath) | |
92 | 89 |