import BulletListIcon from '../../../components/icons/BulletListIcon';
import DateFromNow from '../../../components/intl/DateFromNow';
import Avatar from '../../../components/ui/Avatar';
-import { translate } from '../../../helpers/l10n';
+import { translateWithParameters } from '../../../helpers/l10n';
import { IdentityProvider } from '../../../types/types';
import { User } from '../../../types/users';
import TokensFormModal from './TokensFormModal';
<ButtonIcon
className="js-user-tokens spacer-left button-small"
onClick={() => setOpenTokenForm(true)}
- tooltip={translate('users.update_tokens')}
+ tooltip={translateWithParameters('users.update_tokens')}
+ aria-label={translateWithParameters('users.update_tokens_for_x', user.name ?? user.login)}
>
<BulletListIcon />
</ButtonIcon>
className="thin nowrap text-middle"
>
<ButtonIcon
+ aria-label="users.update_tokens_for_x.One"
className="js-user-tokens spacer-left button-small"
onClick={[Function]}
tooltip="users.update_tokens"
className="thin nowrap text-middle"
>
<ButtonIcon
+ aria-label="users.update_tokens_for_x.One"
className="js-user-tokens spacer-left button-small"
onClick={[Function]}
tooltip="users.update_tokens"
users.update_users_groups=Update {0}'s group membership
users.update_groups=Update Groups
users.manage_user=Update {0}
-users.update_tokens=Update Tokens
+users.update_tokens=Update tokens
+users.update_tokens_for_x=Update tokens for user {0}
users.add=Add user
users.remove=Remove user
users.search_description=Search users by login or name