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

feat: Graceful frontend extension initialization failure (#3349)

This commit is contained in:
Sami Mazouz
2022-04-03 22:17:57 +01:00
committed by GitHub
parent 4dfbaa3271
commit ca7055f5d0
5 changed files with 47 additions and 2 deletions

View File

@@ -534,6 +534,7 @@ core:
# These translations are displayed as error messages.
error:
dependent_extensions_message: "Cannot disable {extension} until the following dependent extensions are disabled: {extensions}"
extension_initialiation_failed_message: "{extension} failed to initialize, check the browser console for further information."
generic_message: "Oops! Something went wrong. Please reload the page and try again."
missing_dependencies_message: "Cannot enable {extension} until the following dependencies are enabled: {extensions}"
not_found_message: The requested resource was not found.