From 80f44b016cb502e8b36e27d67f04ad2d07ccde74 Mon Sep 17 00:00:00 2001 From: Vincent Dumas <42336698+v-dumas@users.noreply.github.com> Date: Wed, 8 Jul 2026 09:43:07 +0200 Subject: [PATCH] Fix change from pattern to en_us.xml hardcoded Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- setup/moduleinstaller.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/moduleinstaller.class.inc.php b/setup/moduleinstaller.class.inc.php index 62d5f0907a..bb304e34ff 100644 --- a/setup/moduleinstaller.class.inc.php +++ b/setup/moduleinstaller.class.inc.php @@ -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