feat: update search result description translation

This commit is contained in:
Ayo Ayco 2025-04-25 20:48:45 +02:00
parent faa04343e9
commit c337e1fa4b
2 changed files with 2 additions and 1 deletions

View file

@ -227,6 +227,7 @@
"modify_account": "Modify lists with account", "modify_account": "Modify lists with account",
"remove_account": "Remove account from list", "remove_account": "Remove account from list",
"save": "Save changes", "save": "Save changes",
"search_following_desc": "Search for people you are following",
"search_following_placeholder": "Search among people you follow" "search_following_placeholder": "Search among people you follow"
}, },
"magic_keys": { "magic_keys": {

View file

@ -110,7 +110,7 @@ function removeAccount(account: mastodon.v1.Account) {
<div left-0 top-18 absolute w-full z-10 group-focus-within="pointer-events-auto visible" invisible pointer-events-none> <div left-0 top-18 absolute w-full z-10 group-focus-within="pointer-events-auto visible" invisible pointer-events-none>
<div w-full bg-base border="~ dark" rounded-3 max-h-100 overflow-auto :class="results.length === 0 ? 'py2' : null"> <div w-full bg-base border="~ dark" rounded-3 max-h-100 overflow-auto :class="results.length === 0 ? 'py2' : null">
<span v-if="query.trim().length === 0" block text-center text-sm text-secondary> <span v-if="query.trim().length === 0" block text-center text-sm text-secondary>
{{ $t('search.search_desc') }} {{ $t('list.search_following_desc') }}
</span> </span>
<template v-else-if="!loading"> <template v-else-if="!loading">
<template v-if="results.length > 0"> <template v-if="results.length > 0">