summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_merge_request_widget/components/approvals/messages.js
blob: 1d9368f71aabbafaddf6384798faeba1faf3350a (plain)
1
2
3
4
5
6
7
8
9
10
11
import { __, s__ } from '~/locale';

export const FETCH_LOADING = __('Checking approval status');
export const FETCH_ERROR = s__(
  'mrWidget|An error occurred while retrieving approval data for this merge request.',
);
export const APPROVE_ERROR = s__('mrWidget|An error occurred while submitting your approval.');
export const UNAPPROVE_ERROR = s__('mrWidget|An error occurred while removing your approval.');
export const APPROVED_MESSAGE = s__('mrWidget|Merge request approved.');
export const OPTIONAL_CAN_APPROVE = s__('mrWidget|No approval required; you can still approve');
export const OPTIONAL = s__('mrWidget|No approval required');