Commit ea47410c authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

Correct homeinfo strings where necessary (Bug 892959)



The "Homepageinfo" and "Homeinfo" strings were not
consistent as they sometimes referred to the
dashboard. I changed them where needed.

Change-Id: I1061c5e662d76402d6041a6a0adffe9a698267bc
Signed-off-by: Kristina Hoeppner's avatarKristina D.C. Hoeppner <kristina@catalyst.net.nz>
parent 03ff102a
......@@ -97,8 +97,8 @@ $siteoptionform = array(
),
'homepageinfo' => array(
'type' => 'checkbox',
'title' => get_string('homepageinfo', 'admin'),
'description' => get_string('homepageinfodescription', 'admin'),
'title' => get_string('homepageinfo1', 'admin'),
'description' => get_string('homepageinfodescription1', 'admin'),
'defaultvalue' => get_config('homepageinfo'),
'disabled' => in_array('homepageinfo', $OVERRIDDEN),
),
......
......@@ -62,8 +62,8 @@ $string['enablemultipleblogsdescription'] = 'By default, you have one journal.
$string['hiderealname'] = 'Hide real name';
$string['hiderealnamedescription'] = 'Check this box if you have set a display name and do not want other users to be able to find you by your real name in user searches.';
$string['showhomeinfo1'] = 'Homepage information';
$string['showhomeinfodescription'] = 'Display information about how to use %s on the homepage.';
$string['showhomeinfo2'] = 'Dashboard information';
$string['showhomeinfodescription1'] = 'Display information about how to use %s on the dashboard.';
$string['showprogressbar'] = 'Profile completion progress bar';
$string['showprogressbardescription'] = 'Display progress bar and tips on how to complete your %s profile.';
......
......@@ -327,8 +327,8 @@ $string['embeddedcontentdescription'] = 'If you would like users to be able to e
$string['Everyone'] = 'Everyone';
$string['generatesitemap'] = 'Generate sitemap';
$string['generatesitemapdescription'] = 'Generate sitemap files from publicly accessible pages, groups and forum topics';
$string['homepageinfo'] = 'Show homepage information';
$string['homepageinfodescription'] = 'If checked, information about Mahara and how it is used will be displayed on the Mahara homepage. Logged-in users will have the option to disable it.';
$string['homepageinfo1'] = 'Show homepage / dashboard information';
$string['homepageinfodescription1'] = 'If checked, information about Mahara and how it is used will be displayed on the Mahara homepage. Logged-in users will have the option to disable it for their dashboard.';
$string['institutionautosuspend'] = 'Auto-suspend expired institutions';
$string['institutionautosuspenddescription'] = 'If checked, expired institutions will be automatically suspended.';
$string['institutionexpirynotification'] = 'Warning time for institution expiry';
......
<!-- @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later -->
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Show information about this site on the homepage</h3>
<p>If you ticked the checkbox, information about this site and what can be done with it will be displayed on the homepage above your dashboard items.</p>
<h3>Show information about this site on the dashboard</h3>
<p>If you ticked the checkbox, information about this site and what can be done with it will be displayed on your dashboard.</p>
<!-- @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later -->
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Show information about this site on the homepage</h3>
<p>If this checkbox is ticked, information about this site and what can be done with it will be displayed on the homepage above the user's dashboard items.</p>
<h3>Show information about this site on the dashboard</h3>
<p>If this checkbox is ticked, information about this site and what can be done with it will be displayed on the user's dashboard.</p>
<!-- @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later -->
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Show information about this site on the homepage</h3>
<p>If this checkbox is ticked, information about this site and what can be done with it will be displayed on the homepage above the users' dashboard items.</p>
<h3>Show information about this site on the dashboard</h3>
<p>If this checkbox is ticked, information about this site and what can be done with it will be displayed on the user's dashboard.</p>
......@@ -388,8 +388,8 @@ function general_account_prefs_form_elements($prefs) {
$elements['showhomeinfo'] = array(
'type' => 'checkbox',
'defaultvalue' => $prefs->showhomeinfo,
'title' => get_string('showhomeinfo1', 'account'),
'description' => get_string('showhomeinfodescription', 'account', hsc(get_config('sitename'))),
'title' => get_string('showhomeinfo2', 'account'),
'description' => get_string('showhomeinfodescription1', 'account', hsc(get_config('sitename'))),
'help' => 'true'
);
}
......
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