]> git.mjollnir.org Git - moodle.git/commitdiff
Added some instructions for translators on some important strings
authormoodler <moodler>
Fri, 10 Sep 2004 02:20:58 +0000 (02:20 +0000)
committermoodler <moodler>
Fri, 10 Sep 2004 02:20:58 +0000 (02:20 +0000)
admin/lang.php

index dedd53bbea12d1c054dd3294eb9f385f879e9a79..4c4e25a7dc2b04027b2ba2686e4e5a32ad7e25bd 100644 (file)
         unset($string);
         include("$enlangdir/$currentfile");
         $enstring = $string;  
+        if ($currentlang != 'en') {
+            $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. >>";
+            $enstring['parentlanguage'] = "<< TRANSLATORS: If your language has a Parent Language that Moodle should use when strings are missing from your language pack, then specify the code for it here.  If you leave this blank then English will be used.  Example: nl >>";
+        }
         ksort($enstring);
 
         unset($string);