Browse Source

Standards

pull/3355/head
Hypolite Petovan 4 years ago
parent
commit
bf1199f2ea
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/pgettext.php

+ 1
- 1
include/pgettext.php View File

@ -44,7 +44,7 @@ function get_browser_language() {
// check if we have translations for the preferred languages and pick the 1st that has
for ($i=0; $i<count($lang_list); $i++) {
$lang = $lang_list[$i];
if($lang === 'en' || (file_exists("view/lang/$lang") && is_dir("view/lang/$lang"))) {
if ($lang === 'en' || (file_exists("view/lang/$lang") && is_dir("view/lang/$lang"))) {
$preferred = $lang;
break;
}


Loading…
Cancel
Save