Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

462 B
Raw Blame
'use client';

import { useTranslations } from 'next-intl';
import type { IssueLinkInputKind } from '@/lib/api/endpoints/issues';

// How one issue relates to another, named for the reader. Used wherever a
// relation is listed: the issue detail panel, the board cards, the table and the
// timeline sub-rows.
export function useLinkRelationLabel() {
  const t = useTranslations('issueLinks.relations');
  return (relation: IssueLinkInputKind) => t(relation);
}