Project/ProjectTranslationsBrowser.py

changeset 3026
ca34cf6c413f
parent 3020
542e97d4ecb3
child 3029
4055a15ce0f2
equal deleted inserted replaced
3025:67064c71df21 3026:ca34cf6c413f
1101 E5MessageBox.information( 1101 E5MessageBox.information(
1102 self, 1102 self,
1103 self.trUtf8("Translation file release"), 1103 self.trUtf8("Translation file release"),
1104 self.trUtf8("The release of the translation files (*.qm)" 1104 self.trUtf8("The release of the translation files (*.qm)"
1105 " was successful.")) 1105 " was successful."))
1106 if self.project.pdata["TRANSLATIONSBINPATH"]: 1106 if self.project.pdata["TRANSLATIONSBINPATH"] and \
1107 self.project.pdata["TRANSLATIONSBINPATH"][0]:
1107 target = os.path.join( 1108 target = os.path.join(
1108 self.project.ppath, 1109 self.project.ppath,
1109 self.project.pdata["TRANSLATIONSBINPATH"][0]) 1110 self.project.pdata["TRANSLATIONSBINPATH"][0])
1110 for langFile in self.project.pdata["TRANSLATIONS"][:]: 1111 for langFile in self.project.pdata["TRANSLATIONS"][:]:
1111 if langFile.endswith('.ts'): 1112 if langFile.endswith('.ts'):

eric ide

mercurial