Commit 92d744a4 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More language strings

parent 592af108
......@@ -52,8 +52,8 @@ $f = array(
'type' => 'wysiwyg',
'rows' => 20,
'cols' => 80,
'title' => get_string('pagecontent'),
'description' => get_string('textdesc'),
'title' => get_string('pagetext'),
'description' => get_string('pagecontents'),
'value' => '',
'rules' => array(
'required' => true
......@@ -131,7 +131,7 @@ function onLoad() {
addLoadEvent(onLoad);
EOJS;
$jsstrings = array('requiredfieldempty','noresponse');
$jsstrings = array('discardchanges');
$smarty = smarty($js,array(),$jsstrings);
$smarty->assign('pageeditform', $form);
......
......@@ -44,6 +44,17 @@ $string['usernamedesc'] = 'Your username';
$string['usernamehelp'] = 'The username you have been given to access this system.';
$string['cancel'] = 'Cancel';
// Admin site page editor
$string['discardchanges'] = 'Discard your changes to this page?';
$string['pagecontents'] = 'Text to appear on the page';
$string['pagename'] = 'Page name';
$string['pagetext'] = 'Page text';
// mahara.js
$string['processingform'] = 'Processing form';
$string['requiredfieldempty'] = 'A required field is empty';
$string['unknownerror'] = 'An unknown error occurred (0x20f91a0)';
// menu
$string['home'] = 'Home';
$string['mycontacts'] = 'My Contacts';
......@@ -59,6 +70,7 @@ $string['mycommunities'] = 'My Communities';
$string['myownedcommunities'] = 'My Owned Communities';
$string['mygroups'] = 'My Groups';
// mycontacts
// mygroups
......
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