diff --git a/src/i18n/de.ts b/src/i18n/de.ts index e057086..4564f3e 100644 --- a/src/i18n/de.ts +++ b/src/i18n/de.ts @@ -225,6 +225,7 @@ const de: SynapseTranslationMessages = { history_visibility: "Historie-Sichtbarkeit", topic: "Thema", avatar: "Avatar", + actions: "Aktionen", }, helper: { forward_extremities: diff --git a/src/i18n/en.ts b/src/i18n/en.ts index a8c85c3..504900f 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -198,6 +198,7 @@ const en: SynapseTranslationMessages = { history_visibility: "History visibility", topic: "Topic", avatar: "Avatar", + actions: "Actions", }, helper: { forward_extremities: diff --git a/src/i18n/fa.ts b/src/i18n/fa.ts index 6cdc75e..f69d1a1 100644 --- a/src/i18n/fa.ts +++ b/src/i18n/fa.ts @@ -190,6 +190,7 @@ const fa: SynapseTranslationMessages = { history_visibility: "مشاهده تاریخچه", topic: "موضوع", avatar: "آواتار", + actions: "عملیات", }, helper: { forward_extremities: diff --git a/src/i18n/fr.ts b/src/i18n/fr.ts index 7cf41b2..d38c7b5 100644 --- a/src/i18n/fr.ts +++ b/src/i18n/fr.ts @@ -192,6 +192,7 @@ const fr: SynapseTranslationMessages = { history_visibility: "Visibilité de l'historique", topic: "Sujet", avatar: "Avatar", + actions: "Actions", }, helper: { forward_extremities: diff --git a/src/i18n/index.d.ts b/src/i18n/index.d.ts index e56b101..271a621 100644 --- a/src/i18n/index.d.ts +++ b/src/i18n/index.d.ts @@ -190,6 +190,7 @@ interface SynapseTranslationMessages extends TranslationMessages { history_visibility: string; topic?: string; avatar?: string; + actions: string; }; helper?: { forward_extremities: string; diff --git a/src/i18n/it.ts b/src/i18n/it.ts index 67035bd..3483528 100644 --- a/src/i18n/it.ts +++ b/src/i18n/it.ts @@ -191,6 +191,7 @@ const it: SynapseTranslationMessages = { history_visibility: "Visibilità temporale", topic: "Topic", avatar: "Avatar", + actions: "Azioni", }, helper: { /* forward_extremities: diff --git a/src/i18n/ru.ts b/src/i18n/ru.ts index 9876425..da61dea 100644 --- a/src/i18n/ru.ts +++ b/src/i18n/ru.ts @@ -228,6 +228,7 @@ const ru: SynapseTranslationMessages = { history_visibility: "Видимость истории", topic: "Тема", avatar: "Аватар", + actions: "Действия", }, helper: { forward_extremities: diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts index 9b9fa59..e929507 100644 --- a/src/i18n/zh.ts +++ b/src/i18n/zh.ts @@ -212,6 +212,9 @@ const zh: SynapseTranslationMessages = { join_rules: "加入规则", guest_access: "访客访问", history_visibility: "历史可见性", + topic: "主题", + avatar: "头像", + actions: "操作", }, enums: { join_rules: { diff --git a/src/resources/rooms.tsx b/src/resources/rooms.tsx index e4638bb..c2341c2 100644 --- a/src/resources/rooms.tsx +++ b/src/resources/rooms.tsx @@ -361,17 +361,19 @@ export const RoomList = (props: ListProps) => { - } - sx={{ - [`& [data-testid="true"]`]: { color: theme.palette.success.main }, - [`& [data-testid="false"]`]: { color: theme.palette.error.main }, - }} - /> + + } + sx={{ + [`& [data-testid="true"]`]: { color: theme.palette.success.main }, + [`& [data-testid="false"]`]: { color: theme.palette.error.main }, + }} + /> + record["name"] || record["canonical_alias"] || record["id"]} label="resources.rooms.fields.name" /> @@ -379,7 +381,9 @@ export const RoomList = (props: ListProps) => { - + + + );