Commit 547f9a7b authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

makes the profile tag for the profile sideblock translatable

parent aec556d1
......@@ -90,6 +90,7 @@ $string['invitedgroups'] = 'groups invited to';
$string['logout'] = 'Logout';
$string['pendingfriend'] = 'pending friend';
$string['pendingfriends'] = 'pending friends';
$string['profile'] = 'profile';
// auth
$string['accessforbiddentoadminsection'] = 'You are forbidden from accessing the administration section';
......
......@@ -1678,7 +1678,7 @@ function profile_sideblock() {
INNER JOIN {view_tag} vt ON (vt.tag = ? AND vt.view = v.id)
WHERE v.owner = ?
ORDER BY v.title',
array('profile', $USER->get('id'))
array(get_string('profile'), $USER->get('id'))
);
$data['artefacts'] = get_records_sql_array(
'SELECT a.id, a.artefacttype, a.title
......@@ -1686,7 +1686,7 @@ function profile_sideblock() {
INNER JOIN {artefact_tag} at ON (a.id = at.artefact AND tag = ?)
WHERE a.owner = ?
ORDER BY a.title',
array('profile', $USER->get('id'))
array(get_string('profile'), $USER->get('id'))
);
return $data;
}
......
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