87 self, |
87 self, |
88 "flask_install_pybabel", |
88 "flask_install_pybabel", |
89 ) |
89 ) |
90 self.pybabelInstallAct.setStatusTip( |
90 self.pybabelInstallAct.setStatusTip( |
91 self.tr( |
91 self.tr( |
92 "Installs the flask-babel extension into the configured" " environment" |
92 "Installs the flask-babel extension into the configured environment" |
93 ) |
93 ) |
94 ) |
94 ) |
95 self.pybabelInstallAct.setWhatsThis( |
95 self.pybabelInstallAct.setWhatsThis( |
96 self.tr( |
96 self.tr( |
97 """<b>Install flask-babel</b>""" |
97 """<b>Install flask-babel</b>""" |
444 if not started: |
444 if not started: |
445 EricMessageBox.critical( |
445 EricMessageBox.critical( |
446 None, |
446 None, |
447 self.tr("Process Generation Error"), |
447 self.tr("Process Generation Error"), |
448 self.tr( |
448 self.tr( |
449 "The translations editor process ({0}) could" " not be started." |
449 "The translations editor process ({0}) could not be started." |
450 ).format(os.path.basename(editor)), |
450 ).format(os.path.basename(editor)), |
451 ) |
451 ) |
452 |
452 |
453 def extractMessages(self): |
453 def extractMessages(self): |
454 """ |
454 """ |
615 for fileName in entry[2]: |
615 for fileName in entry[2]: |
616 fullName = os.path.join(entry[0], fileName) |
616 fullName = os.path.join(entry[0], fileName) |
617 if fullName.endswith(".mo"): |
617 if fullName.endswith(".mo"): |
618 self.__ericProject.appendFile(fullName) |
618 self.__ericProject.appendFile(fullName) |
619 |
619 |
620 def updateCatalogs(self, filenames, withObsolete=False): |
620 def updateCatalogs(self, filenames, withObsolete=False): # noqa: U100 |
621 """ |
621 """ |
622 Public method to update the message catalogs. |
622 Public method to update the message catalogs. |
623 |
623 |
624 @param filenames list of filenames (not used) |
624 @param filenames list of filenames (not used) |
625 @type list of str |
625 @type list of str |