diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-10-13 02:36:05 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-10-13 02:36:05 (GMT) |
commit | 5e31c0cae45bae6f66decfb37825ed5d445e49e4 (patch) | |
tree | 3feade068e8543f56a0eec9054fdba0dfb83740c /src/declarative/extra | |
parent | d71db342a34690438878684f054dca820f77b1b9 (diff) | |
download | Qt-5e31c0cae45bae6f66decfb37825ed5d445e49e4.zip Qt-5e31c0cae45bae6f66decfb37825ed5d445e49e4.tar.gz Qt-5e31c0cae45bae6f66decfb37825ed5d445e49e4.tar.bz2 |
More i18n
Diffstat (limited to 'src/declarative/extra')
-rw-r--r-- | src/declarative/extra/qmlbehavior.cpp | 2 | ||||
-rw-r--r-- | src/declarative/extra/qmlxmllistmodel.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/extra/qmlbehavior.cpp b/src/declarative/extra/qmlbehavior.cpp index e30bd39..f3eb014 100644 --- a/src/declarative/extra/qmlbehavior.cpp +++ b/src/declarative/extra/qmlbehavior.cpp @@ -77,7 +77,7 @@ void QmlBehavior::setAnimation(QmlAbstractAnimation *animation) { Q_D(QmlBehavior); if (d->animation) { - qmlInfo(this) << "Can't change the animation assigned to a Behavior."; + qmlInfo(tr("Can't change the animation assigned to a Behavior."),this); return; } diff --git a/src/declarative/extra/qmlxmllistmodel.cpp b/src/declarative/extra/qmlxmllistmodel.cpp index 01efa0e..fb26915 100644 --- a/src/declarative/extra/qmlxmllistmodel.cpp +++ b/src/declarative/extra/qmlxmllistmodel.cpp @@ -109,7 +109,7 @@ public: void setQuery(const QString &query) { if (query.startsWith(QLatin1Char('/'))) { - qmlInfo(this) << "An XmlRole query must not start with '/'"; + qmlInfo(tr("An XmlRole query must not start with '/'"),this); return; } m_query = query; @@ -545,7 +545,7 @@ void QmlXmlListModel::setQuery(const QString &query) { Q_D(QmlXmlListModel); if (!query.startsWith(QLatin1Char('/'))) { - qmlInfo(this) << "An XmlListModel query must start with '/' or \"//\""; + qmlInfo(tr("An XmlListModel query must start with '/' or \"//\""),this); return; } |