diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-02-04 17:53:19 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-06 20:56:15 +0100 |
commit | 73a5e3e96b43d2ba4e8aa775d5ccad60b5f6e82b (patch) | |
tree | a02c82a403bd0188375c065f411ee55acbe6e9c9 | |
parent | d0f4f0b49ae9405b68e66e1758870ee79a16735b (diff) | |
download | qttranslations-73a5e3e96b43d2ba4e8aa775d5ccad60b5f6e82b.tar.gz |
make sure that new files are treated with lconvert as well
Change-Id: I035f3fc4efabf4812b9f428f4ea26fe28d7a791c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r-- | translations/translations.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/translations/translations.pro b/translations/translations.pro index c7b0512..8cd585e 100644 --- a/translations/translations.pro +++ b/translations/translations.pro @@ -67,6 +67,7 @@ check-ts.depends = ts-all isEqual(QMAKE_DIR_SEP, /) { commit-ts.commands = \ cd $$PWD/..; \ + git add -N translations/*_??.ts && \ for f in `git diff-files --name-only translations/*_??.ts`; do \ $$LCONVERT -locations none -i \$\$f -o \$\$f; \ done; \ @@ -75,6 +76,7 @@ isEqual(QMAKE_DIR_SEP, /) { wd = $$replace(PWD, /, \\)\\.. commit-ts.commands = \ cd $$wd && \ + git add -N translations/*_??.ts && \ for /f usebackq %%f in (`git diff-files --name-only translations/*_??.ts`) do \ $$LCONVERT -locations none -i %%f -o %%f $$escape_expand(\\n\\t) \ cd $$wd && git add translations/*_??.ts && git commit |