mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-22 06:33:05 +02:00
Raise User Manual translations completion threshold
This commit is contained in:
parent
e155b2ac63
commit
bf5c3f9be1
1 changed files with 2 additions and 2 deletions
|
|
@ -332,8 +332,8 @@ def compile_user_manual_translations(self):
|
|||
with open(self.j(self.d(dest), 'stats.json'), 'wb') as f:
|
||||
json.dump(stats, f)
|
||||
total = translated + untranslated
|
||||
# Raise the 20% threshold in the future
|
||||
if total and (translated / float(total)) > 0.2:
|
||||
# Raise the 30% threshold in the future
|
||||
if total and (translated / float(total)) > 0.3:
|
||||
complete[x] = stats
|
||||
with open(self.j(destbase, 'completed.json'), 'wb') as f:
|
||||
json.dump(complete, f, indent=True, sort_keys=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue