Show more features in their block

This commit is contained in:
Mint 2023-02-05 01:29:19 +03:00 committed by Sam Therapy
parent 4e9902739b
commit 6eaffcc625
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
3 changed files with 19 additions and 6 deletions

View file

@ -5,6 +5,8 @@ const FeaturesPanel = {
shout: function () { return this.$store.state.instance.shoutAvailable },
pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
gopher: function () { return this.$store.state.instance.gopherAvailable },
quotePosts: function () { return this.$store.state.instance.quotepostsAvailable },
customReacts: function () { return this.$store.state.instance.customReactsAvailable },
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
textlimit: function () { return this.$store.state.instance.textlimit },

View file

@ -17,6 +17,12 @@
<li v-if="gopher">
{{ $t('features_panel.gopher') }}
</li>
<li v-if="quotePosts">
{{ $t('features_panel.quote_posts') }}
</li>
<li v-if="customReacts">
{{ $t('features_panel.custom_reacts') }}
</li>
<li v-if="whoToFollow">
{{ $t('features_panel.who_to_follow') }}
</li>

View file

@ -100,12 +100,17 @@
"processing": "Processing, you'll soon be asked to download your file"
},
"features_panel": {
"media_proxy": "Media proxy",
"scope_options": "Scope options",
"text_limit": "Text limit",
"title": "Features",
"upload_limit": "Upload limit",
"who_to_follow": "Who to follow"
"shout": "Shoutbox",
"pleroma_chat_messages": "Pleroma Chat",
"gopher": "Gopher",
"quote_posts": "Quote posts",
"custom_reacts": "Custom emoji reactions",
"media_proxy": "Media proxy",
"scope_options": "Scope options",
"text_limit": "Text limit",
"title": "Features",
"who_to_follow": "Who to follow",
"upload_limit": "Upload limit"
},
"file_type": {
"audio": "Audio",