Inform users that Smithereen public polls are public
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
83189d9d41
commit
0878f5bfb4
1
changelog.d/non-anonymous-polls.add
Normal file
1
changelog.d/non-anonymous-polls.add
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Inform users that Smithereen public polls are public
|
|
@ -76,6 +76,13 @@
|
||||||
>
|
>
|
||||||
{{ $t('polls.vote') }}
|
{{ $t('polls.vote') }}
|
||||||
</button>
|
</button>
|
||||||
|
<span
|
||||||
|
v-if="poll.pleroma?.non_anonymous"
|
||||||
|
:title="$t('polls.non_anonymous_title')"
|
||||||
|
>
|
||||||
|
{{ $t('polls.non_anonymous') }}
|
||||||
|
·
|
||||||
|
</span>
|
||||||
<div class="total">
|
<div class="total">
|
||||||
<template v-if="typeof poll.voters_count === 'number'">
|
<template v-if="typeof poll.voters_count === 'number'">
|
||||||
{{ $tc("polls.people_voted_count", poll.voters_count, { count: poll.voters_count }) }}
|
{{ $tc("polls.people_voted_count", poll.voters_count, { count: poll.voters_count }) }}
|
||||||
|
|
|
@ -229,7 +229,9 @@
|
||||||
"expiry": "Poll age",
|
"expiry": "Poll age",
|
||||||
"expires_in": "Poll ends in {0}",
|
"expires_in": "Poll ends in {0}",
|
||||||
"expired": "Poll ended {0} ago",
|
"expired": "Poll ended {0} ago",
|
||||||
"not_enough_options": "Too few unique options in poll"
|
"not_enough_options": "Too few unique options in poll",
|
||||||
|
"non_anonymous": "Public poll",
|
||||||
|
"non_anonymous_title": "Other instances may display the options you voted for"
|
||||||
},
|
},
|
||||||
"emoji": {
|
"emoji": {
|
||||||
"stickers": "Stickers",
|
"stickers": "Stickers",
|
||||||
|
|
Loading…
Reference in a new issue