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
|
from calibre.utils.localization import get_iso639_translator, get_language, get_iso_language
|
||||||
self.info('Compiling', name, 'translations...')
|
self.info('Compiling', name, 'translations...')
|
||||||
srcbase = self.j(self.d(self.SRC), 'translations', name)
|
srcbase = self.j(self.d(self.SRC), 'translations', name)
|
||||||
|
if not os.path.exists(srcbase):
|
||||||
|
os.makedirs(srcbase)
|
||||||
fmap = {}
|
fmap = {}
|
||||||
files = []
|
files = []
|
||||||
stats = {}
|
stats = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user