mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 09:43:51 -04:00
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).
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user