about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-03-28 17:59:45 +0100
committerGitHub <noreply@github.com>2020-03-28 17:59:45 +0100
commit0d117c106aa72f78dd5cdd371849dd8ce3120198 (patch)
tree756c9a48d18fde716a6f57553a32d5f6e548d2b6 /config
parent7ddbbdea6d4591e6cfe032a0dd212703776e5bb4 (diff)
Fix 404 and 410 API errors being silently discarded in WebUI (#13279)
* Fix 404 and 410 API errors being silently discarded in WebUI

Fixes #13278

* Return more appropriate error when user replies to a deleted toot

* Please CodeClimate

* Fix 404/410 errors on fetching account timelines & identity proofs

* Refactor error handling

* Move error message string to statuses.errors
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 13f22d922..ef21fa54a 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1078,6 +1078,8 @@ en:
     disallowed_hashtags:
       one: 'contained a disallowed hashtag: %{tags}'
       other: 'contained the disallowed hashtags: %{tags}'
+    errors:
+      in_reply_not_found: The status you are trying to reply to does not appear to exist.
     language_detection: Automatically detect language
     open_in_web: Open in web
     over_character_limit: character limit of %{max} exceeded