Commit abec3444 authored by Nigel McNie's avatar Nigel McNie
Browse files

Fix up title/default strings for uploading profile icons, broken by removing...

Fix up title/default strings for uploading profile icons, broken by removing the title string previously used for the files section.
parent ad13f035
......@@ -95,7 +95,7 @@ $string['emailingfailed'] = 'Profile saved, but emails were not sent to: %s';
// Profile icons
$string['editprofile'] = 'Edit Profile';
$string['profileicons'] = 'Profile Icons';
$string['default'] = 'Default';
$string['Default'] = 'Default';
$string['profileicon'] = 'Profile Icon';
$string['noimagesfound'] = 'No images found';
$string['uploadedprofileiconsuccessfully'] = 'Uploaded new profile icon successfully';
......@@ -109,5 +109,6 @@ $string['profileiconimagetoobig'] = 'The image you uploaded was too big (%sx%s p
$string['uploadingfile'] = 'uploading file...';
$string['uploadprofileicon'] = 'Upload Profile Icon';
$string['profileiconsiconsizenotice'] = 'You may upload up to <strong>five</strong> profile icons here, and choose one to be displayed as your default icon at any one time. Your icons must be between 16x16 and %sx%s pixels';
$string['Title'] = 'Title';
?>
......@@ -55,11 +55,11 @@ $settingsform = new Pieform(array(
'elements' => array(
'default' => array(
'type' => 'submit',
'value' => get_string('default')
'value' => get_string('Default', 'artefact.internal')
),
'delete' => array(
'type' => 'submit',
'value' => get_string('delete')
'value' => get_string('Delete', 'artefact.internal')
)
)
));
......@@ -79,7 +79,7 @@ $uploadform = pieform(array(
),
'title' => array(
'type' => 'text',
'title' => get_string('title'),
'title' => get_string('Title', 'artefact.internal'),
'help' => true,
),
'submit' => array(
......
......@@ -9,8 +9,8 @@
<table id="profileicons" class="hidden tablerenderer">
<thead>
<th>{str tag="image"}</th>
<th>{str tag="title"}</th>
<th>{str tag="default"}</th>
<th>{str tag="Title" section=artefact.internal}</th>
<th>{str tag="Default" section=artefact.internal}</th>
<th>{str tag="delete"}</th>
</thead>
<tbody>
......
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