diff --git a/src/lib/Form/ChoiceList/Loader/AvailableLocaleChoiceLoader.php b/src/lib/Form/ChoiceList/Loader/AvailableLocaleChoiceLoader.php index 5f7a9ee..79585d3 100644 --- a/src/lib/Form/ChoiceList/Loader/AvailableLocaleChoiceLoader.php +++ b/src/lib/Form/ChoiceList/Loader/AvailableLocaleChoiceLoader.php @@ -23,7 +23,7 @@ class AvailableLocaleChoiceLoader implements ChoiceLoaderInterface * * Acholi dialect is used by In-Context translation and should not be present on the list of available translations. */ - private const array EXCLUDED_TRANSLATIONS = ['ach']; + private const array EXCLUDED_TRANSLATIONS = ['ach-UG']; private ValidatorInterface $validator; diff --git a/tests/lib/Form/Type/ChoiceList/Loader/AvailableLocaleChoiceLoaderTest.php b/tests/lib/Form/Type/ChoiceList/Loader/AvailableLocaleChoiceLoaderTest.php index d99d91d..2a92ba1 100644 --- a/tests/lib/Form/Type/ChoiceList/Loader/AvailableLocaleChoiceLoaderTest.php +++ b/tests/lib/Form/Type/ChoiceList/Loader/AvailableLocaleChoiceLoaderTest.php @@ -97,7 +97,7 @@ public function providerForGetChoiceList(): array ], ], 'acholi_exlusion' => [ - ['en', 'ach'], + ['en', 'ach-UG'], [], [ 'English' => 'en',