1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-07 01:19:57 +00:00

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
This commit is contained in:
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",