diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-18 03:15:56 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-18 03:15:56 (GMT) |
commit | 00d012f3f2d8971d277a6177d6d707cf31e155f4 (patch) | |
tree | b15ede8c15df318e16bfb84a8af58ab9c16150db /tools/linguist/lupdate/main.cpp | |
parent | 3e5c94c368c261190992b9c0f8b4223c35ede407 (diff) | |
download | Qt-00d012f3f2d8971d277a6177d6d707cf31e155f4.zip Qt-00d012f3f2d8971d277a6177d6d707cf31e155f4.tar.gz Qt-00d012f3f2d8971d277a6177d6d707cf31e155f4.tar.bz2 |
Start work on translation support in Qml.
Added basic support for qsTr in Qml, both in the engine and in lupdate.
Diffstat (limited to 'tools/linguist/lupdate/main.cpp')
-rw-r--r-- | tools/linguist/lupdate/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp index 8a70b55..8597672 100644 --- a/tools/linguist/lupdate/main.cpp +++ b/tools/linguist/lupdate/main.cpp @@ -518,6 +518,8 @@ int main(int argc, char **argv) else if (it->endsWith(QLatin1String(".js"), Qt::CaseInsensitive) || it->endsWith(QLatin1String(".qs"), Qt::CaseInsensitive)) loadQScript(fetchedTor, *it, cd); + else if (it->endsWith(QLatin1String(".qml"), Qt::CaseInsensitive)) + loadQml(fetchedTor, *it, cd); else sourceFilesCpp << *it; } |