mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-11 13:49:15 -05:00
Use format, instead of hardcoded concatenation, for formatting
recipient display. (suggested by dumbfile in Comment 12 of Issue 10)
This commit is contained in:
parent
49c2708f4c
commit
272bb699c9
@ -170,8 +170,8 @@ Welcome to K-9 Mail setup. K-9 is an open source email client for Android based
|
||||
<string name="message_compose_downloading_attachments_toast">Some attachments were not downloaded. They will be downloaded automatically before this message is sent.</string>
|
||||
<string name="message_compose_attachments_skipped_toast">Some attachments cannot be forwarded because they have not downloaded.</string>
|
||||
|
||||
<string name="folder_message_list_to_label">To:</string>
|
||||
|
||||
<string name="folder_message_list_to_fmt">To:<xliff:g id="counterParty">%s</xliff:g></string>
|
||||
|
||||
<string name="message_view_to_label">To:</string>
|
||||
<string name="message_view_attachment_view_action">Open</string>
|
||||
<string name="message_view_attachment_download_action">Save</string>
|
||||
|
@ -2275,8 +2275,7 @@ public class FolderMessageList extends ExpandableListActivity
|
||||
|
||||
this.compareCounterparty = Address.toFriendly(message
|
||||
.getRecipients(RecipientType.TO));
|
||||
|
||||
this.sender = getString(R.string.folder_message_list_to_label) + this.compareCounterparty;
|
||||
this.sender = String.format(getString(R.string.folder_message_list_to_fmt), this.compareCounterparty);
|
||||
|
||||
} else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user