summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/alerts_settings/utils/error_messages.js
blob: 9a0644b4e22ccd9d445c711eea94f0500d6db8c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { s__, __ } from '~/locale';

export const DELETE_INTEGRATION_ERROR = s__(
  'AlertsIntegrations|The integration could not be deleted. Please try again.',
);

export const ADD_INTEGRATION_ERROR = s__(
  'AlertsIntegrations|The integration could not be added. Please try again.',
);

export const UPDATE_INTEGRATION_ERROR = s__(
  'AlertsIntegrations|The current integration could not be updated. Please try again.',
);

export const RESET_INTEGRATION_TOKEN_ERROR = s__(
  'AlertsIntegrations|The integration token could not be reset. Please try again.',
);

export const INTEGRATION_PAYLOAD_TEST_ERROR = s__(
  'AlertsIntegrations|Integration payload is invalid.',
);

export const INTEGRATION_INACTIVE_PAYLOAD_TEST_ERROR = s__(
  'AlertsIntegrations|The integration is currently inactive. Enable the integration to send the test alert.',
);

export const DEFAULT_ERROR = __('Something went wrong on our end.');