feat: refs #7957 add tooltip and i18n support for search link in VnSearchbar component
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-12-16 17:42:28 +01:00
parent 6db44f158e
commit e08f718975
1 changed files with 9 additions and 1 deletions

View File

@ -152,7 +152,9 @@ async function search() {
class="cursor-pointer"
name="search"
size="sm"
/>
>
<QTooltip>{{ t('link') }}</QTooltip>
</QIcon>
</RouterLink>
<VnInput
id="searchbar"
@ -226,3 +228,9 @@ async function search() {
color: var(--vn-label-color);
}
</style>
<i18n>
en:
link: click to search, ctrl + click to open in a new tab, shift + click to open in a new window
es:
link: clic para buscar, ctrl + clic para abrir en una nueva pestaña, shift + clic para abrir en una nueva ventana
</i18n>