mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
99b015e0d4
commit
69c6a5104b
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user