]> source.dussan.org Git - nextcloud-server.git/commitdiff
change 'Display Name' to more understandable 'Full Name', fix #5612
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 6 Nov 2013 13:20:43 +0000 (14:20 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 6 Nov 2013 13:20:43 +0000 (14:20 +0100)
settings/ajax/changedisplayname.php
settings/templates/personal.php
settings/templates/users.php

index 4bb41fa3d3b1a146da9c107eea0221663892ea48..ef23826e50bddf0daa89d4795ae8a62acfd40149 100644 (file)
@@ -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) )));
 }
index 6c758e659a83b86afedf58829ef840e0d46ebca7..9d21e18e73cbeb6a25b33b1ae463dd3951ecdc1f 100644 (file)
@@ -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'])?>" />
index f9d4f6ada5eaf2b0484f2d64fd28c85e2ba3ba4c..aabda0fac2f0c80b23e6ddd472bf713493575ecd 100644 (file)
@@ -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'))?>"