pull/21833/head
David Baker 2017-10-19 15:55:57 +01:00
parent f98fe7fa87
commit 9141ba280a
1 changed files with 10 additions and 4 deletions

View File

@ -23,9 +23,12 @@ import GroupStoreCache from './stores/GroupStoreCache';
export function showGroupInviteDialog(groupId) { export function showGroupInviteDialog(groupId) {
const description = <div> const description = <div>
<div>{_t("Who would you like to add to this community?")}</div> <div>{ _t("Who would you like to add to this community?") }</div>
<div className="warning"> <div className="warning">
{_t("Warning: any person you add to a community will be publicly visible to anyone who knows the community ID")} { _t(
"Warning: any person you add to a community will be publicly "+
"visible to anyone who knows the community ID",
) }
</div> </div>
</div>; </div>;
@ -47,9 +50,12 @@ export function showGroupInviteDialog(groupId) {
export function showGroupAddRoomDialog(groupId) { export function showGroupAddRoomDialog(groupId) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const description = <div> const description = <div>
<div>{_t("Which rooms would you like to add to this community?")}</div> <div>{ _t("Which rooms would you like to add to this community?") }</div>
<div className="warning"> <div className="warning">
{_t("Warning: any room you add to a community will be publicly visible to anyone who knows the community ID")} { _t(
"Warning: any room you add to a community will be publicly "+
"visible to anyone who knows the community ID",
) }
</div> </div>
</div>; </div>;