mirror of https://github.com/vector-im/riot-web
Oops, don't change these reason strings.
parent
43d8ccf128
commit
dac6a3360b
|
@ -94,15 +94,15 @@ function textForMemberEvent(ev) {
|
||||||
}
|
}
|
||||||
else if (ev.getPrevContent().membership === "join") {
|
else if (ev.getPrevContent().membership === "join") {
|
||||||
return _t(
|
return _t(
|
||||||
'%(senderName)s kicked %(targetName)s. %(reason)s',
|
'%(senderName)s kicked %(targetName)s.',
|
||||||
{senderName: senderName, targetName: targetName, reason}
|
{senderName: senderName, targetName: targetName}
|
||||||
);
|
) + '. ' + reason;
|
||||||
}
|
}
|
||||||
else if (ev.getPrevContent().membership === "invite") {
|
else if (ev.getPrevContent().membership === "invite") {
|
||||||
return _t(
|
return _t(
|
||||||
'%(senderName)s withdrew %(targetName)s\'s inivitation. %(reason)s',
|
'%(senderName)s withdrew %(targetName)s\'s inivitation.',
|
||||||
{senderName: senderName, targetName: targetName, reason: reason}
|
{senderName: senderName, targetName: targetName}
|
||||||
);
|
) + '. ' + reason;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return _t('%(targetName)s left the room.', {targetName: targetName});
|
return _t('%(targetName)s left the room.', {targetName: targetName});
|
||||||
|
|
Loading…
Reference in New Issue