diff --git a/components/status/StatusPoll.vue b/components/status/StatusPoll.vue index b3ac61a5..694390cb 100644 --- a/components/status/StatusPoll.vue +++ b/components/status/StatusPoll.vue @@ -56,7 +56,9 @@ async function vote(e: Event) {
- {{ poll.votersCount }} votes · {{ poll.expired ? 'finished' : 'ends' }} {{ expiredTimeAgo }} + {{ $t('status.poll.count', [poll.votersCount]) }} + · + {{ $t(poll.expired ? 'status.poll.finished' : 'status.poll.ends', [expiredTimeAgo]) }}
diff --git a/locales/en-US.json b/locales/en-US.json index d1fe0630..50c110cb 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -141,6 +141,11 @@ }, "status": { "edited": "Edited {0}", + "poll": { + "count": "{0} votes", + "ends": "ends {0}", + "finished": "finished {0}" + }, "reblogged": "{0} reblogged", "spoiler_show_less": "Show less", "spoiler_show_more": "Show more", diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 097919f3..98f38e4c 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -141,6 +141,11 @@ }, "status": { "edited": "在 {0} 编辑了", + "poll": { + "count": "{0} 次投票", + "ends": "将在 {0} 结束", + "finished": "已在 {0} 结束" + }, "reblogged": "{0} 转发了", "spoiler_show_less": "隐藏", "spoiler_show_more": "显示更多",