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