Explorar o código

Changing the default from "en" to "en_US" to reflect the help file moves.

graf25 %!s(int64=23) %!d(string=hai) anos
pai
achega
e1babcb5b6
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/help.php

+ 3 - 3
src/help.php

@@ -119,18 +119,18 @@ if (isset($HTTP_REFERER)) {
 }
   
 if (!isset($squirrelmail_language)) {
-    $squirrelmail_language = 'en';
+    $squirrelmail_language = 'en_US';
 }
 
 if (file_exists("../help/$squirrelmail_language")) {
     $help_exists = true;
     $user_language = $squirrelmail_language;
-} else if (file_exists('../help/en')) {
+} else if (file_exists('../help/en_US')) {
     $help_exists = true;
     echo "<center><font color=\"$color[2]\">";
     printf (_("The help has not been translated to %s.  It will be displayed in English instead."), $languages[$squirrelmail_language]['NAME']);
     echo '</font></center><br>';
-    $user_language = 'en';
+    $user_language = 'en_US';
 } else {
     $help_exists = false;
     echo "<br><center><font color=\"$color[2]\">";