File python-pyside-fedora_lrelease.diff of Package python-pyside
Index: tests/QtCore/translation_test.py
===================================================================
--- tests/QtCore/translation_test.py.orig 2010-06-08 18:42:57.000000000 +0100
+++ tests/QtCore/translation_test.py 2010-06-13 04:34:06.568006144 +0100
@@ -16,7 +16,7 @@ class TranslationTest(UsesQCoreApplicati
super(TranslationTest, self).setUp()
self.trdir = os.path.join(os.path.dirname(__file__), 'translations')
# os.system is probably not the best way to do it
- os.system('lrelease %s/*.ts > /dev/null' % self.trdir)
+ os.system('lrelease-qt4 %s/*.ts > /dev/null' % self.trdir)
def tearDown(self):
os.system('rm %s/*.qm > /dev/null' % self.trdir)