Update text and split across multiple lines.
This commit is contained in:
parent
8b7f737c97
commit
11d4a63a32
2 changed files with 3 additions and 6 deletions
|
@ -176,11 +176,8 @@ export default React.createClass({
|
||||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
Modal.createTrackedDialog('Delete Widget', '', QuestionDialog, {
|
Modal.createTrackedDialog('Delete Widget', '', QuestionDialog, {
|
||||||
title: _t("Delete Widget"),
|
title: _t("Delete Widget"),
|
||||||
description:
|
description: _t("Deleting a widget removes it for all users in this room." +
|
||||||
<div>
|
" Are you sure you want to delete this widget?"),
|
||||||
{ _t("Deleting a widget removes it for all users in this room - " +
|
|
||||||
"Are you sure you want to delete this widget?") }
|
|
||||||
</div>,
|
|
||||||
button: _t("Delete widget"),
|
button: _t("Delete widget"),
|
||||||
onFinished: (confirmed) => {
|
onFinished: (confirmed) => {
|
||||||
if (!confirmed) {
|
if (!confirmed) {
|
||||||
|
|
|
@ -202,7 +202,7 @@
|
||||||
"Failed to delete device": "Failed to delete device",
|
"Failed to delete device": "Failed to delete device",
|
||||||
"Delete": "Delete",
|
"Delete": "Delete",
|
||||||
"Delete Widget": "Delete Widget",
|
"Delete Widget": "Delete Widget",
|
||||||
"Deleting a widget removes it for all users in this room - are you sure you want to delete this widget?": "Deleting a widget removes it for all users in this room - are you sure you want to delete this widget?",
|
"Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?": "Deleting a widget removes it for all users in this room. Are you sure you want to delete this widget?",
|
||||||
"Disable Notifications": "Disable Notifications",
|
"Disable Notifications": "Disable Notifications",
|
||||||
"Enable Notifications": "Enable Notifications",
|
"Enable Notifications": "Enable Notifications",
|
||||||
"Cannot add any more widgets": "Cannot add any more widgets",
|
"Cannot add any more widgets": "Cannot add any more widgets",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue