diff --git a/core/modules/config_translation/src/Access/ConfigTranslationFormAccess.php b/core/modules/config_translation/src/Access/ConfigTranslationFormAccess.php index e3877e9..f219d54 100644 --- a/core/modules/config_translation/src/Access/ConfigTranslationFormAccess.php +++ b/core/modules/config_translation/src/Access/ConfigTranslationFormAccess.php @@ -33,9 +33,9 @@ public function access(RouteMatchInterface $route_match, AccountInterface $accou $target_language = $this->languageManager->getLanguage($langcode); // Make sure that the target language is not locked, and that the target - // language is not the original submission language. Although technically - // configuration can be overlaid with translations in the same language, - // that is logically not a good idea. + // language is not the original submission language. Although + // technically configuration can be overlaid with translations in the + // same language, that is logically not a good idea. $access = !empty($target_language) && !$target_language->isLocked() && diff --git a/core/modules/config_translation/src/ConfigNamesMapper.php b/core/modules/config_translation/src/ConfigNamesMapper.php index f8f7ae0..545b5bf 100644 --- a/core/modules/config_translation/src/ConfigNamesMapper.php +++ b/core/modules/config_translation/src/ConfigNamesMapper.php @@ -401,7 +401,7 @@ public function getLangcode() { public function getLangcodeFromConfig($config_name) { // Default to English if no language code was provided in the file. // Although it is a best practice to include a language code, if the - // developer did not think about a multilingual use-case, we fall back + // developer did not think about a multilingual use case, we fall back // on assuming the file is English. return $this->configFactory->get($config_name)->get('langcode') ?: 'en'; } diff --git a/core/modules/config_translation/src/Controller/ConfigTranslationController.php b/core/modules/config_translation/src/Controller/ConfigTranslationController.php index fc10e7c..5f9d53a 100644 --- a/core/modules/config_translation/src/Controller/ConfigTranslationController.php +++ b/core/modules/config_translation/src/Controller/ConfigTranslationController.php @@ -154,7 +154,7 @@ public function itemPage(Request $request, RouteMatchInterface $route_match, $pl } catch (ConfigMapperLanguageException $exception) { $items = []; - foreach ($mapper->getconfigNames() as $config_name) { + foreach ($mapper->getConfigNames() as $config_name) { $langcode = $mapper->getLangcodeFromConfig($config_name); $items[] = $config_name . ': ' . $langcode; } diff --git a/core/modules/config_translation/src/Exception/ConfigMapperLanguageException.php b/core/modules/config_translation/src/Exception/ConfigMapperLanguageException.php index c66848a..f5910c9 100644 --- a/core/modules/config_translation/src/Exception/ConfigMapperLanguageException.php +++ b/core/modules/config_translation/src/Exception/ConfigMapperLanguageException.php @@ -1,13 +1,13 @@