mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Add comment
This commit is contained in:
parent
6c37a9a3af
commit
1bba1f0fa6
1 changed files with 2 additions and 0 deletions
|
@ -257,6 +257,8 @@ function textForWidgetEvent(event) {
|
|||
// Apply sentence case
|
||||
widgetName = widgetName ? widgetName[0].toUpperCase() + widgetName.slice(1).toLowerCase() + ' ' : '';
|
||||
|
||||
// If the widget was removed, its content should be {}, but this is sufficiently
|
||||
// equivalent to that condition.
|
||||
if (url) {
|
||||
return _t('%(senderName)s added a %(widgetName)swidget', {
|
||||
senderName, widgetName,
|
||||
|
|
Loading…
Reference in a new issue