Added translation for Attempt quiz now
authormoodler <moodler>
Fri, 25 Oct 2002 08:15:03 +0000 (08:15 +0000)
committermoodler <moodler>
Fri, 25 Oct 2002 08:15:03 +0000 (08:15 +0000)
lang/en/quiz.php
mod/quiz/view.php

index 1407f01..ba4753a 100644 (file)
@@ -15,6 +15,7 @@ $string['answersingleno']  = "Multiple answers allowed";
 $string['attempt'] = "Attempt \$a";
 $string['attemptfirst'] = "First attempt";
 $string['attemptlast'] = "Last attempt";
+$string['attemptquiznow'] = "Attempt quiz now";
 $string['attempts'] = "Attempts";
 $string['attemptsallowed'] = "Attempts allowed";
 $string['attemptsunlimited'] = "Unlimited attempts";
index 52b7782..3a4090d 100644 (file)
                 }
                 echo "<BR>";
                 echo "<DIV align=CENTER>";
-                print_single_button("attempt.php", $options, $label="Attempt quiz now");
+                print_single_button("attempt.php", $options, get_string("attemptquiznow","forum"));
                 echo "</P>";
             }
         } else {