From d62b683c6aacd804ffe82fa3de13855665856946 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 6 Nov 2013 14:20:43 +0100 Subject: [PATCH] change 'Display Name' to more understandable 'Full Name', fix #5612 --- settings/ajax/changedisplayname.php | 4 ++-- settings/templates/personal.php | 2 +- 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 4bb41fa3d3..ef23826e50 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 6c758e659a..9d21e18e73 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -55,7 +55,7 @@ if($_['displayNameChangeSupported']) { ?>
-

t('Display Name');?>

+

t('Full Name');?>

diff --git a/settings/templates/users.php b/settings/templates/users.php index f9d4f6ada5..aabda0fac2 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -85,7 +85,7 @@ $_['subadmingroups'] = array_flip($items); t('Username'))?> - t( 'Display Name' )); ?> + t( 'Full Name' )); ?> t( 'Password' )); ?> t( 'Groups' )); ?> @@ -105,7 +105,7 @@ $_['subadmingroups'] = array_flip($items); <?php p($l->t(" title="t("change display name"))?>"/> + alt="t("change full name"))?>" title="t("change full name"))?>"/> ●●●●●●●