i18n: Apply i18n to Web Search proxy tooltips

This commit is contained in:
Haodong Tian
2025-04-08 07:01:56 +00:00
parent b15adc63fe
commit 00f58658f7
53 changed files with 110 additions and 2 deletions

View File

@@ -481,8 +481,12 @@
<div class="flex items-center relative">
<Tooltip
content={webConfig.search.trust_env
? 'Use proxy designated by http_proxy and https_proxy environment variables to fetch page contents'
: 'Use no proxy to fetch page contents.'}
? $i18n.t(
'Use proxy designated by http_proxy and https_proxy environment variables to fetch page contents.'
)
: $i18n.t(
'Use no proxy to fetch page contents.'
)}
>
<Switch bind:state={webConfig.search.trust_env} />
</Tooltip>