1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-14 03:29:02 +00:00

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

View File

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