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" 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

View file

@ -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",

View file

@ -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) {