diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-02-14 14:56:37 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-26 08:31:17 +0100 |
commit | 6b3defc1ebd54e87efeea7e0fb545c62b26bb85d (patch) | |
tree | 7f85eb9662e41476bdb446c54688fca7ebb44f4d /src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp | |
parent | e656c31890dc382fafe03c4b9abf55565d2a3073 (diff) | |
download | qtlocation-6b3defc1ebd54e87efeea7e0fb545c62b26bb85d.tar.gz |
Fix translatable strings and cleanup unnecessary strings
1.) Reduces the amount of translatable strings as console/qmlInfo() output
is not translated.
2.) Unused error messages have been removed
3.) Additional translation hints have been added.
Change-Id: I59ef36bd75ab1f6d4878657212884e1251b8a04e
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp')
-rw-r--r-- | src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp b/src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp index a2906916..ae42b626 100644 --- a/src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp +++ b/src/imports/location/declarativeplaces/qdeclarativeplaceicon.cpp @@ -221,7 +221,7 @@ void QDeclarativePlaceIcon::pluginReady() QPlaceManager *QDeclarativePlaceIcon::manager() const { if (!m_plugin) { - qmlInfo(this) << QCoreApplication::translate(CONTEXT_NAME, PLUGIN_NOT_ASSIGNED_TO_PLACE_ICON); + qmlInfo(this) << QStringLiteral("Plugin is not assigned to place."); return 0; } |