diff --git a/src/components/rooms.js b/src/components/rooms.js
index 65cf338..d55fc0c 100644
--- a/src/components/rooms.js
+++ b/src/components/rooms.js
@@ -9,6 +9,7 @@ import {
Pagination,
ReferenceArrayField,
ReferenceArrayInput,
+ SelectField,
Show,
Tab,
TabbedForm,
@@ -145,6 +146,7 @@ const RoomTitle = ({ record }) => {
);
};
+
export const RoomShow = props => (
}>
@@ -152,14 +154,29 @@ export const RoomShow = props => (
-
-
+
+
}>
+
diff --git a/src/i18n/de.js b/src/i18n/de.js
index a988057..150e5a7 100644
--- a/src/i18n/de.js
+++ b/src/i18n/de.js
@@ -71,6 +71,21 @@ export default {
joined_members: "Mitglieder",
invite_members: "Mitglieder einladen",
invitees: "Einladungen",
+ guest_access: "Gastzugang",
+ join_rules: "Zugang zum Raum",
+ members: "Mitglieder",
+ },
+ enums: {
+ join_rules: {
+ public: "Öffentlich",
+ knock: "Auf Anfrage",
+ invite: "Nur auf Einladung",
+ private: "Privat",
+ },
+ guest_access: {
+ can_join: "Gäste können beitreten",
+ forbidden: "Gäste können nicht beitreten"
+ },
},
},
connections: {
diff --git a/src/i18n/en.js b/src/i18n/en.js
index a1db339..7586482 100644
--- a/src/i18n/en.js
+++ b/src/i18n/en.js
@@ -73,6 +73,18 @@ export default {
invitees: "Invitations",
},
+ enums: {
+ join_rules: {
+ public: "Public",
+ knock: "Knock",
+ invite: "Invite",
+ private: "Private",
+ },
+ guest_access: {
+ can_join: "Guests can join",
+ forbidden: "Guests can not join"
+ },
+ },
},
connections: {
name: "Connections",