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
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
6db44f158e
commit
e08f718975
|
@ -152,7 +152,9 @@ async function search() {
|
||||||
class="cursor-pointer"
|
class="cursor-pointer"
|
||||||
name="search"
|
name="search"
|
||||||
size="sm"
|
size="sm"
|
||||||
/>
|
>
|
||||||
|
<QTooltip>{{ t('link') }}</QTooltip>
|
||||||
|
</QIcon>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
<VnInput
|
<VnInput
|
||||||
id="searchbar"
|
id="searchbar"
|
||||||
|
@ -226,3 +228,9 @@ async function search() {
|
||||||
color: var(--vn-label-color);
|
color: var(--vn-label-color);
|
||||||
}
|
}
|
||||||
</style>
|
</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>
|
||||||
|
|
Loading…
Reference in New Issue