mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
b25b45aab4
i18nTextCollector takes an argument to restrict text collection to specific modules. This used to restrict by limiting the modules scanned by the text collector. But modules can actually provide translations for other modules (see for e.g. CMSMenu#provideI18nEntities) This patch changes the text collector to scan all modules, and then apply the restriction to the output |
||
---|---|---|
.. | ||
i18n.php | ||
i18nEntityProvider.php | ||
i18nRailsYamlAdapter.php | ||
i18nSSLegacyAdapter.php | ||
i18nTextCollector.php | ||
i18nTranslateAdapterInterface.php |