Added extra translations to display mode

This commit is contained in:
Alexis
2024-09-05 17:46:32 +02:00
parent 6cfcde3b58
commit 49cb74df7d
4 changed files with 17 additions and 5 deletions

View File

@@ -18,7 +18,9 @@ const viewTypeTitle = computed(() => getViewTypeTitle(currentConfig.viewType))
</UiButton>
</UiDropdownMenuTrigger>
<UiDropdownMenuContent :side="'bottom'" :collision-padding="30">
<UiDropdownMenuLabel>Mode d'affichage</UiDropdownMenuLabel>
<UiDropdownMenuLabel>
{{ $t('ui.displayMode') }}
</UiDropdownMenuLabel>
<UiDropdownMenuSeparator />
<UiDropdownMenuItem
v-for="option in viewTypeOptions"

View File

@@ -298,7 +298,7 @@ function handleCategorySelect(e: (Category)) {
class="w-full"
>
<ComboboxAnchor as-child>
<ComboboxInput placeholder="Catégories" as-child>
<ComboboxInput :placeholder="$t('entity.categoriesNamePlural')" as-child>
<UiTagsInputInput
class="w-full px-3"
:class="selectedCategories.length > 0 ? 'mt-2' : ''"