summaryrefslogtreecommitdiff
path: root/includes/view/User_view.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view/User_view.php')
-rw-r--r--includes/view/User_view.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 3d5cfd69..e092855a 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -799,7 +799,8 @@ function User_groups_render($user_groups)
{
$output = [];
foreach ($user_groups as $group) {
- $output[] = substr($group['Name'], 2);
+ $groupName = preg_replace('/(^\d+-)/', '', $group['Name']);
+ $output[] = __($groupName);
}
return div('col-md-3', [