Commit db2537cc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More lang strings

parent 79072fd3
......@@ -61,6 +61,10 @@ $string['jabberusername'] = 'Jabber Username';
$string['occupation'] = 'Occupation';
$string['industry'] = 'Industry';
// Field names for view user display
$string['principalemailaddress'] = 'Principal email';
$string['emailaddress'] = 'Alternative email';
$string['emailvalidation_subject'] = 'Email validation';
$string['emailvalidation_body'] = <<<EOF
......
......@@ -43,6 +43,8 @@ $string['prevpage'] = 'Previous page';
$string['firstpage'] = 'First page';
$string['lastpage'] = 'Last page';
$string['mainmenu'] = 'Main menu';
// auth
$string['accessforbiddentoadminsection'] = 'You are forbidden from accessing the administration section';
$string['accountexpired'] = 'Sorry, your account has expired';
......@@ -217,9 +219,10 @@ $string['nohelpfound'] = 'There was no help found for this item';
// Search
$string['search'] = 'Search';
$string['searchusers'] = 'Search users';
$string['query'] = 'Query';
$string['querydescription'] = 'The words to be searched for';
$string['results'] = 'Results';
$string['noresultsfound'] = 'No results found';
$string['resultsfor'] = 'Results matching "%s"';
?>
......@@ -42,7 +42,7 @@ else {
if ($field == 'email') { // There may be multiple email records
if ($emails = @get_rows('artefact_internal_profile_email', 'owner', $userid)) {
foreach ($emails as $email) {
$fieldname = $email['principal'] ? 'defaultemailaddress' : 'emailaddress';
$fieldname = $email['principal'] ? 'principalemailaddress' : 'emailaddress';
$profile[] = array('name' => $fieldname, 'value' => $email['email']);
}
}
......
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