diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-11-06 17:20:43 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-11-06 17:20:43 +0400 |
commit | d62b683c6aacd804ffe82fa3de13855665856946 (patch) | |
tree | 6210234b95f2d4c5d354fecfecd747c2caa9717c /settings | |
parent | 3e5a5567eb8516f987b2f183980efa6a86be81ba (diff) |
change 'Display Name' to more understandable 'Full Name', fix #5612
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/changedisplayname.php | 4 | ||||
-rw-r--r-- | settings/templates/personal.php | 2 | ||||
-rw-r--r-- | settings/templates/users.php | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/settings/ajax/changedisplayname.php b/settings/ajax/changedisplayname.php index 4bb41fa3d3b..ef23826e50b 100644 --- a/settings/ajax/changedisplayname.php +++ b/settings/ajax/changedisplayname.php @@ -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) ))); } diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 6c758e659a8..9d21e18e73c 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -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'])?>" /> diff --git a/settings/templates/users.php b/settings/templates/users.php index f9d4f6ada5e..aabda0fac2f 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -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'))?>" |