summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lupdate/main.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-04-01 08:45:34 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2010-04-01 08:45:34 (GMT)
commit603ee8b841385c04c5118650075134154aee29a7 (patch)
tree690a0b4abfa9a20551aab285cbb0fef49686c917 /tools/linguist/lupdate/main.cpp
parentd5e6111c62bc4437243fb1d6389e3af180f623d7 (diff)
parent8ffd45cf6832b67960dbaa10654c4b84358fe3f9 (diff)
downloadQt-603ee8b841385c04c5118650075134154aee29a7.zip
Qt-603ee8b841385c04c5118650075134154aee29a7.tar.gz
Qt-603ee8b841385c04c5118650075134154aee29a7.tar.bz2
Merge remote branch 'origin/4.7' into 4.7
Conflicts: src/gui/text/qstatictext.cpp
Diffstat (limited to 'tools/linguist/lupdate/main.cpp')
-rw-r--r--tools/linguist/lupdate/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp
index 0003baa..6c9157a 100644
--- a/tools/linguist/lupdate/main.cpp
+++ b/tools/linguist/lupdate/main.cpp
@@ -409,7 +409,7 @@ static void processProjects(
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
- m_defaultExtensions = QLatin1String("ui,c,c++,cc,cpp,cxx,ch,h,h++,hh,hpp,hxx");
+ m_defaultExtensions = QLatin1String("java,jui,ui,c,c++,cc,cpp,cxx,ch,h,h++,hh,hpp,hxx,js,qs,qml");
QStringList args = app.arguments();
QStringList tsFileNames;
@@ -634,6 +634,7 @@ int main(int argc, char **argv)
sourceFiles << fn;
if (!fn.endsWith(QLatin1String(".java"))
+ && !fn.endsWith(QLatin1String(".jui"))
&& !fn.endsWith(QLatin1String(".ui"))
&& !fn.endsWith(QLatin1String(".js"))
&& !fn.endsWith(QLatin1String(".qs"))