feat(i18n): localize the GitHub and GitLab task surfaces (#2283)
Co-authored-by: Kandev Agent <agent@kandev.dev>
This commit is contained in:
@@ -48,6 +48,7 @@ import {
|
||||
import { useGitHubActionPresets } from "@/hooks/domains/github/use-github-action-presets";
|
||||
import { useAllWorkflowSnapshots } from "@/hooks/domains/kanban/use-all-workflow-snapshots";
|
||||
import { hasGitHubPersonalActor } from "@/lib/github-auth";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
|
||||
type GitHubPageClientProps = {
|
||||
workspaceId?: string;
|
||||
@@ -57,10 +58,11 @@ type GitHubPageClientProps = {
|
||||
};
|
||||
|
||||
function PageHeader({ onOpenMobileSidebar }: { onOpenMobileSidebar?: () => void }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<PageTopbar
|
||||
title="GitHub"
|
||||
subtitle="Pull requests and issues across your repos."
|
||||
subtitle={t("github:pullRequestsAndIssuesAcrossYour")}
|
||||
icon={<IconBrandGithub className="h-4 w-4" />}
|
||||
actions={
|
||||
onOpenMobileSidebar && (
|
||||
@@ -70,7 +72,7 @@ function PageHeader({ onOpenMobileSidebar }: { onOpenMobileSidebar?: () => void
|
||||
onClick={onOpenMobileSidebar}
|
||||
className="md:hidden cursor-pointer"
|
||||
data-testid="github-mobile-menu-button"
|
||||
aria-label="Open GitHub filters"
|
||||
aria-label={t("github:openGithubFilters")}
|
||||
>
|
||||
<IconMenu2 className="h-4 w-4" />
|
||||
</Button>
|
||||
@@ -87,6 +89,7 @@ function NotAuthenticatedNotice({
|
||||
workspaceId?: string;
|
||||
personalRequired: boolean;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const settingsHref = workspaceId
|
||||
? `/settings/workspace/${workspaceId}/integrations/github`
|
||||
: "/settings/integrations/github";
|
||||
@@ -94,24 +97,23 @@ function NotAuthenticatedNotice({
|
||||
<Alert>
|
||||
<AlertDescription>
|
||||
{personalRequired
|
||||
? "Connect your personal GitHub identity to see pull requests and issues assigned to you."
|
||||
: "GitHub is not connected. Configure workspace automation with gh CLI or a personal access token."}{" "}
|
||||
<Link href={settingsHref} className="underline font-medium cursor-pointer">
|
||||
Open GitHub settings
|
||||
</Link>{" "}
|
||||
to see your pull requests and issues.
|
||||
? t("github:connectYourPersonalGithubIdentityTo")
|
||||
: t("github:githubIsNotConnectedConfigureWorkspace")}{" "}
|
||||
<Trans i18nKey="github:openSettingsToSeePrsAndIssues">
|
||||
<Link href={settingsHref} className="underline font-medium cursor-pointer" />
|
||||
to see your pull requests and issues.
|
||||
</Trans>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
function NoWorkspaceNotice() {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="px-6 py-3 border-b shrink-0">
|
||||
<Alert>
|
||||
<AlertDescription>
|
||||
No workspace configured. Create a workspace first to start tasks from PRs/issues.
|
||||
</AlertDescription>
|
||||
<AlertDescription>{t("github:noWorkspaceConfiguredCreateAWorkspace")}</AlertDescription>
|
||||
</Alert>
|
||||
</div>
|
||||
);
|
||||
@@ -126,14 +128,15 @@ function resolveTitle(
|
||||
saved: SavedPreset[],
|
||||
prPresets: PresetOption[],
|
||||
issuePresets: PresetOption[],
|
||||
t: (key: string, values?: Record<string, unknown>) => string,
|
||||
): string {
|
||||
if (selection.source === "saved") {
|
||||
return saved.find((p) => p.id === selection.id)?.label ?? "Saved query";
|
||||
return saved.find((p) => p.id === selection.id)?.label ?? t("github:savedQueryFallback");
|
||||
}
|
||||
const presets = selection.kind === "pr" ? prPresets : issuePresets;
|
||||
return (
|
||||
presets.find((p) => p.value === selection.id)?.label ??
|
||||
(selection.kind === "pr" ? "Pull requests" : "Issues")
|
||||
(selection.kind === "pr" ? t("github:titlePullRequests") : t("github:titleIssues"))
|
||||
);
|
||||
}
|
||||
|
||||
@@ -325,6 +328,7 @@ function useSearchInteractionControls(
|
||||
}
|
||||
|
||||
function useGitHubPageState(workspaceId: string | null, enabled: boolean) {
|
||||
const { t } = useTranslation();
|
||||
const { pr: resolvedPrPresets, issue: resolvedIssuePresets } =
|
||||
useResolvedQueryPresets(workspaceId);
|
||||
const {
|
||||
@@ -374,8 +378,8 @@ function useGitHubPageState(workspaceId: string | null, enabled: boolean) {
|
||||
repoFilter,
|
||||
);
|
||||
const title = useMemo(
|
||||
() => resolveTitle(selection, savedPresets, resolvedPrPresets, resolvedIssuePresets),
|
||||
[selection, savedPresets, resolvedPrPresets, resolvedIssuePresets],
|
||||
() => resolveTitle(selection, savedPresets, resolvedPrPresets, resolvedIssuePresets, t),
|
||||
[selection, savedPresets, resolvedPrPresets, resolvedIssuePresets, t],
|
||||
);
|
||||
|
||||
const onSelect = useSidebarSelectionHandler({
|
||||
@@ -492,6 +496,7 @@ export function GitHubPageClient({
|
||||
steps,
|
||||
repositories,
|
||||
}: GitHubPageClientProps) {
|
||||
const { t } = useTranslation();
|
||||
const { status, loaded } = useGitHubStatus(workspaceId ?? null);
|
||||
const authed = hasGitHubUserIdentity(status);
|
||||
const [launchPayload, setLaunchPayload] = useState<LaunchPayload | null>(null);
|
||||
@@ -525,7 +530,9 @@ export function GitHubPageClient({
|
||||
return (
|
||||
<div className="flex h-full min-h-0 w-full flex-col bg-background">
|
||||
<PageHeader onOpenMobileSidebar={loaded && authed ? onOpenMobileSidebar : undefined} />
|
||||
{!loaded && <div className="p-6 text-sm text-muted-foreground">Checking GitHub status…</div>}
|
||||
{!loaded && (
|
||||
<div className="p-6 text-sm text-muted-foreground">{t("github:checkingGithubStatus")}</div>
|
||||
)}
|
||||
{loaded && !authed && (
|
||||
<div className="p-6 max-w-2xl">
|
||||
<NotAuthenticatedNotice
|
||||
@@ -550,7 +557,7 @@ export function GitHubPageClient({
|
||||
data-testid="github-mobile-sidebar"
|
||||
>
|
||||
<SheetHeader className="px-4 pt-4 pb-2">
|
||||
<SheetTitle>Filters</SheetTitle>
|
||||
<SheetTitle>{t("github:filters")}</SheetTitle>
|
||||
</SheetHeader>
|
||||
<PresetsSidebar
|
||||
selected={state.selection}
|
||||
|
||||
@@ -38,6 +38,7 @@ import {
|
||||
} from "@/components/gitlab/my-gitlab/quick-task-launcher";
|
||||
import { toGitLabTaskPreset } from "@/components/gitlab/my-gitlab/task-presets";
|
||||
import { useAppStore } from "@/components/state-provider";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
|
||||
type GitLabPageClientProps = {
|
||||
workspaceId?: string;
|
||||
@@ -53,10 +54,11 @@ function PageHeader({
|
||||
host: string;
|
||||
onOpenMobileSidebar?: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<PageTopbar
|
||||
title="GitLab"
|
||||
subtitle={`${host} · merge requests and issues`}
|
||||
subtitle={t("gitlab:mergeRequestsAndIssues", { host })}
|
||||
icon={<IconBrandGitlab className="h-4 w-4" />}
|
||||
actions={
|
||||
onOpenMobileSidebar && (
|
||||
@@ -66,7 +68,7 @@ function PageHeader({
|
||||
onClick={onOpenMobileSidebar}
|
||||
className="h-11 w-11 md:hidden cursor-pointer"
|
||||
data-testid="gitlab-mobile-menu-button"
|
||||
aria-label="Open GitLab filters"
|
||||
aria-label={t("gitlab:openGitlabFilters")}
|
||||
>
|
||||
<IconMenu2 className="h-4 w-4" />
|
||||
</Button>
|
||||
@@ -77,29 +79,37 @@ function PageHeader({
|
||||
}
|
||||
|
||||
function NotConnectedNotice({ reconnect }: { reconnect?: boolean }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<Alert>
|
||||
<AlertDescription>
|
||||
{reconnect
|
||||
? "GitLab credentials are configured, but authentication failed. Reconnect in "
|
||||
: "GitLab is not connected. Configure GitLab authentication in "}
|
||||
<Link href="/settings/integrations/gitlab" className="underline font-medium cursor-pointer">
|
||||
Settings → GitLab
|
||||
</Link>{" "}
|
||||
to see your merge requests and issues.
|
||||
? t("gitlab:gitlabCredentialsAreConfiguredButAuthentication")
|
||||
: t("gitlab:gitlabIsNotConnectedConfigureGitlab")}
|
||||
<Trans i18nKey="gitlab:openSettingsToSeeMrsAndIssues">
|
||||
<Link
|
||||
href="/settings/integrations/gitlab"
|
||||
className="underline font-medium cursor-pointer"
|
||||
/>
|
||||
to see your merge requests and issues.
|
||||
</Trans>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
);
|
||||
}
|
||||
|
||||
function resolveTitle(selection: SidebarSelection, saved: SavedPreset[]): string {
|
||||
function resolveTitle(
|
||||
selection: SidebarSelection,
|
||||
saved: SavedPreset[],
|
||||
t: (key: string, values?: Record<string, unknown>) => string,
|
||||
): string {
|
||||
if (selection.source === "saved") {
|
||||
return saved.find((p) => p.id === selection.id)?.label ?? "Saved query";
|
||||
return saved.find((p) => p.id === selection.id)?.label ?? t("gitlab:savedQueryFallback");
|
||||
}
|
||||
const presets = selection.kind === "mr" ? MR_PRESETS : ISSUE_PRESETS;
|
||||
return (
|
||||
presets.find((p) => p.value === selection.id)?.label ??
|
||||
(selection.kind === "mr" ? "Merge requests" : "Issues")
|
||||
(selection.kind === "mr" ? t("gitlab:titleMergeRequests") : t("gitlab:titleIssues"))
|
||||
);
|
||||
}
|
||||
|
||||
@@ -172,12 +182,14 @@ function useProjectOptions(
|
||||
}, [knownProjects, projectFilter]);
|
||||
}
|
||||
|
||||
/** Lifted out of `useGitLabPageState`, which is at the 100-line function cap. */
|
||||
function initialSelection(): SidebarSelection {
|
||||
return { kind: "mr", source: "preset", id: MR_PRESETS[0]?.value ?? "" };
|
||||
}
|
||||
|
||||
function useGitLabPageState(searchEnabled: boolean, workspaceId?: string) {
|
||||
const [selection, setSelection] = useState<SidebarSelection>(() => ({
|
||||
kind: "mr",
|
||||
source: "preset",
|
||||
id: MR_PRESETS[0]?.value ?? "",
|
||||
}));
|
||||
const { t } = useTranslation();
|
||||
const [selection, setSelection] = useState<SidebarSelection>(initialSelection);
|
||||
const {
|
||||
draft: customQuery,
|
||||
committed: committedQuery,
|
||||
@@ -209,7 +221,10 @@ function useGitLabPageState(searchEnabled: boolean, workspaceId?: string) {
|
||||
search.rawItems,
|
||||
projectFilter,
|
||||
);
|
||||
const title = useMemo(() => resolveTitle(selection, savedPresets), [selection, savedPresets]);
|
||||
const title = useMemo(
|
||||
() => resolveTitle(selection, savedPresets, t),
|
||||
[selection, savedPresets, t],
|
||||
);
|
||||
|
||||
const onSelect = useCallback(
|
||||
(s: SidebarSelection) => {
|
||||
@@ -402,8 +417,11 @@ function GitLabPageBody({
|
||||
onStartTask: (payload: GitLabLaunchPayload) => void;
|
||||
host: string;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
if (statusLoading) {
|
||||
return <div className="p-6 text-sm text-muted-foreground">Checking GitLab status…</div>;
|
||||
return (
|
||||
<div className="p-6 text-sm text-muted-foreground">{t("gitlab:checkingGitlabStatus")}</div>
|
||||
);
|
||||
}
|
||||
if (!connected) {
|
||||
return (
|
||||
@@ -447,6 +465,7 @@ function GitLabPageOverlays({
|
||||
launchPayload: GitLabLaunchPayload | null;
|
||||
setLaunchPayload: (payload: GitLabLaunchPayload | null) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const onMobileSidebarSelect = (selection: Parameters<typeof state.onSelect>[0]) => {
|
||||
state.onSelect(selection);
|
||||
setMobileSidebarOpen(false);
|
||||
@@ -464,7 +483,7 @@ function GitLabPageOverlays({
|
||||
data-testid="gitlab-mobile-sidebar"
|
||||
>
|
||||
<SheetHeader className="px-4 pt-4 pb-2">
|
||||
<SheetTitle>Filters</SheetTitle>
|
||||
<SheetTitle>{t("gitlab:filters")}</SheetTitle>
|
||||
</SheetHeader>
|
||||
<PresetsSidebar
|
||||
selected={state.selection}
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
import { cleanup, render, screen } from "@testing-library/react";
|
||||
import { afterEach, describe, expect, it } from "vitest";
|
||||
import { Trans } from "react-i18next";
|
||||
|
||||
import Link from "@/components/routing/app-link";
|
||||
|
||||
afterEach(cleanup);
|
||||
|
||||
/**
|
||||
* The "not connected" notices on the GitHub and GitLab task pages are one
|
||||
* sentence wrapped around a settings link. Migrating them created a failure that
|
||||
* no gate catches: written as
|
||||
*
|
||||
* <Trans i18nKey="…"><Link href={…} /> to see your pull requests…</Trans>
|
||||
*
|
||||
* with a message of `<0></0> to see your pull requests…`, the tag is EMPTY and
|
||||
* the `<Link />` is self-closing, so the link renders with **no text at all** —
|
||||
* a visibly broken control on a page whose only purpose is to send you to
|
||||
* settings. `pnpm lint`, `i18n:check` and `check-trans-indices.mjs` were all
|
||||
* green on it: the key resolved, the catalogs matched, the `<0>` landed on a
|
||||
* real element child. Only looking at it showed the gap.
|
||||
*
|
||||
* The fix is that the link LABEL belongs inside the message, so a translator can
|
||||
* move it and it can never render empty. These assert the reassembled sentence
|
||||
* and that the anchor carries text.
|
||||
*/
|
||||
function renderNotice(i18nKey: string, href: string) {
|
||||
return render(
|
||||
<Trans i18nKey={i18nKey}>
|
||||
<Link href={href} className="underline font-medium cursor-pointer" />
|
||||
</Trans>,
|
||||
);
|
||||
}
|
||||
|
||||
describe("integration not-connected notices", () => {
|
||||
it("renders the GitHub sentence with a non-empty settings link", () => {
|
||||
const { container } = renderNotice(
|
||||
"github:openSettingsToSeePrsAndIssues",
|
||||
"/settings/integrations/github",
|
||||
);
|
||||
|
||||
expect(container.textContent).toBe(
|
||||
"Open GitHub settings to see your pull requests and issues.",
|
||||
);
|
||||
const link = screen.getByRole("link");
|
||||
expect(link.textContent).toBe("Open GitHub settings");
|
||||
expect(link.getAttribute("href")).toBe("/settings/integrations/github");
|
||||
});
|
||||
|
||||
it("renders the GitLab sentence with a non-empty settings link", () => {
|
||||
const { container } = renderNotice(
|
||||
"gitlab:openSettingsToSeeMrsAndIssues",
|
||||
"/settings/integrations/gitlab",
|
||||
);
|
||||
|
||||
expect(container.textContent).toBe("Settings → GitLab to see your merge requests and issues.");
|
||||
expect(screen.getByRole("link").textContent).toBe("Settings → GitLab");
|
||||
});
|
||||
});
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
import { IconCircleDot } from "@tabler/icons-react";
|
||||
import { Tooltip, TooltipContent, TooltipTrigger } from "@kandev/ui/tooltip";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type IssueInfo = { url: string; number: number };
|
||||
|
||||
export function IssueTaskIcon({ issueInfo }: { issueInfo: IssueInfo }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
@@ -16,12 +18,15 @@ export function IssueTaskIcon({ issueInfo }: { issueInfo: IssueInfo }) {
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
className="inline-flex items-center shrink-0 text-green-600 hover:text-green-500 cursor-pointer"
|
||||
data-testid="issue-task-icon"
|
||||
aria-label={`Issue #${issueInfo.number}`}
|
||||
aria-label={t("github:issue", { number: issueInfo.number })}
|
||||
>
|
||||
<IconCircleDot className="h-3.5 w-3.5" />
|
||||
</a>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>Issue #{issueInfo.number}</TooltipContent>
|
||||
<TooltipContent>
|
||||
{t("github:issue2")}
|
||||
{issueInfo.number}
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@ import { usePRFeedbackBackgroundSync } from "@/hooks/domains/github/use-pr-ci-po
|
||||
import { useAppStore } from "@/components/state-provider";
|
||||
import { useToast } from "@/components/toast-provider";
|
||||
import type { TaskPR } from "@/lib/types/github";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
/**
|
||||
* Renders nothing — just keeps one PR's feedback cache warm while the popover
|
||||
@@ -53,6 +54,7 @@ function PRTab({
|
||||
removing: boolean;
|
||||
onRemove?: (pr: TaskPR) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex shrink-0 items-center rounded-md border border-transparent">
|
||||
<button
|
||||
@@ -83,7 +85,7 @@ function PRTab({
|
||||
<button
|
||||
type="button"
|
||||
data-testid={`pr-popover-remove-${prIdentitySlug(pr)}`}
|
||||
aria-label={`Remove ${pr.repo} #${pr.pr_number} from task`}
|
||||
aria-label={t("github:removeFromTask", { repo: pr.repo, prnumber: pr.pr_number })}
|
||||
disabled={removing}
|
||||
onClick={(event) => {
|
||||
event.preventDefault();
|
||||
@@ -124,6 +126,7 @@ export function MultiPRCIPopover({
|
||||
onRemovePR?: (pr: TaskPR) => Promise<void>;
|
||||
onCollapseFocus?: (remainingPR: TaskPR) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
// `overrideId` is only set when the user activates a tab. The displayed PR is
|
||||
// derived: honour the override while it still exists, otherwise fall back to
|
||||
// the worst-status PR. This keeps the selection valid as the list changes
|
||||
@@ -160,8 +163,9 @@ export function MultiPRCIPopover({
|
||||
}
|
||||
} catch (error) {
|
||||
toast({
|
||||
title: "Failed to unlink pull request",
|
||||
description: error instanceof Error ? error.message : "The pull request is still linked.",
|
||||
title: t("github:failedToUnlinkPullRequest"),
|
||||
description:
|
||||
error instanceof Error ? error.message : t("github:thePullRequestIsStillLinked"),
|
||||
variant: "error",
|
||||
});
|
||||
} finally {
|
||||
@@ -190,7 +194,7 @@ export function MultiPRCIPopover({
|
||||
))}
|
||||
<div
|
||||
role="tablist"
|
||||
aria-label="Pull requests"
|
||||
aria-label={t("github:pullRequests")}
|
||||
data-testid="pr-multi-popover-tabs"
|
||||
className="flex gap-1 overflow-x-auto border-b border-border/50 pb-2"
|
||||
onKeyDown={onTablistKeyDown}
|
||||
|
||||
@@ -16,6 +16,7 @@ import { formatRelativeTime } from "@/lib/utils";
|
||||
import type { GitHubIssue, TaskIssueLink } from "@/lib/types/github";
|
||||
import type { LaunchPayload, TaskPreset } from "./quick-task-launcher";
|
||||
import { TaskRowIndicator } from "./task-row-indicator";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type IssueListProps = {
|
||||
items: GitHubIssue[];
|
||||
@@ -35,13 +36,14 @@ function StartTaskMenu({
|
||||
presets: TaskPreset[];
|
||||
onStartTask: IssueListProps["onStartTask"];
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const launch = (preset: TaskPreset) => onStartTask({ kind: "issue", issue, preset });
|
||||
return (
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button size="sm" variant="outline" className="h-7 gap-1 cursor-pointer">
|
||||
<IconPlus className="h-3.5 w-3.5" />
|
||||
Task
|
||||
{t("github:task")}
|
||||
<IconChevronDown className="h-3 w-3" />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
@@ -94,6 +96,7 @@ function IssueRow({
|
||||
onStartTask: IssueListProps["onStartTask"];
|
||||
tasks: TaskIssueLink[] | undefined;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const StateIcon = issue.state === "open" ? IconCircle : IconCircleCheck;
|
||||
const stateClass =
|
||||
issue.state === "open"
|
||||
@@ -121,7 +124,10 @@ function IssueRow({
|
||||
</span>
|
||||
<span>·</span>
|
||||
<span className="whitespace-nowrap">
|
||||
by {issue.author_login} · opened {formatRelativeTime(issue.created_at)}
|
||||
{t("github:byAuthorOpenedAgo", {
|
||||
author: issue.author_login,
|
||||
time: formatRelativeTime(issue.created_at),
|
||||
})}
|
||||
</span>
|
||||
<IssueLabels labels={issue.labels} />
|
||||
<TaskRowIndicator
|
||||
@@ -149,6 +155,7 @@ function IssueListBody({
|
||||
onStartTask,
|
||||
issueKeyToTasks,
|
||||
}: IssueListProps) {
|
||||
const { t } = useTranslation();
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="flex justify-center py-10">
|
||||
@@ -162,7 +169,7 @@ function IssueListBody({
|
||||
if (items.length === 0) {
|
||||
return (
|
||||
<div className="text-center py-10 text-muted-foreground text-sm">
|
||||
No issues match this filter.
|
||||
{t("github:noIssuesMatchThisFilter")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ import { Input } from "@kandev/ui/input";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { formatRelativeTime } from "@/lib/utils";
|
||||
import { RepoFilterCombobox } from "./repo-filter-combobox";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type ListToolbarProps = {
|
||||
title: string;
|
||||
@@ -33,11 +34,12 @@ function RefreshControls({
|
||||
onRefresh: () => void;
|
||||
showUpdatedPrefix: boolean;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
{lastFetchedAt && !loading && (
|
||||
<span className="text-xs text-muted-foreground whitespace-nowrap">
|
||||
{showUpdatedPrefix ? "Updated " : ""}
|
||||
{showUpdatedPrefix ? t("github:updated") : ""}
|
||||
{formatRelativeTime(lastFetchedAt.toISOString())}
|
||||
</span>
|
||||
)}
|
||||
@@ -47,7 +49,7 @@ function RefreshControls({
|
||||
className="h-8 w-8 cursor-pointer"
|
||||
onClick={onRefresh}
|
||||
disabled={loading}
|
||||
title="Refresh"
|
||||
title={t("github:refresh")}
|
||||
>
|
||||
<IconRefresh className={cn("h-4 w-4", loading && "animate-spin")} />
|
||||
</Button>
|
||||
@@ -69,6 +71,7 @@ export function ListToolbar({
|
||||
repoOptions,
|
||||
onRefresh,
|
||||
}: ListToolbarProps) {
|
||||
const { t } = useTranslation();
|
||||
const dirty = customQuery !== committedQuery;
|
||||
return (
|
||||
<div className="px-4 sm:px-6 py-2.5 border-b shrink-0 flex flex-col md:flex-row md:items-center md:flex-wrap gap-2 md:gap-3">
|
||||
@@ -94,7 +97,7 @@ export function ListToolbar({
|
||||
repoFilter={repoFilter}
|
||||
onRepoFilterChange={onRepoFilterChange}
|
||||
repoOptions={repoOptions}
|
||||
ariaLabel="Filter GitHub results by repository"
|
||||
ariaLabel={t("github:filterGithubResultsByRepository")}
|
||||
triggerClassName="w-full md:w-[220px] h-8 border border-input bg-background hover:bg-secondary/50 px-2 py-1.5 text-xs/relaxed"
|
||||
className="md:min-w-[360px]"
|
||||
testId="github-repo-filter-trigger"
|
||||
@@ -113,12 +116,12 @@ export function ListToolbar({
|
||||
onBlur={() => {
|
||||
if (dirty) onCommitCustomQuery();
|
||||
}}
|
||||
placeholder='Custom query — press Enter. e.g. "is:open review-requested:@me"'
|
||||
placeholder={t("github:customQueryPressEnterEG")}
|
||||
className="h-8 pr-20"
|
||||
/>
|
||||
{dirty && (
|
||||
<span className="pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-[10px] uppercase tracking-wider text-muted-foreground hidden sm:inline">
|
||||
Press Enter
|
||||
{t("github:pressEnter")}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -23,6 +23,7 @@ import type { LaunchPayload, TaskPreset } from "./quick-task-launcher";
|
||||
import { PRStatusBadges } from "./pr-status-badges";
|
||||
import { prStatusKey, usePRStatuses } from "./use-pr-statuses";
|
||||
import { PRRowTaskIndicator } from "./pr-row-task-indicator";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type PRListProps = {
|
||||
workspaceId: string | null;
|
||||
@@ -59,6 +60,7 @@ function StartTaskMenu({
|
||||
presets: TaskPreset[];
|
||||
onStartTask: PRListProps["onStartTask"];
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const launch = (preset: TaskPreset) => onStartTask({ kind: "pr", pr, preset });
|
||||
return (
|
||||
<DropdownMenu>
|
||||
@@ -70,7 +72,7 @@ function StartTaskMenu({
|
||||
data-testid="pr-start-task-trigger"
|
||||
>
|
||||
<IconPlus className="h-3.5 w-3.5" />
|
||||
Task
|
||||
{t("github:task")}
|
||||
<IconChevronDown className="h-3 w-3" />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
@@ -112,6 +114,7 @@ function PRRow({
|
||||
tasks: TaskPR[] | undefined;
|
||||
}) {
|
||||
const { Icon: StateIcon, className: stateIconClass } = prStateIcon(pr);
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
className="flex items-start gap-3 px-4 py-3 hover:bg-muted/40 transition-colors"
|
||||
@@ -134,7 +137,10 @@ function PRRow({
|
||||
</span>
|
||||
<span>·</span>
|
||||
<span className="whitespace-nowrap">
|
||||
by {pr.author_login} · opened {formatRelativeTime(pr.created_at)}
|
||||
{t("github:byAuthorOpenedAgo", {
|
||||
author: pr.author_login,
|
||||
time: formatRelativeTime(pr.created_at),
|
||||
})}
|
||||
</span>
|
||||
<PRStatusBadges pr={pr} status={status} />
|
||||
<PRRowTaskIndicator tasks={tasks} />
|
||||
@@ -160,6 +166,7 @@ function PRListBody({
|
||||
onStartTask,
|
||||
prKeyToTasks,
|
||||
}: PRListProps) {
|
||||
const { t } = useTranslation();
|
||||
const statuses = usePRStatuses(workspaceId, items);
|
||||
if (loading) {
|
||||
return (
|
||||
@@ -174,7 +181,7 @@ function PRListBody({
|
||||
if (items.length === 0) {
|
||||
return (
|
||||
<div className="text-center py-10 text-muted-foreground text-sm">
|
||||
No pull requests match this filter.
|
||||
{t("github:noPullRequestsMatchThisFilter")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -2,12 +2,14 @@
|
||||
|
||||
import type { TaskPR } from "@/lib/types/github";
|
||||
import { TaskRowIndicator } from "./task-row-indicator";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type PRRowTaskIndicatorProps = {
|
||||
tasks: TaskPR[] | undefined;
|
||||
};
|
||||
|
||||
export function PRRowTaskIndicator({ tasks }: PRRowTaskIndicatorProps) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<TaskRowIndicator
|
||||
tasks={tasks?.map((task) => ({
|
||||
@@ -16,7 +18,7 @@ export function PRRowTaskIndicator({ tasks }: PRRowTaskIndicatorProps) {
|
||||
fallbackTitle: task.pr_title,
|
||||
}))}
|
||||
testIdPrefix="pr-row-task-indicator"
|
||||
emptyLabel="No task created yet"
|
||||
emptyLabel={t("github:noTaskCreatedYet")}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -11,6 +11,7 @@ import {
|
||||
import type { Icon } from "@tabler/icons-react";
|
||||
import type { GitHubPR, GitHubPRStatus } from "@/lib/types/github";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type StatusChipProps = {
|
||||
Icon: Icon;
|
||||
@@ -38,14 +39,17 @@ function StatusChip({ Icon, label, tone, title }: StatusChipProps) {
|
||||
}
|
||||
|
||||
function ChecksChip({ status }: { status: GitHubPRStatus }) {
|
||||
const { t } = useTranslation();
|
||||
const { checks_state: state, checks_total: total, checks_passing: passing } = status;
|
||||
if (!state) return null;
|
||||
const label = total > 0 ? `${passing}/${total}` : "";
|
||||
if (state === "success")
|
||||
return <StatusChip Icon={IconCheck} label={label || "Checks passed"} tone="success" />;
|
||||
return <StatusChip Icon={IconCheck} label={label || t("github:checksPassed")} tone="success" />;
|
||||
if (state === "failure")
|
||||
return <StatusChip Icon={IconX} label={label || "Checks failed"} tone="failure" />;
|
||||
return <StatusChip Icon={IconClockHour4} label={label || "Checks running"} tone="pending" />;
|
||||
return <StatusChip Icon={IconX} label={label || t("github:checksFailed")} tone="failure" />;
|
||||
return (
|
||||
<StatusChip Icon={IconClockHour4} label={label || t("github:checksRunning")} tone="pending" />
|
||||
);
|
||||
}
|
||||
|
||||
function ReviewChip({
|
||||
@@ -55,16 +59,20 @@ function ReviewChip({
|
||||
state: GitHubPRStatus["review_state"];
|
||||
pending: number;
|
||||
}) {
|
||||
if (state === "approved") return <StatusChip Icon={IconCheck} label="Approved" tone="success" />;
|
||||
const { t } = useTranslation();
|
||||
if (state === "approved")
|
||||
return <StatusChip Icon={IconCheck} label={t("github:approved")} tone="success" />;
|
||||
if (state === "changes_requested")
|
||||
return <StatusChip Icon={IconAlertTriangle} label="Changes requested" tone="failure" />;
|
||||
return (
|
||||
<StatusChip Icon={IconAlertTriangle} label={t("github:changesRequested")} tone="failure" />
|
||||
);
|
||||
if (pending > 0)
|
||||
return (
|
||||
<StatusChip
|
||||
Icon={IconClockHour4}
|
||||
label={`${pending} pending`}
|
||||
label={t("github:pending", { pending })}
|
||||
tone="pending"
|
||||
title={`${pending} pending review(s)`}
|
||||
title={t("github:pendingReviewS", { pending })}
|
||||
/>
|
||||
);
|
||||
return null;
|
||||
@@ -77,15 +85,17 @@ function MergeableChip({
|
||||
state: GitHubPRStatus["mergeable_state"];
|
||||
prState: GitHubPR["state"];
|
||||
}) {
|
||||
if (prState === "merged") return <StatusChip Icon={IconGitMerge} label="Merged" tone="success" />;
|
||||
const { t } = useTranslation();
|
||||
if (prState === "merged")
|
||||
return <StatusChip Icon={IconGitMerge} label={t("github:merged")} tone="success" />;
|
||||
if (state === "draft")
|
||||
return <StatusChip Icon={IconGitPullRequestDraft} label="Draft" tone="neutral" />;
|
||||
return <StatusChip Icon={IconGitPullRequestDraft} label={t("github:draft")} tone="neutral" />;
|
||||
if (state === "dirty")
|
||||
return <StatusChip Icon={IconAlertTriangle} label="Conflicts" tone="failure" />;
|
||||
return <StatusChip Icon={IconAlertTriangle} label={t("github:conflicts")} tone="failure" />;
|
||||
if (state === "blocked")
|
||||
return <StatusChip Icon={IconAlertTriangle} label="Blocked" tone="pending" />;
|
||||
return <StatusChip Icon={IconAlertTriangle} label={t("github:blocked")} tone="pending" />;
|
||||
if (state === "behind")
|
||||
return <StatusChip Icon={IconAlertTriangle} label="Behind base" tone="pending" />;
|
||||
return <StatusChip Icon={IconAlertTriangle} label={t("github:behindBase")} tone="pending" />;
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ import { IntegrationScopeBar } from "@/components/integrations/presets-scope-bar
|
||||
import { PR_PRESETS, ISSUE_PRESETS, type PresetOption } from "./search-bar";
|
||||
import type { SavedPreset } from "./use-saved-presets";
|
||||
import type { SidebarSelection } from "./presets-sidebar";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type PresetsScopeBarProps = {
|
||||
className?: string;
|
||||
@@ -17,9 +18,10 @@ type PresetsScopeBarProps = {
|
||||
issuePresets?: PresetOption[];
|
||||
};
|
||||
|
||||
/** `value` is the persisted kind; only the catalog key is copy. */
|
||||
const KINDS = [
|
||||
{ value: "pr", label: "Pull requests" },
|
||||
{ value: "issue", label: "Issues" },
|
||||
{ value: "pr", labelKey: "github:titlePullRequests" },
|
||||
{ value: "issue", labelKey: "github:titleIssues" },
|
||||
] as const;
|
||||
|
||||
/**
|
||||
@@ -32,12 +34,13 @@ export function PresetsScopeBar({
|
||||
issuePresets = ISSUE_PRESETS,
|
||||
...props
|
||||
}: PresetsScopeBarProps) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<IntegrationScopeBar
|
||||
{...props}
|
||||
testId="github-presets-scope-bar"
|
||||
savedMenuTestId="github-saved-queries-menu"
|
||||
kinds={KINDS}
|
||||
kinds={KINDS.map(({ value, labelKey }) => ({ value, label: t(labelKey) }))}
|
||||
presetsByKind={(kind) => (kind === "pr" ? prPresets : issuePresets)}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -5,6 +5,7 @@ import type { Icon } from "@tabler/icons-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { PR_PRESETS, ISSUE_PRESETS, type PresetOption, type PresetGroup } from "./search-bar";
|
||||
import type { SavedPreset } from "./use-saved-presets";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export type SidebarSelection = {
|
||||
kind: "pr" | "issue";
|
||||
@@ -30,6 +31,7 @@ function KindToggle({
|
||||
kind: "pr" | "issue";
|
||||
onChange: (k: "pr" | "issue") => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="mx-2 mb-3 grid grid-cols-2 rounded-md border p-0.5 text-xs">
|
||||
{(["pr", "issue"] as const).map((value) => (
|
||||
@@ -44,7 +46,7 @@ function KindToggle({
|
||||
: "text-muted-foreground hover:text-foreground",
|
||||
)}
|
||||
>
|
||||
{value === "pr" ? "Pull requests" : "Issues"}
|
||||
{value === "pr" ? t("github:pullRequests") : t("github:issues")}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
@@ -111,11 +113,12 @@ function PresetGroupList({
|
||||
onSelect: (s: SidebarSelection) => void;
|
||||
kind: "pr" | "issue";
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const items = presets.filter((p) => p.group === group);
|
||||
if (items.length === 0) return null;
|
||||
return (
|
||||
<>
|
||||
<SectionHeader title={group === "inbox" ? "Inbox" : "Created"} />
|
||||
<SectionHeader title={group === "inbox" ? t("github:inbox") : t("github:created")} />
|
||||
{items.map((p) => (
|
||||
<PresetItem
|
||||
key={`${kind}-${p.value}`}
|
||||
@@ -146,12 +149,13 @@ function SavedSection({
|
||||
canSaveCurrent: boolean;
|
||||
onSaveCurrent: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
<SectionHeader title="Saved" />
|
||||
<SectionHeader title={t("github:saved")} />
|
||||
{saved.length === 0 && (
|
||||
<div className="mx-2 px-2 py-1 text-xs text-muted-foreground/80 italic">
|
||||
No saved queries yet.
|
||||
{t("github:noSavedQueriesYet")}
|
||||
</div>
|
||||
)}
|
||||
{saved.map((s) => (
|
||||
@@ -169,7 +173,7 @@ function SavedSection({
|
||||
onDelete(s.id);
|
||||
}}
|
||||
className="opacity-0 group-hover/item:opacity-100 transition-opacity text-muted-foreground hover:text-foreground cursor-pointer"
|
||||
title="Delete saved query"
|
||||
title={t("github:deleteSavedQuery")}
|
||||
>
|
||||
<IconX className="h-3.5 w-3.5" />
|
||||
</button>
|
||||
@@ -186,10 +190,10 @@ function SavedSection({
|
||||
? "text-muted-foreground hover:bg-muted/50 hover:text-foreground cursor-pointer"
|
||||
: "text-muted-foreground/50 cursor-not-allowed",
|
||||
)}
|
||||
title={canSaveCurrent ? "Save current query" : "Type a custom query first"}
|
||||
title={canSaveCurrent ? t("github:saveCurrentQuery") : t("github:typeACustomQueryFirst")}
|
||||
>
|
||||
<IconDeviceFloppy className="h-4 w-4 shrink-0" />
|
||||
<span>Save current query</span>
|
||||
<span>{t("github:saveCurrentQuery")}</span>
|
||||
</button>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
import { useMemo } from "react";
|
||||
import { Combobox, type ComboboxOption } from "@/components/combobox";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { t } from "@/lib/i18n";
|
||||
|
||||
const ALL_REPOS = "__all__";
|
||||
|
||||
@@ -18,7 +20,7 @@ type RepoFilterComboboxProps = {
|
||||
|
||||
function buildRepoFilterOptions(repoOptions: string[]): ComboboxOption[] {
|
||||
return [
|
||||
{ value: ALL_REPOS, label: "All repos", keywords: ["all", "repositories", "repos"] },
|
||||
{ value: ALL_REPOS, label: t("github:allRepos"), keywords: ["all", "repositories", "repos"] },
|
||||
...repoOptions.map((repo) => ({ value: repo, label: repo, keywords: [repo] })),
|
||||
];
|
||||
}
|
||||
@@ -33,6 +35,7 @@ export function RepoFilterCombobox({
|
||||
triggerClassName,
|
||||
className,
|
||||
}: RepoFilterComboboxProps) {
|
||||
const { t } = useTranslation();
|
||||
const options = useMemo(() => buildRepoFilterOptions(repoOptions), [repoOptions]);
|
||||
|
||||
return (
|
||||
@@ -45,9 +48,9 @@ export function RepoFilterCombobox({
|
||||
}}
|
||||
options={options}
|
||||
ariaLabel={ariaLabel}
|
||||
placeholder="All repos"
|
||||
searchPlaceholder="Filter repositories..."
|
||||
emptyMessage="No repositories found."
|
||||
placeholder={t("github:allRepos")}
|
||||
searchPlaceholder={t("github:filterRepositories")}
|
||||
emptyMessage={t("github:noRepositoriesFound")}
|
||||
triggerClassName={triggerClassName}
|
||||
className={className}
|
||||
testId={testId}
|
||||
|
||||
@@ -13,6 +13,7 @@ import { Input } from "@kandev/ui/input";
|
||||
import { Button } from "@kandev/ui/button";
|
||||
import { Label } from "@kandev/ui/label";
|
||||
import { RepoFilterCombobox } from "./repo-filter-combobox";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type SavePresetDialogProps = {
|
||||
open: boolean;
|
||||
@@ -42,6 +43,7 @@ function SavePresetForm({
|
||||
onSave: (label: string, repoFilter: string) => void;
|
||||
onClose: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [value, setValue] = useState(suggestedLabel);
|
||||
const [defaultRepoFilter, setDefaultRepoFilter] = useState(repoFilter);
|
||||
const trimmed = value.trim();
|
||||
@@ -56,16 +58,17 @@ function SavePresetForm({
|
||||
return (
|
||||
<>
|
||||
<DialogHeader>
|
||||
<DialogTitle>Save query</DialogTitle>
|
||||
<DialogTitle>{t("github:saveQuery")}</DialogTitle>
|
||||
<DialogDescription>
|
||||
Save this {kind === "pr" ? "pull request" : "issue"} query to the sidebar for quick access
|
||||
later.
|
||||
{t("github:savePresetDescription", {
|
||||
kind: kind === "pr" ? t("github:kindPullRequest") : t("github:kindIssue"),
|
||||
})}
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex flex-col gap-1.5">
|
||||
<Label htmlFor="preset-label" className="text-xs">
|
||||
Name
|
||||
{t("github:name")}
|
||||
</Label>
|
||||
<Input
|
||||
id="preset-label"
|
||||
@@ -73,13 +76,13 @@ function SavePresetForm({
|
||||
value={value}
|
||||
onChange={(e) => setValue(e.target.value)}
|
||||
onFocus={(e) => e.target.select()}
|
||||
placeholder="e.g. Needs my review"
|
||||
placeholder={t("github:eGNeedsMyReview")}
|
||||
/>
|
||||
</div>
|
||||
<div className="flex flex-col gap-1.5 text-xs">
|
||||
{customQuery && (
|
||||
<div className="flex gap-2">
|
||||
<span className="text-muted-foreground shrink-0 w-16">Query</span>
|
||||
<span className="text-muted-foreground shrink-0 w-16">{t("github:query")}</span>
|
||||
<code className="font-mono text-[11px] bg-muted rounded px-1.5 py-0.5 break-all">
|
||||
{customQuery}
|
||||
</code>
|
||||
@@ -87,27 +90,27 @@ function SavePresetForm({
|
||||
)}
|
||||
</div>
|
||||
<div className="flex flex-col gap-1.5">
|
||||
<Label className="text-xs">Default repository</Label>
|
||||
<Label className="text-xs">{t("github:defaultRepository")}</Label>
|
||||
<RepoFilterCombobox
|
||||
repoFilter={defaultRepoFilter}
|
||||
onRepoFilterChange={setDefaultRepoFilter}
|
||||
repoOptions={repoOptions}
|
||||
ariaLabel="Default repository"
|
||||
ariaLabel={t("github:defaultRepository")}
|
||||
triggerClassName="h-11 border border-input bg-background px-3 py-2 text-sm hover:bg-secondary/50 md:h-9 md:py-1.5"
|
||||
testId="github-save-query-repo-trigger"
|
||||
dropdownTestId="github-save-query-repo-dropdown"
|
||||
/>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
This repository opens by default. You can change the filter after opening the query.
|
||||
{t("github:thisRepositoryOpensByDefaultYou")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<DialogFooter>
|
||||
<Button variant="outline" className="cursor-pointer" onClick={onClose}>
|
||||
Cancel
|
||||
{t("common:cancel")}
|
||||
</Button>
|
||||
<Button className="cursor-pointer" disabled={!canSubmit} onClick={handleSubmit}>
|
||||
Save
|
||||
{t("common:save")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</>
|
||||
|
||||
@@ -16,6 +16,7 @@ import { cn } from "@/lib/utils";
|
||||
import { linkToTask } from "@/lib/links";
|
||||
import { useTaskById } from "@/hooks/domains/kanban/use-task-by-id";
|
||||
import type { KanbanState } from "@/lib/state/slices";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export type TaskRowLink = {
|
||||
id: string;
|
||||
@@ -72,6 +73,7 @@ function SingleTaskButton({
|
||||
const taskData = useTaskById(task.taskId);
|
||||
const stepTitle = useTaskStepTitle(taskData?.workflowStepId);
|
||||
const title = taskData?.title ?? task.fallbackTitle;
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
@@ -87,8 +89,10 @@ function SingleTaskButton({
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>
|
||||
<div className="flex flex-col gap-0.5 text-xs">
|
||||
<span>Task: {title}</span>
|
||||
{stepTitle ? <span className="text-muted-foreground">Step: {stepTitle}</span> : null}
|
||||
<span>{t("github:taskLabelled", { title })}</span>
|
||||
{stepTitle ? (
|
||||
<span className="text-muted-foreground">{t("github:stepLabelled", { stepTitle })}</span>
|
||||
) : null}
|
||||
</div>
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
@@ -96,6 +100,7 @@ function SingleTaskButton({
|
||||
}
|
||||
|
||||
export function TaskRowIndicator({ tasks, testIdPrefix, emptyLabel }: TaskRowIndicatorProps) {
|
||||
const { t } = useTranslation();
|
||||
const setActiveTask = useAppStore((state) => state.setActiveTask);
|
||||
const router = useRouter();
|
||||
const navigate = useCallback(
|
||||
@@ -124,7 +129,7 @@ export function TaskRowIndicator({ tasks, testIdPrefix, emptyLabel }: TaskRowInd
|
||||
<DropdownMenuTrigger asChild>
|
||||
<button type="button" data-testid={`${testIdPrefix}-multi`} className={buttonClass}>
|
||||
<IconChecklist className={iconClass} />
|
||||
<span className="text-foreground/80">Tasks</span>
|
||||
<span className="text-foreground/80">{t("github:tasks")}</span>
|
||||
<Badge variant="outline" className="h-4 px-1 py-0 text-[10px] shrink-0">
|
||||
{tasks.length}
|
||||
</Badge>
|
||||
|
||||
@@ -2,6 +2,7 @@ import { useMemo, useState, useEffect } from "react";
|
||||
import { IconCheck, IconX, IconClock } from "@tabler/icons-react";
|
||||
import type { CheckRun } from "@/lib/types/github";
|
||||
import { CollapsibleSection, AddToContextButton, formatDuration, formatElapsed } from "./pr-shared";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function CheckStatusIcon({ check }: { check: CheckRun }) {
|
||||
const value = check.conclusion || check.status;
|
||||
@@ -49,6 +50,11 @@ function buildCheckMessage(check: CheckRun): string {
|
||||
return parts.join("\n\n");
|
||||
}
|
||||
|
||||
/**
|
||||
* Agent-facing content, not UI copy: queued into the chat by `onAddAsContext`
|
||||
* and sent to the agent verbatim, so it stays English — same call as the
|
||||
* integration prompt templates.
|
||||
*/
|
||||
function buildAllFailedMessage(checks: CheckRun[]): string {
|
||||
const failed = checks.filter(isFailedCheck);
|
||||
const parts = [`### ${failed.length} CI Check${failed.length !== 1 ? "s" : ""} Failed`, ""];
|
||||
@@ -62,14 +68,17 @@ function buildAllFailedMessage(checks: CheckRun[]): string {
|
||||
return parts.join("\n");
|
||||
}
|
||||
|
||||
function formatSectionSummary(checks: CheckRun[]): string {
|
||||
function formatSectionSummary(
|
||||
checks: CheckRun[],
|
||||
t: (key: string, values?: Record<string, unknown>) => string,
|
||||
): string {
|
||||
const failed = checks.filter(isFailedCheck).length;
|
||||
const passed = checks.filter((c) => c.conclusion === "success").length;
|
||||
const pending = checks.length - failed - passed;
|
||||
const parts: string[] = [];
|
||||
if (failed > 0) parts.push(`${failed} failed`);
|
||||
if (passed > 0) parts.push(`${passed} passed`);
|
||||
if (pending > 0) parts.push(`${pending} pending`);
|
||||
if (failed > 0) parts.push(t("github:checksFailedCount", { count: failed }));
|
||||
if (passed > 0) parts.push(t("github:checksPassedCount", { count: passed }));
|
||||
if (pending > 0) parts.push(t("github:checksPendingCount", { count: pending }));
|
||||
return parts.join(", ");
|
||||
}
|
||||
|
||||
@@ -80,6 +89,7 @@ export function ChecksSection({
|
||||
checks: CheckRun[];
|
||||
onAddAsContext: (message: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const hasRunning = useMemo(() => checks.some((c) => c.started_at && !c.completed_at), [checks]);
|
||||
|
||||
const [, setTick] = useState(0);
|
||||
@@ -89,18 +99,20 @@ export function ChecksSection({
|
||||
return () => clearInterval(id);
|
||||
}, [hasRunning]);
|
||||
|
||||
const summary = checks.length > 0 ? ` \u2014 ${formatSectionSummary(checks)}` : "";
|
||||
const summary = checks.length > 0 ? ` \u2014 ${formatSectionSummary(checks, t)}` : "";
|
||||
const hasFailed = checks.some(isFailedCheck);
|
||||
|
||||
return (
|
||||
<CollapsibleSection
|
||||
title={`CI Checks${summary}`}
|
||||
title={t("github:ciChecks", { summary })}
|
||||
count={checks.length}
|
||||
defaultOpen
|
||||
onAddAll={hasFailed ? () => onAddAsContext(buildAllFailedMessage(checks)) : undefined}
|
||||
addAllLabel="Add all failed checks to chat context"
|
||||
addAllLabel={t("github:addAllFailedChecksToChat")}
|
||||
>
|
||||
{checks.length === 0 && <p className="text-xs text-muted-foreground px-2 py-2">No checks</p>}
|
||||
{checks.length === 0 && (
|
||||
<p className="text-xs text-muted-foreground px-2 py-2">{t("github:noChecks")}</p>
|
||||
)}
|
||||
{checks.map((check) => {
|
||||
const label = conclusionLabel(check);
|
||||
const duration = checkDurationText(check);
|
||||
|
||||
@@ -27,10 +27,12 @@ import type {
|
||||
TaskCIPRAutomationState,
|
||||
TaskPR,
|
||||
} from "@/lib/types/github";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
|
||||
const PR_FEEDBACK_PLACEHOLDER = "{{pr.feedback}}";
|
||||
|
||||
function CIAutomationInfoButton() {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
@@ -39,17 +41,13 @@ function CIAutomationInfoButton() {
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="h-6 w-6 cursor-help text-muted-foreground hover:text-foreground"
|
||||
aria-label="Explain CI automation options"
|
||||
aria-label={t("github:explainCiAutomationOptions")}
|
||||
>
|
||||
<IconInfoCircle className="h-3.5 w-3.5" />
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="top" align="end" className="max-w-[280px] text-xs leading-relaxed">
|
||||
Watches this task's linked pull request during the 1 minute PR refresh loop. Auto-fix queues
|
||||
task prompts for newly observed feedback, auto-merge waits for the PR to be ready, and the
|
||||
notification switches wake the task's agent when the workspace's connected GitHub account is
|
||||
requested for review or the PR reaches a terminal state. Review requests silently baseline
|
||||
the account's current request state before notifying on a later request.
|
||||
{t("github:watchesThisTaskSLinkedPull")}
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
);
|
||||
@@ -79,27 +77,29 @@ function CIAutomationPromptDialog({
|
||||
onSave: () => void;
|
||||
onReset: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const trimmed = prompt.trim();
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={(next) => !next && onClose()}>
|
||||
<DialogContent className="sm:max-w-2xl">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Auto-fix prompt</DialogTitle>
|
||||
<DialogTitle>{t("github:autoFixPrompt")}</DialogTitle>
|
||||
<DialogDescription>
|
||||
This prompt is used only for this task. Leave it blank to use the default prompt. Add{" "}
|
||||
<code
|
||||
data-testid="ci-auto-fix-pr-feedback-placeholder"
|
||||
className="rounded bg-muted px-1 py-0.5 text-[11px]"
|
||||
<Trans
|
||||
i18nKey="github:autoFixPromptDescription"
|
||||
values={{ placeholder: PR_FEEDBACK_PLACEHOLDER }}
|
||||
>
|
||||
{PR_FEEDBACK_PLACEHOLDER}
|
||||
</code>{" "}
|
||||
when you want Kandev to include its PR feedback snapshot.
|
||||
<code
|
||||
data-testid="ci-auto-fix-pr-feedback-placeholder"
|
||||
className="rounded bg-muted px-1 py-0.5 text-[11px]"
|
||||
/>
|
||||
</Trans>
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex flex-wrap items-center justify-between gap-2">
|
||||
<Label htmlFor="task-ci-auto-fix-prompt" className="text-xs">
|
||||
Task auto-fix prompt
|
||||
{t("github:taskAutoFixPrompt")}
|
||||
</Label>
|
||||
<div className="flex shrink-0 flex-wrap items-center justify-end gap-2">
|
||||
<Button
|
||||
@@ -109,14 +109,14 @@ function CIAutomationPromptDialog({
|
||||
className="h-7 cursor-pointer px-2 text-xs"
|
||||
onClick={() => onPromptChange(insertPRFeedbackPlaceholder(prompt))}
|
||||
>
|
||||
Insert PR feedback
|
||||
{t("github:insertPrFeedback")}
|
||||
</Button>
|
||||
<a
|
||||
href="/settings/prompts"
|
||||
className="cursor-pointer text-xs text-primary hover:underline"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
Edit default prompt
|
||||
{t("github:editDefaultPrompt")}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -124,14 +124,8 @@ function CIAutomationPromptDialog({
|
||||
data-testid="ci-auto-fix-pr-feedback-help"
|
||||
className="rounded-md border border-border/70 bg-muted/30 p-3 text-xs leading-relaxed text-muted-foreground"
|
||||
>
|
||||
<p>
|
||||
The placeholder inserts the current PR identifier, new or changed failing checks with
|
||||
GitHub job links, and new or changed review comments with file, line, and body text.
|
||||
</p>
|
||||
<p className="mt-2">
|
||||
Omit the placeholder if you want the agent to pull or fetch the branch and inspect
|
||||
GitHub itself instead of receiving Kandev's snapshot.
|
||||
</p>
|
||||
<p>{t("github:thePlaceholderInsertsTheCurrentPr")}</p>
|
||||
<p className="mt-2">{t("github:omitThePlaceholderIfYouWant")}</p>
|
||||
</div>
|
||||
<Textarea
|
||||
id="task-ci-auto-fix-prompt"
|
||||
@@ -143,17 +137,17 @@ function CIAutomationPromptDialog({
|
||||
</div>
|
||||
<DialogFooter>
|
||||
<Button variant="ghost" className="cursor-pointer" disabled={saving} onClick={onClose}>
|
||||
Cancel
|
||||
{t("common:cancel")}
|
||||
</Button>
|
||||
<Button variant="outline" className="cursor-pointer" disabled={saving} onClick={onReset}>
|
||||
Use default
|
||||
{t("github:useDefault")}
|
||||
</Button>
|
||||
<Button
|
||||
className="cursor-pointer"
|
||||
disabled={saving || trimmed.length === 0}
|
||||
onClick={onSave}
|
||||
>
|
||||
Save prompt
|
||||
{t("github:savePrompt")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
@@ -210,6 +204,7 @@ function CIAutomationErrorRow({
|
||||
loading: boolean;
|
||||
onRetry: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
role="alert"
|
||||
@@ -225,7 +220,7 @@ function CIAutomationErrorRow({
|
||||
onClick={onRetry}
|
||||
>
|
||||
<IconRefresh className={`h-3 w-3 ${loading ? "animate-spin" : ""}`} />
|
||||
Retry
|
||||
{t("github:retry")}
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
@@ -286,17 +281,15 @@ function CIAutoFixRoundHelpButton({
|
||||
state: TaskCIPRAutomationState | undefined;
|
||||
maxRounds: number | null | undefined;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const round = autoFixRoundForState(state, maxRounds);
|
||||
return (
|
||||
<CIAutomationHelpButton testId="ci-auto-fix-round-help" ariaLabel="Explain auto-fix rounds">
|
||||
<CIAutomationHelpButton
|
||||
testId="ci-auto-fix-round-help"
|
||||
ariaLabel={t("github:explainAutoFixRounds")}
|
||||
>
|
||||
<span data-testid="ci-auto-fix-round-explanation">
|
||||
Auto-fix has used {round.current} of {round.max} rounds for this PR. A round is counted when
|
||||
Kandev sends or queues a CI auto-fix message. Kandev waits for all PR checks to finish
|
||||
before starting a new CI auto-fix turn, so the agent gets the final failed checks and
|
||||
current comments together. Updating an already queued auto-fix message does not use another
|
||||
round. When this is at {round.max}/{round.max} and there is no pending auto-fix message left
|
||||
to update, Kandev pauses auto-fix for this PR so it cannot loop forever. Disable and
|
||||
re-enable auto-fix after manual review to start over.
|
||||
{t("github:autoFixRoundExplanation", { current: round.current, max: round.max })}
|
||||
</span>
|
||||
</CIAutomationHelpButton>
|
||||
);
|
||||
@@ -313,6 +306,7 @@ function PRAgentPromptRows({
|
||||
disabled: boolean;
|
||||
patchOption: (patch: TaskCIAutomationPatch) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const terminalHelpID = `task-pr-terminal-help-${taskId}`;
|
||||
const terminalHelp = "Wake the agent when review work ends. Choose either or both outcomes.";
|
||||
return (
|
||||
@@ -328,7 +322,7 @@ function PRAgentPromptRows({
|
||||
</span>
|
||||
<CIAutomationRow
|
||||
id={`task-pr-merged-prompt-${taskId}`}
|
||||
label="PR merged"
|
||||
label={t("github:prMerged")}
|
||||
describedBy={terminalHelpID}
|
||||
checked={Boolean(options?.prompt_on_merged)}
|
||||
disabled={disabled}
|
||||
@@ -336,7 +330,7 @@ function PRAgentPromptRows({
|
||||
help={
|
||||
<CIAutomationHelpButton
|
||||
testId="ci-pr-terminal-help"
|
||||
ariaLabel="Explain final PR state notifications"
|
||||
ariaLabel={t("github:explainFinalPrStateNotifications")}
|
||||
>
|
||||
{terminalHelp}
|
||||
</CIAutomationHelpButton>
|
||||
@@ -344,7 +338,7 @@ function PRAgentPromptRows({
|
||||
/>
|
||||
<CIAutomationRow
|
||||
id={`task-pr-closed-prompt-${taskId}`}
|
||||
label="PR closed without merging"
|
||||
label={t("github:prClosedWithoutMerging")}
|
||||
describedBy={terminalHelpID}
|
||||
checked={Boolean(options?.prompt_on_closed)}
|
||||
disabled={disabled}
|
||||
@@ -365,6 +359,7 @@ function ReviewFollowUpSection({
|
||||
disabled: boolean;
|
||||
patchOption: (patch: TaskCIAutomationPatch) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const { isFinePointer, isMobile } = useResponsiveBreakpoint();
|
||||
const [open, setOpen] = useState(false);
|
||||
const lifecycleEnabled = Boolean(
|
||||
@@ -384,10 +379,10 @@ function ReviewFollowUpSection({
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
data-testid="ci-review-follow-up-trigger"
|
||||
aria-label="Toggle review follow-up automation"
|
||||
aria-label={t("github:toggleReviewFollowUpAutomation")}
|
||||
className={`w-full cursor-pointer justify-between px-1 text-xs text-muted-foreground ${minHeight}`}
|
||||
>
|
||||
Review follow-up
|
||||
{t("github:reviewFollowUp")}
|
||||
<IconChevronDown
|
||||
aria-hidden="true"
|
||||
className={`h-3.5 w-3.5 transition-transform ${open ? "rotate-180" : ""}`}
|
||||
@@ -417,6 +412,7 @@ function ReviewRequestedPromptRow({
|
||||
disabled: boolean;
|
||||
patchOption: (patch: TaskCIAutomationPatch) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const helpID = `task-pr-review-requested-prompt-${taskId}-description`;
|
||||
const help = "Wake the agent for any new request, including re-review after changes.";
|
||||
return (
|
||||
@@ -426,7 +422,7 @@ function ReviewRequestedPromptRow({
|
||||
</span>
|
||||
<CIAutomationRow
|
||||
id={`task-pr-review-requested-prompt-${taskId}`}
|
||||
label="Your review is requested"
|
||||
label={t("github:yourReviewIsRequested")}
|
||||
describedBy={helpID}
|
||||
checked={Boolean(options?.prompt_on_review_requested)}
|
||||
disabled={disabled}
|
||||
@@ -434,7 +430,7 @@ function ReviewRequestedPromptRow({
|
||||
help={
|
||||
<CIAutomationHelpButton
|
||||
testId="ci-review-requested-help"
|
||||
ariaLabel="Explain review request notifications"
|
||||
ariaLabel={t("github:explainReviewRequestNotifications")}
|
||||
>
|
||||
{help}
|
||||
</CIAutomationHelpButton>
|
||||
@@ -451,9 +447,10 @@ function CIAutomationHeader({
|
||||
disabled: boolean;
|
||||
onEditPrompt: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex items-center justify-between gap-2 px-1">
|
||||
<div className="text-xs font-medium text-foreground">Automation</div>
|
||||
<div className="text-xs font-medium text-foreground">{t("github:automation")}</div>
|
||||
<div className="flex items-center gap-1">
|
||||
<CIAutomationInfoButton />
|
||||
<Button
|
||||
@@ -461,7 +458,7 @@ function CIAutomationHeader({
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="h-6 w-6 cursor-pointer text-muted-foreground hover:text-foreground"
|
||||
aria-label="Edit auto-fix prompt for this task"
|
||||
aria-label={t("github:editAutoFixPromptForThis")}
|
||||
disabled={disabled}
|
||||
onClick={onEditPrompt}
|
||||
>
|
||||
@@ -485,11 +482,12 @@ function CIAutomationOptionRows({
|
||||
patchOption: (patch: TaskCIAutomationPatch) => void;
|
||||
automationState: TaskCIPRAutomationState | undefined;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
<CIAutomationRow
|
||||
id={`task-ci-auto-fix-${pr.task_id}`}
|
||||
label="Auto-fix CI and address comments"
|
||||
label={t("github:autoFixCiAndAddressComments")}
|
||||
checked={Boolean(options?.auto_fix_enabled)}
|
||||
disabled={disabled}
|
||||
onCheckedChange={(checked) => patchOption({ auto_fix_enabled: checked })}
|
||||
@@ -504,7 +502,7 @@ function CIAutomationOptionRows({
|
||||
/>
|
||||
<CIAutomationRow
|
||||
id={`task-ci-auto-merge-${pr.task_id}`}
|
||||
label="Auto-merge when ready"
|
||||
label={t("github:autoMergeWhenReady")}
|
||||
checked={Boolean(options?.auto_merge_enabled)}
|
||||
disabled={disabled}
|
||||
onCheckedChange={(checked) => patchOption({ auto_merge_enabled: checked })}
|
||||
|
||||
@@ -30,6 +30,7 @@ import type { CheckRun, TaskPR } from "@/lib/types/github";
|
||||
import { PRCIAutomationControls } from "./pr-ci-automation-controls";
|
||||
import { PRMergeButton } from "./pr-merge-button";
|
||||
import { PRMergeabilityRow } from "./pr-mergeability-row";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type CountsView = {
|
||||
passed: number;
|
||||
@@ -89,6 +90,7 @@ function PRPopoverTitle({
|
||||
title: string;
|
||||
onOpenDetailPanel?: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const className = "min-w-0 truncate text-sm font-medium";
|
||||
if (!onOpenDetailPanel) {
|
||||
return (
|
||||
@@ -103,7 +105,7 @@ function PRPopoverTitle({
|
||||
data-testid="pr-popover-title"
|
||||
className={`${className} cursor-pointer text-left hover:underline`}
|
||||
title={title}
|
||||
aria-label={`Open ${title} details`}
|
||||
aria-label={t("github:openDetails", { title })}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
onOpenDetailPanel();
|
||||
@@ -121,7 +123,8 @@ function PRCIPopoverHeader({
|
||||
pr: TaskPR;
|
||||
onOpenDetailPanel?: () => void;
|
||||
}) {
|
||||
const title = `#${pr.pr_number} ${pr.pr_title || "Untitled PR"}`;
|
||||
const { t } = useTranslation();
|
||||
const title = `#${pr.pr_number} ${pr.pr_title || t("github:untitledPr")}`;
|
||||
return (
|
||||
<div
|
||||
data-testid="pr-popover-header"
|
||||
@@ -136,7 +139,7 @@ function PRCIPopoverHeader({
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="cursor-pointer text-muted-foreground hover:text-foreground"
|
||||
aria-label="View pull request on GitHub"
|
||||
aria-label={t("github:viewPullRequestOnGithub")}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
<IconGitPullRequest className="h-3.5 w-3.5" />
|
||||
@@ -152,14 +155,16 @@ function CheckGroupIcon({ kind }: { kind: CheckBucket }) {
|
||||
return <IconCircleX className="h-3.5 w-3.5 text-red-500" />;
|
||||
}
|
||||
|
||||
function bucketLabel(kind: CheckBucket): string {
|
||||
if (kind === "passed") return "Passed";
|
||||
if (kind === "in_progress") return "In progress";
|
||||
return "Failed";
|
||||
}
|
||||
/** `kind` is the persisted CheckBucket; only the catalog key is copy. */
|
||||
const BUCKET_LABEL_KEYS: Record<CheckBucket, string> = {
|
||||
passed: "github:checkBucketPassed",
|
||||
in_progress: "github:checkBucketInProgress",
|
||||
failed: "github:checkBucketFailed",
|
||||
};
|
||||
|
||||
function CheckGroupHeader({ kind, count }: { kind: CheckBucket; count: number }) {
|
||||
const label = bucketLabel(kind);
|
||||
const { t } = useTranslation();
|
||||
const label = t(BUCKET_LABEL_KEYS[kind]);
|
||||
return (
|
||||
<div className="flex items-center justify-between gap-2 px-1 py-1">
|
||||
<div className="flex items-center gap-1.5">
|
||||
@@ -183,6 +188,7 @@ function PRWorkflowRow({
|
||||
group: WorkflowGroup;
|
||||
onAddAsContext: ((message: string) => void) | null;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
// For an in-progress workflow, "0/1 ran" reads as "nothing finished"
|
||||
// and confuses people: did it start? It's clearer to just report how
|
||||
// many jobs are running. (Failed workflows go to a different bucket,
|
||||
@@ -215,7 +221,7 @@ function PRWorkflowRow({
|
||||
e.stopPropagation();
|
||||
void openExternalLink(group.htmlUrl).catch(() => undefined);
|
||||
}}
|
||||
aria-label={`Open ${group.workflow} on GitHub`}
|
||||
aria-label={t("github:openOnGithub", { workflow: group.workflow })}
|
||||
>
|
||||
<IconExternalLink className="h-3 w-3" />
|
||||
</Button>
|
||||
@@ -230,7 +236,7 @@ function PRWorkflowRow({
|
||||
e.stopPropagation();
|
||||
onAddAsContext(buildWorkflowMessage(group));
|
||||
}}
|
||||
aria-label={`Add ${group.workflow} failures to chat context`}
|
||||
aria-label={t("github:addFailuresToChatContext", { workflow: group.workflow })}
|
||||
>
|
||||
<IconPlus className="h-3 w-3" />
|
||||
</Button>
|
||||
@@ -239,6 +245,11 @@ function PRWorkflowRow({
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Agent-facing content, not UI copy: the returned string is queued into the chat
|
||||
* by `addAsContext` and sent to the agent verbatim, so it stays English for the
|
||||
* same reason the integration prompt templates do.
|
||||
*/
|
||||
function buildWorkflowMessage(group: WorkflowGroup): string {
|
||||
const failed = group.jobs.filter((j) => bucketCheck(j) === "failed");
|
||||
const lines: string[] = [
|
||||
@@ -309,6 +320,7 @@ function PRCheckGroup({
|
||||
* picture: how close are we to "all green".
|
||||
*/
|
||||
function PRChecksProgressBar({ counts }: { counts: CountsView }) {
|
||||
const { t } = useTranslation();
|
||||
const total = counts.passed + counts.inProgress + counts.failed;
|
||||
if (total === 0) return null;
|
||||
const pct = (n: number) => (n / total) * 100;
|
||||
@@ -319,7 +331,7 @@ function PRChecksProgressBar({ counts }: { counts: CountsView }) {
|
||||
return (
|
||||
<div data-testid="pr-checks-progress" className="flex flex-col gap-1.5 px-1 pt-1 pb-1.5">
|
||||
<div className="flex items-center justify-between text-xs">
|
||||
<span className="font-medium text-foreground">Pass rate</span>
|
||||
<span className="font-medium text-foreground">{t("github:passRate")}</span>
|
||||
<span className="text-muted-foreground tabular-nums">
|
||||
{counts.passed}/{total} ({completePct}%)
|
||||
</span>
|
||||
@@ -362,6 +374,7 @@ function PRChecksSection({
|
||||
isFetching: boolean;
|
||||
onAddAsContext: ((message: string) => void) | null;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const aggregateCounts = useMemo(() => deriveAggregateCounts(pr), [pr]);
|
||||
|
||||
const { precise, byBucket } = useMemo(() => {
|
||||
@@ -393,7 +406,7 @@ function PRChecksSection({
|
||||
return (
|
||||
<div data-testid="pr-checks-section" className="flex flex-col">
|
||||
<div data-testid="pr-checks-empty" className="px-1 py-2 text-xs text-muted-foreground">
|
||||
No checks have started
|
||||
{t("github:noChecksHaveStarted")}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
@@ -461,25 +474,27 @@ function PRReviewRow({ pr }: { pr: TaskPR }) {
|
||||
}
|
||||
|
||||
function PRCommentsRow({ pr }: { pr: TaskPR }) {
|
||||
const { t } = useTranslation();
|
||||
if (!pr.unresolved_review_threads || pr.unresolved_review_threads <= 0) return null;
|
||||
return (
|
||||
<div data-testid="pr-comments-row" className="flex items-center gap-1.5 px-1 py-1 text-xs">
|
||||
<IconMessageCircle className="h-3.5 w-3.5 text-muted-foreground" />
|
||||
<span>
|
||||
{pr.unresolved_review_threads} unresolved comment
|
||||
{pr.unresolved_review_threads === 1 ? "" : "s"}
|
||||
</span>
|
||||
<span>{t("github:unresolvedComments", { count: pr.unresolved_review_threads })}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function elapsedLabel(elapsed: number | null): string {
|
||||
function elapsedLabel(
|
||||
elapsed: number | null,
|
||||
t: (k: string, v?: Record<string, unknown>) => string,
|
||||
): string {
|
||||
if (elapsed == null) return "";
|
||||
if (elapsed === 0) return "updated just now";
|
||||
return `updated ${formatElapsedShort(elapsed)} ago`;
|
||||
if (elapsed === 0) return t("github:updatedJustNow");
|
||||
return t("github:updatedAgo", { elapsed: formatElapsedShort(elapsed) });
|
||||
}
|
||||
|
||||
function PRPopoverFooter({ lastUpdatedAt }: { lastUpdatedAt: number | null }) {
|
||||
const { t } = useTranslation();
|
||||
// Capture a "now" snapshot only inside the setInterval callback (an event
|
||||
// handler — no impurity in render, no setState during commit). When no
|
||||
// tick has fired yet, fall back to lastUpdatedAt so the rendered elapsed
|
||||
@@ -504,7 +519,7 @@ function PRPopoverFooter({ lastUpdatedAt }: { lastUpdatedAt: number | null }) {
|
||||
data-testid="pr-popover-updated-at"
|
||||
className="text-[10px] text-muted-foreground tabular-nums"
|
||||
>
|
||||
{elapsedLabel(elapsed)}
|
||||
{elapsedLabel(elapsed, t)}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
@@ -519,18 +534,19 @@ function formatElapsedShort(seconds: number): string {
|
||||
}
|
||||
|
||||
function ReconnectGitHubBlock() {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
data-testid="pr-popover-auth-error"
|
||||
className="flex flex-col items-start gap-1 px-1 py-2 text-xs"
|
||||
>
|
||||
<span className="text-foreground">GitHub authentication lost.</span>
|
||||
<span className="text-foreground">{t("github:githubAuthenticationLost")}</span>
|
||||
<a
|
||||
data-testid="pr-popover-reconnect-link"
|
||||
href="/settings#github"
|
||||
className="cursor-pointer text-primary hover:underline"
|
||||
>
|
||||
Reconnect GitHub
|
||||
{t("github:reconnectGithub")}
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
@@ -591,6 +607,7 @@ export function PRCIPopover({
|
||||
|
||||
// --- Add-to-context wiring (mirrors pr-detail-panel.tsx for failed checks) ---
|
||||
function useAddCheckToContext(pr: TaskPR): ((message: string) => void) | null {
|
||||
const { t } = useTranslation();
|
||||
const sessionId = useAppStore((s) => s.tasks.activeSessionId);
|
||||
const addComment = useCommentsStore((s) => s.addComment);
|
||||
const { toast } = useToast();
|
||||
@@ -614,7 +631,7 @@ function useAddCheckToContext(pr: TaskPR): ((message: string) => void) | null {
|
||||
content: message,
|
||||
};
|
||||
addComment(comment);
|
||||
toast({ description: "Added to chat context" });
|
||||
toast({ description: t("github:addedToChatContext") });
|
||||
},
|
||||
[sessionId, prNumber, addComment, toast],
|
||||
);
|
||||
|
||||
@@ -2,6 +2,7 @@ import { useMemo, useState } from "react";
|
||||
import { IconChevronDown, IconChevronRight } from "@tabler/icons-react";
|
||||
import type { PRComment } from "@/lib/types/github";
|
||||
import { CollapsibleSection, AddToContextButton, FeedbackItemRow } from "./pr-shared";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function buildCommentMessage(comment: PRComment, prUrl: string): string {
|
||||
const location = comment.path
|
||||
@@ -68,6 +69,7 @@ function buildThreads(comments: PRComment[]): CommentThread[] {
|
||||
}
|
||||
|
||||
function CommentMetaBadge({ comment, isReply }: { comment: PRComment; isReply?: boolean }) {
|
||||
const { t } = useTranslation();
|
||||
if (comment.path) {
|
||||
return (
|
||||
<span className="text-[10px] text-muted-foreground font-mono truncate max-w-[180px]">
|
||||
@@ -77,7 +79,7 @@ function CommentMetaBadge({ comment, isReply }: { comment: PRComment; isReply?:
|
||||
);
|
||||
}
|
||||
if (!isReply) {
|
||||
return <span className="text-[10px] text-muted-foreground">(general)</span>;
|
||||
return <span className="text-[10px] text-muted-foreground">{t("github:general")}</span>;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
@@ -115,6 +117,7 @@ function ThreadBlock({
|
||||
prUrl: string;
|
||||
onAddAsContext: (message: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const hasReplies = thread.replies.length > 0;
|
||||
return (
|
||||
<div className="space-y-1.5">
|
||||
@@ -125,7 +128,7 @@ function ThreadBlock({
|
||||
{hasReplies && (
|
||||
<AddToContextButton
|
||||
onClick={() => onAddAsContext(buildThreadMessage(thread, prUrl))}
|
||||
tooltip="Add whole thread to chat context"
|
||||
tooltip={t("github:addWholeThreadToChatContext")}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
@@ -151,6 +154,7 @@ export function CommentsSection({
|
||||
prUrl: string;
|
||||
onAddAsContext: (message: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [showBotComments, setShowBotComments] = useState(false);
|
||||
const humanComments = useMemo(
|
||||
() => comments.filter((comment) => !comment.author_is_bot),
|
||||
@@ -165,14 +169,14 @@ export function CommentsSection({
|
||||
|
||||
return (
|
||||
<CollapsibleSection
|
||||
title="Comments"
|
||||
title={t("github:comments")}
|
||||
count={comments.length}
|
||||
defaultOpen
|
||||
onAddAll={() => onAddAsContext(buildAllCommentsMessage(comments, prUrl))}
|
||||
addAllLabel="Add all comments to chat context"
|
||||
addAllLabel={t("github:addAllCommentsToChatContext")}
|
||||
>
|
||||
{comments.length === 0 && (
|
||||
<p className="text-xs text-muted-foreground px-2 py-2">No comments yet</p>
|
||||
<p className="text-xs text-muted-foreground px-2 py-2">{t("github:noCommentsYet")}</p>
|
||||
)}
|
||||
{humanThreads.map((thread) => (
|
||||
<ThreadBlock
|
||||
@@ -193,7 +197,8 @@ export function CommentsSection({
|
||||
) : (
|
||||
<IconChevronRight className="h-3.5 w-3.5" />
|
||||
)}
|
||||
Bot comments ({botComments.length})
|
||||
{t("github:botComments")}
|
||||
{botComments.length})
|
||||
</button>
|
||||
)}
|
||||
{showBotComments &&
|
||||
|
||||
@@ -40,6 +40,7 @@ import { ChecksSection } from "./pr-checks-section";
|
||||
import { ReviewsSection } from "./pr-reviews-section";
|
||||
import { CommentsSection } from "./pr-comments-section";
|
||||
import { usePRScopedReviewRequest } from "./use-pr-scoped-review-request";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
|
||||
// --- Dockview panel wrapper ---
|
||||
|
||||
@@ -50,6 +51,7 @@ type PRDetailPanelProps = {
|
||||
};
|
||||
|
||||
export function PRDetailPanelComponent({ panelId, params }: PRDetailPanelProps) {
|
||||
const { t } = useTranslation();
|
||||
const activeTaskId = useAppStore((s) => s.tasks.activeTaskId);
|
||||
const { prs } = useTaskPR(activeTaskId);
|
||||
const activePR = useActiveTaskPR();
|
||||
@@ -68,7 +70,7 @@ export function PRDetailPanelComponent({ panelId, params }: PRDetailPanelProps)
|
||||
if (!pr || !sessionId) {
|
||||
return (
|
||||
<div className="flex items-center justify-center h-full text-muted-foreground text-sm">
|
||||
No pull request linked to this session.
|
||||
{t("github:noPullRequestLinkedToThis")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -83,6 +85,7 @@ export function PRDetailPanelComponent({ panelId, params }: PRDetailPanelProps)
|
||||
// --- Add PR feedback as chat context ---
|
||||
|
||||
function useAddPRFeedbackAsContext(sessionId: string, prNumber: number) {
|
||||
const { t } = useTranslation();
|
||||
const { toast } = useToast();
|
||||
const addComment = useCommentsStore((s) => s.addComment);
|
||||
|
||||
@@ -100,7 +103,7 @@ function useAddPRFeedbackAsContext(sessionId: string, prNumber: number) {
|
||||
content,
|
||||
};
|
||||
addComment(comment);
|
||||
toast({ description: "Added to chat context" });
|
||||
toast({ description: t("github:addedToChatContext") });
|
||||
},
|
||||
[sessionId, prNumber, addComment, toast],
|
||||
);
|
||||
@@ -218,9 +221,10 @@ function derivePanelMetrics(taskPR: TaskPR, feedback: PRFeedback | null): PRPane
|
||||
}
|
||||
|
||||
function DescriptionSection({ body }: { body: string }) {
|
||||
const { t } = useTranslation();
|
||||
if (!body) return null;
|
||||
return (
|
||||
<CollapsibleSection title="Description" count={1} defaultOpen={false}>
|
||||
<CollapsibleSection title={t("github:description")} count={1} defaultOpen={false}>
|
||||
<div className="px-2">
|
||||
<PRMarkdownBody body={body} />
|
||||
</div>
|
||||
@@ -267,6 +271,7 @@ function ApproveButton({
|
||||
feedback: PRFeedback | null;
|
||||
onRefresh: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const { toast } = useToast();
|
||||
const [submitting, setSubmitting] = useState(false);
|
||||
// Ensures status (and thus the authenticated username) is fetched even when
|
||||
@@ -288,12 +293,12 @@ function ApproveButton({
|
||||
{ owner: taskPR.owner, repo: taskPR.repo, number: taskPR.pr_number },
|
||||
"APPROVE",
|
||||
);
|
||||
toast({ description: "PR approved", variant: "success" });
|
||||
toast({ description: t("github:prApproved"), variant: "success" });
|
||||
onRefresh();
|
||||
} catch (e) {
|
||||
toast({
|
||||
title: "Failed to approve",
|
||||
description: e instanceof Error ? e.message : "An error occurred",
|
||||
title: t("github:failedToApprove"),
|
||||
description: e instanceof Error ? e.message : t("github:anErrorOccurred"),
|
||||
variant: "error",
|
||||
});
|
||||
} finally {
|
||||
@@ -310,12 +315,33 @@ function ApproveButton({
|
||||
disabled={submitting}
|
||||
>
|
||||
<IconCheck className="h-3.5 w-3.5" />
|
||||
{submitting ? "Approving..." : `Approve as ${mutationActor}`}
|
||||
{submitting ? t("github:approving") : t("github:approveAs", { mutationActor })}
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* True once a conflict prompt for this PR is already queued — avoids piling up
|
||||
* identical instructions if the user clicks "Resolve conflicts" again. Extracted
|
||||
* from PRDetailContent, which is at the 100-line function cap.
|
||||
*/
|
||||
function useConflictQueued(sessionId: string, prNumber: number): boolean {
|
||||
return useCommentsStore((s) =>
|
||||
s.pendingForChat.some((id) => {
|
||||
const c = s.byId[id];
|
||||
return (
|
||||
!!c &&
|
||||
isPRFeedbackComment(c) &&
|
||||
c.feedbackType === "conflict" &&
|
||||
c.sessionId === sessionId &&
|
||||
c.prNumber === prNumber
|
||||
);
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
export function PRDetailContent({ taskPR, sessionId }: { taskPR: TaskPR; sessionId: string }) {
|
||||
const { t } = useTranslation();
|
||||
const workspaceId = useAppStore((state) => state.workspaces.activeId);
|
||||
const { feedback, loading, refresh } = usePRFeedback(
|
||||
workspaceId,
|
||||
@@ -337,20 +363,7 @@ export function PRDetailContent({ taskPR, sessionId }: { taskPR: TaskPR; session
|
||||
|
||||
const metrics = derivePanelMetrics(taskPR, feedback);
|
||||
|
||||
// True once a conflict prompt for this PR is already queued — avoids piling
|
||||
// up identical instructions if the user clicks "Resolve conflicts" again.
|
||||
const conflictQueued = useCommentsStore((s) =>
|
||||
s.pendingForChat.some((id) => {
|
||||
const c = s.byId[id];
|
||||
return (
|
||||
!!c &&
|
||||
isPRFeedbackComment(c) &&
|
||||
c.feedbackType === "conflict" &&
|
||||
c.sessionId === sessionId &&
|
||||
c.prNumber === taskPR.pr_number
|
||||
);
|
||||
}),
|
||||
);
|
||||
const conflictQueued = useConflictQueued(sessionId, taskPR.pr_number);
|
||||
|
||||
const onResolveConflicts = useCallback(() => {
|
||||
if (conflictQueued) return;
|
||||
@@ -415,7 +428,7 @@ export function PRDetailContent({ taskPR, sessionId }: { taskPR: TaskPR; session
|
||||
<>
|
||||
<Separator />
|
||||
<div className="px-3 py-2 text-[10px] text-muted-foreground text-center">
|
||||
Last synced {formatTimeAgo(taskPR.last_synced_at)}
|
||||
{t("github:lastSynced")} {formatTimeAgo(taskPR.last_synced_at)}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
@@ -446,6 +459,7 @@ function HeaderTitleRow({
|
||||
loading: boolean;
|
||||
onRefresh: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex items-start justify-between gap-2">
|
||||
<a
|
||||
@@ -468,35 +482,38 @@ function HeaderTitleRow({
|
||||
<IconRefresh className={`h-3.5 w-3.5 ${loading ? "animate-spin" : ""}`} />
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>Refresh</TooltipContent>
|
||||
<TooltipContent>{t("github:refresh")}</TooltipContent>
|
||||
</Tooltip>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function HeaderDateLine({ taskPR }: { taskPR: TaskPR }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex items-center gap-1.5 text-xs text-muted-foreground flex-wrap">
|
||||
<span className="flex items-center gap-0.5">
|
||||
by <AuthorLink author={taskPR.author_login} />
|
||||
<Trans i18nKey="github:byAuthor">
|
||||
by <AuthorLink author={taskPR.author_login} />
|
||||
</Trans>
|
||||
</span>
|
||||
<span>·</span>
|
||||
<span className={getTimeAgoColor(taskPR.created_at)}>
|
||||
opened {formatTimeAgo(taskPR.created_at)}
|
||||
{t("github:openedAgo", { time: formatTimeAgo(taskPR.created_at) })}
|
||||
</span>
|
||||
{taskPR.merged_at && (
|
||||
<>
|
||||
<span>·</span>
|
||||
<span className="flex items-center gap-0.5">
|
||||
<IconGitMerge className="h-3 w-3 text-purple-500" />
|
||||
merged {formatTimeAgo(taskPR.merged_at)}
|
||||
{t("github:mergedAgo", { time: formatTimeAgo(taskPR.merged_at) })}
|
||||
</span>
|
||||
</>
|
||||
)}
|
||||
{taskPR.closed_at && !taskPR.merged_at && (
|
||||
<>
|
||||
<span>·</span>
|
||||
<span>closed {formatTimeAgo(taskPR.closed_at)}</span>
|
||||
<span>{t("github:closedAgo", { time: formatTimeAgo(taskPR.closed_at) })}</span>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
@@ -504,6 +521,7 @@ function HeaderDateLine({ taskPR }: { taskPR: TaskPR }) {
|
||||
}
|
||||
|
||||
function HeaderStatsLine({ taskPR, metrics }: { taskPR: TaskPR; metrics: PRPanelMetrics }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex items-center gap-3 text-xs text-muted-foreground flex-wrap">
|
||||
<span className="flex items-center gap-1">
|
||||
@@ -516,18 +534,16 @@ function HeaderStatsLine({ taskPR, metrics }: { taskPR: TaskPR; metrics: PRPanel
|
||||
</span>
|
||||
<span>·</span>
|
||||
<span>
|
||||
{metrics.reviewCount} review{metrics.reviewCount !== 1 ? "s" : ""}
|
||||
{t("github:reviewCount", { count: metrics.reviewCount })}
|
||||
{metrics.pendingReviewCount > 0 && (
|
||||
<span className="text-yellow-600 dark:text-yellow-400">
|
||||
{" "}
|
||||
({metrics.pendingReviewCount} pending)
|
||||
{t("github:pendingReviewCount", { count: metrics.pendingReviewCount })}
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
<span>·</span>
|
||||
<span>
|
||||
{metrics.commentCount} comment{metrics.commentCount !== 1 ? "s" : ""}
|
||||
</span>
|
||||
<span>{t("github:commentCount", { count: metrics.commentCount })}</span>
|
||||
{metrics.reviewState && <ReviewStateBadge state={metrics.reviewState} />}
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -17,6 +17,7 @@ import { mergePR } from "@/lib/api/domains/github-api";
|
||||
import { getGitHubMutationActor } from "@/lib/github-auth";
|
||||
import type { MergeMethod, TaskPR } from "@/lib/types/github";
|
||||
import { isPRReadyToMerge } from "./pr-task-icon";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function MutationActor({ actor }: { actor: string | null }) {
|
||||
if (!actor) return null;
|
||||
@@ -31,6 +32,7 @@ function CompactMergeButton({
|
||||
extraMethods,
|
||||
onPickMethod,
|
||||
}: Omit<MergeButtonShellProps, "compact">) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex flex-col gap-1.5">
|
||||
<button
|
||||
@@ -45,7 +47,7 @@ function CompactMergeButton({
|
||||
</button>
|
||||
{extraMethods.length > 0 && (
|
||||
<div className="flex items-center justify-center gap-1 text-[11px] text-muted-foreground">
|
||||
<span>or</span>
|
||||
<span>{t("github:or")}</span>
|
||||
{extraMethods.map((method) => (
|
||||
<button
|
||||
key={method}
|
||||
@@ -58,7 +60,7 @@ function CompactMergeButton({
|
||||
}}
|
||||
className="cursor-pointer rounded px-1.5 py-0.5 font-medium hover:bg-muted hover:text-foreground disabled:cursor-default disabled:opacity-60"
|
||||
>
|
||||
{mergeShortLabel(method)}
|
||||
{t(mergeShortLabelKey(method))}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
@@ -84,6 +86,7 @@ export function PRMergeButton({
|
||||
onMerged?: () => void;
|
||||
compact?: boolean;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const { toast } = useToast();
|
||||
const [merging, setMerging] = useState(false);
|
||||
// After a successful merge we stay hidden until the store catches up to
|
||||
@@ -120,12 +123,12 @@ export function PRMergeButton({
|
||||
try {
|
||||
await mergePR(workspaceId, taskPR.owner, taskPR.repo, taskPR.pr_number, method);
|
||||
setMerged(true);
|
||||
toast({ description: "PR merged", variant: "success" });
|
||||
toast({ description: t("github:prMerged"), variant: "success" });
|
||||
onMerged?.();
|
||||
} catch (err) {
|
||||
toast({
|
||||
title: "Failed to merge",
|
||||
description: err instanceof Error ? err.message : "An error occurred",
|
||||
title: t("github:failedToMerge"),
|
||||
description: err instanceof Error ? err.message : t("github:anErrorOccurred"),
|
||||
variant: "error",
|
||||
});
|
||||
} finally {
|
||||
@@ -141,7 +144,7 @@ export function PRMergeButton({
|
||||
return (
|
||||
<MergeButtonShell
|
||||
compact={compact}
|
||||
label={merging ? "Merging..." : mergeLabel(primary)}
|
||||
label={merging ? t("github:merging") : t(mergeLabelKey(primary))}
|
||||
disabled={merging}
|
||||
actor={mutationActor}
|
||||
onPrimaryClick={handlePrimary}
|
||||
@@ -170,6 +173,7 @@ function MergeButtonShell({
|
||||
extraMethods,
|
||||
onPickMethod,
|
||||
}: MergeButtonShellProps) {
|
||||
const { t } = useTranslation();
|
||||
// Compact (hover popover): a single full-width primary button plus quiet
|
||||
// "or <method>" links for the alternates. Deliberately avoids a dropdown —
|
||||
// its menu renders in a detached portal that closes the hover popover the
|
||||
@@ -220,7 +224,7 @@ function MergeButtonShell({
|
||||
<button
|
||||
type="button"
|
||||
data-testid="pr-merge-button-more"
|
||||
aria-label="Choose merge method"
|
||||
aria-label={t("github:chooseMergeMethod")}
|
||||
disabled={disabled}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
className="inline-flex items-center rounded-r-md border-l border-green-700/40 bg-green-600 px-2 text-white hover:bg-green-700 dark:bg-green-600 dark:hover:bg-green-500 disabled:opacity-60 cursor-pointer"
|
||||
@@ -231,7 +235,7 @@ function MergeButtonShell({
|
||||
<DropdownMenuContent align="end" className="w-auto">
|
||||
{extraMethods.map((m) => (
|
||||
<DropdownMenuItem key={m} onSelect={() => onPickMethod(m)}>
|
||||
{mergeLabel(m)}
|
||||
{t(mergeLabelKey(m))}
|
||||
</DropdownMenuItem>
|
||||
))}
|
||||
</DropdownMenuContent>
|
||||
@@ -242,29 +246,30 @@ function MergeButtonShell({
|
||||
);
|
||||
}
|
||||
|
||||
function mergeLabel(method?: MergeMethod): string {
|
||||
/** `method` is GitHub's persisted merge method; only the label is copy. */
|
||||
function mergeLabelKey(method?: MergeMethod): string {
|
||||
switch (method) {
|
||||
case "squash":
|
||||
return "Squash and merge";
|
||||
return "github:mergeMethodSquash";
|
||||
case "rebase":
|
||||
return "Rebase and merge";
|
||||
return "github:mergeMethodRebase";
|
||||
case "merge":
|
||||
return "Create a merge commit";
|
||||
return "github:mergeMethodMergeCommit";
|
||||
default:
|
||||
return "Merge PR";
|
||||
return "github:mergeMethodDefault";
|
||||
}
|
||||
}
|
||||
|
||||
// Short form used by the compact "or <method>" alternates so the row fits the
|
||||
// narrow popover without wrapping.
|
||||
function mergeShortLabel(method: MergeMethod): string {
|
||||
function mergeShortLabelKey(method: MergeMethod): string {
|
||||
switch (method) {
|
||||
case "squash":
|
||||
return "Squash";
|
||||
return "github:mergeMethodSquashShort";
|
||||
case "rebase":
|
||||
return "Rebase";
|
||||
return "github:mergeMethodRebaseShort";
|
||||
case "merge":
|
||||
return "Merge commit";
|
||||
return "github:mergeMethodMergeCommitShort";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@ import { IconAlertTriangle } from "@tabler/icons-react";
|
||||
import { Button } from "@kandev/ui/button";
|
||||
import { cn } from "@/lib/utils";
|
||||
import type { MergeableState } from "@/lib/types/github";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { t } from "@/lib/i18n";
|
||||
|
||||
// --- Pure descriptor (unit-tested) ---
|
||||
|
||||
@@ -30,9 +32,9 @@ export function describeMergeability({
|
||||
case "dirty":
|
||||
return { kind: "banner" };
|
||||
case "blocked":
|
||||
return { kind: "chip", label: "Blocked" };
|
||||
return { kind: "chip", label: t("github:blocked") };
|
||||
case "behind":
|
||||
return { kind: "chip", label: "Behind base" };
|
||||
return { kind: "chip", label: t("github:behindBase") };
|
||||
case "clean":
|
||||
case "unstable":
|
||||
case "has_hooks":
|
||||
@@ -75,6 +77,7 @@ function ConflictBanner({
|
||||
resolveDisabled?: boolean;
|
||||
popover?: boolean;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
data-testid="pr-conflict-banner"
|
||||
@@ -86,10 +89,10 @@ function ConflictBanner({
|
||||
<IconAlertTriangle className="h-4 w-4 shrink-0 text-red-600 dark:text-red-400 mt-0.5" />
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="text-xs font-semibold text-red-600 dark:text-red-400">
|
||||
Merge conflicts with <code className="font-mono">{baseBranch}</code>
|
||||
{t("github:mergeConflictsWith")} <code className="font-mono">{baseBranch}</code>
|
||||
</div>
|
||||
<p className="mt-0.5 text-[11px] leading-snug text-muted-foreground">
|
||||
This branch can't be merged automatically. Resolve the conflicts before merging.
|
||||
{t("github:thisBranchCanTBeMerged")}
|
||||
</p>
|
||||
{onResolveConflicts && (
|
||||
<Button
|
||||
@@ -100,7 +103,7 @@ function ConflictBanner({
|
||||
onClick={onResolveConflicts}
|
||||
disabled={resolveDisabled}
|
||||
>
|
||||
{resolveDisabled ? "Added to chat context" : "Resolve conflicts"}
|
||||
{resolveDisabled ? t("github:addedToChatContext") : t("github:resolveConflicts")}
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
@@ -123,6 +126,7 @@ function MergeabilityChip({ label, popover }: { label: string; popover?: boolean
|
||||
}
|
||||
|
||||
function NotMergeableText({ popover }: { popover?: boolean }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<span
|
||||
className={cn(
|
||||
@@ -131,7 +135,7 @@ function NotMergeableText({ popover }: { popover?: boolean }) {
|
||||
)}
|
||||
>
|
||||
<IconAlertTriangle className={popover ? "h-3.5 w-3.5" : "h-3 w-3"} />
|
||||
Not mergeable
|
||||
{t("github:notMergeable")}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { afterEach, beforeEach, describe, expect, it } from "vitest";
|
||||
import { t } from "@/lib/i18n";
|
||||
import { cleanup, fireEvent, render } from "@testing-library/react";
|
||||
import { StateProvider } from "@/components/state-provider";
|
||||
import { ToastProvider } from "@/components/toast-provider";
|
||||
@@ -155,19 +156,19 @@ describe("PRMergeabilityRow", () => {
|
||||
|
||||
describe("blockedReason", () => {
|
||||
it("names the approval shortfall when required reviews aren't met", () => {
|
||||
expect(blockedReason(makePR({ required_reviews: 2, review_count: 0 }))).toContain(
|
||||
expect(blockedReason(makePR({ required_reviews: 2, review_count: 0 }), t)).toContain(
|
||||
"2 more approvals",
|
||||
);
|
||||
expect(blockedReason(makePR({ required_reviews: 2, review_count: 1 }))).toContain(
|
||||
expect(blockedReason(makePR({ required_reviews: 2, review_count: 1 }), t)).toContain(
|
||||
"1 more approval",
|
||||
);
|
||||
});
|
||||
|
||||
it("points at a failing required check when CI is failure/pending", () => {
|
||||
expect(blockedReason(makePR({ checks_state: "failure" })).toLowerCase()).toContain(
|
||||
expect(blockedReason(makePR({ checks_state: "failure" }), t).toLowerCase()).toContain(
|
||||
"required status check",
|
||||
);
|
||||
expect(blockedReason(makePR({ checks_state: "pending" })).toLowerCase()).toContain(
|
||||
expect(blockedReason(makePR({ checks_state: "pending" }), t).toLowerCase()).toContain(
|
||||
"required status check",
|
||||
);
|
||||
});
|
||||
@@ -175,7 +176,7 @@ describe("blockedReason", () => {
|
||||
it("does not claim a check failed when no CI is configured (empty checks_state)", () => {
|
||||
// Regression: `checks_state !== "success"` also matched "" and falsely
|
||||
// reported a status-check block on a code-owners/conversation gate.
|
||||
const msg = blockedReason(makePR({ checks_state: "" })).toLowerCase();
|
||||
const msg = blockedReason(makePR({ checks_state: "" }), t).toLowerCase();
|
||||
expect(msg).not.toContain("required status check");
|
||||
expect(msg).toContain("repository rules");
|
||||
});
|
||||
@@ -183,6 +184,7 @@ describe("blockedReason", () => {
|
||||
it("falls back to a generic protection note for other rules", () => {
|
||||
const msg = blockedReason(
|
||||
makePR({ checks_state: "success", required_reviews: 1, review_count: 1 }),
|
||||
t,
|
||||
);
|
||||
expect(msg.toLowerCase()).toContain("repository rules");
|
||||
});
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
import type { TaskPR } from "@/lib/types/github";
|
||||
import { isPRAwaitingReview, isPRWaitingOnBranchProtection } from "./pr-task-icon";
|
||||
import { PRMergeabilityNotice, buildConflictResolutionMessage } from "./pr-mergeability-notice";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
/**
|
||||
* Wires the "Resolve conflicts" CTA to chat context, mirroring the PR detail
|
||||
@@ -22,6 +23,7 @@ function useResolveConflicts(pr: TaskPR): {
|
||||
onResolveConflicts: (() => void) | null;
|
||||
conflictQueued: boolean;
|
||||
} {
|
||||
const { t } = useTranslation();
|
||||
const sessionId = useAppStore((s) => s.tasks.activeSessionId);
|
||||
const addComment = useCommentsStore((s) => s.addComment);
|
||||
const { toast } = useToast();
|
||||
@@ -59,7 +61,7 @@ function useResolveConflicts(pr: TaskPR): {
|
||||
content,
|
||||
};
|
||||
addComment(comment);
|
||||
toast({ description: "Added to chat context" });
|
||||
toast({ description: t("github:addedToChatContext") });
|
||||
}, [sessionId, conflictQueued, prNumber, headBranch, baseBranch, addComment, toast]);
|
||||
|
||||
return { onResolveConflicts: sessionId ? handler : null, conflictQueued };
|
||||
@@ -74,6 +76,7 @@ function useResolveConflicts(pr: TaskPR): {
|
||||
* mergeable" while GitHub recomputes).
|
||||
*/
|
||||
export function PRMergeabilityRow({ pr }: { pr: TaskPR }) {
|
||||
const { t } = useTranslation();
|
||||
const { onResolveConflicts, conflictQueued } = useResolveConflicts(pr);
|
||||
// "blocked" gets a richer note than the bare chip: it explains *why* the
|
||||
// merge is gated. But when the block is only an outstanding requested review,
|
||||
@@ -84,9 +87,9 @@ export function PRMergeabilityRow({ pr }: { pr: TaskPR }) {
|
||||
if (pr.state === "open" && pr.mergeable_state === "blocked") {
|
||||
if (isPRAwaitingReview(pr)) return null;
|
||||
if (isPRWaitingOnBranchProtection(pr)) {
|
||||
return <BranchProtectionWaitNote reason={blockedReason(pr)} />;
|
||||
return <BranchProtectionWaitNote reason={blockedReason(pr, t)} />;
|
||||
}
|
||||
return <BlockedNote reason={blockedReason(pr)} />;
|
||||
return <BlockedNote reason={blockedReason(pr, t)} />;
|
||||
}
|
||||
return (
|
||||
<PRMergeabilityNotice
|
||||
@@ -108,21 +111,25 @@ export function PRMergeabilityRow({ pr }: { pr: TaskPR }) {
|
||||
* fields we do have (required reviews, CI state) and fall back to a generic
|
||||
* note for the rest (code owners, required conversations, etc.).
|
||||
*/
|
||||
export function blockedReason(pr: TaskPR): string {
|
||||
export function blockedReason(
|
||||
pr: TaskPR,
|
||||
t: (key: string, values?: Record<string, unknown>) => string,
|
||||
): string {
|
||||
const required = pr.required_reviews ?? null;
|
||||
if (required != null && pr.review_count < required) {
|
||||
const missing = required - pr.review_count;
|
||||
return `Needs ${missing} more approval${missing === 1 ? "" : "s"} before it can merge.`;
|
||||
return t("github:blockedNeedsApprovals", { count: missing });
|
||||
}
|
||||
// Only "failure"/"pending" indicate an actual check problem; "" means no CI
|
||||
// is configured (or it hasn't loaded), which isn't a status-check block.
|
||||
if (pr.checks_state === "failure" || pr.checks_state === "pending") {
|
||||
return "A required status check hasn't passed yet.";
|
||||
return t("github:blockedStatusCheck");
|
||||
}
|
||||
return "Required reviews, code owners, or repository rules still need to clear.";
|
||||
return t("github:blockedGeneric");
|
||||
}
|
||||
|
||||
function BlockedNote({ reason }: { reason: string }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div data-testid="pr-blocked-note" className="flex items-start gap-1.5 px-1 py-1 text-xs">
|
||||
<IconShield
|
||||
@@ -131,7 +138,7 @@ function BlockedNote({ reason }: { reason: string }) {
|
||||
/>
|
||||
<div className="min-w-0">
|
||||
<div className="font-medium text-amber-600 dark:text-amber-400">
|
||||
Blocked by branch protection
|
||||
{t("github:blockedByBranchProtection")}
|
||||
</div>
|
||||
<p className="text-[11px] leading-snug text-muted-foreground">{reason}</p>
|
||||
</div>
|
||||
@@ -140,6 +147,7 @@ function BlockedNote({ reason }: { reason: string }) {
|
||||
}
|
||||
|
||||
function BranchProtectionWaitNote({ reason }: { reason: string }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
data-testid="pr-branch-protection-wait-note"
|
||||
@@ -147,7 +155,9 @@ function BranchProtectionWaitNote({ reason }: { reason: string }) {
|
||||
>
|
||||
<IconClock className="mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" />
|
||||
<div className="min-w-0">
|
||||
<div className="font-medium text-muted-foreground">Waiting on branch protection</div>
|
||||
<div className="font-medium text-muted-foreground">
|
||||
{t("github:waitingOnBranchProtection")}
|
||||
</div>
|
||||
<p className="text-[11px] leading-snug text-muted-foreground">{reason}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@ import { Badge } from "@kandev/ui/badge";
|
||||
import { Button } from "@kandev/ui/button";
|
||||
import type { PRReview, RequestedReviewer } from "@/lib/types/github";
|
||||
import { CollapsibleSection, FeedbackItemRow } from "./pr-shared";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function ReviewStateIcon({ state }: { state: string }) {
|
||||
if (state === "APPROVED") return <IconCheck className="h-3.5 w-3.5 text-green-500 shrink-0" />;
|
||||
@@ -141,6 +142,7 @@ function SubmittedReviewRow({
|
||||
isRequesting: boolean;
|
||||
onReRequest?: (reviewer: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const hasActionable = review.state === "CHANGES_REQUESTED" || !!review.body;
|
||||
return (
|
||||
<div data-testid={`pr-submitted-review-${normalizeLogin(review.author)}`}>
|
||||
@@ -159,11 +161,11 @@ function SubmittedReviewRow({
|
||||
variant="outline"
|
||||
className="h-8 min-h-11 w-full max-w-full sm:w-auto sm:min-h-0 shrink-0 cursor-pointer px-2 text-[10px] [@media(pointer:coarse)]:min-h-11"
|
||||
data-testid={`pr-rerequest-review-${normalizeLogin(review.author)}`}
|
||||
aria-label={`Re-request review from ${review.author}`}
|
||||
aria-label={t("github:reRequestReviewFrom", { author: review.author })}
|
||||
onClick={() => onReRequest(review.author)}
|
||||
disabled={isRequesting}
|
||||
>
|
||||
{isRequesting ? "Requesting..." : "Re-request review"}
|
||||
{isRequesting ? t("github:requesting") : t("github:reRequestReview")}
|
||||
</Button>
|
||||
</div>
|
||||
) : undefined
|
||||
@@ -177,6 +179,7 @@ function SubmittedReviewRow({
|
||||
}
|
||||
|
||||
function PendingReviewRow({ reviewer }: { reviewer: RequestedReviewer }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
className="px-2.5 py-1.5 rounded-md border border-border bg-muted/30"
|
||||
@@ -185,7 +188,9 @@ function PendingReviewRow({ reviewer }: { reviewer: RequestedReviewer }) {
|
||||
<div className="flex items-center gap-2">
|
||||
<IconClock className="h-3.5 w-3.5 text-yellow-500 shrink-0" />
|
||||
<span className="text-xs font-medium">{formatPendingReviewer(reviewer)}</span>
|
||||
<span className="text-[10px] text-muted-foreground truncate">Pending review</span>
|
||||
<span className="text-[10px] text-muted-foreground truncate">
|
||||
{t("github:pendingReview")}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
@@ -212,6 +217,7 @@ export function ReviewsSection({
|
||||
requestingReviewers?: string[];
|
||||
onReRequest?: (reviewer: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const { reviews: reconciledReviews, pendingReviewers } = reconcileReviews(
|
||||
reviews,
|
||||
requestedReviewers,
|
||||
@@ -227,14 +233,14 @@ export function ReviewsSection({
|
||||
|
||||
const subtitle = reviewState ? (
|
||||
<div className="text-[10px] text-muted-foreground px-2 pb-1">
|
||||
Overall: <ReviewStateBadge state={reviewState} />
|
||||
{t("github:overallLabel")} <ReviewStateBadge state={reviewState} />
|
||||
{pendingText && <span className="text-yellow-600 dark:text-yellow-400">{pendingText}</span>}
|
||||
</div>
|
||||
) : null;
|
||||
|
||||
return (
|
||||
<CollapsibleSection
|
||||
title={`Reviews${summary}`}
|
||||
title={t("github:reviews", { summary })}
|
||||
count={totalCount}
|
||||
defaultOpen
|
||||
subtitle={subtitle}
|
||||
@@ -243,10 +249,10 @@ export function ReviewsSection({
|
||||
? () => onAddAsContext(buildAllReviewsMessage(reconciledReviews, prUrl))
|
||||
: undefined
|
||||
}
|
||||
addAllLabel="Add all reviews to chat context"
|
||||
addAllLabel={t("github:addAllReviewsToChatContext")}
|
||||
>
|
||||
{reconciledReviews.length === 0 && pendingCount === 0 && (
|
||||
<p className="text-xs text-muted-foreground px-2 py-2">No reviews yet</p>
|
||||
<p className="text-xs text-muted-foreground px-2 py-2">{t("github:noReviewsYet")}</p>
|
||||
)}
|
||||
{reconciledReviews.map((review) => (
|
||||
<SubmittedReviewRow
|
||||
|
||||
@@ -6,6 +6,7 @@ import { IconMessagePlus, IconChevronDown, IconChevronRight } from "@tabler/icon
|
||||
import { Button } from "@kandev/ui/button";
|
||||
import { Tooltip, TooltipContent, TooltipTrigger } from "@kandev/ui/tooltip";
|
||||
import { markdownComponents, remarkPlugins } from "@/components/shared/markdown-components";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export function formatTimeAgo(dateStr: string): string {
|
||||
const date = new Date(dateStr);
|
||||
@@ -92,6 +93,7 @@ export function CollapsibleSection({
|
||||
addAllLabel?: string;
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [open, setOpen] = useState(defaultOpen ?? true);
|
||||
|
||||
return (
|
||||
@@ -120,10 +122,10 @@ export function CollapsibleSection({
|
||||
onClick={onAddAll}
|
||||
>
|
||||
<IconMessagePlus className="h-3 w-3" />
|
||||
Add all
|
||||
{t("github:addAll")}
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>{addAllLabel ?? "Add all to chat context"}</TooltipContent>
|
||||
<TooltipContent>{addAllLabel ?? t("github:addAllToChatContext")}</TooltipContent>
|
||||
</Tooltip>
|
||||
)}
|
||||
</div>
|
||||
@@ -140,6 +142,7 @@ export function AddToContextButton({
|
||||
onClick: () => void;
|
||||
tooltip?: string;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
@@ -155,7 +158,7 @@ export function AddToContextButton({
|
||||
<IconMessagePlus className="h-3 w-3" />
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>{tooltip ?? "Add to chat context"}</TooltipContent>
|
||||
<TooltipContent>{tooltip ?? t("github:addToChatContext")}</TooltipContent>
|
||||
</Tooltip>
|
||||
);
|
||||
}
|
||||
@@ -189,6 +192,7 @@ export function getTimeAgoColor(dateStr: string): string {
|
||||
}
|
||||
|
||||
export function ExpandableBody({ body, className }: { body: string; className?: string }) {
|
||||
const { t } = useTranslation();
|
||||
const [expanded, setExpanded] = useState(false);
|
||||
|
||||
return (
|
||||
@@ -204,7 +208,7 @@ export function ExpandableBody({ body, className }: { body: string; className?:
|
||||
}}
|
||||
className="text-[10px] text-blue-600 dark:text-blue-400 hover:underline mt-0.5 cursor-pointer"
|
||||
>
|
||||
{expanded ? "Show less" : "Show more"}
|
||||
{expanded ? t("github:showLess") : t("github:showMore")}
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -42,6 +42,7 @@ import { useTouchDrawer } from "@/hooks/use-compact-task-chrome";
|
||||
import { autoFixRoundForState, findCIAutomationStateForPR } from "@/lib/github/ci-automation";
|
||||
import type { AutoFixRoundInfo } from "@/lib/github/ci-automation";
|
||||
import type { TaskCIAutomationOptions, TaskPR } from "@/lib/types/github";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
const HOVER_OPEN_DELAY_MS = 150;
|
||||
const HOVER_CLOSE_DELAY_MS = 150;
|
||||
@@ -307,6 +308,7 @@ function chipButtonAttrs(
|
||||
}
|
||||
|
||||
function AutomationFlagBadges({ automation }: { automation: AutomationFlags }) {
|
||||
const { t } = useTranslation();
|
||||
if (!automation.autoFix && !automation.autoMerge) return null;
|
||||
const autoFixRound = automation.autoFixRound;
|
||||
return (
|
||||
@@ -322,7 +324,7 @@ function AutomationFlagBadges({ automation }: { automation: AutomationFlags }) {
|
||||
: "bg-emerald-500/15 text-emerald-500"
|
||||
}`}
|
||||
>
|
||||
Auto-fix {autoFixRound.current}/{autoFixRound.max}
|
||||
{t("github:autoFix")} {autoFixRound.current}/{autoFixRound.max}
|
||||
</span>
|
||||
)}
|
||||
{automation.autoMerge && (
|
||||
@@ -330,7 +332,7 @@ function AutomationFlagBadges({ automation }: { automation: AutomationFlags }) {
|
||||
data-testid="pr-status-auto-merge-chip"
|
||||
className="rounded-sm bg-sky-500/15 px-1 py-0.5 text-[9px] font-medium leading-none text-sky-500"
|
||||
>
|
||||
Auto-merge
|
||||
{t("github:autoMerge")}
|
||||
</span>
|
||||
)}
|
||||
</>
|
||||
@@ -499,6 +501,7 @@ function PRStatusChipMultiDrawer({
|
||||
onRemovePR,
|
||||
triggerRef,
|
||||
}: MultiChipProps) {
|
||||
const { t } = useTranslation();
|
||||
const status = aggregateChipStatus(statusPrs ?? prs);
|
||||
const [open, setOpen] = useState(false);
|
||||
return (
|
||||
@@ -515,16 +518,18 @@ function PRStatusChipMultiDrawer({
|
||||
</button>
|
||||
<DrawerContent data-testid="pr-status-chip-drawer" className="max-h-[80vh] flex flex-col">
|
||||
<DrawerHeader className="flex flex-row items-center justify-between border-b py-2">
|
||||
<DrawerTitle className="text-sm">{prs.length} pull requests</DrawerTitle>
|
||||
<DrawerTitle className="text-sm">
|
||||
{t("github:pullRequestCount", { count: prs.length })}
|
||||
</DrawerTitle>
|
||||
<DrawerDescription className="sr-only">
|
||||
Pull request CI status, reviews, and checks summary.
|
||||
{t("github:pullRequestCiStatusReviewsAnd")}
|
||||
</DrawerDescription>
|
||||
<DrawerClose asChild>
|
||||
<Button
|
||||
data-testid="pr-status-chip-drawer-close"
|
||||
variant="ghost"
|
||||
size="icon-sm"
|
||||
aria-label="Close PR status"
|
||||
aria-label={t("github:closePrStatus")}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<IconX className="h-4 w-4" />
|
||||
@@ -546,6 +551,7 @@ function PRStatusChipMultiDrawer({
|
||||
}
|
||||
|
||||
function PRStatusChipDrawer({ pr, automation, refreshTaskPR, triggerRef }: SingleChipProps) {
|
||||
const { t } = useTranslation();
|
||||
const status = chipStatus(pr);
|
||||
const [open, setOpen] = useState(false);
|
||||
return (
|
||||
@@ -564,16 +570,19 @@ function PRStatusChipDrawer({ pr, automation, refreshTaskPR, triggerRef }: Singl
|
||||
</button>
|
||||
<DrawerContent data-testid="pr-status-chip-drawer" className="max-h-[80vh] flex flex-col">
|
||||
<DrawerHeader className="flex flex-row items-center justify-between border-b py-2">
|
||||
<DrawerTitle className="text-sm">PR #{pr.pr_number}</DrawerTitle>
|
||||
<DrawerTitle className="text-sm">
|
||||
{t("github:pr")}
|
||||
{pr.pr_number}
|
||||
</DrawerTitle>
|
||||
<DrawerDescription className="sr-only">
|
||||
Pull request CI status, reviews, and checks summary.
|
||||
{t("github:pullRequestCiStatusReviewsAnd")}
|
||||
</DrawerDescription>
|
||||
<DrawerClose asChild>
|
||||
<Button
|
||||
data-testid="pr-status-chip-drawer-close"
|
||||
variant="ghost"
|
||||
size="icon-sm"
|
||||
aria-label="Close PR status"
|
||||
aria-label={t("github:closePrStatus")}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
<IconX className="h-4 w-4" />
|
||||
|
||||
@@ -39,6 +39,7 @@ import { PR_CI_DESKTOP_POPOVER_SCROLL_CLASS, PRCIPopover } from "@/components/gi
|
||||
import { MultiPRCIPopover } from "@/components/github/multi-pr-ci-popover";
|
||||
import { useAppStore } from "@/components/state-provider";
|
||||
import type { TaskPR } from "@/lib/types/github";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
const POPOVER_OPEN_DELAY_MS = 150;
|
||||
const POPOVER_CLOSE_DELAY_MS = 150;
|
||||
@@ -232,6 +233,7 @@ function PRMultiButton({
|
||||
onRemovePR: (associationId: string) => Promise<void>;
|
||||
triggerRef?: TriggerRef;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
// Click still drives the dropdown (the explicit "jump to this PR's panel"
|
||||
// affordance, and the only interaction on touch). Hover adds the aggregate
|
||||
// CI popover with a tab per PR — desktop only, suppressed on touch where
|
||||
@@ -276,7 +278,9 @@ function PRMultiButton({
|
||||
onBlur={onTriggerLeave}
|
||||
>
|
||||
<IconGitPullRequest className={`h-4 w-4 ${aggColor}`} />
|
||||
<span className="text-xs font-medium">{prs.length} PRs</span>
|
||||
<span className="text-xs font-medium">
|
||||
{prs.length} {t("github:prs")}
|
||||
</span>
|
||||
<IconChevronDown className="h-3 w-3 text-muted-foreground" />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
@@ -293,7 +297,9 @@ function PRMultiButton({
|
||||
<TooltipTrigger asChild>
|
||||
{usesTouchDrawer ? triggerButton : <PopoverAnchor asChild>{triggerButton}</PopoverAnchor>}
|
||||
</TooltipTrigger>
|
||||
<TooltipContent>{prs.length} pull requests linked to this task — open one</TooltipContent>
|
||||
<TooltipContent>
|
||||
{t("github:pullRequestsLinkedToTask", { count: prs.length })}
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
<MultiPRMenuContent prs={prs} />
|
||||
</DropdownMenu>
|
||||
@@ -331,10 +337,11 @@ function PRMultiButton({
|
||||
}
|
||||
|
||||
function MultiPRMenuContent({ prs }: { prs: TaskPR[] }) {
|
||||
const { t } = useTranslation();
|
||||
const addPRPanel = useDockviewStore((s) => s.addPRPanel);
|
||||
return (
|
||||
<DropdownMenuContent align="end" className="w-72">
|
||||
<DropdownMenuLabel className="text-xs">Pull requests</DropdownMenuLabel>
|
||||
<DropdownMenuLabel className="text-xs">{t("github:pullRequests")}</DropdownMenuLabel>
|
||||
<DropdownMenuSeparator />
|
||||
{prs.map((pr) => (
|
||||
<DropdownMenuItem
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
import { IconGitCommit } from "@tabler/icons-react";
|
||||
import type { GitLabMRCommit } from "@/lib/types/gitlab";
|
||||
import { CollapsibleSection, formatTimeAgo } from "@/components/github/pr-shared";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export function MRCommitsSection({ commits }: { commits: GitLabMRCommit[] }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<CollapsibleSection title="Commits" count={commits.length} defaultOpen={false}>
|
||||
<CollapsibleSection title={t("gitlab:commits")} count={commits.length} defaultOpen={false}>
|
||||
{commits.length === 0 && (
|
||||
<p className="px-2 py-2 text-xs text-muted-foreground">No commits</p>
|
||||
<p className="px-2 py-2 text-xs text-muted-foreground">{t("gitlab:noCommits")}</p>
|
||||
)}
|
||||
{commits.map((commit) => (
|
||||
<div
|
||||
|
||||
@@ -54,6 +54,7 @@ import { MRCommitsSection } from "./mr-commits-section";
|
||||
import { MRDiscussionsSection } from "./mr-discussions-section";
|
||||
import { MRReviewerControl } from "./mr-reviewer-control";
|
||||
import { SubscriptionToggle } from "./subscription-toggle";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type MRKeyInput = Pick<TaskMR, "host" | "project_path" | "mr_iid">;
|
||||
const EMPTY_LABELS: string[] = [];
|
||||
@@ -99,17 +100,18 @@ function LabelsControl({
|
||||
busy: boolean;
|
||||
onSave: (labels: string[]) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [labels, setLabels] = useState(value.join(", "));
|
||||
useEffect(() => setLabels(value.join(", ")), [value]);
|
||||
return (
|
||||
<section className="space-y-2">
|
||||
<h4 className="text-xs font-semibold">Labels</h4>
|
||||
<h4 className="text-xs font-semibold">{t("gitlab:labels")}</h4>
|
||||
<div className="flex gap-2">
|
||||
<Input
|
||||
value={labels}
|
||||
onChange={(event) => setLabels(event.target.value)}
|
||||
placeholder="bug, backend"
|
||||
aria-label="Merge request labels"
|
||||
placeholder={t("gitlab:bugBackend")}
|
||||
aria-label={t("gitlab:mergeRequestLabels")}
|
||||
/>
|
||||
<Button
|
||||
size="sm"
|
||||
@@ -125,7 +127,7 @@ function LabelsControl({
|
||||
)
|
||||
}
|
||||
>
|
||||
Apply
|
||||
{t("gitlab:apply")}
|
||||
</Button>
|
||||
</div>
|
||||
</section>
|
||||
@@ -143,13 +145,14 @@ function PanelHeader({
|
||||
onRefresh: () => void;
|
||||
onUnlink: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<header className="border-b px-3 py-2">
|
||||
<div className="flex min-w-0 items-center gap-2">
|
||||
<IconBrandGitlab className="h-4 w-4 shrink-0 text-orange-500" />
|
||||
<div className="min-w-0 flex-1">
|
||||
<h2 className="truncate text-sm font-semibold">
|
||||
{mr.mr_title || `Merge request !${mr.mr_iid}`}
|
||||
{mr.mr_title || t("gitlab:mergeRequest", { mriid: mr.mr_iid })}
|
||||
</h2>
|
||||
<p className="truncate text-[10px] text-muted-foreground">
|
||||
{mr.project_path}!{mr.mr_iid}
|
||||
@@ -159,7 +162,7 @@ function PanelHeader({
|
||||
size="icon-sm"
|
||||
variant="ghost"
|
||||
className="h-10 w-10 cursor-pointer sm:h-8 sm:w-8"
|
||||
aria-label="Refresh merge request"
|
||||
aria-label={t("gitlab:refreshMergeRequest")}
|
||||
onClick={onRefresh}
|
||||
>
|
||||
<IconRefresh className={`h-4 w-4 ${loading ? "animate-spin" : ""}`} />
|
||||
@@ -168,7 +171,7 @@ function PanelHeader({
|
||||
size="icon-sm"
|
||||
variant="ghost"
|
||||
className="h-10 w-10 cursor-pointer sm:h-8 sm:w-8"
|
||||
aria-label="Open merge request in GitLab"
|
||||
aria-label={t("gitlab:openMergeRequestInGitlab")}
|
||||
onClick={() => void openExternalLink(mr.mr_url).catch(() => undefined)}
|
||||
>
|
||||
<IconExternalLink className="h-4 w-4" />
|
||||
@@ -177,7 +180,7 @@ function PanelHeader({
|
||||
size="icon-sm"
|
||||
variant="ghost"
|
||||
className="h-10 w-10 cursor-pointer text-destructive sm:h-8 sm:w-8"
|
||||
aria-label="Unlink merge request"
|
||||
aria-label={t("gitlab:unlinkMergeRequest")}
|
||||
onClick={onUnlink}
|
||||
>
|
||||
<IconUnlink className="h-4 w-4" />
|
||||
@@ -202,6 +205,7 @@ function MRActionButtons({
|
||||
run: RunMRAction;
|
||||
onMerge: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const disabled = busy || !isOpenMRState(state);
|
||||
return (
|
||||
<div className="flex flex-wrap gap-2">
|
||||
@@ -209,18 +213,18 @@ function MRActionButtons({
|
||||
size="sm"
|
||||
className="h-11 cursor-pointer gap-1.5 bg-green-600 text-white hover:bg-green-700 sm:h-8"
|
||||
disabled={disabled}
|
||||
onClick={() => void run("Approve", () => approveMR(identity), "Merge request approved")}
|
||||
onClick={() => void run("approve", () => approveMR(identity))}
|
||||
>
|
||||
<IconCheck className="h-4 w-4" /> Approve
|
||||
<IconCheck className="h-4 w-4" /> {t("gitlab:approve")}
|
||||
</Button>
|
||||
<Button
|
||||
size="sm"
|
||||
variant="outline"
|
||||
className="h-11 cursor-pointer sm:h-8"
|
||||
disabled={disabled}
|
||||
onClick={() => void run("Unapprove", () => unapproveMR(identity), "Approval removed")}
|
||||
onClick={() => void run("unapprove", () => unapproveMR(identity))}
|
||||
>
|
||||
Unapprove
|
||||
{t("gitlab:unapprove")}
|
||||
</Button>
|
||||
<Button
|
||||
size="sm"
|
||||
@@ -229,7 +233,7 @@ function MRActionButtons({
|
||||
disabled={disabled || hasConflicts}
|
||||
onClick={onMerge}
|
||||
>
|
||||
<IconGitMerge className="h-4 w-4" /> Merge
|
||||
<IconGitMerge className="h-4 w-4" /> {t("gitlab:merge")}
|
||||
</Button>
|
||||
<SubscriptionToggle {...identity} />
|
||||
</div>
|
||||
@@ -258,20 +262,20 @@ function MRPeopleControls({
|
||||
<div className="grid gap-4 lg:grid-cols-2">
|
||||
<MRReviewerControl
|
||||
{...shared}
|
||||
label="Reviewers"
|
||||
kind="reviewers"
|
||||
current={reviewers}
|
||||
busy={busy}
|
||||
onSave={(reviewerIds) =>
|
||||
run("Reviewers", () => setMRReviewers({ ...identity, reviewerIds }), "Reviewers updated")
|
||||
run("reviewers", () => setMRReviewers({ ...identity, reviewerIds }))
|
||||
}
|
||||
/>
|
||||
<MRReviewerControl
|
||||
{...shared}
|
||||
label="Assignees"
|
||||
kind="assignees"
|
||||
current={assignees}
|
||||
busy={busy}
|
||||
onSave={(assigneeIds) =>
|
||||
run("Assignees", () => setMRAssignees({ ...identity, assigneeIds }), "Assignees updated")
|
||||
run("assignees", () => setMRAssignees({ ...identity, assigneeIds }))
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
@@ -293,29 +297,26 @@ function MergeConfirmation({
|
||||
identity: GitLabMRIdentity;
|
||||
run: RunMRAction;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<AlertDialog open={open} onOpenChange={onOpenChange}>
|
||||
<AlertDialogContent className="w-[calc(100vw-2rem)] sm:max-w-md">
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle>Merge this merge request?</AlertDialogTitle>
|
||||
<AlertDialogTitle>{t("gitlab:mergeThisMergeRequest")}</AlertDialogTitle>
|
||||
<AlertDialogDescription>
|
||||
GitLab will merge {taskMR.project_path}!{taskMR.mr_iid} into {baseBranch} using the
|
||||
project default.
|
||||
{t("gitlab:gitlabWillMergeDescription", {
|
||||
mr: `${taskMR.project_path}!${taskMR.mr_iid}`,
|
||||
baseBranch,
|
||||
})}
|
||||
</AlertDialogDescription>
|
||||
</AlertDialogHeader>
|
||||
<AlertDialogFooter>
|
||||
<AlertDialogCancel className="cursor-pointer">Cancel</AlertDialogCancel>
|
||||
<AlertDialogCancel className="cursor-pointer">{t("common:cancel")}</AlertDialogCancel>
|
||||
<AlertDialogAction
|
||||
className="cursor-pointer"
|
||||
onClick={() =>
|
||||
void run(
|
||||
"Merge",
|
||||
() => mergeMR({ ...identity, squash: false }),
|
||||
"Merge request merged",
|
||||
)
|
||||
}
|
||||
onClick={() => void run("merge", () => mergeMR({ ...identity, squash: false }))}
|
||||
>
|
||||
Merge
|
||||
{t("gitlab:merge")}
|
||||
</AlertDialogAction>
|
||||
</AlertDialogFooter>
|
||||
</AlertDialogContent>
|
||||
@@ -324,19 +325,20 @@ function MergeConfirmation({
|
||||
}
|
||||
|
||||
function FeedbackPlaceholder({ error, onRetry }: { error: string | null; onRetry: () => void }) {
|
||||
const { t } = useTranslation();
|
||||
if (error) {
|
||||
return (
|
||||
<div className="p-4 text-sm text-destructive">
|
||||
{error}
|
||||
<Button variant="outline" size="sm" className="ml-2 cursor-pointer" onClick={onRetry}>
|
||||
Retry
|
||||
{t("gitlab:retry")}
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<div className="flex h-full items-center justify-center gap-2 text-sm text-muted-foreground">
|
||||
<IconLoader2 className="h-4 w-4 animate-spin" /> Loading merge request
|
||||
<IconLoader2 className="h-4 w-4 animate-spin" /> {t("gitlab:loadingMergeRequest")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -348,9 +350,7 @@ async function unlinkTaskMR(
|
||||
run: RunMRAction,
|
||||
removeTaskMR: (workspaceId: string, associationId: string) => void,
|
||||
) {
|
||||
if (
|
||||
!(await run("Unlink", () => deleteTaskMR(taskMR.id, workspaceId), "Merge request unlinked"))
|
||||
) {
|
||||
if (!(await run("unlink", () => deleteTaskMR(taskMR.id, workspaceId)))) {
|
||||
return;
|
||||
}
|
||||
removeTaskMR(workspaceId, taskMR.id);
|
||||
@@ -359,6 +359,20 @@ async function unlinkTaskMR(
|
||||
if (api && panel) api.removePanel(panel);
|
||||
}
|
||||
|
||||
/**
|
||||
* The two discussion callbacks, lifted out of MRDetailContent to keep it under
|
||||
* the 100-line function cap. The action names and toast strings stay English:
|
||||
* they are `useMRActions` bookkeeping, not copy a user reads.
|
||||
*/
|
||||
function discussionHandlers(identity: GitLabMRIdentity & { host: string }, run: RunMRAction) {
|
||||
return {
|
||||
reply: (discussionId: string, body: string) =>
|
||||
run("reply", () => createMRDiscussionNote({ ...identity, discussionId, body })),
|
||||
resolve: (discussionId: string) =>
|
||||
run("resolve", () => resolveMRDiscussion({ ...identity, discussionId })),
|
||||
};
|
||||
}
|
||||
|
||||
function MRDetailContent({
|
||||
panelId,
|
||||
taskMR,
|
||||
@@ -370,6 +384,7 @@ function MRDetailContent({
|
||||
sessionId: string;
|
||||
workspaceId: string;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [mergeOpen, setMergeOpen] = useState(false);
|
||||
const removeTaskMR = useAppStore((state) => state.removeTaskMR);
|
||||
const { feedback, files, commits, loading, error, refresh } = useMRFeedback(
|
||||
@@ -387,10 +402,7 @@ function MRDetailContent({
|
||||
const busy = pendingAction !== null;
|
||||
if (!feedback) return <FeedbackPlaceholder error={error} onRetry={refresh} />;
|
||||
const mr = feedback.mr;
|
||||
const reply = (discussionId: string, body: string) =>
|
||||
run("Reply", () => createMRDiscussionNote({ ...identity, discussionId, body }), "Reply added");
|
||||
const resolve = (discussionId: string) =>
|
||||
run("Resolve", () => resolveMRDiscussion({ ...identity, discussionId }), "Discussion resolved");
|
||||
const { reply, resolve } = discussionHandlers(identity, run);
|
||||
return (
|
||||
<div className="flex h-full min-h-0 flex-col" data-testid="mr-detail-panel">
|
||||
<PanelHeader
|
||||
@@ -404,7 +416,7 @@ function MRDetailContent({
|
||||
{error ? (
|
||||
<Alert variant="destructive">
|
||||
<AlertDescription>
|
||||
GitLab refresh failed: {error}. Showing the last successfully loaded review data.
|
||||
{t("gitlab:refreshFailedShowingCached", { error })}
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
) : null}
|
||||
@@ -428,9 +440,7 @@ function MRDetailContent({
|
||||
<LabelsControl
|
||||
value={mr.labels ?? EMPTY_LABELS}
|
||||
busy={busy}
|
||||
onSave={(labels) =>
|
||||
void run("Labels", () => setMRLabels({ ...identity, labels }), "Labels updated")
|
||||
}
|
||||
onSave={(labels) => void run("labels", () => setMRLabels({ ...identity, labels }))}
|
||||
/>
|
||||
<Separator />
|
||||
<MRFilesSection files={files} />
|
||||
@@ -443,7 +453,9 @@ function MRDetailContent({
|
||||
onResolve={resolve}
|
||||
onAddContext={addContext}
|
||||
/>
|
||||
{error && <p className="text-xs text-destructive">Refresh failed: {error}</p>}
|
||||
{error && (
|
||||
<p className="text-xs text-destructive">{t("gitlab:refreshFailed", { error })}</p>
|
||||
)}
|
||||
</div>
|
||||
</ScrollArea>
|
||||
<MergeConfirmation
|
||||
@@ -465,6 +477,7 @@ export function MRDetailPanelComponent({
|
||||
panelId: string;
|
||||
params?: { mrKey?: string };
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const mr = usePanelMR(params?.mrKey);
|
||||
const workspaceId = useAppStore((state) => state.workspaces.activeId);
|
||||
const sessionId = useAppStore((state) => state.tasks.activeSessionId);
|
||||
@@ -474,20 +487,20 @@ export function MRDetailPanelComponent({
|
||||
return (
|
||||
<div className="flex h-full items-center justify-center text-sm text-muted-foreground">
|
||||
<IconLink className="mr-2 h-4 w-4" />
|
||||
No merge request linked to this session.
|
||||
{t("gitlab:noMergeRequestLinked")}
|
||||
</div>
|
||||
);
|
||||
if (loading)
|
||||
return (
|
||||
<div className="flex h-full items-center justify-center gap-2 text-sm text-muted-foreground">
|
||||
<IconLoader2 className="h-4 w-4 animate-spin" />
|
||||
Verifying GitLab connection
|
||||
{t("gitlab:verifyingGitlabConnection")}
|
||||
</div>
|
||||
);
|
||||
if (!isTaskMRHostAllowed(mr.host, status?.host ?? null)) {
|
||||
return (
|
||||
<div className="flex h-full items-center justify-center p-4 text-center text-sm text-destructive">
|
||||
This merge request belongs to a different GitLab host than the active workspace connection.
|
||||
{t("gitlab:thisMergeRequestBelongsToA")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import { Button } from "@kandev/ui/button";
|
||||
import { Textarea } from "@kandev/ui/textarea";
|
||||
import type { GitLabMRDiscussion } from "@/lib/types/gitlab";
|
||||
import { CollapsibleSection, formatTimeAgo, PRMarkdownBody } from "@/components/github/pr-shared";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function discussionLocation(discussion: GitLabMRDiscussion): string {
|
||||
if (!discussion.path) return "";
|
||||
@@ -51,6 +52,7 @@ function Discussion({
|
||||
onAddContext,
|
||||
mrUrl,
|
||||
}: DiscussionProps) {
|
||||
const { t } = useTranslation();
|
||||
const [reply, setReply] = useState("");
|
||||
const submitReply = async () => {
|
||||
const body = reply.trim();
|
||||
@@ -72,14 +74,14 @@ function Discussion({
|
||||
)}
|
||||
{discussion.resolved && (
|
||||
<Badge variant="outline" className="ml-auto text-[10px]">
|
||||
Resolved
|
||||
{t("gitlab:resolved")}
|
||||
</Badge>
|
||||
)}
|
||||
<Button
|
||||
size="icon-sm"
|
||||
variant="ghost"
|
||||
className="ml-auto h-9 w-9 shrink-0 cursor-pointer sm:h-7 sm:w-7"
|
||||
aria-label="Add discussion to task context"
|
||||
aria-label={t("gitlab:addDiscussionToTaskContext")}
|
||||
onClick={() => onAddContext(buildDiscussionContext(discussion, mrUrl))}
|
||||
>
|
||||
<IconMessagePlus className="h-3.5 w-3.5" />
|
||||
@@ -102,8 +104,8 @@ function Discussion({
|
||||
<Textarea
|
||||
value={reply}
|
||||
onChange={(event) => setReply(event.target.value)}
|
||||
placeholder="Reply to this discussion"
|
||||
aria-label="Discussion reply"
|
||||
placeholder={t("gitlab:replyToThisDiscussion")}
|
||||
aria-label={t("gitlab:discussionReply")}
|
||||
className="min-h-20 flex-1 resize-y text-sm"
|
||||
/>
|
||||
<div className="flex gap-2">
|
||||
@@ -115,7 +117,7 @@ function Discussion({
|
||||
disabled={busy}
|
||||
onClick={() => void onResolve(discussion.id)}
|
||||
>
|
||||
<IconCheck className="h-3.5 w-3.5" /> Resolve
|
||||
<IconCheck className="h-3.5 w-3.5" /> {t("gitlab:resolve")}
|
||||
</Button>
|
||||
)}
|
||||
<Button
|
||||
@@ -124,7 +126,7 @@ function Discussion({
|
||||
disabled={busy || !reply.trim()}
|
||||
onClick={() => void submitReply()}
|
||||
>
|
||||
<IconSend className="h-3.5 w-3.5" /> Reply
|
||||
<IconSend className="h-3.5 w-3.5" /> {t("gitlab:reply")}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -147,9 +149,10 @@ export function MRDiscussionsSection({
|
||||
onResolve: DiscussionProps["onResolve"];
|
||||
onAddContext: DiscussionProps["onAddContext"];
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<CollapsibleSection
|
||||
title="Discussions"
|
||||
title={t("gitlab:discussions")}
|
||||
count={discussions.length}
|
||||
defaultOpen
|
||||
onAddAll={
|
||||
@@ -157,10 +160,10 @@ export function MRDiscussionsSection({
|
||||
? () => onAddContext(buildAllDiscussionsContext(discussions, mrUrl))
|
||||
: undefined
|
||||
}
|
||||
addAllLabel="Add all discussions to task context"
|
||||
addAllLabel={t("gitlab:addAllDiscussionsToTaskContext")}
|
||||
>
|
||||
{discussions.length === 0 && (
|
||||
<p className="px-2 py-2 text-xs text-muted-foreground">No discussions yet</p>
|
||||
<p className="px-2 py-2 text-xs text-muted-foreground">{t("gitlab:noDiscussionsYet")}</p>
|
||||
)}
|
||||
{discussions.map((discussion) => (
|
||||
<Discussion
|
||||
|
||||
@@ -1,12 +1,14 @@
|
||||
import { Badge } from "@kandev/ui/badge";
|
||||
import type { GitLabMRFile } from "@/lib/types/gitlab";
|
||||
import { CollapsibleSection } from "@/components/github/pr-shared";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export function MRFilesSection({ files }: { files: GitLabMRFile[] }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<CollapsibleSection title="Files" count={files.length} defaultOpen={false}>
|
||||
<CollapsibleSection title={t("gitlab:files")} count={files.length} defaultOpen={false}>
|
||||
{files.length === 0 && (
|
||||
<p className="px-2 py-2 text-xs text-muted-foreground">No changed files</p>
|
||||
<p className="px-2 py-2 text-xs text-muted-foreground">{t("gitlab:noChangedFiles")}</p>
|
||||
)}
|
||||
{files.map((file) => (
|
||||
<article
|
||||
|
||||
@@ -1,20 +1,28 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { t } from "@/lib/i18n";
|
||||
import { pipelineSummary } from "./mr-overview-section";
|
||||
|
||||
describe("pipelineSummary", () => {
|
||||
it("does not present unknown job totals as zero passing out of zero", () => {
|
||||
expect(
|
||||
pipelineSummary({
|
||||
id: 1,
|
||||
iid: 2,
|
||||
status: "running",
|
||||
source: "merge_request_event",
|
||||
ref: "main",
|
||||
sha: "abc123",
|
||||
web_url: "",
|
||||
jobs_total: 0,
|
||||
jobs_passing: 0,
|
||||
}),
|
||||
pipelineSummary(
|
||||
{
|
||||
id: 1,
|
||||
iid: 2,
|
||||
status: "running",
|
||||
source: "merge_request_event",
|
||||
ref: "main",
|
||||
sha: "abc123",
|
||||
web_url: "",
|
||||
jobs_total: 0,
|
||||
jobs_passing: 0,
|
||||
},
|
||||
t,
|
||||
),
|
||||
).toBe("running");
|
||||
});
|
||||
|
||||
it("localizes the no-pipeline branch", () => {
|
||||
expect(pipelineSummary(undefined, t)).toBe("No pipeline");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -8,6 +8,7 @@ import {
|
||||
import { Badge } from "@kandev/ui/badge";
|
||||
import type { GitLabMRFeedback, TaskMR } from "@/lib/types/gitlab";
|
||||
import { CollapsibleSection, PRMarkdownBody } from "@/components/github/pr-shared";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function pipelineTone(status: string): string {
|
||||
if (status === "success") return "text-green-600";
|
||||
@@ -17,8 +18,9 @@ function pipelineTone(status: string): string {
|
||||
|
||||
export function pipelineSummary(
|
||||
pipeline: GitLabMRFeedback["pipelines"][number] | undefined,
|
||||
t: (key: string, values?: Record<string, unknown>) => string,
|
||||
): string {
|
||||
if (!pipeline) return "No pipeline";
|
||||
if (!pipeline) return t("gitlab:noPipeline");
|
||||
if (pipeline.jobs_total <= 0) return pipeline.status;
|
||||
return `${pipeline.status} · ${pipeline.jobs_passing}/${pipeline.jobs_total}`;
|
||||
}
|
||||
@@ -30,6 +32,7 @@ export function MROverviewSection({
|
||||
taskMR: TaskMR;
|
||||
feedback: GitLabMRFeedback;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const mr = feedback.mr;
|
||||
const pipeline = feedback.pipelines[0];
|
||||
const mergeable = !mr.has_conflicts && ["can_be_merged", "mergeable"].includes(mr.merge_status);
|
||||
@@ -39,44 +42,44 @@ export function MROverviewSection({
|
||||
<Badge variant="outline" className="capitalize">
|
||||
{mr.state}
|
||||
</Badge>
|
||||
{mr.draft && <Badge variant="secondary">Draft</Badge>}
|
||||
{mr.draft && <Badge variant="secondary">{t("gitlab:draft")}</Badge>}
|
||||
<span className="flex min-w-0 items-center gap-1">
|
||||
<IconGitBranch className="h-3.5 w-3.5 shrink-0" />
|
||||
<code className="max-w-44 truncate">{mr.head_branch}</code>
|
||||
<span className="text-muted-foreground">into</span>
|
||||
<span className="text-muted-foreground">{t("gitlab:into")}</span>
|
||||
<code className="max-w-44 truncate">{mr.base_branch}</code>
|
||||
</span>
|
||||
</div>
|
||||
<div className="grid gap-2 sm:grid-cols-3">
|
||||
<div className="rounded-md border p-2 text-xs">
|
||||
<span className="text-muted-foreground">Mergeability</span>
|
||||
<span className="text-muted-foreground">{t("gitlab:mergeability")}</span>
|
||||
<p className="mt-1 flex items-center gap-1 font-medium">
|
||||
{mergeable ? (
|
||||
<IconCheck className="h-4 w-4 text-green-600" />
|
||||
) : (
|
||||
<IconAlertTriangle className="h-4 w-4 text-yellow-600" />
|
||||
)}
|
||||
{mr.has_conflicts ? "Conflicts" : mr.merge_status.replaceAll("_", " ")}
|
||||
{mr.has_conflicts ? t("gitlab:conflicts") : mr.merge_status.replaceAll("_", " ")}
|
||||
</p>
|
||||
</div>
|
||||
<div className="rounded-md border p-2 text-xs">
|
||||
<span className="text-muted-foreground">Approvals</span>
|
||||
<span className="text-muted-foreground">{t("gitlab:approvals")}</span>
|
||||
<p className="mt-1 flex items-center gap-1 font-medium">
|
||||
{feedback.approvals.length > 0 ? (
|
||||
<IconCheck className="h-4 w-4 text-green-600" />
|
||||
) : (
|
||||
<IconX className="h-4 w-4 text-muted-foreground" />
|
||||
)}
|
||||
{feedback.approvals.length} approved
|
||||
{t("gitlab:approvedCount", { count: feedback.approvals.length })}
|
||||
</p>
|
||||
</div>
|
||||
<div className="rounded-md border p-2 text-xs">
|
||||
<span className="text-muted-foreground">Pipeline</span>
|
||||
<span className="text-muted-foreground">{t("gitlab:pipeline")}</span>
|
||||
<p
|
||||
className={`mt-1 flex items-center gap-1 font-medium ${pipelineTone(pipeline?.status ?? "pending")}`}
|
||||
>
|
||||
<IconGitMerge className="h-4 w-4" />
|
||||
{pipelineSummary(pipeline)}
|
||||
{pipelineSummary(pipeline, t)}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -90,14 +93,14 @@ export function MROverviewSection({
|
||||
</div>
|
||||
)}
|
||||
{mr.body && (
|
||||
<CollapsibleSection title="Description" count={1} defaultOpen={false}>
|
||||
<CollapsibleSection title={t("gitlab:description")} count={1} defaultOpen={false}>
|
||||
<div className="px-2">
|
||||
<PRMarkdownBody body={mr.body} />
|
||||
</div>
|
||||
</CollapsibleSection>
|
||||
)}
|
||||
<p className="sr-only">
|
||||
Linked merge request {taskMR.project_path}!{taskMR.mr_iid}
|
||||
{t("gitlab:linkedMergeRequest")} {taskMR.project_path}!{taskMR.mr_iid}
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -40,7 +40,7 @@ describe("toggleMemberId", () => {
|
||||
const props = {
|
||||
workspaceId: "ws",
|
||||
host: "https://gitlab.example",
|
||||
label: "Reviewers" as const,
|
||||
kind: "reviewers" as const,
|
||||
current: [],
|
||||
busy: false,
|
||||
onSave: vi.fn().mockResolvedValue(true),
|
||||
|
||||
@@ -9,6 +9,7 @@ import { Badge } from "@kandev/ui/badge";
|
||||
import { listProjectMembers } from "@/lib/api/domains/gitlab-api";
|
||||
import type { GitLabMRUser, GitLabProjectMember } from "@/lib/types/gitlab";
|
||||
import { isCurrentIdentityRequest } from "@/hooks/domains/gitlab/request-identity";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export function toggleMemberId(ids: number[], id: number): number[] {
|
||||
return ids.includes(id) ? ids.filter((candidate) => candidate !== id) : [...ids, id];
|
||||
@@ -18,7 +19,14 @@ type Props = {
|
||||
workspaceId: string;
|
||||
host: string;
|
||||
project: string;
|
||||
label: "Reviewers" | "Assignees";
|
||||
/**
|
||||
* A logic discriminant, never display copy. It was `"Reviewers" | "Assignees"`
|
||||
* — a string-literal union doubling as the visible heading — which is the
|
||||
* shape apps/web/AGENTS.md names: translating it in place breaks the type and
|
||||
* makes the aria-labels ungrammatical in any language that does not build
|
||||
* "Remove X from reviewers" by concatenation. Each label now has its own key.
|
||||
*/
|
||||
kind: "reviewers" | "assignees";
|
||||
current: GitLabMRUser[];
|
||||
busy: boolean;
|
||||
onSave: (ids: number[]) => Promise<boolean>;
|
||||
@@ -26,22 +34,26 @@ type Props = {
|
||||
|
||||
function SelectedMemberBadges({
|
||||
members,
|
||||
label,
|
||||
kind,
|
||||
onRemove,
|
||||
}: {
|
||||
members: Array<Pick<GitLabProjectMember, "id" | "username" | "name">>;
|
||||
label: Props["label"];
|
||||
kind: Props["kind"];
|
||||
onRemove: (id: number) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
if (members.length === 0)
|
||||
return <span className="text-xs text-muted-foreground">None assigned</span>;
|
||||
return <span className="text-xs text-muted-foreground">{t("gitlab:noneAssigned")}</span>;
|
||||
return members.map((member) => (
|
||||
<Badge key={member.id} variant="secondary" className="gap-1">
|
||||
{member.username}
|
||||
<button
|
||||
type="button"
|
||||
className="flex h-11 w-11 cursor-pointer items-center justify-center sm:h-6 sm:w-6"
|
||||
aria-label={`Remove ${member.username} from ${label.toLowerCase()}`}
|
||||
aria-label={t(
|
||||
kind === "reviewers" ? "gitlab:removeFromReviewers" : "gitlab:removeFromAssignees",
|
||||
{ username: member.username },
|
||||
)}
|
||||
onClick={() => onRemove(member.id)}
|
||||
>
|
||||
<IconX className="h-3 w-3" />
|
||||
@@ -102,11 +114,14 @@ export function MRReviewerControl({
|
||||
workspaceId,
|
||||
host,
|
||||
project,
|
||||
label,
|
||||
kind,
|
||||
current,
|
||||
busy,
|
||||
onSave,
|
||||
}: Props) {
|
||||
const { t } = useTranslation();
|
||||
const sectionLabel = t(kind === "reviewers" ? "gitlab:reviewers" : "gitlab:assignees");
|
||||
const searchLabel = t(kind === "reviewers" ? "gitlab:searchReviewers" : "gitlab:searchAssignees");
|
||||
const initialIds = useMemo(() => current.map((member) => member.id), [current]);
|
||||
const [selectedIds, setSelectedIds] = useState(initialIds);
|
||||
const { query, setQuery, members, searching, error, search } = useProjectMemberSearch({
|
||||
@@ -124,9 +139,9 @@ export function MRReviewerControl({
|
||||
.map((id) => knownMembers.get(id))
|
||||
.filter((member): member is Pick<GitLabProjectMember, "id" | "username" | "name"> => !!member);
|
||||
return (
|
||||
<section className="space-y-2" aria-label={label}>
|
||||
<section className="space-y-2" aria-label={sectionLabel}>
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
<h4 className="text-xs font-semibold">{label}</h4>
|
||||
<h4 className="text-xs font-semibold">{sectionLabel}</h4>
|
||||
<Button
|
||||
size="sm"
|
||||
variant="outline"
|
||||
@@ -134,13 +149,13 @@ export function MRReviewerControl({
|
||||
disabled={busy || !changed}
|
||||
onClick={() => void onSave(selectedIds)}
|
||||
>
|
||||
<IconUserCheck className="mr-1 h-3.5 w-3.5" /> Apply
|
||||
<IconUserCheck className="mr-1 h-3.5 w-3.5" /> {t("gitlab:apply")}
|
||||
</Button>
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-1.5">
|
||||
<SelectedMemberBadges
|
||||
members={selectedMembers}
|
||||
label={label}
|
||||
kind={kind}
|
||||
onRemove={(id) => setSelectedIds((ids) => ids.filter((candidate) => candidate !== id))}
|
||||
/>
|
||||
</div>
|
||||
@@ -154,14 +169,14 @@ export function MRReviewerControl({
|
||||
void search();
|
||||
}
|
||||
}}
|
||||
placeholder="Search project members"
|
||||
aria-label={`Search ${label.toLowerCase()}`}
|
||||
placeholder={t("gitlab:searchProjectMembers")}
|
||||
aria-label={searchLabel}
|
||||
/>
|
||||
<Button
|
||||
size="icon"
|
||||
variant="outline"
|
||||
className="h-11 w-11 shrink-0 cursor-pointer sm:h-9 sm:w-9"
|
||||
aria-label={`Search ${label.toLowerCase()}`}
|
||||
aria-label={searchLabel}
|
||||
disabled={searching}
|
||||
onClick={() => void search()}
|
||||
>
|
||||
|
||||
@@ -34,6 +34,7 @@ import type { Repository } from "@/lib/types/http";
|
||||
import { TaskMRLinkDialog } from "./task-mr-link-dialog";
|
||||
import { useDockviewStore } from "@/lib/state/dockview-store";
|
||||
import { mrTaskKey } from "./mr-detail-panel";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
/**
|
||||
* Icon + colour for an MR's combined state. Mirrors github's pr-task-icon
|
||||
@@ -96,6 +97,7 @@ function MRTriggerContent({
|
||||
single: TaskMR | null;
|
||||
count: number;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
if (compact) return <IconBrandGitlab className="h-4 w-4 text-orange-500" />;
|
||||
if (single) {
|
||||
return (
|
||||
@@ -109,7 +111,9 @@ function MRTriggerContent({
|
||||
return (
|
||||
<>
|
||||
<IconBrandGitlab className="h-4 w-4 text-orange-500" />
|
||||
<span className="text-xs font-medium">{count} MRs</span>
|
||||
<span className="text-xs font-medium">
|
||||
{count} {t("gitlab:mrs")}
|
||||
</span>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -129,6 +133,7 @@ function MRMenuButton({
|
||||
onLink: () => void;
|
||||
onUnlink: (associationId: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const single = mrs.length === 1 ? mrs[0] : null;
|
||||
const addMRPanel = useDockviewStore((state) => state.addMRPanel);
|
||||
const dockviewReady = useDockviewStore((state) => state.api !== null);
|
||||
@@ -165,8 +170,8 @@ function MRMenuButton({
|
||||
className={mrTriggerClass(compact, mobile)}
|
||||
aria-label={
|
||||
single
|
||||
? `GitLab merge request !${single.mr_iid}`
|
||||
: `${mrs.length} GitLab merge requests`
|
||||
? t("gitlab:gitlabMergeRequest", { mriid: single.mr_iid })
|
||||
: t("gitlab:gitlabMergeRequests", { length: mrs.length })
|
||||
}
|
||||
>
|
||||
<MRTriggerContent compact={compact} single={single} count={mrs.length} />
|
||||
@@ -178,12 +183,12 @@ function MRMenuButton({
|
||||
<DropdownMenuItem className="cursor-pointer" onSelect={() => openReview(mr)}>
|
||||
<IconGitMerge className="h-4 w-4" />
|
||||
<span className="min-w-0 truncate">
|
||||
Review {mr.project_path}!{mr.mr_iid}
|
||||
{t("gitlab:review")} {mr.project_path}!{mr.mr_iid}
|
||||
</span>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem asChild className="cursor-pointer">
|
||||
<Link href={mr.mr_url} target="_blank" rel="noopener noreferrer">
|
||||
<IconExternalLink className="h-4 w-4" /> Open in GitLab
|
||||
<IconExternalLink className="h-4 w-4" /> {t("gitlab:openInGitlab")}
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
@@ -191,7 +196,8 @@ function MRMenuButton({
|
||||
onSelect={() => onUnlink(mr.id)}
|
||||
>
|
||||
<IconUnlink className="h-4 w-4" />
|
||||
Unlink !{mr.mr_iid}
|
||||
{t("gitlab:unlink")}
|
||||
{mr.mr_iid}
|
||||
</DropdownMenuItem>
|
||||
</div>
|
||||
))}
|
||||
@@ -200,7 +206,7 @@ function MRMenuButton({
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem className="cursor-pointer" onSelect={onLink}>
|
||||
<IconPlus className="h-4 w-4" />
|
||||
Link another merge request
|
||||
{t("gitlab:linkAnotherMergeRequest")}
|
||||
</DropdownMenuItem>
|
||||
</>
|
||||
) : null}
|
||||
@@ -249,6 +255,7 @@ export const MRTopbarButton = memo(function MRTopbarButton({
|
||||
compact?: boolean;
|
||||
mobile?: boolean;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [linkOpen, setLinkOpen] = useState(false);
|
||||
const activeTaskId = useAppStore((s) => s.tasks.activeTaskId);
|
||||
const workspaceId = useAppStore((s) => s.workspaces.activeId);
|
||||
@@ -272,8 +279,9 @@ export const MRTopbarButton = memo(function MRTopbarButton({
|
||||
removeTaskMR(workspaceId, associationId);
|
||||
} catch (error) {
|
||||
toast({
|
||||
title: "Failed to unlink merge request",
|
||||
description: error instanceof Error ? error.message : "The merge request is still linked.",
|
||||
title: t("gitlab:failedToUnlinkMergeRequest"),
|
||||
description:
|
||||
error instanceof Error ? error.message : t("gitlab:theMergeRequestIsStillLinked"),
|
||||
variant: "error",
|
||||
});
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import type { GitLabLaunchPayload, GitLabTaskPreset } from "./quick-task-launche
|
||||
import { StartTaskMenu } from "./start-task-menu";
|
||||
import { SubscriptionToggle } from "../subscription-toggle";
|
||||
import { RowTitleLink } from "./row-title-link";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type IssueListProps = {
|
||||
items: Issue[];
|
||||
@@ -49,6 +50,7 @@ function IssueRow({
|
||||
workspaceId?: string;
|
||||
host?: string;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const isOpen = issue.state !== "closed";
|
||||
const StateIcon = isOpen ? IconCircle : IconCircleCheck;
|
||||
const stateClass = isOpen
|
||||
@@ -69,7 +71,10 @@ function IssueRow({
|
||||
</span>
|
||||
<span>·</span>
|
||||
<span className="whitespace-nowrap">
|
||||
by {issue.author_username} · opened {formatRelativeTime(issue.created_at)}
|
||||
{t("gitlab:byAuthorOpenedAgo", {
|
||||
author: issue.author_username,
|
||||
time: formatRelativeTime(issue.created_at),
|
||||
})}
|
||||
</span>
|
||||
<IssueLabels labels={issue.labels} />
|
||||
</div>
|
||||
@@ -106,6 +111,7 @@ function IssueListBody({
|
||||
workspaceId,
|
||||
host,
|
||||
}: IssueListProps) {
|
||||
const { t } = useTranslation();
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="flex justify-center py-10">
|
||||
@@ -119,7 +125,7 @@ function IssueListBody({
|
||||
if (items.length === 0) {
|
||||
return (
|
||||
<div className="text-center py-10 text-muted-foreground text-sm">
|
||||
No issues match this filter.
|
||||
{t("gitlab:noIssuesMatchThisFilter")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@ import { Button } from "@kandev/ui/button";
|
||||
import { Input } from "@kandev/ui/input";
|
||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@kandev/ui/select";
|
||||
import { cn, formatRelativeTime } from "@/lib/utils";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
const ALL_PROJECTS = "__all__";
|
||||
|
||||
@@ -34,11 +35,12 @@ function RefreshControls({
|
||||
onRefresh: () => void;
|
||||
showUpdatedPrefix: boolean;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
{lastFetchedAt && !loading && (
|
||||
<span className="text-xs text-muted-foreground whitespace-nowrap">
|
||||
{showUpdatedPrefix ? "Updated " : ""}
|
||||
{showUpdatedPrefix ? t("gitlab:updated") : ""}
|
||||
{formatRelativeTime(lastFetchedAt.toISOString())}
|
||||
</span>
|
||||
)}
|
||||
@@ -48,7 +50,7 @@ function RefreshControls({
|
||||
className="h-8 w-8 cursor-pointer"
|
||||
onClick={onRefresh}
|
||||
disabled={loading}
|
||||
title="Refresh"
|
||||
title={t("gitlab:refresh")}
|
||||
data-testid="gitlab-list-toolbar-refresh"
|
||||
>
|
||||
<IconRefresh className={cn("h-4 w-4", loading && "animate-spin")} />
|
||||
@@ -71,6 +73,7 @@ export function ListToolbar({
|
||||
projectOptions,
|
||||
onRefresh,
|
||||
}: ListToolbarProps) {
|
||||
const { t } = useTranslation();
|
||||
const selectValue = projectFilter || ALL_PROJECTS;
|
||||
const dirty = customQuery !== committedQuery;
|
||||
return (
|
||||
@@ -101,11 +104,11 @@ export function ListToolbar({
|
||||
className="w-full md:w-[220px] h-8 cursor-pointer"
|
||||
data-testid="gitlab-project-filter-trigger"
|
||||
>
|
||||
<SelectValue placeholder="All projects" />
|
||||
<SelectValue placeholder={t("gitlab:allProjects")} />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value={ALL_PROJECTS} className="cursor-pointer">
|
||||
All projects
|
||||
{t("gitlab:allProjects")}
|
||||
</SelectItem>
|
||||
{projectOptions.map((key) => (
|
||||
<SelectItem key={key} value={key} className="cursor-pointer">
|
||||
@@ -127,13 +130,13 @@ export function ListToolbar({
|
||||
onBlur={() => {
|
||||
if (dirty) onCommitCustomQuery();
|
||||
}}
|
||||
placeholder='Custom query — press Enter. e.g. "labels=bug&state=opened"'
|
||||
placeholder={t("gitlab:customQueryPressEnterEG")}
|
||||
className="h-8 pr-20"
|
||||
data-testid="gitlab-list-toolbar-custom-query"
|
||||
/>
|
||||
{dirty && (
|
||||
<span className="pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-[10px] uppercase tracking-wider text-muted-foreground hidden sm:inline">
|
||||
Press Enter
|
||||
{t("gitlab:pressEnter")}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -10,6 +10,7 @@ import { gitLabMRKey } from "@/lib/gitlab-identity";
|
||||
import { MRRowTaskIndicator } from "./mr-row-task-indicator";
|
||||
import { StartTaskMenu } from "./start-task-menu";
|
||||
import { RowTitleLink } from "./row-title-link";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type MRListProps = {
|
||||
items: MR[];
|
||||
@@ -41,6 +42,7 @@ function MRRow({
|
||||
presets: GitLabTaskPreset[];
|
||||
onStartTask?: MRListProps["onStartTask"];
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const { Icon: StateIcon, className: stateIconClass } = mrStateIcon(mr);
|
||||
return (
|
||||
<div
|
||||
@@ -61,7 +63,10 @@ function MRRow({
|
||||
</span>
|
||||
<span>·</span>
|
||||
<span className="whitespace-nowrap">
|
||||
by {mr.author_username} · opened {formatRelativeTime(mr.created_at)}
|
||||
{t("gitlab:byAuthorOpenedAgo", {
|
||||
author: mr.author_username,
|
||||
time: formatRelativeTime(mr.created_at),
|
||||
})}
|
||||
</span>
|
||||
<MRRowTaskIndicator tasks={tasks} />
|
||||
</div>
|
||||
@@ -86,6 +91,7 @@ function MRListBody({
|
||||
onStartTask,
|
||||
mrKeyToTasks,
|
||||
}: MRListProps) {
|
||||
const { t } = useTranslation();
|
||||
if (loading) {
|
||||
return (
|
||||
<div className="flex justify-center py-10">
|
||||
@@ -99,7 +105,7 @@ function MRListBody({
|
||||
if (items.length === 0) {
|
||||
return (
|
||||
<div className="text-center py-10 text-muted-foreground text-sm">
|
||||
No merge requests match this filter.
|
||||
{t("gitlab:noMergeRequestsMatchThisFilter")}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
|
||||
import type { TaskMR } from "@/lib/types/gitlab";
|
||||
import { TaskRowIndicator } from "@/components/github/my-github/task-row-indicator";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export function MRRowTaskIndicator({ tasks }: { tasks: TaskMR[] | undefined }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<TaskRowIndicator
|
||||
tasks={tasks?.map((association) => ({
|
||||
@@ -12,7 +14,7 @@ export function MRRowTaskIndicator({ tasks }: { tasks: TaskMR[] | undefined }) {
|
||||
fallbackTitle: association.mr_title,
|
||||
}))}
|
||||
testIdPrefix="gitlab-mr-row-task-indicator"
|
||||
emptyLabel="No task created yet"
|
||||
emptyLabel={t("gitlab:noTaskCreatedYet")}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ import { IntegrationScopeBar } from "@/components/integrations/presets-scope-bar
|
||||
import { MR_PRESETS, ISSUE_PRESETS, type PresetOption } from "./presets";
|
||||
import type { SavedPreset } from "./use-saved-presets";
|
||||
import type { SidebarSelection } from "./presets-sidebar";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type PresetsScopeBarProps = {
|
||||
className?: string;
|
||||
@@ -17,9 +18,10 @@ type PresetsScopeBarProps = {
|
||||
issuePresets?: PresetOption[];
|
||||
};
|
||||
|
||||
/** `value` is the persisted kind; only the catalog key is copy. */
|
||||
const KINDS = [
|
||||
{ value: "mr", label: "Merge requests" },
|
||||
{ value: "issue", label: "Issues" },
|
||||
{ value: "mr", labelKey: "gitlab:titleMergeRequests" },
|
||||
{ value: "issue", labelKey: "gitlab:titleIssues" },
|
||||
] as const;
|
||||
|
||||
/**
|
||||
@@ -32,12 +34,13 @@ export function PresetsScopeBar({
|
||||
issuePresets = ISSUE_PRESETS,
|
||||
...props
|
||||
}: PresetsScopeBarProps) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<IntegrationScopeBar
|
||||
{...props}
|
||||
testId="gitlab-presets-scope-bar"
|
||||
savedMenuTestId="gitlab-saved-queries-menu"
|
||||
kinds={KINDS}
|
||||
kinds={KINDS.map(({ value, labelKey }) => ({ value, label: t(labelKey) }))}
|
||||
presetsByKind={(kind) => (kind === "mr" ? mrPresets : issuePresets)}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -5,6 +5,7 @@ import type { Icon } from "@tabler/icons-react";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { MR_PRESETS, ISSUE_PRESETS, type PresetOption, type PresetGroup } from "./presets";
|
||||
import type { SavedPreset } from "./use-saved-presets";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export type SidebarSelection = {
|
||||
kind: "mr" | "issue";
|
||||
@@ -30,6 +31,7 @@ function KindToggle({
|
||||
kind: "mr" | "issue";
|
||||
onChange: (k: "mr" | "issue") => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div
|
||||
className="mx-2 mb-3 grid grid-cols-2 rounded-md border p-0.5 text-xs"
|
||||
@@ -48,18 +50,26 @@ function KindToggle({
|
||||
)}
|
||||
data-testid={`gitlab-kind-${value}`}
|
||||
>
|
||||
{value === "mr" ? "Merge requests" : "Issues"}
|
||||
{value === "mr" ? t("gitlab:mergeRequests") : t("gitlab:issues")}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function SectionHeader({ title }: { title: string }) {
|
||||
/**
|
||||
* `id` is a stable section identifier and `title` is the visible label. They
|
||||
* were one value: the testid was built as `gitlab-section-${title.toLowerCase()}`,
|
||||
* so translating the title moved the selector with it — under pseudo the inbox
|
||||
* section became `gitlab-section-ĩńƀōx`. apps/web/AGENTS.md is explicit that a
|
||||
* `data-testid` is never translated; deriving one from copy translates it by
|
||||
* the back door.
|
||||
*/
|
||||
function SectionHeader({ id, title }: { id: string; title: string }) {
|
||||
return (
|
||||
<div
|
||||
className="px-2 mt-3 mb-1 text-[11px] uppercase tracking-wider text-muted-foreground font-medium"
|
||||
data-testid={`gitlab-section-${title.toLowerCase()}`}
|
||||
data-testid={`gitlab-section-${id}`}
|
||||
>
|
||||
{title}
|
||||
</div>
|
||||
@@ -121,11 +131,15 @@ function PresetGroupList({
|
||||
onSelect: (s: SidebarSelection) => void;
|
||||
kind: "mr" | "issue";
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const items = presets.filter((p) => p.group === group);
|
||||
if (items.length === 0) return null;
|
||||
return (
|
||||
<>
|
||||
<SectionHeader title={group === "inbox" ? "Inbox" : "Created"} />
|
||||
<SectionHeader
|
||||
id={group}
|
||||
title={group === "inbox" ? t("gitlab:inbox") : t("gitlab:created")}
|
||||
/>
|
||||
{items.map((p) => (
|
||||
<PresetItem
|
||||
key={`${kind}-${p.value}`}
|
||||
@@ -156,12 +170,13 @@ function SavedSection({
|
||||
canSaveCurrent: boolean;
|
||||
onSaveCurrent: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
<SectionHeader title="Saved" />
|
||||
<SectionHeader id="saved" title={t("gitlab:saved")} />
|
||||
{saved.length === 0 && (
|
||||
<div className="mx-2 px-2 py-1 text-xs text-muted-foreground/80 italic">
|
||||
No saved queries yet.
|
||||
{t("gitlab:noSavedQueriesYet")}
|
||||
</div>
|
||||
)}
|
||||
{saved.map((s) => (
|
||||
@@ -179,8 +194,8 @@ function SavedSection({
|
||||
onDelete(s.id);
|
||||
}}
|
||||
className="opacity-0 group-hover/item:opacity-100 transition-opacity text-muted-foreground hover:text-foreground cursor-pointer"
|
||||
title="Delete saved query"
|
||||
aria-label={`Delete saved query ${s.label}`}
|
||||
title={t("gitlab:deleteSavedQuery")}
|
||||
aria-label={t("gitlab:deleteSavedQuery2", { label: s.label })}
|
||||
data-testid={`gitlab-saved-delete-${s.id}`}
|
||||
>
|
||||
<IconX className="h-3.5 w-3.5" />
|
||||
@@ -198,11 +213,11 @@ function SavedSection({
|
||||
? "text-muted-foreground hover:bg-muted/50 hover:text-foreground cursor-pointer"
|
||||
: "text-muted-foreground/50 cursor-not-allowed",
|
||||
)}
|
||||
title={canSaveCurrent ? "Save current query" : "Type a custom query first"}
|
||||
title={canSaveCurrent ? t("gitlab:saveCurrentQuery") : t("gitlab:typeACustomQueryFirst")}
|
||||
data-testid="gitlab-save-current-query"
|
||||
>
|
||||
<IconDeviceFloppy className="h-4 w-4 shrink-0" />
|
||||
<span>Save current query</span>
|
||||
<span>{t("gitlab:saveCurrentQuery")}</span>
|
||||
</button>
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
import { Input } from "@kandev/ui/input";
|
||||
import { Button } from "@kandev/ui/button";
|
||||
import { Label } from "@kandev/ui/label";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
type SavePresetDialogProps = {
|
||||
open: boolean;
|
||||
@@ -38,6 +39,7 @@ function SavePresetForm({
|
||||
onSave: (label: string) => void;
|
||||
onClose: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [value, setValue] = useState(suggestedLabel);
|
||||
const trimmed = value.trim();
|
||||
const canSubmit = trimmed.length > 0;
|
||||
@@ -51,16 +53,17 @@ function SavePresetForm({
|
||||
return (
|
||||
<>
|
||||
<DialogHeader>
|
||||
<DialogTitle>Save GitLab query</DialogTitle>
|
||||
<DialogTitle>{t("gitlab:saveGitlabQuery")}</DialogTitle>
|
||||
<DialogDescription>
|
||||
Save this {kind === "mr" ? "merge request" : "issue"} query to the sidebar for quick
|
||||
access later.
|
||||
{t("gitlab:savePresetDescription", {
|
||||
kind: kind === "mr" ? t("gitlab:kindMergeRequest") : t("gitlab:kindIssue"),
|
||||
})}
|
||||
</DialogDescription>
|
||||
</DialogHeader>
|
||||
<div className="flex flex-col gap-3">
|
||||
<div className="flex flex-col gap-1.5">
|
||||
<Label htmlFor="gitlab-preset-label" className="text-xs">
|
||||
Name
|
||||
{t("gitlab:name")}
|
||||
</Label>
|
||||
<Input
|
||||
id="gitlab-preset-label"
|
||||
@@ -68,13 +71,13 @@ function SavePresetForm({
|
||||
value={value}
|
||||
onChange={(e) => setValue(e.target.value)}
|
||||
onFocus={(e) => e.target.select()}
|
||||
placeholder="e.g. Needs my review"
|
||||
placeholder={t("gitlab:eGNeedsMyReview")}
|
||||
/>
|
||||
</div>
|
||||
<div className="flex flex-col gap-1.5 text-xs">
|
||||
{customQuery && (
|
||||
<div className="flex gap-2">
|
||||
<span className="text-muted-foreground shrink-0 w-16">Query</span>
|
||||
<span className="text-muted-foreground shrink-0 w-16">{t("gitlab:query")}</span>
|
||||
<code className="font-mono text-[11px] bg-muted rounded px-1.5 py-0.5 break-all">
|
||||
{customQuery}
|
||||
</code>
|
||||
@@ -82,7 +85,7 @@ function SavePresetForm({
|
||||
)}
|
||||
{projectFilter && (
|
||||
<div className="flex gap-2">
|
||||
<span className="text-muted-foreground shrink-0 w-16">Project</span>
|
||||
<span className="text-muted-foreground shrink-0 w-16">{t("gitlab:project")}</span>
|
||||
<code className="font-mono text-[11px] bg-muted rounded px-1.5 py-0.5 break-all">
|
||||
{projectFilter}
|
||||
</code>
|
||||
@@ -92,10 +95,10 @@ function SavePresetForm({
|
||||
</div>
|
||||
<DialogFooter>
|
||||
<Button variant="outline" className="cursor-pointer" onClick={onClose}>
|
||||
Cancel
|
||||
{t("common:cancel")}
|
||||
</Button>
|
||||
<Button className="cursor-pointer" disabled={!canSubmit} onClick={handleSubmit}>
|
||||
Save
|
||||
{t("common:save")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</>
|
||||
|
||||
@@ -9,6 +9,7 @@ import {
|
||||
DropdownMenuTrigger,
|
||||
} from "@kandev/ui/dropdown-menu";
|
||||
import type { GitLabTaskPreset } from "./quick-task-launcher";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
export function StartTaskMenu({
|
||||
presets,
|
||||
@@ -17,6 +18,7 @@ export function StartTaskMenu({
|
||||
presets: GitLabTaskPreset[];
|
||||
onSelect: (preset: GitLabTaskPreset) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
if (presets.length === 0) return null;
|
||||
return (
|
||||
<DropdownMenu>
|
||||
@@ -25,10 +27,10 @@ export function StartTaskMenu({
|
||||
size="sm"
|
||||
variant="outline"
|
||||
className="h-11 sm:h-7 gap-1 cursor-pointer"
|
||||
aria-label="Create task"
|
||||
aria-label={t("gitlab:createTask")}
|
||||
>
|
||||
<IconPlus className="h-3.5 w-3.5" />
|
||||
Task
|
||||
{t("gitlab:task")}
|
||||
<IconChevronDown className="h-3 w-3" />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { act, cleanup, render, screen, waitFor } from "@testing-library/react";
|
||||
import { t } from "@/lib/i18n";
|
||||
import { createElement } from "react";
|
||||
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||
|
||||
@@ -29,8 +30,8 @@ function deferred<T>() {
|
||||
|
||||
describe("subscriptionActionLabel", () => {
|
||||
it("describes the next upstream notification action", () => {
|
||||
expect(subscriptionActionLabel(false)).toBe("Subscribe to GitLab notifications");
|
||||
expect(subscriptionActionLabel(true)).toBe("Unsubscribe from GitLab notifications");
|
||||
expect(subscriptionActionLabel(false, t)).toBe("Subscribe to GitLab notifications");
|
||||
expect(subscriptionActionLabel(true, t)).toBe("Unsubscribe from GitLab notifications");
|
||||
});
|
||||
|
||||
it("ignores a delayed subscription read after the MR identity changes", async () => {
|
||||
|
||||
@@ -11,6 +11,7 @@ import {
|
||||
} from "@/lib/api/domains/gitlab-api";
|
||||
import { useToast } from "@/components/toast-provider";
|
||||
import { isCurrentIdentityRequest } from "@/hooks/domains/gitlab/request-identity";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
function requestIsActive(
|
||||
generation: number,
|
||||
@@ -26,8 +27,13 @@ function requestIsActive(
|
||||
);
|
||||
}
|
||||
|
||||
export function subscriptionActionLabel(subscribed: boolean): string {
|
||||
return subscribed ? "Unsubscribe from GitLab notifications" : "Subscribe to GitLab notifications";
|
||||
export function subscriptionActionLabel(
|
||||
subscribed: boolean,
|
||||
t: (key: string, values?: Record<string, unknown>) => string,
|
||||
): string {
|
||||
return subscribed
|
||||
? t("gitlab:unsubscribeFromNotifications")
|
||||
: t("gitlab:subscribeToNotifications");
|
||||
}
|
||||
|
||||
type SubscriptionIdentity = {
|
||||
@@ -45,6 +51,7 @@ function useGitLabSubscription({
|
||||
project,
|
||||
iid,
|
||||
}: SubscriptionIdentity) {
|
||||
const { t } = useTranslation();
|
||||
const [subscribed, setSubscribed] = useState(false);
|
||||
const [loading, setLoading] = useState(true);
|
||||
const { toast } = useToast();
|
||||
@@ -68,8 +75,9 @@ function useGitLabSubscription({
|
||||
.catch((error: unknown) => {
|
||||
if (requestIsActive(generation, requestIdentity, requestGeneration, currentIdentity)) {
|
||||
toast({
|
||||
title: "Notification status unavailable",
|
||||
description: error instanceof Error ? error.message : "GitLab rejected the request.",
|
||||
title: t("gitlab:notificationStatusUnavailable"),
|
||||
description:
|
||||
error instanceof Error ? error.message : t("gitlab:gitlabRejectedTheRequest"),
|
||||
variant: "error",
|
||||
});
|
||||
}
|
||||
@@ -96,16 +104,16 @@ function useGitLabSubscription({
|
||||
setSubscribed(state.subscribed);
|
||||
toast({
|
||||
description: state.subscribed
|
||||
? "Subscribed to GitLab notifications"
|
||||
: "Unsubscribed from GitLab notifications",
|
||||
? t("gitlab:subscribedToGitlabNotifications")
|
||||
: t("gitlab:unsubscribedFromGitlabNotifications"),
|
||||
variant: "success",
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
if (requestIsActive(generation, requestIdentity, requestGeneration, currentIdentity)) {
|
||||
toast({
|
||||
title: "Notification update failed",
|
||||
description: error instanceof Error ? error.message : "GitLab rejected the action.",
|
||||
title: t("gitlab:notificationUpdateFailed"),
|
||||
description: error instanceof Error ? error.message : t("gitlab:gitlabRejectedTheAction"),
|
||||
variant: "error",
|
||||
});
|
||||
}
|
||||
@@ -120,9 +128,10 @@ function useGitLabSubscription({
|
||||
}
|
||||
|
||||
export function SubscriptionToggle(identity: SubscriptionIdentity) {
|
||||
const { t } = useTranslation();
|
||||
const { subscribed, loading, toggle } = useGitLabSubscription(identity);
|
||||
|
||||
const label = subscriptionActionLabel(subscribed);
|
||||
const label = subscriptionActionLabel(subscribed, t);
|
||||
const Icon = subscribed ? IconBellOff : IconBell;
|
||||
return (
|
||||
<Button
|
||||
@@ -135,7 +144,9 @@ export function SubscriptionToggle(identity: SubscriptionIdentity) {
|
||||
onClick={() => void toggle()}
|
||||
>
|
||||
<Icon className="h-4 w-4" />
|
||||
<span className="hidden lg:inline">{subscribed ? "Unsubscribe" : "Subscribe"}</span>
|
||||
<span className="hidden lg:inline">
|
||||
{subscribed ? t("gitlab:unsubscribe") : t("gitlab:subscribe")}
|
||||
</span>
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ import { useAppStore } from "@/components/state-provider";
|
||||
import { useToast } from "@/components/toast-provider";
|
||||
import { createTaskMR } from "@/lib/api/domains/gitlab-api";
|
||||
import type { Repository } from "@/lib/types/http";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
const NO_REPOSITORY = "__none__";
|
||||
|
||||
@@ -51,10 +52,11 @@ function RepositoryField({
|
||||
value: string;
|
||||
onChange: (value: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
if (options.length <= 1) return null;
|
||||
return (
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="gitlab-mr-repository">Task repository</Label>
|
||||
<Label htmlFor="gitlab-mr-repository">{t("gitlab:taskRepository")}</Label>
|
||||
<Select value={value} onValueChange={onChange}>
|
||||
<SelectTrigger id="gitlab-mr-repository">
|
||||
<SelectValue />
|
||||
@@ -84,10 +86,11 @@ function LinkDialogFields({
|
||||
repositoryID: string;
|
||||
onRepositoryChange: (value: string) => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-2">
|
||||
<Label htmlFor="gitlab-mr-url">Merge request URL</Label>
|
||||
<Label htmlFor="gitlab-mr-url">{t("gitlab:mergeRequestUrl")}</Label>
|
||||
<Input
|
||||
id="gitlab-mr-url"
|
||||
value={mrURL}
|
||||
@@ -116,6 +119,7 @@ export function TaskMRLinkDialog({
|
||||
taskRepositories: TaskRepositoryLink[];
|
||||
repositories: Repository[];
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const options = useRepositoryOptions(repositories, taskRepositories);
|
||||
const defaultRepositoryID = options[0]?.id ?? NO_REPOSITORY;
|
||||
const [mrURL, setMRURL] = useState("");
|
||||
@@ -152,9 +156,9 @@ export function TaskMRLinkDialog({
|
||||
onOpenChange(false);
|
||||
} catch (error) {
|
||||
toast({
|
||||
title: "Failed to link merge request",
|
||||
title: t("gitlab:failedToLinkMergeRequest"),
|
||||
description:
|
||||
error instanceof Error ? error.message : "GitLab rejected the merge request link.",
|
||||
error instanceof Error ? error.message : t("gitlab:gitlabRejectedTheMergeRequestLink"),
|
||||
variant: "error",
|
||||
});
|
||||
} finally {
|
||||
@@ -166,10 +170,8 @@ export function TaskMRLinkDialog({
|
||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||
<DialogContent className="sm:max-w-md">
|
||||
<DialogHeader>
|
||||
<DialogTitle>Link GitLab merge request</DialogTitle>
|
||||
<DialogDescription>
|
||||
Paste a merge request URL from this workspace's configured GitLab host.
|
||||
</DialogDescription>
|
||||
<DialogTitle>{t("gitlab:linkGitlabMergeRequest")}</DialogTitle>
|
||||
<DialogDescription>{t("gitlab:pasteAMergeRequestUrlFrom")}</DialogDescription>
|
||||
</DialogHeader>
|
||||
<LinkDialogFields
|
||||
mrURL={mrURL}
|
||||
@@ -185,7 +187,7 @@ export function TaskMRLinkDialog({
|
||||
onClick={() => onOpenChange(false)}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
Cancel
|
||||
{t("common:cancel")}
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
@@ -193,7 +195,7 @@ export function TaskMRLinkDialog({
|
||||
disabled={!mrURL.trim() || submitting}
|
||||
className="cursor-pointer"
|
||||
>
|
||||
{submitting ? "Linking…" : "Link merge request"}
|
||||
{submitting ? t("gitlab:linking") : t("gitlab:linkMergeRequest")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
|
||||
@@ -10,6 +10,7 @@ import {
|
||||
DropdownMenuTrigger,
|
||||
} from "@kandev/ui/dropdown-menu";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
/**
|
||||
* Shared, domain-agnostic scope bar for the integration dashboards (/github,
|
||||
@@ -118,6 +119,7 @@ function SavedMenu<K extends string>({
|
||||
canSaveCurrent: boolean;
|
||||
onSaveCurrent: () => void;
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const activeSaved = selected.source === "saved";
|
||||
const activeLabel = activeSaved ? saved.find((s) => s.id === selected.id)?.label : null;
|
||||
return (
|
||||
@@ -129,13 +131,15 @@ function SavedMenu<K extends string>({
|
||||
className={cn(PILL_BASE, activeSaved ? PILL_ACTIVE : PILL_IDLE)}
|
||||
>
|
||||
<IconBookmark className="h-3.5 w-3.5 shrink-0" />
|
||||
<span className="max-w-[140px] truncate">{activeLabel ?? "Saved"}</span>
|
||||
<span className="max-w-[140px] truncate">
|
||||
{activeLabel ?? t("integrations:savedQueries")}
|
||||
</span>
|
||||
<IconChevronDown className="h-3 w-3 shrink-0 opacity-60" />
|
||||
</button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent align="end" className="w-56">
|
||||
{saved.length === 0 ? (
|
||||
<DropdownMenuItem disabled>No saved queries yet</DropdownMenuItem>
|
||||
<DropdownMenuItem disabled>{t("integrations:noSavedQueriesYet")}</DropdownMenuItem>
|
||||
) : (
|
||||
saved.map((s) => (
|
||||
<DropdownMenuItem
|
||||
@@ -155,7 +159,7 @@ function SavedMenu<K extends string>({
|
||||
onDeleteSaved(s.id);
|
||||
}}
|
||||
className="pointer-events-none cursor-pointer text-muted-foreground opacity-0 transition-opacity hover:text-foreground group-hover/saved:pointer-events-auto group-hover/saved:opacity-100"
|
||||
title="Delete saved query"
|
||||
title={t("integrations:deleteSavedQuery")}
|
||||
>
|
||||
<IconX className="h-3.5 w-3.5" />
|
||||
</button>
|
||||
@@ -169,7 +173,7 @@ function SavedMenu<K extends string>({
|
||||
className={cn("gap-2", canSaveCurrent && "cursor-pointer")}
|
||||
>
|
||||
<IconDeviceFloppy className="h-3.5 w-3.5 shrink-0" />
|
||||
<span>Save current query</span>
|
||||
<span>{t("integrations:saveCurrentQuery")}</span>
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
|
||||
@@ -1353,4 +1353,90 @@ export const i18nGuardFiles = [
|
||||
"lib/executor-icons.ts",
|
||||
"lib/plugins/sync-summary.ts",
|
||||
"src/settings-routes.tsx",
|
||||
// GitHub + GitLab TASK surfaces: the PR/MR detail panels and their sections,
|
||||
// the topbar buttons and CI popovers, the My-GitHub / My-GitLab browse lists
|
||||
// and their preset sidebars and dialogs, and the two `/github` + `/gitlab`
|
||||
// page clients. Together with the settings entries listed far above, this
|
||||
// completes both directories; the file lists are kept rather than collapsed to
|
||||
// `components/github/**` because collapsing would mean REMOVING entries, which
|
||||
// `check-guard-allowlist.mjs` cannot distinguish from un-protecting a path.
|
||||
//
|
||||
// `hooks/domains/gitlab/use-mr-actions.ts` is listed because the task surface
|
||||
// reaches its toasts. Its `run()` first argument used to be the human label —
|
||||
// one string serving as both `pendingAction` state and the interpolated
|
||||
// failure title `${label} failed`. That is the dual-use shape AGENTS.md warns
|
||||
// about, so it is now an `MRActionKind` id plus a per-action catalog key.
|
||||
// `mr-reviewer-control.tsx` had the same shape in a prop typed
|
||||
// `"Reviewers" | "Assignees"`, which TypeScript caught the moment the codemod
|
||||
// translated it; it is now a `kind` discriminant.
|
||||
//
|
||||
// Deliberately left in English, all of it protocol or provider data: GitHub
|
||||
// and GitLab state values (`open`/`merged`/`closed`/`opened`, review states,
|
||||
// check conclusions) which are compared with `===`; every id, branch name,
|
||||
// repo/project path, label and username from the provider API; and the
|
||||
// `PR_FEEDBACK_PLACEHOLDER` token, which the agent prompt matches verbatim and
|
||||
// which therefore travels as an interpolation value rather than as catalog
|
||||
// text. The example values in `placeholder` attributes (`kdlbs, example-org`,
|
||||
// `group/api, group/web`, `state=opened`) are data a user types, not copy.
|
||||
"app/github/github-page-client.tsx",
|
||||
"app/gitlab/gitlab-page-client.tsx",
|
||||
"components/github/issue-task-icon.tsx",
|
||||
"components/github/multi-pr-ci-popover.tsx",
|
||||
"components/github/my-github/issue-list.tsx",
|
||||
"components/github/my-github/list-toolbar.tsx",
|
||||
"components/github/my-github/pr-list.tsx",
|
||||
"components/github/my-github/pr-row-task-indicator.tsx",
|
||||
"components/github/my-github/pr-status-badges.tsx",
|
||||
"components/github/my-github/presets-sidebar.tsx",
|
||||
"components/github/my-github/repo-filter-combobox.tsx",
|
||||
"components/github/my-github/save-preset-dialog.tsx",
|
||||
"components/github/my-github/task-row-indicator.tsx",
|
||||
"components/github/my-github/use-pr-statuses.ts",
|
||||
"components/github/pr-checks-section.tsx",
|
||||
"components/github/pr-ci-automation-controls.tsx",
|
||||
"components/github/pr-ci-popover.tsx",
|
||||
"components/github/pr-comments-section.tsx",
|
||||
"components/github/pr-detail-panel.tsx",
|
||||
"components/github/pr-merge-button.tsx",
|
||||
"components/github/pr-mergeability-notice.tsx",
|
||||
"components/github/pr-mergeability-row.tsx",
|
||||
"components/github/pr-reviews-section.tsx",
|
||||
"components/github/pr-shared.tsx",
|
||||
"components/github/pr-status-chip.tsx",
|
||||
"components/github/pr-topbar-button.tsx",
|
||||
"components/gitlab/mr-commits-section.tsx",
|
||||
"components/gitlab/mr-detail-panel.tsx",
|
||||
"components/gitlab/mr-discussions-section.tsx",
|
||||
"components/gitlab/mr-files-section.tsx",
|
||||
"components/gitlab/mr-overview-section.tsx",
|
||||
"components/gitlab/mr-reviewer-control.tsx",
|
||||
"components/gitlab/mr-topbar-button.tsx",
|
||||
"components/gitlab/my-gitlab/issue-list.tsx",
|
||||
"components/gitlab/my-gitlab/list-toolbar.tsx",
|
||||
"components/gitlab/my-gitlab/mr-list.tsx",
|
||||
"components/gitlab/my-gitlab/mr-row-task-indicator.tsx",
|
||||
"components/gitlab/my-gitlab/presets-sidebar.tsx",
|
||||
"components/gitlab/my-gitlab/save-preset-dialog.tsx",
|
||||
"components/gitlab/my-gitlab/start-task-menu.tsx",
|
||||
"components/gitlab/subscription-toggle.tsx",
|
||||
"components/gitlab/task-mr-link-dialog.tsx",
|
||||
"hooks/domains/gitlab/use-mr-actions.ts",
|
||||
// The shared scope bar the `/github` and `/gitlab` dashboards render through
|
||||
// their thin wrappers. Listed because this migration converts it COMPLETELY —
|
||||
// all four of its own strings — not because integration chrome belongs to this
|
||||
// PR. `azure-devops-scope-bar.tsx` also wraps it and is untouched; it passes
|
||||
// its own labels in and inherits the base already done. Copy lives in a new
|
||||
// `integrations` namespace, the home `NAMESPACE_RULES` in
|
||||
// externalize-strings.mjs already designates for `components/integrations/`.
|
||||
//
|
||||
// Review caught this: the pseudo walk of `/github` and `/gitlab` reported them
|
||||
// clean because both pages rendered the NOT-CONNECTED alert, so the scope bar
|
||||
// never mounted. A surface that does not render cannot be verified by looking
|
||||
// at it, and "clean" there meant "absent", not "migrated".
|
||||
//
|
||||
// The `KINDS` tables in the two wrappers are SCREAMING_CASE, so the guard
|
||||
// skipped them entirely; their labels now travel as `labelKey`.
|
||||
"components/integrations/presets-scope-bar-base.tsx",
|
||||
"components/github/my-github/presets-scope-bar.tsx",
|
||||
"components/gitlab/my-gitlab/presets-scope-bar.tsx",
|
||||
];
|
||||
|
||||
@@ -1,24 +1,69 @@
|
||||
"use client";
|
||||
|
||||
import { useCallback, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useToast } from "@/components/toast-provider";
|
||||
|
||||
/**
|
||||
* A stable identifier for the action in flight, never display copy.
|
||||
*
|
||||
* This used to be the human label itself — `run("Approve", …)` — which made one
|
||||
* string do two jobs: it was stored in `pendingAction` state AND interpolated
|
||||
* into the failure toast as `` `${label} failed` ``. That is the dual-use shape
|
||||
* apps/web/AGENTS.md warns about: translating it in place would have changed a
|
||||
* state value, and leaving it English would have left the toast title
|
||||
* un-migrated. Splitting them lets the id stay fixed while the copy becomes a
|
||||
* catalog key, and it removes a sentence built by concatenation, which no
|
||||
* language that inflects the verb could have translated anyway.
|
||||
*/
|
||||
export type MRActionKind =
|
||||
| "approve"
|
||||
| "unapprove"
|
||||
| "reviewers"
|
||||
| "assignees"
|
||||
| "merge"
|
||||
| "unlink"
|
||||
| "reply"
|
||||
| "resolve"
|
||||
| "labels";
|
||||
|
||||
/**
|
||||
* Catalog keys per action. Written as plain `ns:key` literals so
|
||||
* `check-i18n-keys.mjs` counts them as referenced — a key built by template
|
||||
* would be invisible to it and every entry would report as an orphan.
|
||||
*/
|
||||
const ACTION_COPY: Record<MRActionKind, { name: string; success: string }> = {
|
||||
approve: { name: "gitlab:actionApprove", success: "gitlab:mergeRequestApproved" },
|
||||
unapprove: { name: "gitlab:actionUnapprove", success: "gitlab:approvalRemoved" },
|
||||
reviewers: { name: "gitlab:actionReviewers", success: "gitlab:reviewersUpdated" },
|
||||
assignees: { name: "gitlab:actionAssignees", success: "gitlab:assigneesUpdated" },
|
||||
merge: { name: "gitlab:actionMerge", success: "gitlab:mergeRequestMerged" },
|
||||
unlink: { name: "gitlab:actionUnlink", success: "gitlab:mergeRequestUnlinked" },
|
||||
reply: { name: "gitlab:actionReply", success: "gitlab:replyAdded" },
|
||||
resolve: { name: "gitlab:actionResolve", success: "gitlab:discussionResolved" },
|
||||
labels: { name: "gitlab:actionLabels", success: "gitlab:labelsUpdated" },
|
||||
};
|
||||
|
||||
export function useMRActions(onRefresh: () => void) {
|
||||
const [pendingAction, setPendingAction] = useState<string | null>(null);
|
||||
const [pendingAction, setPendingAction] = useState<MRActionKind | null>(null);
|
||||
const { toast } = useToast();
|
||||
const { t } = useTranslation();
|
||||
|
||||
const run = useCallback(
|
||||
async (label: string, action: () => Promise<unknown>, success: string) => {
|
||||
setPendingAction(label);
|
||||
async (kind: MRActionKind, action: () => Promise<unknown>) => {
|
||||
const copy = ACTION_COPY[kind];
|
||||
setPendingAction(kind);
|
||||
try {
|
||||
await action();
|
||||
toast({ description: success, variant: "success" });
|
||||
toast({ description: t(copy.success), variant: "success" });
|
||||
onRefresh();
|
||||
return true;
|
||||
} catch (error) {
|
||||
toast({
|
||||
title: `${label} failed`,
|
||||
description: error instanceof Error ? error.message : "GitLab rejected the action.",
|
||||
title: t("gitlab:actionFailed", { action: t(copy.name) }),
|
||||
// A GitLab API error is a diagnostic and stays English; the fallback
|
||||
// for a non-Error rejection is copy.
|
||||
description: error instanceof Error ? error.message : t("gitlab:gitlabRejectedAction"),
|
||||
variant: "error",
|
||||
});
|
||||
return false;
|
||||
@@ -26,7 +71,7 @@ export function useMRActions(onRefresh: () => void) {
|
||||
setPendingAction(null);
|
||||
}
|
||||
},
|
||||
[onRefresh, toast],
|
||||
[onRefresh, t, toast],
|
||||
);
|
||||
|
||||
return { pendingAction, run };
|
||||
|
||||
@@ -4,26 +4,47 @@
|
||||
"actionPromptPlaceholderHelp": "Type {{token}} to see available placeholders. <4>{{url}}</4> and <7>{{title}}</7> are substituted when the action runs.",
|
||||
"actions": "Actions",
|
||||
"active": "Active",
|
||||
"addAll": "Add all",
|
||||
"addAllCommentsToChatContext": "Add all comments to chat context",
|
||||
"addAllFailedChecksToChat": "Add all failed checks to chat context",
|
||||
"addAllReviewsToChatContext": "Add all reviews to chat context",
|
||||
"addAllToChatContext": "Add all to chat context",
|
||||
"addAnExistingGithubApp": "Add an existing GitHub App",
|
||||
"addExistingApp": "Add existing App",
|
||||
"addFailuresToChatContext": "Add {{workflow}} failures to chat context",
|
||||
"addIssueAction": "Add issue action",
|
||||
"addIssueQuery": "Add issue query",
|
||||
"addPrAction": "Add PR action",
|
||||
"addPrQuery": "Add PR query",
|
||||
"addRepository": "Add repository",
|
||||
"addToChatContext": "Add to chat context",
|
||||
"addWatch": "Add Watch",
|
||||
"addWholeThreadToChatContext": "Add whole thread to chat context",
|
||||
"addedToChatContext": "Added to chat context",
|
||||
"agentProfile": "Agent Profile",
|
||||
"allRepos": "All repos",
|
||||
"allRepositories": "All repositories",
|
||||
"allRepositoriesAllowedByThisWorkspace": "All repositories allowed by this workspace",
|
||||
"allowsInstallationElsewhereItDoesNot": "Allows installation elsewhere. It does not publish to Marketplace or grant repos.",
|
||||
"anErrorOccurred": "An error occurred",
|
||||
"anExecutorProfileGhTokenOr": "An executor-profile {{ghToken}} or {{githubToken}} overrides managed workspace credentials for that task.",
|
||||
"anImportedAppMustHaveAt": "An imported App must have at least these repository permissions and subscribed events.",
|
||||
"apiRateLimit": "API rate limit",
|
||||
"appId": "App ID",
|
||||
"appInstallationFailed": "App installation failed",
|
||||
"approvalRate": "Approval Rate",
|
||||
"approveAs": "Approve as {{mutationActor}}",
|
||||
"approved": "Approved",
|
||||
"approving": "Approving...",
|
||||
"authenticationUnavailable": "Authentication unavailable",
|
||||
"auto": "Auto",
|
||||
"autoFix": "Auto-fix",
|
||||
"autoFixCiAndAddressComments": "Auto-fix CI and address comments",
|
||||
"autoFixPrompt": "Auto-fix prompt",
|
||||
"autoFixPromptDescription": "This prompt is used only for this task. Leave it blank to use the default prompt. Add <0>{{placeholder}}</0> when you want Kandev to include its PR feedback snapshot.",
|
||||
"autoFixRoundExplanation": "Auto-fix has used {{current}} of {{max}} rounds for this PR. A round is counted when Kandev sends or queues a CI auto-fix message. Kandev waits for all PR checks to finish before starting a new CI auto-fix turn, so the agent gets the final failed checks and current comments together. Updating an already queued auto-fix message does not use another round. When this is at {{max}}/{{max}} and there is no pending auto-fix message left to update, Kandev pauses auto-fix for this PR so it cannot loop forever. Disable and re-enable auto-fix after manual review to start over.",
|
||||
"autoMerge": "Auto-merge",
|
||||
"autoMergeWhenReady": "Auto-merge when ready",
|
||||
"automaticallyCreateTasksForGithubIssues": "Automatically create tasks for GitHub issues matching your criteria.",
|
||||
"automaticallyCreateTasksForPrsThat": "Automatically create tasks for PRs that need your review.",
|
||||
"automaticallyCreateTasksWhenNewGithub": "Automatically create tasks when new GitHub issues match your criteria.",
|
||||
@@ -33,17 +54,43 @@
|
||||
"availablePlaceholders": "Available placeholders:",
|
||||
"avgTimeToMerge": "Avg Time to Merge",
|
||||
"backToRegisteredApps": "Back to registered Apps",
|
||||
"behindBase": "Behind base",
|
||||
"bestForPersonalOrCompanyInternal": "Best for personal or company-internal automation.",
|
||||
"blocked": "Blocked",
|
||||
"blockedByBranchProtection": "Blocked by branch protection",
|
||||
"blockedGeneric": "Required reviews, code owners, or repository rules still need to clear.",
|
||||
"blockedNeedsApprovals_one": "Needs {{count}} more approval before it can merge.",
|
||||
"blockedNeedsApprovals_other": "Needs {{count}} more approvals before it can merge.",
|
||||
"blockedStatusCheck": "A required status check hasn't passed yet.",
|
||||
"botComments": "Bot comments (",
|
||||
"byAuthor": "by <1></1>",
|
||||
"byAuthorOpenedAgo": "by {{author}} · opened {{time}}",
|
||||
"changeConnection": "Change connection",
|
||||
"changeGithubConnection": "Change GitHub connection",
|
||||
"changesRequested": "Changes requested",
|
||||
"checkBucketFailed": "Failed",
|
||||
"checkBucketInProgress": "In progress",
|
||||
"checkBucketPassed": "Passed",
|
||||
"checkNow": "Check now",
|
||||
"checkingForNewIssues": "Checking for new issues...",
|
||||
"checkingForNewPrs": "Checking for new PRs...",
|
||||
"checkingGithubConnection": "Checking GitHub connection...",
|
||||
"checkingGithubStatus": "Checking GitHub status…",
|
||||
"checksFailed": "Checks failed",
|
||||
"checksFailedCount_one": "{{count}} failed",
|
||||
"checksFailedCount_other": "{{count}} failed",
|
||||
"checksPassed": "Checks passed",
|
||||
"checksPassedCount_one": "{{count}} passed",
|
||||
"checksPassedCount_other": "{{count}} passed",
|
||||
"checksPendingCount_one": "{{count}} pending",
|
||||
"checksPendingCount_other": "{{count}} pending",
|
||||
"checksRunning": "Checks running",
|
||||
"chooseAGithubApp": "Choose a GitHub App",
|
||||
"chooseHowNewlyLaunchedTasksAuthenticate": "Choose how newly launched tasks authenticate to GitHub. This does not change the workspace automation connection above.",
|
||||
"chooseMergeMethod": "Choose merge method",
|
||||
"chooseTheAutomationAndPersonalIdentities": "Choose the automation and personal identities used by this workspace.",
|
||||
"chooseTheExactAccountKandevDoes": "Choose the exact account. Kandev does not silently follow the CLI's active-account change.",
|
||||
"ciChecks": "CI Checks{{summary}}",
|
||||
"ciPassRate": "CI Pass Rate",
|
||||
"cleanUpClosed": "Clean up closed",
|
||||
"cleanUpMerged": "Clean up merged",
|
||||
@@ -59,10 +106,16 @@
|
||||
"cliAccountActiveSuffix": " - active",
|
||||
"clientId": "Client ID",
|
||||
"clientSecret": "Client secret",
|
||||
"closePrStatus": "Close PR status",
|
||||
"closedAgo": "closed {{time}}",
|
||||
"commentCount_one": "{{count}} comment",
|
||||
"commentCount_other": "{{count}} comments",
|
||||
"comments": "Comments",
|
||||
"configureTheExistingAppOnGithub": "Configure the existing App on GitHub",
|
||||
"conflicts": "Conflicts",
|
||||
"connectGithub": "Connect GitHub",
|
||||
"connectIdentity": "Connect identity",
|
||||
"connectYourPersonalGithubIdentityTo": "Connect your personal GitHub identity to see pull requests and issues assigned to you.",
|
||||
"connectionMethod": "Connection method",
|
||||
"continueOnGithub": "Continue on GitHub",
|
||||
"controlsHowNewlyLaunchedTasksAuthenticate": "Controls how newly launched tasks authenticate to GitHub for Git HTTPS and gh commands. Managed workspace credentials use Kandev's workspace connection; executor credentials use the selected executor's Git or SSH setup.",
|
||||
@@ -78,15 +131,23 @@
|
||||
"credentialUsedForRepositorySyncWatches": "Credential used for repository sync, watches, and managed agent git and gh commands. Executor profile tokens take precedence.",
|
||||
"currentGithubApiRateAndQuery": "Current GitHub API rate and query limits for this workspace connection.",
|
||||
"customQuery": "Custom Query",
|
||||
"customQueryPressEnterEG": "Custom query — press Enter. e.g. \"is:open review-requested:@me\"",
|
||||
"defaultQueries": "Default queries",
|
||||
"defaultQueriesAreStillLoading": "Default queries are still loading.",
|
||||
"defaultQueriesSaved": "Default queries saved",
|
||||
"defaultRepository": "Default repository",
|
||||
"delete": "Delete",
|
||||
"deleteSavedQuery": "Delete saved query",
|
||||
"deletedTasks_one": "Deleted {{count}} task",
|
||||
"deletedTasks_other": "Deleted {{count}} tasks",
|
||||
"description": "Description",
|
||||
"disconnect": "Disconnect",
|
||||
"disconnectFailed": "Disconnect failed",
|
||||
"draft": "Draft",
|
||||
"eGBugEnhancementPriorityHigh": "e.g. {{examples}}",
|
||||
"eGNeedsMyReview": "e.g. Needs my review",
|
||||
"editAutoFixPromptForThis": "Edit auto-fix prompt for this task",
|
||||
"editDefaultPrompt": "Edit default prompt",
|
||||
"editDetails": "Edit details",
|
||||
"editIssueWatch": "Edit Issue Watch",
|
||||
"editPrompt": "Edit prompt",
|
||||
@@ -104,26 +165,37 @@
|
||||
"enterTheNumericGithubAppId": "Enter the numeric GitHub App ID.",
|
||||
"enterTheWebhookSecret": "Enter the webhook secret.",
|
||||
"executorProfile": "Executor Profile",
|
||||
"explainAutoFixRounds": "Explain auto-fix rounds",
|
||||
"explainCiAutomationOptions": "Explain CI automation options",
|
||||
"explainFinalPrStateNotifications": "Explain final PR state notifications",
|
||||
"explainHowManagedTaskCredentialsWork": "Explain how managed task credentials work",
|
||||
"explainRepositoryScope": "Explain repository scope",
|
||||
"explainReviewRequestNotifications": "Explain review request notifications",
|
||||
"explainTaskGitAccess": "Explain task Git access",
|
||||
"explainWorkspaceGithubIdentity": "Explain workspace GitHub identity",
|
||||
"failedToApprove": "Failed to approve",
|
||||
"failedToCheckForIssues": "Failed to check for issues",
|
||||
"failedToCheckForPrs": "Failed to check for PRs",
|
||||
"failedToDeleteIssueWatch": "Failed to delete issue watch",
|
||||
"failedToDeleteReviewWatch": "Failed to delete review watch",
|
||||
"failedToLoadGithubWorkspaceSettings": "Failed to load GitHub workspace settings",
|
||||
"failedToMerge": "Failed to merge",
|
||||
"failedToResetIssueWatch": "Failed to reset issue watch",
|
||||
"failedToResetReviewWatch": "Failed to reset review watch",
|
||||
"failedToSaveDefaultQueries": "Failed to save default queries",
|
||||
"failedToSaveGithubWorkspaceSettings": "Failed to save GitHub workspace settings",
|
||||
"failedToSaveQuickActions": "Failed to save quick actions",
|
||||
"failedToUnlinkPullRequest": "Failed to unlink pull request",
|
||||
"filter": "Filter",
|
||||
"filterGithubResultsByRepository": "Filter GitHub results by repository",
|
||||
"filterRepositories": "Filter repositories...",
|
||||
"filters": "Filters",
|
||||
"forWebhooksChooseContentType": "For webhooks, choose <1>{{contentType}}</1> as the content type and keep SSL verification enabled.",
|
||||
"foundNewIssues_one": "Found {{count}} new issue",
|
||||
"foundNewIssues_other": "Found {{count}} new issues",
|
||||
"foundNewPrs_one": "Found {{count}} new PR",
|
||||
"foundNewPrs_other": "Found {{count}} new PRs",
|
||||
"general": "(general)",
|
||||
"generateSetupInstructions": "Generate setup instructions",
|
||||
"githubAccessSettingsSaved": "GitHub access settings saved",
|
||||
"githubApiAccessIsExhaustedFor": "GitHub API access is exhausted for {{resources}}. Background PR and issue checks are paused until the last limit resets {{reset}}.",
|
||||
@@ -138,12 +210,14 @@
|
||||
"githubAppSetupCancelled": "GitHub App setup cancelled",
|
||||
"githubAppSetupCouldNotStart": "GitHub App setup could not start",
|
||||
"githubAppSlug": "GitHub App slug",
|
||||
"githubAuthenticationLost": "GitHub authentication lost.",
|
||||
"githubCli": "GitHub CLI",
|
||||
"githubCliAccount": "GitHub CLI account",
|
||||
"githubDidNotReturnARedirectUrl": "GitHub did not return a redirect URL",
|
||||
"githubDidNotReturnAnInstallationUrl": "GitHub did not return an installation URL",
|
||||
"githubIdentityConnected": "GitHub identity connected",
|
||||
"githubIntegration": "GitHub Integration",
|
||||
"githubIsNotConnectedConfigureWorkspace": "GitHub is not connected. Configure workspace automation with gh CLI or a personal access token.",
|
||||
"githubIsReadyToCreateThe": "GitHub is ready to create the App",
|
||||
"githubMustReachThisHttpsOrigin": "GitHub must reach this HTTPS origin for signed webhooks and callbacks.",
|
||||
"githubOwnerLogin": "GitHub owner login",
|
||||
@@ -170,9 +244,12 @@
|
||||
"inheritExecutorGitCredentials": "Inherit executor Git credentials",
|
||||
"initialStepForNewTasks": "Initial step for new tasks.",
|
||||
"initialStepForNewTasksAuto": "Initial step for new tasks. Auto-start is set on the step.",
|
||||
"insertPrFeedback": "Insert PR feedback",
|
||||
"installAGithubAppAboveTo": "Install a GitHub App above to change the workspace connection. Task access can be saved after the installation finishes.",
|
||||
"installForThisWorkspace": "Install for this workspace",
|
||||
"interval": "Interval",
|
||||
"issue": "Issue #{{number}}",
|
||||
"issue2": "Issue #",
|
||||
"issueCleanupPolicyAlwaysDescription": "Delete on close even if you engaged with the task.",
|
||||
"issueCleanupPolicyAutoDescription": "Delete closed-issue tasks unless you typed a message in them.",
|
||||
"issueWatch": "issue watch",
|
||||
@@ -190,10 +267,13 @@
|
||||
"kandevManagedOperationsUseTheGithub": "Kandev-managed operations use the GitHub App installed for {{actor}}.",
|
||||
"kandevStoresThisTokenForThis": "Kandev stores this token for this workspace. GitHub records actions as the token owner.",
|
||||
"kandevUsesThisWorkspaceConnectionFor": "Kandev uses this workspace connection for repository sync, watches, background jobs, and managed agent GitHub commands. With a PAT or GitHub CLI account, My GitHub and actions you trigger use the same human identity.",
|
||||
"kindIssue": "issue",
|
||||
"kindPullRequest": "pull request",
|
||||
"label": "Label",
|
||||
"labels": "Labels",
|
||||
"labelsCommaSeparated": "Labels (comma-separated)",
|
||||
"lastPolled": "Last Polled",
|
||||
"lastSynced": "Last synced",
|
||||
"legacySharedConnection": "Legacy shared connection",
|
||||
"limitsGithubPullRequestsAndIssues": "Limits GitHub pull requests and issues shown or imported in this workspace.",
|
||||
"loadingAccounts": "Loading accounts...",
|
||||
@@ -204,37 +284,75 @@
|
||||
"managedWorkspaceCredentials": "Managed workspace credentials",
|
||||
"me": "Me",
|
||||
"meMyTeams": "Me & my teams",
|
||||
"mergeConflictsWith": "Merge conflicts with",
|
||||
"mergeMethodDefault": "Merge PR",
|
||||
"mergeMethodMergeCommit": "Create a merge commit",
|
||||
"mergeMethodMergeCommitShort": "Merge commit",
|
||||
"mergeMethodRebase": "Rebase and merge",
|
||||
"mergeMethodRebaseShort": "Rebase",
|
||||
"mergeMethodSquash": "Squash and merge",
|
||||
"mergeMethodSquashShort": "Squash",
|
||||
"merged": "Merged",
|
||||
"mergedAgo": "merged {{time}}",
|
||||
"merging": "Merging...",
|
||||
"missing": "Missing",
|
||||
"mode": "Mode",
|
||||
"myGithubIdentity": "My GitHub identity",
|
||||
"myGithubNowUsesYourVerified": "My GitHub now uses your verified personal identity.",
|
||||
"name": "Name",
|
||||
"nameInKandev": "Name in Kandev",
|
||||
"needsAttention": "Needs attention",
|
||||
"never": "Never",
|
||||
"noAutomationConnection": "No automation connection",
|
||||
"noChecks": "No checks",
|
||||
"noChecksHaveStarted": "No checks have started",
|
||||
"noCommentsYet": "No comments yet",
|
||||
"noGhAccountsFound": "No gh accounts found",
|
||||
"noGithubAppsAreRegisteredYet": "No GitHub Apps are registered yet. Add an existing App or create one below.",
|
||||
"noIssueWatchesConfiguredCreateOne": "No issue watches configured. Create one to start monitoring GitHub issues.",
|
||||
"noIssuesMatchThisFilter": "No issues match this filter.",
|
||||
"noNewIssuesFound": "No new issues found",
|
||||
"noNewPrsFound": "No new PRs found",
|
||||
"noPullRequestLinkedToThis": "No pull request linked to this session.",
|
||||
"noPullRequestsMatchThisFilter": "No pull requests match this filter.",
|
||||
"noReposFoundFor": "No repos found for \"{{org}}\"",
|
||||
"noRepositoriesFound": "No repositories found.",
|
||||
"noReviewWatchesConfiguredCreateOne": "No review watches configured. Create one to start monitoring PRs.",
|
||||
"noReviewsYet": "No reviews yet",
|
||||
"noSavedQueriesYet": "No saved queries yet.",
|
||||
"noStatsAvailableYet": "No stats available yet.",
|
||||
"noTaskCreatedYet": "No task created yet",
|
||||
"noTasksToCleanUp": "No tasks to clean up",
|
||||
"noWorkspaceConfiguredCreateAWorkspace": "No workspace configured. Create a workspace first to start tasks from PRs/issues.",
|
||||
"notMergeable": "Not mergeable",
|
||||
"omitThePlaceholderIfYouWant": "Omit the placeholder if you want the agent to pull or fetch the branch and inspect GitHub itself instead of receiving Kandev's snapshot.",
|
||||
"onlyMatchIssuesWithTheseLabels": "Only match issues with these labels. Leave empty for all issues.",
|
||||
"onlyPrsWhereYouAreExplicitly": "Only PRs where you are explicitly requested as a reviewer (not via team membership)",
|
||||
"onlyTheAppOwner": "Only the App owner",
|
||||
"openDetails": "Open {{title}} details",
|
||||
"openGithubAppSettings": "Open GitHub App settings",
|
||||
"openGithubFilters": "Open GitHub filters",
|
||||
"openOnGithub": "Open {{workflow}} on GitHub",
|
||||
"openSettingsToSeePrsAndIssues": "<0>Open GitHub settings</0> to see your pull requests and issues.",
|
||||
"openedAgo": "opened {{time}}",
|
||||
"optionalFallsBackToStepDefault": "Optional — falls back to step default.",
|
||||
"optionalFallsBackToStepDefault2": "Optional — falls back to step default. The executor environment where the agent will run.",
|
||||
"optionallyConnectYourGithubUserFor": "Optionally connect your GitHub user for My GitHub and human-attributed actions. This identity is never given to managed agents; workspace automation continues as the App.",
|
||||
"or": "or",
|
||||
"organization": "Organization",
|
||||
"organizations": "Organizations",
|
||||
"otherGithubAccounts": "Other GitHub accounts",
|
||||
"overallLabel": "Overall:",
|
||||
"passRate": "Pass rate",
|
||||
"pasteTheAppPrivateKey": "Paste the App private key.",
|
||||
"pause": "Pause",
|
||||
"pauseOrResumePolling": "Pause or resume polling.",
|
||||
"paused": "Paused",
|
||||
"pending": "{{pending}} pending",
|
||||
"pendingReview": "Pending review",
|
||||
"pendingReviewCount_one": "({{count}} pending)",
|
||||
"pendingReviewCount_other": "({{count}} pending)",
|
||||
"pendingReviewS": "{{pending}} pending review(s)",
|
||||
"permissionsAvailableToKandevThroughThis": "Permissions available to Kandev through this workspace's GitHub App installation.",
|
||||
"personalAccessToken": "Personal access token",
|
||||
"personalAccount": "Personal account",
|
||||
@@ -256,7 +374,11 @@
|
||||
"placeholderSourceBranch": "Source branch",
|
||||
"placeholderTargetBranch": "Target branch",
|
||||
"pollIntervalSeconds": "Poll Interval (seconds)",
|
||||
"pr": "PR #",
|
||||
"prAnalytics": "PR Analytics",
|
||||
"prApproved": "PR approved",
|
||||
"prClosedWithoutMerging": "PR closed without merging",
|
||||
"prMerged": "PR merged",
|
||||
"prepareAppOnGithub": "Prepare App on GitHub",
|
||||
"presetIconBug": "Bug",
|
||||
"presetIconCheck": "Check",
|
||||
@@ -266,9 +388,11 @@
|
||||
"presetIconSearch": "Search",
|
||||
"presetIconSparkle": "Sparkle",
|
||||
"presetIconTool": "Tool",
|
||||
"pressEnter": "Press Enter",
|
||||
"private": "private",
|
||||
"privateKeyPem": "Private key ({{extension}})",
|
||||
"promptsShownOnGithubWhenStarting": "Prompts shown on {{route}} when starting a task from a PR or issue.",
|
||||
"prs": "PRs",
|
||||
"prsByDay": "PRs by Day",
|
||||
"prsCreated": "PRs Created",
|
||||
"prsOnDay_one": "{{date}}: {{count}} PR",
|
||||
@@ -277,7 +401,13 @@
|
||||
"prsWhereYouOrAnyOf": "PRs where you or any of your teams are requested as reviewers",
|
||||
"publicKandevUrl": "Public Kandev URL",
|
||||
"pullRequestActivityForThisWorkspace": "Pull request activity for this workspace.",
|
||||
"pullRequestCiStatusReviewsAnd": "Pull request CI status, reviews, and checks summary.",
|
||||
"pullRequestCount_one": "{{count}} pull request",
|
||||
"pullRequestCount_other": "{{count}} pull requests",
|
||||
"pullRequests": "Pull requests",
|
||||
"pullRequestsAndIssuesAcrossYour": "Pull requests and issues across your repos.",
|
||||
"pullRequestsLinkedToTask_one": "{{count}} pull request linked to this task — open one",
|
||||
"pullRequestsLinkedToTask_other": "{{count}} pull requests linked to this task — open one",
|
||||
"query": "Query",
|
||||
"queryExample": "e.g. {{query}}",
|
||||
"quickActions": "Quick actions",
|
||||
@@ -287,21 +417,32 @@
|
||||
"rateLimitUnitPoints": "points",
|
||||
"rateLimitUnitRequests": "requests",
|
||||
"rateLimitUnknown": "unknown",
|
||||
"reRequestReview": "Re-request review",
|
||||
"reRequestReviewFrom": "Re-request review from {{author}}",
|
||||
"reconnectGithub": "Reconnect GitHub",
|
||||
"reconnectIdentity": "Reconnect identity",
|
||||
"refresh": "Refresh",
|
||||
"refreshGithubConnection": "Refresh GitHub connection",
|
||||
"remove": "Remove",
|
||||
"removeFromTask": "Remove {{repo}} #{{prnumber}} from task",
|
||||
"repositories": "Repositories",
|
||||
"repository": "Repository",
|
||||
"repositoryPermissions": "Repository permissions",
|
||||
"repositoryScope": "Repository Scope",
|
||||
"repositoryScopeHelp": "Limits the GitHub pull requests and issues Kandev discovers for this workspace, including My GitHub results and review and issue watches. It does not change GitHub permissions or repository access.",
|
||||
"requesting": "Requesting...",
|
||||
"requiredGithubAppPolicy": "Required GitHub App policy",
|
||||
"resetCompleteDeletedTasks_one": "Reset complete — deleted {{count}} task; next poll will re-import.",
|
||||
"resetCompleteDeletedTasks_other": "Reset complete — deleted {{count}} tasks; next poll will re-import.",
|
||||
"resetCompleteNextPollWillRe": "Reset complete — next poll will re-import matches.",
|
||||
"resetWatch": "Reset watch",
|
||||
"resets": "· resets {{reset}}",
|
||||
"resolveConflicts": "Resolve conflicts",
|
||||
"resolvedFromOneNamedHostAccount": "Resolved from one named host account when needed. Managed tasks receive a scoped brokered identity; host Git is not inherited unless selected below.",
|
||||
"retry": "Retry",
|
||||
"reviewCount_one": "{{count}} review",
|
||||
"reviewCount_other": "{{count}} reviews",
|
||||
"reviewFollowUp": "Review follow-up",
|
||||
"reviewPermissions": "Review permissions",
|
||||
"reviewWatch": "review watch",
|
||||
"reviewWatchCreated": "Review watch created",
|
||||
@@ -310,7 +451,14 @@
|
||||
"reviewWatchPromptHelp": "The prompt sent to the agent for each new PR. Type {{token}} to insert placeholders, or {{mention}} to reference a saved prompt by name — it expands the same way it does in workflow step prompts, since this prompt becomes the task description passed through that same assembly.",
|
||||
"reviewWatchUpdated": "Review watch updated",
|
||||
"reviewWatches": "Review Watches",
|
||||
"reviews": "Reviews{{summary}}",
|
||||
"saveChanges": "Save changes",
|
||||
"saveCurrentQuery": "Save current query",
|
||||
"savePresetDescription": "Save this {{kind}} query to the sidebar for quick access later.",
|
||||
"savePrompt": "Save prompt",
|
||||
"saveQuery": "Save query",
|
||||
"saved": "Saved",
|
||||
"savedQueryFallback": "Saved query",
|
||||
"saving": "Saving...",
|
||||
"savingChanges": "Saving changes…",
|
||||
"searchLimit": "Search limit",
|
||||
@@ -321,22 +469,31 @@
|
||||
"selectedRepositories": "Selected repositories",
|
||||
"setTheseExactUrlsCreateAClientSecret": "Set these exact URLs, create a client secret and webhook secret, and download a private key. This one-time setup expires {{expiresAt}}.",
|
||||
"showGithubApiLimits": "Show GitHub API limits",
|
||||
"showLess": "Show less",
|
||||
"showMore": "Show more",
|
||||
"showToken": "Show token",
|
||||
"sidebarQueriesShownOnGithubFor": "Sidebar queries shown on {{route}} for pull requests and issues.",
|
||||
"signInWithGhAuthLogin": "Sign in with <1>{{command}}</1>, then reopen this dialog.",
|
||||
"someSettingsWereSavedButAnother": "Some settings were saved, but another change failed: {{detail}}",
|
||||
"startOver": "Start over",
|
||||
"stepLabelled": "Step: {{stepTitle}}",
|
||||
"storedAppCredentialsMintShortLived": "Stored App credentials mint short-lived installation tokens. Managed tasks receive a scoped brokered App identity for allowed repositories.",
|
||||
"storedEncryptedByKandevWorkspaceAutomation": "Stored encrypted by Kandev. Workspace automation and managed task GitHub HTTPS/gh act as your account.",
|
||||
"subscribedEvents": "Subscribed events",
|
||||
"task": "Task",
|
||||
"taskAccess": "Task access:",
|
||||
"taskAccessUnavailable": "Task access unavailable",
|
||||
"taskAutoFixPrompt": "Task auto-fix prompt",
|
||||
"taskGitAccess": "Task Git access",
|
||||
"taskLabelled": "Task: {{title}}",
|
||||
"taskPrompt": "Task Prompt",
|
||||
"tasks": "Tasks",
|
||||
"tasksCreatedByThisWatcherLand": "Tasks created by this watcher land in the selected workspace.",
|
||||
"theAppIsReadyToSelect": "The App is ready to select and install for this workspace.",
|
||||
"theExistingWorkspaceConnectionWasNot": "The existing workspace connection was not changed.",
|
||||
"theGithubResponseCouldNotBe": "The GitHub response could not be verified. Review the connection and try again.",
|
||||
"thePlaceholderInsertsTheCurrentPr": "The placeholder inserts the current PR identifier, new or changed failing checks with GitHub job links, and new or changed review comments with file, line, and body text.",
|
||||
"thePullRequestIsStillLinked": "The pull request is still linked.",
|
||||
"theRepositoryWillBeAutomaticallyCloned": "The repository will be automatically cloned to {{path}} if it is not already present in the workspace.",
|
||||
"theSettingsCouldNotBeSaved": "The settings could not be saved",
|
||||
"theStoredAppCredentialsAreUnavailable": "The stored App credentials are unavailable.",
|
||||
@@ -345,17 +502,33 @@
|
||||
"thisAccountAlsoPowersMyGithub": "This account also powers My GitHub and user-triggered actions.",
|
||||
"thisAppRegistrationIsShared_one": "This App registration is shared by {{count}} workspace. Registration changes affect every workspace using it; installation access remains workspace-specific.",
|
||||
"thisAppRegistrationIsShared_other": "This App registration is shared by {{count}} workspaces. Registration changes affect every workspace using it; installation access remains workspace-specific.",
|
||||
"thisBranchCanTBeMerged": "This branch can't be merged automatically. Resolve the conflicts before merging.",
|
||||
"thisRepositoryOpensByDefaultYou": "This repository opens by default. You can change the filter after opening the query.",
|
||||
"thisWorkspaceUsesOneCredentialFor": "This workspace uses one credential for repository sync, watches, background jobs, and managed agent GitHub access. Executor profile credentials can still take precedence.",
|
||||
"titleIssues": "Issues",
|
||||
"titlePullRequests": "Pull requests",
|
||||
"toggleReviewFollowUpAutomation": "Toggle review follow-up automation",
|
||||
"typeACustomQueryFirst": "Type a custom query first",
|
||||
"typeOwnerRepoToSearch": "Type {{format}} to search",
|
||||
"unableToLoadTheCurrentTask": "Unable to load the current task access setting.",
|
||||
"unexpectedResponseFromTheServer": "Unexpected response from the server",
|
||||
"unresolvedComments_one": "{{count}} unresolved comment",
|
||||
"unresolvedComments_other": "{{count}} unresolved comments",
|
||||
"untitledPr": "Untitled PR",
|
||||
"update": "Update",
|
||||
"updated": "Updated ",
|
||||
"updatedAgo": "updated {{elapsed}} ago",
|
||||
"updatedJustNow": "updated just now",
|
||||
"useAnAppWhenAutomationNeeds": "Use an App when automation needs its own identity, short-lived tokens, and repository-level installation control. Setup is more involved and requires a publicly reachable HTTPS URL.",
|
||||
"useCommaSeparatedOwnerRepoValues": "Use comma-separated owner/repo values.",
|
||||
"useDefault": "Use default",
|
||||
"usedByWorkspaces_one": "Used by {{count}} workspace. Editing or deleting it affects all of them.",
|
||||
"usedByWorkspaces_other": "Used by {{count}} workspaces. Editing or deleting it affects all of them.",
|
||||
"verifyAndImportApp": "Verify and import App",
|
||||
"viewPermissions": "View permissions",
|
||||
"viewPullRequestOnGithub": "View pull request on GitHub",
|
||||
"waitingOnBranchProtection": "Waiting on branch protection",
|
||||
"watchesThisTaskSLinkedPull": "Watches this task's linked pull request during the 1 minute PR refresh loop. Auto-fix queues task prompts for newly observed feedback, auto-merge waits for the PR to be ready, and the notification switches wake the task's agent when the workspace's connected GitHub account is requested for review or the PR reaches a terminal state. Review requests silently baseline the account's current request state before notifying on a later request.",
|
||||
"webhook": "Webhook",
|
||||
"webhookSecret": "Webhook secret",
|
||||
"whichAllowedGithubRepositoriesToMonitor": "Which allowed GitHub repositories to monitor for this watch.",
|
||||
@@ -367,5 +540,6 @@
|
||||
"workspaceAutomationNowUsesTheVerified": "Workspace automation now uses the verified App installation.",
|
||||
"workspaceGithubAccess": "Workspace GitHub access",
|
||||
"workspaceGithubConnectionRemoved": "Workspace GitHub connection removed",
|
||||
"workspaceGithubIdentity": "Workspace GitHub identity"
|
||||
"workspaceGithubIdentity": "Workspace GitHub identity",
|
||||
"yourReviewIsRequested": "Your review is requested"
|
||||
}
|
||||
|
||||
@@ -1,35 +1,71 @@
|
||||
{
|
||||
"actionApprove": "Approve",
|
||||
"actionAssignees": "Assignees",
|
||||
"actionFailed": "{{action}} failed",
|
||||
"actionHint": "Action hint {{index}}",
|
||||
"actionLabel": "Action label {{index}}",
|
||||
"actionLabels": "Labels",
|
||||
"actionMerge": "Merge",
|
||||
"actionPrompt": "Action prompt {{index}}",
|
||||
"actionReply": "Reply",
|
||||
"actionResolve": "Resolve",
|
||||
"actionReviewers": "Reviewers",
|
||||
"actionUnapprove": "Unapprove",
|
||||
"actionUnlink": "Unlink",
|
||||
"actions": "Actions",
|
||||
"active": "Active",
|
||||
"addAllDiscussionsToTaskContext": "Add all discussions to task context",
|
||||
"addDiscussionToTaskContext": "Add discussion to task context",
|
||||
"addIssueAction": "Add issue action",
|
||||
"addMrAction": "Add MR action",
|
||||
"agentProfile": "Agent profile",
|
||||
"allProjects": "All projects",
|
||||
"alwaysDelete": "Always delete",
|
||||
"apply": "Apply",
|
||||
"approvalRemoved": "Approval removed",
|
||||
"approvals": "Approvals",
|
||||
"approve": "Approve",
|
||||
"approvedCount_one": "{{count}} approved",
|
||||
"approvedCount_other": "{{count}} approved",
|
||||
"assignees": "Assignees",
|
||||
"assigneesUpdated": "Assignees updated",
|
||||
"authenticationMethod": "Authentication method",
|
||||
"auto": "Auto",
|
||||
"autoKeepEngagedTasks": "Auto; keep engaged tasks",
|
||||
"between60And3600Seconds": "Between 60 and 3600 seconds.",
|
||||
"bugBackend": "bug, backend",
|
||||
"byAuthorOpenedAgo": "by {{author}} · opened {{time}}",
|
||||
"checkNow": "Check now",
|
||||
"checkingGitlabStatus": "Checking GitLab status…",
|
||||
"chooseAWorkspacePatTheLocal": "Choose a workspace PAT, the local glab CLI login, or an environment-provided token. CLI and environment credentials must already be available to the kandev backend.",
|
||||
"chooseWhetherToIncludeOnlyDirect": "Choose whether to include only direct reviewer requests or the broader compatible scope.",
|
||||
"cleanupPolicy": "Cleanup policy",
|
||||
"clearToken": "Clear token",
|
||||
"commits": "Commits",
|
||||
"conflicts": "Conflicts",
|
||||
"connectAGitlabAccountSoKandev": "Connect a GitLab account so kandev can open merge requests, read review discussions, and reply to / resolve them on your behalf.",
|
||||
"connected": "Connected",
|
||||
"controlsTaskDeletionWhenTheGitlab": "Controls task deletion when the GitLab item closes.",
|
||||
"couldNotReachHost": "Couldn't reach <1>{{host}}</1>: {{error}}",
|
||||
"createIssueWatch": "Create GitLab issue watch",
|
||||
"createReviewWatch": "Create GitLab review watch",
|
||||
"createTask": "Create task",
|
||||
"createWatch": "Create watch",
|
||||
"created": "Created",
|
||||
"customQueryPressEnterEG": "Custom query — press Enter. e.g. \"labels=bug&state=opened\"",
|
||||
"deleteSavedQuery": "Delete saved query",
|
||||
"deleteSavedQuery2": "Delete saved query {{label}}",
|
||||
"deleteWatch": "Delete watch",
|
||||
"deleteWatchTitle": "Delete {{label}}?",
|
||||
"deleting": "Deleting...",
|
||||
"description": "Description",
|
||||
"directAndGroupCompatibleRequests": "Direct and group-compatible requests",
|
||||
"directRequests": "Direct requests",
|
||||
"discussionReply": "Discussion reply",
|
||||
"discussionResolved": "Discussion resolved",
|
||||
"discussions": "Discussions",
|
||||
"draft": "Draft",
|
||||
"eGNeedsMyReview": "e.g. Needs my review",
|
||||
"editIssueWatch": "Edit GitLab issue watch",
|
||||
"editReviewWatch": "Edit GitLab review watch",
|
||||
"editWatch": "Edit watch",
|
||||
@@ -41,85 +77,154 @@
|
||||
"everyQuickActionNeedsALabel": "Every quick action needs a label and prompt.",
|
||||
"executorProfile": "Executor profile",
|
||||
"failedToClearToken": "Failed to clear token",
|
||||
"failedToLinkMergeRequest": "Failed to link merge request",
|
||||
"failedToResetQuickActions": "Failed to reset quick actions",
|
||||
"failedToSaveQuickActions": "Failed to save quick actions",
|
||||
"failedToUnlinkMergeRequest": "Failed to unlink merge request",
|
||||
"failedToUpdateAuthenticationMethod": "Failed to update authentication method",
|
||||
"files": "Files",
|
||||
"filters": "Filters",
|
||||
"foundMatchingIssues_one": "Found {{count}} matching issue",
|
||||
"foundMatchingIssues_other": "Found {{count}} matching issues",
|
||||
"foundMatchingMergeRequests_one": "Found {{count}} matching merge request",
|
||||
"foundMatchingMergeRequests_other": "Found {{count}} matching merge requests",
|
||||
"gitlabAuthenticationMethodUpdated": "GitLab authentication method updated",
|
||||
"gitlabCredentialsAreConfiguredButAuthentication": "GitLab credentials are configured, but authentication failed. Reconnect in ",
|
||||
"gitlabHostUrlOverrideForSelf": "GitLab host URL. Override for self-managed instances; leave at the default for {{host}}.",
|
||||
"gitlabIsNotConnectedConfigureGitlab": "GitLab is not connected. Configure GitLab authentication in ",
|
||||
"gitlabIssueWatch": "GitLab issue watch",
|
||||
"gitlabMergeRequest": "GitLab merge request !{{mriid}}",
|
||||
"gitlabMergeRequests": "{{length}} GitLab merge requests",
|
||||
"gitlabQueryParameters": "GitLab query parameters",
|
||||
"gitlabQuickActionsReset": "GitLab quick actions reset",
|
||||
"gitlabQuickActionsSaved": "GitLab quick actions saved",
|
||||
"gitlabRejectedAction": "GitLab rejected the action.",
|
||||
"gitlabRejectedTheAction": "GitLab rejected the action.",
|
||||
"gitlabRejectedTheMergeRequestLink": "GitLab rejected the merge request link.",
|
||||
"gitlabRejectedTheRequest": "GitLab rejected the request.",
|
||||
"gitlabReviewWatch": "GitLab review watch",
|
||||
"gitlabTokenCleared": "GitLab token cleared",
|
||||
"gitlabWatchCouldNotBeSaved": "GitLab watch could not be saved",
|
||||
"gitlabWillMergeDescription": "GitLab will merge {{mr}} into {{baseBranch}} using the project default.",
|
||||
"glabCli": "glab CLI",
|
||||
"hideToken": "Hide token",
|
||||
"inbox": "Inbox",
|
||||
"initialStepForEachNewTask": "Initial step for each new task.",
|
||||
"interval": "Interval",
|
||||
"intervalMinutes_one": "{{count}}m",
|
||||
"intervalMinutes_other": "{{count}}m",
|
||||
"intervalMinutesLabel_one": "{{count}}m interval",
|
||||
"intervalMinutesLabel_other": "{{count}}m interval",
|
||||
"issues": "Issues",
|
||||
"intervalMinutes_one": "{{count}}m",
|
||||
"intervalMinutes_other": "{{count}}m",
|
||||
"into": "into",
|
||||
"issueWatchCheckFailed": "Issue watch check failed",
|
||||
"issueWatchCreated": "Issue watch created",
|
||||
"issueWatchCreationFailed": "Issue watch creation failed",
|
||||
"issueWatchDeleted": "Issue watch deleted",
|
||||
"issueWatchDeletionFailed": "Issue watch deletion failed",
|
||||
"issueWatchDialogDescription": "Automatically create workspace tasks for newly matching GitLab issues.",
|
||||
"issueWatches": "Issue watches",
|
||||
"issueWatchResetFailed": "Issue watch reset failed",
|
||||
"issueWatchReset_one": "Issue watch reset; {{count}} task deleted",
|
||||
"issueWatchReset_other": "Issue watch reset; {{count}} tasks deleted",
|
||||
"issueWatchResetFailed": "Issue watch reset failed",
|
||||
"issueWatchUpdated": "Issue watch updated",
|
||||
"issueWatchUpdateFailed": "Issue watch update failed",
|
||||
"issueWatchUpdated": "Issue watch updated",
|
||||
"issueWatches": "Issue watches",
|
||||
"issues": "Issues",
|
||||
"kindIssue": "issue",
|
||||
"kindMergeRequest": "merge request",
|
||||
"label": "Label",
|
||||
"labels": "Labels",
|
||||
"labelsUpdated": "Labels updated",
|
||||
"lastChecked": "Last checked",
|
||||
"lastCheckedAt": "Last checked {{value}}",
|
||||
"leaveEmptyToMatchMergeRequests": "Leave empty to match merge requests requesting your review. Adding parameters explicitly replaces that reviewer constraint.",
|
||||
"linkAnotherMergeRequest": "Link another merge request",
|
||||
"linkGitlabMergeRequest": "Link GitLab merge request",
|
||||
"linkMergeRequest": "Link merge request",
|
||||
"linkedMergeRequest": "Linked merge request",
|
||||
"linking": "Linking…",
|
||||
"loadingMergeRequest": "Loading merge request",
|
||||
"loggedInAs": "Logged in as <1>{{username}}</1>",
|
||||
"match": "Match",
|
||||
"maximumInFlightTasks": "Maximum in-flight tasks",
|
||||
"merge": "Merge",
|
||||
"mergeRequest": "Merge request !{{mriid}}",
|
||||
"mergeRequestApproved": "Merge request approved",
|
||||
"mergeRequestLabels": "Merge request labels",
|
||||
"mergeRequestMerged": "Merge request merged",
|
||||
"mergeRequestReviewWatches": "Merge request review watches",
|
||||
"mergeRequestUnlinked": "Merge request unlinked",
|
||||
"mergeRequestUrl": "Merge request URL",
|
||||
"mergeRequests": "Merge requests",
|
||||
"mergeRequestsAndIssues": "{{host}} · merge requests and issues",
|
||||
"mergeThisMergeRequest": "Merge this merge request?",
|
||||
"mergeability": "Mergeability",
|
||||
"mockTest": "Mock (test)",
|
||||
"mrs": "MRs",
|
||||
"name": "Name",
|
||||
"never": "Never",
|
||||
"neverDelete": "Never delete",
|
||||
"newWatch": "New watch",
|
||||
"noChangedFiles": "No changed files",
|
||||
"noCommits": "No commits",
|
||||
"noDiscussionsYet": "No discussions yet",
|
||||
"noIssuesMatchThisFilter": "No issues match this filter.",
|
||||
"noLimit": "No limit",
|
||||
"noMergeRequestLinked": "No merge request linked to this session.",
|
||||
"noMergeRequestsMatchThisFilter": "No merge requests match this filter.",
|
||||
"noNewIssuesMatched": "No new issues matched",
|
||||
"noNewMergeRequestsMatched": "No new merge requests matched",
|
||||
"noPipeline": "No pipeline",
|
||||
"noSavedQueriesYet": "No saved queries yet.",
|
||||
"noTaskCreatedYet": "No task created yet",
|
||||
"noWatchesConfigured": "No watches configured.",
|
||||
"noneAssigned": "None assigned",
|
||||
"notConfigured": "Not configured",
|
||||
"notConnected": "Not connected",
|
||||
"noWatchesConfigured": "No watches configured.",
|
||||
"notificationStatusUnavailable": "Notification status unavailable",
|
||||
"notificationUpdateFailed": "Notification update failed",
|
||||
"openGitlabFilters": "Open GitLab filters",
|
||||
"openInGitlab": "Open in GitLab",
|
||||
"openMergeRequestInGitlab": "Open merge request in GitLab",
|
||||
"openSettingsToSeeMrsAndIssues": "<0>Settings → GitLab</0> to see your merge requests and issues.",
|
||||
"optionalCapPollingResumesWhenActive": "Optional cap; polling resumes when active tasks fall below it.",
|
||||
"optionalCommaSeparatedGitlabLabelsThat": "Optional comma-separated GitLab labels that matching issues must include.",
|
||||
"optionalCommaSeparatedNamespaceProjectPaths": "Optional comma-separated namespace/project paths. Empty watches every accessible project.",
|
||||
"optionalGitlabApiQueryParametersSuch": "Optional GitLab API query parameters, such as {{example}}.",
|
||||
"optionalOtherwiseUsesTheWorkflowStep": "Optional; otherwise uses the workflow step default.",
|
||||
"paused": "Paused",
|
||||
"pasteAMergeRequestUrlFrom": "Paste a merge request URL from this workspace's configured GitLab host.",
|
||||
"pauseWatch": "Pause watch",
|
||||
"paused": "Paused",
|
||||
"personalAccessToken": "Personal access token",
|
||||
"pipeline": "Pipeline",
|
||||
"pollGitlabForMergeRequestsAwaiting": "Poll GitLab for merge requests awaiting review and create one task per new match.",
|
||||
"pollGitlabIssuesAndCreateOne": "Poll GitLab issues and create one task per new match.",
|
||||
"pollingAndCleanup": "Polling and cleanup",
|
||||
"pollIntervalSeconds": "Poll interval (seconds)",
|
||||
"pollingAndCleanup": "Polling and cleanup",
|
||||
"pressEnter": "Press Enter",
|
||||
"project": "Project",
|
||||
"projectPaths": "Project paths",
|
||||
"projects": "Projects",
|
||||
"promptSentToTheSelectedAgent": "Prompt sent to the selected agent profile for each new match.",
|
||||
"promptUsingUrlAndTitle": "Prompt using {{url}} and {{title}}",
|
||||
"query": "Query",
|
||||
"quickActions": "Quick actions",
|
||||
"reconnectRequired": "Reconnect required",
|
||||
"refresh": "Refresh",
|
||||
"refreshFailed": "Refresh failed: {{error}}",
|
||||
"refreshFailedShowingCached": "GitLab refresh failed: {{error}}. Showing the last successfully loaded review data.",
|
||||
"refreshMergeRequest": "Refresh merge request",
|
||||
"remove": "Remove {{label}}",
|
||||
"removeFromAssignees": "Remove {{username}} from assignees",
|
||||
"removeFromReviewers": "Remove {{username}} from reviewers",
|
||||
"reply": "Reply",
|
||||
"replyAdded": "Reply added",
|
||||
"replyToThisDiscussion": "Reply to this discussion",
|
||||
"resetQuickActionsToDefaults": "Reset quick actions to defaults",
|
||||
"resetWatch": "Reset watch",
|
||||
"resolve": "Resolve",
|
||||
"resolved": "Resolved",
|
||||
"retry": "Retry",
|
||||
"review": "Review",
|
||||
"reviewScope": "Review scope",
|
||||
"reviewWatchCheckFailed": "Review watch check failed",
|
||||
"reviewWatchCreated": "Review watch created",
|
||||
@@ -127,22 +232,50 @@
|
||||
"reviewWatchDeleted": "Review watch deleted",
|
||||
"reviewWatchDeletionFailed": "Review watch deletion failed",
|
||||
"reviewWatchDialogDescription": "Automatically create workspace tasks for newly matching GitLab merge requests.",
|
||||
"reviewWatchResetFailed": "Review watch reset failed",
|
||||
"reviewWatchReset_one": "Review watch reset; {{count}} task deleted",
|
||||
"reviewWatchReset_other": "Review watch reset; {{count}} tasks deleted",
|
||||
"reviewWatchResetFailed": "Review watch reset failed",
|
||||
"reviewWatchUpdated": "Review watch updated",
|
||||
"reviewWatchUpdateFailed": "Review watch update failed",
|
||||
"reviewWatchUpdated": "Review watch updated",
|
||||
"reviewers": "Reviewers",
|
||||
"reviewersUpdated": "Reviewers updated",
|
||||
"saveChangesBeforeCheckingNow": "Save changes before checking now",
|
||||
"saveCurrentQuery": "Save current query",
|
||||
"saveGitlabQuery": "Save GitLab query",
|
||||
"savePresetDescription": "Save this {{kind}} query to the sidebar for quick access later.",
|
||||
"saved": "Saved",
|
||||
"savedQueryFallback": "Saved query",
|
||||
"saving": "Saving...",
|
||||
"searchAssignees": "Search assignees",
|
||||
"searchProjectMembers": "Search project members",
|
||||
"searchReviewers": "Search reviewers",
|
||||
"selectWorkflow": "Select workflow",
|
||||
"shortHint": "Short hint",
|
||||
"showToken": "Show token",
|
||||
"subscribe": "Subscribe",
|
||||
"subscribeToNotifications": "Subscribe to GitLab notifications",
|
||||
"subscribedToGitlabNotifications": "Subscribed to GitLab notifications",
|
||||
"task": "Task",
|
||||
"taskAutomation": "Task automation",
|
||||
"taskPrompt": "Task prompt",
|
||||
"taskPromptsShownOnTheGitlab": "Task prompts shown on the GitLab browse page for merge requests and issues.",
|
||||
"taskRepository": "Task repository",
|
||||
"theMergeRequestIsStillLinked": "The merge request is still linked.",
|
||||
"thisMergeRequestBelongsToA": "This merge request belongs to a different GitLab host than the active workspace connection.",
|
||||
"thisWillDeleteEveryTaskCreated": "This will delete every task created by this watch, including archived tasks, and remove its polling history. This cannot be undone.",
|
||||
"titleIssues": "Issues",
|
||||
"titleMergeRequests": "Merge requests",
|
||||
"typeACustomQueryFirst": "Type a custom query first",
|
||||
"unapprove": "Unapprove",
|
||||
"unlink": "Unlink !",
|
||||
"unlinkMergeRequest": "Unlink merge request",
|
||||
"unreachable": "Unreachable",
|
||||
"unsubscribe": "Unsubscribe",
|
||||
"unsubscribeFromNotifications": "Unsubscribe from GitLab notifications",
|
||||
"unsubscribedFromGitlabNotifications": "Unsubscribed from GitLab notifications",
|
||||
"updateWatch": "Update watch",
|
||||
"updated": "Updated ",
|
||||
"verifyingGitlabConnection": "Verifying GitLab connection",
|
||||
"watchDeletionFailed": "Watch deletion failed",
|
||||
"workflow": "Workflow",
|
||||
"workflowStep": "Workflow step",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"deleteSavedQuery": "Delete saved query",
|
||||
"noSavedQueriesYet": "No saved queries yet",
|
||||
"saveCurrentQuery": "Save current query",
|
||||
"savedQueries": "Saved"
|
||||
}
|
||||
@@ -4,26 +4,47 @@
|
||||
"actionPromptPlaceholderHelp": "Ţŷƥē {{token}} ţō śēē àvàĩĺàƀĺē ƥĺàćēĥōĺďēŕś. <4>{{url}}</4> àńď <7>{{title}}</7> àŕē śũƀśţĩţũţēď ŵĥēń ţĥē àćţĩōń ŕũńś.",
|
||||
"actions": "Àćţĩōńś",
|
||||
"active": "Àćţĩvē",
|
||||
"addAll": "Àďď àĺĺ",
|
||||
"addAllCommentsToChatContext": "Àďď àĺĺ ćōḿḿēńţś ţō ćĥàţ ćōńţēxţ",
|
||||
"addAllFailedChecksToChat": "Àďď àĺĺ ƒàĩĺēď ćĥēćķś ţō ćĥàţ ćōńţēxţ",
|
||||
"addAllReviewsToChatContext": "Àďď àĺĺ ŕēvĩēŵś ţō ćĥàţ ćōńţēxţ",
|
||||
"addAllToChatContext": "Àďď àĺĺ ţō ćĥàţ ćōńţēxţ",
|
||||
"addAnExistingGithubApp": "Àďď àń ēxĩśţĩńĝ ĜĩţĤũƀ Àƥƥ",
|
||||
"addExistingApp": "Àďď ēxĩśţĩńĝ Àƥƥ",
|
||||
"addFailuresToChatContext": "Àďď {{workflow}} ƒàĩĺũŕēś ţō ćĥàţ ćōńţēxţ",
|
||||
"addIssueAction": "Àďď ĩśśũē àćţĩōń",
|
||||
"addIssueQuery": "Àďď ĩśśũē qũēŕŷ",
|
||||
"addPrAction": "Àďď ƤŔ àćţĩōń",
|
||||
"addPrQuery": "Àďď ƤŔ qũēŕŷ",
|
||||
"addRepository": "Àďď ŕēƥōśĩţōŕŷ",
|
||||
"addToChatContext": "Àďď ţō ćĥàţ ćōńţēxţ",
|
||||
"addWatch": "Àďď Ŵàţćĥ",
|
||||
"addWholeThreadToChatContext": "Àďď ŵĥōĺē ţĥŕēàď ţō ćĥàţ ćōńţēxţ",
|
||||
"addedToChatContext": "Àďďēď ţō ćĥàţ ćōńţēxţ",
|
||||
"agentProfile": "Àĝēńţ Ƥŕōƒĩĺē",
|
||||
"allRepos": "Àĺĺ ŕēƥōś",
|
||||
"allRepositories": "Àĺĺ ŕēƥōśĩţōŕĩēś",
|
||||
"allRepositoriesAllowedByThisWorkspace": "Àĺĺ ŕēƥōśĩţōŕĩēś àĺĺōŵēď ƀŷ ţĥĩś ŵōŕķśƥàćē",
|
||||
"allowsInstallationElsewhereItDoesNot": "Àĺĺōŵś ĩńśţàĺĺàţĩōń ēĺśēŵĥēŕē. Ĩţ ďōēś ńōţ ƥũƀĺĩśĥ ţō Ḿàŕķēţƥĺàćē ōŕ ĝŕàńţ ŕēƥōś.",
|
||||
"anErrorOccurred": "Àń ēŕŕōŕ ōććũŕŕēď",
|
||||
"anExecutorProfileGhTokenOr": "Àń ēxēćũţōŕ-ƥŕōƒĩĺē {{ghToken}} ōŕ {{githubToken}} ōvēŕŕĩďēś ḿàńàĝēď ŵōŕķśƥàćē ćŕēďēńţĩàĺś ƒōŕ ţĥàţ ţàśķ.",
|
||||
"anImportedAppMustHaveAt": "Àń ĩḿƥōŕţēď Àƥƥ ḿũśţ ĥàvē àţ ĺēàśţ ţĥēśē ŕēƥōśĩţōŕŷ ƥēŕḿĩśśĩōńś àńď śũƀśćŕĩƀēď ēvēńţś.",
|
||||
"apiRateLimit": "ÀƤĨ ŕàţē ĺĩḿĩţ",
|
||||
"appId": "Àƥƥ ĨĎ",
|
||||
"appInstallationFailed": "Àƥƥ ĩńśţàĺĺàţĩōń ƒàĩĺēď",
|
||||
"approvalRate": "Àƥƥŕōvàĺ Ŕàţē",
|
||||
"approveAs": "Àƥƥŕōvē àś {{mutationActor}}",
|
||||
"approved": "Àƥƥŕōvēď",
|
||||
"approving": "Àƥƥŕōvĩńĝ...",
|
||||
"authenticationUnavailable": "Àũţĥēńţĩćàţĩōń ũńàvàĩĺàƀĺē",
|
||||
"auto": "Àũţō",
|
||||
"autoFix": "Àũţō-ƒĩx",
|
||||
"autoFixCiAndAddressComments": "Àũţō-ƒĩx ĆĨ àńď àďďŕēśś ćōḿḿēńţś",
|
||||
"autoFixPrompt": "Àũţō-ƒĩx ƥŕōḿƥţ",
|
||||
"autoFixPromptDescription": "Ţĥĩś ƥŕōḿƥţ ĩś ũśēď ōńĺŷ ƒōŕ ţĥĩś ţàśķ. Ĺēàvē ĩţ ƀĺàńķ ţō ũśē ţĥē ďēƒàũĺţ ƥŕōḿƥţ. Àďď <0>{{placeholder}}</0> ŵĥēń ŷōũ ŵàńţ Ķàńďēv ţō ĩńćĺũďē ĩţś ƤŔ ƒēēďƀàćķ śńàƥśĥōţ.",
|
||||
"autoFixRoundExplanation": "Àũţō-ƒĩx ĥàś ũśēď {{current}} ōƒ {{max}} ŕōũńďś ƒōŕ ţĥĩś ƤŔ. À ŕōũńď ĩś ćōũńţēď ŵĥēń Ķàńďēv śēńďś ōŕ qũēũēś à ĆĨ àũţō-ƒĩx ḿēśśàĝē. Ķàńďēv ŵàĩţś ƒōŕ àĺĺ ƤŔ ćĥēćķś ţō ƒĩńĩśĥ ƀēƒōŕē śţàŕţĩńĝ à ńēŵ ĆĨ àũţō-ƒĩx ţũŕń, śō ţĥē àĝēńţ ĝēţś ţĥē ƒĩńàĺ ƒàĩĺēď ćĥēćķś àńď ćũŕŕēńţ ćōḿḿēńţś ţōĝēţĥēŕ. Ũƥďàţĩńĝ àń àĺŕēàďŷ qũēũēď àũţō-ƒĩx ḿēśśàĝē ďōēś ńōţ ũśē àńōţĥēŕ ŕōũńď. Ŵĥēń ţĥĩś ĩś àţ {{max}}/{{max}} àńď ţĥēŕē ĩś ńō ƥēńďĩńĝ àũţō-ƒĩx ḿēśśàĝē ĺēƒţ ţō ũƥďàţē, Ķàńďēv ƥàũśēś àũţō-ƒĩx ƒōŕ ţĥĩś ƤŔ śō ĩţ ćàńńōţ ĺōōƥ ƒōŕēvēŕ. Ďĩśàƀĺē àńď ŕē-ēńàƀĺē àũţō-ƒĩx àƒţēŕ ḿàńũàĺ ŕēvĩēŵ ţō śţàŕţ ōvēŕ.",
|
||||
"autoMerge": "Àũţō-ḿēŕĝē",
|
||||
"autoMergeWhenReady": "Àũţō-ḿēŕĝē ŵĥēń ŕēàďŷ",
|
||||
"automaticallyCreateTasksForGithubIssues": "Àũţōḿàţĩćàĺĺŷ ćŕēàţē ţàśķś ƒōŕ ĜĩţĤũƀ ĩśśũēś ḿàţćĥĩńĝ ŷōũŕ ćŕĩţēŕĩà.",
|
||||
"automaticallyCreateTasksForPrsThat": "Àũţōḿàţĩćàĺĺŷ ćŕēàţē ţàśķś ƒōŕ ƤŔś ţĥàţ ńēēď ŷōũŕ ŕēvĩēŵ.",
|
||||
"automaticallyCreateTasksWhenNewGithub": "Àũţōḿàţĩćàĺĺŷ ćŕēàţē ţàśķś ŵĥēń ńēŵ ĜĩţĤũƀ ĩśśũēś ḿàţćĥ ŷōũŕ ćŕĩţēŕĩà.",
|
||||
@@ -33,17 +54,43 @@
|
||||
"availablePlaceholders": "Àvàĩĺàƀĺē ƥĺàćēĥōĺďēŕś:",
|
||||
"avgTimeToMerge": "Àvĝ Ţĩḿē ţō Ḿēŕĝē",
|
||||
"backToRegisteredApps": "Ɓàćķ ţō ŕēĝĩśţēŕēď Àƥƥś",
|
||||
"behindBase": "Ɓēĥĩńď ƀàśē",
|
||||
"bestForPersonalOrCompanyInternal": "Ɓēśţ ƒōŕ ƥēŕśōńàĺ ōŕ ćōḿƥàńŷ-ĩńţēŕńàĺ àũţōḿàţĩōń.",
|
||||
"blocked": "Ɓĺōćķēď",
|
||||
"blockedByBranchProtection": "Ɓĺōćķēď ƀŷ ƀŕàńćĥ ƥŕōţēćţĩōń",
|
||||
"blockedGeneric": "Ŕēqũĩŕēď ŕēvĩēŵś, ćōďē ōŵńēŕś, ōŕ ŕēƥōśĩţōŕŷ ŕũĺēś śţĩĺĺ ńēēď ţō ćĺēàŕ.",
|
||||
"blockedNeedsApprovals_one": "Ńēēďś {{count}} ḿōŕē àƥƥŕōvàĺ ƀēƒōŕē ĩţ ćàń ḿēŕĝē.",
|
||||
"blockedNeedsApprovals_other": "Ńēēďś {{count}} ḿōŕē àƥƥŕōvàĺś ƀēƒōŕē ĩţ ćàń ḿēŕĝē.",
|
||||
"blockedStatusCheck": "À ŕēqũĩŕēď śţàţũś ćĥēćķ ĥàśń'ţ ƥàśśēď ŷēţ.",
|
||||
"botComments": "Ɓōţ ćōḿḿēńţś (",
|
||||
"byAuthor": "ƀŷ <1></1>",
|
||||
"byAuthorOpenedAgo": "ƀŷ {{author}} · ōƥēńēď {{time}}",
|
||||
"changeConnection": "Ćĥàńĝē ćōńńēćţĩōń",
|
||||
"changeGithubConnection": "Ćĥàńĝē ĜĩţĤũƀ ćōńńēćţĩōń",
|
||||
"changesRequested": "Ćĥàńĝēś ŕēqũēśţēď",
|
||||
"checkBucketFailed": "Ƒàĩĺēď",
|
||||
"checkBucketInProgress": "Ĩń ƥŕōĝŕēśś",
|
||||
"checkBucketPassed": "Ƥàśśēď",
|
||||
"checkNow": "Ćĥēćķ ńōŵ",
|
||||
"checkingForNewIssues": "Ćĥēćķĩńĝ ƒōŕ ńēŵ ĩśśũēś...",
|
||||
"checkingForNewPrs": "Ćĥēćķĩńĝ ƒōŕ ńēŵ ƤŔś...",
|
||||
"checkingGithubConnection": "Ćĥēćķĩńĝ ĜĩţĤũƀ ćōńńēćţĩōń...",
|
||||
"checkingGithubStatus": "Ćĥēćķĩńĝ ĜĩţĤũƀ śţàţũś…",
|
||||
"checksFailed": "Ćĥēćķś ƒàĩĺēď",
|
||||
"checksFailedCount_one": "{{count}} ƒàĩĺēď",
|
||||
"checksFailedCount_other": "{{count}} ƒàĩĺēď",
|
||||
"checksPassed": "Ćĥēćķś ƥàśśēď",
|
||||
"checksPassedCount_one": "{{count}} ƥàśśēď",
|
||||
"checksPassedCount_other": "{{count}} ƥàśśēď",
|
||||
"checksPendingCount_one": "{{count}} ƥēńďĩńĝ",
|
||||
"checksPendingCount_other": "{{count}} ƥēńďĩńĝ",
|
||||
"checksRunning": "Ćĥēćķś ŕũńńĩńĝ",
|
||||
"chooseAGithubApp": "Ćĥōōśē à ĜĩţĤũƀ Àƥƥ",
|
||||
"chooseHowNewlyLaunchedTasksAuthenticate": "Ćĥōōśē ĥōŵ ńēŵĺŷ ĺàũńćĥēď ţàśķś àũţĥēńţĩćàţē ţō ĜĩţĤũƀ. Ţĥĩś ďōēś ńōţ ćĥàńĝē ţĥē ŵōŕķśƥàćē àũţōḿàţĩōń ćōńńēćţĩōń àƀōvē.",
|
||||
"chooseMergeMethod": "Ćĥōōśē ḿēŕĝē ḿēţĥōď",
|
||||
"chooseTheAutomationAndPersonalIdentities": "Ćĥōōśē ţĥē àũţōḿàţĩōń àńď ƥēŕśōńàĺ ĩďēńţĩţĩēś ũśēď ƀŷ ţĥĩś ŵōŕķśƥàćē.",
|
||||
"chooseTheExactAccountKandevDoes": "Ćĥōōśē ţĥē ēxàćţ àććōũńţ. Ķàńďēv ďōēś ńōţ śĩĺēńţĺŷ ƒōĺĺōŵ ţĥē ĆĹĨ'ś àćţĩvē-àććōũńţ ćĥàńĝē.",
|
||||
"ciChecks": "ĆĨ Ćĥēćķś{{summary}}",
|
||||
"ciPassRate": "ĆĨ Ƥàśś Ŕàţē",
|
||||
"cleanUpClosed": "Ćĺēàń ũƥ ćĺōśēď",
|
||||
"cleanUpMerged": "Ćĺēàń ũƥ ḿēŕĝēď",
|
||||
@@ -59,10 +106,16 @@
|
||||
"cliAccountActiveSuffix": " - àćţĩvē",
|
||||
"clientId": "Ćĺĩēńţ ĨĎ",
|
||||
"clientSecret": "Ćĺĩēńţ śēćŕēţ",
|
||||
"closePrStatus": "Ćĺōśē ƤŔ śţàţũś",
|
||||
"closedAgo": "ćĺōśēď {{time}}",
|
||||
"commentCount_one": "{{count}} ćōḿḿēńţ",
|
||||
"commentCount_other": "{{count}} ćōḿḿēńţś",
|
||||
"comments": "Ćōḿḿēńţś",
|
||||
"configureTheExistingAppOnGithub": "Ćōńƒĩĝũŕē ţĥē ēxĩśţĩńĝ Àƥƥ ōń ĜĩţĤũƀ",
|
||||
"conflicts": "Ćōńƒĺĩćţś",
|
||||
"connectGithub": "Ćōńńēćţ ĜĩţĤũƀ",
|
||||
"connectIdentity": "Ćōńńēćţ ĩďēńţĩţŷ",
|
||||
"connectYourPersonalGithubIdentityTo": "Ćōńńēćţ ŷōũŕ ƥēŕśōńàĺ ĜĩţĤũƀ ĩďēńţĩţŷ ţō śēē ƥũĺĺ ŕēqũēśţś àńď ĩśśũēś àśśĩĝńēď ţō ŷōũ.",
|
||||
"connectionMethod": "Ćōńńēćţĩōń ḿēţĥōď",
|
||||
"continueOnGithub": "Ćōńţĩńũē ōń ĜĩţĤũƀ",
|
||||
"controlsHowNewlyLaunchedTasksAuthenticate": "Ćōńţŕōĺś ĥōŵ ńēŵĺŷ ĺàũńćĥēď ţàśķś àũţĥēńţĩćàţē ţō ĜĩţĤũƀ ƒōŕ Ĝĩţ ĤŢŢƤŚ àńď ĝĥ ćōḿḿàńďś. Ḿàńàĝēď ŵōŕķśƥàćē ćŕēďēńţĩàĺś ũśē Ķàńďēv'ś ŵōŕķśƥàćē ćōńńēćţĩōń; ēxēćũţōŕ ćŕēďēńţĩàĺś ũśē ţĥē śēĺēćţēď ēxēćũţōŕ'ś Ĝĩţ ōŕ ŚŚĤ śēţũƥ.",
|
||||
@@ -78,15 +131,23 @@
|
||||
"credentialUsedForRepositorySyncWatches": "Ćŕēďēńţĩàĺ ũśēď ƒōŕ ŕēƥōśĩţōŕŷ śŷńć, ŵàţćĥēś, àńď ḿàńàĝēď àĝēńţ ĝĩţ àńď ĝĥ ćōḿḿàńďś. Ēxēćũţōŕ ƥŕōƒĩĺē ţōķēńś ţàķē ƥŕēćēďēńćē.",
|
||||
"currentGithubApiRateAndQuery": "Ćũŕŕēńţ ĜĩţĤũƀ ÀƤĨ ŕàţē àńď qũēŕŷ ĺĩḿĩţś ƒōŕ ţĥĩś ŵōŕķśƥàćē ćōńńēćţĩōń.",
|
||||
"customQuery": "Ćũśţōḿ Qũēŕŷ",
|
||||
"customQueryPressEnterEG": "Ćũśţōḿ qũēŕŷ — ƥŕēśś Ēńţēŕ. ē.ĝ. \"ĩś:ōƥēń ŕēvĩēŵ-ŕēqũēśţēď:@ḿē\"",
|
||||
"defaultQueries": "Ďēƒàũĺţ qũēŕĩēś",
|
||||
"defaultQueriesAreStillLoading": "Ďēƒàũĺţ qũēŕĩēś àŕē śţĩĺĺ ĺōàďĩńĝ.",
|
||||
"defaultQueriesSaved": "Ďēƒàũĺţ qũēŕĩēś śàvēď",
|
||||
"defaultRepository": "Ďēƒàũĺţ ŕēƥōśĩţōŕŷ",
|
||||
"delete": "Ďēĺēţē",
|
||||
"deleteSavedQuery": "Ďēĺēţē śàvēď qũēŕŷ",
|
||||
"deletedTasks_one": "Ďēĺēţēď {{count}} ţàśķ",
|
||||
"deletedTasks_other": "Ďēĺēţēď {{count}} ţàśķś",
|
||||
"description": "Ďēśćŕĩƥţĩōń",
|
||||
"disconnect": "Ďĩśćōńńēćţ",
|
||||
"disconnectFailed": "Ďĩśćōńńēćţ ƒàĩĺēď",
|
||||
"draft": "Ďŕàƒţ",
|
||||
"eGBugEnhancementPriorityHigh": "ē.ĝ. {{examples}}",
|
||||
"eGNeedsMyReview": "ē.ĝ. Ńēēďś ḿŷ ŕēvĩēŵ",
|
||||
"editAutoFixPromptForThis": "Ēďĩţ àũţō-ƒĩx ƥŕōḿƥţ ƒōŕ ţĥĩś ţàśķ",
|
||||
"editDefaultPrompt": "Ēďĩţ ďēƒàũĺţ ƥŕōḿƥţ",
|
||||
"editDetails": "Ēďĩţ ďēţàĩĺś",
|
||||
"editIssueWatch": "Ēďĩţ Ĩśśũē Ŵàţćĥ",
|
||||
"editPrompt": "Ēďĩţ ƥŕōḿƥţ",
|
||||
@@ -104,26 +165,37 @@
|
||||
"enterTheNumericGithubAppId": "Ēńţēŕ ţĥē ńũḿēŕĩć ĜĩţĤũƀ Àƥƥ ĨĎ.",
|
||||
"enterTheWebhookSecret": "Ēńţēŕ ţĥē ŵēƀĥōōķ śēćŕēţ.",
|
||||
"executorProfile": "Ēxēćũţōŕ Ƥŕōƒĩĺē",
|
||||
"explainAutoFixRounds": "Ēxƥĺàĩń àũţō-ƒĩx ŕōũńďś",
|
||||
"explainCiAutomationOptions": "Ēxƥĺàĩń ĆĨ àũţōḿàţĩōń ōƥţĩōńś",
|
||||
"explainFinalPrStateNotifications": "Ēxƥĺàĩń ƒĩńàĺ ƤŔ śţàţē ńōţĩƒĩćàţĩōńś",
|
||||
"explainHowManagedTaskCredentialsWork": "Ēxƥĺàĩń ĥōŵ ḿàńàĝēď ţàśķ ćŕēďēńţĩàĺś ŵōŕķ",
|
||||
"explainRepositoryScope": "Ēxƥĺàĩń ŕēƥōśĩţōŕŷ śćōƥē",
|
||||
"explainReviewRequestNotifications": "Ēxƥĺàĩń ŕēvĩēŵ ŕēqũēśţ ńōţĩƒĩćàţĩōńś",
|
||||
"explainTaskGitAccess": "Ēxƥĺàĩń ţàśķ Ĝĩţ àććēśś",
|
||||
"explainWorkspaceGithubIdentity": "Ēxƥĺàĩń ŵōŕķśƥàćē ĜĩţĤũƀ ĩďēńţĩţŷ",
|
||||
"failedToApprove": "Ƒàĩĺēď ţō àƥƥŕōvē",
|
||||
"failedToCheckForIssues": "Ƒàĩĺēď ţō ćĥēćķ ƒōŕ ĩśśũēś",
|
||||
"failedToCheckForPrs": "Ƒàĩĺēď ţō ćĥēćķ ƒōŕ ƤŔś",
|
||||
"failedToDeleteIssueWatch": "Ƒàĩĺēď ţō ďēĺēţē ĩśśũē ŵàţćĥ",
|
||||
"failedToDeleteReviewWatch": "Ƒàĩĺēď ţō ďēĺēţē ŕēvĩēŵ ŵàţćĥ",
|
||||
"failedToLoadGithubWorkspaceSettings": "Ƒàĩĺēď ţō ĺōàď ĜĩţĤũƀ ŵōŕķśƥàćē śēţţĩńĝś",
|
||||
"failedToMerge": "Ƒàĩĺēď ţō ḿēŕĝē",
|
||||
"failedToResetIssueWatch": "Ƒàĩĺēď ţō ŕēśēţ ĩśśũē ŵàţćĥ",
|
||||
"failedToResetReviewWatch": "Ƒàĩĺēď ţō ŕēśēţ ŕēvĩēŵ ŵàţćĥ",
|
||||
"failedToSaveDefaultQueries": "Ƒàĩĺēď ţō śàvē ďēƒàũĺţ qũēŕĩēś",
|
||||
"failedToSaveGithubWorkspaceSettings": "Ƒàĩĺēď ţō śàvē ĜĩţĤũƀ ŵōŕķśƥàćē śēţţĩńĝś",
|
||||
"failedToSaveQuickActions": "Ƒàĩĺēď ţō śàvē qũĩćķ àćţĩōńś",
|
||||
"failedToUnlinkPullRequest": "Ƒàĩĺēď ţō ũńĺĩńķ ƥũĺĺ ŕēqũēśţ",
|
||||
"filter": "Ƒĩĺţēŕ",
|
||||
"filterGithubResultsByRepository": "Ƒĩĺţēŕ ĜĩţĤũƀ ŕēśũĺţś ƀŷ ŕēƥōśĩţōŕŷ",
|
||||
"filterRepositories": "Ƒĩĺţēŕ ŕēƥōśĩţōŕĩēś...",
|
||||
"filters": "Ƒĩĺţēŕś",
|
||||
"forWebhooksChooseContentType": "Ƒōŕ ŵēƀĥōōķś, ćĥōōśē <1>{{contentType}}</1> àś ţĥē ćōńţēńţ ţŷƥē àńď ķēēƥ ŚŚĹ vēŕĩƒĩćàţĩōń ēńàƀĺēď.",
|
||||
"foundNewIssues_one": "Ƒōũńď {{count}} ńēŵ ĩśśũē",
|
||||
"foundNewIssues_other": "Ƒōũńď {{count}} ńēŵ ĩśśũēś",
|
||||
"foundNewPrs_one": "Ƒōũńď {{count}} ńēŵ ƤŔ",
|
||||
"foundNewPrs_other": "Ƒōũńď {{count}} ńēŵ ƤŔś",
|
||||
"general": "(ĝēńēŕàĺ)",
|
||||
"generateSetupInstructions": "Ĝēńēŕàţē śēţũƥ ĩńśţŕũćţĩōńś",
|
||||
"githubAccessSettingsSaved": "ĜĩţĤũƀ àććēśś śēţţĩńĝś śàvēď",
|
||||
"githubApiAccessIsExhaustedFor": "ĜĩţĤũƀ ÀƤĨ àććēśś ĩś ēxĥàũśţēď ƒōŕ {{resources}}. Ɓàćķĝŕōũńď ƤŔ àńď ĩśśũē ćĥēćķś àŕē ƥàũśēď ũńţĩĺ ţĥē ĺàśţ ĺĩḿĩţ ŕēśēţś {{reset}}.",
|
||||
@@ -138,12 +210,14 @@
|
||||
"githubAppSetupCancelled": "ĜĩţĤũƀ Àƥƥ śēţũƥ ćàńćēĺĺēď",
|
||||
"githubAppSetupCouldNotStart": "ĜĩţĤũƀ Àƥƥ śēţũƥ ćōũĺď ńōţ śţàŕţ",
|
||||
"githubAppSlug": "ĜĩţĤũƀ Àƥƥ śĺũĝ",
|
||||
"githubAuthenticationLost": "ĜĩţĤũƀ àũţĥēńţĩćàţĩōń ĺōśţ.",
|
||||
"githubCli": "ĜĩţĤũƀ ĆĹĨ",
|
||||
"githubCliAccount": "ĜĩţĤũƀ ĆĹĨ àććōũńţ",
|
||||
"githubDidNotReturnARedirectUrl": "ĜĩţĤũƀ ďĩď ńōţ ŕēţũŕń à ŕēďĩŕēćţ ŨŔĹ",
|
||||
"githubDidNotReturnAnInstallationUrl": "ĜĩţĤũƀ ďĩď ńōţ ŕēţũŕń àń ĩńśţàĺĺàţĩōń ŨŔĹ",
|
||||
"githubIdentityConnected": "ĜĩţĤũƀ ĩďēńţĩţŷ ćōńńēćţēď",
|
||||
"githubIntegration": "ĜĩţĤũƀ Ĩńţēĝŕàţĩōń",
|
||||
"githubIsNotConnectedConfigureWorkspace": "ĜĩţĤũƀ ĩś ńōţ ćōńńēćţēď. Ćōńƒĩĝũŕē ŵōŕķśƥàćē àũţōḿàţĩōń ŵĩţĥ ĝĥ ĆĹĨ ōŕ à ƥēŕśōńàĺ àććēśś ţōķēń.",
|
||||
"githubIsReadyToCreateThe": "ĜĩţĤũƀ ĩś ŕēàďŷ ţō ćŕēàţē ţĥē Àƥƥ",
|
||||
"githubMustReachThisHttpsOrigin": "ĜĩţĤũƀ ḿũśţ ŕēàćĥ ţĥĩś ĤŢŢƤŚ ōŕĩĝĩń ƒōŕ śĩĝńēď ŵēƀĥōōķś àńď ćàĺĺƀàćķś.",
|
||||
"githubOwnerLogin": "ĜĩţĤũƀ ōŵńēŕ ĺōĝĩń",
|
||||
@@ -170,9 +244,12 @@
|
||||
"inheritExecutorGitCredentials": "Ĩńĥēŕĩţ ēxēćũţōŕ Ĝĩţ ćŕēďēńţĩàĺś",
|
||||
"initialStepForNewTasks": "Ĩńĩţĩàĺ śţēƥ ƒōŕ ńēŵ ţàśķś.",
|
||||
"initialStepForNewTasksAuto": "Ĩńĩţĩàĺ śţēƥ ƒōŕ ńēŵ ţàśķś. Àũţō-śţàŕţ ĩś śēţ ōń ţĥē śţēƥ.",
|
||||
"insertPrFeedback": "Ĩńśēŕţ ƤŔ ƒēēďƀàćķ",
|
||||
"installAGithubAppAboveTo": "Ĩńśţàĺĺ à ĜĩţĤũƀ Àƥƥ àƀōvē ţō ćĥàńĝē ţĥē ŵōŕķśƥàćē ćōńńēćţĩōń. Ţàśķ àććēśś ćàń ƀē śàvēď àƒţēŕ ţĥē ĩńśţàĺĺàţĩōń ƒĩńĩśĥēś.",
|
||||
"installForThisWorkspace": "Ĩńśţàĺĺ ƒōŕ ţĥĩś ŵōŕķśƥàćē",
|
||||
"interval": "Ĩńţēŕvàĺ",
|
||||
"issue": "Ĩśśũē #{{number}}",
|
||||
"issue2": "Ĩśśũē #",
|
||||
"issueCleanupPolicyAlwaysDescription": "Ďēĺēţē ōń ćĺōśē ēvēń ĩƒ ŷōũ ēńĝàĝēď ŵĩţĥ ţĥē ţàśķ.",
|
||||
"issueCleanupPolicyAutoDescription": "Ďēĺēţē ćĺōśēď-ĩśśũē ţàśķś ũńĺēśś ŷōũ ţŷƥēď à ḿēśśàĝē ĩń ţĥēḿ.",
|
||||
"issueWatch": "ĩśśũē ŵàţćĥ",
|
||||
@@ -190,10 +267,13 @@
|
||||
"kandevManagedOperationsUseTheGithub": "Ķàńďēv-ḿàńàĝēď ōƥēŕàţĩōńś ũśē ţĥē ĜĩţĤũƀ Àƥƥ ĩńśţàĺĺēď ƒōŕ {{actor}}.",
|
||||
"kandevStoresThisTokenForThis": "Ķàńďēv śţōŕēś ţĥĩś ţōķēń ƒōŕ ţĥĩś ŵōŕķśƥàćē. ĜĩţĤũƀ ŕēćōŕďś àćţĩōńś àś ţĥē ţōķēń ōŵńēŕ.",
|
||||
"kandevUsesThisWorkspaceConnectionFor": "Ķàńďēv ũśēś ţĥĩś ŵōŕķśƥàćē ćōńńēćţĩōń ƒōŕ ŕēƥōśĩţōŕŷ śŷńć, ŵàţćĥēś, ƀàćķĝŕōũńď ĵōƀś, àńď ḿàńàĝēď àĝēńţ ĜĩţĤũƀ ćōḿḿàńďś. Ŵĩţĥ à ƤÀŢ ōŕ ĜĩţĤũƀ ĆĹĨ àććōũńţ, Ḿŷ ĜĩţĤũƀ àńď àćţĩōńś ŷōũ ţŕĩĝĝēŕ ũśē ţĥē śàḿē ĥũḿàń ĩďēńţĩţŷ.",
|
||||
"kindIssue": "ĩśśũē",
|
||||
"kindPullRequest": "ƥũĺĺ ŕēqũēśţ",
|
||||
"label": "Ĺàƀēĺ",
|
||||
"labels": "Ĺàƀēĺś",
|
||||
"labelsCommaSeparated": "Ĺàƀēĺś (ćōḿḿà-śēƥàŕàţēď)",
|
||||
"lastPolled": "Ĺàśţ Ƥōĺĺēď",
|
||||
"lastSynced": "Ĺàśţ śŷńćēď",
|
||||
"legacySharedConnection": "Ĺēĝàćŷ śĥàŕēď ćōńńēćţĩōń",
|
||||
"limitsGithubPullRequestsAndIssues": "Ĺĩḿĩţś ĜĩţĤũƀ ƥũĺĺ ŕēqũēśţś àńď ĩśśũēś śĥōŵń ōŕ ĩḿƥōŕţēď ĩń ţĥĩś ŵōŕķśƥàćē.",
|
||||
"loadingAccounts": "Ĺōàďĩńĝ àććōũńţś...",
|
||||
@@ -204,37 +284,75 @@
|
||||
"managedWorkspaceCredentials": "Ḿàńàĝēď ŵōŕķśƥàćē ćŕēďēńţĩàĺś",
|
||||
"me": "Ḿē",
|
||||
"meMyTeams": "Ḿē & ḿŷ ţēàḿś",
|
||||
"mergeConflictsWith": "Ḿēŕĝē ćōńƒĺĩćţś ŵĩţĥ",
|
||||
"mergeMethodDefault": "Ḿēŕĝē ƤŔ",
|
||||
"mergeMethodMergeCommit": "Ćŕēàţē à ḿēŕĝē ćōḿḿĩţ",
|
||||
"mergeMethodMergeCommitShort": "Ḿēŕĝē ćōḿḿĩţ",
|
||||
"mergeMethodRebase": "Ŕēƀàśē àńď ḿēŕĝē",
|
||||
"mergeMethodRebaseShort": "Ŕēƀàśē",
|
||||
"mergeMethodSquash": "Śqũàśĥ àńď ḿēŕĝē",
|
||||
"mergeMethodSquashShort": "Śqũàśĥ",
|
||||
"merged": "Ḿēŕĝēď",
|
||||
"mergedAgo": "ḿēŕĝēď {{time}}",
|
||||
"merging": "Ḿēŕĝĩńĝ...",
|
||||
"missing": "Ḿĩśśĩńĝ",
|
||||
"mode": "Ḿōďē",
|
||||
"myGithubIdentity": "Ḿŷ ĜĩţĤũƀ ĩďēńţĩţŷ",
|
||||
"myGithubNowUsesYourVerified": "Ḿŷ ĜĩţĤũƀ ńōŵ ũśēś ŷōũŕ vēŕĩƒĩēď ƥēŕśōńàĺ ĩďēńţĩţŷ.",
|
||||
"name": "Ńàḿē",
|
||||
"nameInKandev": "Ńàḿē ĩń Ķàńďēv",
|
||||
"needsAttention": "Ńēēďś àţţēńţĩōń",
|
||||
"never": "Ńēvēŕ",
|
||||
"noAutomationConnection": "Ńō àũţōḿàţĩōń ćōńńēćţĩōń",
|
||||
"noChecks": "Ńō ćĥēćķś",
|
||||
"noChecksHaveStarted": "Ńō ćĥēćķś ĥàvē śţàŕţēď",
|
||||
"noCommentsYet": "Ńō ćōḿḿēńţś ŷēţ",
|
||||
"noGhAccountsFound": "Ńō ĝĥ àććōũńţś ƒōũńď",
|
||||
"noGithubAppsAreRegisteredYet": "Ńō ĜĩţĤũƀ Àƥƥś àŕē ŕēĝĩśţēŕēď ŷēţ. Àďď àń ēxĩśţĩńĝ Àƥƥ ōŕ ćŕēàţē ōńē ƀēĺōŵ.",
|
||||
"noIssueWatchesConfiguredCreateOne": "Ńō ĩśśũē ŵàţćĥēś ćōńƒĩĝũŕēď. Ćŕēàţē ōńē ţō śţàŕţ ḿōńĩţōŕĩńĝ ĜĩţĤũƀ ĩśśũēś.",
|
||||
"noIssuesMatchThisFilter": "Ńō ĩśśũēś ḿàţćĥ ţĥĩś ƒĩĺţēŕ.",
|
||||
"noNewIssuesFound": "Ńō ńēŵ ĩśśũēś ƒōũńď",
|
||||
"noNewPrsFound": "Ńō ńēŵ ƤŔś ƒōũńď",
|
||||
"noPullRequestLinkedToThis": "Ńō ƥũĺĺ ŕēqũēśţ ĺĩńķēď ţō ţĥĩś śēśśĩōń.",
|
||||
"noPullRequestsMatchThisFilter": "Ńō ƥũĺĺ ŕēqũēśţś ḿàţćĥ ţĥĩś ƒĩĺţēŕ.",
|
||||
"noReposFoundFor": "Ńō ŕēƥōś ƒōũńď ƒōŕ \"{{org}}\"",
|
||||
"noRepositoriesFound": "Ńō ŕēƥōśĩţōŕĩēś ƒōũńď.",
|
||||
"noReviewWatchesConfiguredCreateOne": "Ńō ŕēvĩēŵ ŵàţćĥēś ćōńƒĩĝũŕēď. Ćŕēàţē ōńē ţō śţàŕţ ḿōńĩţōŕĩńĝ ƤŔś.",
|
||||
"noReviewsYet": "Ńō ŕēvĩēŵś ŷēţ",
|
||||
"noSavedQueriesYet": "Ńō śàvēď qũēŕĩēś ŷēţ.",
|
||||
"noStatsAvailableYet": "Ńō śţàţś àvàĩĺàƀĺē ŷēţ.",
|
||||
"noTaskCreatedYet": "Ńō ţàśķ ćŕēàţēď ŷēţ",
|
||||
"noTasksToCleanUp": "Ńō ţàśķś ţō ćĺēàń ũƥ",
|
||||
"noWorkspaceConfiguredCreateAWorkspace": "Ńō ŵōŕķśƥàćē ćōńƒĩĝũŕēď. Ćŕēàţē à ŵōŕķśƥàćē ƒĩŕśţ ţō śţàŕţ ţàśķś ƒŕōḿ ƤŔś/ĩśśũēś.",
|
||||
"notMergeable": "Ńōţ ḿēŕĝēàƀĺē",
|
||||
"omitThePlaceholderIfYouWant": "Ōḿĩţ ţĥē ƥĺàćēĥōĺďēŕ ĩƒ ŷōũ ŵàńţ ţĥē àĝēńţ ţō ƥũĺĺ ōŕ ƒēţćĥ ţĥē ƀŕàńćĥ àńď ĩńśƥēćţ ĜĩţĤũƀ ĩţśēĺƒ ĩńśţēàď ōƒ ŕēćēĩvĩńĝ Ķàńďēv'ś śńàƥśĥōţ.",
|
||||
"onlyMatchIssuesWithTheseLabels": "Ōńĺŷ ḿàţćĥ ĩśśũēś ŵĩţĥ ţĥēśē ĺàƀēĺś. Ĺēàvē ēḿƥţŷ ƒōŕ àĺĺ ĩśśũēś.",
|
||||
"onlyPrsWhereYouAreExplicitly": "Ōńĺŷ ƤŔś ŵĥēŕē ŷōũ àŕē ēxƥĺĩćĩţĺŷ ŕēqũēśţēď àś à ŕēvĩēŵēŕ (ńōţ vĩà ţēàḿ ḿēḿƀēŕśĥĩƥ)",
|
||||
"onlyTheAppOwner": "Ōńĺŷ ţĥē Àƥƥ ōŵńēŕ",
|
||||
"openDetails": "Ōƥēń {{title}} ďēţàĩĺś",
|
||||
"openGithubAppSettings": "Ōƥēń ĜĩţĤũƀ Àƥƥ śēţţĩńĝś",
|
||||
"openGithubFilters": "Ōƥēń ĜĩţĤũƀ ƒĩĺţēŕś",
|
||||
"openOnGithub": "Ōƥēń {{workflow}} ōń ĜĩţĤũƀ",
|
||||
"openSettingsToSeePrsAndIssues": "<0>Ōƥēń ĜĩţĤũƀ śēţţĩńĝś</0> ţō śēē ŷōũŕ ƥũĺĺ ŕēqũēśţś àńď ĩśśũēś.",
|
||||
"openedAgo": "ōƥēńēď {{time}}",
|
||||
"optionalFallsBackToStepDefault": "Ōƥţĩōńàĺ — ƒàĺĺś ƀàćķ ţō śţēƥ ďēƒàũĺţ.",
|
||||
"optionalFallsBackToStepDefault2": "Ōƥţĩōńàĺ — ƒàĺĺś ƀàćķ ţō śţēƥ ďēƒàũĺţ. Ţĥē ēxēćũţōŕ ēńvĩŕōńḿēńţ ŵĥēŕē ţĥē àĝēńţ ŵĩĺĺ ŕũń.",
|
||||
"optionallyConnectYourGithubUserFor": "Ōƥţĩōńàĺĺŷ ćōńńēćţ ŷōũŕ ĜĩţĤũƀ ũśēŕ ƒōŕ Ḿŷ ĜĩţĤũƀ àńď ĥũḿàń-àţţŕĩƀũţēď àćţĩōńś. Ţĥĩś ĩďēńţĩţŷ ĩś ńēvēŕ ĝĩvēń ţō ḿàńàĝēď àĝēńţś; ŵōŕķśƥàćē àũţōḿàţĩōń ćōńţĩńũēś àś ţĥē Àƥƥ.",
|
||||
"or": "ōŕ",
|
||||
"organization": "Ōŕĝàńĩźàţĩōń",
|
||||
"organizations": "Ōŕĝàńĩźàţĩōńś",
|
||||
"otherGithubAccounts": "Ōţĥēŕ ĜĩţĤũƀ àććōũńţś",
|
||||
"overallLabel": "Ōvēŕàĺĺ:",
|
||||
"passRate": "Ƥàśś ŕàţē",
|
||||
"pasteTheAppPrivateKey": "Ƥàśţē ţĥē Àƥƥ ƥŕĩvàţē ķēŷ.",
|
||||
"pause": "Ƥàũśē",
|
||||
"pauseOrResumePolling": "Ƥàũśē ōŕ ŕēśũḿē ƥōĺĺĩńĝ.",
|
||||
"paused": "Ƥàũśēď",
|
||||
"pending": "{{pending}} ƥēńďĩńĝ",
|
||||
"pendingReview": "Ƥēńďĩńĝ ŕēvĩēŵ",
|
||||
"pendingReviewCount_one": "({{count}} ƥēńďĩńĝ)",
|
||||
"pendingReviewCount_other": "({{count}} ƥēńďĩńĝ)",
|
||||
"pendingReviewS": "{{pending}} ƥēńďĩńĝ ŕēvĩēŵ(ś)",
|
||||
"permissionsAvailableToKandevThroughThis": "Ƥēŕḿĩśśĩōńś àvàĩĺàƀĺē ţō Ķàńďēv ţĥŕōũĝĥ ţĥĩś ŵōŕķśƥàćē'ś ĜĩţĤũƀ Àƥƥ ĩńśţàĺĺàţĩōń.",
|
||||
"personalAccessToken": "Ƥēŕśōńàĺ àććēśś ţōķēń",
|
||||
"personalAccount": "Ƥēŕśōńàĺ àććōũńţ",
|
||||
@@ -256,7 +374,11 @@
|
||||
"placeholderSourceBranch": "Śōũŕćē ƀŕàńćĥ",
|
||||
"placeholderTargetBranch": "Ţàŕĝēţ ƀŕàńćĥ",
|
||||
"pollIntervalSeconds": "Ƥōĺĺ Ĩńţēŕvàĺ (śēćōńďś)",
|
||||
"pr": "ƤŔ #",
|
||||
"prAnalytics": "ƤŔ Àńàĺŷţĩćś",
|
||||
"prApproved": "ƤŔ àƥƥŕōvēď",
|
||||
"prClosedWithoutMerging": "ƤŔ ćĺōśēď ŵĩţĥōũţ ḿēŕĝĩńĝ",
|
||||
"prMerged": "ƤŔ ḿēŕĝēď",
|
||||
"prepareAppOnGithub": "Ƥŕēƥàŕē Àƥƥ ōń ĜĩţĤũƀ",
|
||||
"presetIconBug": "Ɓũĝ",
|
||||
"presetIconCheck": "Ćĥēćķ",
|
||||
@@ -266,9 +388,11 @@
|
||||
"presetIconSearch": "Śēàŕćĥ",
|
||||
"presetIconSparkle": "Śƥàŕķĺē",
|
||||
"presetIconTool": "Ţōōĺ",
|
||||
"pressEnter": "Ƥŕēśś Ēńţēŕ",
|
||||
"private": "ƥŕĩvàţē",
|
||||
"privateKeyPem": "Ƥŕĩvàţē ķēŷ ({{extension}})",
|
||||
"promptsShownOnGithubWhenStarting": "Ƥŕōḿƥţś śĥōŵń ōń {{route}} ŵĥēń śţàŕţĩńĝ à ţàśķ ƒŕōḿ à ƤŔ ōŕ ĩśśũē.",
|
||||
"prs": "ƤŔś",
|
||||
"prsByDay": "ƤŔś ƀŷ Ďàŷ",
|
||||
"prsCreated": "ƤŔś Ćŕēàţēď",
|
||||
"prsOnDay_one": "{{date}}: {{count}} ƤŔ",
|
||||
@@ -277,7 +401,13 @@
|
||||
"prsWhereYouOrAnyOf": "ƤŔś ŵĥēŕē ŷōũ ōŕ àńŷ ōƒ ŷōũŕ ţēàḿś àŕē ŕēqũēśţēď àś ŕēvĩēŵēŕś",
|
||||
"publicKandevUrl": "Ƥũƀĺĩć Ķàńďēv ŨŔĹ",
|
||||
"pullRequestActivityForThisWorkspace": "Ƥũĺĺ ŕēqũēśţ àćţĩvĩţŷ ƒōŕ ţĥĩś ŵōŕķśƥàćē.",
|
||||
"pullRequestCiStatusReviewsAnd": "Ƥũĺĺ ŕēqũēśţ ĆĨ śţàţũś, ŕēvĩēŵś, àńď ćĥēćķś śũḿḿàŕŷ.",
|
||||
"pullRequestCount_one": "{{count}} ƥũĺĺ ŕēqũēśţ",
|
||||
"pullRequestCount_other": "{{count}} ƥũĺĺ ŕēqũēśţś",
|
||||
"pullRequests": "Ƥũĺĺ ŕēqũēśţś",
|
||||
"pullRequestsAndIssuesAcrossYour": "Ƥũĺĺ ŕēqũēśţś àńď ĩśśũēś àćŕōśś ŷōũŕ ŕēƥōś.",
|
||||
"pullRequestsLinkedToTask_one": "{{count}} ƥũĺĺ ŕēqũēśţ ĺĩńķēď ţō ţĥĩś ţàśķ — ōƥēń ōńē",
|
||||
"pullRequestsLinkedToTask_other": "{{count}} ƥũĺĺ ŕēqũēśţś ĺĩńķēď ţō ţĥĩś ţàśķ — ōƥēń ōńē",
|
||||
"query": "Qũēŕŷ",
|
||||
"queryExample": "ē.ĝ. {{query}}",
|
||||
"quickActions": "Qũĩćķ àćţĩōńś",
|
||||
@@ -287,21 +417,32 @@
|
||||
"rateLimitUnitPoints": "ƥōĩńţś",
|
||||
"rateLimitUnitRequests": "ŕēqũēśţś",
|
||||
"rateLimitUnknown": "ũńķńōŵń",
|
||||
"reRequestReview": "Ŕē-ŕēqũēśţ ŕēvĩēŵ",
|
||||
"reRequestReviewFrom": "Ŕē-ŕēqũēśţ ŕēvĩēŵ ƒŕōḿ {{author}}",
|
||||
"reconnectGithub": "Ŕēćōńńēćţ ĜĩţĤũƀ",
|
||||
"reconnectIdentity": "Ŕēćōńńēćţ ĩďēńţĩţŷ",
|
||||
"refresh": "Ŕēƒŕēśĥ",
|
||||
"refreshGithubConnection": "Ŕēƒŕēśĥ ĜĩţĤũƀ ćōńńēćţĩōń",
|
||||
"remove": "Ŕēḿōvē",
|
||||
"removeFromTask": "Ŕēḿōvē {{repo}} #{{prnumber}} ƒŕōḿ ţàśķ",
|
||||
"repositories": "Ŕēƥōśĩţōŕĩēś",
|
||||
"repository": "Ŕēƥōśĩţōŕŷ",
|
||||
"repositoryPermissions": "Ŕēƥōśĩţōŕŷ ƥēŕḿĩśśĩōńś",
|
||||
"repositoryScope": "Ŕēƥōśĩţōŕŷ Śćōƥē",
|
||||
"repositoryScopeHelp": "Ĺĩḿĩţś ţĥē ĜĩţĤũƀ ƥũĺĺ ŕēqũēśţś àńď ĩśśũēś Ķàńďēv ďĩśćōvēŕś ƒōŕ ţĥĩś ŵōŕķśƥàćē, ĩńćĺũďĩńĝ Ḿŷ ĜĩţĤũƀ ŕēśũĺţś àńď ŕēvĩēŵ àńď ĩśśũē ŵàţćĥēś. Ĩţ ďōēś ńōţ ćĥàńĝē ĜĩţĤũƀ ƥēŕḿĩśśĩōńś ōŕ ŕēƥōśĩţōŕŷ àććēśś.",
|
||||
"requesting": "Ŕēqũēśţĩńĝ...",
|
||||
"requiredGithubAppPolicy": "Ŕēqũĩŕēď ĜĩţĤũƀ Àƥƥ ƥōĺĩćŷ",
|
||||
"resetCompleteDeletedTasks_one": "Ŕēśēţ ćōḿƥĺēţē — ďēĺēţēď {{count}} ţàśķ; ńēxţ ƥōĺĺ ŵĩĺĺ ŕē-ĩḿƥōŕţ.",
|
||||
"resetCompleteDeletedTasks_other": "Ŕēśēţ ćōḿƥĺēţē — ďēĺēţēď {{count}} ţàśķś; ńēxţ ƥōĺĺ ŵĩĺĺ ŕē-ĩḿƥōŕţ.",
|
||||
"resetCompleteNextPollWillRe": "Ŕēśēţ ćōḿƥĺēţē — ńēxţ ƥōĺĺ ŵĩĺĺ ŕē-ĩḿƥōŕţ ḿàţćĥēś.",
|
||||
"resetWatch": "Ŕēśēţ ŵàţćĥ",
|
||||
"resets": "· ŕēśēţś {{reset}}",
|
||||
"resolveConflicts": "Ŕēśōĺvē ćōńƒĺĩćţś",
|
||||
"resolvedFromOneNamedHostAccount": "Ŕēśōĺvēď ƒŕōḿ ōńē ńàḿēď ĥōśţ àććōũńţ ŵĥēń ńēēďēď. Ḿàńàĝēď ţàśķś ŕēćēĩvē à śćōƥēď ƀŕōķēŕēď ĩďēńţĩţŷ; ĥōśţ Ĝĩţ ĩś ńōţ ĩńĥēŕĩţēď ũńĺēśś śēĺēćţēď ƀēĺōŵ.",
|
||||
"retry": "Ŕēţŕŷ",
|
||||
"reviewCount_one": "{{count}} ŕēvĩēŵ",
|
||||
"reviewCount_other": "{{count}} ŕēvĩēŵś",
|
||||
"reviewFollowUp": "Ŕēvĩēŵ ƒōĺĺōŵ-ũƥ",
|
||||
"reviewPermissions": "Ŕēvĩēŵ ƥēŕḿĩśśĩōńś",
|
||||
"reviewWatch": "ŕēvĩēŵ ŵàţćĥ",
|
||||
"reviewWatchCreated": "Ŕēvĩēŵ ŵàţćĥ ćŕēàţēď",
|
||||
@@ -310,7 +451,14 @@
|
||||
"reviewWatchPromptHelp": "Ţĥē ƥŕōḿƥţ śēńţ ţō ţĥē àĝēńţ ƒōŕ ēàćĥ ńēŵ ƤŔ. Ţŷƥē {{token}} ţō ĩńśēŕţ ƥĺàćēĥōĺďēŕś, ōŕ {{mention}} ţō ŕēƒēŕēńćē à śàvēď ƥŕōḿƥţ ƀŷ ńàḿē — ĩţ ēxƥàńďś ţĥē śàḿē ŵàŷ ĩţ ďōēś ĩń ŵōŕķƒĺōŵ śţēƥ ƥŕōḿƥţś, śĩńćē ţĥĩś ƥŕōḿƥţ ƀēćōḿēś ţĥē ţàśķ ďēśćŕĩƥţĩōń ƥàśśēď ţĥŕōũĝĥ ţĥàţ śàḿē àśśēḿƀĺŷ.",
|
||||
"reviewWatchUpdated": "Ŕēvĩēŵ ŵàţćĥ ũƥďàţēď",
|
||||
"reviewWatches": "Ŕēvĩēŵ Ŵàţćĥēś",
|
||||
"reviews": "Ŕēvĩēŵś{{summary}}",
|
||||
"saveChanges": "Śàvē ćĥàńĝēś",
|
||||
"saveCurrentQuery": "Śàvē ćũŕŕēńţ qũēŕŷ",
|
||||
"savePresetDescription": "Śàvē ţĥĩś {{kind}} qũēŕŷ ţō ţĥē śĩďēƀàŕ ƒōŕ qũĩćķ àććēśś ĺàţēŕ.",
|
||||
"savePrompt": "Śàvē ƥŕōḿƥţ",
|
||||
"saveQuery": "Śàvē qũēŕŷ",
|
||||
"saved": "Śàvēď",
|
||||
"savedQueryFallback": "Śàvēď qũēŕŷ",
|
||||
"saving": "Śàvĩńĝ...",
|
||||
"savingChanges": "Śàvĩńĝ ćĥàńĝēś…",
|
||||
"searchLimit": "Śēàŕćĥ ĺĩḿĩţ",
|
||||
@@ -321,22 +469,31 @@
|
||||
"selectedRepositories": "Śēĺēćţēď ŕēƥōśĩţōŕĩēś",
|
||||
"setTheseExactUrlsCreateAClientSecret": "Śēţ ţĥēśē ēxàćţ ŨŔĹś, ćŕēàţē à ćĺĩēńţ śēćŕēţ àńď ŵēƀĥōōķ śēćŕēţ, àńď ďōŵńĺōàď à ƥŕĩvàţē ķēŷ. Ţĥĩś ōńē-ţĩḿē śēţũƥ ēxƥĩŕēś {{expiresAt}}.",
|
||||
"showGithubApiLimits": "Śĥōŵ ĜĩţĤũƀ ÀƤĨ ĺĩḿĩţś",
|
||||
"showLess": "Śĥōŵ ĺēśś",
|
||||
"showMore": "Śĥōŵ ḿōŕē",
|
||||
"showToken": "Śĥōŵ ţōķēń",
|
||||
"sidebarQueriesShownOnGithubFor": "Śĩďēƀàŕ qũēŕĩēś śĥōŵń ōń {{route}} ƒōŕ ƥũĺĺ ŕēqũēśţś àńď ĩśśũēś.",
|
||||
"signInWithGhAuthLogin": "Śĩĝń ĩń ŵĩţĥ <1>{{command}}</1>, ţĥēń ŕēōƥēń ţĥĩś ďĩàĺōĝ.",
|
||||
"someSettingsWereSavedButAnother": "Śōḿē śēţţĩńĝś ŵēŕē śàvēď, ƀũţ àńōţĥēŕ ćĥàńĝē ƒàĩĺēď: {{detail}}",
|
||||
"startOver": "Śţàŕţ ōvēŕ",
|
||||
"stepLabelled": "Śţēƥ: {{stepTitle}}",
|
||||
"storedAppCredentialsMintShortLived": "Śţōŕēď Àƥƥ ćŕēďēńţĩàĺś ḿĩńţ śĥōŕţ-ĺĩvēď ĩńśţàĺĺàţĩōń ţōķēńś. Ḿàńàĝēď ţàśķś ŕēćēĩvē à śćōƥēď ƀŕōķēŕēď Àƥƥ ĩďēńţĩţŷ ƒōŕ àĺĺōŵēď ŕēƥōśĩţōŕĩēś.",
|
||||
"storedEncryptedByKandevWorkspaceAutomation": "Śţōŕēď ēńćŕŷƥţēď ƀŷ Ķàńďēv. Ŵōŕķśƥàćē àũţōḿàţĩōń àńď ḿàńàĝēď ţàśķ ĜĩţĤũƀ ĤŢŢƤŚ/ĝĥ àćţ àś ŷōũŕ àććōũńţ.",
|
||||
"subscribedEvents": "Śũƀśćŕĩƀēď ēvēńţś",
|
||||
"task": "Ţàśķ",
|
||||
"taskAccess": "Ţàśķ àććēśś:",
|
||||
"taskAccessUnavailable": "Ţàśķ àććēśś ũńàvàĩĺàƀĺē",
|
||||
"taskAutoFixPrompt": "Ţàśķ àũţō-ƒĩx ƥŕōḿƥţ",
|
||||
"taskGitAccess": "Ţàśķ Ĝĩţ àććēśś",
|
||||
"taskLabelled": "Ţàśķ: {{title}}",
|
||||
"taskPrompt": "Ţàśķ Ƥŕōḿƥţ",
|
||||
"tasks": "Ţàśķś",
|
||||
"tasksCreatedByThisWatcherLand": "Ţàśķś ćŕēàţēď ƀŷ ţĥĩś ŵàţćĥēŕ ĺàńď ĩń ţĥē śēĺēćţēď ŵōŕķśƥàćē.",
|
||||
"theAppIsReadyToSelect": "Ţĥē Àƥƥ ĩś ŕēàďŷ ţō śēĺēćţ àńď ĩńśţàĺĺ ƒōŕ ţĥĩś ŵōŕķśƥàćē.",
|
||||
"theExistingWorkspaceConnectionWasNot": "Ţĥē ēxĩśţĩńĝ ŵōŕķśƥàćē ćōńńēćţĩōń ŵàś ńōţ ćĥàńĝēď.",
|
||||
"theGithubResponseCouldNotBe": "Ţĥē ĜĩţĤũƀ ŕēśƥōńśē ćōũĺď ńōţ ƀē vēŕĩƒĩēď. Ŕēvĩēŵ ţĥē ćōńńēćţĩōń àńď ţŕŷ àĝàĩń.",
|
||||
"thePlaceholderInsertsTheCurrentPr": "Ţĥē ƥĺàćēĥōĺďēŕ ĩńśēŕţś ţĥē ćũŕŕēńţ ƤŔ ĩďēńţĩƒĩēŕ, ńēŵ ōŕ ćĥàńĝēď ƒàĩĺĩńĝ ćĥēćķś ŵĩţĥ ĜĩţĤũƀ ĵōƀ ĺĩńķś, àńď ńēŵ ōŕ ćĥàńĝēď ŕēvĩēŵ ćōḿḿēńţś ŵĩţĥ ƒĩĺē, ĺĩńē, àńď ƀōďŷ ţēxţ.",
|
||||
"thePullRequestIsStillLinked": "Ţĥē ƥũĺĺ ŕēqũēśţ ĩś śţĩĺĺ ĺĩńķēď.",
|
||||
"theRepositoryWillBeAutomaticallyCloned": "Ţĥē ŕēƥōśĩţōŕŷ ŵĩĺĺ ƀē àũţōḿàţĩćàĺĺŷ ćĺōńēď ţō {{path}} ĩƒ ĩţ ĩś ńōţ àĺŕēàďŷ ƥŕēśēńţ ĩń ţĥē ŵōŕķśƥàćē.",
|
||||
"theSettingsCouldNotBeSaved": "Ţĥē śēţţĩńĝś ćōũĺď ńōţ ƀē śàvēď",
|
||||
"theStoredAppCredentialsAreUnavailable": "Ţĥē śţōŕēď Àƥƥ ćŕēďēńţĩàĺś àŕē ũńàvàĩĺàƀĺē.",
|
||||
@@ -345,17 +502,33 @@
|
||||
"thisAccountAlsoPowersMyGithub": "Ţĥĩś àććōũńţ àĺśō ƥōŵēŕś Ḿŷ ĜĩţĤũƀ àńď ũśēŕ-ţŕĩĝĝēŕēď àćţĩōńś.",
|
||||
"thisAppRegistrationIsShared_one": "Ţĥĩś Àƥƥ ŕēĝĩśţŕàţĩōń ĩś śĥàŕēď ƀŷ {{count}} ŵōŕķśƥàćē. Ŕēĝĩśţŕàţĩōń ćĥàńĝēś àƒƒēćţ ēvēŕŷ ŵōŕķśƥàćē ũśĩńĝ ĩţ; ĩńśţàĺĺàţĩōń àććēśś ŕēḿàĩńś ŵōŕķśƥàćē-śƥēćĩƒĩć.",
|
||||
"thisAppRegistrationIsShared_other": "Ţĥĩś Àƥƥ ŕēĝĩśţŕàţĩōń ĩś śĥàŕēď ƀŷ {{count}} ŵōŕķśƥàćēś. Ŕēĝĩśţŕàţĩōń ćĥàńĝēś àƒƒēćţ ēvēŕŷ ŵōŕķśƥàćē ũśĩńĝ ĩţ; ĩńśţàĺĺàţĩōń àććēśś ŕēḿàĩńś ŵōŕķśƥàćē-śƥēćĩƒĩć.",
|
||||
"thisBranchCanTBeMerged": "Ţĥĩś ƀŕàńćĥ ćàń'ţ ƀē ḿēŕĝēď àũţōḿàţĩćàĺĺŷ. Ŕēśōĺvē ţĥē ćōńƒĺĩćţś ƀēƒōŕē ḿēŕĝĩńĝ.",
|
||||
"thisRepositoryOpensByDefaultYou": "Ţĥĩś ŕēƥōśĩţōŕŷ ōƥēńś ƀŷ ďēƒàũĺţ. Ŷōũ ćàń ćĥàńĝē ţĥē ƒĩĺţēŕ àƒţēŕ ōƥēńĩńĝ ţĥē qũēŕŷ.",
|
||||
"thisWorkspaceUsesOneCredentialFor": "Ţĥĩś ŵōŕķśƥàćē ũśēś ōńē ćŕēďēńţĩàĺ ƒōŕ ŕēƥōśĩţōŕŷ śŷńć, ŵàţćĥēś, ƀàćķĝŕōũńď ĵōƀś, àńď ḿàńàĝēď àĝēńţ ĜĩţĤũƀ àććēśś. Ēxēćũţōŕ ƥŕōƒĩĺē ćŕēďēńţĩàĺś ćàń śţĩĺĺ ţàķē ƥŕēćēďēńćē.",
|
||||
"titleIssues": "Ĩśśũēś",
|
||||
"titlePullRequests": "Ƥũĺĺ ŕēqũēśţś",
|
||||
"toggleReviewFollowUpAutomation": "Ţōĝĝĺē ŕēvĩēŵ ƒōĺĺōŵ-ũƥ àũţōḿàţĩōń",
|
||||
"typeACustomQueryFirst": "Ţŷƥē à ćũśţōḿ qũēŕŷ ƒĩŕśţ",
|
||||
"typeOwnerRepoToSearch": "Ţŷƥē {{format}} ţō śēàŕćĥ",
|
||||
"unableToLoadTheCurrentTask": "Ũńàƀĺē ţō ĺōàď ţĥē ćũŕŕēńţ ţàśķ àććēśś śēţţĩńĝ.",
|
||||
"unexpectedResponseFromTheServer": "Ũńēxƥēćţēď ŕēśƥōńśē ƒŕōḿ ţĥē śēŕvēŕ",
|
||||
"unresolvedComments_one": "{{count}} ũńŕēśōĺvēď ćōḿḿēńţ",
|
||||
"unresolvedComments_other": "{{count}} ũńŕēśōĺvēď ćōḿḿēńţś",
|
||||
"untitledPr": "Ũńţĩţĺēď ƤŔ",
|
||||
"update": "Ũƥďàţē",
|
||||
"updated": "Ũƥďàţēď ",
|
||||
"updatedAgo": "ũƥďàţēď {{elapsed}} àĝō",
|
||||
"updatedJustNow": "ũƥďàţēď ĵũśţ ńōŵ",
|
||||
"useAnAppWhenAutomationNeeds": "Ũśē àń Àƥƥ ŵĥēń àũţōḿàţĩōń ńēēďś ĩţś ōŵń ĩďēńţĩţŷ, śĥōŕţ-ĺĩvēď ţōķēńś, àńď ŕēƥōśĩţōŕŷ-ĺēvēĺ ĩńśţàĺĺàţĩōń ćōńţŕōĺ. Śēţũƥ ĩś ḿōŕē ĩńvōĺvēď àńď ŕēqũĩŕēś à ƥũƀĺĩćĺŷ ŕēàćĥàƀĺē ĤŢŢƤŚ ŨŔĹ.",
|
||||
"useCommaSeparatedOwnerRepoValues": "Ũśē ćōḿḿà-śēƥàŕàţēď ōŵńēŕ/ŕēƥō vàĺũēś.",
|
||||
"useDefault": "Ũśē ďēƒàũĺţ",
|
||||
"usedByWorkspaces_one": "Ũśēď ƀŷ {{count}} ŵōŕķśƥàćē. Ēďĩţĩńĝ ōŕ ďēĺēţĩńĝ ĩţ àƒƒēćţś àĺĺ ōƒ ţĥēḿ.",
|
||||
"usedByWorkspaces_other": "Ũśēď ƀŷ {{count}} ŵōŕķśƥàćēś. Ēďĩţĩńĝ ōŕ ďēĺēţĩńĝ ĩţ àƒƒēćţś àĺĺ ōƒ ţĥēḿ.",
|
||||
"verifyAndImportApp": "Vēŕĩƒŷ àńď ĩḿƥōŕţ Àƥƥ",
|
||||
"viewPermissions": "Vĩēŵ ƥēŕḿĩśśĩōńś",
|
||||
"viewPullRequestOnGithub": "Vĩēŵ ƥũĺĺ ŕēqũēśţ ōń ĜĩţĤũƀ",
|
||||
"waitingOnBranchProtection": "Ŵàĩţĩńĝ ōń ƀŕàńćĥ ƥŕōţēćţĩōń",
|
||||
"watchesThisTaskSLinkedPull": "Ŵàţćĥēś ţĥĩś ţàśķ'ś ĺĩńķēď ƥũĺĺ ŕēqũēśţ ďũŕĩńĝ ţĥē 1 ḿĩńũţē ƤŔ ŕēƒŕēśĥ ĺōōƥ. Àũţō-ƒĩx qũēũēś ţàśķ ƥŕōḿƥţś ƒōŕ ńēŵĺŷ ōƀśēŕvēď ƒēēďƀàćķ, àũţō-ḿēŕĝē ŵàĩţś ƒōŕ ţĥē ƤŔ ţō ƀē ŕēàďŷ, àńď ţĥē ńōţĩƒĩćàţĩōń śŵĩţćĥēś ŵàķē ţĥē ţàśķ'ś àĝēńţ ŵĥēń ţĥē ŵōŕķśƥàćē'ś ćōńńēćţēď ĜĩţĤũƀ àććōũńţ ĩś ŕēqũēśţēď ƒōŕ ŕēvĩēŵ ōŕ ţĥē ƤŔ ŕēàćĥēś à ţēŕḿĩńàĺ śţàţē. Ŕēvĩēŵ ŕēqũēśţś śĩĺēńţĺŷ ƀàśēĺĩńē ţĥē àććōũńţ'ś ćũŕŕēńţ ŕēqũēśţ śţàţē ƀēƒōŕē ńōţĩƒŷĩńĝ ōń à ĺàţēŕ ŕēqũēśţ.",
|
||||
"webhook": "Ŵēƀĥōōķ",
|
||||
"webhookSecret": "Ŵēƀĥōōķ śēćŕēţ",
|
||||
"whichAllowedGithubRepositoriesToMonitor": "Ŵĥĩćĥ àĺĺōŵēď ĜĩţĤũƀ ŕēƥōśĩţōŕĩēś ţō ḿōńĩţōŕ ƒōŕ ţĥĩś ŵàţćĥ.",
|
||||
@@ -367,5 +540,6 @@
|
||||
"workspaceAutomationNowUsesTheVerified": "Ŵōŕķśƥàćē àũţōḿàţĩōń ńōŵ ũśēś ţĥē vēŕĩƒĩēď Àƥƥ ĩńśţàĺĺàţĩōń.",
|
||||
"workspaceGithubAccess": "Ŵōŕķśƥàćē ĜĩţĤũƀ àććēśś",
|
||||
"workspaceGithubConnectionRemoved": "Ŵōŕķśƥàćē ĜĩţĤũƀ ćōńńēćţĩōń ŕēḿōvēď",
|
||||
"workspaceGithubIdentity": "Ŵōŕķśƥàćē ĜĩţĤũƀ ĩďēńţĩţŷ"
|
||||
"workspaceGithubIdentity": "Ŵōŕķśƥàćē ĜĩţĤũƀ ĩďēńţĩţŷ",
|
||||
"yourReviewIsRequested": "Ŷōũŕ ŕēvĩēŵ ĩś ŕēqũēśţēď"
|
||||
}
|
||||
|
||||
@@ -1,35 +1,71 @@
|
||||
{
|
||||
"actionApprove": "Àƥƥŕōvē",
|
||||
"actionAssignees": "Àśśĩĝńēēś",
|
||||
"actionFailed": "{{action}} ƒàĩĺēď",
|
||||
"actionHint": "Àćţĩōń ĥĩńţ {{index}}",
|
||||
"actionLabel": "Àćţĩōń ĺàƀēĺ {{index}}",
|
||||
"actionLabels": "Ĺàƀēĺś",
|
||||
"actionMerge": "Ḿēŕĝē",
|
||||
"actionPrompt": "Àćţĩōń ƥŕōḿƥţ {{index}}",
|
||||
"actionReply": "Ŕēƥĺŷ",
|
||||
"actionResolve": "Ŕēśōĺvē",
|
||||
"actionReviewers": "Ŕēvĩēŵēŕś",
|
||||
"actionUnapprove": "Ũńàƥƥŕōvē",
|
||||
"actionUnlink": "Ũńĺĩńķ",
|
||||
"actions": "Àćţĩōńś",
|
||||
"active": "Àćţĩvē",
|
||||
"addAllDiscussionsToTaskContext": "Àďď àĺĺ ďĩśćũśśĩōńś ţō ţàśķ ćōńţēxţ",
|
||||
"addDiscussionToTaskContext": "Àďď ďĩśćũśśĩōń ţō ţàśķ ćōńţēxţ",
|
||||
"addIssueAction": "Àďď ĩśśũē àćţĩōń",
|
||||
"addMrAction": "Àďď ḾŔ àćţĩōń",
|
||||
"agentProfile": "Àĝēńţ ƥŕōƒĩĺē",
|
||||
"allProjects": "Àĺĺ ƥŕōĵēćţś",
|
||||
"alwaysDelete": "Àĺŵàŷś ďēĺēţē",
|
||||
"apply": "Àƥƥĺŷ",
|
||||
"approvalRemoved": "Àƥƥŕōvàĺ ŕēḿōvēď",
|
||||
"approvals": "Àƥƥŕōvàĺś",
|
||||
"approve": "Àƥƥŕōvē",
|
||||
"approvedCount_one": "{{count}} àƥƥŕōvēď",
|
||||
"approvedCount_other": "{{count}} àƥƥŕōvēď",
|
||||
"assignees": "Àśśĩĝńēēś",
|
||||
"assigneesUpdated": "Àśśĩĝńēēś ũƥďàţēď",
|
||||
"authenticationMethod": "Àũţĥēńţĩćàţĩōń ḿēţĥōď",
|
||||
"auto": "Àũţō",
|
||||
"autoKeepEngagedTasks": "Àũţō; ķēēƥ ēńĝàĝēď ţàśķś",
|
||||
"between60And3600Seconds": "Ɓēţŵēēń 60 àńď 3600 śēćōńďś.",
|
||||
"bugBackend": "ƀũĝ, ƀàćķēńď",
|
||||
"byAuthorOpenedAgo": "ƀŷ {{author}} · ōƥēńēď {{time}}",
|
||||
"checkNow": "Ćĥēćķ ńōŵ",
|
||||
"checkingGitlabStatus": "Ćĥēćķĩńĝ ĜĩţĹàƀ śţàţũś…",
|
||||
"chooseAWorkspacePatTheLocal": "Ćĥōōśē à ŵōŕķśƥàćē ƤÀŢ, ţĥē ĺōćàĺ ĝĺàƀ ĆĹĨ ĺōĝĩń, ōŕ àń ēńvĩŕōńḿēńţ-ƥŕōvĩďēď ţōķēń. ĆĹĨ àńď ēńvĩŕōńḿēńţ ćŕēďēńţĩàĺś ḿũśţ àĺŕēàďŷ ƀē àvàĩĺàƀĺē ţō ţĥē ķàńďēv ƀàćķēńď.",
|
||||
"chooseWhetherToIncludeOnlyDirect": "Ćĥōōśē ŵĥēţĥēŕ ţō ĩńćĺũďē ōńĺŷ ďĩŕēćţ ŕēvĩēŵēŕ ŕēqũēśţś ōŕ ţĥē ƀŕōàďēŕ ćōḿƥàţĩƀĺē śćōƥē.",
|
||||
"cleanupPolicy": "Ćĺēàńũƥ ƥōĺĩćŷ",
|
||||
"clearToken": "Ćĺēàŕ ţōķēń",
|
||||
"commits": "Ćōḿḿĩţś",
|
||||
"conflicts": "Ćōńƒĺĩćţś",
|
||||
"connectAGitlabAccountSoKandev": "Ćōńńēćţ à ĜĩţĹàƀ àććōũńţ śō ķàńďēv ćàń ōƥēń ḿēŕĝē ŕēqũēśţś, ŕēàď ŕēvĩēŵ ďĩśćũśśĩōńś, àńď ŕēƥĺŷ ţō / ŕēśōĺvē ţĥēḿ ōń ŷōũŕ ƀēĥàĺƒ.",
|
||||
"connected": "Ćōńńēćţēď",
|
||||
"controlsTaskDeletionWhenTheGitlab": "Ćōńţŕōĺś ţàśķ ďēĺēţĩōń ŵĥēń ţĥē ĜĩţĹàƀ ĩţēḿ ćĺōśēś.",
|
||||
"couldNotReachHost": "Ćōũĺďń'ţ ŕēàćĥ <1>{{host}}</1>: {{error}}",
|
||||
"createIssueWatch": "Ćŕēàţē ĜĩţĹàƀ ĩśśũē ŵàţćĥ",
|
||||
"createReviewWatch": "Ćŕēàţē ĜĩţĹàƀ ŕēvĩēŵ ŵàţćĥ",
|
||||
"createTask": "Ćŕēàţē ţàśķ",
|
||||
"createWatch": "Ćŕēàţē ŵàţćĥ",
|
||||
"created": "Ćŕēàţēď",
|
||||
"customQueryPressEnterEG": "Ćũśţōḿ qũēŕŷ — ƥŕēśś Ēńţēŕ. ē.ĝ. \"ĺàƀēĺś=ƀũĝ&śţàţē=ōƥēńēď\"",
|
||||
"deleteSavedQuery": "Ďēĺēţē śàvēď qũēŕŷ",
|
||||
"deleteSavedQuery2": "Ďēĺēţē śàvēď qũēŕŷ {{label}}",
|
||||
"deleteWatch": "Ďēĺēţē ŵàţćĥ",
|
||||
"deleteWatchTitle": "Ďēĺēţē {{label}}?",
|
||||
"deleting": "Ďēĺēţĩńĝ...",
|
||||
"description": "Ďēśćŕĩƥţĩōń",
|
||||
"directAndGroupCompatibleRequests": "Ďĩŕēćţ àńď ĝŕōũƥ-ćōḿƥàţĩƀĺē ŕēqũēśţś",
|
||||
"directRequests": "Ďĩŕēćţ ŕēqũēśţś",
|
||||
"discussionReply": "Ďĩśćũśśĩōń ŕēƥĺŷ",
|
||||
"discussionResolved": "Ďĩśćũśśĩōń ŕēśōĺvēď",
|
||||
"discussions": "Ďĩśćũśśĩōńś",
|
||||
"draft": "Ďŕàƒţ",
|
||||
"eGNeedsMyReview": "ē.ĝ. Ńēēďś ḿŷ ŕēvĩēŵ",
|
||||
"editIssueWatch": "Ēďĩţ ĜĩţĹàƀ ĩśśũē ŵàţćĥ",
|
||||
"editReviewWatch": "Ēďĩţ ĜĩţĹàƀ ŕēvĩēŵ ŵàţćĥ",
|
||||
"editWatch": "Ēďĩţ ŵàţćĥ",
|
||||
@@ -41,85 +77,154 @@
|
||||
"everyQuickActionNeedsALabel": "Ēvēŕŷ qũĩćķ àćţĩōń ńēēďś à ĺàƀēĺ àńď ƥŕōḿƥţ.",
|
||||
"executorProfile": "Ēxēćũţōŕ ƥŕōƒĩĺē",
|
||||
"failedToClearToken": "Ƒàĩĺēď ţō ćĺēàŕ ţōķēń",
|
||||
"failedToLinkMergeRequest": "Ƒàĩĺēď ţō ĺĩńķ ḿēŕĝē ŕēqũēśţ",
|
||||
"failedToResetQuickActions": "Ƒàĩĺēď ţō ŕēśēţ qũĩćķ àćţĩōńś",
|
||||
"failedToSaveQuickActions": "Ƒàĩĺēď ţō śàvē qũĩćķ àćţĩōńś",
|
||||
"failedToUnlinkMergeRequest": "Ƒàĩĺēď ţō ũńĺĩńķ ḿēŕĝē ŕēqũēśţ",
|
||||
"failedToUpdateAuthenticationMethod": "Ƒàĩĺēď ţō ũƥďàţē àũţĥēńţĩćàţĩōń ḿēţĥōď",
|
||||
"files": "Ƒĩĺēś",
|
||||
"filters": "Ƒĩĺţēŕś",
|
||||
"foundMatchingIssues_one": "Ƒōũńď {{count}} ḿàţćĥĩńĝ ĩśśũē",
|
||||
"foundMatchingIssues_other": "Ƒōũńď {{count}} ḿàţćĥĩńĝ ĩśśũēś",
|
||||
"foundMatchingMergeRequests_one": "Ƒōũńď {{count}} ḿàţćĥĩńĝ ḿēŕĝē ŕēqũēśţ",
|
||||
"foundMatchingMergeRequests_other": "Ƒōũńď {{count}} ḿàţćĥĩńĝ ḿēŕĝē ŕēqũēśţś",
|
||||
"gitlabAuthenticationMethodUpdated": "ĜĩţĹàƀ àũţĥēńţĩćàţĩōń ḿēţĥōď ũƥďàţēď",
|
||||
"gitlabCredentialsAreConfiguredButAuthentication": "ĜĩţĹàƀ ćŕēďēńţĩàĺś àŕē ćōńƒĩĝũŕēď, ƀũţ àũţĥēńţĩćàţĩōń ƒàĩĺēď. Ŕēćōńńēćţ ĩń ",
|
||||
"gitlabHostUrlOverrideForSelf": "ĜĩţĹàƀ ĥōśţ ŨŔĹ. Ōvēŕŕĩďē ƒōŕ śēĺƒ-ḿàńàĝēď ĩńśţàńćēś; ĺēàvē àţ ţĥē ďēƒàũĺţ ƒōŕ {{host}}.",
|
||||
"gitlabIsNotConnectedConfigureGitlab": "ĜĩţĹàƀ ĩś ńōţ ćōńńēćţēď. Ćōńƒĩĝũŕē ĜĩţĹàƀ àũţĥēńţĩćàţĩōń ĩń ",
|
||||
"gitlabIssueWatch": "ĜĩţĹàƀ ĩśśũē ŵàţćĥ",
|
||||
"gitlabMergeRequest": "ĜĩţĹàƀ ḿēŕĝē ŕēqũēśţ !{{mriid}}",
|
||||
"gitlabMergeRequests": "{{length}} ĜĩţĹàƀ ḿēŕĝē ŕēqũēśţś",
|
||||
"gitlabQueryParameters": "ĜĩţĹàƀ qũēŕŷ ƥàŕàḿēţēŕś",
|
||||
"gitlabQuickActionsReset": "ĜĩţĹàƀ qũĩćķ àćţĩōńś ŕēśēţ",
|
||||
"gitlabQuickActionsSaved": "ĜĩţĹàƀ qũĩćķ àćţĩōńś śàvēď",
|
||||
"gitlabRejectedAction": "ĜĩţĹàƀ ŕēĵēćţēď ţĥē àćţĩōń.",
|
||||
"gitlabRejectedTheAction": "ĜĩţĹàƀ ŕēĵēćţēď ţĥē àćţĩōń.",
|
||||
"gitlabRejectedTheMergeRequestLink": "ĜĩţĹàƀ ŕēĵēćţēď ţĥē ḿēŕĝē ŕēqũēśţ ĺĩńķ.",
|
||||
"gitlabRejectedTheRequest": "ĜĩţĹàƀ ŕēĵēćţēď ţĥē ŕēqũēśţ.",
|
||||
"gitlabReviewWatch": "ĜĩţĹàƀ ŕēvĩēŵ ŵàţćĥ",
|
||||
"gitlabTokenCleared": "ĜĩţĹàƀ ţōķēń ćĺēàŕēď",
|
||||
"gitlabWatchCouldNotBeSaved": "ĜĩţĹàƀ ŵàţćĥ ćōũĺď ńōţ ƀē śàvēď",
|
||||
"gitlabWillMergeDescription": "ĜĩţĹàƀ ŵĩĺĺ ḿēŕĝē {{mr}} ĩńţō {{baseBranch}} ũśĩńĝ ţĥē ƥŕōĵēćţ ďēƒàũĺţ.",
|
||||
"glabCli": "ĝĺàƀ ĆĹĨ",
|
||||
"hideToken": "Ĥĩďē ţōķēń",
|
||||
"inbox": "Ĩńƀōx",
|
||||
"initialStepForEachNewTask": "Ĩńĩţĩàĺ śţēƥ ƒōŕ ēàćĥ ńēŵ ţàśķ.",
|
||||
"interval": "Ĩńţēŕvàĺ",
|
||||
"intervalMinutes_one": "{{count}}ḿ",
|
||||
"intervalMinutes_other": "{{count}}ḿ",
|
||||
"intervalMinutesLabel_one": "{{count}}ḿ ĩńţēŕvàĺ",
|
||||
"intervalMinutesLabel_other": "{{count}}ḿ ĩńţēŕvàĺ",
|
||||
"issues": "Ĩśśũēś",
|
||||
"intervalMinutes_one": "{{count}}ḿ",
|
||||
"intervalMinutes_other": "{{count}}ḿ",
|
||||
"into": "ĩńţō",
|
||||
"issueWatchCheckFailed": "Ĩśśũē ŵàţćĥ ćĥēćķ ƒàĩĺēď",
|
||||
"issueWatchCreated": "Ĩśśũē ŵàţćĥ ćŕēàţēď",
|
||||
"issueWatchCreationFailed": "Ĩśśũē ŵàţćĥ ćŕēàţĩōń ƒàĩĺēď",
|
||||
"issueWatchDeleted": "Ĩśśũē ŵàţćĥ ďēĺēţēď",
|
||||
"issueWatchDeletionFailed": "Ĩśśũē ŵàţćĥ ďēĺēţĩōń ƒàĩĺēď",
|
||||
"issueWatchDialogDescription": "Àũţōḿàţĩćàĺĺŷ ćŕēàţē ŵōŕķśƥàćē ţàśķś ƒōŕ ńēŵĺŷ ḿàţćĥĩńĝ ĜĩţĹàƀ ĩśśũēś.",
|
||||
"issueWatches": "Ĩśśũē ŵàţćĥēś",
|
||||
"issueWatchResetFailed": "Ĩśśũē ŵàţćĥ ŕēśēţ ƒàĩĺēď",
|
||||
"issueWatchReset_one": "Ĩśśũē ŵàţćĥ ŕēśēţ; {{count}} ţàśķ ďēĺēţēď",
|
||||
"issueWatchReset_other": "Ĩśśũē ŵàţćĥ ŕēśēţ; {{count}} ţàśķś ďēĺēţēď",
|
||||
"issueWatchResetFailed": "Ĩśśũē ŵàţćĥ ŕēśēţ ƒàĩĺēď",
|
||||
"issueWatchUpdated": "Ĩśśũē ŵàţćĥ ũƥďàţēď",
|
||||
"issueWatchUpdateFailed": "Ĩśśũē ŵàţćĥ ũƥďàţē ƒàĩĺēď",
|
||||
"issueWatchUpdated": "Ĩśśũē ŵàţćĥ ũƥďàţēď",
|
||||
"issueWatches": "Ĩśśũē ŵàţćĥēś",
|
||||
"issues": "Ĩśśũēś",
|
||||
"kindIssue": "ĩśśũē",
|
||||
"kindMergeRequest": "ḿēŕĝē ŕēqũēśţ",
|
||||
"label": "Ĺàƀēĺ",
|
||||
"labels": "Ĺàƀēĺś",
|
||||
"labelsUpdated": "Ĺàƀēĺś ũƥďàţēď",
|
||||
"lastChecked": "Ĺàśţ ćĥēćķēď",
|
||||
"lastCheckedAt": "Ĺàśţ ćĥēćķēď {{value}}",
|
||||
"leaveEmptyToMatchMergeRequests": "Ĺēàvē ēḿƥţŷ ţō ḿàţćĥ ḿēŕĝē ŕēqũēśţś ŕēqũēśţĩńĝ ŷōũŕ ŕēvĩēŵ. Àďďĩńĝ ƥàŕàḿēţēŕś ēxƥĺĩćĩţĺŷ ŕēƥĺàćēś ţĥàţ ŕēvĩēŵēŕ ćōńśţŕàĩńţ.",
|
||||
"linkAnotherMergeRequest": "Ĺĩńķ àńōţĥēŕ ḿēŕĝē ŕēqũēśţ",
|
||||
"linkGitlabMergeRequest": "Ĺĩńķ ĜĩţĹàƀ ḿēŕĝē ŕēqũēśţ",
|
||||
"linkMergeRequest": "Ĺĩńķ ḿēŕĝē ŕēqũēśţ",
|
||||
"linkedMergeRequest": "Ĺĩńķēď ḿēŕĝē ŕēqũēśţ",
|
||||
"linking": "Ĺĩńķĩńĝ…",
|
||||
"loadingMergeRequest": "Ĺōàďĩńĝ ḿēŕĝē ŕēqũēśţ",
|
||||
"loggedInAs": "Ĺōĝĝēď ĩń àś <1>{{username}}</1>",
|
||||
"match": "Ḿàţćĥ",
|
||||
"maximumInFlightTasks": "Ḿàxĩḿũḿ ĩń-ƒĺĩĝĥţ ţàśķś",
|
||||
"merge": "Ḿēŕĝē",
|
||||
"mergeRequest": "Ḿēŕĝē ŕēqũēśţ !{{mriid}}",
|
||||
"mergeRequestApproved": "Ḿēŕĝē ŕēqũēśţ àƥƥŕōvēď",
|
||||
"mergeRequestLabels": "Ḿēŕĝē ŕēqũēśţ ĺàƀēĺś",
|
||||
"mergeRequestMerged": "Ḿēŕĝē ŕēqũēśţ ḿēŕĝēď",
|
||||
"mergeRequestReviewWatches": "Ḿēŕĝē ŕēqũēśţ ŕēvĩēŵ ŵàţćĥēś",
|
||||
"mergeRequestUnlinked": "Ḿēŕĝē ŕēqũēśţ ũńĺĩńķēď",
|
||||
"mergeRequestUrl": "Ḿēŕĝē ŕēqũēśţ ŨŔĹ",
|
||||
"mergeRequests": "Ḿēŕĝē ŕēqũēśţś",
|
||||
"mergeRequestsAndIssues": "{{host}} · ḿēŕĝē ŕēqũēśţś àńď ĩśśũēś",
|
||||
"mergeThisMergeRequest": "Ḿēŕĝē ţĥĩś ḿēŕĝē ŕēqũēśţ?",
|
||||
"mergeability": "Ḿēŕĝēàƀĩĺĩţŷ",
|
||||
"mockTest": "Ḿōćķ (ţēśţ)",
|
||||
"mrs": "ḾŔś",
|
||||
"name": "Ńàḿē",
|
||||
"never": "Ńēvēŕ",
|
||||
"neverDelete": "Ńēvēŕ ďēĺēţē",
|
||||
"newWatch": "Ńēŵ ŵàţćĥ",
|
||||
"noChangedFiles": "Ńō ćĥàńĝēď ƒĩĺēś",
|
||||
"noCommits": "Ńō ćōḿḿĩţś",
|
||||
"noDiscussionsYet": "Ńō ďĩśćũśśĩōńś ŷēţ",
|
||||
"noIssuesMatchThisFilter": "Ńō ĩśśũēś ḿàţćĥ ţĥĩś ƒĩĺţēŕ.",
|
||||
"noLimit": "Ńō ĺĩḿĩţ",
|
||||
"noMergeRequestLinked": "Ńō ḿēŕĝē ŕēqũēśţ ĺĩńķēď ţō ţĥĩś śēśśĩōń.",
|
||||
"noMergeRequestsMatchThisFilter": "Ńō ḿēŕĝē ŕēqũēśţś ḿàţćĥ ţĥĩś ƒĩĺţēŕ.",
|
||||
"noNewIssuesMatched": "Ńō ńēŵ ĩśśũēś ḿàţćĥēď",
|
||||
"noNewMergeRequestsMatched": "Ńō ńēŵ ḿēŕĝē ŕēqũēśţś ḿàţćĥēď",
|
||||
"noPipeline": "Ńō ƥĩƥēĺĩńē",
|
||||
"noSavedQueriesYet": "Ńō śàvēď qũēŕĩēś ŷēţ.",
|
||||
"noTaskCreatedYet": "Ńō ţàśķ ćŕēàţēď ŷēţ",
|
||||
"noWatchesConfigured": "Ńō ŵàţćĥēś ćōńƒĩĝũŕēď.",
|
||||
"noneAssigned": "Ńōńē àśśĩĝńēď",
|
||||
"notConfigured": "Ńōţ ćōńƒĩĝũŕēď",
|
||||
"notConnected": "Ńōţ ćōńńēćţēď",
|
||||
"noWatchesConfigured": "Ńō ŵàţćĥēś ćōńƒĩĝũŕēď.",
|
||||
"notificationStatusUnavailable": "Ńōţĩƒĩćàţĩōń śţàţũś ũńàvàĩĺàƀĺē",
|
||||
"notificationUpdateFailed": "Ńōţĩƒĩćàţĩōń ũƥďàţē ƒàĩĺēď",
|
||||
"openGitlabFilters": "Ōƥēń ĜĩţĹàƀ ƒĩĺţēŕś",
|
||||
"openInGitlab": "Ōƥēń ĩń ĜĩţĹàƀ",
|
||||
"openMergeRequestInGitlab": "Ōƥēń ḿēŕĝē ŕēqũēśţ ĩń ĜĩţĹàƀ",
|
||||
"openSettingsToSeeMrsAndIssues": "<0>Śēţţĩńĝś → ĜĩţĹàƀ</0> ţō śēē ŷōũŕ ḿēŕĝē ŕēqũēśţś àńď ĩśśũēś.",
|
||||
"optionalCapPollingResumesWhenActive": "Ōƥţĩōńàĺ ćàƥ; ƥōĺĺĩńĝ ŕēśũḿēś ŵĥēń àćţĩvē ţàśķś ƒàĺĺ ƀēĺōŵ ĩţ.",
|
||||
"optionalCommaSeparatedGitlabLabelsThat": "Ōƥţĩōńàĺ ćōḿḿà-śēƥàŕàţēď ĜĩţĹàƀ ĺàƀēĺś ţĥàţ ḿàţćĥĩńĝ ĩśśũēś ḿũśţ ĩńćĺũďē.",
|
||||
"optionalCommaSeparatedNamespaceProjectPaths": "Ōƥţĩōńàĺ ćōḿḿà-śēƥàŕàţēď ńàḿēśƥàćē/ƥŕōĵēćţ ƥàţĥś. Ēḿƥţŷ ŵàţćĥēś ēvēŕŷ àććēśśĩƀĺē ƥŕōĵēćţ.",
|
||||
"optionalGitlabApiQueryParametersSuch": "Ōƥţĩōńàĺ ĜĩţĹàƀ ÀƤĨ qũēŕŷ ƥàŕàḿēţēŕś, śũćĥ àś {{example}}.",
|
||||
"optionalOtherwiseUsesTheWorkflowStep": "Ōƥţĩōńàĺ; ōţĥēŕŵĩśē ũśēś ţĥē ŵōŕķƒĺōŵ śţēƥ ďēƒàũĺţ.",
|
||||
"paused": "Ƥàũśēď",
|
||||
"pasteAMergeRequestUrlFrom": "Ƥàśţē à ḿēŕĝē ŕēqũēśţ ŨŔĹ ƒŕōḿ ţĥĩś ŵōŕķśƥàćē'ś ćōńƒĩĝũŕēď ĜĩţĹàƀ ĥōśţ.",
|
||||
"pauseWatch": "Ƥàũśē ŵàţćĥ",
|
||||
"paused": "Ƥàũśēď",
|
||||
"personalAccessToken": "Ƥēŕśōńàĺ àććēśś ţōķēń",
|
||||
"pipeline": "Ƥĩƥēĺĩńē",
|
||||
"pollGitlabForMergeRequestsAwaiting": "Ƥōĺĺ ĜĩţĹàƀ ƒōŕ ḿēŕĝē ŕēqũēśţś àŵàĩţĩńĝ ŕēvĩēŵ àńď ćŕēàţē ōńē ţàśķ ƥēŕ ńēŵ ḿàţćĥ.",
|
||||
"pollGitlabIssuesAndCreateOne": "Ƥōĺĺ ĜĩţĹàƀ ĩśśũēś àńď ćŕēàţē ōńē ţàśķ ƥēŕ ńēŵ ḿàţćĥ.",
|
||||
"pollingAndCleanup": "Ƥōĺĺĩńĝ àńď ćĺēàńũƥ",
|
||||
"pollIntervalSeconds": "Ƥōĺĺ ĩńţēŕvàĺ (śēćōńďś)",
|
||||
"pollingAndCleanup": "Ƥōĺĺĩńĝ àńď ćĺēàńũƥ",
|
||||
"pressEnter": "Ƥŕēśś Ēńţēŕ",
|
||||
"project": "Ƥŕōĵēćţ",
|
||||
"projectPaths": "Ƥŕōĵēćţ ƥàţĥś",
|
||||
"projects": "Ƥŕōĵēćţś",
|
||||
"promptSentToTheSelectedAgent": "Ƥŕōḿƥţ śēńţ ţō ţĥē śēĺēćţēď àĝēńţ ƥŕōƒĩĺē ƒōŕ ēàćĥ ńēŵ ḿàţćĥ.",
|
||||
"promptUsingUrlAndTitle": "Ƥŕōḿƥţ ũśĩńĝ {{url}} àńď {{title}}",
|
||||
"query": "Qũēŕŷ",
|
||||
"quickActions": "Qũĩćķ àćţĩōńś",
|
||||
"reconnectRequired": "Ŕēćōńńēćţ ŕēqũĩŕēď",
|
||||
"refresh": "Ŕēƒŕēśĥ",
|
||||
"refreshFailed": "Ŕēƒŕēśĥ ƒàĩĺēď: {{error}}",
|
||||
"refreshFailedShowingCached": "ĜĩţĹàƀ ŕēƒŕēśĥ ƒàĩĺēď: {{error}}. Śĥōŵĩńĝ ţĥē ĺàśţ śũććēśśƒũĺĺŷ ĺōàďēď ŕēvĩēŵ ďàţà.",
|
||||
"refreshMergeRequest": "Ŕēƒŕēśĥ ḿēŕĝē ŕēqũēśţ",
|
||||
"remove": "Ŕēḿōvē {{label}}",
|
||||
"removeFromAssignees": "Ŕēḿōvē {{username}} ƒŕōḿ àśśĩĝńēēś",
|
||||
"removeFromReviewers": "Ŕēḿōvē {{username}} ƒŕōḿ ŕēvĩēŵēŕś",
|
||||
"reply": "Ŕēƥĺŷ",
|
||||
"replyAdded": "Ŕēƥĺŷ àďďēď",
|
||||
"replyToThisDiscussion": "Ŕēƥĺŷ ţō ţĥĩś ďĩśćũśśĩōń",
|
||||
"resetQuickActionsToDefaults": "Ŕēśēţ qũĩćķ àćţĩōńś ţō ďēƒàũĺţś",
|
||||
"resetWatch": "Ŕēśēţ ŵàţćĥ",
|
||||
"resolve": "Ŕēśōĺvē",
|
||||
"resolved": "Ŕēśōĺvēď",
|
||||
"retry": "Ŕēţŕŷ",
|
||||
"review": "Ŕēvĩēŵ",
|
||||
"reviewScope": "Ŕēvĩēŵ śćōƥē",
|
||||
"reviewWatchCheckFailed": "Ŕēvĩēŵ ŵàţćĥ ćĥēćķ ƒàĩĺēď",
|
||||
"reviewWatchCreated": "Ŕēvĩēŵ ŵàţćĥ ćŕēàţēď",
|
||||
@@ -127,22 +232,50 @@
|
||||
"reviewWatchDeleted": "Ŕēvĩēŵ ŵàţćĥ ďēĺēţēď",
|
||||
"reviewWatchDeletionFailed": "Ŕēvĩēŵ ŵàţćĥ ďēĺēţĩōń ƒàĩĺēď",
|
||||
"reviewWatchDialogDescription": "Àũţōḿàţĩćàĺĺŷ ćŕēàţē ŵōŕķśƥàćē ţàśķś ƒōŕ ńēŵĺŷ ḿàţćĥĩńĝ ĜĩţĹàƀ ḿēŕĝē ŕēqũēśţś.",
|
||||
"reviewWatchResetFailed": "Ŕēvĩēŵ ŵàţćĥ ŕēśēţ ƒàĩĺēď",
|
||||
"reviewWatchReset_one": "Ŕēvĩēŵ ŵàţćĥ ŕēśēţ; {{count}} ţàśķ ďēĺēţēď",
|
||||
"reviewWatchReset_other": "Ŕēvĩēŵ ŵàţćĥ ŕēśēţ; {{count}} ţàśķś ďēĺēţēď",
|
||||
"reviewWatchResetFailed": "Ŕēvĩēŵ ŵàţćĥ ŕēśēţ ƒàĩĺēď",
|
||||
"reviewWatchUpdated": "Ŕēvĩēŵ ŵàţćĥ ũƥďàţēď",
|
||||
"reviewWatchUpdateFailed": "Ŕēvĩēŵ ŵàţćĥ ũƥďàţē ƒàĩĺēď",
|
||||
"reviewWatchUpdated": "Ŕēvĩēŵ ŵàţćĥ ũƥďàţēď",
|
||||
"reviewers": "Ŕēvĩēŵēŕś",
|
||||
"reviewersUpdated": "Ŕēvĩēŵēŕś ũƥďàţēď",
|
||||
"saveChangesBeforeCheckingNow": "Śàvē ćĥàńĝēś ƀēƒōŕē ćĥēćķĩńĝ ńōŵ",
|
||||
"saveCurrentQuery": "Śàvē ćũŕŕēńţ qũēŕŷ",
|
||||
"saveGitlabQuery": "Śàvē ĜĩţĹàƀ qũēŕŷ",
|
||||
"savePresetDescription": "Śàvē ţĥĩś {{kind}} qũēŕŷ ţō ţĥē śĩďēƀàŕ ƒōŕ qũĩćķ àććēśś ĺàţēŕ.",
|
||||
"saved": "Śàvēď",
|
||||
"savedQueryFallback": "Śàvēď qũēŕŷ",
|
||||
"saving": "Śàvĩńĝ...",
|
||||
"searchAssignees": "Śēàŕćĥ àśśĩĝńēēś",
|
||||
"searchProjectMembers": "Śēàŕćĥ ƥŕōĵēćţ ḿēḿƀēŕś",
|
||||
"searchReviewers": "Śēàŕćĥ ŕēvĩēŵēŕś",
|
||||
"selectWorkflow": "Śēĺēćţ ŵōŕķƒĺōŵ",
|
||||
"shortHint": "Śĥōŕţ ĥĩńţ",
|
||||
"showToken": "Śĥōŵ ţōķēń",
|
||||
"subscribe": "Śũƀśćŕĩƀē",
|
||||
"subscribeToNotifications": "Śũƀśćŕĩƀē ţō ĜĩţĹàƀ ńōţĩƒĩćàţĩōńś",
|
||||
"subscribedToGitlabNotifications": "Śũƀśćŕĩƀēď ţō ĜĩţĹàƀ ńōţĩƒĩćàţĩōńś",
|
||||
"task": "Ţàśķ",
|
||||
"taskAutomation": "Ţàśķ àũţōḿàţĩōń",
|
||||
"taskPrompt": "Ţàśķ ƥŕōḿƥţ",
|
||||
"taskPromptsShownOnTheGitlab": "Ţàśķ ƥŕōḿƥţś śĥōŵń ōń ţĥē ĜĩţĹàƀ ƀŕōŵśē ƥàĝē ƒōŕ ḿēŕĝē ŕēqũēśţś àńď ĩśśũēś.",
|
||||
"taskRepository": "Ţàśķ ŕēƥōśĩţōŕŷ",
|
||||
"theMergeRequestIsStillLinked": "Ţĥē ḿēŕĝē ŕēqũēśţ ĩś śţĩĺĺ ĺĩńķēď.",
|
||||
"thisMergeRequestBelongsToA": "Ţĥĩś ḿēŕĝē ŕēqũēśţ ƀēĺōńĝś ţō à ďĩƒƒēŕēńţ ĜĩţĹàƀ ĥōśţ ţĥàń ţĥē àćţĩvē ŵōŕķśƥàćē ćōńńēćţĩōń.",
|
||||
"thisWillDeleteEveryTaskCreated": "Ţĥĩś ŵĩĺĺ ďēĺēţē ēvēŕŷ ţàśķ ćŕēàţēď ƀŷ ţĥĩś ŵàţćĥ, ĩńćĺũďĩńĝ àŕćĥĩvēď ţàśķś, àńď ŕēḿōvē ĩţś ƥōĺĺĩńĝ ĥĩśţōŕŷ. Ţĥĩś ćàńńōţ ƀē ũńďōńē.",
|
||||
"titleIssues": "Ĩśśũēś",
|
||||
"titleMergeRequests": "Ḿēŕĝē ŕēqũēśţś",
|
||||
"typeACustomQueryFirst": "Ţŷƥē à ćũśţōḿ qũēŕŷ ƒĩŕśţ",
|
||||
"unapprove": "Ũńàƥƥŕōvē",
|
||||
"unlink": "Ũńĺĩńķ !",
|
||||
"unlinkMergeRequest": "Ũńĺĩńķ ḿēŕĝē ŕēqũēśţ",
|
||||
"unreachable": "Ũńŕēàćĥàƀĺē",
|
||||
"unsubscribe": "Ũńśũƀśćŕĩƀē",
|
||||
"unsubscribeFromNotifications": "Ũńśũƀśćŕĩƀē ƒŕōḿ ĜĩţĹàƀ ńōţĩƒĩćàţĩōńś",
|
||||
"unsubscribedFromGitlabNotifications": "Ũńśũƀśćŕĩƀēď ƒŕōḿ ĜĩţĹàƀ ńōţĩƒĩćàţĩōńś",
|
||||
"updateWatch": "Ũƥďàţē ŵàţćĥ",
|
||||
"updated": "Ũƥďàţēď ",
|
||||
"verifyingGitlabConnection": "Vēŕĩƒŷĩńĝ ĜĩţĹàƀ ćōńńēćţĩōń",
|
||||
"watchDeletionFailed": "Ŵàţćĥ ďēĺēţĩōń ƒàĩĺēď",
|
||||
"workflow": "Ŵōŕķƒĺōŵ",
|
||||
"workflowStep": "Ŵōŕķƒĺōŵ śţēƥ",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"deleteSavedQuery": "Ďēĺēţē śàvēď qũēŕŷ",
|
||||
"noSavedQueriesYet": "Ńō śàvēď qũēŕĩēś ŷēţ",
|
||||
"saveCurrentQuery": "Śàvē ćũŕŕēńţ qũēŕŷ",
|
||||
"savedQueries": "Śàvēď"
|
||||
}
|
||||
Reference in New Issue
Block a user