Final fixes / German translation for user-groups-listing
This commit is contained in:
@@ -131,7 +131,7 @@ class UserHelper extends Base
|
|||||||
'limited_list' => $limitedList,
|
'limited_list' => $limitedList,
|
||||||
'has_groups' => $total > 0,
|
'has_groups' => $total > 0,
|
||||||
'total' => $total,
|
'total' => $total,
|
||||||
'not_shown' => $total - count($limitedList),
|
'shown' => count($limitedList),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1418,7 +1418,7 @@ return array(
|
|||||||
'Enable global tags for this project' => 'Globale Schlagworte für dieses Projekt aktivieren',
|
'Enable global tags for this project' => 'Globale Schlagworte für dieses Projekt aktivieren',
|
||||||
'Group membership(s):' => 'Gruppen-Mitgliedschaft(en):',
|
'Group membership(s):' => 'Gruppen-Mitgliedschaft(en):',
|
||||||
'%s is a member of the following group(s): %s' => '%s ist Mitglied in der/den folgenden Gruppe(n): %s',
|
'%s is a member of the following group(s): %s' => '%s ist Mitglied in der/den folgenden Gruppe(n): %s',
|
||||||
// '%d/%d group(s) shown' => '',
|
'%d/%d group(s) shown' => '%d/%d Gruppe(n) angezeigt',
|
||||||
'Group membership(s):' => 'Gruppen Mitgliedschaft(en)',
|
'Group membership(s):' => 'Gruppen Mitgliedschaft(en)',
|
||||||
'Subtask creation or modification' => 'Teilaufgabe erstellen oder ändern',
|
'Subtask creation or modification' => 'Teilaufgabe erstellen oder ändern',
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
<?php if ($users_groups['has_groups']): ?>
|
<?php if ($users_groups['has_groups']): ?>
|
||||||
<span title="<?= $groups_list_tooltip ?>">
|
<span title="<?= $groups_list_tooltip ?>">
|
||||||
<i class="fa fa-fw fa-group" aria-hidden="true"></i><?= $this->text->implode(', ', $users_groups['limited_list']) ?>
|
<i class="fa fa-fw fa-group" aria-hidden="true"></i><?= $this->text->implode(', ', $users_groups['limited_list']) ?>
|
||||||
<?php if ($users_groups['not_shown'] > 0): ?>
|
<?php if ($users_groups['shown'] != $users_groups['total']): ?>
|
||||||
‑ <?= t('%d/%d group(s) shown', $users_groups['not_shown'], $users_groups['total']) ?>
|
‑ <?= t('%d/%d group(s) shown', $users_groups['shown'], $users_groups['total']) ?>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</span>
|
</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul class="panel">
|
<ul class="panel">
|
||||||
<li><?= t('Role:') ?> <strong><?= $this->user->getRoleName($user['role']) ?></strong></li>
|
<li><?= t('Role:') ?> <strong><?= $this->user->getRoleName($user['role']) ?></strong></li>
|
||||||
<li><?= t('Group membership(s):') ?> <strong><?= $this->user->getUsersGroupNames($user['id'])['full_list'] ?></strong></li>
|
<li><?= t('Group membership(s):') ?> <strong><?= implode(', ', $this->user->getUsersGroupNames($user['id'])['full_list']) ?></strong></li>
|
||||||
<li><?= t('Account type:') ?> <strong><?= $user['is_ldap_user'] ? t('Remote') : t('Local') ?></strong></li>
|
<li><?= t('Account type:') ?> <strong><?= $user['is_ldap_user'] ? t('Remote') : t('Local') ?></strong></li>
|
||||||
<li><?= $user['twofactor_activated'] == 1 ? t('Two factor authentication enabled') : t('Two factor authentication disabled') ?></li>
|
<li><?= $user['twofactor_activated'] == 1 ? t('Two factor authentication enabled') : t('Two factor authentication disabled') ?></li>
|
||||||
<li><?= t('Number of failed login:') ?> <strong><?= $user['nb_failed_login'] ?></strong></li>
|
<li><?= t('Number of failed login:') ?> <strong><?= $user['nb_failed_login'] ?></strong></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user