summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/invite_members/constants.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-15 21:09:52 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-15 21:09:52 +0000
commita2fd863d3be23fee66ec7036b8febb2605c17767 (patch)
tree27eb2c778723397d6326c72cd13e953bf9cb2564 /app/assets/javascripts/invite_members/constants.js
parentefbd20fd1ecd091f1270f73d617822a32c94376f (diff)
downloadgitlab-ce-a2fd863d3be23fee66ec7036b8febb2605c17767.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/invite_members/constants.js')
-rw-r--r--app/assets/javascripts/invite_members/constants.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/invite_members/constants.js b/app/assets/javascripts/invite_members/constants.js
index 6a0be3fc75b..1ceb63e2146 100644
--- a/app/assets/javascripts/invite_members/constants.js
+++ b/app/assets/javascripts/invite_members/constants.js
@@ -79,6 +79,8 @@ export const HEADER_CLOSE_LABEL = s__('InviteMembersModal|Close invite team memb
export const MEMBER_ERROR_LIST_TEXT = s__(
'InviteMembersModal|Review the invite errors and try again:',
);
+export const COLLAPSED_ERRORS = s__('InviteMembersModal|Show more (%{count})');
+export const EXPANDED_ERRORS = s__('InviteMembersModal|Show less');
export const MEMBER_MODAL_LABELS = {
modal: {
@@ -115,6 +117,8 @@ export const MEMBER_MODAL_LABELS = {
},
toastMessageSuccessful: TOAST_MESSAGE_SUCCESSFUL,
memberErrorListText: MEMBER_ERROR_LIST_TEXT,
+ collapsedErrors: COLLAPSED_ERRORS,
+ expandedErrors: EXPANDED_ERRORS,
};
export const GROUP_MODAL_LABELS = {