diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-02-04 18:08:18 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-02-05 12:36:30 +0100 |
commit | 90fdd98387293f5e568bca39752e6515e27485fd (patch) | |
tree | 6b2cf0168bc0ebde2abf80dc8e193f5437b7d9ba /share | |
parent | 334be9ff5566edf477dd6f8cf00f2b5211b384b0 (diff) | |
download | qt-creator-90fdd98387293f5e568bca39752e6515e27485fd.tar.gz |
make sure that new files are treated with lconvert as well
Change-Id: I9d0946e665f74571f6fed1c467311f3658cce01e
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/translations/translations.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/translations/translations.pro b/share/qtcreator/translations/translations.pro index d73fe3b4b4..1fef3d013e 100644 --- a/share/qtcreator/translations/translations.pro +++ b/share/qtcreator/translations/translations.pro @@ -70,6 +70,7 @@ QMAKE_EXTRA_TARGETS += check-ts isEqual(QMAKE_DIR_SEP, /) { commit-ts.commands = \ cd $$wd; \ + git add -N share/qtcreator/translations/*_??.ts && \ for f in `git diff-files --name-only share/qtcreator/translations/*_??.ts`; do \ $$LCONVERT -locations none -i \$\$f -o \$\$f; \ done; \ @@ -77,6 +78,7 @@ isEqual(QMAKE_DIR_SEP, /) { } else { commit-ts.commands = \ cd $$wd && \ + git add -N share/qtcreator/translations/*_??.ts && \ for /f usebackq %%f in (`git diff-files --name-only share/qtcreator/translations/*_??.ts`) do \ $$LCONVERT -locations none -i %%f -o %%f $$escape_expand(\\n\\t) \ cd $$wd && git add share/qtcreator/translations/*_??.ts && git commit |