mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1003429 (German Translation Bug)
This commit is contained in:
parent
90b88d993d
commit
4833df56c8
@ -42,7 +42,9 @@ class Tweak(object): # {{{
|
||||
def __init__(self, name, doc, var_names, defaults, custom):
|
||||
translate = _
|
||||
self.name = translate(name)
|
||||
self.doc = translate(doc.strip())
|
||||
self.doc = doc.strip()
|
||||
if self.doc:
|
||||
self.doc = translate(self.doc)
|
||||
self.var_names = var_names
|
||||
self.default_values = {}
|
||||
for x in var_names:
|
||||
|
Loading…
x
Reference in New Issue
Block a user