diff --git a/web/src/components/input/InputWithTags.tsx b/web/src/components/input/InputWithTags.tsx index 1f9f17626..244cc0837 100644 --- a/web/src/components/input/InputWithTags.tsx +++ b/web/src/components/input/InputWithTags.tsx @@ -74,7 +74,7 @@ export default function InputWithTags({ setSearch, allSuggestions, }: InputWithTagsProps) { - const { t } = useTranslation(["views/search"]); + const { t, i18n } = useTranslation(["views/search"]); const { data: config } = useSWR("config", { revalidateOnFocus: false, }); @@ -900,12 +900,17 @@ export default function InputWithTags({ className="cursor-pointer" onSelect={() => handleSuggestionClick(suggestion)} > - {currentFilterType - ? formatFilterValues(currentFilterType, suggestion) - : t("filter.label." + suggestion)} - {" ("} - {suggestion} - {")"} + {i18n.language === "en" ? ( + suggestion + ) : ( + <> + {suggestion} {" ("} + {currentFilterType + ? formatFilterValues(currentFilterType, suggestion) + : t("filter.label." + suggestion)} + {")"} + + )} ))}