Add remaining strings for vector-im/riot-web#4151
This commit is contained in:
parent
d2e766e4f0
commit
f54c182eb1
9 changed files with 31 additions and 17 deletions
|
@ -684,8 +684,13 @@ module.exports = React.createClass({
|
|||
|
||||
const roomToLeave = MatrixClientPeg.get().getRoom(roomId);
|
||||
Modal.createDialog(QuestionDialog, {
|
||||
title: "Leave room",
|
||||
description: <span>Are you sure you want to leave the room <i>{roomToLeave.name}</i>?</span>,
|
||||
title: _t("Leave room"),
|
||||
description: (
|
||||
<span>
|
||||
{_t("Are you sure you want to leave the room ")}
|
||||
<i>{roomToLeave.name}</i>?
|
||||
</span>
|
||||
),
|
||||
onFinished: (shouldLeave) => {
|
||||
if (shouldLeave) {
|
||||
const d = MatrixClientPeg.get().leave(roomId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue