diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-03 12:14:03 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-03 12:14:03 +0300 |
commit | ffe7c069a4e16f77b80c7159690a4c8060dd74d9 (patch) | |
tree | 10288a8a7073dad5d2bbe57b9bace1d03cbe45ed /app/assets/javascripts/projects/settings/constants.js | |
parent | 4d84411275a3e21204078ba6e39ccbf612b528f0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/projects/settings/constants.js')
-rw-r--r-- | app/assets/javascripts/projects/settings/constants.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/projects/settings/constants.js b/app/assets/javascripts/projects/settings/constants.js index f5591c43dc4..9cf1afd334f 100644 --- a/app/assets/javascripts/projects/settings/constants.js +++ b/app/assets/javascripts/projects/settings/constants.js @@ -1,3 +1,5 @@ +import { __ } from '~/locale'; + export const LEVEL_TYPES = { ROLE: 'role', USER: 'user', @@ -18,3 +20,8 @@ export const ACCESS_LEVELS = { }; export const ACCESS_LEVEL_NONE = 0; + +// must match shared_runners_setting in update_service.rb +export const CC_VALIDATION_REQUIRED_ERROR = __( + 'Shared runners enabled cannot be enabled until a valid credit card is on file', +); |