Add more specific group change notification string
This commit is contained in:
parent
b3cada3d10
commit
ce35f686e6
2 changed files with 5 additions and 3 deletions
|
@ -4355,6 +4355,10 @@
|
|||
"messageformat": "{adminName} denied a request to join the group from {joinerName}.",
|
||||
"description": "Shown in timeline or conversation preview when v2 group changes"
|
||||
},
|
||||
"icu:GroupV2--admin-approval-remove-one--other--unknown": {
|
||||
"messageformat": "A request to join the group from {joinerName} was denied.",
|
||||
"description": "Shown in timeline or conversation preview when v2 group changes"
|
||||
},
|
||||
"icu:GroupV2--admin-approval-bounce--one": {
|
||||
"messageformat": "{joinerName} requested and cancelled their request to join via the group link",
|
||||
"description": "Shown in timeline or conversation preview when v2 group changes"
|
||||
|
|
|
@ -773,10 +773,8 @@ export function renderChangeDetail<T>(
|
|||
);
|
||||
}
|
||||
|
||||
// We default to the user canceling their request, because it is far more likely that
|
||||
// if an admin does the denial, we'll get a change event from them.
|
||||
return i18n(
|
||||
'icu:GroupV2--admin-approval-remove-one--other--own',
|
||||
'icu:GroupV2--admin-approval-remove-one--other--unknown',
|
||||
|
||||
{ joinerName: renderContact(aci) }
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue