From f020719a8429c54c7cbfb43bab26edad0701134d Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Wed, 14 Aug 2019 19:38:54 +0200 Subject: [PATCH] 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. --- extensions/lang-english/locale/core.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/extensions/lang-english/locale/core.yml b/extensions/lang-english/locale/core.yml index cb8beabaf..d2be135a5 100644 --- a/extensions/lang-english/locale/core.yml +++ b/extensions/lang-english/locale/core.yml @@ -461,12 +461,12 @@ core: # Translations in this namespace are displayed when Flarum encounters an error. error: - 403_message: You do not have permission to access this page. - 404_message: The page you requested could not be found. - 404_return_link: "Return to {forum}" - 419_message: You have been inactive for too long. - 419_return_link: Go back, to try again - 500_message: An error occurred while trying to load this page. + csrf_token_mismatch: You have been inactive for too long. + csrf_token_mismatch_return_link: Go back, to try again + forbidden: You do not have permission to access this page. + not_found: The page you requested could not be found. + not_found_return_link: "Return to {forum}" + unknown: An error occurred while trying to load this page. # Translations in this namespace are displayed by the basic HTML discussion index. index: