1
0
Fork 0
forked from srxl/akkoma-fe

Wording updates

This commit is contained in:
Wyatt Benno 2019-12-06 09:38:55 +09:00
parent 13fc2612ae
commit 01855f315c
3 changed files with 3 additions and 4 deletions

View file

@ -84,7 +84,7 @@
v-else-if="error403"
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>
<div
v-else

View file

@ -535,8 +535,7 @@
"collapse": "Collapse",
"conversation": "Conversation",
"error_fetching": "Error fetching updates",
"error_403": "This timeline is not public.",
"error_403_message": "Please sign in.",
"error_403": "Access denied",
"load_older": "Load older statuses",
"no_retweet_hint": "Post is marked as followers-only or direct and cannot be repeated",
"repeated": "repeated",

View file

@ -48,7 +48,7 @@ const fetchAndUpdate = ({
.then((statuses) => {
// Change messaging if not public
if (statuses.error) {
store.dispatch('set403Error', { value: true })
store.dispatch('set403Error', { value: statuses.error })
return
}
if (!older && statuses.length >= 20 && !timelineData.loading && numStatusesBeforeFetch > 0) {