1
0
mirror of https://github.com/flarum/core.git synced 2025-08-16 13:24:11 +02:00

Update error keys to match based on exception type

...instead of status code. There are (or will be) multiple different
keys for similar errors with the same status code. In the future, we
will use the error's "type" (see flarum/core#1843) to distinguish them.

Refs flarum/core#1641.
This commit is contained in:
Franz Liedke
2019-08-14 19:38:54 +02:00
parent a8bd284c1a
commit f020719a84

View File

@@ -461,12 +461,12 @@ core:
# Translations in this namespace are displayed when Flarum encounters an error. # Translations in this namespace are displayed when Flarum encounters an error.
error: error:
403_message: You do not have permission to access this page. csrf_token_mismatch: You have been inactive for too long.
404_message: The page you requested could not be found. csrf_token_mismatch_return_link: Go back, to try again
404_return_link: "Return to {forum}" forbidden: You do not have permission to access this page.
419_message: You have been inactive for too long. not_found: The page you requested could not be found.
419_return_link: Go back, to try again not_found_return_link: "Return to {forum}"
500_message: An error occurred while trying to load this page. unknown: An error occurred while trying to load this page.
# Translations in this namespace are displayed by the basic HTML discussion index. # Translations in this namespace are displayed by the basic HTML discussion index.
index: index: