forked from qt-creator/qt-creator
Make the locale specific ts targets tolerate paths with underscores
Reviewed-by: ossi
This commit is contained in:
@@ -32,7 +32,7 @@ QMAKE_EXTRA_TARGETS += extract
|
||||
|
||||
files = $$files($$PWD/*_??.ts) $$PWD/qtcreator_untranslated.ts
|
||||
for(file, files) {
|
||||
lang = $$replace(file, .*_(.*)\\.ts, \\1)
|
||||
lang = $$replace(file, .*_([^/]*)\\.ts, \\1)
|
||||
v = ts-$${lang}.commands
|
||||
$$v = cd $$IDE_SOURCE_TREE && $$LUPDATE src share/qtcreator/qmldesigner $$MIME_TR_H $$CUSTOMWIZARD_TR_H -ts $$file
|
||||
v = ts-$${lang}.depends
|
||||
|
Reference in New Issue
Block a user