Commit 038fdd64 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Lang string

parent 8a2e238f
......@@ -85,7 +85,7 @@ $contactform = pieform(array(
),
'submit' => array(
'type' => 'submit',
'value' => get_string('submitcontactinformation')
'value' => get_string('sendmessage')
),
)
));
......@@ -101,7 +101,7 @@ function contactus_submit(Pieform $form, $values) {
}
require_once('activity.php');
activity_occurred('contactus', $data);
$form->json_reply(PIEFORM_OK, get_string('contactinformationsent'));
$form->json_reply(PIEFORM_OK, get_string('messagesent'));
}
$pagecontent = <<<EOF
......
......@@ -223,10 +223,10 @@ $string['name'] = 'Name';
$string['email'] = 'Email';
$string['subject'] = 'Subject';
$string['message'] = 'Message';
$string['submitcontactinformation'] = 'Submit contact information';
$string['messagesent'] = 'Your message has been sent';
$string['sendmessage'] = 'Send message';
$string['nosendernamefound'] = 'No sender name was submitted';
$string['emailnotsent'] = 'Failed to send contact email. Error message: "%s"';
$string['contactinformationsent'] = 'Your contact information has been sent';
// mahara.js
$string['namedfieldempty'] = 'The required field "%s" is empty';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment