mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix pgettext() not being recognized when extracting translatable strings. Fixes #1970038 [The "Miscellaneous" string is not translatable in some cases](https://bugs.launchpad.net/calibre/+bug/1970038)
This commit is contained in:
parent
c9a7b68532
commit
50a2be5ce7
@ -230,7 +230,7 @@ class POT(Command): # {{{
|
||||
subprocess.check_call(['xgettext', '-f', fl.name,
|
||||
'--default-domain=calibre', '-o', out.name, '-L', 'Python',
|
||||
'--from-code=UTF-8', '--sort-by-file', '--omit-header',
|
||||
'--no-wrap', '-k__', '--add-comments=NOTE:',
|
||||
'--no-wrap', '-k__', '-kpgettext:1c,2', '--add-comments=NOTE:',
|
||||
])
|
||||
subprocess.check_call(['xgettext', '-j',
|
||||
'--default-domain=calibre', '-o', out.name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user