Commit 297682ec authored by Penny Leach's avatar Penny Leach
Browse files

language strings

parent df75fda6
......@@ -47,6 +47,7 @@ $loadingstring = get_string('upgradeloading', 'admin');
$installsuccessstring = get_string('installsuccess', 'admin');
$successstring = get_string('upgradesuccess', 'admin');
$failurestring = get_string('upgradefailure', 'admin');
$coresuccess = get_string('coredatasuccess', 'admin');
// Check if Mahara is being installed. An extra hook is required to insert core
// data if so.
......@@ -59,7 +60,7 @@ if (!empty($upgrades['core']->install)) {
d.addCallbacks(function (data) {
if ( data.success ) {
var message = 'Successfully installed core data';
var message = '{$coresuccess}';
$('coredata').innerHTML = '<img src="{$successicon}" alt=":)" /> ' + message;
$('finished').style.visibility = 'visible';
}
......
......@@ -38,6 +38,7 @@ $string['release'] = 'Release %s (%s)';
$string['component'] = 'Component or plugin';
$string['continue'] = 'Continue';
$string['coredata'] = 'core data';
$string['coredatasuccess'] = 'Successfully installed core data';
$string['fromversion'] = 'From version';
$string['installsuccess'] = 'Successfully installed version ';
$string['toversion'] = 'To version';
......
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