Final fixes / German translation for user-groups-listing
This commit is contained in:
parent
490bcd17d8
commit
a648a579cc
|
|
@ -131,7 +131,7 @@ class UserHelper extends Base
|
|||
'limited_list' => $limitedList,
|
||||
'has_groups' => $total > 0,
|
||||
'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',
|
||||
'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',
|
||||
// '%d/%d group(s) shown' => '',
|
||||
'%d/%d group(s) shown' => '%d/%d Gruppe(n) angezeigt',
|
||||
'Group membership(s):' => 'Gruppen Mitgliedschaft(en)',
|
||||
'Subtask creation or modification' => 'Teilaufgabe erstellen oder ändern',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
<?php if ($users_groups['has_groups']): ?>
|
||||
<span title="<?= $groups_list_tooltip ?>">
|
||||
<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): ?>
|
||||
‑ <?= t('%d/%d group(s) shown', $users_groups['not_shown'], $users_groups['total']) ?>
|
||||
<?php if ($users_groups['shown'] != $users_groups['total']): ?>
|
||||
‑ <?= t('%d/%d group(s) shown', $users_groups['shown'], $users_groups['total']) ?>
|
||||
<?php endif ?>
|
||||
</span>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
<ul class="panel">
|
||||
<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><?= $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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue