mirror of https://github.com/BOINC/boinc.git
Fixes major bug in the translation system.
The bug caused the default language to be ignored if set to "English" regardless of whether this was done through the browser or through a cookie. svn path=/trunk/boinc/; revision=17012
This commit is contained in:
parent
db8f15e396
commit
a9e7cea54b
|
@ -154,6 +154,9 @@ function tra($text /* ...arglist... */){
|
|||
if (isset($language_lookup_array[$language][$text])) {
|
||||
$text = $language_lookup_array[$language][$text];
|
||||
break;
|
||||
} else if ($language=="en"){
|
||||
// This language is defined in the code and is always available
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue