|
3 | 3 | - SPDX-License-Identifier: AGPL-3.0-or-later |
4 | 4 | --> |
5 | 5 | <template> |
6 | | - <section :aria-roledescription="t('settings', 'Carousel')" :aria-labelledby="headingId ? `${headingId}` : undefined"> |
| 6 | + <section :aria-roledescription="t('appstore', 'Carousel')" :aria-labelledby="headingId ? `${headingId}` : undefined"> |
7 | 7 | <h3 v-if="headline" :id="headingId"> |
8 | 8 | {{ translatedHeadline }} |
9 | 9 | </h3> |
|
12 | 12 | <NcButton |
13 | 13 | class="app-discover-carousel__button app-discover-carousel__button--previous" |
14 | 14 | variant="tertiary-no-background" |
15 | | - :aria-label="t('settings', 'Previous slide')" |
| 15 | + :aria-label="t('appstore', 'Previous slide')" |
16 | 16 | :disabled="!hasPrevious" |
17 | 17 | @click="currentIndex -= 1"> |
18 | 18 | <template #icon> |
|
35 | 35 | <NcButton |
36 | 36 | class="app-discover-carousel__button app-discover-carousel__button--next" |
37 | 37 | variant="tertiary-no-background" |
38 | | - :aria-label="t('settings', 'Next slide')" |
| 38 | + :aria-label="t('appstore', 'Next slide')" |
39 | 39 | :disabled="!hasNext" |
40 | 40 | @click="currentIndex += 1"> |
41 | 41 | <template #icon> |
|
44 | 44 | </NcButton> |
45 | 45 | </div> |
46 | 46 | </div> |
47 | | - <div class="app-discover-carousel__tabs" role="tablist" :aria-label="t('settings', 'Choose slide to display')"> |
| 47 | + <div class="app-discover-carousel__tabs" role="tablist" :aria-label="t('appstore', 'Choose slide to display')"> |
48 | 48 | <NcButton |
49 | 49 | v-for="index of content.length" |
50 | 50 | :id="`${internalId}-tab-${index}`" |
51 | 51 | :key="index" |
52 | | - :aria-label="t('settings', '{index} of {total}', { index, total: content.length })" |
| 52 | + :aria-label="t('appstore', '{index} of {total}', { index, total: content.length })" |
53 | 53 | :aria-controls="`${internalId}-tabpanel-${index}`" |
54 | 54 | :aria-selected="`${currentIndex === (index - 1)}`" |
55 | 55 | role="tab" |
|
0 commit comments