logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 4777bec85fd5488c5c50d5452efe26a51f90f53e
parent 0110fd86c2f166de5be8d675ffa34ab815463b2d
Author: tusooa <tusooa@kazv.moe>
Date:   Wed, 27 Dec 2023 22:36:13 -0500

Add a description on what groups do

Diffstat:

Msrc/components/settings_modal/tabs/profile_tab.js5++++-
Msrc/components/settings_modal/tabs/profile_tab.vue5+++++
Msrc/i18n/en.json1+
3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/src/components/settings_modal/tabs/profile_tab.js b/src/components/settings_modal/tabs/profile_tab.js @@ -120,8 +120,11 @@ const ProfileTab = { const src = this.$store.state.users.currentUser.cover_photo return (!src) ? this.defaultBanner : src }, + groupActorAvailable () { + return this.$store.state.instance.groupActorAvailable + }, availableActorTypes () { - return this.$store.state.instance.groupActorAvailable ? ['Person', 'Service', 'Group'] : ['Person', 'Service'] + return this.groupActorAvailable ? ['Person', 'Service', 'Group'] : ['Person', 'Service'] } }, methods: { diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue @@ -122,6 +122,11 @@ </Select> </label> </p> + <div v-if="groupActorAvailable"> + <small> + {{ $t('settings.actor_type_description') }} + </small> + </div> <p> <interface-language-switcher :prompt-text="$t('settings.email_language')" diff --git a/src/i18n/en.json b/src/i18n/en.json @@ -360,6 +360,7 @@ "primary_language": "Primary language:", "fallback_language": "Fallback language {index}:", "actor_type": "This account is:", + "actor_type_description": "Marking your account as a group will make it automatically repeat statuses that mention it.", "actor_type_Person": "a normal user", "actor_type_Service": "a bot", "actor_type_Group": "a group",