From 9adc2348459284d52343efb471d558a2c67d589c Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Wed, 25 May 2011 07:51:08 +0200 Subject: [PATCH] Removed code which copied qm files since it was no longer necessary. --- scripts/translation_utils.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/translation_utils.py b/scripts/translation_utils.py index 8fa8aa5d5..db1788aba 100755 --- a/scripts/translation_utils.py +++ b/scripts/translation_utils.py @@ -290,16 +290,6 @@ def generate_binaries(): else: os.chdir(os.path.abspath(u'..')) run(u'lrelease openlp.pro') - os.chdir(os.path.abspath(u'scripts')) - src_path = os.path.join(os.path.abspath(u'..'), u'resources', u'i18n') - dest_path = os.path.join(os.path.abspath(u'..'), u'resources', u'i18n') - if not os.path.exists(dest_path): - os.makedirs(dest_path) - src_list = os.listdir(src_path) - for file in src_list: - if re.search('.qm$', file): - copy(os.path.join(src_path, u'%s' % file), - os.path.join(dest_path, u'%s' % file)) print_quiet(u' Done.')