Skip to content
Snippets Groups Projects
Commit c7bd870e authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

add ts-untranslated target

the generated file is not meant for committing
parent abf94a6c
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,7 @@ Thumbs.db
# translation related:
share/qtcreator/translations/*_tr.h
share/qtcreator/translations/qtcreator_untranslated.ts
# Directories to ignore
# ---------------------
......
......@@ -29,7 +29,7 @@ extract.commands += \
$$XMLPATTERNS -output $$CUSTOMWIZARD_TR_H -param files=$$CUSTOMWIZARD_FILES $$PWD/extract-customwizards.xq
QMAKE_EXTRA_TARGETS += extract
files = $$files($$PWD/*_??.ts)
files = $$files($$PWD/*_??.ts) $$PWD/qtcreator_untranslated.ts
for(file, files) {
lang = $$replace(file, .*_(.*)\\.ts, \\1)
v = ts-$${lang}.commands
......@@ -44,7 +44,8 @@ QMAKE_EXTRA_TARGETS += ts-all
ts.commands = \
@echo \"The \'ts\' target has been removed in favor of more fine-grained targets.\" && \
echo \"Use \'ts-<lang>\' instead.\"
echo \"Use \'ts-<lang>\' instead. To add a language, use \'ts-untranslated\',\" && \
echo \"rename the file and re-run \'qmake\'.\"
QMAKE_EXTRA_TARGETS += ts
TEMPLATE = app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment