Improve wording for received setup message notification

This commit is contained in:
ameba23
2021-05-17 17:39:01 +02:00
parent 78a91d43b2
commit 67015d7294
2 changed files with 4 additions and 4 deletions

View File

@@ -310,11 +310,11 @@ class ConversationVisitor implements
@Override
public ConversationItem visitRemoteWipeMessage(RemoteWipeMessageHeader r) {
if (r.isLocal()) {
String text = ctx.getString(R.string.remote_wipe_setup_sent);
String text = ctx.getString(R.string.remote_wipe_setup_sent, contactName.getValue());
return new ConversationNoticeItem(
R.layout.list_item_conversation_notice_out, text, r);
} else {
String text = ctx.getString(R.string.remote_wipe_setup_received);
String text = ctx.getString(R.string.remote_wipe_setup_received, contactName.getValue());
return new ConversationNoticeItem(
R.layout.list_item_conversation_notice_in, text, r);
}

View File

@@ -740,8 +740,8 @@
<string name="title_select_wipers">Select Trusted Contacts</string>
<!-- conversation -->
<string name="remote_wipe_setup_received">You have been added a remote wiper.</string>
<string name="remote_wipe_setup_sent">You have added this contact as a remote wiper.</string>
<string name="remote_wipe_setup_received">%1$s has added you as a remote wiper.</string>
<string name="remote_wipe_setup_sent">You have added %1$s as a remote wiper.</string>
<string name="activity_name_remote_wipe">Remote Wipe</string>
<string name="assigned_wipers">Your assigned trusted wipers</string>
<string name="activate_remote_wipe">Activate remote wipe</string>