Add remaining strings for vector-im/riot-web#4151

This commit is contained in:
Kegan Dougal 2017-06-02 10:47:08 +01:00
parent d2e766e4f0
commit f54c182eb1
9 changed files with 31 additions and 17 deletions

View file

@ -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);