mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
152e823c41
commit
edd44a559a
@ -511,7 +511,7 @@ class Translations(POT): # {{{
|
|||||||
try:
|
try:
|
||||||
t = getattr(get_iso639_translator(l), 'gettext' if ispy3 else 'ugettext')
|
t = getattr(get_iso639_translator(l), 'gettext' if ispy3 else 'ugettext')
|
||||||
t = partial(get_iso_language, t)
|
t = partial(get_iso_language, t)
|
||||||
except IndexError:
|
except Exception:
|
||||||
if is_ci and isosx:
|
if is_ci and isosx:
|
||||||
t = get_language
|
t = get_language
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user