"use client"; import { ExternalLink } from "lucide-react"; import { useI18n } from "@/lib/i18n"; import type { ForecastSource } from "@/types/forecast"; export function ForecastSources({ sources }: { sources: ForecastSource[] }) { const { t } = useI18n(); const hasImgw = sources.includes("imgw-alaro"); return (

{t("forecast.source")}{" "} {hasImgw && ( <> IMGW ALARO {", "} )} Open-Meteo . {t(hasImgw ? "forecast.sourceCombinedDescription" : "forecast.sourceFallbackDescription")}

); }