From 20a3bd3e9c9231f079728ef93222d371681ec6b3 Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Tue, 4 Aug 2026 09:32:38 +0200 Subject: [PATCH 1/2] IBX-11774: Changed `location` into `locale` in user settings flash message --- src/bundle/Controller/UserSettingsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bundle/Controller/UserSettingsController.php b/src/bundle/Controller/UserSettingsController.php index 3f823782..ed305234 100644 --- a/src/bundle/Controller/UserSettingsController.php +++ b/src/bundle/Controller/UserSettingsController.php @@ -97,10 +97,12 @@ public function updateAction(Request $request, UpdateView $view) $this->userSettingService->setUserSetting($identifier, (string)$value['value']); } + $identifier = $data->getIdentifier(); + $this->actionResultHandler->success( /** @Desc("User settings '%identifier%' updated.") */ 'user_setting.update.success', - ['%identifier%' => $data->getIdentifier()], + ['%identifier%' => $identifier === 'location' ? 'locale' : $identifier], 'ibexa_user_settings' ); From eb8d080f7207ca70a23284072c4569725677ad30 Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Tue, 4 Aug 2026 11:28:40 +0200 Subject: [PATCH 2/2] IBX-11774: Comment --- src/bundle/Controller/UserSettingsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bundle/Controller/UserSettingsController.php b/src/bundle/Controller/UserSettingsController.php index ed305234..fbd4809b 100644 --- a/src/bundle/Controller/UserSettingsController.php +++ b/src/bundle/Controller/UserSettingsController.php @@ -102,6 +102,7 @@ public function updateAction(Request $request, UpdateView $view) $this->actionResultHandler->success( /** @Desc("User settings '%identifier%' updated.") */ 'user_setting.update.success', + // To avoid breaking BC promise we are simply replacing flash message instead of redefining configuration ['%identifier%' => $identifier === 'location' ? 'locale' : $identifier], 'ibexa_user_settings' );