diff options
| author | Wyatt Benno <wyattbenno@gmail.com> | 2019-12-06 09:38:55 +0900 |
|---|---|---|
| committer | Wyatt Benno <wyattbenno@gmail.com> | 2019-12-06 09:38:55 +0900 |
| commit | 01855f315c7db813d7bbf2f3683017819d2fb70c (patch) | |
| tree | cb7fec6ee3615e8e88ffb5854b98580b0c0649ac /src | |
| parent | 13fc2612ae388dec682829ae2b6211bb3cb8ccb3 (diff) | |
Wording updates
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/timeline/timeline.vue | 2 | ||||
| -rw-r--r-- | src/i18n/en.json | 3 | ||||
| -rw-r--r-- | src/services/timeline_fetcher/timeline_fetcher.service.js | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index 1c45d0f6..e4d453b8 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -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 diff --git a/src/i18n/en.json b/src/i18n/en.json index c203e156..1dd99062 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -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", diff --git a/src/services/timeline_fetcher/timeline_fetcher.service.js b/src/services/timeline_fetcher/timeline_fetcher.service.js index 9352d73a..b7952050 100644 --- a/src/services/timeline_fetcher/timeline_fetcher.service.js +++ b/src/services/timeline_fetcher/timeline_fetcher.service.js @@ -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) { |
