translations: Fix external translations logic
authorLuís Pereira <luis.artur.pereira@gmail.com>
Wed, 27 Apr 2016 15:50:16 +0000 (16:50 +0100)
committerPalo Kisa <palo.kisa@gmail.com>
Thu, 28 Apr 2016 17:31:37 +0000 (19:31 +0200)
commit017bf3eb7fcc65e225513f16bc6bb4306213a128
treedb314ad649423c4b44e1b164c879fec6debe288f
parentb32d0db421471ce5c1feef39dbac18e7179dc4c3
translations: Fix external translations logic

- Don't try to remove non existing files (If the file doesn't exists
ex_result will contain an error message and fail.)

- Make sure git init doesn't fail (If ${TR_TRANSLATION_DIR} doesn't
exist, git init will fail.)
cmake/modules/LXQtTranslateTs.cmake