Fix missing translation for logged out users

This commit is contained in:
grandeljay 2022-06-09 11:56:24 +02:00
parent 8643b3ab55
commit 42261e5e51

View file

@ -111,7 +111,7 @@ $locales = array_filter(
$extension = pathinfo($value, PATHINFO_EXTENSION);
$filename = pathinfo($value, PATHINFO_FILENAME);
if ('po' === $extension && strlen($filename) > 2) {
if ('po' === $extension) {
return pathinfo($value, PATHINFO_FILENAME);
}
},