Fix last fix.
This commit is contained in:
parent
318439ab27
commit
ad23ceac8d
@ -145,8 +145,9 @@ def _get_file_list(manifest):
|
|||||||
|
|
||||||
def _include_mo_in_bundle(bundle_zip):
|
def _include_mo_in_bundle(bundle_zip):
|
||||||
for langdir in os.listdir('locale'):
|
for langdir in os.listdir('locale'):
|
||||||
if os.path.isdir(os.path.join('locale', langdir)):
|
if os.path.isdir(os.path.join('locale', langdir, 'LC_MESSAGES')):
|
||||||
for filename in os.listdir(os.path.join('locale', langdir, 'LC_MESSAGES')):
|
for filename in os.listdir(os.path.join('locale', langdir,
|
||||||
|
'LC_MESSAGES')):
|
||||||
if filename.endswith('.mo'):
|
if filename.endswith('.mo'):
|
||||||
arcname = os.path.join(_get_bundle_name() + '.activity',
|
arcname = os.path.join(_get_bundle_name() + '.activity',
|
||||||
'locale', langdir, 'LC_MESSAGES',
|
'locale', langdir, 'LC_MESSAGES',
|
||||||
|
Loading…
Reference in New Issue
Block a user