SelectInput.vue added translation

This commit is contained in:
Peter Papp
2021-04-15 11:23:58 +02:00
parent 6056e97463
commit 9105ce8bb1
2 changed files with 2 additions and 2 deletions

View File

@@ -672,5 +672,6 @@ return [
'og_image_description' => 'Image that appear when someone shares the content to Facebook or any other social medium. Preferred size is 1200x627',
'app_touch_icon' => 'App Touch Icon',
'app_touch_icon_description' => 'If user store bookmark on his phone screen, this icon appear in app thumbnail. Preferred size is 156x156',
'select_search_placeholder' => 'Search in list...',
]
];

View File

@@ -25,8 +25,7 @@
<transition name="slide-in">
<div class="input-options" v-if="isOpen">
<div v-if="options.length > 5" class="select-search">
<!--TODO: jazyk-->
<input v-model="query" ref="search" type="text" placeholder="Search in list..." class="search-input focus-border-theme">
<input v-model="query" ref="search" type="text" :placeholder="$t('select_search_placeholder')" class="search-input focus-border-theme">
</div>
<ul class="option-list">
<li class="option-item" @click="selectOption(option)" v-for="(option, i) in optionList" :key="i">