@@ -2,6 +2,7 @@ import * as React from "react"
22import { CaretUpIcon } from "@radix-ui/react-icons"
33import { Check , X } from "lucide-react"
44import { Fzf } from "fzf"
5+ import { useTranslation } from "react-i18next"
56
67import { cn } from "@/lib/utils"
78import { useRooPortal } from "./hooks/useRooPortal"
@@ -58,6 +59,7 @@ export const SelectDropdown = React.memo(
5859 } ,
5960 ref ,
6061 ) => {
62+ const { t } = useTranslation ( )
6163 const [ open , setOpen ] = React . useState ( false )
6264 const [ searchValue , setSearchValue ] = React . useState ( "" )
6365 const searchInputRef = React . useRef < HTMLInputElement > ( null )
@@ -212,8 +214,8 @@ export const SelectDropdown = React.memo(
212214 ref = { searchInputRef }
213215 value = { searchValue }
214216 onChange = { ( e ) => setSearchValue ( e . target . value ) }
215- placeholder = "Search..."
216- className = "w-full h-8 px-2 py-1 text-xs bg-vscode-input-background text-vscode-input-foreground border border-vscode-input-border rounded focus:outline-none focus:border-vscode-focusBorder "
217+ placeholder = { t ( "common:ui.search_placeholder" ) }
218+ className = "w-full h-8 px-2 py-1 text-xs bg-vscode-input-background text-vscode-input-foreground border border-vscode-input-border rounded focus:outline-0 "
217219 />
218220 { searchValue . length > 0 && (
219221 < div className = "absolute right-4 top-0 bottom-0 flex items-center justify-center" >
0 commit comments