This commit is contained in:
Kevin Decherf
2025-03-02 18:40:23 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ class ContentProxy
);
if (0 === \count($errors)) {
$entry->setLanguage($value);
$entry->setLanguage(\Locale::canonicalize($value));
return;
}

View File

@ -1581,7 +1581,7 @@ class EntryControllerTest extends WallabagTestCase
'zh',
],
'pt_BR' => [
'https://www.monpetitbresil.com/pages/quem-somos',
'https://www.gov.br/pt-br',
'pt_BR',
],
'es' => [