mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix Russian string incorrectly marked for translation
This commit is contained in:
parent
038747719f
commit
ae1f4dc3bd
@ -82,14 +82,14 @@ class Ozon(Source):
|
|||||||
qItems = set([ozonid, isbn])
|
qItems = set([ozonid, isbn])
|
||||||
|
|
||||||
# Added Russian variant of 'Unknown'
|
# Added Russian variant of 'Unknown'
|
||||||
unk = [unicode(_('Unknown')).upper(), unicode(_('Неизв.')).upper()]
|
unk = [_('Unknown').upper(), 'Неизв.'.upper(), icu_upper('Неизв.')]
|
||||||
|
|
||||||
if title and title not in unk:
|
if title and title not in unk:
|
||||||
qItems.add(title)
|
qItems.add(title)
|
||||||
|
|
||||||
if authors:
|
if authors:
|
||||||
for auth in authors:
|
for auth in authors:
|
||||||
if auth.upper() not in unk:
|
if icu_upper(auth) not in unk:
|
||||||
qItems.add(auth)
|
qItems.add(auth)
|
||||||
|
|
||||||
qItems.discard(None)
|
qItems.discard(None)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user