feat: topic status i18n
This commit is contained in:
parent
d8916c70a5
commit
654f054e53
|
@ -97,6 +97,9 @@ export default {
|
|||
},
|
||||
content: {
|
||||
status: 'Topic status',
|
||||
featured: 'Featured',
|
||||
normal: 'Normal',
|
||||
banned: 'Banned',
|
||||
reply: 'Reply',
|
||||
comments: 'Comments',
|
||||
comment: 'Commented to',
|
||||
|
|
|
@ -97,6 +97,9 @@ export default {
|
|||
},
|
||||
content: {
|
||||
status: '话题状态',
|
||||
featured: '被推',
|
||||
normal: '正常',
|
||||
banned: '封禁',
|
||||
reply: '回复',
|
||||
comments: '评论',
|
||||
comment: '评论',
|
||||
|
|
|
@ -97,7 +97,9 @@ const loliStatus = computed(() => {
|
|||
<!-- 话题状态 -->
|
||||
<div class="status">
|
||||
<span>{{ `${$tm('topic.content.status')}:` }}</span>
|
||||
<span :class="loliStatus">{{ loliStatus }}</span>
|
||||
<span :class="loliStatus">{{
|
||||
$tm(`topic.content.${loliStatus}`)
|
||||
}}</span>
|
||||
</div>
|
||||
<Rewrite v-if="edited" :time="edited" />
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue