Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0105b86 authored by Katherine Kuan's avatar Katherine Kuan Committed by Android (Google) Code Review
Browse files

Merge "Add one more string: quote marks around a social update"

parents d69ed387 743b8033
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1271,6 +1271,9 @@
    <!-- Section title for the page containing the contact's social updates on the contact card [CHAR LIMIT=20]-->
    <string name="recent_updates">Recent</string>

    <!-- Label that contains the social update from a contact on the contact card. The text should appear as a quotation. [CHAR LIMIT=5] -->
    <string name="recent_updates_tab_text">\"<xliff:g id="update_text">%s</xliff:g>\"</string>

    <!-- String describing which account type a contact came from when editing it -->
    <string name="account_type_format"><xliff:g id="source" example="Gmail">%1$s</xliff:g> contact</string>

+2 −0
Original line number Diff line number Diff line
@@ -222,6 +222,8 @@ public class ContactDetailDisplayUtils {
        if (!contactData.getStreamItems().isEmpty()) {
            StreamItemEntry firstEntry = contactData.getStreamItems().get(0);
            snippet = Html.fromHtml(firstEntry.getText());
            // Add quotes around the text
            snippet = context.getString(R.string.recent_updates_tab_text, snippet);
            if (!firstEntry.getPhotos().isEmpty()) {
                StreamItemPhotoEntry firstPhoto = firstEntry.getPhotos().get(0);
                photoUri = firstPhoto.getPhotoUri();