@eturnity/eturnity_reusable_components 9.37.6 → 9.37.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "9.37.6",
3
+ "version": "9.37.7",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -67,7 +67,7 @@
67
67
  </ModalBody>
68
68
  <ModalButtonContainer>
69
69
  <MainButton
70
- :text="$gettext('Cancel')"
70
+ :text="$gettext('cancel')"
71
71
  type="tertiary"
72
72
  variant="cancel"
73
73
  @click="closeDeleteModal"
@@ -418,7 +418,7 @@
418
418
  },
419
419
  barOptionLabel(value) {
420
420
  if (this.barOptionsType === 'add')
421
- return `${this.$gettext('Add')} ${value}`
421
+ return `${this.$gettext('add')} ${value}`
422
422
 
423
423
  return `${this.$gettext('Remove')} ${value}`
424
424
  },
@@ -132,7 +132,7 @@
132
132
  </SearchContainer>
133
133
  <Spinner v-if="optionsLoading" size="small" />
134
134
  <EmptyText v-else-if="!optionsLoading && !optionItems.length">
135
- {{ emptyText ? emptyText : $gettext('No components found.') }}
135
+ {{ emptyText ? emptyText : $gettext('no_components_found') }}
136
136
  </EmptyText>
137
137
  <OptionsItem
138
138
  v-for="(item, index) in optionItems"
@@ -117,7 +117,7 @@ describe('TableDropdown', () => {
117
117
 
118
118
  it('shows the default empty text when there are no options', () => {
119
119
  const wrapper = mountDropdown({ isOpen: true, optionItems: [] })
120
- expect(wrapper.text()).toContain('No components found.')
120
+ expect(wrapper.text()).toContain('no_components_found')
121
121
  })
122
122
 
123
123
  it('shows a custom empty text when provided', () => {