Skip to content
Snippets Groups Projects
Commit 3b55c462 authored by Pierre Rossi's avatar Pierre Rossi Committed by Oswald Buddenhagen
Browse files

Make the locale specific ts targets tolerate paths with underscores

Reviewed-by: ossi
(cherry picked from commit 1099fc32)
parent bc89b974
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ QMAKE_EXTRA_TARGETS += extract ...@@ -32,7 +32,7 @@ QMAKE_EXTRA_TARGETS += extract
files = $$files($$PWD/*_??.ts) $$PWD/qtcreator_untranslated.ts files = $$files($$PWD/*_??.ts) $$PWD/qtcreator_untranslated.ts
for(file, files) { for(file, files) {
lang = $$replace(file, .*_(.*)\\.ts, \\1) lang = $$replace(file, .*_([^/]*)\\.ts, \\1)
v = ts-$${lang}.commands v = ts-$${lang}.commands
$$v = cd $$IDE_SOURCE_TREE && $$LUPDATE src share/qtcreator/qmldesigner $$MIME_TR_H $$CUSTOMWIZARD_TR_H -ts $$file $$v = cd $$IDE_SOURCE_TREE && $$LUPDATE src share/qtcreator/qmldesigner $$MIME_TR_H $$CUSTOMWIZARD_TR_H -ts $$file
v = ts-$${lang}.depends v = ts-$${lang}.depends
......
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