1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00
This commit is contained in:
David Baker
2017-10-19 15:55:57 +01:00
parent f98fe7fa87
commit 9141ba280a

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