Add "Assign Admin" button to the rooms (#156)

* wip on make admin button

* Finish assign admin button

* fixes from pr

* update readme; remove unnecessary console.log; add assign admin to room directory and room view; rename user_id label; set own MXID by default; fix room name display when there is no name
This commit is contained in:
Borislav Pantaleev
2024-11-21 07:11:48 +02:00
committed by GitHub
parent dae6872fe8
commit cb1314ab1d
13 changed files with 204 additions and 31 deletions

View File

@@ -225,6 +225,14 @@ const fa: SynapseTranslationMessages = {
success: "اتاق با موفقیت حذف شد.",
failure: "خطایی رخ داده است.",
},
make_admin: {
assign_admin: "مدیر انتخاب کنید",
title: "مدیر اتاق %{roomName} را انتخاب کنید",
confirm: "مدیر انتخاب کنید",
content: "کامل MXID کاربری را وارد کنید که به عنوان مدیر تنظیم شود.\nهشدار: برای این کار، اتاق باید حداقل یک اعضای محلی به عنوان مدیر داشته باشد.",
success: "کاربر به عنوان مدیر اتاق تنظیم شد.",
failure: "کاربر به عنوان مدیر اتاق تنظیم نشد. %{errMsg}",
}
},
},
reports: {