forked from AkkomaGang/akkoma-fe
Wording updates
This commit is contained in:
parent
13fc2612ae
commit
01855f315c
3 changed files with 3 additions and 4 deletions
|
@ -84,7 +84,7 @@
|
||||||
v-else-if="error403"
|
v-else-if="error403"
|
||||||
href="#"
|
href="#"
|
||||||
>
|
>
|
||||||
<div class="new-status-notification text-center panel-footer">{{ $t('timeline.error_403_message') }}</div>
|
<div class="new-status-notification text-center panel-footer">{{ error403 }}</div>
|
||||||
</a>
|
</a>
|
||||||
<div
|
<div
|
||||||
v-else
|
v-else
|
||||||
|
|
|
@ -535,8 +535,7 @@
|
||||||
"collapse": "Collapse",
|
"collapse": "Collapse",
|
||||||
"conversation": "Conversation",
|
"conversation": "Conversation",
|
||||||
"error_fetching": "Error fetching updates",
|
"error_fetching": "Error fetching updates",
|
||||||
"error_403": "This timeline is not public.",
|
"error_403": "Access denied",
|
||||||
"error_403_message": "Please sign in.",
|
|
||||||
"load_older": "Load older statuses",
|
"load_older": "Load older statuses",
|
||||||
"no_retweet_hint": "Post is marked as followers-only or direct and cannot be repeated",
|
"no_retweet_hint": "Post is marked as followers-only or direct and cannot be repeated",
|
||||||
"repeated": "repeated",
|
"repeated": "repeated",
|
||||||
|
|
|
@ -48,7 +48,7 @@ const fetchAndUpdate = ({
|
||||||
.then((statuses) => {
|
.then((statuses) => {
|
||||||
// Change messaging if not public
|
// Change messaging if not public
|
||||||
if (statuses.error) {
|
if (statuses.error) {
|
||||||
store.dispatch('set403Error', { value: true })
|
store.dispatch('set403Error', { value: statuses.error })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (!older && statuses.length >= 20 && !timelineData.loading && numStatusesBeforeFetch > 0) {
|
if (!older && statuses.length >= 20 && !timelineData.loading && numStatusesBeforeFetch > 0) {
|
||||||
|
|
Loading…
Reference in a new issue