Localize custom pages and search page (#299)

* Localize custom pages and search page

* Fix FR translation for step
This commit is contained in:
sephrat
2021-04-14 18:06:54 +02:00
committed by GitHub
parent 2e339ee996
commit 4b09497c3d
7 changed files with 49 additions and 23 deletions

View File

@@ -10,11 +10,11 @@
mandatory
>
<v-btn :value="false">
Include
{{$t('search.include')}}
</v-btn>
<v-btn :value="true">
Exclude
{{$t('search.exclude')}}
</v-btn>
</v-btn-toggle>
<v-spacer></v-spacer>
@@ -28,10 +28,10 @@
mandatory
>
<v-btn :value="false">
And
{{$t('search.and')}}
</v-btn>
<v-btn :value="true">
Or
{{$t('search.or')}}
</v-btn>
</v-btn-toggle>
</v-toolbar>

View File

@@ -8,7 +8,7 @@
v-model="searchString"
outlined
color="primary accent-3"
placeholder="Placeholder"
:placeholder="$t('search.search-placeholder')"
append-icon="mdi-magnify"
>
</v-text-field>
@@ -16,7 +16,7 @@
<v-col cols="12" md="2" sm="12">
<v-text-field
class="mt-0 pt-0"
label="Max Results"
:label="$t('search.max-results')"
v-model="maxResults"
type="number"
outlined
@@ -26,7 +26,7 @@
<v-row dense class="mt-0 flex-row align-center justify-space-around">
<v-col>
<h3 class="pl-2 text-center headline">Category Filter</h3>
<h3 class="pl-2 text-center headline">{{$t('search.category-filter')}}</h3>
<FilterSelector class="mb-1" @update="updateCatParams" />
<CategoryTagSelector
:solo="true"
@@ -36,7 +36,7 @@
/>
</v-col>
<v-col>
<h3 class="pl-2 text-center headline">Tag Filter</h3>
<h3 class="pl-2 text-center headline">{{$t('search.tag-filter')}}</h3>
<FilterSelector class="mb-1" @update="updateTagParams" />
<CategoryTagSelector