--- a/Project/Project.py Mon Aug 15 16:39:01 2016 +0200 +++ b/Project/Project.py Mon Aug 15 17:24:13 2016 +0200 @@ -1247,6 +1247,18 @@ else: return "" + def setTranslationPattern(self, pattern): + """ + Public method to set the translation pattern. + + @param pattern translation pattern + @type str + """ + if pattern: + self.pdata["TRANSLATIONPATTERN"] = [pattern] + else: + self.pdata["TRANSLATIONPATTERN"] = [] + def addLanguage(self): """ Public slot used to add a language to the project.