$string['profileeditfield'] = 'Editing profile field: $a';
$string['profilefields'] = 'User profile fields';
$string['profilefieldsize'] = 'Display size';
+$string['profilefieldtypemenu'] = 'Menu of choices';
+$string['profilefieldtypetext'] = 'Text input';
$string['profilefieldmaxlength'] = 'Maximum length';
$string['profileinvaliddata'] = 'Invalid value';
$string['profilelocked'] = 'Is this field locked?';
if ($dirlist = get_directory_list($CFG->dirroot.'/user/profile/field', '', false, true, false)) {
foreach ($dirlist as $type) {
- $datatypes[$type] = $type;
+ $datatypes[$type] = get_string('profilefieldtype'.$type, 'admin');
}
}
return $datatypes;