diff options
author | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-07-23 07:18:26 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eblomfel@trolltech.com> | 2009-07-23 07:25:12 (GMT) |
commit | 91f85abc13a4dc75bfb810f6c6cc290a3ff75d27 (patch) | |
tree | cb01c9c084b6cfad859572c34737f87565f98ea9 | |
parent | 5027f869f8fc759148871b378e9cae6e88694bcb (diff) | |
download | Qt-91f85abc13a4dc75bfb810f6c6cc290a3ff75d27.zip Qt-91f85abc13a4dc75bfb810f6c6cc290a3ff75d27.tar.gz Qt-91f85abc13a4dc75bfb810f6c6cc290a3ff75d27.tar.bz2 |
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
-rw-r--r-- | tools/linguist/lupdate/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp index cedc01e..6b454ef 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")); |