mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
efea4dbe94
Priority for translations was hardcoded, and hardcoded the project name as "mysite". This takes the order from a configuration property "module_prority". You can use standard config fragment before and after rules to make a module less or more important than anything else, with these tweaks: - Unless it has it's order explicitly defined, the "project" module (normally mysite) will be considered highest priority - There is an "other_modules" value in the order list which will be replaced by all the modules (except the project module) that don't have their order explicitly defined.