Fix uncaught parameter missing exceptions and missing error templates (#11702)

This commit is contained in:
Eugen Rochko
2019-08-30 01:34:47 +02:00
committed by GitHub
parent 8ee4a2892c
commit 22ce4778eb
8 changed files with 41 additions and 3 deletions

View File

@ -652,8 +652,10 @@ en:
domain_validator:
invalid_domain: is not a valid domain name
errors:
'400': The request you submitted was invalid or malformed.
'403': You don't have permission to view this page.
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
content: Security verification failed. Are you blocking cookies?
@ -662,6 +664,7 @@ en:
'500':
content: We're sorry, but something went wrong on our end.
title: This page is not 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:
not_found: could not find a local user with that username