debian-mirror-gitlab/app/assets/javascripts/admin/users/constants.js

23 lines
755 B
JavaScript
Raw Normal View History

2021-03-11 19:13:27 +05:30
import { s__, __ } from '~/locale';
2021-03-08 18:12:59 +05:30
export const USER_AVATAR_SIZE = 32;
2021-03-11 19:13:27 +05:30
export const LENGTH_OF_USER_NOTE_TOOLTIP = 100;
export const I18N_USER_ACTIONS = {
edit: __('Edit'),
2021-09-30 23:02:18 +05:30
userAdministration: s__('AdminUsers|User administration'),
2021-03-11 19:13:27 +05:30
unlock: __('Unlock'),
block: s__('AdminUsers|Block'),
unblock: s__('AdminUsers|Unblock'),
approve: s__('AdminUsers|Approve'),
reject: s__('AdminUsers|Reject'),
deactivate: s__('AdminUsers|Deactivate'),
activate: s__('AdminUsers|Activate'),
ldapBlocked: s__('AdminUsers|Cannot unblock LDAP blocked users'),
delete: s__('AdminUsers|Delete user'),
deleteWithContributions: s__('AdminUsers|Delete user and contributions'),
2021-09-30 23:02:18 +05:30
ban: s__('AdminUsers|Ban user'),
unban: s__('AdminUsers|Unban user'),
2021-03-11 19:13:27 +05:30
};