mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Reduce the threshold for website translations to be included
This commit is contained in:
parent
134035b18a
commit
31e693cd09
@ -482,7 +482,7 @@ class Translations(POT): # {{{
|
|||||||
self.compile_group(files, handle_stats=handle_stats)
|
self.compile_group(files, handle_stats=handle_stats)
|
||||||
|
|
||||||
for locale, translated in stats.iteritems():
|
for locale, translated in stats.iteritems():
|
||||||
if translated > 30:
|
if translated >= 20:
|
||||||
with open(os.path.join(tdir, locale + '.mo'), 'rb') as f:
|
with open(os.path.join(tdir, locale + '.mo'), 'rb') as f:
|
||||||
raw = f.read()
|
raw = f.read()
|
||||||
zi = ZipInfo(os.path.basename(f.name))
|
zi = ZipInfo(os.path.basename(f.name))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user