Skip to content

Commit

Permalink
simplify i18n in mt-data-table-reset-filter-button
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Oct 22, 2024
1 parent c043d9d commit a79f1ba
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<button class="mt-data-table-reset-filter-button">
{{ t("mt-data-table-reset-filter-button.label", numberOfAppliedFilters) }}
{{ t("label", numberOfAppliedFilters) }}
</button>
</template>

Expand All @@ -14,14 +14,10 @@ defineProps<{
const { t } = useI18n({
messages: {
en: {
"mt-data-table-reset-filter-button": {
label: "Remove filter | Remove filters",
},
label: "Remove filter | Remove filters",
},
de: {
"mt-data-table-reset-filter-button": {
label: "Filter entfernen | Filter entfernen",
},
label: "Filter entfernen | Filter entfernen",
},
},
});
Expand Down

0 comments on commit a79f1ba

Please sign in to comment.