Fix change from pattern to en_us.xml hardcoded

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Vincent Dumas
2026-07-08 09:43:07 +02:00
committed by v-dumas
parent 65d15784f4
commit 80f44b016c

View File

@@ -316,7 +316,7 @@ abstract class ModuleInstallerAPI
* @param string $sPreviousVersion The previous version of the module (empty string in case of first install)
* @param string $sCurrentVersion The current version of the module
* @param string $sFirstLoadingVersion The first module version for which the data loading should be performed (e.g. '3.0.0')
* @param string $sDefaultFileName The pattern of the file to load, with {{language_code}} as placeholder for the language code (e.g. 'data.sample.{{language_code}}.xml')
* @param string $sDefaultFileName The default (en_us) file to load, ending with '.en_us.xml' (e.g. 'data.sample.en_us.xml'); the localized variant for the configured language is used when available
*
* @return void
* @throws \ConfigException