use lrelease only if there are something to translate before creating a pkg
@@ -41,6 +41,7 @@ class PMLTranslator(qilinguist.project.LinguistProject):
def release(self, raises=True, build_config=None):
""" Release """
all_ok = True
+ if self.ts_files:
lrelease = qisys.command.find_program("lrelease", raises=True, build_config=build_config)
for ts_file in self.ts_files:
qm_file = ts_file.replace(".ts", ".qm")
