change Show New text to Reload when flushing
This commit is contained in:
parent
ea09bbecf8
commit
38d8526660
|
@ -49,11 +49,11 @@ const Timeline = {
|
|||
if (this.timelineError || this.errorData) return false
|
||||
return this.timeline.newStatusCount > 0 || this.timeline.flushMarker !== 0
|
||||
},
|
||||
newStatusCountStr () {
|
||||
loadButtonString () {
|
||||
if (this.timeline.flushMarker !== 0) {
|
||||
return ''
|
||||
return this.$t('timeline.reload')
|
||||
} else {
|
||||
return ` (${this.newStatusCount})`
|
||||
return `${this.$t('timeline.show_new')} (${this.newStatusCount})`
|
||||
}
|
||||
},
|
||||
classes () {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
class="loadmore-button"
|
||||
@click.prevent="showNewStatuses"
|
||||
>
|
||||
{{ $t('timeline.show_new') }}{{ newStatusCountStr }}
|
||||
{{ loadButtonString }}
|
||||
</button>
|
||||
<div
|
||||
v-else
|
||||
|
|
|
@ -617,6 +617,7 @@
|
|||
"no_retweet_hint": "Post is marked as followers-only or direct and cannot be repeated",
|
||||
"repeated": "repeated",
|
||||
"show_new": "Show new",
|
||||
"reload": "Reload",
|
||||
"up_to_date": "Up-to-date",
|
||||
"no_more_statuses": "No more statuses",
|
||||
"no_statuses": "No statuses"
|
||||
|
|
Loading…
Reference in New Issue