summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-02-14 19:26:34 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-02-14 19:26:34 -0800
commit409121942590e12692eaf4e6e9e8b71bfe5ed60c (patch)
treeb7dc7ce68fa89008a583b01b4e4f79445d2e8788 /modules/gallery/views
parent667d65aea460ea601858c54976495d294d93f017 (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/gallery/views')
-rw-r--r--modules/gallery/views/permissions_form.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/permissions_form.html.php b/modules/gallery/views/permissions_form.html.php
index f1714119..b486acb7 100644
--- a/modules/gallery/views/permissions_form.html.php
+++ b/modules/gallery/views/permissions_form.html.php
@@ -5,7 +5,7 @@
<tr>
<th> </th>
<? foreach ($groups as $group): ?>
- <th> <?= html::clean($group->name) ?> </th>
+ <th> <?= html::clean(t($group->name)) ?> </th>
<? endforeach ?>
</tr>