Not so scary 500.html

This commit is contained in:
dump_stack() 2023-01-12 12:31:03 +00:00
parent ef3e171cd3
commit 187f5a0a8b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
2 changed files with 16 additions and 0 deletions

View File

@ -26,6 +26,7 @@ let
./patches/max-toot-chars-api.patch ./patches/max-toot-chars-api.patch
./patches/simple-form.patch ./patches/simple-form.patch
./patches/not-so-scary-500.patch
]; ];
postPatch = (import ./branding.nix { pkgs = pkgs; }).branding; postPatch = (import ./branding.nix { pkgs = pkgs; }).branding;
}; };

View File

@ -0,0 +1,15 @@
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 679e356b4..eee962a3f 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1062,8 +1062,8 @@ en:
title: Security verification failed
'429': Too many requests
'500':
- content: We're sorry, but something went wrong on our end.
- title: This page is not correct
+ content: It's all good. The server is just reloading because of the updates, patches, et cetera. We'll get back in 10-15 seconds.
+ title: This page is correct
'503': The page could not be served due to a temporary server failure.
noscript_html: To use the Mastodon web application, please enable JavaScript. Alternatively, try one of the <a href="%{apps_path}">native apps</a> for Mastodon for your platform.
existing_username_validator: