I18n: fix typo

This commit is contained in:
Benjamin Renard 2024-12-12 22:29:15 +01:00
parent bc11f6784c
commit 6f47b2aea7

View file

@ -183,7 +183,7 @@ class I18n {
*/
public static function get_available_langs($as_locales=false) {
if (!is_dir(self :: $root_path))
Log :: fatal("Root land directory not found (%s)", self :: $root_path);
Log :: fatal("Root languages directory not found (%s)", self :: $root_path);
$langs = array(($as_locales?'en_US.UTF8':'en'));
if ($dh = opendir(self :: $root_path)) {
while (($file = readdir($dh)) !== false) {