This commit is contained in:
Kovid Goyal 2011-07-14 11:26:10 -06:00
parent 99b015e0d4
commit 69c6a5104b

View File

@ -631,6 +631,11 @@ class ResizableDialog(QDialog):
self.resize(nw, nh)
class Translator(QTranslator):
'''
Translator to load translations for strings in Qt from the calibre
translations. Does not support advanced features of Qt like disambiguation
and plural forms.
'''
def translate(self, *args, **kwargs):
try: