mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-07 04:39:10 +01:00
feat: poll plural support (#375)
This commit is contained in:
parent
00b835444b
commit
2fed89be9d
5 changed files with 8 additions and 8 deletions
|
@ -57,7 +57,7 @@ async function vote(e: Event) {
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div text-sm>
|
<div text-sm>
|
||||||
{{ $t('status.poll.count', [poll.votersCount]) }}
|
{{ $t('status.poll.count', poll.votersCount ?? 0) }}
|
||||||
·
|
·
|
||||||
<CommonTooltip :content="expiredTimeFormatted" class="inline-block" placement="right">
|
<CommonTooltip :content="expiredTimeFormatted" class="inline-block" placement="right">
|
||||||
<time :datetime="poll.expiresAt!">{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}</time>
|
<time :datetime="poll.expiresAt!">{{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}</time>
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
"filter_removed_phrase": "Removed by filter",
|
"filter_removed_phrase": "Removed by filter",
|
||||||
"filter_show_anyway": "Show anyway",
|
"filter_show_anyway": "Show anyway",
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{0} votes",
|
"count": "{n} votes",
|
||||||
"ends": "ends {0}",
|
"ends": "ends {0}",
|
||||||
"finished": "finished {0}"
|
"finished": "finished {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -155,9 +155,9 @@
|
||||||
"filter_removed_phrase": "Eliminado por filtrado",
|
"filter_removed_phrase": "Eliminado por filtrado",
|
||||||
"filter_show_anyway": "Mostrar de todas formas",
|
"filter_show_anyway": "Mostrar de todas formas",
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{0} votos|{0} voto|{0} votos",
|
"count": "{n} votos|{n} voto|{n} votos",
|
||||||
"ends": "finaliza el {0}",
|
"ends": "finaliza {0}",
|
||||||
"finished": "finalizada el {0}"
|
"finished": "finalizada {0}"
|
||||||
},
|
},
|
||||||
"reblogged": "{0} retooteó",
|
"reblogged": "{0} retooteó",
|
||||||
"spoiler_show_less": "Mostrar menos",
|
"spoiler_show_less": "Mostrar menos",
|
||||||
|
@ -178,7 +178,7 @@
|
||||||
"time_ago_options": {
|
"time_ago_options": {
|
||||||
"day_future": "dentro de 0 días|mañana|dentro de {n} días",
|
"day_future": "dentro de 0 días|mañana|dentro de {n} días",
|
||||||
"day_past": "hace 0 días|ayer|hace {n} días",
|
"day_past": "hace 0 días|ayer|hace {n} días",
|
||||||
"hour_future": "dentro de 0 horas|dentro de 1 hora|dentro {n} horas",
|
"hour_future": "dentro de 0 horas|dentro de 1 hora|dentro de {n} horas",
|
||||||
"hour_past": "hace 0 horas|hace 1 hora|hace {n} horas",
|
"hour_past": "hace 0 horas|hace 1 hora|hace {n} horas",
|
||||||
"just_now": "ahora mismo",
|
"just_now": "ahora mismo",
|
||||||
"minute_future": "dentro de 0 minutos|dentro de 1 minuto|dentro de {n} minutos",
|
"minute_future": "dentro de 0 minutos|dentro de 1 minuto|dentro de {n} minutos",
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
"filter_removed_phrase": "Caché par le filtre",
|
"filter_removed_phrase": "Caché par le filtre",
|
||||||
"filter_show_anyway": "Montrer coûte que coûte",
|
"filter_show_anyway": "Montrer coûte que coûte",
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{0} votes",
|
"count": "{n} votes",
|
||||||
"ends": "se clôt {0}",
|
"ends": "se clôt {0}",
|
||||||
"finished": "clos {0}"
|
"finished": "clos {0}"
|
||||||
},
|
},
|
||||||
|
|
|
@ -154,7 +154,7 @@
|
||||||
"filter_removed_phrase": "从筛选中移除",
|
"filter_removed_phrase": "从筛选中移除",
|
||||||
"filter_show_anyway": "仍然展示",
|
"filter_show_anyway": "仍然展示",
|
||||||
"poll": {
|
"poll": {
|
||||||
"count": "{0} 次投票",
|
"count": "{n} 次投票",
|
||||||
"ends": "将在 {0} 结束",
|
"ends": "将在 {0} 结束",
|
||||||
"finished": "已在 {0} 结束"
|
"finished": "已在 {0} 结束"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue