Fixed cocoa building process which didn't put the "locale" folder in the Resource folder anymore, causing core and hscommon locs not to be shown.

This commit is contained in:
Virgil Dupras 2012-08-02 15:30:20 -04:00
parent d90764a9ea
commit b42b0be512
1 changed files with 2 additions and 1 deletions

View File

@ -184,9 +184,10 @@ def build_localizations(ui, edition):
build_base_localizations()
if ui == 'cocoa':
build_cocoa_localizations(edition)
locale_dest = op.join(cocoa_app(edition).resources, 'locale')
elif ui == 'qt':
build_qt_localizations()
locale_dest = op.join('build', 'locale')
locale_dest = op.join('build', 'locale')
if op.exists(locale_dest):
shutil.rmtree(locale_dest)
shutil.copytree('locale', locale_dest, ignore=shutil.ignore_patterns('*.po', '*.pot'))