524 msgSuccess=self.tr("\nMessage catalogs compiled successfully.") |
524 msgSuccess=self.tr("\nMessage catalogs compiled successfully.") |
525 ) |
525 ) |
526 res = dlg.startCommand("compile", args, workdir) |
526 res = dlg.startCommand("compile", args, workdir) |
527 if res: |
527 if res: |
528 dlg.exec() |
528 dlg.exec() |
529 |
529 |
530 for entry in os.walk(translationsDirectory): |
530 for entry in os.walk(translationsDirectory): |
531 for fileName in entry[2]: |
531 for fileName in entry[2]: |
532 fullName = os.path.join(entry[0], fileName) |
532 fullName = os.path.join(entry[0], fileName) |
533 if fullName.endswith('.mo'): |
533 if fullName.endswith('.mo'): |
534 self.__e5project.appendFile(fullName) |
534 self.__e5project.appendFile(fullName) |