mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Generate locales.zip parent dir if needed
This commit is contained in:
parent
38d463220c
commit
e307caafe8
@ -530,6 +530,8 @@ class Translations(POT): # {{{
|
||||
from calibre.utils.localization import get_iso639_translator, get_language, get_iso_language
|
||||
self.info('Compiling', name, 'translations...')
|
||||
srcbase = self.j(self.d(self.SRC), 'translations', name)
|
||||
if not os.path.exists(srcbase):
|
||||
os.makedirs(srcbase)
|
||||
fmap = {}
|
||||
files = []
|
||||
stats = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user