debian-mirror-gitlab/app/assets/javascripts/oauth_application/constants.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
955 B
JavaScript
Raw Normal View History

2023-06-20 00:43:36 +05:30
import { __, s__ } from '~/locale';
export const CONFIRM_MODAL = s__(
'AuthorizedApplication|Are you sure you want to renew this secret? Any applications using the old secret will no longer be able to authenticate with GitLab.',
);
export const CONFIRM_MODAL_TITLE = s__('AuthorizedApplication|Renew secret?');
export const COPY_SECRET = __('Copy secret');
export const DESCRIPTION_SECRET = __(
'This is the only time the secret is accessible. Copy the secret and store it securely.',
);
export const RENEW_SECRET = s__('AuthorizedApplication|Renew secret');
export const RENEW_SECRET_FAILURE = s__(
'AuthorizedApplication|There was an error trying to renew the application secret. Please try again.',
);
export const RENEW_SECRET_SUCCESS = s__(
'AuthorizedApplication|Application secret was successfully renewed.',
);
export const WARNING_NO_SECRET = __(
'The secret is only available when you create the application or renew the secret.',
);