]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-7846 - use translatable strings for bulk messaging
authorpoltawski <poltawski>
Sun, 13 Jan 2008 12:21:47 +0000 (12:21 +0000)
committerpoltawski <poltawski>
Sun, 13 Jan 2008 12:21:47 +0000 (12:21 +0000)
merged from MOODLE_19_STABLE

user/messageselect.php

index fefe3a57cf7baad2b675e0f1774467b53f5e9570..368d6c1cd21f3091e02692ed77bae9b28bfc309e 100644 (file)
 <input type="hidden" name="id" value="'.$id.'" />
 <input type="hidden" name="format" value="'.$format.'" />
 ';
-                echo "<h3>".get_string('previewhtml')."</h3><div class=\"messagepreview\">\n".format_text(stripslashes($messagebody),$format)."\n</div>";
-                echo "\n<p align=\"center\"><input type=\"submit\" name=\"send\" value=\"Send\" /> <input type=\"submit\" name=\"edit\" value=\"Edit\" /></p>\n</form>";
+                echo "<h3>".get_string('previewhtml')."</h3><div class=\"messagepreview\">\n".format_text(stripslashes($messagebody),$format)."\n</div>\n";
+                echo '<p align="center"><input type="submit" name="send" value="'.get_string('sendmessage', 'message').'" />'."\n";
+                echo '<input type="submit" name="edit" value="'.get_string('edit').'" /></p>';
+                echo "\n</form>";
             } elseif ($send) {
                 $good = 1;
                 $teachers = array();