feat: introduce "request to follow" closes #1076 (#1615)

closes https://github.com/elk-zone/elk/issues/1076
closes https://github.com/elk-zone/elk/pull/1411
zio/stable
Evan Boehs 2023-02-04 16:26:37 -05:00 committed by GitHub
parent 8d9c043b7a
commit 5f2b5a584a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,7 @@ const buttonStyle = $computed(() => {
<span hidden group-hover="inline">{{ $t('account.follow_back') }}</span>
</template>
<template v-else>
<span>{{ $t('account.follow') }}</span>
<span>{{ account.locked ? $t('account.request_follow') : $t('account.follow') }}</span>
</template>
</button>
</template>

View File

@ -35,6 +35,7 @@
"posts_count": "{0} Posts|{0} Post|{0} Posts",
"profile_description": "{0}'s profile header",
"profile_unavailable": "Profile unavailable",
"request_follow": "Request to follow",
"unblock": "Unblock",
"unfollow": "Unfollow",
"unmute": "Unmute",