diff options
author | Andy Staudacher <andy.st@gmail.com> | 2010-02-14 19:26:34 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2010-02-14 19:26:34 -0800 |
commit | 409121942590e12692eaf4e6e9e8b71bfe5ed60c (patch) | |
tree | b7dc7ce68fa89008a583b01b4e4f79445d2e8788 /modules/user/models | |
parent | 667d65aea460ea601858c54976495d294d93f017 (diff) |
Fix for ticket #491: Make user and group names translatable.
Also fixed a UI bug: No longer showing the edit user buttons to admins in the profile view (to be consistent with the requirements in the controller).
Diffstat (limited to 'modules/user/models')
-rw-r--r-- | modules/user/models/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/models/user.php b/modules/user/models/user.php index 4404ee63..aa752203 100644 --- a/modules/user/models/user.php +++ b/modules/user/models/user.php @@ -113,7 +113,7 @@ class User_Model extends ORM implements User_Definition { * @return string */ public function display_name() { - return empty($this->full_name) ? $this->name : $this->full_name; + return empty($this->full_name) ? $this->name : t($this->full_name); } /** |