1
0

feat: tips for empty search result (#900)

This commit is contained in:
洪布斯 2023-01-09 15:50:07 +08:00 committed by GitHub
parent 7c83bd05a5
commit 509eec5f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 9 deletions

View File

@ -87,6 +87,9 @@ const activate = () => {
:result="result"
: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>
<div v-else>
<SearchResultSkeleton />

View File

@ -148,7 +148,8 @@
"replying": "Antworten"
},
"search": {
"search_desc": "Suche nach Accounts & Hashtags"
"search_desc": "Suche nach Accounts & Hashtags",
"search_empty": "Nichts für diese Suchbegriffe gefunden"
},
"settings": {
"about": {

View File

@ -183,7 +183,8 @@
"update_available_short": "Update Elk"
},
"search": {
"search_desc": "Search for people & hashtags"
"search_desc": "Search for people & hashtags",
"search_empty": "Could not find anything for these search terms"
},
"settings": {
"about": {

View File

@ -230,7 +230,8 @@
}
},
"search": {
"search_desc": "Search for people & hashtags"
"search_desc": "Search for people & hashtags",
"search_empty": "Could not find anything for these search terms"
},
"settings": {
"about": {

View File

@ -230,7 +230,8 @@
}
},
"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": {
"about": {

View File

@ -209,7 +209,8 @@
}
},
"search": {
"search_desc": "Recherche de personnes & hashtags"
"search_desc": "Recherche de personnes & hashtags",
"search_empty": "Aucun résultat avec ces mots-clefs"
},
"settings": {
"about": {

View File

@ -187,7 +187,8 @@
"update_available_short": "Update Elk"
},
"search": {
"search_desc": "Zoek naar mensen & hashtags"
"search_desc": "Zoek naar mensen & hashtags",
"search_empty": "Deze zoektermen leveren geen resultaat op"
},
"settings": {
"about": {

View File

@ -205,7 +205,8 @@
"update_available_short": "Оновити Elk"
},
"search": {
"search_desc": "Пошук користувачів та хештеґів"
"search_desc": "Пошук користувачів та хештеґів",
"search_empty": "Не вдалося знайти нічого, що відповідає цим пошуковим термінам"
},
"settings": {
"about": {

View File

@ -203,7 +203,8 @@
}
},
"search": {
"search_desc": "搜索用户或话题标签"
"search_desc": "搜索用户或话题标签",
"search_empty": "无法找到符合这些搜索词的任何内容"
},
"settings": {
"about": {

View File

@ -178,7 +178,8 @@
"update_available_short": "更新鹿鳴"
},
"search": {
"search_desc": "搜索用戶或話題標籤"
"search_desc": "搜索用戶或話題標籤",
"search_empty": "無法找到符合搜尋條件之結果"
},
"settings": {
"about": {