From 91a157cb2b9161d89706c77d130b9de97a9ad6eb Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Mon, 14 May 2012 08:55:23 -0400 Subject: [PATCH] Fixed build bug where the qtlib po file wouldn't be copied to the build locale folder. --- build.py | 6 +++--- help/changelog_se | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.py b/build.py index b6e7c5fd..4b342747 100644 --- a/build.py +++ b/build.py @@ -117,9 +117,6 @@ def build_localizations(ui, edition): loc.compile_all_po('locale') loc.compile_all_po(op.join('hscommon', 'locale')) loc.merge_locale_dir(op.join('hscommon', 'locale'), 'locale') - if op.exists(op.join('build', 'locale')): - shutil.rmtree(op.join('build', 'locale')) - shutil.copytree('locale', op.join('build', 'locale'), ignore=shutil.ignore_patterns('*.po', '*.pot')) if ui == 'cocoa': print("Creating lproj folders based on .po files") for lang in loc.get_langs('locale'): @@ -140,6 +137,9 @@ def build_localizations(ui, edition): elif ui == 'qt': loc.compile_all_po(op.join('qtlib', 'locale')) loc.merge_locale_dir(op.join('qtlib', 'locale'), 'locale') + if op.exists(op.join('build', 'locale')): + shutil.rmtree(op.join('build', 'locale')) + shutil.copytree('locale', op.join('build', 'locale'), ignore=shutil.ignore_patterns('*.po', '*.pot')) def build_updatepot(): print("Building .pot files from source files") diff --git a/help/changelog_se b/help/changelog_se index 4687d4f9..ad69fe61 100644 --- a/help/changelog_se +++ b/help/changelog_se @@ -1,7 +1,7 @@ === 3.4.1 (2012-04-14) * Fixed the "Folders" scan type. [Mac] -* Nothing changed under Linux and Windows other than the version. +* Fixed localization issues. [Windows, Linux] === 3.4.0 (2012-03-29)