From 91f85abc13a4dc75bfb810f6c6cc290a3ff75d27 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Thu, 23 Jul 2009 09:18:26 +0200 Subject: 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 --- tools/linguist/lupdate/main.cpp | 3 +++ 1 file changed, 3 insertions(+) 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")); -- cgit v0.12