]> git.mjollnir.org Git - moodle.git/commitdiff
Merged lang fix from stable
authormoodler <moodler>
Tue, 30 Nov 2004 03:48:13 +0000 (03:48 +0000)
committermoodler <moodler>
Tue, 30 Nov 2004 03:48:13 +0000 (03:48 +0000)
admin/lang.php

index 237502c110c2c9dd106fafc5d22d049c33404311..d062af6f7e4462b534190bee2c4bb3f093a67881 100644 (file)
         unset($string);
         include("$enlangdir/$currentfile");
         $enstring = $string;  
-        if ($currentlang != 'en') {
+        if ($currentlang != 'en' and $currentfile == 'moodle.php') {
             $enstring['thislanguage'] = "<< TRANSLATORS: Specify the name of your language here.  If possible use Unicode Numeric Character References >>";
             $enstring['thischarset'] = "<< TRANSLATORS: Specify the character set of your language here. Note that all text created while this language is active will be stored using this character set, so don't change it once you have set it. Example: iso-8859-1 >>";
             $enstring['thisdirection'] = "<< TRANSLATORS: This string specifies the direction of your text, either left-to-right or right-to-left.  Insert either 'ltr' or 'rtl' here. >>";