geoview-core - v2.3.0
    Preparing search index...

    Function translateTooltip

    • Translates an optional tooltip value with tri-state semantics.

      Parameters

      • t: (key: string) => string

        Translation function from i18next

      • tooltip: string | null | undefined

        Tooltip value (translation key, null to disable, or undefined for fallback)

      Returns string | null | undefined

      Translated string, null (disabled), or undefined (fallback to aria-label)