mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 22:29:53 +01:00
Show appropriate text for answered introduction requests.
This commit is contained in:
@@ -230,7 +230,11 @@ class ConversationVisitor implements
|
|||||||
R.layout.list_item_conversation_notice_out, text, r);
|
R.layout.list_item_conversation_notice_out, text, r);
|
||||||
} else {
|
} else {
|
||||||
String text;
|
String text;
|
||||||
if (r.isContact()) {
|
if (r.wasAnswered()) {
|
||||||
|
text = ctx.getString(
|
||||||
|
R.string.introduction_request_answered_received,
|
||||||
|
contactName.getValue(), name);
|
||||||
|
} else if (r.isContact()) {
|
||||||
text = ctx.getString(
|
text = ctx.getString(
|
||||||
R.string.introduction_request_exists_received,
|
R.string.introduction_request_exists_received,
|
||||||
contactName.getValue(), name);
|
contactName.getValue(), name);
|
||||||
|
|||||||
@@ -258,6 +258,7 @@
|
|||||||
<string name="introduction_request_sent">You have asked to introduce %1$s to %2$s.</string>
|
<string name="introduction_request_sent">You have asked to introduce %1$s to %2$s.</string>
|
||||||
<string name="introduction_request_received">%1$s has asked to introduce you to %2$s. Do you want to add %2$s to your contact list?</string>
|
<string name="introduction_request_received">%1$s has asked to introduce you to %2$s. Do you want to add %2$s to your contact list?</string>
|
||||||
<string name="introduction_request_exists_received">%1$s has asked to introduce you to %2$s, but %2$s is already in your contact list. Since %1$s might not know that, you can still respond:</string>
|
<string name="introduction_request_exists_received">%1$s has asked to introduce you to %2$s, but %2$s is already in your contact list. Since %1$s might not know that, you can still respond:</string>
|
||||||
|
<string name="introduction_request_answered_received">%1$s has asked to introduce you to %2$s.</string>
|
||||||
<string name="introduction_response_accepted_sent">You accepted the introduction to %1$s.</string>
|
<string name="introduction_response_accepted_sent">You accepted the introduction to %1$s.</string>
|
||||||
<string name="introduction_response_accepted_sent_info">Before %1$s gets added to your contacts, they need to accept the introduction as well. This might take some time.</string>
|
<string name="introduction_response_accepted_sent_info">Before %1$s gets added to your contacts, they need to accept the introduction as well. This might take some time.</string>
|
||||||
<string name="introduction_response_declined_sent">You declined the introduction to %1$s.</string>
|
<string name="introduction_response_declined_sent">You declined the introduction to %1$s.</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user