summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/members/components/action_dropdowns/constants.js
blob: 8ccfc57dc2846db8721beb0a41bfecf260c612a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { __, s__ } from '~/locale';

export const I18N = {
  actions: __('More actions'),
  disableTwoFactor: s__('Members|Disable two-factor authentication'),
  editPermissions: s__('Members|Edit permissions'),
  leaveGroup: __('Leave group'),
  removeMember: __('Remove member'),
  confirmDisableTwoFactor: s__(
    'Members|Are you sure you want to disable the two-factor authentication for %{userName}?',
  ),
  confirmNormalUserRemoval: s__(
    'Members|Are you sure you want to remove %{userName} from "%{group}"?',
  ),
  confirmOrphanedUserRemoval: s__(
    'Members|Are you sure you want to remove this orphaned member from "%{group}"?',
  ),
  personalProjectOwnerCannotBeRemoved: s__("Members|A personal project's owner cannot be removed."),
  lastGroupOwnerCannotBeRemoved: s__(
    'Members|A group must have at least one owner. To remove the member, assign a new owner.',
  ),
};