~canonical-platform-qa/messaging-app/bug1513044_label_uclabel

« back to all changes in this revision

Viewing changes to src/qml/ThreadDelegate.qml

Make use of the cached contact info from history-service when populating headers and popups.
Approved by: Tiago Salem Herrmann

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
                return groupChatLabel
143
143
            } else {
144
144
                if (delegateHelper.phoneNumber == "x-ofono-unknown") {
145
 
                    return i18n.tr("Unknown Number")
 
145
                    // FIXME: replace the dtr() call by a regular tr() call after
 
146
                    // string freeze
 
147
                    return i18n.dtr("telephony-service", "Unknown Number")
146
148
                } else if (unknownContact) {
147
149
                    return delegateHelper.phoneNumber
148
150
                } else {