371 |
371 |
372 def setTranslation(self, name): |
372 def setTranslation(self, name): |
373 """ |
373 """ |
374 Public slot to activate a translation. |
374 Public slot to activate a translation. |
375 |
375 |
376 @param name name (language) of the translation (string or QString) |
376 @param name name (language) of the translation (string) |
377 """ |
377 """ |
378 self.translations.set(name) |
378 self.translations.set(name) |
379 |
379 |
380 def __showWindowMenu(self): |
380 def __showWindowMenu(self): |
381 """ |
381 """ |
583 |
583 |
584 def __del(self, name): |
584 def __del(self, name): |
585 """ |
585 """ |
586 Private method to delete a translator from the list of available translators. |
586 Private method to delete a translator from the list of available translators. |
587 |
587 |
588 @param name name of the translator to delete (string or QString) |
588 @param name name of the translator to delete (string) |
589 """ |
589 """ |
590 if name == noTranslationName: |
590 if name == noTranslationName: |
591 return |
591 return |
592 |
592 |
593 trans = self.__findName(name) |
593 trans = self.__findName(name) |