mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #801266 (howto suggest original translation changes)
This commit is contained in:
parent
1b0f9aacc2
commit
d9a6a0295c
@ -875,7 +875,7 @@ class ActionCopyToLibrary(InterfaceActionBase):
|
|||||||
class ActionTweakEpub(InterfaceActionBase):
|
class ActionTweakEpub(InterfaceActionBase):
|
||||||
name = 'Tweak ePub'
|
name = 'Tweak ePub'
|
||||||
actual_plugin = 'calibre.gui2.actions.tweak_epub:TweakEpubAction'
|
actual_plugin = 'calibre.gui2.actions.tweak_epub:TweakEpubAction'
|
||||||
description = _('Make small twekas to epub files in your calibre library')
|
description = _('Make small tweaks to epub files in your calibre library')
|
||||||
|
|
||||||
class ActionNextMatch(InterfaceActionBase):
|
class ActionNextMatch(InterfaceActionBase):
|
||||||
name = 'Next Match'
|
name = 'Next Match'
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -208,6 +208,8 @@ def gc_histogram():
|
|||||||
def diff_hists(h1, h2):
|
def diff_hists(h1, h2):
|
||||||
"""Prints differences between two results of gc_histogram()."""
|
"""Prints differences between two results of gc_histogram()."""
|
||||||
for k in h1:
|
for k in h1:
|
||||||
|
if k not in h2:
|
||||||
|
h2[k] = 0
|
||||||
if h1[k] != h2[k]:
|
if h1[k] != h2[k]:
|
||||||
print "%s: %d -> %d (%s%d)" % (
|
print "%s: %d -> %d (%s%d)" % (
|
||||||
k, h1[k], h2[k], h2[k] > h1[k] and "+" or "", h2[k] - h1[k])
|
k, h1[k], h2[k], h2[k] > h1[k] and "+" or "", h2[k] - h1[k])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user