E5XML/ProjectHandler.py

changeset 411
99409cddaaa9
parent 253
3ccdf551bde7
equal deleted inserted replaced
410:e5d1addeb90c 411:99409cddaaa9
582 if self.version >= '4.3': 582 if self.version >= '4.3':
583 path = Utilities.toNativeSeparators(self.buffer) 583 path = Utilities.toNativeSeparators(self.buffer)
584 else: 584 else:
585 path = self.__buildPath() 585 path = self.__buildPath()
586 if not path.endswith("_"): 586 if not path.endswith("_"):
587 path = "%s_" % path 587 path = "{0}_".format(path)
588 self.project.pdata["TRANSLATIONPATTERN"].append("%s%%language%%.ts" % path) 588 self.project.pdata["TRANSLATIONPATTERN"].append("{0}%language%.ts".format(path))
589 589
590 def startEric4DocParams(self, attrs): 590 def startEric4DocParams(self, attrs):
591 """ 591 """
592 Handler method for the "Eric4DocParams" start tag. 592 Handler method for the "Eric4DocParams" start tag.
593 593

eric ide

mercurial