Update text and split across multiple lines.

This commit is contained in:
Richard Lewis 2017-10-23 23:59:36 +01:00
parent 8b7f737c97
commit 11d4a63a32
2 changed files with 3 additions and 6 deletions

View file

@ -176,11 +176,8 @@ export default React.createClass({
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
Modal.createTrackedDialog('Delete Widget', '', QuestionDialog, {
title: _t("Delete Widget"),
description:
<div>
{ _t("Deleting a widget removes it for all users in this room - " +
"Are you sure you want to delete this widget?") }
</div>,
description: _t("Deleting a widget removes it for all users in this room." +
" Are you sure you want to delete this widget?"),
button: _t("Delete widget"),
onFinished: (confirmed) => {
if (!confirmed) {