Merge pull request #5716 from owncloud/full-name
change 'Display Name' to more understandable 'Full Name', fix #5612
This commit is contained in:
commit
6e47828b45
|
@ -28,8 +28,8 @@ if(is_null($userstatus)) {
|
|||
|
||||
// Return Success story
|
||||
if( OC_User::setDisplayName( $username, $displayName )) {
|
||||
OC_JSON::success(array("data" => array( "message" => $l->t('Your display name has been changed.'), "username" => $username, 'displayName' => $displayName )));
|
||||
OC_JSON::success(array("data" => array( "message" => $l->t('Your full name has been changed.'), "username" => $username, 'displayName' => $displayName )));
|
||||
}
|
||||
else{
|
||||
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change display name"), 'displayName' => OC_User::getDisplayName($username) )));
|
||||
OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change full name"), 'displayName' => OC_User::getDisplayName($username) )));
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ if($_['displayNameChangeSupported']) {
|
|||
?>
|
||||
<form id="displaynameform">
|
||||
<fieldset class="personalblock">
|
||||
<h2><?php echo $l->t('Display Name');?></h2>
|
||||
<h2><?php echo $l->t('Full Name');?></h2>
|
||||
<input type="text" id="displayName" name="displayName" value="<?php p($_['displayName'])?>" />
|
||||
<span class="msg"></span>
|
||||
<input type="hidden" id="oldDisplayName" name="oldDisplayName" value="<?php p($_['displayName'])?>" />
|
||||
|
|
|
@ -85,7 +85,7 @@ $_['subadmingroups'] = array_flip($items);
|
|||
<th id='headerAvatar'></th>
|
||||
<?php endif; ?>
|
||||
<th id='headerName'><?php p($l->t('Username'))?></th>
|
||||
<th id="headerDisplayName"><?php p($l->t( 'Display Name' )); ?></th>
|
||||
<th id="headerDisplayName"><?php p($l->t( 'Full Name' )); ?></th>
|
||||
<th id="headerPassword"><?php p($l->t( 'Password' )); ?></th>
|
||||
<th id="headerGroups"><?php p($l->t( 'Groups' )); ?></th>
|
||||
<?php if(is_array($_['subadmins']) || $_['subadmins']): ?>
|
||||
|
@ -105,7 +105,7 @@ $_['subadmingroups'] = array_flip($items);
|
|||
<td class="name"><?php p($user["name"]); ?></td>
|
||||
<td class="displayName"><span><?php p($user["displayName"]); ?></span> <img class="svg action"
|
||||
src="<?php p(image_path('core', 'actions/rename.svg'))?>"
|
||||
alt="<?php p($l->t("change display name"))?>" title="<?php p($l->t("change display name"))?>"/>
|
||||
alt="<?php p($l->t("change full name"))?>" title="<?php p($l->t("change full name"))?>"/>
|
||||
</td>
|
||||
<td class="password"><span>●●●●●●●</span> <img class="svg action"
|
||||
src="<?php print_unescaped(image_path('core', 'actions/rename.svg'))?>"
|
||||
|
|
Loading…
Reference in New Issue