summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lupdate
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-07-23 09:18:26 +0200
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-07-23 09:25:12 +0200
commit91f85abc13a4dc75bfb810f6c6cc290a3ff75d27 (patch)
treecb01c9c084b6cfad859572c34737f87565f98ea9 /tools/linguist/lupdate
parent5027f869f8fc759148871b378e9cae6e88694bcb (diff)
Recognize .jui file format in lupdate
The translator had been installed for the jui format, but the extension wasn't recognized. Task-number: 258547 Reviewed-by: Gunnar
Diffstat (limited to 'tools/linguist/lupdate')
-rw-r--r--tools/linguist/lupdate/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp
index cedc01e498..6b454ef5e9 100644
--- a/tools/linguist/lupdate/main.cpp
+++ b/tools/linguist/lupdate/main.cpp
@@ -485,6 +485,9 @@ int main(int argc, char **argv)
fetchedTor.load(*it, cd, QLatin1String("java"));
//fetchtr_java(*it, &fetchedTor, defaultContext, true, codecForSource);
}
+ else if (it->endsWith(QLatin1String(".jui"), Qt::CaseInsensitive)) {
+ fetchedTor.load(*it, cd, QLatin1String("jui"));
+ }
else if (it->endsWith(QLatin1String(".ui"), Qt::CaseInsensitive)) {
fetchedTor.load(*it, cd, QLatin1String("ui"));
//fetchedTor.load(*it + QLatin1String(".h"), cd, QLatin1String("cpp"));