diff options
Diffstat (limited to 'app/assets/javascripts/visibility_level/constants.js')
-rw-r--r-- | app/assets/javascripts/visibility_level/constants.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/assets/javascripts/visibility_level/constants.js b/app/assets/javascripts/visibility_level/constants.js index e30982985b3..0d9ededc550 100644 --- a/app/assets/javascripts/visibility_level/constants.js +++ b/app/assets/javascripts/visibility_level/constants.js @@ -1,4 +1,4 @@ -import { __ } from '~/locale'; +import { __, s__ } from '~/locale'; export const VISIBILITY_LEVEL_PRIVATE_STRING = 'private'; export const VISIBILITY_LEVEL_INTERNAL_STRING = 'internal'; @@ -45,6 +45,12 @@ export const PROJECT_VISIBILITY_TYPE = { ), }; +export const ORGANIZATION_VISIBILITY_TYPE = { + [VISIBILITY_LEVEL_PUBLIC_STRING]: s__( + 'Organization|Public - The organization can be accessed without any authentication.', + ), +}; + export const VISIBILITY_TYPE_ICON = { [VISIBILITY_LEVEL_PUBLIC_STRING]: 'earth', [VISIBILITY_LEVEL_INTERNAL_STRING]: 'shield', |