Skip to content

Commit

Permalink
THE-1364 traduction bouton appliquer les filtre + v-chips pages resul…
Browse files Browse the repository at this point in the history
…tats
  • Loading branch information
clementdelafontaine committed Oct 14, 2024
1 parent 3fc4422 commit 1578379
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion components/common/results/FacetsChips.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,16 @@
</label>
<label v-else :id="'facet-chip-' + facet.label" class="chip-label" :title="$t('results.chips.suppress') + facet.label">
<p class="sr-only">{{ $t('results.chips.suppress') }}</p>
{{ facet.label }}
{{ $t(facet.label) }}
</label>
</v-chip>
</div>
</template>

<script setup>
import { useI18n} from "vue-i18n";
const { t } = useI18n();
const { setWorkingFacetName, updateFilterData } = useStrategyAPI();
defineProps({
Expand Down
3 changes: 1 addition & 2 deletions components/common/results/FacetsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
:index="index"
>
</CommonResultsFacetDrawer>
<v-btn v-if="mobile" class="filters-btn" variant="outlined" color="primary" @click="closeOverlay">Appliquer les
filtres</v-btn>
<v-btn v-if="mobile" class="filters-btn" variant="outlined" color="primary" @click="closeOverlay">{{ $t('results.facet.applyFilters') }}</v-btn>
<v-skeleton-loader v-if="loading" v-for="i in 6" :key="i" type="list-item" class="skeleton"></v-skeleton-loader>
</div>
</template>
Expand Down
3 changes: 2 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@
"Domaines thématiques": "Thematic areas",
"Disciplines": "Disciplines",
"Langues": "Languages",
"Rôles": "Role"
"Rôles": "Role",
"applyFilters": "Apply filters"
}
},
"En préparation": "In preparation",
Expand Down
3 changes: 2 additions & 1 deletion locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
"Domaines thématiques": "Áreas temáticas",
"Disciplines": "Disciplinas",
"Langues": "Idiomas",
"Rôles": "Función"
"Rôles": "Función",
"applyFilters": "Aplicar filtros"
}
},
"En préparation": "En preparación",
Expand Down
3 changes: 2 additions & 1 deletion locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@
"Domaines thématiques": "Domaines thématiques",
"Disciplines": "Disciplines",
"Langues": "Langues",
"Rôles": "Rôles"
"Rôles": "Rôles",
"applyFilters": "Appliquer les filtres"
}
},
"En préparation": "En préparation",
Expand Down

0 comments on commit 1578379

Please sign in to comment.