1176 @param language language of the API (string) |
1176 @param language language of the API (string) |
1177 """ |
1177 """ |
1178 if language == ApisNameProject: |
1178 if language == ApisNameProject: |
1179 language = self.tr("Project") |
1179 language = self.tr("Project") |
1180 self.__showMessage(self.tr("Preparation of '{0}' APIs finished.") |
1180 self.__showMessage(self.tr("Preparation of '{0}' APIs finished.") |
1181 .format(language)) |
1181 .format(language)) |
1182 |
1182 |
1183 def __apiPreparationStarted(self, language): |
1183 def __apiPreparationStarted(self, language): |
1184 """ |
1184 """ |
1185 Private slot handling the preparation started signal of an API object. |
1185 Private slot handling the preparation started signal of an API object. |
1186 |
1186 |
1187 @param language language of the API (string) |
1187 @param language language of the API (string) |
1188 """ |
1188 """ |
1189 if language == ApisNameProject: |
1189 if language == ApisNameProject: |
1190 language = self.tr("Project") |
1190 language = self.tr("Project") |
1191 self.__showMessage(self.tr("Preparation of '{0}' APIs started.") |
1191 self.__showMessage(self.tr("Preparation of '{0}' APIs started.") |
1192 .format(language)) |
1192 .format(language)) |
1193 |
1193 |
1194 def __apiPreparationCancelled(self, language): |
1194 def __apiPreparationCancelled(self, language): |
1195 """ |
1195 """ |
1196 Private slot handling the preparation cancelled signal of an API |
1196 Private slot handling the preparation cancelled signal of an API |
1197 object. |
1197 object. |
1199 @param language language of the API (string) |
1199 @param language language of the API (string) |
1200 """ |
1200 """ |
1201 if language == ApisNameProject: |
1201 if language == ApisNameProject: |
1202 language = self.tr("Project") |
1202 language = self.tr("Project") |
1203 self.__showMessage(self.tr("Preparation of '{0}' APIs cancelled.") |
1203 self.__showMessage(self.tr("Preparation of '{0}' APIs cancelled.") |
1204 .format(language)) |
1204 .format(language)) |
1205 |
1205 |
1206 def __apiPreparationStatus(self, language, status, filename): |
1206 def __apiPreparationStatus(self, language, status, filename): |
1207 """ |
1207 """ |
1208 Private slot handling the preparation status signal of an API object. |
1208 Private slot handling the preparation status signal of an API object. |
1209 |
1209 |