summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/feature_flags/components/user_lists_table.vue
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/feature_flags/components/user_lists_table.vue')
-rw-r--r--app/assets/javascripts/feature_flags/components/user_lists_table.vue7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/assets/javascripts/feature_flags/components/user_lists_table.vue b/app/assets/javascripts/feature_flags/components/user_lists_table.vue
index 0bfd18f992c..765f59228a6 100644
--- a/app/assets/javascripts/feature_flags/components/user_lists_table.vue
+++ b/app/assets/javascripts/feature_flags/components/user_lists_table.vue
@@ -7,7 +7,7 @@ import {
GlTooltipDirective,
GlModalDirective,
} from '@gitlab/ui';
-import { s__, sprintf } from '~/locale';
+import { __, s__, sprintf } from '~/locale';
import timeagoMixin from '~/vue_shared/mixins/timeago';
export default {
@@ -24,11 +24,12 @@ export default {
createdTimeagoLabel: s__('UserList|created %{timeago}'),
deleteListTitle: s__('UserList|Delete %{name}?'),
deleteListMessage: s__('User list %{name} will be removed. Are you sure?'),
+ editUserListLabel: s__('FeatureFlags|Edit User List'),
},
modal: {
id: 'deleteListModal',
actionPrimary: {
- text: s__('Delete user list'),
+ text: __('Delete user list'),
attributes: { variant: 'danger', 'data-testid': 'modal-confirm' },
},
},
@@ -93,6 +94,7 @@ export default {
:href="list.path"
category="secondary"
icon="pencil"
+ :aria-label="$options.translations.editUserListLabel"
data-testid="edit-user-list"
/>
<gl-button
@@ -100,6 +102,7 @@ export default {
category="secondary"
variant="danger"
icon="remove"
+ :aria-label="$options.modal.actionPrimary.text"
data-testid="delete-user-list"
@click="confirmDeleteList(list)"
/>