add fallback label for canonical alias events that dont change anything
This commit is contained in:
parent
f33c930c41
commit
5d7f2f96e7
2 changed files with 7 additions and 0 deletions
|
@ -308,10 +308,16 @@ function textForCanonicalAliasEvent(ev) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// both alias and alt_aliases where modified
|
||||||
return _t('%(senderName)s changed the main and alternative addresses for this room.', {
|
return _t('%(senderName)s changed the main and alternative addresses for this room.', {
|
||||||
senderName: senderName,
|
senderName: senderName,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// in case there is no difference between the two events,
|
||||||
|
// say something as we can't simply hide the tile from here
|
||||||
|
return _t('%(senderName)s changed the addresses for this room.', {
|
||||||
|
senderName: senderName,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function textForCallAnswerEvent(event) {
|
function textForCallAnswerEvent(event) {
|
||||||
|
|
|
@ -248,6 +248,7 @@
|
||||||
"%(senderName)s removed the alternative addresses %(addresses)s for this room.|one": "%(senderName)s removed alternative address %(addresses)s for this room.",
|
"%(senderName)s removed the alternative addresses %(addresses)s for this room.|one": "%(senderName)s removed alternative address %(addresses)s for this room.",
|
||||||
"%(senderName)s changed the alternative addresses for this room.": "%(senderName)s changed the alternative addresses for this room.",
|
"%(senderName)s changed the alternative addresses for this room.": "%(senderName)s changed the alternative addresses for this room.",
|
||||||
"%(senderName)s changed the main and alternative addresses for this room.": "%(senderName)s changed the main and alternative addresses for this room.",
|
"%(senderName)s changed the main and alternative addresses for this room.": "%(senderName)s changed the main and alternative addresses for this room.",
|
||||||
|
"%(senderName)s changed the addresses for this room.": "%(senderName)s changed the addresses for this room.",
|
||||||
"Someone": "Someone",
|
"Someone": "Someone",
|
||||||
"(not supported by this browser)": "(not supported by this browser)",
|
"(not supported by this browser)": "(not supported by this browser)",
|
||||||
"%(senderName)s answered the call.": "%(senderName)s answered the call.",
|
"%(senderName)s answered the call.": "%(senderName)s answered the call.",
|
||||||
|
|
Loading…
Reference in a new issue