feat: tips for empty search result (#900)
This commit is contained in:
parent
7c83bd05a5
commit
509eec5f87
|
@ -87,6 +87,9 @@ const activate = () => {
|
||||||
:result="result"
|
:result="result"
|
||||||
:tabindex="focused ? 0 : -1"
|
:tabindex="focused ? 0 : -1"
|
||||||
/>
|
/>
|
||||||
|
<span v-if="query.length !== 0 && results.length === 0" block text-center text-sm text-secondary>
|
||||||
|
{{ t('search.search_empty') }}
|
||||||
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<SearchResultSkeleton />
|
<SearchResultSkeleton />
|
||||||
|
|
|
@ -148,7 +148,8 @@
|
||||||
"replying": "Antworten"
|
"replying": "Antworten"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "Suche nach Accounts & Hashtags"
|
"search_desc": "Suche nach Accounts & Hashtags",
|
||||||
|
"search_empty": "Nichts für diese Suchbegriffe gefunden"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -183,7 +183,8 @@
|
||||||
"update_available_short": "Update Elk"
|
"update_available_short": "Update Elk"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "Search for people & hashtags"
|
"search_desc": "Search for people & hashtags",
|
||||||
|
"search_empty": "Could not find anything for these search terms"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -230,7 +230,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "Search for people & hashtags"
|
"search_desc": "Search for people & hashtags",
|
||||||
|
"search_empty": "Could not find anything for these search terms"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -230,7 +230,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "Buscar personas y etiquetas"
|
"search_desc": "Buscar personas y etiquetas",
|
||||||
|
"search_empty": "No se pudo encontrar nada para estos términos de búsqueda"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -209,7 +209,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "Recherche de personnes & hashtags"
|
"search_desc": "Recherche de personnes & hashtags",
|
||||||
|
"search_empty": "Aucun résultat avec ces mots-clefs"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -187,7 +187,8 @@
|
||||||
"update_available_short": "Update Elk"
|
"update_available_short": "Update Elk"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "Zoek naar mensen & hashtags"
|
"search_desc": "Zoek naar mensen & hashtags",
|
||||||
|
"search_empty": "Deze zoektermen leveren geen resultaat op"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -205,7 +205,8 @@
|
||||||
"update_available_short": "Оновити Elk"
|
"update_available_short": "Оновити Elk"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "Пошук користувачів та хештеґів"
|
"search_desc": "Пошук користувачів та хештеґів",
|
||||||
|
"search_empty": "Не вдалося знайти нічого, що відповідає цим пошуковим термінам"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -203,7 +203,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "搜索用户或话题标签"
|
"search_desc": "搜索用户或话题标签",
|
||||||
|
"search_empty": "无法找到符合这些搜索词的任何内容"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
|
@ -178,7 +178,8 @@
|
||||||
"update_available_short": "更新鹿鳴"
|
"update_available_short": "更新鹿鳴"
|
||||||
},
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"search_desc": "搜索用戶或話題標籤"
|
"search_desc": "搜索用戶或話題標籤",
|
||||||
|
"search_empty": "無法找到符合搜尋條件之結果"
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"about": {
|
"about": {
|
||||||
|
|
Loading…
Reference in a new issue