~osomon/unity-2d/launcher-autoscroll-on-urgent

« back to all changes in this revision

Viewing changes to launcher/UnityApplications/place.cpp

  • Committer: Tarmac
  • Author(s): Aurelien Gateau
  • Date: 2011-04-07 15:31:28 UTC
  • mfrom: (515.1.1 i18n-search-hint)
  • Revision ID: ubuntu.builder@gmail.com-20110407153128-wta34u1n6qebuei7
[i18n] Use the correct gettext domain to translate the place search hint

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
            entry->setName(u2dTr(m_file->value("Name").toString().toUtf8().constData(),
104
104
                                 gettextDomain.toUtf8().constData()));
105
105
            entry->setIcon(m_file->value("Icon").toString());
106
 
            entry->setSearchHint(m_file->value("SearchHint").toString());
 
106
            entry->setSearchHint(u2dTr(m_file->value("SearchHint").toString().toUtf8().constData(),
 
107
                                 gettextDomain.toUtf8().constData()));
107
108
            if (!m_file->contains("ShowEntry")) {
108
109
                entry->setShowEntry(true);
109
110
            } else {