Just some formatting

This commit is contained in:
Benoit Marty 2021-02-09 21:21:40 +01:00
parent 370b9dabff
commit 4e32120a41
4 changed files with 16 additions and 14 deletions

View file

@ -352,7 +352,8 @@ class NoticeEventFormatter @Inject constructor(
} else { } else {
sp.getString(R.string.notice_call_candidates, senderName) sp.getString(R.string.notice_call_candidates, senderName)
} }
EventType.CALL_REJECT -> if (event.isSentByCurrentUser()) { EventType.CALL_REJECT ->
if (event.isSentByCurrentUser()) {
sp.getString(R.string.call_tile_you_declined, "") sp.getString(R.string.call_tile_you_declined, "")
} else { } else {
sp.getString(R.string.call_tile_other_declined, senderName) sp.getString(R.string.call_tile_other_declined, senderName)

View file

@ -2797,6 +2797,7 @@
<string name="call_tile_you_started_call">You started a call</string> <string name="call_tile_you_started_call">You started a call</string>
<string name="call_tile_other_started_call">%1$s started a call</string> <string name="call_tile_other_started_call">%1$s started a call</string>
<string name="call_tile_in_call">You\'re currently in this call</string> <string name="call_tile_in_call">You\'re currently in this call</string>
<!-- Pattern can be replaced by the value of string call_tile_call_back -->
<string name="call_tile_you_declined">You declined this call %1$s</string> <string name="call_tile_you_declined">You declined this call %1$s</string>
<string name="call_tile_other_declined">%1$s declined this call</string> <string name="call_tile_other_declined">%1$s declined this call</string>
<string name="call_tile_ended">This call has ended</string> <string name="call_tile_ended">This call has ended</string>