diff -r c34cabcfdb72 -r 47935c6e4744 Project/Project.py --- a/Project/Project.py Mon Aug 15 16:36:17 2016 +0200 +++ b/Project/Project.py Mon Aug 15 17:22:13 2016 +0200 @@ -1252,6 +1252,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.