Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
c7bd870e
Commit
c7bd870e
authored
Jul 16, 2010
by
Oswald Buddenhagen
Browse files
add ts-untranslated target
the generated file is not meant for committing
parent
abf94a6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
c7bd870e
...
...
@@ -54,6 +54,7 @@ Thumbs.db
# translation related:
share/qtcreator/translations/*_tr.h
share/qtcreator/translations/qtcreator_untranslated.ts
# Directories to ignore
# ---------------------
...
...
share/qtcreator/translations/translations.pro
View file @
c7bd870e
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment