Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

feat(web): rebuild settings pages

Andrej3f15710726b5
diff --git a/apps/web/src/components/account/change-password-settings.tsx b/apps/web/src/components/account/change-password-settings.tsx
deleted file mode 100644
index 0f8382c32..000000000
--- a/apps/web/src/components/account/change-password-settings.tsx
+++ /dev/null
@@ -1,224 +0,0 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { Eye, EyeOff, Loader2 } from "lucide-react";
-import { useState } from "react";
-import {
- type ControllerRenderProps,
- type FieldValues,
- type Path,
- useForm,
-} from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input, type InputProps } from "@/components/ui/input";
-import useChangePassword from "@/hooks/mutations/use-change-password";
-import useListAccounts from "@/hooks/queries/use-list-accounts";
-import { toast } from "@/lib/toast";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
-
-type ChangePasswordFormValues = {
- currentPassword: string;
- newPassword: string;
- confirmPassword: string;
-};
-
-// A local password input so the show/hide toggle isn't copy-pasted three times.
-function PasswordInput<T extends FieldValues>({
- field,
- ...inputProps
-}: {
- field: ControllerRenderProps<T, Path<T>>;
-} & Omit<InputProps, "type">) {
- const { t } = useTranslation();
- const [show, setShow] = useState(false);
-
- return (
- <div className="relative">
- <Input type={show ? "text" : "password"} {...inputProps} {...field} />
- <button
- type="button"
- onClick={() => setShow((prev) => !prev)}
- className="touch-hitbox absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground"
- aria-label={
- show ? t("auth:forms.hidePassword") : t("auth:forms.showPassword")
- }
- aria-pressed={show}
- >
- {show ? <EyeOff size={16} /> : <Eye size={16} />}
- </button>
- </div>
- );
-}
-
-export function ChangePasswordSettings() {
- const { t } = useTranslation();
- const { data: accounts, isLoading, isError } = useListAccounts();
- const { mutateAsync: changePassword, isPending } = useChangePassword();
-
- const hasPassword =
- accounts?.some((account) => account.providerId === "credential") ?? false;
-
- const changePasswordSchema = z
- .object({
- currentPassword: z
- .string()
- .min(1, t("settings:securityPage.validation.currentRequired")),
- newPassword: z
- .string()
- .min(8, t("settings:securityPage.validation.tooShort")),
- confirmPassword: z
- .string()
- .min(1, t("settings:securityPage.validation.confirmRequired")),
- })
- .refine((values) => values.newPassword !== values.currentPassword, {
- message: t("settings:securityPage.validation.sameAsCurrent"),
- path: ["newPassword"],
- })
- .refine((values) => values.newPassword === values.confirmPassword, {
- message: t("settings:securityPage.validation.mismatch"),
- path: ["confirmPassword"],
- });
-
- const form = useForm<ChangePasswordFormValues>({
- resolver: standardSchemaResolver(changePasswordSchema),
- mode: "onChange",
- defaultValues: {
- currentPassword: "",
- newPassword: "",
- confirmPassword: "",
- },
- });
-
- const onSubmit = async (values: ChangePasswordFormValues) => {
- try {
- await changePassword({
- currentPassword: values.currentPassword,
- newPassword: values.newPassword,
- });
- form.reset();
- toast.success(t("settings:securityPage.updateSuccess"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:securityPage.updateError"),
- );
- }
- };
-
- return (
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:securityPage.sectionTitle")}
- description={t("settings:securityPage.sectionSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- {isLoading ? (
- <div className="flex justify-center py-6">
- <Loader2 className="size-4 animate-spin text-muted-foreground" />
- </div>
- ) : isError ? (
- <p className="text-sm text-destructive">
- {t("common:error.messages.unknown")}
- </p>
- ) : hasPassword ? (
- <Form {...form}>
- <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
- <FormField
- control={form.control}
- name="currentPassword"
- render={({ field }) => (
- <FormItem>
- <FormLabel className="text-sm font-medium">
- {t("settings:securityPage.currentPassword")}
- </FormLabel>
- <FormControl>
- <PasswordInput
- field={field}
- autoComplete="current-password"
- placeholder={t(
- "settings:securityPage.currentPasswordPlaceholder",
- )}
- />
- </FormControl>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="newPassword"
- render={({ field }) => (
- <FormItem>
- <FormLabel className="text-sm font-medium">
- {t("settings:securityPage.newPassword")}
- </FormLabel>
- <FormControl>
- <PasswordInput
- field={field}
- autoComplete="new-password"
- placeholder={t(
- "settings:securityPage.newPasswordPlaceholder",
- )}
- />
- </FormControl>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="confirmPassword"
- render={({ field }) => (
- <FormItem>
- <FormLabel className="text-sm font-medium">
- {t("settings:securityPage.confirmPassword")}
- </FormLabel>
- <FormControl>
- <PasswordInput
- field={field}
- autoComplete="new-password"
- placeholder={t(
- "settings:securityPage.confirmPasswordPlaceholder",
- )}
- />
- </FormControl>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <div className="flex justify-end">
- <Button type="submit" size="sm" disabled={isPending}>
- {isPending
- ? t("settings:securityPage.submitting")
- : t("settings:securityPage.submit")}
- </Button>
- </div>
- </form>
- </Form>
- ) : (
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:securityPage.noPassword.title")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:securityPage.noPassword.description")}
- </p>
- </div>
- )}
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/components/account/change-password/change-password-dialog.tsx b/apps/web/src/components/account/change-password/change-password-dialog.tsx
new file mode 100644
index 000000000..6788df537
--- /dev/null
+++ b/apps/web/src/components/account/change-password/change-password-dialog.tsx
@@ -0,0 +1,166 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import { useMemo } from "react";
+import { type Path, useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import {
+ type ChangePasswordFormValues,
+ createChangePasswordSchema,
+} from "@/components/account/change-password/create-change-password-schema";
+import { PasswordInput } from "@/components/account/change-password/password-input";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogClose,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import {
+ Form,
+ FormControl,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import useChangePassword from "@/hooks/mutations/use-change-password";
+import { toast } from "@/lib/toast";
+
+const EMPTY_VALUES: ChangePasswordFormValues = {
+ currentPassword: "",
+ newPassword: "",
+ confirmPassword: "",
+};
+
+const FIELDS: Array<{
+ name: Path<ChangePasswordFormValues>;
+ labelKey: string;
+ placeholderKey: string;
+ autoComplete: string;
+}> = [
+ {
+ name: "currentPassword",
+ labelKey: "settings:securityPage.currentPassword",
+ placeholderKey: "settings:securityPage.currentPasswordPlaceholder",
+ autoComplete: "current-password",
+ },
+ {
+ name: "newPassword",
+ labelKey: "settings:securityPage.newPassword",
+ placeholderKey: "settings:securityPage.newPasswordPlaceholder",
+ autoComplete: "new-password",
+ },
+ {
+ name: "confirmPassword",
+ labelKey: "settings:securityPage.confirmPassword",
+ placeholderKey: "settings:securityPage.confirmPasswordPlaceholder",
+ autoComplete: "new-password",
+ },
+];
+
+type ChangePasswordDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+};
+
+export function ChangePasswordDialog({
+ open,
+ onOpenChange,
+}: ChangePasswordDialogProps) {
+ const { t } = useTranslation();
+ const { mutateAsync: changePassword, isPending } = useChangePassword();
+ const schema = useMemo(() => createChangePasswordSchema(t), [t]);
+ const form = useForm<ChangePasswordFormValues>({
+ resolver: standardSchemaResolver(schema),
+ mode: "onChange",
+ defaultValues: EMPTY_VALUES,
+ });
+
+ const handleOpenChange = (next: boolean) => {
+ if (!next) form.reset(EMPTY_VALUES);
+ onOpenChange(next);
+ };
+
+ const onSubmit = async (values: ChangePasswordFormValues) => {
+ try {
+ await changePassword({
+ currentPassword: values.currentPassword,
+ newPassword: values.newPassword,
+ });
+ toast.success(t("settings:securityPage.updateSuccess"));
+ handleOpenChange(false);
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:securityPage.updateError"),
+ );
+ }
+ };
+
+ return (
+ <Dialog open={open} onOpenChange={handleOpenChange}>
+ <DialogPopup className="max-w-md">
+ <DialogHeader>
+ <DialogTitle>{t("settings:securityPage.dialogTitle")}</DialogTitle>
+ <DialogDescription>
+ {t("settings:securityPage.dialogDescription")}
+ </DialogDescription>
+ </DialogHeader>
+ <Form {...form}>
+ <form
+ onSubmit={form.handleSubmit(onSubmit)}
+ className="flex min-h-0 flex-col"
+ >
+ <DialogPanel className="space-y-4">
+ {FIELDS.map((item) => (
+ <FormField
+ key={item.name}
+ control={form.control}
+ name={item.name}
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>{t(item.labelKey)}</FormLabel>
+ <FormControl>
+ <PasswordInput
+ field={field}
+ autoComplete={item.autoComplete}
+ placeholder={t(item.placeholderKey)}
+ />
+ </FormControl>
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ ))}
+ </DialogPanel>
+ <DialogFooter>
+ <DialogClose
+ render={
+ <Button
+ type="button"
+ variant="outline"
+ disabled={isPending}
+ />
+ }
+ >
+ {t("common:actions.cancel")}
+ </DialogClose>
+ <Button
+ type="submit"
+ disabled={!form.formState.isValid || isPending}
+ >
+ {isPending
+ ? t("settings:securityPage.submitting")
+ : t("settings:securityPage.submit")}
+ </Button>
+ </DialogFooter>
+ </form>
+ </Form>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/account/change-password-settings.test.tsx b/apps/web/src/components/account/change-password/change-password-settings.test.tsx
similarity index 56%
rename from apps/web/src/components/account/change-password-settings.test.tsx
rename to apps/web/src/components/account/change-password/change-password-settings.test.tsx
index 3d855d3ae..882c4f8ba 100644
--- a/apps/web/src/components/account/change-password-settings.test.tsx
+++ b/apps/web/src/components/account/change-password/change-password-settings.test.tsx
@@ -15,10 +15,16 @@ import {
} from "vite-plus/test";
import { ChangePasswordSettings } from "./change-password-settings";
-const changePassword = vi.fn();
+const m = vi.hoisted(() => ({
+ changePassword: vi.fn(),
+ success: vi.fn(),
+ error: vi.fn(),
+}));
let accounts: Array<{ providerId: string }> | undefined = [];
let isError = false;
+vi.mock("@/lib/i18n", () => ({ i18n: { t: (key: string) => key } }));
+
vi.mock("react-i18next", () => ({
useTranslation: () => ({ t: (key: string) => key }),
}));
@@ -28,36 +34,42 @@ vi.mock("@/hooks/queries/use-list-accounts", () => ({
}));
vi.mock("@/hooks/mutations/use-change-password", () => ({
- default: () => ({ mutateAsync: changePassword, isPending: false }),
+ default: () => ({ mutateAsync: m.changePassword, isPending: false }),
}));
vi.mock("@/lib/toast", () => ({
- toast: { success: vi.fn(), error: vi.fn() },
+ toast: { success: m.success, error: m.error },
}));
+function openDialog() {
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:securityPage.changePassword",
+ }),
+ );
+}
+
function fillField(placeholderKey: string, value: string) {
fireEvent.change(screen.getByPlaceholderText(placeholderKey), {
target: { value },
});
}
-function submit() {
- fireEvent.click(
- screen.getByRole("button", { name: "settings:securityPage.submit" }),
- );
+function submitButton() {
+ return screen.getByRole("button", { name: "settings:securityPage.submit" });
}
describe("ChangePasswordSettings", () => {
afterEach(cleanup);
beforeEach(() => {
- changePassword.mockReset();
- changePassword.mockResolvedValue(undefined);
+ vi.clearAllMocks();
+ m.changePassword.mockResolvedValue(undefined);
accounts = [{ providerId: "credential" }];
isError = false;
});
- it("hides the form for an account with no password credential", () => {
+ it("explains why there is no password for an account without one", () => {
accounts = [{ providerId: "google" }];
render(<ChangePasswordSettings />);
@@ -65,76 +77,47 @@ describe("ChangePasswordSettings", () => {
screen.getByText("settings:securityPage.noPassword.title"),
).toBeTruthy();
expect(
- screen.queryByPlaceholderText(
- "settings:securityPage.newPasswordPlaceholder",
- ),
+ screen.queryByRole("button", {
+ name: "settings:securityPage.changePassword",
+ }),
).toBeNull();
});
- it("shows an error instead of the form when accounts fail to load", () => {
+ it("shows an error instead of the action when accounts fail to load", () => {
accounts = undefined;
isError = true;
render(<ChangePasswordSettings />);
expect(screen.getByText("common:error.messages.unknown")).toBeTruthy();
expect(
- screen.queryByPlaceholderText(
- "settings:securityPage.newPasswordPlaceholder",
- ),
+ screen.queryByRole("button", {
+ name: "settings:securityPage.changePassword",
+ }),
).toBeNull();
expect(
screen.queryByText("settings:securityPage.noPassword.title"),
).toBeNull();
});
- it("shows the change-password form for a credential account", () => {
+ it("opens the dialog with labelled password fields and a disabled submit", async () => {
render(<ChangePasswordSettings />);
+ openDialog();
expect(
- screen.getByPlaceholderText(
- "settings:securityPage.currentPasswordPlaceholder",
- ),
- ).toBeTruthy();
- expect(
- screen.getByPlaceholderText(
- "settings:securityPage.newPasswordPlaceholder",
- ),
- ).toBeTruthy();
- expect(
- screen.getByPlaceholderText(
- "settings:securityPage.confirmPasswordPlaceholder",
- ),
- ).toBeTruthy();
- });
-
- it("connects password inputs to labels and validation errors", async () => {
- render(<ChangePasswordSettings />);
-
- const currentPassword = screen.getByLabelText(
- "settings:securityPage.currentPassword",
- );
+ await screen.findByLabelText("settings:securityPage.currentPassword"),
+ ).toHaveAttribute("type", "password");
expect(
screen.getByLabelText("settings:securityPage.newPassword"),
).toHaveAttribute("type", "password");
expect(
screen.getByLabelText("settings:securityPage.confirmPassword"),
).toHaveAttribute("type", "password");
-
- submit();
-
- const error = await screen.findByText(
- "settings:securityPage.validation.currentRequired",
- );
- expect(currentPassword).toHaveAttribute("aria-invalid", "true");
- expect(
- currentPassword.getAttribute("aria-describedby")?.split(" "),
- ).toContain(error.id);
- await waitFor(() => expect(currentPassword).toHaveFocus());
- expect(changePassword).not.toHaveBeenCalled();
+ expect(submitButton()).toBeDisabled();
});
- it("blocks the submit when the confirmation does not match", async () => {
+ it("keeps the submit disabled when the confirmation does not match", async () => {
render(<ChangePasswordSettings />);
+ openDialog();
fillField("settings:securityPage.currentPasswordPlaceholder", "oldpass12");
fillField("settings:securityPage.newPasswordPlaceholder", "newpass12");
@@ -142,41 +125,53 @@ describe("ChangePasswordSettings", () => {
"settings:securityPage.confirmPasswordPlaceholder",
"different12",
);
- submit();
expect(
await screen.findByText("settings:securityPage.validation.mismatch"),
).toBeTruthy();
- expect(changePassword).not.toHaveBeenCalled();
+ expect(submitButton()).toBeDisabled();
+ expect(m.changePassword).not.toHaveBeenCalled();
});
- it("blocks the submit when the new password equals the current one", async () => {
+ it("flags a new password that equals the current one", async () => {
render(<ChangePasswordSettings />);
+ openDialog();
fillField("settings:securityPage.currentPasswordPlaceholder", "samepass12");
fillField("settings:securityPage.newPasswordPlaceholder", "samepass12");
- fillField("settings:securityPage.confirmPasswordPlaceholder", "samepass12");
- submit();
expect(
await screen.findByText("settings:securityPage.validation.sameAsCurrent"),
).toBeTruthy();
- expect(changePassword).not.toHaveBeenCalled();
+ expect(submitButton()).toBeDisabled();
});
- it("submits the current and new password when the form is valid", async () => {
+ it("submits a valid change, confirms it, and closes the dialog", async () => {
render(<ChangePasswordSettings />);
+ openDialog();
fillField("settings:securityPage.currentPasswordPlaceholder", "oldpass12");
fillField("settings:securityPage.newPasswordPlaceholder", "newpass12");
fillField("settings:securityPage.confirmPasswordPlaceholder", "newpass12");
- submit();
+
+ await waitFor(() => expect(submitButton()).toBeEnabled());
+ fireEvent.click(submitButton());
await waitFor(() =>
- expect(changePassword).toHaveBeenCalledWith({
+ expect(m.changePassword).toHaveBeenCalledWith({
currentPassword: "oldpass12",
newPassword: "newpass12",
}),
);
+ expect(m.success).toHaveBeenCalledWith(
+ "settings:securityPage.updateSuccess",
+ );
+ await waitFor(() =>
+ expect(
+ screen.queryByPlaceholderText(
+ "settings:securityPage.currentPasswordPlaceholder",
+ ),
+ ).toBeNull(),
+ );
});
});
diff --git a/apps/web/src/components/account/change-password/change-password-settings.tsx b/apps/web/src/components/account/change-password/change-password-settings.tsx
new file mode 100644
index 000000000..f15fe7ff8
--- /dev/null
+++ b/apps/web/src/components/account/change-password/change-password-settings.tsx
@@ -0,0 +1,69 @@
+import { Loader2, Lock } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ChangePasswordDialog } from "@/components/account/change-password/change-password-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useListAccounts from "@/hooks/queries/use-list-accounts";
+
+export function ChangePasswordSettings() {
+ const { t } = useTranslation();
+ const { data: accounts, isLoading, isError } = useListAccounts();
+ const [open, setOpen] = useState(false);
+ const hasPassword =
+ accounts?.some((account) => account.providerId === "credential") ?? false;
+
+ return (
+ <SettingsSection title={t("settings:securityPage.sectionTitle")}>
+ <SettingsCard>
+ {isLoading ? (
+ <SettingsRow
+ icon={<Lock />}
+ title={t("settings:securityPage.passwordTitle")}
+ >
+ <Loader2
+ aria-hidden="true"
+ className="size-4 animate-spin text-muted-foreground"
+ />
+ </SettingsRow>
+ ) : isError ? (
+ <SettingsRow
+ icon={<Lock />}
+ title={t("settings:securityPage.passwordTitle")}
+ description={
+ <span className="text-destructive">
+ {t("common:error.messages.unknown")}
+ </span>
+ }
+ />
+ ) : hasPassword ? (
+ <SettingsRow
+ icon={<Lock />}
+ title={t("settings:securityPage.passwordTitle")}
+ description={t("settings:securityPage.passwordHint")}
+ >
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:securityPage.changePassword")}
+ </Button>
+ </SettingsRow>
+ ) : (
+ <SettingsRow
+ icon={<Lock />}
+ title={t("settings:securityPage.noPassword.title")}
+ description={t("settings:securityPage.noPassword.description")}
+ />
+ )}
+ </SettingsCard>
+ {hasPassword ? (
+ <ChangePasswordDialog open={open} onOpenChange={setOpen} />
+ ) : null}
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/account/change-password/create-change-password-schema.ts b/apps/web/src/components/account/change-password/create-change-password-schema.ts
new file mode 100644
index 000000000..35566545f
--- /dev/null
+++ b/apps/web/src/components/account/change-password/create-change-password-schema.ts
@@ -0,0 +1,31 @@
+import type { TFunction } from "i18next";
+import { z } from "zod";
+
+export type ChangePasswordFormValues = {
+ currentPassword: string;
+ newPassword: string;
+ confirmPassword: string;
+};
+
+export function createChangePasswordSchema(t: TFunction) {
+ return z
+ .object({
+ currentPassword: z
+ .string()
+ .min(1, t("settings:securityPage.validation.currentRequired")),
+ newPassword: z
+ .string()
+ .min(8, t("settings:securityPage.validation.tooShort")),
+ confirmPassword: z
+ .string()
+ .min(1, t("settings:securityPage.validation.confirmRequired")),
+ })
+ .refine((values) => values.newPassword !== values.currentPassword, {
+ message: t("settings:securityPage.validation.sameAsCurrent"),
+ path: ["newPassword"],
+ })
+ .refine((values) => values.newPassword === values.confirmPassword, {
+ message: t("settings:securityPage.validation.mismatch"),
+ path: ["confirmPassword"],
+ });
+}
diff --git a/apps/web/src/components/account/change-password/password-input.tsx b/apps/web/src/components/account/change-password/password-input.tsx
new file mode 100644
index 000000000..07de68c9c
--- /dev/null
+++ b/apps/web/src/components/account/change-password/password-input.tsx
@@ -0,0 +1,39 @@
+import { Eye, EyeOff } from "lucide-react";
+import { useState } from "react";
+import type { ControllerRenderProps, FieldValues, Path } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { Input, type InputProps } from "@/components/ui/input";
+
+type PasswordInputProps<T extends FieldValues> = {
+ field: ControllerRenderProps<T, Path<T>>;
+} & Omit<InputProps, "type">;
+
+export function PasswordInput<T extends FieldValues>({
+ field,
+ ...inputProps
+}: PasswordInputProps<T>) {
+ const { t } = useTranslation();
+ const [show, setShow] = useState(false);
+
+ return (
+ <div className="relative">
+ <Input
+ type={show ? "text" : "password"}
+ className="[&_input]:pe-9"
+ {...inputProps}
+ {...field}
+ />
+ <button
+ type="button"
+ onClick={() => setShow((prev) => !prev)}
+ className="touch-hitbox absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-foreground"
+ aria-label={
+ show ? t("auth:forms.hidePassword") : t("auth:forms.showPassword")
+ }
+ aria-pressed={show}
+ >
+ {show ? <EyeOff size={16} /> : <Eye size={16} />}
+ </button>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/account/notification-preferences-settings.test.tsx b/apps/web/src/components/account/notification-preferences-settings.test.tsx
deleted file mode 100644
index 637f93084..000000000
--- a/apps/web/src/components/account/notification-preferences-settings.test.tsx
+++ /dev/null
@@ -1,166 +0,0 @@
-import {
- cleanup,
- fireEvent,
- render,
- screen,
- waitFor,
-} from "@testing-library/react";
-import {
- afterEach,
- beforeEach,
- describe,
- expect,
- it,
- vi,
-} from "vite-plus/test";
-import { NotificationPreferencesSettings } from "./notification-preferences-settings";
-
-const updatePreferences = vi.fn();
-const preferences = {
- emailAddress: "[email protected]",
- emailEnabled: false,
- ntfyEnabled: false,
- ntfyConfigured: false,
- ntfyServerUrl: null,
- ntfyTopic: null,
- ntfyTokenConfigured: false,
- maskedNtfyToken: null,
- gotifyEnabled: false,
- gotifyConfigured: false,
- gotifyServerUrl: null,
- gotifyTokenConfigured: false,
- maskedGotifyToken: null,
- webhookEnabled: false,
- webhookConfigured: false,
- webhookUrl: null,
- webhookSecretConfigured: false,
- maskedWebhookSecret: null,
- taskAssignmentEnabled: true,
- taskCommentEnabled: true,
- taskStatusChangeEnabled: true,
- dueDateReminderEnabled: true,
- dueDateReminderLeadTimeMinutes: 1440,
- workspaces: [],
- createdAt: null,
- updatedAt: null,
-};
-
-vi.mock("react-i18next", () => ({
- useTranslation: () => ({ t: (key: string) => key }),
-}));
-
-vi.mock(
- "@/hooks/queries/notification-preferences/use-get-notification-preferences",
- () => ({
- default: () => ({
- data: preferences,
- isLoading: false,
- }),
- }),
-);
-
-vi.mock("@/hooks/queries/workspace/use-get-workspaces", () => ({
- default: () => ({ data: [] }),
-}));
-
-vi.mock(
- "@/hooks/mutations/notification-preferences/use-notification-preferences",
- () => ({
- useUpdateNotificationPreferences: () => ({
- mutateAsync: updatePreferences,
- isPending: false,
- }),
- useUpsertNotificationWorkspaceRule: () => ({ mutateAsync: vi.fn() }),
- useDeleteNotificationWorkspaceRule: () => ({ mutateAsync: vi.fn() }),
- }),
-);
-
-describe("NotificationPreferencesSettings", () => {
- afterEach(cleanup);
-
- beforeEach(() => {
- updatePreferences.mockReset();
- updatePreferences.mockResolvedValue(undefined);
- });
-
- it("saves event preferences and a configurable reminder lead time", async () => {
- render(<NotificationPreferencesSettings />);
-
- fireEvent.click(
- screen.getByRole("switch", {
- name: "settings:notificationsPage.eventTaskAssignments",
- }),
- );
- fireEvent.change(
- screen.getByLabelText("settings:notificationsPage.reminderLeadTimeLabel"),
- {
- target: { value: "2" },
- },
- );
- fireEvent.click(
- screen.getByRole("button", {
- name: "settings:notificationsPage.saveEventPreferences",
- }),
- );
-
- await waitFor(() =>
- expect(updatePreferences).toHaveBeenCalledWith({
- taskAssignmentEnabled: false,
- taskCommentEnabled: true,
- taskStatusChangeEnabled: true,
- dueDateReminderEnabled: true,
- dueDateReminderLeadTimeMinutes: 2880,
- }),
- );
- });
-
- it("blocks saving a cleared reminder lead time", () => {
- render(<NotificationPreferencesSettings />);
-
- fireEvent.change(
- screen.getByLabelText("settings:notificationsPage.reminderLeadTimeLabel"),
- {
- target: { value: "" },
- },
- );
-
- expect(
- screen.getByText("settings:notificationsPage.reminderLeadTimeInvalid"),
- ).toBeTruthy();
- expect(
- screen.getByRole("button", {
- name: "settings:notificationsPage.saveEventPreferences",
- }),
- ).toHaveProperty("disabled", true);
- });
-
- it("saves disabled reminders without validating their retained lead time", async () => {
- render(<NotificationPreferencesSettings />);
-
- fireEvent.change(
- screen.getByLabelText("settings:notificationsPage.reminderLeadTimeLabel"),
- {
- target: { value: "0" },
- },
- );
- fireEvent.click(
- screen.getByRole("switch", {
- name: "settings:notificationsPage.eventDueDateReminders",
- }),
- );
- fireEvent.click(
- screen.getByRole("button", {
- name: "settings:notificationsPage.saveEventPreferences",
- }),
- );
-
- await waitFor(() =>
- expect(updatePreferences).toHaveBeenCalledWith({
- taskAssignmentEnabled: true,
- taskCommentEnabled: true,
- taskStatusChangeEnabled: true,
- dueDateReminderEnabled: false,
- }),
- );
- });
-});
diff --git a/apps/web/src/components/account/notification-preferences-settings.tsx b/apps/web/src/components/account/notification-preferences-settings.tsx
deleted file mode 100644
index ee0b017ab..000000000
--- a/apps/web/src/components/account/notification-preferences-settings.tsx
+++ /dev/null
@@ -1,1227 +0,0 @@
-import { CheckCircle, Trash2 } from "lucide-react";
-import React from "react";
-import { useTranslation } from "react-i18next";
-import { Button } from "@/components/ui/button";
-import { Checkbox } from "@/components/ui/checkbox";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import {
- NumberField,
- NumberFieldDecrement,
- NumberFieldGroup,
- NumberFieldIncrement,
- NumberFieldInput,
-} from "@/components/ui/number-field";
-import { Radio, RadioGroup } from "@/components/ui/radio-group";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import { Separator } from "@/components/ui/separator";
-import { Switch } from "@/components/ui/switch";
-import {
- useDeleteNotificationWorkspaceRule,
- useUpdateNotificationPreferences,
- useUpsertNotificationWorkspaceRule,
-} from "@/hooks/mutations/notification-preferences/use-notification-preferences";
-import useGetNotificationPreferences from "@/hooks/queries/notification-preferences/use-get-notification-preferences";
-import useGetProjects from "@/hooks/queries/project/use-get-projects";
-import useGetWorkspaces from "@/hooks/queries/workspace/use-get-workspaces";
-
-type WorkspaceSummary = {
- id: string;
- name: string;
-};
-
-type WorkspaceRuleState = {
- isActive: boolean;
- emailEnabled: boolean;
- ntfyEnabled: boolean;
- gotifyEnabled: boolean;
- webhookEnabled: boolean;
- projectMode: "all" | "selected";
- selectedProjectIds: string[];
-};
-
-type GlobalChannelPrefsState = {
- emailEnabled: boolean;
- ntfy: { enabled: boolean; serverUrl: string; topic: string; token: string };
- gotify: { enabled: boolean; serverUrl: string; token: string };
- webhook: { enabled: boolean; url: string; secret: string };
-};
-
-type NotificationEventPrefsState = {
- taskAssignmentEnabled: boolean;
- taskCommentEnabled: boolean;
- taskStatusChangeEnabled: boolean;
- dueDateReminderEnabled: boolean;
- dueDateReminderLeadAmount: number;
- dueDateReminderLeadUnit: "hours" | "days";
-};
-
-function createWorkspaceRuleState(input: {
- hasEmailChannel: boolean;
- hasGotifyChannel: boolean;
- hasNtfyChannel: boolean;
- hasWebhookChannel: boolean;
- rule?: WorkspaceRuleState;
-}): WorkspaceRuleState {
- if (input.rule) {
- return {
- isActive: input.rule.isActive,
- emailEnabled: input.rule.emailEnabled,
- ntfyEnabled: input.rule.ntfyEnabled,
- gotifyEnabled: input.rule.gotifyEnabled,
- webhookEnabled: input.rule.webhookEnabled,
- projectMode: input.rule.projectMode,
- selectedProjectIds: input.rule.selectedProjectIds,
- };
- }
-
- return {
- isActive: false,
- emailEnabled: input.hasEmailChannel,
- ntfyEnabled: input.hasNtfyChannel,
- gotifyEnabled: input.hasGotifyChannel,
- webhookEnabled: input.hasWebhookChannel,
- projectMode: "all",
- selectedProjectIds: [],
- };
-}
-
-function createDefaultGlobalChannelPrefs(): GlobalChannelPrefsState {
- return {
- emailEnabled: false,
- ntfy: { enabled: false, serverUrl: "", topic: "", token: "" },
- gotify: { enabled: false, serverUrl: "", token: "" },
- webhook: { enabled: false, url: "", secret: "" },
- };
-}
-
-function ChannelCard({
- actions,
- channel,
- children,
- description,
- headerRight,
- title,
-}: {
- channel: "email" | "gotify" | "ntfy" | "webhook";
- title: React.ReactNode;
- description: React.ReactNode;
- headerRight: React.ReactNode;
- children: React.ReactNode;
- actions: React.ReactNode;
-}) {
- return (
- <div
- className="space-y-4 rounded-xl border border-border bg-card p-4"
- data-channel={channel}
- >
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <h3 className="font-medium">{title}</h3>
- <p className="text-sm text-muted-foreground">{description}</p>
- </div>
- {headerRight}
- </div>
- {children}
- {actions}
- </div>
- );
-}
-
-function ChannelToggle({
- checked,
- disabled,
- hint,
- label,
- onCheckedChange,
-}: {
- checked: boolean;
- disabled?: boolean;
- hint?: string;
- label: string;
- onCheckedChange: (checked: boolean) => void;
-}) {
- const id = React.useId();
-
- return (
- <div className="flex items-center justify-between gap-4">
- <div className="min-w-0 space-y-0.5">
- <Label className="text-sm font-medium" htmlFor={id}>
- {label}
- </Label>
- {hint ? <p className="text-xs text-muted-foreground">{hint}</p> : null}
- </div>
- <Switch
- checked={checked}
- disabled={disabled}
- id={id}
- onCheckedChange={onCheckedChange}
- />
- </div>
- );
-}
-
-function WorkspaceRuleCard({
- hasEmailChannel,
- hasGotifyChannel,
- hasNtfyChannel,
- hasWebhookChannel,
- onDelete,
- onSave,
- rule,
- workspace,
-}: {
- hasEmailChannel: boolean;
- hasGotifyChannel: boolean;
- hasNtfyChannel: boolean;
- hasWebhookChannel: boolean;
- onDelete: (workspaceId: string) => Promise<unknown>;
- onSave: (workspaceId: string, rule: WorkspaceRuleState) => Promise<void>;
- rule?: {
- isActive: boolean;
- emailEnabled: boolean;
- ntfyEnabled: boolean;
- gotifyEnabled: boolean;
- webhookEnabled: boolean;
- projectMode: "all" | "selected";
- selectedProjectIds: string[];
- };
- workspace: WorkspaceSummary;
-}) {
- const { t } = useTranslation();
- const [state, setState] = React.useState<WorkspaceRuleState>(() =>
- createWorkspaceRuleState({
- hasEmailChannel,
- hasGotifyChannel,
- hasNtfyChannel,
- hasWebhookChannel,
- rule,
- }),
- );
- const [isSaving, setIsSaving] = React.useState(false);
- const [isDeleting, setIsDeleting] = React.useState(false);
- const { data: projects } = useGetProjects({
- workspaceId:
- state.projectMode === "selected" ||
- (rule?.projectMode ?? "all") === "selected"
- ? workspace.id
- : "",
- });
-
- React.useEffect(() => {
- setState(
- createWorkspaceRuleState({
- hasEmailChannel,
- hasGotifyChannel,
- hasNtfyChannel,
- hasWebhookChannel,
- rule,
- }),
- );
- }, [
- hasEmailChannel,
- hasGotifyChannel,
- hasNtfyChannel,
- hasWebhookChannel,
- rule,
- ]);
-
- const isConnected = Boolean(rule);
- const isBusy = isSaving || isDeleting;
-
- const toggleProject = (projectId: string, checked: boolean) => {
- setState((current) => ({
- ...current,
- selectedProjectIds: checked
- ? [...current.selectedProjectIds, projectId]
- : current.selectedProjectIds.filter((id) => id !== projectId),
- }));
- };
-
- return (
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="min-w-0 space-y-1">
- <p className="text-sm font-medium">{workspace.name}</p>
- <p className="text-xs text-muted-foreground">
- {t("settings:notificationsPage.workspaceCardHint")}
- </p>
- </div>
-
- <div className="flex shrink-0 items-center gap-3">
- {isConnected ? (
- <div className="flex items-center gap-2 text-xs text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {state.isActive
- ? t("settings:notificationsPage.statusConnected")
- : t("settings:notificationsPage.statusPaused")}
- </span>
- </div>
- ) : null}
- <Switch
- aria-label={t("settings:notificationsPage.workspaceEnabledLabel", {
- workspaceName: workspace.name,
- })}
- checked={state.isActive}
- disabled={isBusy}
- onCheckedChange={(checked) =>
- setState((current) => ({ ...current, isActive: checked }))
- }
- />
- </div>
- </div>
-
- <Separator />
-
- <div className="space-y-3">
- <ChannelToggle
- checked={state.emailEnabled}
- disabled={!hasEmailChannel || isBusy}
- hint={
- hasEmailChannel
- ? t("settings:notificationsPage.emailChannelHintEnabled")
- : t("settings:notificationsPage.emailChannelHintDisabled")
- }
- label={t("settings:notificationsPage.workspaceCardLabelEmail")}
- onCheckedChange={(checked) =>
- setState((current) => ({ ...current, emailEnabled: checked }))
- }
- />
- <ChannelToggle
- checked={state.ntfyEnabled}
- disabled={!hasNtfyChannel || isBusy}
- hint={
- hasNtfyChannel
- ? t("settings:notificationsPage.ntfyChannelHintEnabled")
- : t("settings:notificationsPage.ntfyChannelHintDisabled")
- }
- label={t("settings:notificationsPage.workspaceCardLabelNtfy")}
- onCheckedChange={(checked) =>
- setState((current) => ({ ...current, ntfyEnabled: checked }))
- }
- />
- <ChannelToggle
- checked={state.gotifyEnabled}
- disabled={!hasGotifyChannel || isBusy}
- hint={
- hasGotifyChannel
- ? t("settings:notificationsPage.gotifyChannelHintEnabled")
- : t("settings:notificationsPage.gotifyChannelHintDisabled")
- }
- label={t("settings:notificationsPage.workspaceCardLabelGotify")}
- onCheckedChange={(checked) =>
- setState((current) => ({ ...current, gotifyEnabled: checked }))
- }
- />
- <ChannelToggle
- checked={state.webhookEnabled}
- disabled={!hasWebhookChannel || isBusy}
- hint={
- hasWebhookChannel
- ? t("settings:notificationsPage.webhookChannelHintEnabled")
- : t("settings:notificationsPage.webhookChannelHintDisabled")
- }
- label={t("settings:notificationsPage.workspaceCardLabelWebhook")}
- onCheckedChange={(checked) =>
- setState((current) => ({ ...current, webhookEnabled: checked }))
- }
- />
- </div>
-
- <Separator />
-
- <div className="space-y-3">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.projectScope")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:notificationsPage.projectScopeDescription")}
- </p>
- </div>
-
- <RadioGroup
- className="gap-2"
- value={state.projectMode}
- onValueChange={(value) =>
- setState((current) => ({
- ...current,
- projectMode: value === "selected" ? "selected" : "all",
- }))
- }
- >
- <label
- className="flex items-start gap-3"
- htmlFor={`${workspace.id}-project-scope-all`}
- >
- <Radio
- className="mt-0.5"
- id={`${workspace.id}-project-scope-all`}
- value="all"
- />
- <div className="min-w-0 space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:notificationsPage.allProjects")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:notificationsPage.allProjectsDescription")}
- </p>
- </div>
- </label>
-
- <label
- className="flex items-start gap-3"
- htmlFor={`${workspace.id}-project-scope-selected`}
- >
- <Radio
- className="mt-0.5"
- id={`${workspace.id}-project-scope-selected`}
- value="selected"
- />
- <div className="min-w-0 space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:notificationsPage.selectedProjects")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:notificationsPage.selectedProjectsDescription")}
- </p>
- </div>
- </label>
- </RadioGroup>
-
- {state.projectMode === "selected" ? (
- <div className="space-y-2 border border-dashed border-border/80 rounded-md px-3 py-3">
- {!projects?.length ? (
- <p className="text-sm text-muted-foreground">
- {t("settings:notificationsPage.noProjectsInWorkspace")}
- </p>
- ) : (
- projects.map((project) => {
- const checked = state.selectedProjectIds.includes(project.id);
-
- return (
- <label
- key={project.id}
- className="flex items-center gap-3"
- htmlFor={`${workspace.id}-project-${project.id}`}
- >
- <Checkbox
- checked={checked}
- id={`${workspace.id}-project-${project.id}`}
- onCheckedChange={(value) =>
- toggleProject(project.id, Boolean(value))
- }
- />
- <span className="text-sm font-medium">{project.name}</span>
- </label>
- );
- })
- )}
- </div>
- ) : null}
- </div>
-
- <Separator />
-
- <div className="flex flex-wrap gap-2">
- <Button
- disabled={isBusy}
- onClick={async () => {
- setIsSaving(true);
- try {
- await onSave(workspace.id, state);
- } finally {
- setIsSaving(false);
- }
- }}
- type="button"
- >
- {isConnected
- ? t("settings:notificationsPage.saveChanges")
- : t("settings:notificationsPage.createRule")}
- </Button>
- {isConnected ? (
- <Button
- disabled={isBusy}
- onClick={async () => {
- setIsDeleting(true);
- try {
- await onDelete(workspace.id);
- } finally {
- setIsDeleting(false);
- }
- }}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:notificationsPage.removeRule")}
- </Button>
- ) : null}
- </div>
- </div>
- );
-}
-
-export function NotificationPreferencesSettings() {
- const { t } = useTranslation();
- const { data: preferences, isLoading } = useGetNotificationPreferences();
- const { data: workspacesData } = useGetWorkspaces();
- const { mutateAsync: updatePreferences, isPending: isSavingPreferences } =
- useUpdateNotificationPreferences();
- const { mutateAsync: upsertWorkspaceRule } =
- useUpsertNotificationWorkspaceRule();
- const { mutateAsync: deleteWorkspaceRule } =
- useDeleteNotificationWorkspaceRule();
-
- const workspaces = React.useMemo(
- () =>
- ((workspacesData ?? []) as WorkspaceSummary[]).map((workspace) => ({
- id: workspace.id,
- name: workspace.name,
- })),
- [workspacesData],
- );
-
- const [globalPrefs, setGlobalPrefs] = React.useState<GlobalChannelPrefsState>(
- createDefaultGlobalChannelPrefs,
- );
- const [eventPrefs, setEventPrefs] =
- React.useState<NotificationEventPrefsState>({
- taskAssignmentEnabled: true,
- taskCommentEnabled: true,
- taskStatusChangeEnabled: true,
- dueDateReminderEnabled: true,
- dueDateReminderLeadAmount: 1,
- dueDateReminderLeadUnit: "days",
- });
-
- React.useEffect(() => {
- if (!preferences) return;
- setGlobalPrefs({
- emailEnabled: preferences.emailEnabled,
- ntfy: {
- enabled: preferences.ntfyEnabled,
- serverUrl: preferences.ntfyServerUrl ?? "",
- topic: preferences.ntfyTopic ?? "",
- token: "",
- },
- gotify: {
- enabled: preferences.gotifyEnabled,
- serverUrl: preferences.gotifyServerUrl ?? "",
- token: "",
- },
- webhook: {
- enabled: preferences.webhookEnabled,
- url: preferences.webhookUrl ?? "",
- secret: "",
- },
- });
- const leadMinutes = preferences.dueDateReminderLeadTimeMinutes;
- setEventPrefs({
- taskAssignmentEnabled: preferences.taskAssignmentEnabled,
- taskCommentEnabled: preferences.taskCommentEnabled,
- taskStatusChangeEnabled: preferences.taskStatusChangeEnabled,
- dueDateReminderEnabled: preferences.dueDateReminderEnabled,
- ...(leadMinutes > 0 && leadMinutes % 1440 === 0
- ? {
- dueDateReminderLeadAmount: leadMinutes / 1440,
- dueDateReminderLeadUnit: "days" as const,
- }
- : {
- dueDateReminderLeadAmount: Math.max(
- 1,
- Math.round(leadMinutes / 60),
- ),
- dueDateReminderLeadUnit: "hours" as const,
- }),
- });
- }, [preferences]);
-
- const leadTimeMax = eventPrefs.dueDateReminderLeadUnit === "days" ? 30 : 720;
- const leadTimeValid =
- Number.isInteger(eventPrefs.dueDateReminderLeadAmount) &&
- eventPrefs.dueDateReminderLeadAmount >= 1 &&
- eventPrefs.dueDateReminderLeadAmount <= leadTimeMax;
-
- const workspaceRuleMap = React.useMemo(
- () =>
- new Map(
- (preferences?.workspaces ?? []).map((workspaceRule) => [
- workspaceRule.workspaceId,
- workspaceRule,
- ]),
- ),
- [preferences?.workspaces],
- );
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="h-24 animate-pulse rounded-md bg-muted" />
- <div className="h-24 animate-pulse rounded-md bg-muted" />
- <div className="h-48 animate-pulse rounded-md bg-muted" />
- </div>
- );
- }
-
- return (
- <div className="space-y-8">
- <div className="flex flex-col gap-5 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col gap-1">
- <h2 className="font-medium">
- {t("settings:notificationsPage.eventPreferencesTitle")}
- </h2>
- <p className="text-sm text-muted-foreground">
- {t("settings:notificationsPage.eventPreferencesDescription")}
- </p>
- <p className="text-sm text-muted-foreground">
- {t("settings:notificationsPage.recipientHint")}
- </p>
- </div>
-
- <div className="flex flex-col gap-4">
- <ChannelToggle
- checked={eventPrefs.taskAssignmentEnabled}
- label={t("settings:notificationsPage.eventTaskAssignments")}
- onCheckedChange={(checked) =>
- setEventPrefs((current) => ({
- ...current,
- taskAssignmentEnabled: checked,
- }))
- }
- />
- <ChannelToggle
- checked={eventPrefs.taskCommentEnabled}
- hint={t("settings:notificationsPage.eventCommentsHint")}
- label={t("settings:notificationsPage.eventComments")}
- onCheckedChange={(checked) =>
- setEventPrefs((current) => ({
- ...current,
- taskCommentEnabled: checked,
- }))
- }
- />
- <ChannelToggle
- checked={eventPrefs.taskStatusChangeEnabled}
- label={t("settings:notificationsPage.eventStatusChanges")}
- onCheckedChange={(checked) =>
- setEventPrefs((current) => ({
- ...current,
- taskStatusChangeEnabled: checked,
- }))
- }
- />
- <ChannelToggle
- checked={eventPrefs.dueDateReminderEnabled}
- label={t("settings:notificationsPage.eventDueDateReminders")}
- onCheckedChange={(checked) =>
- setEventPrefs((current) => ({
- ...current,
- dueDateReminderEnabled: checked,
- }))
- }
- />
- </div>
-
- <div className="flex max-w-sm flex-col gap-1">
- <Label htmlFor="due-date-reminder-lead-time" className="text-sm">
- {t("settings:notificationsPage.reminderLeadTimeLabel")}
- </Label>
- <div className="flex gap-2">
- <NumberField
- className="w-36"
- disabled={!eventPrefs.dueDateReminderEnabled}
- id="due-date-reminder-lead-time"
- max={leadTimeMax}
- min={1}
- onValueChange={(value) =>
- setEventPrefs((current) => ({
- ...current,
- dueDateReminderLeadAmount: value ?? 0,
- }))
- }
- step={1}
- value={eventPrefs.dueDateReminderLeadAmount}
- >
- <NumberFieldGroup>
- <NumberFieldDecrement />
- <NumberFieldInput />
- <NumberFieldIncrement />
- </NumberFieldGroup>
- </NumberField>
- <Select
- disabled={!eventPrefs.dueDateReminderEnabled}
- onValueChange={(unit) =>
- setEventPrefs((current) => ({
- ...current,
- dueDateReminderLeadUnit: unit as "hours" | "days",
- }))
- }
- value={eventPrefs.dueDateReminderLeadUnit}
- >
- <SelectTrigger className="w-32">
- <SelectValue>
- {eventPrefs.dueDateReminderLeadUnit === "days"
- ? t("settings:notificationsPage.reminderLeadTimeUnitDays")
- : t("settings:notificationsPage.reminderLeadTimeUnitHours")}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- <SelectItem value="hours">
- {t("settings:notificationsPage.reminderLeadTimeUnitHours")}
- </SelectItem>
- <SelectItem value="days">
- {t("settings:notificationsPage.reminderLeadTimeUnitDays")}
- </SelectItem>
- </SelectContent>
- </Select>
- </div>
- {eventPrefs.dueDateReminderEnabled && !leadTimeValid ? (
- <p className="text-xs text-destructive">
- {t("settings:notificationsPage.reminderLeadTimeInvalid", {
- max: leadTimeMax,
- })}
- </p>
- ) : (
- <p className="text-xs text-muted-foreground">
- {t("settings:notificationsPage.reminderLeadTimeHint")}
- </p>
- )}
- </div>
-
- <div>
- <Button
- disabled={
- isSavingPreferences ||
- (eventPrefs.dueDateReminderEnabled && !leadTimeValid)
- }
- onClick={async () => {
- await updatePreferences({
- taskAssignmentEnabled: eventPrefs.taskAssignmentEnabled,
- taskCommentEnabled: eventPrefs.taskCommentEnabled,
- taskStatusChangeEnabled: eventPrefs.taskStatusChangeEnabled,
- dueDateReminderEnabled: eventPrefs.dueDateReminderEnabled,
- ...(eventPrefs.dueDateReminderEnabled
- ? {
- dueDateReminderLeadTimeMinutes:
- eventPrefs.dueDateReminderLeadAmount *
- (eventPrefs.dueDateReminderLeadUnit === "days"
- ? 1440
- : 60),
- }
- : {}),
- });
- }}
- type="button"
- >
- {t("settings:notificationsPage.saveEventPreferences")}
- </Button>
- </div>
- </div>
-
- <ChannelCard
- actions={
- <div className="flex gap-2">
- <Button
- disabled={isSavingPreferences || !preferences?.emailAddress}
- onClick={async () => {
- await updatePreferences({
- emailEnabled: globalPrefs.emailEnabled,
- });
- }}
- type="button"
- >
- {t("settings:notificationsPage.saveChanges")}
- </Button>
- </div>
- }
- channel="email"
- description={t("settings:notificationsPage.emailDescription")}
- headerRight={
- <div className="flex items-center gap-3">
- {preferences?.emailEnabled ? (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>{t("settings:notificationsPage.statusConnected")}</span>
- </div>
- ) : null}
- <Switch
- checked={globalPrefs.emailEnabled}
- disabled={isSavingPreferences || !preferences?.emailAddress}
- onCheckedChange={(checked) =>
- setGlobalPrefs((prev) => ({ ...prev, emailEnabled: checked }))
- }
- />
- </div>
- }
- title={t("settings:notificationsPage.emailTitle")}
- >
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.accountEmailLabel")}
- </Label>
- <Input
- disabled
- readOnly
- value={
- preferences?.emailAddress ??
- t("settings:notificationsPage.accountEmailNoAddress")
- }
- />
- <p className="text-xs text-muted-foreground">
- {t("settings:notificationsPage.accountEmailHint")}
- </p>
- </div>
- </ChannelCard>
-
- <ChannelCard
- actions={
- <div className="flex flex-wrap gap-2">
- <Button
- disabled={isSavingPreferences}
- onClick={async () => {
- await updatePreferences({
- gotifyEnabled: globalPrefs.gotify.enabled,
- gotifyServerUrl: globalPrefs.gotify.serverUrl,
- gotifyToken: globalPrefs.gotify.token.trim()
- ? globalPrefs.gotify.token
- : undefined,
- });
- setGlobalPrefs((prev) => ({
- ...prev,
- gotify: { ...prev.gotify, token: "" },
- }));
- }}
- type="button"
- >
- {preferences?.gotifyConfigured
- ? t("settings:notificationsPage.saveChanges")
- : t("settings:notificationsPage.connectGotify")}
- </Button>
- {preferences?.gotifyConfigured ? (
- <Button
- disabled={isSavingPreferences}
- onClick={async () => {
- await updatePreferences({
- gotifyEnabled: false,
- gotifyServerUrl: null,
- gotifyToken: null,
- });
- setGlobalPrefs((prev) => ({
- ...prev,
- gotify: {
- enabled: false,
- serverUrl: "",
- token: "",
- },
- }));
- }}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:notificationsPage.disconnect")}
- </Button>
- ) : null}
- </div>
- }
- channel="gotify"
- description={t("settings:notificationsPage.gotifyDescription")}
- headerRight={
- <div className="flex items-center gap-3">
- {preferences?.gotifyConfigured ? (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {preferences.gotifyEnabled
- ? t("settings:notificationsPage.statusConnected")
- : t("settings:notificationsPage.statusPaused")}
- </span>
- </div>
- ) : null}
- <Switch
- checked={globalPrefs.gotify.enabled}
- disabled={isSavingPreferences}
- onCheckedChange={(checked) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- gotify: { ...prev.gotify, enabled: checked },
- }))
- }
- />
- </div>
- }
- title={t("settings:notificationsPage.gotifyTitle")}
- >
- <div className="space-y-4">
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.serverUrl")}
- </Label>
- <Input
- autoComplete="off"
- placeholder={t(
- "settings:notificationsPage.gotifyServerPlaceholder",
- )}
- value={globalPrefs.gotify.serverUrl}
- onChange={(event) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- gotify: { ...prev.gotify, serverUrl: event.target.value },
- }))
- }
- />
- </div>
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.gotifyTokenLabel")}
- </Label>
- <Input
- autoComplete="off"
- placeholder={t(
- "settings:notificationsPage.gotifyTokenPlaceholder",
- )}
- type="password"
- value={globalPrefs.gotify.token}
- onChange={(event) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- gotify: { ...prev.gotify, token: event.target.value },
- }))
- }
- />
- <p className="text-xs text-muted-foreground">
- {preferences?.gotifyTokenConfigured
- ? t("settings:notificationsPage.gotifyTokenHintConfigured", {
- masked: preferences.maskedGotifyToken ?? "••••",
- })
- : t("settings:notificationsPage.gotifyTokenHintRequired")}
- </p>
- </div>
- </div>
- </ChannelCard>
-
- <ChannelCard
- actions={
- <div className="flex flex-wrap gap-2">
- <Button
- disabled={isSavingPreferences}
- onClick={async () => {
- await updatePreferences({
- ntfyEnabled: globalPrefs.ntfy.enabled,
- ntfyServerUrl: globalPrefs.ntfy.serverUrl,
- ntfyTopic: globalPrefs.ntfy.topic,
- ntfyToken: globalPrefs.ntfy.token.trim()
- ? globalPrefs.ntfy.token
- : undefined,
- });
- setGlobalPrefs((prev) => ({
- ...prev,
- ntfy: { ...prev.ntfy, token: "" },
- }));
- }}
- type="button"
- >
- {preferences?.ntfyConfigured
- ? t("settings:notificationsPage.saveChanges")
- : t("settings:notificationsPage.connectNtfy")}
- </Button>
- {preferences?.ntfyConfigured ? (
- <Button
- disabled={isSavingPreferences}
- onClick={async () => {
- await updatePreferences({
- ntfyEnabled: false,
- ntfyServerUrl: null,
- ntfyTopic: null,
- ntfyToken: null,
- });
- setGlobalPrefs((prev) => ({
- ...prev,
- ntfy: {
- enabled: false,
- serverUrl: "",
- topic: "",
- token: "",
- },
- }));
- }}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:notificationsPage.disconnect")}
- </Button>
- ) : null}
- </div>
- }
- channel="ntfy"
- description={t("settings:notificationsPage.ntfyDescription")}
- headerRight={
- <div className="flex items-center gap-3">
- {preferences?.ntfyConfigured ? (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {preferences.ntfyEnabled
- ? t("settings:notificationsPage.statusConnected")
- : t("settings:notificationsPage.statusPaused")}
- </span>
- </div>
- ) : null}
- <Switch
- checked={globalPrefs.ntfy.enabled}
- disabled={isSavingPreferences}
- onCheckedChange={(checked) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- ntfy: { ...prev.ntfy, enabled: checked },
- }))
- }
- />
- </div>
- }
- title={t("settings:notificationsPage.ntfyTitle")}
- >
- <div className="space-y-4">
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.serverUrl")}
- </Label>
- <Input
- autoComplete="off"
- placeholder={t(
- "settings:notificationsPage.ntfyServerPlaceholder",
- )}
- value={globalPrefs.ntfy.serverUrl}
- onChange={(event) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- ntfy: { ...prev.ntfy, serverUrl: event.target.value },
- }))
- }
- />
- </div>
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.topic")}
- </Label>
- <Input
- autoComplete="off"
- placeholder={t("settings:notificationsPage.ntfyTopicPlaceholder")}
- value={globalPrefs.ntfy.topic}
- onChange={(event) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- ntfy: { ...prev.ntfy, topic: event.target.value },
- }))
- }
- />
- </div>
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.token")}
- </Label>
- <Input
- autoComplete="off"
- placeholder={t("settings:notificationsPage.ntfyTokenPlaceholder")}
- type="password"
- value={globalPrefs.ntfy.token}
- onChange={(event) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- ntfy: { ...prev.ntfy, token: event.target.value },
- }))
- }
- />
- <p className="text-xs text-muted-foreground">
- {preferences?.ntfyTokenConfigured
- ? t("settings:notificationsPage.ntfyTokenHintConfigured", {
- masked: preferences.maskedNtfyToken ?? "••••",
- })
- : t("settings:notificationsPage.ntfyTokenHintOptional")}
- </p>
- </div>
- </div>
- </ChannelCard>
-
- <ChannelCard
- actions={
- <div className="flex flex-wrap gap-2">
- <Button
- disabled={isSavingPreferences}
- onClick={async () => {
- await updatePreferences({
- webhookEnabled: globalPrefs.webhook.enabled,
- webhookUrl: globalPrefs.webhook.url,
- webhookSecret: globalPrefs.webhook.secret.trim()
- ? globalPrefs.webhook.secret
- : undefined,
- });
- setGlobalPrefs((prev) => ({
- ...prev,
- webhook: { ...prev.webhook, secret: "" },
- }));
- }}
- type="button"
- >
- {preferences?.webhookConfigured
- ? t("settings:notificationsPage.saveChanges")
- : t("settings:notificationsPage.connectWebhook")}
- </Button>
- {preferences?.webhookConfigured ? (
- <Button
- disabled={isSavingPreferences}
- onClick={async () => {
- await updatePreferences({
- webhookEnabled: false,
- webhookUrl: null,
- webhookSecret: null,
- });
- setGlobalPrefs((prev) => ({
- ...prev,
- webhook: {
- enabled: false,
- url: "",
- secret: "",
- },
- }));
- }}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:notificationsPage.disconnect")}
- </Button>
- ) : null}
- </div>
- }
- channel="webhook"
- description={t("settings:notificationsPage.webhookDescription")}
- headerRight={
- <div className="flex items-center gap-3">
- {preferences?.webhookConfigured ? (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {preferences.webhookEnabled
- ? t("settings:notificationsPage.statusConnected")
- : t("settings:notificationsPage.statusPaused")}
- </span>
- </div>
- ) : null}
- <Switch
- checked={globalPrefs.webhook.enabled}
- disabled={isSavingPreferences}
- onCheckedChange={(checked) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- webhook: { ...prev.webhook, enabled: checked },
- }))
- }
- />
- </div>
- }
- title={t("settings:notificationsPage.webhookTitle")}
- >
- <div className="space-y-4">
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.endpointUrl")}
- </Label>
- <Input
- autoComplete="off"
- placeholder={t(
- "settings:notificationsPage.webhookUrlPlaceholder",
- )}
- type="url"
- value={globalPrefs.webhook.url}
- onChange={(event) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- webhook: { ...prev.webhook, url: event.target.value },
- }))
- }
- />
- </div>
- <div className="space-y-1">
- <Label className="text-sm font-medium">
- {t("settings:notificationsPage.signingSecret")}
- </Label>
- <Input
- autoComplete="off"
- placeholder={t(
- "settings:notificationsPage.webhookSecretPlaceholder",
- )}
- type="password"
- value={globalPrefs.webhook.secret}
- onChange={(event) =>
- setGlobalPrefs((prev) => ({
- ...prev,
- webhook: { ...prev.webhook, secret: event.target.value },
- }))
- }
- />
- <p className="text-xs text-muted-foreground">
- {preferences?.webhookSecretConfigured
- ? t("settings:notificationsPage.webhookSecretHintConfigured", {
- masked: preferences.maskedWebhookSecret ?? "••••",
- })
- : t("settings:notificationsPage.webhookSecretHintOptional")}
- </p>
- </div>
- </div>
- </ChannelCard>
-
- <div className="space-y-4">
- <div className="space-y-1">
- <h3 className="font-medium">
- {t("settings:notificationsPage.workspaceRulesTitle")}
- </h3>
- <p className="text-sm text-muted-foreground">
- {t("settings:notificationsPage.workspaceRulesDescription")}
- </p>
- </div>
-
- <div className="space-y-4">
- {workspaces.map((workspace) => {
- const rule = workspaceRuleMap.get(workspace.id);
-
- return (
- <WorkspaceRuleCard
- key={workspace.id}
- hasEmailChannel={Boolean(preferences?.emailEnabled)}
- hasGotifyChannel={Boolean(
- preferences?.gotifyEnabled && preferences?.gotifyConfigured,
- )}
- hasNtfyChannel={Boolean(
- preferences?.ntfyEnabled && preferences?.ntfyConfigured,
- )}
- hasWebhookChannel={Boolean(
- preferences?.webhookEnabled && preferences?.webhookConfigured,
- )}
- onDelete={deleteWorkspaceRule}
- onSave={async (workspaceId, nextRule) => {
- await upsertWorkspaceRule({
- workspaceId,
- json: nextRule,
- });
- }}
- rule={rule}
- workspace={workspace}
- />
- );
- })}
- </div>
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/components/account/theme-picker.tsx b/apps/web/src/components/account/theme-picker.tsx
index 5f491e043..04cf51ee6 100644
--- a/apps/web/src/components/account/theme-picker.tsx
+++ b/apps/web/src/components/account/theme-picker.tsx
@@ -32,7 +32,7 @@ export function ThemePicker({ value, onChange }: ThemePickerProps) {
return (
<label
key={theme.value}
- className="flex cursor-pointer flex-col gap-2"
+ className="flex min-w-0 cursor-pointer flex-col gap-2"
>
<RadioPrimitive.Root
value={theme.value}
diff --git a/apps/web/src/components/admin/directory/directory-avatar.tsx b/apps/web/src/components/admin/directory/directory-avatar.tsx
new file mode 100644
index 000000000..a016b5a2b
--- /dev/null
+++ b/apps/web/src/components/admin/directory/directory-avatar.tsx
@@ -0,0 +1,18 @@
+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
+import { getInitials } from "@/lib/get-initials";
+
+type DirectoryAvatarProps = {
+ name: string;
+ image: string | null | undefined;
+};
+
+export function DirectoryAvatar({ name, image }: DirectoryAvatarProps) {
+ return (
+ <Avatar className="size-7 border bg-muted">
+ {image ? <AvatarImage src={image} alt={name} /> : null}
+ <AvatarFallback className="text-[10px] font-semibold">
+ {getInitials(name, "?")}
+ </AvatarFallback>
+ </Avatar>
+ );
+}
diff --git a/apps/web/src/components/admin/directory/directory-error-row.tsx b/apps/web/src/components/admin/directory/directory-error-row.tsx
new file mode 100644
index 000000000..b7ea22fe3
--- /dev/null
+++ b/apps/web/src/components/admin/directory/directory-error-row.tsx
@@ -0,0 +1,24 @@
+import { CircleAlertIcon, RefreshCwIcon } from "lucide-react";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Button } from "@/components/ui/button";
+
+type DirectoryErrorRowProps = {
+ message: string;
+ retryLabel: string;
+ onRetry: () => void;
+};
+
+export function DirectoryErrorRow({
+ message,
+ retryLabel,
+ onRetry,
+}: DirectoryErrorRowProps) {
+ return (
+ <SettingsRow icon={<CircleAlertIcon />} title={message}>
+ <Button type="button" variant="outline" size="sm" onClick={onRetry}>
+ <RefreshCwIcon aria-hidden="true" />
+ {retryLabel}
+ </Button>
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/admin/directory/directory-heading.tsx b/apps/web/src/components/admin/directory/directory-heading.tsx
new file mode 100644
index 000000000..02cbc7cef
--- /dev/null
+++ b/apps/web/src/components/admin/directory/directory-heading.tsx
@@ -0,0 +1,32 @@
+import { RefreshCwIcon } from "lucide-react";
+import type { ReactNode } from "react";
+
+type DirectoryHeadingProps = {
+ title: ReactNode;
+ count?: ReactNode;
+ refreshingLabel?: string;
+};
+
+export function DirectoryHeading({
+ title,
+ count,
+ refreshingLabel,
+}: DirectoryHeadingProps) {
+ return (
+ <span className="flex items-center gap-2">
+ {title}
+ {count !== undefined ? (
+ <span className="text-[13px] font-normal text-muted-foreground tabular-nums">
+ {count}
+ </span>
+ ) : null}
+ {refreshingLabel ? (
+ <RefreshCwIcon
+ role="img"
+ aria-label={refreshingLabel}
+ className="size-3 animate-spin text-muted-foreground"
+ />
+ ) : null}
+ </span>
+ );
+}
diff --git a/apps/web/src/components/admin/directory/directory-pagination.tsx b/apps/web/src/components/admin/directory/directory-pagination.tsx
new file mode 100644
index 000000000..1aed4611e
--- /dev/null
+++ b/apps/web/src/components/admin/directory/directory-pagination.tsx
@@ -0,0 +1,47 @@
+import { Button } from "@/components/ui/button";
+
+type DirectoryPaginationProps = {
+ page: number;
+ pageCount: number;
+ disabled: boolean;
+ onPageChange: (page: number) => void;
+ label: string;
+ previousLabel: string;
+ nextLabel: string;
+};
+
+export function DirectoryPagination({
+ page,
+ pageCount,
+ disabled,
+ onPageChange,
+ label,
+ previousLabel,
+ nextLabel,
+}: DirectoryPaginationProps) {
+ return (
+ <div className="flex items-center justify-between gap-4 px-4 py-2.5">
+ <p className="text-xs text-muted-foreground tabular-nums">{label}</p>
+ <div className="flex items-center gap-1.5">
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ disabled={page === 0 || disabled}
+ onClick={() => onPageChange(Math.max(0, page - 1))}
+ >
+ {previousLabel}
+ </Button>
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ disabled={page + 1 >= pageCount || disabled}
+ onClick={() => onPageChange(page + 1)}
+ >
+ {nextLabel}
+ </Button>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/admin/directory/directory-search-input.tsx b/apps/web/src/components/admin/directory/directory-search-input.tsx
new file mode 100644
index 000000000..bb6fa7909
--- /dev/null
+++ b/apps/web/src/components/admin/directory/directory-search-input.tsx
@@ -0,0 +1,39 @@
+import { SearchIcon } from "lucide-react";
+import {
+ InputGroup,
+ InputGroupAddon,
+ InputGroupInput,
+} from "@/components/ui/input-group";
+
+type DirectorySearchInputProps = {
+ value: string;
+ onValueChange: (value: string) => void;
+ placeholder: string;
+ label: string;
+ maxLength: number;
+};
+
+export function DirectorySearchInput({
+ value,
+ onValueChange,
+ placeholder,
+ label,
+ maxLength,
+}: DirectorySearchInputProps) {
+ return (
+ <InputGroup className="w-full sm:w-60">
+ <InputGroupInput
+ size="sm"
+ type="search"
+ value={value}
+ onChange={(event) => onValueChange(event.target.value)}
+ maxLength={maxLength}
+ placeholder={placeholder}
+ aria-label={label}
+ />
+ <InputGroupAddon align="inline-start">
+ <SearchIcon aria-hidden="true" />
+ </InputGroupAddon>
+ </InputGroup>
+ );
+}
diff --git a/apps/web/src/components/admin/directory/directory-skeleton-rows.tsx b/apps/web/src/components/admin/directory/directory-skeleton-rows.tsx
new file mode 100644
index 000000000..49d0256bc
--- /dev/null
+++ b/apps/web/src/components/admin/directory/directory-skeleton-rows.tsx
@@ -0,0 +1,27 @@
+import { Skeleton } from "@/components/ui/skeleton";
+
+const ROW_KEYS = ["first", "second", "third", "fourth", "fifth"];
+
+type DirectorySkeletonRowsProps = {
+ rows?: number;
+ withAvatar?: boolean;
+};
+
+export function DirectorySkeletonRows({
+ rows = ROW_KEYS.length,
+ withAvatar = false,
+}: DirectorySkeletonRowsProps) {
+ return ROW_KEYS.slice(0, rows).map((key) => (
+ <div
+ key={key}
+ aria-hidden="true"
+ className="flex items-center gap-3 px-4 py-3"
+ >
+ {withAvatar ? <Skeleton className="size-7 rounded-full" /> : null}
+ <div className="flex-1 space-y-1.5">
+ <Skeleton className="h-3.5 w-full max-w-40" />
+ <Skeleton className="h-3 w-full max-w-56" />
+ </div>
+ </div>
+ ));
+}
diff --git a/apps/web/src/components/admin/directory/get-page-count.test.ts b/apps/web/src/components/admin/directory/get-page-count.test.ts
new file mode 100644
index 000000000..1b83dddc7
--- /dev/null
+++ b/apps/web/src/components/admin/directory/get-page-count.test.ts
@@ -0,0 +1,14 @@
+import { describe, expect, it } from "vite-plus/test";
+import { getPageCount } from "./get-page-count";
+
+describe("getPageCount", () => {
+ it("never reports fewer than one page", () => {
+ expect(getPageCount(0, 20)).toBe(1);
+ });
+
+ it("rounds a partial page up", () => {
+ expect(getPageCount(20, 20)).toBe(1);
+ expect(getPageCount(21, 20)).toBe(2);
+ expect(getPageCount(128, 20)).toBe(7);
+ });
+});
diff --git a/apps/web/src/components/admin/directory/get-page-count.ts b/apps/web/src/components/admin/directory/get-page-count.ts
new file mode 100644
index 000000000..8044627d1
--- /dev/null
+++ b/apps/web/src/components/admin/directory/get-page-count.ts
@@ -0,0 +1,3 @@
+export function getPageCount(total: number, pageSize: number) {
+ return Math.max(1, Math.ceil(total / pageSize));
+}
diff --git a/apps/web/src/components/admin/directory/use-directory-paging.ts b/apps/web/src/components/admin/directory/use-directory-paging.ts
new file mode 100644
index 000000000..e7adb9a91
--- /dev/null
+++ b/apps/web/src/components/admin/directory/use-directory-paging.ts
@@ -0,0 +1,18 @@
+import { useState } from "react";
+import { useDebouncedValue } from "@/hooks/use-debounced-value";
+
+const SEARCH_DEBOUNCE_MS = 250;
+
+export function useDirectoryPaging() {
+ const [search, setSearch] = useState("");
+ const debouncedSearch = useDebouncedValue(search, SEARCH_DEBOUNCE_MS);
+ const [searchedFor, setSearchedFor] = useState(debouncedSearch);
+ const [page, setPage] = useState(0);
+
+ if (debouncedSearch !== searchedFor) {
+ setSearchedFor(debouncedSearch);
+ setPage(0);
+ }
+
+ return { search, setSearch, debouncedSearch, page, setPage };
+}
diff --git a/apps/web/src/components/admin/user-management-panel.tsx b/apps/web/src/components/admin/user-management-panel.tsx
deleted file mode 100644
index 57fc91881..000000000
--- a/apps/web/src/components/admin/user-management-panel.tsx
+++ /dev/null
@@ -1,697 +0,0 @@
-import {
- BanIcon,
- CheckCircle2Icon,
- ChevronLeftIcon,
- ChevronRightIcon,
- EllipsisIcon,
- PencilIcon,
- RefreshCwIcon,
- SearchIcon,
- ShieldCheckIcon,
- Trash2Icon,
- UserRoundCheckIcon,
- UsersRoundIcon,
-} from "lucide-react";
-import { type FormEvent, useEffect, useState } from "react";
-import { useTranslation } from "react-i18next";
-import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
-import {
- AlertDialog,
- AlertDialogClose,
- AlertDialogDescription,
- AlertDialogFooter,
- AlertDialogHeader,
- AlertDialogPopup,
- AlertDialogTitle,
-} from "@/components/ui/alert-dialog";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Dialog,
- DialogClose,
- DialogDescription,
- DialogFooter,
- DialogHeader,
- DialogPanel,
- DialogPopup,
- DialogTitle,
-} from "@/components/ui/dialog";
-import { Field, FieldLabel } from "@/components/ui/field";
-import { Input } from "@/components/ui/input";
-import {
- InputGroup,
- InputGroupAddon,
- InputGroupInput,
-} from "@/components/ui/input-group";
-import {
- Menu,
- MenuItem,
- MenuPopup,
- MenuSeparator,
- MenuTrigger,
-} from "@/components/ui/menu";
-import {
- Select,
- SelectItem,
- SelectPopup,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import { Skeleton } from "@/components/ui/skeleton";
-import {
- Table,
- TableBody,
- TableCell,
- TableHead,
- TableHeader,
- TableRow,
-} from "@/components/ui/table";
-import useDeleteAdminUser from "@/hooks/mutations/admin/use-delete-admin-user";
-import useToggleAdminUserStatus from "@/hooks/mutations/admin/use-toggle-admin-user-status";
-import useUpdateAdminUser from "@/hooks/mutations/admin/use-update-admin-user";
-import useAdminUsers, {
- ADMIN_USERS_PAGE_SIZE,
- ADMIN_USERS_SEARCH_MAX_LENGTH,
- type AdminUser,
-} from "@/hooks/queries/admin/use-admin-users";
-import { formatDateMedium } from "@/lib/format";
-import { getInitials } from "@/lib/get-initials";
-import {
- hasInstanceAdminRole,
- withInstanceAdminRole,
-} from "@/lib/instance-admin";
-import { SettingsPage } from "@/components/settings/settings-page";
-
-type PendingAction = {
- type: "deactivate" | "reactivate" | "delete";
- user: AdminUser;
-};
-
-type EditValues = {
- name: string;
- email: string;
- role: "admin" | "user";
-};
-
-function UserManagementPanel() {
- const { t } = useTranslation();
- const { user: currentUser } = useAuth();
- const [search, setSearch] = useState("");
- const [debouncedSearch, setDebouncedSearch] = useState("");
- const [page, setPage] = useState(0);
- const [editingUser, setEditingUser] = useState<AdminUser | null>(null);
- const [pendingAction, setPendingAction] = useState<PendingAction | null>(
- null,
- );
- const [editValues, setEditValues] = useState<EditValues>({
- name: "",
- email: "",
- role: "user",
- });
-
- const { data, isLoading, isFetching, isError, refetch } = useAdminUsers(
- debouncedSearch,
- page,
- );
- const confirmCopy = pendingAction
- ? {
- deactivate: {
- title: t("settings:adminUsers.confirm.deactivate.title"),
- description: t("settings:adminUsers.confirm.deactivate.description", {
- name: pendingAction.user.name,
- }),
- action: t("settings:adminUsers.confirm.deactivate.action"),
- },
- reactivate: {
- title: t("settings:adminUsers.confirm.reactivate.title"),
- description: t("settings:adminUsers.confirm.reactivate.description", {
- name: pendingAction.user.name,
- }),
- action: t("settings:adminUsers.confirm.reactivate.action"),
- },
- delete: {
- title: t("settings:adminUsers.confirm.delete.title"),
- description: t("settings:adminUsers.confirm.delete.description", {
- name: pendingAction.user.name,
- }),
- action: t("settings:adminUsers.confirm.delete.action"),
- },
- }[pendingAction.type]
- : null;
- const { mutateAsync: updateUser, isPending: isUpdating } =
- useUpdateAdminUser();
- const { mutateAsync: toggleUserStatus, isPending: isTogglingStatus } =
- useToggleAdminUserStatus();
- const { mutateAsync: deleteUser, isPending: isDeleting } =
- useDeleteAdminUser();
-
- useEffect(() => {
- const timeout = window.setTimeout(() => {
- setDebouncedSearch(search);
- setPage(0);
- }, 250);
-
- return () => window.clearTimeout(timeout);
- }, [search]);
-
- useEffect(() => {
- if (!editingUser) return;
- setEditValues({
- name: editingUser.name,
- email: editingUser.email,
- role: hasInstanceAdminRole(editingUser.role) ? "admin" : "user",
- });
- }, [editingUser]);
-
- const total = data?.total ?? 0;
- const isSearchActive = debouncedSearch.trim().length > 0;
- const pageCount = Math.max(1, Math.ceil(total / ADMIN_USERS_PAGE_SIZE));
- const isBusy = isTogglingStatus || isDeleting;
-
- useEffect(() => {
- if (data && page >= pageCount) {
- setPage(pageCount - 1);
- }
- }, [data, page, pageCount]);
-
- const handleEditSubmit = async (event: FormEvent<HTMLFormElement>) => {
- event.preventDefault();
- if (!editingUser) return;
-
- const name = editValues.name.trim();
- const email = editValues.email.trim().toLowerCase();
- if (!name || !email) return;
-
- const wantsAdmin = editValues.role === "admin";
- const roleChanged =
- editingUser.id !== currentUser?.id &&
- hasInstanceAdminRole(editingUser.role) !== wantsAdmin;
-
- try {
- await updateUser({
- userId: editingUser.id,
- name,
- email,
- ...(roleChanged
- ? { role: withInstanceAdminRole(editingUser.role, wantsAdmin) }
- : {}),
- });
- setEditingUser(null);
- } catch {
- return;
- }
- };
-
- const handleConfirmedAction = async () => {
- if (!pendingAction) return;
-
- try {
- if (pendingAction.type === "delete") {
- await deleteUser(pendingAction.user.id);
- } else {
- const deactivate = pendingAction.type === "deactivate";
- await toggleUserStatus({
- userId: pendingAction.user.id,
- deactivate,
- });
- }
- setPendingAction(null);
- } catch {
- return;
- }
- };
-
- return (
- <SettingsPage
- className="max-w-5xl"
- title={
- <span className="flex items-center gap-2">
- {t("settings:adminUsers.title")}
- <Badge variant="outline" size="sm">
- {t("settings:adminUsers.instanceBadge")}
- </Badge>
- </span>
- }
- description={t("settings:adminUsers.subtitle")}
- >
- <section className="overflow-hidden rounded-xl border bg-card shadow-xs/5">
- <div className="flex flex-col gap-4 border-b p-4 sm:flex-row sm:items-center sm:justify-between">
- <div className="flex items-center gap-3">
- <div>
- <h2 className="text-sm font-medium">
- {t("settings:adminUsers.directoryTitle")}
- </h2>
- <p className="text-xs text-muted-foreground">
- {isSearchActive
- ? t("settings:adminUsers.searchCount", { count: total })
- : t("settings:adminUsers.userCount", { count: total })}
- </p>
- </div>
- {isFetching && !isLoading ? (
- <RefreshCwIcon
- aria-label={t("settings:adminUsers.refreshing")}
- className="animate-spin text-muted-foreground"
- />
- ) : null}
- </div>
-
- <InputGroup className="w-full sm:w-72">
- <InputGroupInput
- type="search"
- value={search}
- onChange={(event) => setSearch(event.target.value)}
- maxLength={ADMIN_USERS_SEARCH_MAX_LENGTH}
- placeholder={t("settings:adminUsers.searchPlaceholder")}
- aria-label={t("settings:adminUsers.searchLabel")}
- />
- <InputGroupAddon align="inline-start">
- <SearchIcon aria-hidden="true" />
- </InputGroupAddon>
- </InputGroup>
- </div>
-
- <div className="overflow-x-auto">
- <Table>
- <TableHeader>
- <TableRow>
- <TableHead className="ps-6">
- {t("settings:adminUsers.columns.user")}
- </TableHead>
- <TableHead>{t("settings:adminUsers.columns.role")}</TableHead>
- <TableHead>{t("settings:adminUsers.columns.status")}</TableHead>
- <TableHead>{t("settings:adminUsers.columns.joined")}</TableHead>
- <TableHead className="w-px pe-6">
- <span className="sr-only">
- {t("settings:adminUsers.columns.actions")}
- </span>
- </TableHead>
- </TableRow>
- </TableHeader>
- <TableBody>
- {isLoading
- ? ["first", "second", "third", "fourth", "fifth"].map(
- (skeleton) => (
- <TableRow key={skeleton}>
- <TableCell className="ps-6 py-3" colSpan={5}>
- <Skeleton className="h-9 w-full" />
- </TableCell>
- </TableRow>
- ),
- )
- : null}
-
- {!isLoading && isError ? (
- <TableRow>
- <TableCell colSpan={5} className="h-56 text-center">
- <div className="flex flex-col items-center gap-3">
- <p className="text-sm text-muted-foreground">
- {t("settings:adminUsers.loadError")}
- </p>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => refetch()}
- >
- <RefreshCwIcon aria-hidden="true" />
- {t("settings:adminUsers.retry")}
- </Button>
- </div>
- </TableCell>
- </TableRow>
- ) : null}
-
- {!isLoading && !isError && data?.users.length === 0 ? (
- <TableRow>
- <TableCell colSpan={5} className="h-56 text-center">
- <div className="flex flex-col items-center gap-2">
- <div className="flex size-10 items-center justify-center rounded-full bg-muted text-muted-foreground">
- <UsersRoundIcon aria-hidden="true" />
- </div>
- <p className="text-sm font-medium">
- {t("settings:adminUsers.emptyTitle")}
- </p>
- <p className="max-w-sm text-xs text-muted-foreground">
- {t("settings:adminUsers.emptyDescription")}
- </p>
- {search ? (
- <Button
- type="button"
- variant="ghost"
- size="sm"
- onClick={() => setSearch("")}
- >
- {t("settings:adminUsers.clearSearch")}
- </Button>
- ) : null}
- </div>
- </TableCell>
- </TableRow>
- ) : null}
-
- {!isLoading && !isError
- ? data?.users.map((managedUser) => {
- const isSelf = managedUser.id === currentUser?.id;
- const isAdmin = hasInstanceAdminRole(managedUser.role);
- const isDeactivated = managedUser.banned === true;
-
- return (
- <TableRow key={managedUser.id}>
- <TableCell className="ps-6 py-3">
- <div className="flex items-center gap-3">
- <Avatar className="size-9 border bg-muted">
- {managedUser.image ? (
- <AvatarImage
- src={managedUser.image}
- alt={managedUser.name}
- />
- ) : null}
- <AvatarFallback className="text-xs font-medium">
- {getInitials(managedUser.name, "?")}
- </AvatarFallback>
- </Avatar>
- <div className="min-w-0">
- <div className="flex items-center gap-2">
- <span className="truncate text-sm font-medium">
- {managedUser.name}
- </span>
- {isSelf ? (
- <span className="text-xs text-muted-foreground">
- {t("settings:adminUsers.you")}
- </span>
- ) : null}
- </div>
- <span className="block max-w-72 truncate text-xs text-muted-foreground">
- {managedUser.email}
- </span>
- </div>
- </div>
- </TableCell>
- <TableCell className="py-3">
- <Badge
- variant={isAdmin ? "outline" : "secondary"}
- className="gap-1"
- >
- {isAdmin ? (
- <ShieldCheckIcon aria-hidden="true" />
- ) : (
- <UserRoundCheckIcon aria-hidden="true" />
- )}
- {t(
- isAdmin
- ? "settings:adminUsers.roles.admin"
- : "settings:adminUsers.roles.user",
- )}
- </Badge>
- </TableCell>
- <TableCell className="py-3">
- <div className="flex items-center gap-2 text-xs">
- <span
- aria-hidden="true"
- className={`size-1.5 rounded-full ${
- isDeactivated
- ? "bg-destructive"
- : "bg-emerald-500"
- }`}
- />
- <span
- className={
- isDeactivated
- ? "text-destructive"
- : "text-muted-foreground"
- }
- >
- {t(
- isDeactivated
- ? "settings:adminUsers.status.deactivated"
- : "settings:adminUsers.status.active",
- )}
- </span>
- </div>
- </TableCell>
- <TableCell className="py-3 text-sm text-muted-foreground tabular-nums">
- {formatDateMedium(managedUser.createdAt)}
- </TableCell>
- <TableCell className="pe-6 py-3 text-right">
- <Menu>
- <MenuTrigger
- render={
- <Button
- type="button"
- variant="ghost"
- size="icon"
- aria-label={t(
- "settings:adminUsers.actions.open",
- { name: managedUser.name },
- )}
- />
- }
- >
- <EllipsisIcon aria-hidden="true" />
- </MenuTrigger>
- <MenuPopup align="end">
- <MenuItem
- closeOnClick
- onClick={() => setEditingUser(managedUser)}
- >
- <PencilIcon aria-hidden="true" />
- {t("settings:adminUsers.actions.edit")}
- </MenuItem>
- {!isSelf ? (
- <>
- <MenuSeparator />
- <MenuItem
- closeOnClick
- onClick={() =>
- setPendingAction({
- type: isDeactivated
- ? "reactivate"
- : "deactivate",
- user: managedUser,
- })
- }
- >
- {isDeactivated ? (
- <CheckCircle2Icon aria-hidden="true" />
- ) : (
- <BanIcon aria-hidden="true" />
- )}
- {t(
- isDeactivated
- ? "settings:adminUsers.actions.reactivate"
- : "settings:adminUsers.actions.deactivate",
- )}
- </MenuItem>
- <MenuItem
- closeOnClick
- variant="destructive"
- onClick={() =>
- setPendingAction({
- type: "delete",
- user: managedUser,
- })
- }
- >
- <Trash2Icon aria-hidden="true" />
- {t("common:actions.delete")}
- </MenuItem>
- </>
- ) : null}
- </MenuPopup>
- </Menu>
- </TableCell>
- </TableRow>
- );
- })
- : null}
- </TableBody>
- </Table>
- </div>
-
- {!isLoading && !isError ? (
- <div className="flex items-center justify-between gap-4 border-t px-4 py-3">
- <p className="text-xs text-muted-foreground tabular-nums">
- {t("settings:adminUsers.pagination", {
- current: page + 1,
- total: pageCount,
- })}
- </p>
- <div className="flex items-center gap-2">
- <Button
- type="button"
- variant="outline"
- size="sm"
- disabled={page === 0 || isFetching}
- onClick={() => setPage((value) => Math.max(0, value - 1))}
- >
- <ChevronLeftIcon aria-hidden="true" />
- {t("settings:adminUsers.previous")}
- </Button>
- <Button
- type="button"
- variant="outline"
- size="sm"
- disabled={page + 1 >= pageCount || isFetching}
- onClick={() => setPage((value) => value + 1)}
- >
- {t("settings:adminUsers.next")}
- <ChevronRightIcon aria-hidden="true" />
- </Button>
- </div>
- </div>
- ) : null}
- </section>
-
- <Dialog
- open={editingUser !== null}
- onOpenChange={(open) => {
- if (!open && !isUpdating) setEditingUser(null);
- }}
- >
- <DialogPopup className="sm:max-w-md">
- <form className="contents" onSubmit={handleEditSubmit}>
- <DialogHeader>
- <DialogTitle>{t("settings:adminUsers.edit.title")}</DialogTitle>
- <DialogDescription>
- {t("settings:adminUsers.edit.description")}
- </DialogDescription>
- </DialogHeader>
- <DialogPanel>
- <div className="flex flex-col gap-4">
- <Field>
- <FieldLabel htmlFor="admin-user-name">
- {t("settings:adminUsers.edit.name")}
- </FieldLabel>
- <Input
- id="admin-user-name"
- name="name"
- type="text"
- required
- value={editValues.name}
- onChange={(event) =>
- setEditValues((values) => ({
- ...values,
- name: event.target.value,
- }))
- }
- />
- </Field>
- <Field>
- <FieldLabel htmlFor="admin-user-email">
- {t("settings:adminUsers.edit.email")}
- </FieldLabel>
- <Input
- id="admin-user-email"
- name="email"
- type="email"
- required
- value={editValues.email}
- onChange={(event) =>
- setEditValues((values) => ({
- ...values,
- email: event.target.value,
- }))
- }
- />
- </Field>
- <Field>
- <FieldLabel htmlFor="admin-user-role">
- {t("settings:adminUsers.edit.role")}
- </FieldLabel>
- <Select
- items={{
- user: t("settings:adminUsers.roles.user"),
- admin: t("settings:adminUsers.roles.admin"),
- }}
- value={editValues.role}
- disabled={editingUser?.id === currentUser?.id}
- onValueChange={(value) => {
- if (value === "admin" || value === "user") {
- setEditValues((values) => ({ ...values, role: value }));
- }
- }}
- >
- <SelectTrigger id="admin-user-role">
- <SelectValue>
- {t(
- editValues.role === "admin"
- ? "settings:adminUsers.roles.admin"
- : "settings:adminUsers.roles.user",
- )}
- </SelectValue>
- </SelectTrigger>
- <SelectPopup>
- <SelectItem value="user">
- {t("settings:adminUsers.roles.user")}
- </SelectItem>
- <SelectItem value="admin">
- {t("settings:adminUsers.roles.admin")}
- </SelectItem>
- </SelectPopup>
- </Select>
- {editingUser?.id === currentUser?.id ? (
- <p className="text-xs text-muted-foreground">
- {t("settings:adminUsers.edit.selfRoleHint")}
- </p>
- ) : null}
- </Field>
- </div>
- </DialogPanel>
- <DialogFooter>
- <DialogClose
- render={<Button type="button" variant="ghost" />}
- disabled={isUpdating}
- >
- {t("common:actions.cancel")}
- </DialogClose>
- <Button type="submit" disabled={isUpdating}>
- {isUpdating
- ? t("settings:adminUsers.edit.saving")
- : t("settings:adminUsers.edit.save")}
- </Button>
- </DialogFooter>
- </form>
- </DialogPopup>
- </Dialog>
-
- <AlertDialog
- open={pendingAction !== null}
- onOpenChange={(open) => {
- if (!open && !isBusy) setPendingAction(null);
- }}
- >
- <AlertDialogPopup>
- <AlertDialogHeader>
- <AlertDialogTitle>{confirmCopy?.title ?? ""}</AlertDialogTitle>
- <AlertDialogDescription>
- {confirmCopy?.description ?? ""}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <AlertDialogClose
- render={<Button type="button" variant="ghost" />}
- disabled={isBusy}
- >
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <Button
- type="button"
- variant={
- pendingAction?.type === "reactivate" ? "default" : "destructive"
- }
- disabled={isBusy}
- onClick={handleConfirmedAction}
- >
- {isBusy
- ? t("settings:adminUsers.confirm.working")
- : (confirmCopy?.action ?? "")}
- </Button>
- </AlertDialogFooter>
- </AlertDialogPopup>
- </AlertDialog>
- </SettingsPage>
- );
-}
-
-export default UserManagementPanel;
diff --git a/apps/web/src/components/admin/user-management/edit-user-dialog.tsx b/apps/web/src/components/admin/user-management/edit-user-dialog.tsx
new file mode 100644
index 000000000..0a007f363
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/edit-user-dialog.tsx
@@ -0,0 +1,187 @@
+import { type FormEvent, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogClose,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { Field, FieldLabel } from "@/components/ui/field";
+import { Input } from "@/components/ui/input";
+import {
+ Select,
+ SelectItem,
+ SelectPopup,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+import useUpdateAdminUser from "@/hooks/mutations/admin/use-update-admin-user";
+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";
+import {
+ buildUserUpdate,
+ EMPTY_EDIT_USER_VALUES,
+ getEditUserValues,
+} from "./edit-user-values";
+
+type EditUserDialogProps = {
+ user: AdminUser | null;
+ currentUserId: string | undefined;
+ onClose: () => void;
+};
+
+export function EditUserDialog({
+ user,
+ currentUserId,
+ onClose,
+}: EditUserDialogProps) {
+ const { t } = useTranslation();
+ const [previousUser, setPreviousUser] = useState(user);
+ const [editedUser, setEditedUser] = useState(user);
+ const [values, setValues] = useState(() =>
+ user ? getEditUserValues(user) : EMPTY_EDIT_USER_VALUES,
+ );
+ const { mutateAsync: updateUser, isPending } = useUpdateAdminUser();
+
+ if (user !== previousUser) {
+ setPreviousUser(user);
+ if (user) {
+ setEditedUser(user);
+ setValues(getEditUserValues(user));
+ }
+ }
+
+ const isSelf = editedUser !== null && editedUser.id === currentUserId;
+ const roleLabel = t(
+ values.role === "admin"
+ ? "settings:adminUsers.roles.admin"
+ : "settings:adminUsers.roles.user",
+ );
+
+ const handleSubmit = async (event: FormEvent<HTMLFormElement>) => {
+ event.preventDefault();
+ if (!editedUser) return;
+
+ const update = buildUserUpdate(editedUser, values, currentUserId);
+ if (!update) return;
+
+ try {
+ await updateUser(update);
+ onClose();
+ } catch {
+ return;
+ }
+ };
+
+ return (
+ <Dialog
+ open={user !== null}
+ onOpenChange={(open) => {
+ if (!open && !isPending) onClose();
+ }}
+ >
+ <DialogPopup className="sm:max-w-md">
+ <form className="contents" onSubmit={handleSubmit}>
+ <DialogHeader>
+ <DialogTitle>{t("settings:adminUsers.edit.title")}</DialogTitle>
+ <DialogDescription>
+ {t("settings:adminUsers.edit.description")}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel>
+ <div className="flex flex-col gap-4">
+ <Field>
+ <FieldLabel htmlFor="admin-user-name">
+ {t("settings:adminUsers.edit.name")}
+ </FieldLabel>
+ <Input
+ id="admin-user-name"
+ name="name"
+ type="text"
+ required
+ value={values.name}
+ onChange={(event) =>
+ setValues((current) => ({
+ ...current,
+ name: event.target.value,
+ }))
+ }
+ />
+ </Field>
+ <Field>
+ <FieldLabel htmlFor="admin-user-email">
+ {t("settings:adminUsers.edit.email")}
+ </FieldLabel>
+ <Input
+ id="admin-user-email"
+ name="email"
+ type="email"
+ required
+ value={values.email}
+ onChange={(event) =>
+ setValues((current) => ({
+ ...current,
+ email: event.target.value,
+ }))
+ }
+ />
+ </Field>
+ <Field>
+ <FieldLabel htmlFor="admin-user-role">
+ {t("settings:adminUsers.edit.role")}
+ </FieldLabel>
+ <Select
+ items={{
+ user: t("settings:adminUsers.roles.user"),
+ admin: t("settings:adminUsers.roles.admin"),
+ }}
+ value={values.role}
+ disabled={isSelf}
+ onValueChange={(value) => {
+ if (value === "admin" || value === "user") {
+ setValues((current) => ({ ...current, role: value }));
+ }
+ }}
+ >
+ <SelectTrigger id="admin-user-role">
+ <SelectValue>{roleLabel}</SelectValue>
+ </SelectTrigger>
+ <SelectPopup>
+ <SelectItem value="user">
+ {t("settings:adminUsers.roles.user")}
+ </SelectItem>
+ <SelectItem value="admin">
+ {t("settings:adminUsers.roles.admin")}
+ </SelectItem>
+ </SelectPopup>
+ </Select>
+ {isSelf ? (
+ <p className="text-xs text-muted-foreground">
+ {t("settings:adminUsers.edit.selfRoleHint")}
+ </p>
+ ) : null}
+ </Field>
+ </div>
+ </DialogPanel>
+ <DialogFooter>
+ <DialogClose
+ render={<Button type="button" variant="outline" />}
+ disabled={isPending}
+ >
+ {t("common:actions.cancel")}
+ </DialogClose>
+ <Button type="submit" disabled={isPending}>
+ {isPending
+ ? t("settings:adminUsers.edit.saving")
+ : t("settings:adminUsers.edit.save")}
+ </Button>
+ </DialogFooter>
+ </form>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/admin/user-management/edit-user-values.test.ts b/apps/web/src/components/admin/user-management/edit-user-values.test.ts
new file mode 100644
index 000000000..6c04570e8
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/edit-user-values.test.ts
@@ -0,0 +1,72 @@
+import { describe, expect, it } from "vite-plus/test";
+import { buildUserUpdate, getEditUserValues } from "./edit-user-values";
+
+const ada = {
+ id: "ada",
+ name: "Ada Lovelace",
+ email: "[email protected]",
+ role: "user,admin",
+};
+
+describe("getEditUserValues", () => {
+ it("reads a multi-role account with admin as an admin", () => {
+ expect(getEditUserValues(ada)).toEqual({
+ name: "Ada Lovelace",
+ email: "[email protected]",
+ role: "admin",
+ });
+ });
+
+ it("reads any other role as a user", () => {
+ expect(getEditUserValues({ ...ada, role: "user" }).role).toBe("user");
+ });
+});
+
+describe("buildUserUpdate", () => {
+ it("trims the name and normalizes the email", () => {
+ expect(
+ buildUserUpdate(
+ ada,
+ { name: " Ada ", email: " [email protected] ", role: "admin" },
+ "someone-else",
+ ),
+ ).toEqual({ userId: "ada", name: "Ada", email: "[email protected]" });
+ });
+
+ it("returns nothing when the name or email is blank", () => {
+ expect(
+ buildUserUpdate(
+ ada,
+ { name: " ", email: "[email protected]", role: "admin" },
+ "someone-else",
+ ),
+ ).toBeNull();
+ expect(
+ buildUserUpdate(
+ ada,
+ { name: "Ada", email: " ", role: "admin" },
+ "someone-else",
+ ),
+ ).toBeNull();
+ });
+
+ it("strips only the admin token on demotion", () => {
+ expect(
+ buildUserUpdate(
+ ada,
+ { name: "Ada", email: "[email protected]", role: "user" },
+ "someone-else",
+ ),
+ ).toMatchObject({ role: "user" });
+ });
+
+ it("never changes your own role", () => {
+ expect(
+ buildUserUpdate(
+ ada,
+ { name: "Ada", email: "[email protected]", role: "user" },
+ "ada",
+ ),
+ ).not.toHaveProperty("role");
+ });
+});
diff --git a/apps/web/src/components/admin/user-management/edit-user-values.ts b/apps/web/src/components/admin/user-management/edit-user-values.ts
new file mode 100644
index 000000000..d65c033bf
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/edit-user-values.ts
@@ -0,0 +1,50 @@
+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";
+import {
+ hasInstanceAdminRole,
+ withInstanceAdminRole,
+} from "@/lib/instance-admin";
+
+export type EditUserValues = {
+ name: string;
+ email: string;
+ role: "admin" | "user";
+};
+
+type EditableUser = Pick<AdminUser, "id" | "name" | "email" | "role">;
+
+export const EMPTY_EDIT_USER_VALUES: EditUserValues = {
+ name: "",
+ email: "",
+ role: "user",
+};
+
+export function getEditUserValues(user: EditableUser): EditUserValues {
+ return {
+ name: user.name,
+ email: user.email,
+ role: hasInstanceAdminRole(user.role) ? "admin" : "user",
+ };
+}
+
+export function buildUserUpdate(
+ user: EditableUser,
+ values: EditUserValues,
+ currentUserId: string | undefined,
+) {
+ const name = values.name.trim();
+ const email = values.email.trim().toLowerCase();
+ if (!name || !email) return null;
+
+ const wantsAdmin = values.role === "admin";
+ const roleChanged =
+ user.id !== currentUserId && hasInstanceAdminRole(user.role) !== wantsAdmin;
+
+ return {
+ userId: user.id,
+ name,
+ email,
+ ...(roleChanged
+ ? { role: withInstanceAdminRole(user.role, wantsAdmin) }
+ : {}),
+ };
+}
diff --git a/apps/web/src/components/admin/user-management/pending-user-action.ts b/apps/web/src/components/admin/user-management/pending-user-action.ts
new file mode 100644
index 000000000..93808a0c0
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/pending-user-action.ts
@@ -0,0 +1,6 @@
+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";
+
+export type PendingUserAction = {
+ type: "deactivate" | "reactivate" | "delete";
+ user: AdminUser;
+};
diff --git a/apps/web/src/components/admin/user-management/user-confirm-dialog.tsx b/apps/web/src/components/admin/user-management/user-confirm-dialog.tsx
new file mode 100644
index 000000000..2ea6d6dfc
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/user-confirm-dialog.tsx
@@ -0,0 +1,89 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import useDeleteAdminUser from "@/hooks/mutations/admin/use-delete-admin-user";
+import useToggleAdminUserStatus from "@/hooks/mutations/admin/use-toggle-admin-user-status";
+import type { PendingUserAction } from "./pending-user-action";
+
+type UserConfirmDialogProps = {
+ action: PendingUserAction | null;
+ onClose: () => void;
+};
+
+export function UserConfirmDialog({ action, onClose }: UserConfirmDialogProps) {
+ const { t } = useTranslation();
+ const [shownAction, setShownAction] = useState(action);
+ const { mutateAsync: toggleUserStatus, isPending: isToggling } =
+ useToggleAdminUserStatus();
+ const { mutateAsync: deleteUser, isPending: isDeleting } =
+ useDeleteAdminUser();
+ const isPending = isToggling || isDeleting;
+
+ if (action && action !== shownAction) {
+ setShownAction(action);
+ }
+
+ const handleConfirm = async () => {
+ if (!action) return;
+
+ try {
+ if (action.type === "delete") {
+ await deleteUser(action.user.id);
+ } else {
+ await toggleUserStatus({
+ userId: action.user.id,
+ deactivate: action.type === "deactivate",
+ });
+ }
+ onClose();
+ } catch {
+ return;
+ }
+ };
+
+ const type = shownAction?.type ?? "delete";
+ const values = { name: shownAction?.user.name ?? "" };
+ const copy =
+ type === "deactivate"
+ ? {
+ title: t("settings:adminUsers.confirm.deactivate.title"),
+ description: t(
+ "settings:adminUsers.confirm.deactivate.description",
+ values,
+ ),
+ action: t("settings:adminUsers.confirm.deactivate.action"),
+ }
+ : type === "reactivate"
+ ? {
+ title: t("settings:adminUsers.confirm.reactivate.title"),
+ description: t(
+ "settings:adminUsers.confirm.reactivate.description",
+ values,
+ ),
+ action: t("settings:adminUsers.confirm.reactivate.action"),
+ }
+ : {
+ title: t("settings:adminUsers.confirm.delete.title"),
+ description: t(
+ "settings:adminUsers.confirm.delete.description",
+ values,
+ ),
+ action: t("settings:adminUsers.confirm.delete.action"),
+ };
+
+ return (
+ <ConfirmDialog
+ open={action !== null}
+ onOpenChange={(open) => {
+ if (!open && !isPending) onClose();
+ }}
+ title={copy.title}
+ description={copy.description}
+ confirmLabel={copy.action}
+ pendingLabel={t("settings:adminUsers.confirm.working")}
+ pending={isPending}
+ destructive={type !== "reactivate"}
+ onConfirm={handleConfirm}
+ />
+ );
+}
diff --git a/apps/web/src/components/admin/user-management/user-directory-columns.ts b/apps/web/src/components/admin/user-management/user-directory-columns.ts
new file mode 100644
index 000000000..00e0cc70f
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/user-directory-columns.ts
@@ -0,0 +1,6 @@
+export const USER_DIRECTORY_COLUMNS = {
+ role: "w-20",
+ status: "w-26",
+ joined: "w-22",
+ actions: "w-7",
+} as const;
diff --git a/apps/web/src/components/admin/user-management/user-directory-head.tsx b/apps/web/src/components/admin/user-management/user-directory-head.tsx
new file mode 100644
index 000000000..69d607710
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/user-directory-head.tsx
@@ -0,0 +1,43 @@
+import { useTranslation } from "react-i18next";
+import { cn } from "@/lib/cn";
+import { USER_DIRECTORY_COLUMNS } from "./user-directory-columns";
+
+const HEADER_CLASS = "shrink-0 text-xs text-muted-foreground";
+
+export function UserDirectoryHead() {
+ const { t } = useTranslation();
+
+ return (
+ <div role="row" className="hidden h-8 items-center gap-4 px-4 sm:flex">
+ <div role="columnheader" className="flex-1 text-xs text-muted-foreground">
+ {t("settings:adminUsers.columns.user")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, USER_DIRECTORY_COLUMNS.role)}
+ >
+ {t("settings:adminUsers.columns.role")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, USER_DIRECTORY_COLUMNS.status)}
+ >
+ {t("settings:adminUsers.columns.status")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, USER_DIRECTORY_COLUMNS.joined)}
+ >
+ {t("settings:adminUsers.columns.joined")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, USER_DIRECTORY_COLUMNS.actions)}
+ >
+ <span className="sr-only">
+ {t("settings:adminUsers.columns.actions")}
+ </span>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/admin/user-management/user-directory-row.tsx b/apps/web/src/components/admin/user-management/user-directory-row.tsx
new file mode 100644
index 000000000..3814ca90d
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/user-directory-row.tsx
@@ -0,0 +1,129 @@
+import {
+ BanIcon,
+ CheckCircle2Icon,
+ PencilIcon,
+ Trash2Icon,
+} from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { DirectoryAvatar } from "@/components/admin/directory/directory-avatar";
+import {
+ type RowAction,
+ RowActionsMenu,
+} from "@/components/settings/row-actions-menu";
+import type { AdminUser } from "@/hooks/queries/admin/use-admin-users";
+import { cn } from "@/lib/cn";
+import { formatDateMedium } from "@/lib/format";
+import { hasInstanceAdminRole } from "@/lib/instance-admin";
+import type { PendingUserAction } from "./pending-user-action";
+import { USER_DIRECTORY_COLUMNS } from "./user-directory-columns";
+import { UserRoleBadge } from "./user-role-badge";
+import { UserStatus } from "./user-status";
+
+type UserDirectoryRowProps = {
+ user: AdminUser;
+ isSelf: boolean;
+ onEdit: () => void;
+ onAction: (type: PendingUserAction["type"]) => void;
+};
+
+const CELL_CLASS = "hidden shrink-0 sm:flex";
+
+export function UserDirectoryRow({
+ user,
+ isSelf,
+ onEdit,
+ onAction,
+}: UserDirectoryRowProps) {
+ const { t } = useTranslation();
+ const isAdmin = hasInstanceAdminRole(user.role);
+ const isDeactivated = user.banned === true;
+
+ const actions: RowAction[] = [
+ {
+ id: "edit",
+ label: t("settings:adminUsers.actions.edit"),
+ icon: PencilIcon,
+ onSelect: onEdit,
+ },
+ ];
+ if (!isSelf) {
+ actions.push(
+ isDeactivated
+ ? {
+ id: "reactivate",
+ label: t("settings:adminUsers.actions.reactivate"),
+ icon: CheckCircle2Icon,
+ onSelect: () => onAction("reactivate"),
+ }
+ : {
+ id: "deactivate",
+ label: t("settings:adminUsers.actions.deactivate"),
+ icon: BanIcon,
+ onSelect: () => onAction("deactivate"),
+ },
+ {
+ id: "delete",
+ label: t("common:actions.delete"),
+ icon: Trash2Icon,
+ destructive: true,
+ onSelect: () => onAction("delete"),
+ },
+ );
+ }
+
+ return (
+ <div role="row" className="flex items-center gap-4 px-4 py-3">
+ <div role="cell" className="flex min-w-0 flex-1 items-center gap-3">
+ <DirectoryAvatar name={user.name} image={user.image} />
+ <div className="min-w-0">
+ <div className="flex min-w-0 items-center gap-1.5">
+ <span className="truncate text-sm font-medium">{user.name}</span>
+ {isSelf ? (
+ <span className="shrink-0 text-xs text-muted-foreground">
+ {t("settings:adminUsers.you")}
+ </span>
+ ) : null}
+ </div>
+ <span className="block truncate text-xs text-muted-foreground">
+ {user.email}
+ </span>
+ <div className="mt-1.5 flex items-center gap-2 sm:hidden">
+ <UserRoleBadge isAdmin={isAdmin} />
+ <UserStatus isDeactivated={isDeactivated} />
+ </div>
+ </div>
+ </div>
+ <div role="cell" className={cn(CELL_CLASS, USER_DIRECTORY_COLUMNS.role)}>
+ <UserRoleBadge isAdmin={isAdmin} />
+ </div>
+ <div
+ role="cell"
+ className={cn(CELL_CLASS, USER_DIRECTORY_COLUMNS.status)}
+ >
+ <UserStatus isDeactivated={isDeactivated} />
+ </div>
+ <div
+ role="cell"
+ className={cn(
+ CELL_CLASS,
+ USER_DIRECTORY_COLUMNS.joined,
+ "text-[13px] text-muted-foreground tabular-nums",
+ )}
+ >
+ {formatDateMedium(user.createdAt)}
+ </div>
+ <div
+ role="cell"
+ className={cn(
+ "flex shrink-0 justify-end",
+ USER_DIRECTORY_COLUMNS.actions,
+ )}
+ >
+ <RowActionsMenu
+ label={t("settings:adminUsers.actions.open", { name: user.name })}
+ actions={actions}
+ />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/admin/user-management-panel.test.tsx b/apps/web/src/components/admin/user-management/user-management-panel.test.tsx
similarity index 54%
rename from apps/web/src/components/admin/user-management-panel.test.tsx
rename to apps/web/src/components/admin/user-management/user-management-panel.test.tsx
index 798c42a07..00325ebab 100644
--- a/apps/web/src/components/admin/user-management-panel.test.tsx
+++ b/apps/web/src/components/admin/user-management/user-management-panel.test.tsx
@@ -5,6 +5,7 @@ import {
render,
screen,
waitFor,
+ within,
} from "@testing-library/react";
import {
afterEach,
@@ -32,17 +33,19 @@ vi.mock("@/hooks/queries/admin/use-admin-users", async (importOriginal) => ({
>()),
default: vi.fn(),
}));
-const { updateUserMock } = vi.hoisted(() => ({
+const { updateUserMock, toggleStatusMock, deleteUserMock } = vi.hoisted(() => ({
updateUserMock: vi.fn(),
+ toggleStatusMock: vi.fn(),
+ deleteUserMock: vi.fn(),
}));
vi.mock("@/hooks/mutations/admin/use-update-admin-user", () => ({
default: () => ({ mutateAsync: updateUserMock, isPending: false }),
}));
vi.mock("@/hooks/mutations/admin/use-toggle-admin-user-status", () => ({
- default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+ default: () => ({ mutateAsync: toggleStatusMock, isPending: false }),
}));
vi.mock("@/hooks/mutations/admin/use-delete-admin-user", () => ({
- default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+ default: () => ({ mutateAsync: deleteUserMock, isPending: false }),
}));
const useAdminUsersMock = vi.mocked(useAdminUsers);
@@ -98,10 +101,14 @@ function goToThirdPage() {
expect(lastPageArgument()).toBe(2);
}
-function openEditDialog() {
+function openRowMenu() {
fireEvent.click(
screen.getByRole("button", { name: "settings:adminUsers.actions.open" }),
);
+}
+
+function openEditDialog() {
+ openRowMenu();
fireEvent.click(screen.getByText("settings:adminUsers.actions.edit"));
const trigger = document.getElementById("admin-user-role");
expect(trigger).not.toBeNull();
@@ -131,6 +138,10 @@ beforeEach(() => {
useAdminUsersMock.mockReset();
updateUserMock.mockReset();
updateUserMock.mockResolvedValue(undefined);
+ toggleStatusMock.mockReset();
+ toggleStatusMock.mockResolvedValue(undefined);
+ deleteUserMock.mockReset();
+ deleteUserMock.mockResolvedValue(undefined);
});
afterEach(() => {
@@ -174,8 +185,11 @@ describe("UserManagementPanel", () => {
);
render(<UserManagementPanel />);
- const badge = screen.getByText("settings:adminUsers.roles.admin");
- expect(badge.closest('[data-slot="badge"]')).not.toBeNull();
+ const badges = screen.getAllByText("settings:adminUsers.roles.admin");
+ expect(badges.length).toBeGreaterThan(0);
+ for (const badge of badges) {
+ expect(badge.closest('[data-slot="badge"]')).not.toBeNull();
+ }
const trigger = openEditDialog();
expect(trigger.textContent).toContain("settings:adminUsers.roles.admin");
@@ -238,4 +252,165 @@ describe("UserManagementPanel", () => {
role: "user,admin",
});
});
+
+ it("shows the total next to the title and the match count while searching", () => {
+ useAdminUsersMock.mockReturnValue(success(128));
+ render(<UserManagementPanel />);
+ expect(screen.getByText("128")).toBeTruthy();
+
+ fireEvent.change(
+ screen.getByRole("searchbox", {
+ name: "settings:adminUsers.searchLabel",
+ }),
+ { target: { value: "ada" } },
+ );
+ act(() => {
+ vi.advanceTimersByTime(300);
+ });
+
+ expect(screen.getByText("settings:adminUsers.searchCount")).toBeTruthy();
+ expect(useAdminUsersMock.mock.calls.at(-1)?.[0]).toBe("ada");
+ });
+
+ it("offers to clear an empty search", () => {
+ useAdminUsersMock.mockReturnValue(success(0, []));
+ render(<UserManagementPanel />);
+ fireEvent.change(
+ screen.getByRole("searchbox", {
+ name: "settings:adminUsers.searchLabel",
+ }),
+ { target: { value: "nobody" } },
+ );
+
+ expect(screen.getByText("settings:adminUsers.emptyTitle")).toBeTruthy();
+ expect(
+ screen.queryByRole("button", { name: "settings:adminUsers.next" }),
+ ).toBeNull();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:adminUsers.clearSearch" }),
+ );
+
+ expect(
+ (
+ screen.getByRole("searchbox", {
+ name: "settings:adminUsers.searchLabel",
+ }) as HTMLInputElement
+ ).value,
+ ).toBe("");
+ });
+
+ it("retries after a failed load", () => {
+ const result = failure();
+ useAdminUsersMock.mockReturnValue(result);
+ render(<UserManagementPanel />);
+
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:adminUsers.retry" }),
+ );
+
+ expect(result.refetch).toHaveBeenCalledTimes(1);
+ });
+
+ it("only offers editing on your own account", async () => {
+ vi.useRealTimers();
+ useAdminUsersMock.mockReturnValue(
+ success(1, [user({ id: "current-user" })]),
+ );
+ render(<UserManagementPanel />);
+
+ expect(screen.getByText("settings:adminUsers.you")).toBeTruthy();
+ openRowMenu();
+
+ expect(
+ await screen.findByRole("menuitem", {
+ name: "settings:adminUsers.actions.edit",
+ }),
+ ).toBeTruthy();
+ expect(
+ screen.queryByRole("menuitem", {
+ name: "settings:adminUsers.actions.deactivate",
+ }),
+ ).toBeNull();
+ expect(
+ screen.queryByRole("menuitem", { name: "common:actions.delete" }),
+ ).toBeNull();
+ });
+
+ it("deactivates an account only after confirmation", async () => {
+ vi.useRealTimers();
+ useAdminUsersMock.mockReturnValue(success(1));
+ render(<UserManagementPanel />);
+
+ openRowMenu();
+ fireEvent.click(
+ await screen.findByRole("menuitem", {
+ name: "settings:adminUsers.actions.deactivate",
+ }),
+ );
+ expect(toggleStatusMock).not.toHaveBeenCalled();
+
+ const confirm = await screen.findByRole("alertdialog");
+ fireEvent.click(
+ within(confirm).getByRole("button", {
+ name: "settings:adminUsers.confirm.deactivate.action",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(toggleStatusMock).toHaveBeenCalledWith({
+ userId: "user-1",
+ deactivate: true,
+ }),
+ );
+ expect(deleteUserMock).not.toHaveBeenCalled();
+ });
+
+ it("offers reactivation for a deactivated account", async () => {
+ vi.useRealTimers();
+ useAdminUsersMock.mockReturnValue(success(1, [user({ banned: true })]));
+ render(<UserManagementPanel />);
+
+ expect(
+ screen.getAllByText("settings:adminUsers.status.deactivated").length,
+ ).toBeGreaterThan(0);
+ openRowMenu();
+ fireEvent.click(
+ await screen.findByRole("menuitem", {
+ name: "settings:adminUsers.actions.reactivate",
+ }),
+ );
+ const confirm = await screen.findByRole("alertdialog");
+ fireEvent.click(
+ within(confirm).getByRole("button", {
+ name: "settings:adminUsers.confirm.reactivate.action",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(toggleStatusMock).toHaveBeenCalledWith({
+ userId: "user-1",
+ deactivate: false,
+ }),
+ );
+ });
+
+ it("deletes an account only after confirmation", async () => {
+ vi.useRealTimers();
+ useAdminUsersMock.mockReturnValue(success(1));
+ render(<UserManagementPanel />);
+
+ openRowMenu();
+ fireEvent.click(
+ await screen.findByRole("menuitem", { name: "common:actions.delete" }),
+ );
+ const confirm = await screen.findByRole("alertdialog");
+ fireEvent.click(
+ within(confirm).getByRole("button", {
+ name: "settings:adminUsers.confirm.delete.action",
+ }),
+ );
+
+ await waitFor(() => expect(deleteUserMock).toHaveBeenCalledWith("user-1"));
+ expect(toggleStatusMock).not.toHaveBeenCalled();
+ });
});
diff --git a/apps/web/src/components/admin/user-management/user-management-panel.tsx b/apps/web/src/components/admin/user-management/user-management-panel.tsx
new file mode 100644
index 000000000..eb74f7299
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/user-management-panel.tsx
@@ -0,0 +1,164 @@
+import { UsersRoundIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { DirectoryErrorRow } from "@/components/admin/directory/directory-error-row";
+import { DirectoryHeading } from "@/components/admin/directory/directory-heading";
+import { DirectoryPagination } from "@/components/admin/directory/directory-pagination";
+import { DirectorySearchInput } from "@/components/admin/directory/directory-search-input";
+import { DirectorySkeletonRows } from "@/components/admin/directory/directory-skeleton-rows";
+import { getPageCount } from "@/components/admin/directory/get-page-count";
+import { useDirectoryPaging } from "@/components/admin/directory/use-directory-paging";
+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useAdminUsers, {
+ ADMIN_USERS_PAGE_SIZE,
+ ADMIN_USERS_SEARCH_MAX_LENGTH,
+ type AdminUser,
+} from "@/hooks/queries/admin/use-admin-users";
+import { EditUserDialog } from "./edit-user-dialog";
+import type { PendingUserAction } from "./pending-user-action";
+import { UserConfirmDialog } from "./user-confirm-dialog";
+import { UserDirectoryHead } from "./user-directory-head";
+import { UserDirectoryRow } from "./user-directory-row";
+
+function UserManagementPanel() {
+ const { t } = useTranslation();
+ const { user: currentUser } = useAuth();
+ const { search, setSearch, debouncedSearch, page, setPage } =
+ useDirectoryPaging();
+ const [editingUser, setEditingUser] = useState<AdminUser | null>(null);
+ const [pendingAction, setPendingAction] = useState<PendingUserAction | null>(
+ null,
+ );
+
+ const { data, isLoading, isFetching, isError, refetch } = useAdminUsers(
+ debouncedSearch,
+ page,
+ );
+
+ const total = data?.total ?? 0;
+ const pageCount = getPageCount(total, ADMIN_USERS_PAGE_SIZE);
+ const users = data?.users ?? [];
+ const isSearchActive = debouncedSearch.trim().length > 0;
+ const hasError = !isLoading && isError;
+ const isEmpty = !isLoading && !isError && users.length === 0;
+ const countLabel = !data
+ ? undefined
+ : isSearchActive
+ ? t("settings:adminUsers.searchCount", { count: total })
+ : total;
+
+ if (data && page >= pageCount) {
+ setPage(pageCount - 1);
+ }
+
+ return (
+ <SettingsPage
+ title={t("settings:adminUsers.title")}
+ description={t("settings:adminUsers.subtitle")}
+ >
+ <SettingsSection
+ title={
+ <DirectoryHeading
+ title={t("settings:adminUsers.directoryTitle")}
+ count={countLabel}
+ refreshingLabel={
+ isFetching && !isLoading
+ ? t("settings:adminUsers.refreshing")
+ : undefined
+ }
+ />
+ }
+ action={
+ <DirectorySearchInput
+ value={search}
+ onValueChange={setSearch}
+ maxLength={ADMIN_USERS_SEARCH_MAX_LENGTH}
+ placeholder={t("settings:adminUsers.searchPlaceholder")}
+ label={t("settings:adminUsers.searchLabel")}
+ />
+ }
+ >
+ <SettingsCard>
+ {hasError ? (
+ <DirectoryErrorRow
+ message={t("settings:adminUsers.loadError")}
+ retryLabel={t("settings:adminUsers.retry")}
+ onRetry={() => refetch()}
+ />
+ ) : isEmpty ? (
+ <SettingsEmpty
+ icon={<UsersRoundIcon />}
+ title={t("settings:adminUsers.emptyTitle")}
+ description={t("settings:adminUsers.emptyDescription")}
+ action={
+ search ? (
+ <Button
+ type="button"
+ variant="ghost"
+ size="sm"
+ onClick={() => setSearch("")}
+ >
+ {t("settings:adminUsers.clearSearch")}
+ </Button>
+ ) : null
+ }
+ />
+ ) : (
+ <div
+ role="table"
+ aria-label={t("settings:adminUsers.directoryTitle")}
+ className="divide-y divide-border"
+ >
+ <UserDirectoryHead />
+ {isLoading ? (
+ <DirectorySkeletonRows withAvatar />
+ ) : (
+ users.map((user) => (
+ <UserDirectoryRow
+ key={user.id}
+ user={user}
+ isSelf={user.id === currentUser?.id}
+ onEdit={() => setEditingUser(user)}
+ onAction={(type) => setPendingAction({ type, user })}
+ />
+ ))
+ )}
+ </div>
+ )}
+ {!isLoading && !isError && !isEmpty ? (
+ <DirectoryPagination
+ page={page}
+ pageCount={pageCount}
+ disabled={isFetching}
+ onPageChange={setPage}
+ label={t("settings:adminUsers.pagination", {
+ current: page + 1,
+ total: pageCount,
+ })}
+ previousLabel={t("settings:adminUsers.previous")}
+ nextLabel={t("settings:adminUsers.next")}
+ />
+ ) : null}
+ </SettingsCard>
+ </SettingsSection>
+
+ <EditUserDialog
+ user={editingUser}
+ currentUserId={currentUser?.id}
+ onClose={() => setEditingUser(null)}
+ />
+
+ <UserConfirmDialog
+ action={pendingAction}
+ onClose={() => setPendingAction(null)}
+ />
+ </SettingsPage>
+ );
+}
+
+export default UserManagementPanel;
diff --git a/apps/web/src/components/admin/user-management/user-role-badge.tsx b/apps/web/src/components/admin/user-management/user-role-badge.tsx
new file mode 100644
index 000000000..ba7046f28
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/user-role-badge.tsx
@@ -0,0 +1,20 @@
+import { useTranslation } from "react-i18next";
+import { Badge } from "@/components/ui/badge";
+
+type UserRoleBadgeProps = {
+ isAdmin: boolean;
+};
+
+export function UserRoleBadge({ isAdmin }: UserRoleBadgeProps) {
+ const { t } = useTranslation();
+
+ return isAdmin ? (
+ <Badge variant="outline" className="px-1.5">
+ {t("settings:adminUsers.roles.admin")}
+ </Badge>
+ ) : (
+ <Badge variant="secondary" className="px-1.5 text-muted-foreground">
+ {t("settings:adminUsers.roles.user")}
+ </Badge>
+ );
+}
diff --git a/apps/web/src/components/admin/user-management/user-status.tsx b/apps/web/src/components/admin/user-management/user-status.tsx
new file mode 100644
index 000000000..f17ea73da
--- /dev/null
+++ b/apps/web/src/components/admin/user-management/user-status.tsx
@@ -0,0 +1,31 @@
+import { useTranslation } from "react-i18next";
+import { cn } from "@/lib/cn";
+
+type UserStatusProps = {
+ isDeactivated: boolean;
+};
+
+export function UserStatus({ isDeactivated }: UserStatusProps) {
+ const { t } = useTranslation();
+
+ return (
+ <span className="flex items-center gap-1.5 text-[13px]">
+ <span
+ aria-hidden="true"
+ className={cn(
+ "size-1.5 shrink-0 rounded-full",
+ isDeactivated ? "bg-muted-foreground" : "bg-success",
+ )}
+ />
+ <span
+ className={isDeactivated ? "text-muted-foreground" : "text-foreground"}
+ >
+ {t(
+ isDeactivated
+ ? "settings:adminUsers.status.deactivated"
+ : "settings:adminUsers.status.active",
+ )}
+ </span>
+ </span>
+ );
+}
diff --git a/apps/web/src/components/admin/workspace-management/add-workspace-member-dialog.tsx b/apps/web/src/components/admin/workspace-management/add-workspace-member-dialog.tsx
index 32cda4dfc..f8bfc317d 100644
--- a/apps/web/src/components/admin/workspace-management/add-workspace-member-dialog.tsx
+++ b/apps/web/src/components/admin/workspace-management/add-workspace-member-dialog.tsx
@@ -109,7 +109,7 @@ function AddWorkspaceMemberDialog({
</DialogPanel>
<DialogFooter>
<DialogClose
- render={<Button type="button" variant="ghost" />}
+ render={<Button type="button" variant="outline" />}
disabled={isPending}
>
{t("common:actions.cancel")}
diff --git a/apps/web/src/components/admin/workspace-management/member-access-button.tsx b/apps/web/src/components/admin/workspace-management/member-access-button.tsx
new file mode 100644
index 000000000..779e066f9
--- /dev/null
+++ b/apps/web/src/components/admin/workspace-management/member-access-button.tsx
@@ -0,0 +1,54 @@
+import { useTranslation } from "react-i18next";
+import type { ProjectAccessValue } from "@/components/team/project-access/project-access-value";
+import { Button } from "@/components/ui/button";
+
+type MemberAccessButtonProps = {
+ name: string;
+ isOwner: boolean;
+ access: ProjectAccessValue | undefined;
+ onEditAccess: () => void;
+};
+
+export function MemberAccessButton({
+ name,
+ isOwner,
+ access,
+ onEditAccess,
+}: MemberAccessButtonProps) {
+ const { t } = useTranslation();
+
+ if (isOwner) {
+ return (
+ <span className="text-[13px] text-muted-foreground">
+ {t("team:projectAccess.allProjects")}
+ </span>
+ );
+ }
+
+ if (!access) {
+ return <span className="text-[13px] text-muted-foreground">–</span>;
+ }
+
+ const accessLabel =
+ access.projectAccess === "all"
+ ? t("team:projectAccess.allProjects")
+ : t("team:projectAccess.projectCount", {
+ count: access.projectIds.length,
+ });
+
+ return (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="sm:w-full"
+ aria-label={t("settings:adminWorkspaces.members.editAccess", {
+ name,
+ access: accessLabel,
+ })}
+ onClick={onEditAccess}
+ >
+ {accessLabel}
+ </Button>
+ );
+}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-directory-columns.ts b/apps/web/src/components/admin/workspace-management/workspace-directory-columns.ts
new file mode 100644
index 000000000..5dada6af1
--- /dev/null
+++ b/apps/web/src/components/admin/workspace-management/workspace-directory-columns.ts
@@ -0,0 +1,7 @@
+export const WORKSPACE_DIRECTORY_COLUMNS = {
+ owners: "w-36",
+ members: "w-16",
+ projects: "w-16",
+ created: "w-22",
+ actions: "w-18",
+} as const;
diff --git a/apps/web/src/components/admin/workspace-management/workspace-directory-head.tsx b/apps/web/src/components/admin/workspace-management/workspace-directory-head.tsx
new file mode 100644
index 000000000..3f07cbf38
--- /dev/null
+++ b/apps/web/src/components/admin/workspace-management/workspace-directory-head.tsx
@@ -0,0 +1,49 @@
+import { useTranslation } from "react-i18next";
+import { cn } from "@/lib/cn";
+import { WORKSPACE_DIRECTORY_COLUMNS } from "./workspace-directory-columns";
+
+const HEADER_CLASS = "shrink-0 text-xs text-muted-foreground";
+
+export function WorkspaceDirectoryHead() {
+ const { t } = useTranslation();
+
+ return (
+ <div role="row" className="hidden h-8 items-center gap-4 px-4 sm:flex">
+ <div role="columnheader" className="flex-1 text-xs text-muted-foreground">
+ {t("settings:adminWorkspaces.columns.workspace")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, WORKSPACE_DIRECTORY_COLUMNS.owners)}
+ >
+ {t("settings:adminWorkspaces.columns.owners")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, WORKSPACE_DIRECTORY_COLUMNS.members)}
+ >
+ {t("settings:adminWorkspaces.columns.members")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, WORKSPACE_DIRECTORY_COLUMNS.projects)}
+ >
+ {t("settings:adminWorkspaces.columns.projects")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, WORKSPACE_DIRECTORY_COLUMNS.created)}
+ >
+ {t("settings:adminWorkspaces.columns.created")}
+ </div>
+ <div
+ role="columnheader"
+ className={cn(HEADER_CLASS, WORKSPACE_DIRECTORY_COLUMNS.actions)}
+ >
+ <span className="sr-only">
+ {t("settings:adminWorkspaces.columns.actions")}
+ </span>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-directory-row.tsx b/apps/web/src/components/admin/workspace-management/workspace-directory-row.tsx
new file mode 100644
index 000000000..fd91ced11
--- /dev/null
+++ b/apps/web/src/components/admin/workspace-management/workspace-directory-row.tsx
@@ -0,0 +1,89 @@
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import type { AdminWorkspace } from "@/fetchers/admin/workspace-types";
+import { cn } from "@/lib/cn";
+import { formatDateMedium } from "@/lib/format";
+import { WORKSPACE_DIRECTORY_COLUMNS } from "./workspace-directory-columns";
+import { WorkspaceOwners } from "./workspace-owners";
+
+type WorkspaceDirectoryRowProps = {
+ workspace: AdminWorkspace;
+ onManage: () => void;
+};
+
+const CELL_CLASS =
+ "hidden shrink-0 text-[13px] text-muted-foreground tabular-nums sm:block";
+
+export function WorkspaceDirectoryRow({
+ workspace,
+ onManage,
+}: WorkspaceDirectoryRowProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div role="row" className="flex items-center gap-4 px-4 py-3">
+ <div role="cell" className="min-w-0 flex-1">
+ <span className="block truncate text-sm font-medium">
+ {workspace.name}
+ </span>
+ <span className="block truncate font-mono text-xs text-muted-foreground">
+ {workspace.slug}
+ </span>
+ <div className="mt-1.5 flex min-w-0 items-center gap-2 text-muted-foreground sm:hidden">
+ <WorkspaceOwners owners={workspace.owners} />
+ <span className="shrink-0 text-xs">
+ {t("settings:adminWorkspaces.members.count", {
+ count: workspace.memberCount,
+ })}
+ </span>
+ </div>
+ </div>
+ <div
+ role="cell"
+ className={cn(
+ "hidden min-w-0 shrink-0 sm:flex",
+ WORKSPACE_DIRECTORY_COLUMNS.owners,
+ )}
+ >
+ <WorkspaceOwners owners={workspace.owners} />
+ </div>
+ <div
+ role="cell"
+ className={cn(CELL_CLASS, WORKSPACE_DIRECTORY_COLUMNS.members)}
+ >
+ {workspace.memberCount}
+ </div>
+ <div
+ role="cell"
+ className={cn(CELL_CLASS, WORKSPACE_DIRECTORY_COLUMNS.projects)}
+ >
+ {workspace.projectCount}
+ </div>
+ <div
+ role="cell"
+ className={cn(CELL_CLASS, WORKSPACE_DIRECTORY_COLUMNS.created)}
+ >
+ {formatDateMedium(workspace.createdAt)}
+ </div>
+ <div
+ role="cell"
+ className={cn(
+ "flex shrink-0 justify-end",
+ WORKSPACE_DIRECTORY_COLUMNS.actions,
+ )}
+ >
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ aria-label={t("settings:adminWorkspaces.manageLabel", {
+ name: workspace.name,
+ })}
+ onClick={onManage}
+ >
+ {t("settings:adminWorkspaces.manage")}
+ </Button>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-management-panel.test.tsx b/apps/web/src/components/admin/workspace-management/workspace-management-panel.test.tsx
index 5b48dbd9a..593045e60 100644
--- a/apps/web/src/components/admin/workspace-management/workspace-management-panel.test.tsx
+++ b/apps/web/src/components/admin/workspace-management/workspace-management-panel.test.tsx
@@ -229,16 +229,22 @@ describe("WorkspaceManagementPanel", () => {
it("lists workspaces with their owners and counts", () => {
render(<WorkspaceManagementPanel />);
- const acmeRow = screen.getByText("Acme").closest("tr") as HTMLElement;
+ const acmeRow = screen
+ .getByText("Acme")
+ .closest('[role="row"]') as HTMLElement;
expect(within(acmeRow).getByText("acme-inc")).toBeTruthy();
- expect(within(acmeRow).getByText("Ada Lovelace")).toBeTruthy();
+ expect(within(acmeRow).getAllByText("Ada Lovelace").length).toBeGreaterThan(
+ 0,
+ );
expect(within(acmeRow).getByText("2")).toBeTruthy();
expect(within(acmeRow).getByText("4")).toBeTruthy();
- const orphanRow = screen.getByText("Orphaned").closest("tr") as HTMLElement;
+ const orphanRow = screen
+ .getByText("Orphaned")
+ .closest('[role="row"]') as HTMLElement;
expect(
- within(orphanRow).getByText("settings:adminWorkspaces.noOwner"),
- ).toBeTruthy();
+ within(orphanRow).getAllByText("settings:adminWorkspaces.noOwner").length,
+ ).toBeGreaterThan(0);
});
it("shows the empty state when nothing matches", () => {
@@ -248,13 +254,34 @@ describe("WorkspaceManagementPanel", () => {
expect(
screen.getByText("settings:adminWorkspaces.emptyTitle"),
).toBeTruthy();
+ expect(
+ screen.queryByRole("button", { name: "settings:adminWorkspaces.next" }),
+ ).toBeNull();
+ });
+
+ it("retries after a failed load", () => {
+ const refetch = vi.fn();
+ useAdminWorkspacesMock.mockReturnValue({
+ data: undefined,
+ isLoading: false,
+ isFetching: false,
+ isError: true,
+ refetch,
+ } as unknown as ReturnType<typeof useAdminWorkspaces>);
+ render(<WorkspaceManagementPanel />);
+
+ expect(screen.getByText("settings:adminWorkspaces.loadError")).toBeTruthy();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:adminWorkspaces.retry" }),
+ );
+ expect(refetch).toHaveBeenCalledTimes(1);
});
it("opens a workspace's members with owners first", async () => {
const dialog = await openAcme();
expect(useAdminWorkspaceMembersMock).toHaveBeenLastCalledWith("acme", true);
- const rows = within(dialog).getAllByRole("row").slice(1);
+ const rows = within(dialog).getAllByRole("listitem");
expect(rows[0]?.textContent).toContain("Ada Lovelace");
expect(
within(rows[0] as HTMLElement).getByText("team:roles.owner"),
@@ -302,6 +329,24 @@ describe("WorkspaceManagementPanel", () => {
expect(mocks.remove).not.toHaveBeenCalled();
});
+ it("does not remove a member when the confirmation is cancelled", async () => {
+ await openAcme();
+ openMemberMenu("Grace Hopper");
+ fireEvent.click(
+ await screen.findByRole("menuitem", {
+ name: "settings:adminWorkspaces.members.remove",
+ }),
+ );
+
+ const confirm = await screen.findByRole("alertdialog");
+ fireEvent.click(
+ within(confirm).getByRole("button", { name: "common:actions.cancel" }),
+ );
+
+ await waitFor(() => expect(screen.queryByRole("alertdialog")).toBeNull());
+ expect(mocks.remove).not.toHaveBeenCalled();
+ });
+
it("removes a member after confirmation", async () => {
await openAcme();
openMemberMenu("Grace Hopper");
diff --git a/apps/web/src/components/admin/workspace-management/workspace-management-panel.tsx b/apps/web/src/components/admin/workspace-management/workspace-management-panel.tsx
index 1d10cff74..b91c6084a 100644
--- a/apps/web/src/components/admin/workspace-management/workspace-management-panel.tsx
+++ b/apps/web/src/components/admin/workspace-management/workspace-management-panel.tsx
@@ -1,264 +1,147 @@
-import {
- Building2Icon,
- ChevronLeftIcon,
- ChevronRightIcon,
- RefreshCwIcon,
- SearchIcon,
-} from "lucide-react";
-import { useEffect, useState } from "react";
+import { Building2Icon } from "lucide-react";
+import { useState } from "react";
import { useTranslation } from "react-i18next";
+import { DirectoryErrorRow } from "@/components/admin/directory/directory-error-row";
+import { DirectoryHeading } from "@/components/admin/directory/directory-heading";
+import { DirectoryPagination } from "@/components/admin/directory/directory-pagination";
+import { DirectorySearchInput } from "@/components/admin/directory/directory-search-input";
+import { DirectorySkeletonRows } from "@/components/admin/directory/directory-skeleton-rows";
+import { getPageCount } from "@/components/admin/directory/get-page-count";
+import { useDirectoryPaging } from "@/components/admin/directory/use-directory-paging";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
import { SettingsPage } from "@/components/settings/settings-page";
-import { Badge } from "@/components/ui/badge";
+import { SettingsSection } from "@/components/settings/settings-section";
import { Button } from "@/components/ui/button";
-import {
- InputGroup,
- InputGroupAddon,
- InputGroupInput,
-} from "@/components/ui/input-group";
-import { Skeleton } from "@/components/ui/skeleton";
-import {
- Table,
- TableBody,
- TableCell,
- TableHead,
- TableHeader,
- TableRow,
-} from "@/components/ui/table";
import useAdminWorkspaces, {
ADMIN_WORKSPACES_PAGE_SIZE,
ADMIN_WORKSPACES_SEARCH_MAX_LENGTH,
type AdminWorkspace,
} from "@/hooks/queries/admin/use-admin-workspaces";
-import { useDebouncedValue } from "@/hooks/use-debounced-value";
+import { WorkspaceDirectoryHead } from "./workspace-directory-head";
+import { WorkspaceDirectoryRow } from "./workspace-directory-row";
import WorkspaceMembersDialog from "./workspace-members-dialog";
-import WorkspaceTableRow from "./workspace-table-row";
-
-const COLUMN_COUNT = 6;
function WorkspaceManagementPanel() {
const { t } = useTranslation();
- const [search, setSearch] = useState("");
- const debouncedSearch = useDebouncedValue(search, 250);
- const [searchedFor, setSearchedFor] = useState(debouncedSearch);
- const [page, setPage] = useState(0);
+ const { search, setSearch, debouncedSearch, page, setPage } =
+ useDirectoryPaging();
const [selectedWorkspace, setSelectedWorkspace] =
useState<AdminWorkspace | null>(null);
const [isMembersOpen, setIsMembersOpen] = useState(false);
- if (debouncedSearch !== searchedFor) {
- setSearchedFor(debouncedSearch);
- setPage(0);
- }
-
const { data, isLoading, isFetching, isError, refetch } = useAdminWorkspaces(
debouncedSearch,
page,
);
const total = data?.total ?? 0;
+ const pageCount = getPageCount(total, ADMIN_WORKSPACES_PAGE_SIZE);
+ const workspaces = data?.workspaces ?? [];
const isSearchActive = debouncedSearch.trim().length > 0;
- const pageCount = Math.max(1, Math.ceil(total / ADMIN_WORKSPACES_PAGE_SIZE));
+ const hasError = !isLoading && isError;
+ const isEmpty = !isLoading && !isError && workspaces.length === 0;
+ const countLabel = !data
+ ? undefined
+ : isSearchActive
+ ? t("settings:adminWorkspaces.searchCount", { count: total })
+ : total;
- useEffect(() => {
- if (data && page >= pageCount) {
- setPage(pageCount - 1);
- }
- }, [data, page, pageCount]);
+ if (data && page >= pageCount) {
+ setPage(pageCount - 1);
+ }
return (
<SettingsPage
- className="max-w-5xl"
- title={
- <span className="flex items-center gap-2">
- {t("settings:adminWorkspaces.title")}
- <Badge variant="outline" size="sm">
- {t("settings:adminWorkspaces.instanceBadge")}
- </Badge>
- </span>
- }
+ title={t("settings:adminWorkspaces.title")}
description={t("settings:adminWorkspaces.subtitle")}
>
- <section className="overflow-hidden rounded-xl border bg-card shadow-xs/5">
- <div className="flex flex-col gap-4 border-b p-4 sm:flex-row sm:items-center sm:justify-between">
- <div className="flex items-center gap-3">
- <div>
- <h2 className="text-sm font-medium">
- {t("settings:adminWorkspaces.directoryTitle")}
- </h2>
- <p className="text-xs text-muted-foreground">
- {isSearchActive
- ? t("settings:adminWorkspaces.searchCount", { count: total })
- : t("settings:adminWorkspaces.workspaceCount", {
- count: total,
- })}
- </p>
- </div>
- {isFetching && !isLoading ? (
- <RefreshCwIcon
- aria-label={t("settings:adminWorkspaces.refreshing")}
- className="animate-spin text-muted-foreground"
- />
- ) : null}
- </div>
-
- <InputGroup className="w-full sm:w-72">
- <InputGroupInput
- type="search"
- value={search}
- onChange={(event) => setSearch(event.target.value)}
- maxLength={ADMIN_WORKSPACES_SEARCH_MAX_LENGTH}
- placeholder={t("settings:adminWorkspaces.searchPlaceholder")}
- aria-label={t("settings:adminWorkspaces.searchLabel")}
+ <SettingsSection
+ title={
+ <DirectoryHeading
+ title={t("settings:adminWorkspaces.directoryTitle")}
+ count={countLabel}
+ refreshingLabel={
+ isFetching && !isLoading
+ ? t("settings:adminWorkspaces.refreshing")
+ : undefined
+ }
+ />
+ }
+ action={
+ <DirectorySearchInput
+ value={search}
+ onValueChange={setSearch}
+ maxLength={ADMIN_WORKSPACES_SEARCH_MAX_LENGTH}
+ placeholder={t("settings:adminWorkspaces.searchPlaceholder")}
+ label={t("settings:adminWorkspaces.searchLabel")}
+ />
+ }
+ >
+ <SettingsCard>
+ {hasError ? (
+ <DirectoryErrorRow
+ message={t("settings:adminWorkspaces.loadError")}
+ retryLabel={t("settings:adminWorkspaces.retry")}
+ onRetry={() => refetch()}
/>
- <InputGroupAddon align="inline-start">
- <SearchIcon aria-hidden="true" />
- </InputGroupAddon>
- </InputGroup>
- </div>
-
- <div className="overflow-x-auto">
- <Table>
- <TableHeader>
- <TableRow>
- <TableHead className="ps-6">
- {t("settings:adminWorkspaces.columns.workspace")}
- </TableHead>
- <TableHead>
- {t("settings:adminWorkspaces.columns.owners")}
- </TableHead>
- <TableHead>
- {t("settings:adminWorkspaces.columns.members")}
- </TableHead>
- <TableHead>
- {t("settings:adminWorkspaces.columns.projects")}
- </TableHead>
- <TableHead>
- {t("settings:adminWorkspaces.columns.created")}
- </TableHead>
- <TableHead className="w-px pe-6">
- <span className="sr-only">
- {t("settings:adminWorkspaces.columns.actions")}
- </span>
- </TableHead>
- </TableRow>
- </TableHeader>
- <TableBody>
- {isLoading
- ? ["first", "second", "third", "fourth", "fifth"].map(
- (skeleton) => (
- <TableRow key={skeleton}>
- <TableCell className="ps-6 py-3" colSpan={COLUMN_COUNT}>
- <Skeleton className="h-9 w-full" />
- </TableCell>
- </TableRow>
- ),
- )
- : null}
-
- {!isLoading && isError ? (
- <TableRow>
- <TableCell
- colSpan={COLUMN_COUNT}
- className="h-56 text-center"
+ ) : isEmpty ? (
+ <SettingsEmpty
+ icon={<Building2Icon />}
+ title={t("settings:adminWorkspaces.emptyTitle")}
+ description={t("settings:adminWorkspaces.emptyDescription")}
+ action={
+ search ? (
+ <Button
+ type="button"
+ variant="ghost"
+ size="sm"
+ onClick={() => setSearch("")}
>
- <div className="flex flex-col items-center gap-3">
- <p className="text-sm text-muted-foreground">
- {t("settings:adminWorkspaces.loadError")}
- </p>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => refetch()}
- >
- <RefreshCwIcon aria-hidden="true" />
- {t("settings:adminWorkspaces.retry")}
- </Button>
- </div>
- </TableCell>
- </TableRow>
- ) : null}
-
- {!isLoading && !isError && data?.workspaces.length === 0 ? (
- <TableRow>
- <TableCell
- colSpan={COLUMN_COUNT}
- className="h-56 text-center"
- >
- <div className="flex flex-col items-center gap-2">
- <div className="flex size-10 items-center justify-center rounded-full bg-muted text-muted-foreground">
- <Building2Icon aria-hidden="true" />
- </div>
- <p className="text-sm font-medium">
- {t("settings:adminWorkspaces.emptyTitle")}
- </p>
- <p className="max-w-sm text-xs text-muted-foreground">
- {t("settings:adminWorkspaces.emptyDescription")}
- </p>
- {search ? (
- <Button
- type="button"
- variant="ghost"
- size="sm"
- onClick={() => setSearch("")}
- >
- {t("settings:adminWorkspaces.clearSearch")}
- </Button>
- ) : null}
- </div>
- </TableCell>
- </TableRow>
- ) : null}
-
- {!isLoading && !isError
- ? data?.workspaces.map((workspace) => (
- <WorkspaceTableRow
- key={workspace.id}
- workspace={workspace}
- onManage={() => {
- setSelectedWorkspace(workspace);
- setIsMembersOpen(true);
- }}
- />
- ))
- : null}
- </TableBody>
- </Table>
- </div>
-
- {!isLoading && !isError ? (
- <div className="flex items-center justify-between gap-4 border-t px-4 py-3">
- <p className="text-xs text-muted-foreground tabular-nums">
- {t("settings:adminWorkspaces.pagination", {
+ {t("settings:adminWorkspaces.clearSearch")}
+ </Button>
+ ) : null
+ }
+ />
+ ) : (
+ <div
+ role="table"
+ aria-label={t("settings:adminWorkspaces.directoryTitle")}
+ className="divide-y divide-border"
+ >
+ <WorkspaceDirectoryHead />
+ {isLoading ? (
+ <DirectorySkeletonRows />
+ ) : (
+ workspaces.map((workspace) => (
+ <WorkspaceDirectoryRow
+ key={workspace.id}
+ workspace={workspace}
+ onManage={() => {
+ setSelectedWorkspace(workspace);
+ setIsMembersOpen(true);
+ }}
+ />
+ ))
+ )}
+ </div>
+ )}
+ {!isLoading && !isError && !isEmpty ? (
+ <DirectoryPagination
+ page={page}
+ pageCount={pageCount}
+ disabled={isFetching}
+ onPageChange={setPage}
+ label={t("settings:adminWorkspaces.pagination", {
current: page + 1,
total: pageCount,
})}
- </p>
- <div className="flex items-center gap-2">
- <Button
- type="button"
- variant="outline"
- size="sm"
- disabled={page === 0 || isFetching}
- onClick={() => setPage((value) => Math.max(0, value - 1))}
- >
- <ChevronLeftIcon aria-hidden="true" />
- {t("settings:adminWorkspaces.previous")}
- </Button>
- <Button
- type="button"
- variant="outline"
- size="sm"
- disabled={page + 1 >= pageCount || isFetching}
- onClick={() => setPage((value) => value + 1)}
- >
- {t("settings:adminWorkspaces.next")}
- <ChevronRightIcon aria-hidden="true" />
- </Button>
- </div>
- </div>
- ) : null}
- </section>
+ previousLabel={t("settings:adminWorkspaces.previous")}
+ nextLabel={t("settings:adminWorkspaces.next")}
+ />
+ ) : null}
+ </SettingsCard>
+ </SettingsSection>
<WorkspaceMembersDialog
workspace={selectedWorkspace}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-member-confirm-dialog.tsx b/apps/web/src/components/admin/workspace-management/workspace-member-confirm-dialog.tsx
index 7e2286783..da1fea87e 100644
--- a/apps/web/src/components/admin/workspace-management/workspace-member-confirm-dialog.tsx
+++ b/apps/web/src/components/admin/workspace-management/workspace-member-confirm-dialog.tsx
@@ -1,14 +1,6 @@
+import { useState } from "react";
import { useTranslation } from "react-i18next";
-import {
- AlertDialog,
- AlertDialogClose,
- AlertDialogDescription,
- AlertDialogFooter,
- AlertDialogHeader,
- AlertDialogPopup,
- AlertDialogTitle,
-} from "@/components/ui/alert-dialog";
-import { Button } from "@/components/ui/button";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
import type { PendingMemberAction } from "./pending-member-action";
type Props = {
@@ -27,61 +19,51 @@ function WorkspaceMemberConfirmDialog({
onCancel,
}: Props) {
const { t } = useTranslation();
+ const [shownAction, setShownAction] = useState(action);
+
+ if (action && action !== shownAction) {
+ setShownAction(action);
+ }
+
+ const isTransfer = shownAction?.type === "transfer";
const values = {
- name: action ? action.member.name || action.member.email : "",
+ name: shownAction
+ ? shownAction.member.name || shownAction.member.email
+ : "",
workspace: workspaceName,
};
- const copy =
- action?.type === "transfer"
- ? {
- title: t("settings:adminWorkspaces.confirm.transfer.title", values),
- description: t(
- "settings:adminWorkspaces.confirm.transfer.description",
- values,
- ),
- action: t("settings:adminWorkspaces.confirm.transfer.action"),
- }
- : {
- title: t("settings:adminWorkspaces.confirm.remove.title", values),
- description: t(
- "settings:adminWorkspaces.confirm.remove.description",
- values,
- ),
- action: t("settings:adminWorkspaces.confirm.remove.action"),
- };
+ const copy = isTransfer
+ ? {
+ title: t("settings:adminWorkspaces.confirm.transfer.title", values),
+ description: t(
+ "settings:adminWorkspaces.confirm.transfer.description",
+ values,
+ ),
+ action: t("settings:adminWorkspaces.confirm.transfer.action"),
+ }
+ : {
+ title: t("settings:adminWorkspaces.confirm.remove.title", values),
+ description: t(
+ "settings:adminWorkspaces.confirm.remove.description",
+ values,
+ ),
+ action: t("settings:adminWorkspaces.confirm.remove.action"),
+ };
return (
- <AlertDialog
+ <ConfirmDialog
open={action !== null}
onOpenChange={(open) => {
if (!open && !isPending) onCancel();
}}
- >
- <AlertDialogPopup>
- <AlertDialogHeader>
- <AlertDialogTitle>{copy.title}</AlertDialogTitle>
- <AlertDialogDescription>{copy.description}</AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <AlertDialogClose
- render={<Button type="button" variant="ghost" />}
- disabled={isPending}
- >
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <Button
- type="button"
- variant={action?.type === "transfer" ? "default" : "destructive"}
- disabled={isPending}
- onClick={onConfirm}
- >
- {isPending
- ? t("settings:adminWorkspaces.confirm.working")
- : copy.action}
- </Button>
- </AlertDialogFooter>
- </AlertDialogPopup>
- </AlertDialog>
+ title={copy.title}
+ description={copy.description}
+ confirmLabel={copy.action}
+ pendingLabel={t("settings:adminWorkspaces.confirm.working")}
+ pending={isPending}
+ destructive={!isTransfer}
+ onConfirm={onConfirm}
+ />
);
}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-member-row.tsx b/apps/web/src/components/admin/workspace-management/workspace-member-row.tsx
index e05afb529..0e39f695b 100644
--- a/apps/web/src/components/admin/workspace-management/workspace-member-row.tsx
+++ b/apps/web/src/components/admin/workspace-management/workspace-member-row.tsx
@@ -1,27 +1,12 @@
-import {
- CrownIcon,
- EllipsisIcon,
- PencilIcon,
- ShieldIcon,
- UserMinusIcon,
-} from "lucide-react";
+import { CrownIcon, ShieldIcon, UserMinusIcon } from "lucide-react";
import { useTranslation } from "react-i18next";
+import { DirectoryAvatar } from "@/components/admin/directory/directory-avatar";
+import { RowActionsMenu } from "@/components/settings/row-actions-menu";
import type { ProjectAccessValue } from "@/components/team/project-access/project-access-value";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Menu,
- MenuItem,
- MenuPopup,
- MenuSeparator,
- MenuTrigger,
-} from "@/components/ui/menu";
-import { TableCell, TableRow } from "@/components/ui/table";
import type { AdminWorkspaceMember } from "@/fetchers/admin/workspace-types";
-import { formatDateMedium } from "@/lib/format";
-import { getInitials } from "@/lib/get-initials";
import { isWorkspaceOwnerRole } from "./is-workspace-owner-role";
+import { MemberAccessButton } from "./member-access-button";
import WorkspaceRoleSelect from "./workspace-role-select";
type Props = {
@@ -50,113 +35,74 @@ function WorkspaceMemberRow({
const { t } = useTranslation();
const isOwner = isWorkspaceOwnerRole(member.role);
const name = member.name || member.email;
- const accessLabel = access
- ? access.projectAccess === "all"
- ? t("team:projectAccess.allProjects")
- : t("team:projectAccess.projectCount", {
- count: access.projectIds.length,
- })
- : null;
return (
- <TableRow>
- <TableCell className="py-3">
- <div className="flex items-center gap-3">
- <Avatar className="size-8 border bg-muted">
- {member.image ? (
- <AvatarImage src={member.image} alt={name} />
- ) : null}
- <AvatarFallback className="text-xs font-medium">
- {getInitials(member.name, "?")}
- </AvatarFallback>
- </Avatar>
- <div className="min-w-0">
- <span className="block max-w-56 truncate text-sm font-medium">
- {name}
- </span>
- <span className="block max-w-56 truncate text-xs text-muted-foreground">
- {member.email}
- </span>
- </div>
+ <div
+ role="listitem"
+ className="flex flex-col gap-3 px-4 py-3 sm:flex-row sm:items-center sm:gap-4"
+ >
+ <div className="flex min-w-0 flex-1 items-center gap-3">
+ <DirectoryAvatar name={name} image={member.image} />
+ <div className="min-w-0">
+ <span className="block truncate text-sm font-medium">{name}</span>
+ <span className="block truncate text-xs text-muted-foreground">
+ {member.email}
+ </span>
</div>
- </TableCell>
- <TableCell className="py-3">
- {isOwner ? (
- <Badge variant="outline" className="gap-1">
- <ShieldIcon aria-hidden="true" />
- {t("team:roles.owner")}
- </Badge>
- ) : (
- <WorkspaceRoleSelect
- size="sm"
- className="w-36"
- label={t("settings:adminWorkspaces.members.roleLabel", { name })}
- value={member.role}
- options={roleOptions}
- disabled={isUpdatingRole}
- onValueChange={(role) => {
- if (role !== member.role) onRoleChange(role);
- }}
+ </div>
+ <div className="flex items-center gap-2">
+ <div className="min-w-0 flex-1 sm:w-36 sm:flex-none">
+ {isOwner ? (
+ <Badge variant="outline" className="gap-1 px-1.5">
+ <ShieldIcon aria-hidden="true" />
+ {t("team:roles.owner")}
+ </Badge>
+ ) : (
+ <WorkspaceRoleSelect
+ size="sm"
+ className="w-full"
+ label={t("settings:adminWorkspaces.members.roleLabel", { name })}
+ value={member.role}
+ options={roleOptions}
+ disabled={isUpdatingRole}
+ onValueChange={(role) => {
+ if (role !== member.role) onRoleChange(role);
+ }}
+ />
+ )}
+ </div>
+ <div className="shrink-0 sm:w-28">
+ <MemberAccessButton
+ name={name}
+ isOwner={isOwner}
+ access={access}
+ onEditAccess={onEditAccess}
/>
- )}
- </TableCell>
- <TableCell className="py-3 text-sm text-muted-foreground">
- {isOwner ? (
- t("team:projectAccess.allProjects")
- ) : accessLabel ? (
- <Button
- type="button"
- variant="ghost"
- size="sm"
- className="text-muted-foreground"
- aria-label={t("settings:adminWorkspaces.members.editAccess", {
- name,
- access: accessLabel,
- })}
- onClick={onEditAccess}
- >
- {accessLabel}
- <PencilIcon aria-hidden="true" />
- </Button>
- ) : (
- "–"
- )}
- </TableCell>
- <TableCell className="py-3 text-sm text-muted-foreground tabular-nums">
- {formatDateMedium(member.joinedAt)}
- </TableCell>
- <TableCell className="py-3 text-right">
- {isOnlyOwner ? null : (
- <Menu>
- <MenuTrigger
- render={
- <Button
- type="button"
- variant="ghost"
- size="icon"
- aria-label={t("settings:adminWorkspaces.members.actions", {
- name,
- })}
- />
- }
- >
- <EllipsisIcon aria-hidden="true" />
- </MenuTrigger>
- <MenuPopup align="end">
- <MenuItem closeOnClick onClick={onMakeOwner}>
- <CrownIcon aria-hidden="true" />
- {t("settings:adminWorkspaces.members.makeOwner")}
- </MenuItem>
- <MenuSeparator />
- <MenuItem closeOnClick variant="destructive" onClick={onRemove}>
- <UserMinusIcon aria-hidden="true" />
- {t("settings:adminWorkspaces.members.remove")}
- </MenuItem>
- </MenuPopup>
- </Menu>
- )}
- </TableCell>
- </TableRow>
+ </div>
+ <div className="flex w-7 shrink-0 justify-end">
+ {isOnlyOwner ? null : (
+ <RowActionsMenu
+ label={t("settings:adminWorkspaces.members.actions", { name })}
+ actions={[
+ {
+ id: "make-owner",
+ label: t("settings:adminWorkspaces.members.makeOwner"),
+ icon: CrownIcon,
+ onSelect: onMakeOwner,
+ },
+ {
+ id: "remove",
+ label: t("settings:adminWorkspaces.members.remove"),
+ icon: UserMinusIcon,
+ destructive: true,
+ onSelect: onRemove,
+ },
+ ]}
+ />
+ )}
+ </div>
+ </div>
+ </div>
);
}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-members-card.tsx b/apps/web/src/components/admin/workspace-management/workspace-members-card.tsx
new file mode 100644
index 000000000..f6d7c6c31
--- /dev/null
+++ b/apps/web/src/components/admin/workspace-management/workspace-members-card.tsx
@@ -0,0 +1,52 @@
+import { UsersRoundIcon } from "lucide-react";
+import type { ReactNode } from "react";
+import { useTranslation } from "react-i18next";
+import { DirectoryErrorRow } from "@/components/admin/directory/directory-error-row";
+import { DirectorySkeletonRows } from "@/components/admin/directory/directory-skeleton-rows";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+
+type WorkspaceMembersCardProps = {
+ isLoading: boolean;
+ isError: boolean;
+ isEmpty: boolean;
+ onRetry: () => void;
+ children: ReactNode;
+};
+
+export function WorkspaceMembersCard({
+ isLoading,
+ isError,
+ isEmpty,
+ onRetry,
+ children,
+}: WorkspaceMembersCardProps) {
+ const { t } = useTranslation();
+
+ return (
+ <SettingsCard>
+ {isLoading ? (
+ <DirectorySkeletonRows rows={3} withAvatar />
+ ) : isError ? (
+ <DirectoryErrorRow
+ message={t("settings:adminWorkspaces.members.loadError")}
+ retryLabel={t("settings:adminWorkspaces.retry")}
+ onRetry={onRetry}
+ />
+ ) : isEmpty ? (
+ <SettingsEmpty
+ icon={<UsersRoundIcon />}
+ title={t("settings:adminWorkspaces.members.empty")}
+ />
+ ) : (
+ <div
+ role="list"
+ aria-label={t("settings:adminWorkspaces.columns.members")}
+ className="divide-y divide-border"
+ >
+ {children}
+ </div>
+ )}
+ </SettingsCard>
+ );
+}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-members-dialog.tsx b/apps/web/src/components/admin/workspace-management/workspace-members-dialog.tsx
index 794208838..9f161579d 100644
--- a/apps/web/src/components/admin/workspace-management/workspace-members-dialog.tsx
+++ b/apps/web/src/components/admin/workspace-management/workspace-members-dialog.tsx
@@ -1,4 +1,4 @@
-import { RefreshCwIcon, UserPlusIcon } from "lucide-react";
+import { UserPlusIcon } from "lucide-react";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import MemberProjectAccessDialog from "@/components/team/member-project-access-dialog";
@@ -16,16 +16,6 @@ import {
DialogPopup,
DialogTitle,
} from "@/components/ui/dialog";
-import { Frame } from "@/components/ui/frame";
-import { Skeleton } from "@/components/ui/skeleton";
-import {
- Table,
- TableBody,
- TableCell,
- TableHead,
- TableHeader,
- TableRow,
-} from "@/components/ui/table";
import type { AdminWorkspace } from "@/fetchers/admin/workspace-types";
import useRemoveAdminWorkspaceMember from "@/hooks/mutations/admin/use-remove-admin-workspace-member";
import useTransferAdminWorkspaceOwnership from "@/hooks/mutations/admin/use-transfer-admin-workspace-ownership";
@@ -40,8 +30,7 @@ import type { PendingMemberAction } from "./pending-member-action";
import { sortWorkspaceMembers } from "./sort-workspace-members";
import WorkspaceMemberConfirmDialog from "./workspace-member-confirm-dialog";
import WorkspaceMemberRow from "./workspace-member-row";
-
-const COLUMN_COUNT = 5;
+import { WorkspaceMembersCard } from "./workspace-members-card";
type AccessTarget = {
userId: string;
@@ -105,7 +94,7 @@ function WorkspaceMembersDialog({ workspace, open, onOpenChange }: Props) {
return (
<Dialog open={open} onOpenChange={onOpenChange}>
- <DialogPopup className="sm:max-w-4xl">
+ <DialogPopup className="sm:max-w-2xl">
<DialogHeader>
<DialogTitle>
{t("settings:adminWorkspaces.members.title", {
@@ -128,6 +117,7 @@ function WorkspaceMembersDialog({ workspace, open, onOpenChange }: Props) {
) : null}
<Button
type="button"
+ variant="outline"
size="sm"
className="ms-auto"
disabled={!members}
@@ -138,128 +128,55 @@ function WorkspaceMembersDialog({ workspace, open, onOpenChange }: Props) {
</Button>
</div>
- <Frame>
- <Table>
- <TableHeader>
- <TableRow>
- <TableHead>
- {t("settings:adminWorkspaces.members.columns.member")}
- </TableHead>
- <TableHead>
- {t("settings:adminWorkspaces.members.columns.role")}
- </TableHead>
- <TableHead>
- {t("settings:adminWorkspaces.members.columns.projects")}
- </TableHead>
- <TableHead>
- {t("settings:adminWorkspaces.members.columns.joined")}
- </TableHead>
- <TableHead className="w-px">
- <span className="sr-only">
- {t("settings:adminWorkspaces.members.columns.actions")}
- </span>
- </TableHead>
- </TableRow>
- </TableHeader>
- <TableBody>
- {isLoading
- ? ["first", "second", "third"].map((skeleton) => (
- <TableRow key={skeleton}>
- <TableCell className="py-3" colSpan={COLUMN_COUNT}>
- <Skeleton className="h-8 w-full" />
- </TableCell>
- </TableRow>
- ))
- : null}
-
- {!isLoading && isError ? (
- <TableRow>
- <TableCell
- colSpan={COLUMN_COUNT}
- className="h-40 text-center"
- >
- <div className="flex flex-col items-center gap-3">
- <p className="text-sm text-muted-foreground">
- {t("settings:adminWorkspaces.members.loadError")}
- </p>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => refetch()}
- >
- <RefreshCwIcon aria-hidden="true" />
- {t("settings:adminWorkspaces.retry")}
- </Button>
- </div>
- </TableCell>
- </TableRow>
- ) : null}
-
- {!isLoading && !isError && sortedMembers.length === 0 ? (
- <TableRow>
- <TableCell
- colSpan={COLUMN_COUNT}
- className="h-40 text-center text-sm text-muted-foreground"
- >
- {t("settings:adminWorkspaces.members.empty")}
- </TableCell>
- </TableRow>
- ) : null}
-
- {!isLoading && !isError
- ? sortedMembers.map((member) => {
- const isOwner = isWorkspaceOwnerRole(member.role);
- const access = accessEntries
- ? findMemberProjectAccess(
- accessEntries,
- member.userId,
- )
- : undefined;
-
- return (
- <WorkspaceMemberRow
- key={member.userId}
- member={member}
- roleOptions={getAssignableRoleOptions(
- roles,
- member.role,
- )}
- access={access}
- isOnlyOwner={isOwner && ownerCount === 1}
- isUpdatingRole={
- updateRole.isPending &&
- updateRole.variables?.userId === member.userId
- }
- onRoleChange={(role) =>
- updateRole.mutate({
- workspaceId,
- userId: member.userId,
- role,
- })
- }
- onEditAccess={() => {
- if (!access) return;
- setAccessTarget({
- userId: member.userId,
- name: member.name || member.email,
- access,
- });
- setIsAccessOpen(true);
- }}
- onMakeOwner={() =>
- setPendingAction({ type: "transfer", member })
- }
- onRemove={() =>
- setPendingAction({ type: "remove", member })
- }
- />
- );
+ <WorkspaceMembersCard
+ isLoading={isLoading}
+ isError={isError}
+ isEmpty={sortedMembers.length === 0}
+ onRetry={() => refetch()}
+ >
+ {sortedMembers.map((member) => {
+ const isOwner = isWorkspaceOwnerRole(member.role);
+ const access = accessEntries
+ ? findMemberProjectAccess(accessEntries, member.userId)
+ : undefined;
+
+ return (
+ <WorkspaceMemberRow
+ key={member.userId}
+ member={member}
+ roleOptions={getAssignableRoleOptions(roles, member.role)}
+ access={access}
+ isOnlyOwner={isOwner && ownerCount === 1}
+ isUpdatingRole={
+ updateRole.isPending &&
+ updateRole.variables?.userId === member.userId
+ }
+ onRoleChange={(role) =>
+ updateRole.mutate({
+ workspaceId,
+ userId: member.userId,
+ role,
})
- : null}
- </TableBody>
- </Table>
- </Frame>
+ }
+ onEditAccess={() => {
+ if (!access) return;
+ setAccessTarget({
+ userId: member.userId,
+ name: member.name || member.email,
+ access,
+ });
+ setIsAccessOpen(true);
+ }}
+ onMakeOwner={() =>
+ setPendingAction({ type: "transfer", member })
+ }
+ onRemove={() =>
+ setPendingAction({ type: "remove", member })
+ }
+ />
+ );
+ })}
+ </WorkspaceMembersCard>
</div>
</DialogPanel>
diff --git a/apps/web/src/components/admin/workspace-management/workspace-owners.tsx b/apps/web/src/components/admin/workspace-management/workspace-owners.tsx
new file mode 100644
index 000000000..5b0a1e333
--- /dev/null
+++ b/apps/web/src/components/admin/workspace-management/workspace-owners.tsx
@@ -0,0 +1,28 @@
+import { useTranslation } from "react-i18next";
+import { StatusBadge } from "@/components/settings/status-badge";
+import type { AdminWorkspace } from "@/fetchers/admin/workspace-types";
+
+type WorkspaceOwnersProps = {
+ owners: AdminWorkspace["owners"];
+};
+
+export function WorkspaceOwners({ owners }: WorkspaceOwnersProps) {
+ const { t } = useTranslation();
+
+ if (owners.length === 0) {
+ return (
+ <StatusBadge tone="warning">
+ {t("settings:adminWorkspaces.noOwner")}
+ </StatusBadge>
+ );
+ }
+
+ return (
+ <span
+ className="block min-w-0 truncate text-[13px]"
+ title={owners.map((owner) => owner.email).join(", ")}
+ >
+ {owners.map((owner) => owner.name || owner.email).join(", ")}
+ </span>
+ );
+}
diff --git a/apps/web/src/components/admin/workspace-management/workspace-table-row.tsx b/apps/web/src/components/admin/workspace-management/workspace-table-row.tsx
deleted file mode 100644
index 777d9deee..000000000
--- a/apps/web/src/components/admin/workspace-management/workspace-table-row.tsx
+++ /dev/null
@@ -1,71 +0,0 @@
-import { useTranslation } from "react-i18next";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import { TableCell, TableRow } from "@/components/ui/table";
-import type { AdminWorkspace } from "@/fetchers/admin/workspace-types";
-import { formatDateMedium } from "@/lib/format";
-
-type Props = {
- workspace: AdminWorkspace;
- onManage: () => void;
-};
-
-function WorkspaceTableRow({ workspace, onManage }: Props) {
- const { t } = useTranslation();
- const ownerNames = workspace.owners
- .map((owner) => owner.name || owner.email)
- .join(", ");
-
- return (
- <TableRow>
- <TableCell className="ps-6 py-3">
- <div className="min-w-0">
- <span className="block max-w-64 truncate text-sm font-medium">
- {workspace.name}
- </span>
- <span className="block max-w-64 truncate text-xs text-muted-foreground">
- {workspace.slug}
- </span>
- </div>
- </TableCell>
- <TableCell className="py-3">
- {workspace.owners.length > 0 ? (
- <span
- className="block max-w-56 truncate text-sm"
- title={workspace.owners.map((owner) => owner.email).join(", ")}
- >
- {ownerNames}
- </span>
- ) : (
- <Badge variant="warning">
- {t("settings:adminWorkspaces.noOwner")}
- </Badge>
- )}
- </TableCell>
- <TableCell className="py-3 text-sm text-muted-foreground tabular-nums">
- {workspace.memberCount}
- </TableCell>
- <TableCell className="py-3 text-sm text-muted-foreground tabular-nums">
- {workspace.projectCount}
- </TableCell>
- <TableCell className="py-3 text-sm text-muted-foreground tabular-nums">
- {formatDateMedium(workspace.createdAt)}
- </TableCell>
- <TableCell className="pe-6 py-3 text-right">
- <Button
- type="button"
- variant="outline"
- size="sm"
- aria-label={t("settings:adminWorkspaces.manageLabel", {
- name: workspace.name,
- })}
- onClick={onManage}
- >
- {t("settings:adminWorkspaces.manage")}
- </Button>
- </TableCell>
- </TableRow>
- );
-}
-
-export default WorkspaceTableRow;
diff --git a/apps/web/src/components/auth/auth-methods.test.ts b/apps/web/src/components/auth/auth-methods.test.ts
index a50b35a2e..d8c0636d6 100644
--- a/apps/web/src/components/auth/auth-methods.test.ts
+++ b/apps/web/src/components/auth/auth-methods.test.ts
@@ -18,6 +18,7 @@ function config(overrides: Partial<GetConfigResponse> = {}) {
disableWorkspaceCreation: false,
isDemoMode: false,
hasSmtp: true,
+ hasImageUploads: false,
hasGithubSignIn: false,
hasGoogleSignIn: false,
hasDiscordSignIn: false,
diff --git a/apps/web/src/components/billing/billing-portal-row.tsx b/apps/web/src/components/billing/billing-portal-row.tsx
new file mode 100644
index 000000000..376b3ea12
--- /dev/null
+++ b/apps/web/src/components/billing/billing-portal-row.tsx
@@ -0,0 +1,42 @@
+import { ArrowUpRight } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import { useOpenBillingPortal } from "@/hooks/mutations/billing/use-billing-actions";
+
+type BillingPortalRowProps = {
+ workspaceId: string | undefined;
+ hasCustomer: boolean;
+ canManage: boolean;
+};
+
+export function BillingPortalRow({
+ workspaceId,
+ hasCustomer,
+ canManage,
+}: BillingPortalRowProps) {
+ const { t } = useTranslation();
+ const portal = useOpenBillingPortal(workspaceId);
+
+ return (
+ <div className="flex flex-col items-start gap-3 px-4 py-3 sm:flex-row sm:items-center sm:justify-between sm:gap-6">
+ <p className="text-xs text-muted-foreground">
+ {t("settings:billing.portalHint")}
+ </p>
+ {hasCustomer ? (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="shrink-0"
+ disabled={!canManage || portal.isPending}
+ onClick={() => portal.mutate()}
+ >
+ {portal.isPending
+ ? t("settings:billing.opening")
+ : t("settings:billing.manage")}
+ <ArrowUpRight aria-hidden="true" />
+ </Button>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/billing/billing-settings-page.tsx b/apps/web/src/components/billing/billing-settings-page.tsx
new file mode 100644
index 000000000..2436b17f4
--- /dev/null
+++ b/apps/web/src/components/billing/billing-settings-page.tsx
@@ -0,0 +1,91 @@
+import { useRef } from "react";
+import { useTranslation } from "react-i18next";
+import { CurrentPlanCard } from "@/components/billing/current-plan-card";
+import { PlanPicker } from "@/components/billing/plan-picker";
+import PageTitle from "@/components/page-title";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Spinner } from "@/components/ui/spinner";
+import { useGetBilling } from "@/hooks/queries/billing/use-get-billing";
+import { useTrackSubscription } from "@/hooks/use-track-subscription";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+
+type BillingSettingsPageProps = {
+ checkout: string | undefined;
+};
+
+export function BillingSettingsPage({ checkout }: BillingSettingsPageProps) {
+ const { t } = useTranslation();
+ const { workspace, isAdmin } = useWorkspacePermission();
+ const workspaceId = workspace?.id;
+ const { data: billing, isLoading } = useGetBilling(workspaceId);
+ const planPickerRef = useRef<HTMLDivElement>(null);
+ useTrackSubscription(checkout, billing?.seats);
+
+ if (isLoading) {
+ return (
+ <div className="flex h-40 items-center justify-center">
+ <Spinner />
+ </div>
+ );
+ }
+
+ if (!billing?.billingEnabled) {
+ return (
+ <>
+ <PageTitle title={t("settings:billing.pageTitle")} />
+ <SettingsPage
+ title={t("settings:billing.pageTitle")}
+ description={t("settings:billing.disabled")}
+ />
+ </>
+ );
+ }
+
+ const showPlanPicker =
+ !billing.foundingFree && !(billing.plan && billing.status);
+
+ const scrollToPlanPicker = () => {
+ const reduceMotion = window.matchMedia?.(
+ "(prefers-reduced-motion: reduce)",
+ ).matches;
+ planPickerRef.current?.scrollIntoView({
+ behavior: reduceMotion ? "auto" : "smooth",
+ block: "start",
+ });
+ };
+
+ return (
+ <>
+ <PageTitle title={t("settings:billing.pageTitle")} />
+ <SettingsPage
+ title={t("settings:billing.pageTitle")}
+ description={
+ workspace?.name
+ ? t("settings:billing.subtitle", { workspace: workspace.name })
+ : undefined
+ }
+ >
+ <SettingsSection title={t("settings:billing.currentPlan.title")}>
+ <CurrentPlanCard
+ billing={billing}
+ workspaceId={workspaceId}
+ canManage={isAdmin}
+ onChoosePlan={scrollToPlanPicker}
+ />
+ </SettingsSection>
+
+ {showPlanPicker ? (
+ <div ref={planPickerRef} className="scroll-mt-6">
+ <SettingsSection
+ title={t("settings:billing.choosePlan.title")}
+ description={t("settings:billing.choosePlan.subtitle")}
+ >
+ <PlanPicker workspaceId={workspaceId} canManage={isAdmin} />
+ </SettingsSection>
+ </div>
+ ) : null}
+ </SettingsPage>
+ </>
+ );
+}
diff --git a/apps/web/src/components/billing/current-plan-card.test.tsx b/apps/web/src/components/billing/current-plan-card.test.tsx
new file mode 100644
index 000000000..f83547761
--- /dev/null
+++ b/apps/web/src/components/billing/current-plan-card.test.tsx
@@ -0,0 +1,149 @@
+import { cleanup, fireEvent, render, screen } from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import type { GetBillingResponse } from "@/fetchers/billing/get-billing";
+import { CurrentPlanCard } from "./current-plan-card";
+
+const m = vi.hoisted(() => ({ portal: vi.fn() }));
+
+vi.mock("@/lib/i18n", () => ({
+ i18n: { t: (key: string) => key, language: "en-US" },
+}));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/hooks/mutations/billing/use-billing-actions", () => ({
+ useOpenBillingPortal: () => ({ mutate: m.portal, isPending: false }),
+}));
+
+const DAY_MS = 24 * 60 * 60 * 1000;
+
+function billing(overrides: Partial<GetBillingResponse>) {
+ return {
+ billingEnabled: true,
+ foundingFree: false,
+ plan: null,
+ status: null,
+ billingInterval: null,
+ seats: 1,
+ currentPeriodEnd: null,
+ canceledAt: null,
+ hasCustomer: false,
+ trialEndsAt: null,
+ ...overrides,
+ } as GetBillingResponse;
+}
+
+describe("CurrentPlanCard", () => {
+ afterEach(cleanup);
+ beforeEach(() => vi.clearAllMocks());
+
+ it("shows the plan, its status, and the portal for a subscription", () => {
+ render(
+ <CurrentPlanCard
+ billing={billing({
+ plan: "team",
+ status: "past_due",
+ billingInterval: "annual",
+ seats: 5,
+ hasCustomer: true,
+ })}
+ workspaceId="w1"
+ canManage
+ onChoosePlan={() => {}}
+ />,
+ );
+
+ expect(screen.getByText("settings:billing.plans.team.name")).toBeTruthy();
+ expect(screen.getByText("settings:billing.status.past_due")).toBeTruthy();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:billing.manage" }),
+ );
+ expect(m.portal).toHaveBeenCalled();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:billing.trialCard.choosePlan",
+ }),
+ ).toBeNull();
+ });
+
+ it("disables the portal for members who cannot manage billing", () => {
+ render(
+ <CurrentPlanCard
+ billing={billing({ plan: "team", status: "active", hasCustomer: true })}
+ workspaceId="w1"
+ canManage={false}
+ onChoosePlan={() => {}}
+ />,
+ );
+
+ expect(
+ screen.getByRole("button", { name: "settings:billing.manage" }),
+ ).toBeDisabled();
+ });
+
+ it("shows days left on an active trial and jumps to the plans", () => {
+ const onChoosePlan = vi.fn();
+ render(
+ <CurrentPlanCard
+ billing={billing({
+ trialEndsAt: new Date(Date.now() + 9 * DAY_MS).toISOString(),
+ })}
+ workspaceId="w1"
+ canManage
+ onChoosePlan={onChoosePlan}
+ />,
+ );
+
+ expect(screen.getByText("settings:billing.trial.activeTitle")).toBeTruthy();
+ expect(
+ screen.getByText("settings:billing.trial.badgeDaysLeft"),
+ ).toBeTruthy();
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:billing.trialCard.choosePlan",
+ }),
+ );
+ expect(onChoosePlan).toHaveBeenCalled();
+ });
+
+ it("flags an expired trial", () => {
+ render(
+ <CurrentPlanCard
+ billing={billing({
+ trialEndsAt: new Date(Date.now() - DAY_MS).toISOString(),
+ })}
+ workspaceId="w1"
+ canManage
+ onChoosePlan={() => {}}
+ />,
+ );
+
+ expect(
+ screen.getByText("settings:billing.trial.expiredTitle"),
+ ).toBeTruthy();
+ expect(screen.getByText("settings:billing.trialCard.ended")).toBeTruthy();
+ });
+
+ it("shows the founding free plan without a plan action", () => {
+ render(
+ <CurrentPlanCard
+ billing={billing({ foundingFree: true })}
+ workspaceId="w1"
+ canManage
+ onChoosePlan={() => {}}
+ />,
+ );
+
+ expect(
+ screen.getByText("settings:billing.foundingFree.title"),
+ ).toBeTruthy();
+ expect(screen.queryByRole("button")).toBeNull();
+ });
+});
diff --git a/apps/web/src/components/billing/current-plan-card.tsx b/apps/web/src/components/billing/current-plan-card.tsx
new file mode 100644
index 000000000..8097b8162
--- /dev/null
+++ b/apps/web/src/components/billing/current-plan-card.tsx
@@ -0,0 +1,47 @@
+import { BillingPortalRow } from "@/components/billing/billing-portal-row";
+import { FoundingFreeRow } from "@/components/billing/founding-free-row";
+import { SubscriptionPlanRow } from "@/components/billing/subscription-plan-row";
+import { TrialStatusRow } from "@/components/billing/trial-status-row";
+import { SettingsCard } from "@/components/settings/settings-card";
+import type { GetBillingResponse } from "@/fetchers/billing/get-billing";
+
+type CurrentPlanCardProps = {
+ billing: GetBillingResponse;
+ workspaceId: string | undefined;
+ canManage: boolean;
+ onChoosePlan: () => void;
+};
+
+export function CurrentPlanCard({
+ billing,
+ workspaceId,
+ canManage,
+ onChoosePlan,
+}: CurrentPlanCardProps) {
+ if (billing.foundingFree) {
+ return (
+ <SettingsCard>
+ <FoundingFreeRow />
+ </SettingsCard>
+ );
+ }
+
+ if (billing.plan && billing.status) {
+ return (
+ <SettingsCard>
+ <SubscriptionPlanRow billing={billing} />
+ <BillingPortalRow
+ workspaceId={workspaceId}
+ hasCustomer={billing.hasCustomer}
+ canManage={canManage}
+ />
+ </SettingsCard>
+ );
+ }
+
+ return (
+ <SettingsCard>
+ <TrialStatusRow billing={billing} onChoosePlan={onChoosePlan} />
+ </SettingsCard>
+ );
+}
diff --git a/apps/web/src/components/billing/founding-free-card.tsx b/apps/web/src/components/billing/founding-free-card.tsx
deleted file mode 100644
index 8d5b66e74..000000000
--- a/apps/web/src/components/billing/founding-free-card.tsx
+++ /dev/null
@@ -1,30 +0,0 @@
-import { Sparkles } from "lucide-react";
-import { useTranslation } from "react-i18next";
-import { Badge } from "@/components/ui/badge";
-
-export function FoundingFreeCard() {
- const { t } = useTranslation();
-
- return (
- <div className="overflow-hidden rounded-xl border border-primary/30 bg-card">
- <div className="flex items-start gap-3 p-5">
- <div className="mt-0.5 flex size-9 items-center justify-center rounded-md bg-primary/10 text-primary">
- <Sparkles className="size-4.5" />
- </div>
- <div className="space-y-1">
- <div className="flex items-center gap-2">
- <h3 className="font-medium text-sm">
- {t("settings:billing.foundingFree.title")}
- </h3>
- <Badge variant="success" size="sm">
- {t("settings:billing.foundingFree.badge")}
- </Badge>
- </div>
- <p className="text-muted-foreground text-sm leading-relaxed">
- {t("settings:billing.foundingFree.description")}
- </p>
- </div>
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/components/billing/founding-free-row.tsx b/apps/web/src/components/billing/founding-free-row.tsx
new file mode 100644
index 000000000..056592089
--- /dev/null
+++ b/apps/web/src/components/billing/founding-free-row.tsx
@@ -0,0 +1,21 @@
+import { Sparkles } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { StatusBadge } from "@/components/settings/status-badge";
+
+export function FoundingFreeRow() {
+ const { t } = useTranslation();
+
+ return (
+ <SettingsRow
+ icon={<Sparkles />}
+ title={t("settings:billing.foundingFree.title")}
+ badge={
+ <StatusBadge tone="success">
+ {t("settings:billing.foundingFree.badge")}
+ </StatusBadge>
+ }
+ description={t("settings:billing.foundingFree.description")}
+ />
+ );
+}
diff --git a/apps/web/src/components/billing/get-billing-status-tone.test.ts b/apps/web/src/components/billing/get-billing-status-tone.test.ts
new file mode 100644
index 000000000..8eba93556
--- /dev/null
+++ b/apps/web/src/components/billing/get-billing-status-tone.test.ts
@@ -0,0 +1,18 @@
+import { describe, expect, it } from "vite-plus/test";
+import { getBillingStatusTone } from "./get-billing-status-tone";
+
+describe("getBillingStatusTone", () => {
+ it("maps billing statuses to badge tones", () => {
+ expect(getBillingStatusTone("active")).toBe("success");
+ expect(getBillingStatusTone("trialing")).toBe("success");
+ expect(getBillingStatusTone("past_due")).toBe("warning");
+ expect(getBillingStatusTone("scheduled_cancel")).toBe("warning");
+ expect(getBillingStatusTone("canceled")).toBe("destructive");
+ expect(getBillingStatusTone("expired")).toBe("destructive");
+ expect(getBillingStatusTone("paused")).toBe("neutral");
+ });
+
+ it("falls back to neutral for unknown statuses", () => {
+ expect(getBillingStatusTone("something-new")).toBe("neutral");
+ });
+});
diff --git a/apps/web/src/components/billing/get-billing-status-tone.ts b/apps/web/src/components/billing/get-billing-status-tone.ts
new file mode 100644
index 000000000..46df9495f
--- /dev/null
+++ b/apps/web/src/components/billing/get-billing-status-tone.ts
@@ -0,0 +1,17 @@
+import type { StatusTone } from "@/components/settings/status-badge";
+import {
+ BILLING_STATUS_VARIANT,
+ type BillingStatusVariant,
+} from "@/constants/billing";
+
+const TONE_BY_VARIANT: Record<BillingStatusVariant, StatusTone> = {
+ success: "success",
+ warning: "warning",
+ error: "destructive",
+ secondary: "neutral",
+};
+
+export function getBillingStatusTone(status: string): StatusTone {
+ const variant = BILLING_STATUS_VARIANT[status];
+ return variant ? TONE_BY_VARIANT[variant] : "neutral";
+}
diff --git a/apps/web/src/components/billing/subscription-card.tsx b/apps/web/src/components/billing/subscription-card.tsx
deleted file mode 100644
index 91994a3ea..000000000
--- a/apps/web/src/components/billing/subscription-card.tsx
+++ /dev/null
@@ -1,94 +0,0 @@
-import { ArrowUpRight } from "lucide-react";
-import { useTranslation } from "react-i18next";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import { Separator } from "@/components/ui/separator";
-import { BILLING_STATUS_VARIANT } from "@/constants/billing";
-import type { GetBillingResponse } from "@/fetchers/billing/get-billing";
-import { useOpenBillingPortal } from "@/hooks/mutations/billing/use-billing-actions";
-import {
- formatBillingDate,
- getPlanPrice,
- isBillingPlanKey,
-} from "@/lib/billing";
-
-type SubscriptionCardProps = {
- billing: GetBillingResponse;
- workspaceId: string | undefined;
- canManage: boolean;
-};
-
-export function SubscriptionCard({
- billing,
- workspaceId,
- canManage,
-}: SubscriptionCardProps) {
- const { t } = useTranslation();
- const portal = useOpenBillingPortal(workspaceId);
-
- const plan = isBillingPlanKey(billing.plan) ? billing.plan : null;
- const interval = billing.billingInterval === "annual" ? "annual" : "monthly";
- const pricing = plan ? getPlanPrice(plan, interval) : null;
- const statusVariant = billing.status
- ? BILLING_STATUS_VARIANT[billing.status]
- : undefined;
- const renews = formatBillingDate(billing.currentPeriodEnd);
-
- return (
- <div className="rounded-xl border border-border bg-card">
- <div className="flex flex-wrap items-start justify-between gap-4 p-5">
- <div className="space-y-1.5">
- <div className="flex items-center gap-2">
- <h3 className="font-medium text-sm">
- {t("settings:billing.planName", {
- plan: plan ? t(`settings:billing.plans.${plan}.name`) : "",
- })}
- </h3>
- {billing.status && statusVariant ? (
- <Badge variant={statusVariant} size="sm">
- {t(`settings:billing.status.${billing.status}`)}
- </Badge>
- ) : null}
- </div>
- {pricing ? (
- <p className="text-muted-foreground text-sm">
- {pricing.price} {t(pricing.suffixKey)}
- {billing.seats > 1
- ? ` · ${t("settings:billing.seats", { count: billing.seats })}`
- : null}
- </p>
- ) : null}
- </div>
- {renews ? (
- <div className="text-right">
- <p className="text-muted-foreground text-xs">
- {billing.canceledAt
- ? t("settings:billing.accessEnds")
- : t("settings:billing.renews")}
- </p>
- <p className="font-medium text-sm">{renews}</p>
- </div>
- ) : null}
- </div>
- <Separator />
- <div className="flex flex-col items-start gap-3 px-5 py-3 sm:flex-row sm:items-center sm:justify-between">
- <p className="text-muted-foreground text-xs">
- {t("settings:billing.portalHint")}
- </p>
- {billing.hasCustomer ? (
- <Button
- variant="outline"
- size="sm"
- disabled={!canManage || portal.isPending}
- onClick={() => portal.mutate()}
- >
- {portal.isPending
- ? t("settings:billing.opening")
- : t("settings:billing.manage")}
- <ArrowUpRight className="size-4" />
- </Button>
- ) : null}
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/components/billing/subscription-plan-row.tsx b/apps/web/src/components/billing/subscription-plan-row.tsx
new file mode 100644
index 000000000..26d505426
--- /dev/null
+++ b/apps/web/src/components/billing/subscription-plan-row.tsx
@@ -0,0 +1,55 @@
+import { User, Users } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { getBillingStatusTone } from "@/components/billing/get-billing-status-tone";
+import { StatusBadge } from "@/components/settings/status-badge";
+import type { GetBillingResponse } from "@/fetchers/billing/get-billing";
+import {
+ formatBillingDate,
+ getPlanPrice,
+ isBillingPlanKey,
+} from "@/lib/billing";
+
+type SubscriptionPlanRowProps = {
+ billing: GetBillingResponse;
+};
+
+export function SubscriptionPlanRow({ billing }: SubscriptionPlanRowProps) {
+ const { t } = useTranslation();
+ const plan = isBillingPlanKey(billing.plan) ? billing.plan : null;
+ const interval = billing.billingInterval === "annual" ? "annual" : "monthly";
+ const pricing = plan ? getPlanPrice(plan, interval) : null;
+ const renews = formatBillingDate(billing.currentPeriodEnd);
+ const seats =
+ billing.seats > 1
+ ? ` · ${t("settings:billing.seats", { count: billing.seats })}`
+ : "";
+
+ return (
+ <SettingsRow
+ icon={plan === "personal" ? <User /> : <Users />}
+ title={plan ? t(`settings:billing.plans.${plan}.name`) : ""}
+ badge={
+ billing.status ? (
+ <StatusBadge tone={getBillingStatusTone(billing.status)}>
+ {t(`settings:billing.status.${billing.status}`)}
+ </StatusBadge>
+ ) : null
+ }
+ description={
+ pricing ? `${pricing.price} ${t(pricing.suffixKey)}${seats}` : null
+ }
+ >
+ {renews ? (
+ <div className="sm:text-right">
+ <p className="text-xs text-muted-foreground">
+ {billing.canceledAt
+ ? t("settings:billing.accessEnds")
+ : t("settings:billing.renews")}
+ </p>
+ <p className="text-sm font-medium">{renews}</p>
+ </div>
+ ) : null}
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/billing/trial-status-card.tsx b/apps/web/src/components/billing/trial-status-card.tsx
deleted file mode 100644
index c8c85db6a..000000000
--- a/apps/web/src/components/billing/trial-status-card.tsx
+++ /dev/null
@@ -1,57 +0,0 @@
-import { Sparkles, TriangleAlert } from "lucide-react";
-import { useTranslation } from "react-i18next";
-import type { GetBillingResponse } from "@/fetchers/billing/get-billing";
-import { getTrialState } from "@/lib/billing";
-import { cn } from "@/lib/cn";
-
-type TrialStatusCardProps = {
- billing: GetBillingResponse;
-};
-
-export function TrialStatusCard({ billing }: TrialStatusCardProps) {
- const { t } = useTranslation();
- const trial = getTrialState(billing);
- const expired = trial.kind === "expired";
-
- const description = expired
- ? t("settings:billing.trial.expiredDescription")
- : trial.kind === "active"
- ? t("settings:billing.trial.daysLeft", { count: trial.daysLeft })
- : t("settings:billing.trial.noDate");
-
- return (
- <div
- className={cn(
- "rounded-xl border border-border bg-card p-5",
- expired ? "border-warning/40" : "border-border",
- )}
- >
- <div className="flex items-start gap-3">
- <div
- className={cn(
- "mt-0.5 flex size-9 items-center justify-center rounded-md",
- expired
- ? "bg-warning/10 text-warning-foreground"
- : "bg-primary/10 text-primary",
- )}
- >
- {expired ? (
- <TriangleAlert className="size-4.5" />
- ) : (
- <Sparkles className="size-4.5" />
- )}
- </div>
- <div className="space-y-1">
- <h3 className="font-medium text-sm">
- {expired
- ? t("settings:billing.trial.expiredTitle")
- : t("settings:billing.trial.activeTitle")}
- </h3>
- <p className="text-muted-foreground text-sm leading-relaxed">
- {description}
- </p>
- </div>
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/components/billing/trial-status-row.tsx b/apps/web/src/components/billing/trial-status-row.tsx
new file mode 100644
index 000000000..fe1a7666f
--- /dev/null
+++ b/apps/web/src/components/billing/trial-status-row.tsx
@@ -0,0 +1,58 @@
+import { Sparkles, TriangleAlert } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { StatusBadge } from "@/components/settings/status-badge";
+import { Button } from "@/components/ui/button";
+import type { GetBillingResponse } from "@/fetchers/billing/get-billing";
+import { getTrialState } from "@/lib/billing";
+
+type TrialStatusRowProps = {
+ billing: GetBillingResponse;
+ onChoosePlan?: () => void;
+};
+
+export function TrialStatusRow({ billing, onChoosePlan }: TrialStatusRowProps) {
+ const { t } = useTranslation();
+ const trial = getTrialState(billing);
+ const expired = trial.kind === "expired";
+
+ return (
+ <SettingsRow
+ icon={expired ? <TriangleAlert /> : <Sparkles />}
+ iconClassName={
+ expired
+ ? "border-warning/30 bg-warning/10 text-warning-foreground"
+ : undefined
+ }
+ title={
+ expired
+ ? t("settings:billing.trial.expiredTitle")
+ : t("settings:billing.trial.activeTitle")
+ }
+ badge={
+ expired ? (
+ <StatusBadge tone="warning">
+ {t("settings:billing.trialCard.ended")}
+ </StatusBadge>
+ ) : trial.kind === "active" ? (
+ <StatusBadge tone="success">
+ {t("settings:billing.trial.badgeDaysLeft", {
+ count: trial.daysLeft,
+ })}
+ </StatusBadge>
+ ) : null
+ }
+ description={
+ expired
+ ? t("settings:billing.trial.expiredDescription")
+ : t("settings:billing.trial.noDate")
+ }
+ >
+ {onChoosePlan ? (
+ <Button type="button" size="sm" onClick={onChoosePlan}>
+ {t("settings:billing.trialCard.choosePlan")}
+ </Button>
+ ) : null}
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/board/board-toolbar.tsx b/apps/web/src/components/board/board-toolbar.tsx
index 0a835d80f..2c88e2ab8 100644
--- a/apps/web/src/components/board/board-toolbar.tsx
+++ b/apps/web/src/components/board/board-toolbar.tsx
@@ -2,7 +2,7 @@ import { Filter, PanelsTopLeft, Rows3, X } from "lucide-react";
import type { ReactNode } from "react";
import { useTranslation } from "react-i18next";
import SortControl from "@/components/common/sort-control";
-import type { CustomFieldDefinition } from "@/components/project/custom-field-editor";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
import {
DropdownMenu,
diff --git a/apps/web/src/components/home/home-projects.tsx b/apps/web/src/components/home/home-projects.tsx
index 3b9c2a23c..279882a7d 100644
--- a/apps/web/src/components/home/home-projects.tsx
+++ b/apps/web/src/components/home/home-projects.tsx
@@ -49,7 +49,7 @@ export function HomeProjects({
{t("workspace:home.projects.loadError")}
</p>
) : !projects?.length ? (
- <div className="flex flex-col items-start gap-3 rounded-lg border border-border border-dashed p-5">
+ <div className="flex flex-col items-start gap-3 rounded-lg border border-border bg-card p-5">
<div className="flex flex-col gap-1">
<p className="font-medium text-foreground text-sm">
{t("workspace:projects.emptyTitle")}
diff --git a/apps/web/src/components/import/import-not-allowed.tsx b/apps/web/src/components/import/import-not-allowed.tsx
index d80752816..7dfe70d0b 100644
--- a/apps/web/src/components/import/import-not-allowed.tsx
+++ b/apps/web/src/components/import/import-not-allowed.tsx
@@ -14,7 +14,7 @@ export function ImportNotAllowed() {
return (
<SettingsPage title={t("settings:workspaceImport.title")}>
- <Empty className="rounded-xl border border-border border-dashed">
+ <Empty className="rounded-xl border border-border bg-card">
<EmptyHeader>
<EmptyMedia variant="icon">
<Import />
diff --git a/apps/web/src/components/import/import-run-history.tsx b/apps/web/src/components/import/import-run-history.tsx
index 8cdf8c4ec..16bd51611 100644
--- a/apps/web/src/components/import/import-run-history.tsx
+++ b/apps/web/src/components/import/import-run-history.tsx
@@ -61,7 +61,7 @@ export function ImportRunHistory({ workspaceId }: ImportRunHistoryProps) {
</Button>
</div>
) : !runs || runs.length === 0 ? (
- <p className="rounded-xl border border-border border-dashed px-4 py-6 text-center text-muted-foreground text-sm">
+ <p className="rounded-xl border border-border bg-card px-4 py-6 text-center text-muted-foreground text-sm">
{t("settings:workspaceImport.history.empty")}
</p>
) : (
diff --git a/apps/web/src/components/project/automations/automation-card.tsx b/apps/web/src/components/project/automations/automation-card.tsx
new file mode 100644
index 000000000..eff722175
--- /dev/null
+++ b/apps/web/src/components/project/automations/automation-card.tsx
@@ -0,0 +1,67 @@
+import { useTranslation } from "react-i18next";
+import { AutomationRuleRow } from "@/components/project/automations/automation-rule-row";
+import type { RepositoryConnection } from "@/components/project/automations/use-repository-connections";
+import {
+ WORKFLOW_EVENTS,
+ type WorkflowEvent,
+} from "@/components/project/automations/workflow-events";
+import type { ProjectColumn } from "@/components/project/columns/types";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { StatusBadge } from "@/components/settings/status-badge";
+import { cn } from "@/lib/cn";
+
+type AutomationCardProps = {
+ connection: RepositoryConnection;
+ columns: ProjectColumn[];
+ rules: Array<{ eventType: string; columnId: string }>;
+ canEdit: boolean;
+ onChange: (event: WorkflowEvent, columnId: string | null) => Promise<void>;
+};
+
+export function AutomationCard({
+ connection,
+ columns,
+ rules,
+ canEdit,
+ onChange,
+}: AutomationCardProps) {
+ const { t } = useTranslation();
+ const connected = connection.status.state === "connected";
+
+ return (
+ <SettingsCard>
+ <SettingsRow
+ icon={
+ <connection.icon
+ aria-hidden="true"
+ className={cn("size-4", connection.iconClassName)}
+ />
+ }
+ title={connection.name}
+ badge={
+ <StatusBadge tone={connected ? "success" : "warning"}>
+ {connected
+ ? t("settings:projectIntegrations.statusConnected")
+ : t("settings:projectIntegrations.statusPaused")}
+ </StatusBadge>
+ }
+ description={
+ connection.status.detail ? (
+ <span className="font-mono">{connection.status.detail}</span>
+ ) : undefined
+ }
+ />
+ {WORKFLOW_EVENTS.map((event) => (
+ <AutomationRuleRow
+ key={event}
+ event={event}
+ columns={columns}
+ columnId={rules.find((rule) => rule.eventType === event)?.columnId}
+ canEdit={canEdit}
+ onChange={(columnId) => onChange(event, columnId)}
+ />
+ ))}
+ </SettingsCard>
+ );
+}
diff --git a/apps/web/src/components/project/automations/automation-rule-row.tsx b/apps/web/src/components/project/automations/automation-rule-row.tsx
new file mode 100644
index 000000000..c6a9f31db
--- /dev/null
+++ b/apps/web/src/components/project/automations/automation-rule-row.tsx
@@ -0,0 +1,91 @@
+import { useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ColumnOptionLabel } from "@/components/project/automations/column-option-label";
+import type { WorkflowEvent } from "@/components/project/automations/workflow-events";
+import type { ProjectColumn } from "@/components/project/columns/types";
+import { SettingsRow } from "@/components/settings/settings-row";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+
+const NO_RULE = "__none__";
+
+type AutomationRuleRowProps = {
+ event: WorkflowEvent;
+ columns: ProjectColumn[];
+ columnId: string | undefined;
+ canEdit: boolean;
+ onChange: (columnId: string | null) => Promise<void>;
+};
+
+export function AutomationRuleRow({
+ event,
+ columns,
+ columnId,
+ canEdit,
+ onChange,
+}: AutomationRuleRowProps) {
+ const { t } = useTranslation();
+ const labelId = useId();
+ const [pending, setPending] = useState<string | null>(null);
+ const value = pending ?? columnId ?? NO_RULE;
+ const selected = columns.find((column) => column.id === value);
+
+ const change = async (next: string | null) => {
+ if (!next || next === value) return;
+ setPending(next);
+ try {
+ await onChange(next === NO_RULE ? null : next);
+ } finally {
+ setPending(null);
+ }
+ };
+
+ return (
+ <SettingsRow
+ stack
+ title={
+ <span id={labelId}>{t(`settings:workflowEditor.events.${event}`)}</span>
+ }
+ titleClassName="font-normal"
+ >
+ <Select
+ value={value}
+ disabled={!canEdit}
+ onValueChange={(next) => void change(next)}
+ >
+ <SelectTrigger
+ size="sm"
+ aria-labelledby={labelId}
+ className="w-full sm:w-48"
+ >
+ <SelectValue>
+ {selected ? (
+ <ColumnOptionLabel column={selected} />
+ ) : (
+ <span className="text-muted-foreground">
+ {t("settings:workflowEditor.dontMove")}
+ </span>
+ )}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ <SelectItem value={NO_RULE}>
+ <span className="text-muted-foreground">
+ {t("settings:workflowEditor.dontMove")}
+ </span>
+ </SelectItem>
+ {columns.map((column) => (
+ <SelectItem key={column.id} value={column.id}>
+ <ColumnOptionLabel column={column} />
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/project/automations/automations-empty.tsx b/apps/web/src/components/project/automations/automations-empty.tsx
new file mode 100644
index 000000000..3d3df002e
--- /dev/null
+++ b/apps/web/src/components/project/automations/automations-empty.tsx
@@ -0,0 +1,29 @@
+import { Link } from "@tanstack/react-router";
+import { Workflow } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+import { buttonVariants } from "@/components/ui/button";
+
+export function AutomationsEmpty({ projectId }: { projectId: string }) {
+ const { t } = useTranslation();
+
+ return (
+ <SettingsCard>
+ <SettingsEmpty
+ icon={<Workflow />}
+ title={t("settings:workflowEditor.emptyTitle")}
+ description={t("settings:workflowEditor.emptyDescription")}
+ action={
+ <Link
+ to="/dashboard/settings/projects/$projectId/integrations"
+ params={{ projectId }}
+ className={buttonVariants({ variant: "outline", size: "sm" })}
+ >
+ {t("settings:workflowEditor.openIntegrations")}
+ </Link>
+ }
+ />
+ </SettingsCard>
+ );
+}
diff --git a/apps/web/src/components/project/automations/automations-section.test.tsx b/apps/web/src/components/project/automations/automations-section.test.tsx
new file mode 100644
index 000000000..c93f88dbe
--- /dev/null
+++ b/apps/web/src/components/project/automations/automations-section.test.tsx
@@ -0,0 +1,151 @@
+import { cleanup, render, screen } from "@testing-library/react";
+import type { ReactNode } from "react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { AutomationsSection } from "@/components/project/automations/automations-section";
+import type { RepositoryConnection } from "@/components/project/automations/use-repository-connections";
+import type { IntegrationState } from "@/components/project/integrations/get-integration-status";
+
+const m = vi.hoisted(() => ({
+ states: {} as Record<string, IntegrationState>,
+ canUpdate: true,
+}));
+
+vi.mock("@/lib/i18n", () => ({ i18n: { t: (key: string) => key } }));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({
+ t: (key: string) => key,
+ i18n: { language: "en-US" },
+ }),
+ Trans: ({
+ i18nKey,
+ values,
+ }: {
+ i18nKey: string;
+ values: Record<string, string>;
+ }) => `${i18nKey} ${JSON.stringify(values)}`,
+}));
+vi.mock("@tanstack/react-router", () => ({
+ Link: ({
+ children,
+ className,
+ }: {
+ children: ReactNode;
+ className?: string;
+ }) => (
+ <a href="/integrations" className={className}>
+ {children}
+ </a>
+ ),
+}));
+vi.mock("@/lib/toast", () => ({ toast: { success: vi.fn(), error: vi.fn() } }));
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({ canUpdateProjects: () => m.canUpdate }),
+}));
+vi.mock("@/components/project/automations/use-repository-connections", () => ({
+ useRepositoryConnections: (): RepositoryConnection[] =>
+ (["github", "gitea", "gitlab"] as const).map((id) => ({
+ id,
+ name: { github: "GitHub", gitea: "Gitea", gitlab: "GitLab" }[id],
+ icon: () => <svg />,
+ iconClassName: "",
+ status: {
+ state: m.states[id] ?? "disconnected",
+ detail: id === "github" ? "acme/website" : undefined,
+ },
+ })),
+}));
+vi.mock("@/hooks/queries/column/use-get-columns", () => ({
+ useGetColumns: () => ({
+ isLoading: false,
+ data: [
+ { id: "c1", name: "To Do", slug: "to-do", icon: null, isFinal: false },
+ { id: "c2", name: "Done", slug: "done", icon: null, isFinal: true },
+ ],
+ }),
+}));
+vi.mock("@/hooks/queries/workflow-rule/use-get-workflow-rules", () => ({
+ useGetWorkflowRules: () => ({
+ isLoading: false,
+ data: [
+ {
+ id: "r1",
+ integrationType: "github",
+ eventType: "pr_merged",
+ columnId: "c2",
+ },
+ ],
+ }),
+}));
+vi.mock("@/hooks/mutations/workflow-rule/use-upsert-workflow-rule", () => ({
+ useUpsertWorkflowRule: () => ({ mutateAsync: vi.fn() }),
+}));
+vi.mock("@/hooks/mutations/workflow-rule/use-delete-workflow-rule", () => ({
+ useDeleteWorkflowRule: () => ({ mutateAsync: vi.fn() }),
+}));
+
+describe("AutomationsSection", () => {
+ beforeEach(() => {
+ m.states = {};
+ m.canUpdate = true;
+ });
+ afterEach(cleanup);
+
+ it("explains that automations need a connected repository", () => {
+ render(<AutomationsSection projectId="p1" />);
+ expect(
+ screen.getByText("settings:workflowEditor.emptyTitle"),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByRole("link", {
+ name: "settings:workflowEditor.openIntegrations",
+ }),
+ ).toBeInTheDocument();
+ });
+
+ it("shows a card per connected provider and lists the others", () => {
+ m.states = { github: "connected" };
+ render(<AutomationsSection projectId="p1" />);
+
+ expect(screen.getByText("GitHub")).toBeInTheDocument();
+ expect(screen.getByText("acme/website")).toBeInTheDocument();
+ expect(
+ screen.getByText("settings:projectIntegrations.statusConnected"),
+ ).toBeInTheDocument();
+ expect(screen.queryByText("Gitea")).toBeNull();
+ expect(screen.getAllByRole("combobox")).toHaveLength(5);
+ expect(screen.getByText("Done")).toBeInTheDocument();
+ expect(
+ screen.getByText(
+ 'settings:workflowEditor.connectMore {"providers":"Gitea or GitLab"}',
+ ),
+ ).toBeInTheDocument();
+ });
+
+ it("marks paused providers and hides the note when all are set up", () => {
+ m.states = { github: "connected", gitea: "paused", gitlab: "connected" };
+ render(<AutomationsSection projectId="p1" />);
+ expect(
+ screen.getByText("settings:projectIntegrations.statusPaused"),
+ ).toBeInTheDocument();
+ expect(screen.getAllByRole("combobox")).toHaveLength(15);
+ expect(
+ screen.queryByText(/settings:workflowEditor.connectMore/),
+ ).toBeNull();
+ });
+
+ it("disables rule editing without project update permission", () => {
+ m.states = { github: "connected" };
+ m.canUpdate = false;
+ render(<AutomationsSection projectId="p1" />);
+ for (const select of screen.getAllByRole("combobox")) {
+ expect(select).toHaveAttribute("data-disabled");
+ }
+ });
+});
diff --git a/apps/web/src/components/project/automations/automations-section.tsx b/apps/web/src/components/project/automations/automations-section.tsx
new file mode 100644
index 000000000..c49e9091c
--- /dev/null
+++ b/apps/web/src/components/project/automations/automations-section.tsx
@@ -0,0 +1,102 @@
+import { useTranslation } from "react-i18next";
+import { AutomationCard } from "@/components/project/automations/automation-card";
+import { AutomationsEmpty } from "@/components/project/automations/automations-empty";
+import { AutomationsSkeleton } from "@/components/project/automations/automations-skeleton";
+import { ConnectMoreNote } from "@/components/project/automations/connect-more-note";
+import { useRepositoryConnections } from "@/components/project/automations/use-repository-connections";
+import { planRuleChange } from "@/components/project/automations/plan-rule-change";
+import type { RepositoryProviderId } from "@/components/project/automations/repository-providers";
+import type { WorkflowEvent } from "@/components/project/automations/workflow-events";
+import { errorMessage } from "@/components/project/error-message";
+import { useDeleteWorkflowRule } from "@/hooks/mutations/workflow-rule/use-delete-workflow-rule";
+import { useUpsertWorkflowRule } from "@/hooks/mutations/workflow-rule/use-upsert-workflow-rule";
+import { useGetColumns } from "@/hooks/queries/column/use-get-columns";
+import { useGetWorkflowRules } from "@/hooks/queries/workflow-rule/use-get-workflow-rules";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+import { toast } from "@/lib/toast";
+
+type AutomationsSectionProps = {
+ projectId: string;
+};
+
+export function AutomationsSection({ projectId }: AutomationsSectionProps) {
+ const { t } = useTranslation();
+ const connections = useRepositoryConnections(projectId);
+ const { data: columns = [], isLoading: columnsLoading } =
+ useGetColumns(projectId);
+ const { data: rules = [], isLoading: rulesLoading } =
+ useGetWorkflowRules(projectId);
+ const { mutateAsync: upsertRule } = useUpsertWorkflowRule();
+ const { mutateAsync: deleteRule } = useDeleteWorkflowRule();
+ const { canUpdateProjects } = useWorkspacePermission();
+ const canEdit = canUpdateProjects();
+
+ const changeRule = async (
+ provider: RepositoryProviderId,
+ event: WorkflowEvent,
+ columnId: string | null,
+ ) => {
+ const change = planRuleChange(rules, provider, event, columnId);
+ try {
+ if (change.type === "upsert") {
+ await upsertRule({
+ projectId,
+ data: {
+ integrationType: provider,
+ eventType: event,
+ columnId: change.columnId,
+ },
+ });
+ }
+ if (change.type === "delete") {
+ await deleteRule({ id: change.id, projectId });
+ }
+ } catch (error) {
+ toast.error(errorMessage(error, t("settings:workflowEditor.toastError")));
+ }
+ };
+
+ if (
+ columnsLoading ||
+ rulesLoading ||
+ connections.some((connection) => connection.status.state === "loading")
+ ) {
+ return <AutomationsSkeleton />;
+ }
+
+ const connected = connections.filter(
+ (connection) =>
+ connection.status.state === "connected" ||
+ connection.status.state === "paused",
+ );
+ const disconnected = connections.filter(
+ (connection) => connection.status.state === "disconnected",
+ );
+
+ if (connected.length === 0) {
+ return <AutomationsEmpty projectId={projectId} />;
+ }
+
+ return (
+ <>
+ {connected.map((connection) => (
+ <AutomationCard
+ key={connection.id}
+ connection={connection}
+ columns={columns}
+ rules={rules.filter((rule) => rule.integrationType === connection.id)}
+ canEdit={canEdit}
+ onChange={(event, columnId) =>
+ changeRule(connection.id, event, columnId)
+ }
+ />
+ ))}
+ {disconnected.length > 0 ? (
+ <ConnectMoreNote
+ projectId={projectId}
+ providers={disconnected.map((connection) => connection.name)}
+ />
+ ) : null}
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/automations/automations-skeleton.tsx b/apps/web/src/components/project/automations/automations-skeleton.tsx
new file mode 100644
index 000000000..c47ca989f
--- /dev/null
+++ b/apps/web/src/components/project/automations/automations-skeleton.tsx
@@ -0,0 +1,25 @@
+import { SettingsCard } from "@/components/settings/settings-card";
+import { Skeleton } from "@/components/ui/skeleton";
+
+const ROWS = ["a", "b", "c"];
+
+export function AutomationsSkeleton() {
+ return (
+ <SettingsCard aria-busy="true">
+ <div className="flex items-center gap-3.5 px-4 py-3.5">
+ <Skeleton className="size-8 rounded-lg" />
+ <div className="space-y-1.5">
+ <Skeleton className="h-4 w-24" />
+ <Skeleton className="h-3 w-36" />
+ </div>
+ </div>
+ {ROWS.map((row) => (
+ <div key={row} className="flex items-center gap-6 px-4 py-3.5">
+ <Skeleton className="h-4 w-32" />
+ <span className="flex-1" />
+ <Skeleton className="h-7 w-48 rounded-lg" />
+ </div>
+ ))}
+ </SettingsCard>
+ );
+}
diff --git a/apps/web/src/components/project/automations/column-option-label.tsx b/apps/web/src/components/project/automations/column-option-label.tsx
new file mode 100644
index 000000000..c34d9e385
--- /dev/null
+++ b/apps/web/src/components/project/automations/column-option-label.tsx
@@ -0,0 +1,11 @@
+import type { ProjectColumn } from "@/components/project/columns/types";
+import { getColumnIcon } from "@/lib/column";
+
+export function ColumnOptionLabel({ column }: { column: ProjectColumn }) {
+ return (
+ <span className="flex min-w-0 items-center gap-2">
+ {getColumnIcon(column.slug, column.isFinal, column.icon)}
+ <span className="truncate">{column.name}</span>
+ </span>
+ );
+}
diff --git a/apps/web/src/components/project/automations/connect-more-note.tsx b/apps/web/src/components/project/automations/connect-more-note.tsx
new file mode 100644
index 000000000..c92bc262c
--- /dev/null
+++ b/apps/web/src/components/project/automations/connect-more-note.tsx
@@ -0,0 +1,34 @@
+import { Link } from "@tanstack/react-router";
+import { Trans, useTranslation } from "react-i18next";
+import { formatProviderList } from "@/components/project/automations/format-provider-list";
+import { SettingsNote } from "@/components/settings/settings-note";
+
+type ConnectMoreNoteProps = {
+ projectId: string;
+ providers: string[];
+};
+
+export function ConnectMoreNote({
+ projectId,
+ providers,
+}: ConnectMoreNoteProps) {
+ const { i18n } = useTranslation();
+
+ return (
+ <SettingsNote>
+ <Trans
+ i18nKey="settings:workflowEditor.connectMore"
+ values={{ providers: formatProviderList(providers, i18n?.language) }}
+ components={{
+ link: (
+ <Link
+ to="/dashboard/settings/projects/$projectId/integrations"
+ params={{ projectId }}
+ className="font-medium text-foreground underline-offset-4 hover:underline"
+ />
+ ),
+ }}
+ />
+ </SettingsNote>
+ );
+}
diff --git a/apps/web/src/components/project/automations/format-provider-list.test.ts b/apps/web/src/components/project/automations/format-provider-list.test.ts
new file mode 100644
index 000000000..c09e497a3
--- /dev/null
+++ b/apps/web/src/components/project/automations/format-provider-list.test.ts
@@ -0,0 +1,20 @@
+import { describe, expect, it } from "vite-plus/test";
+import { formatProviderList } from "@/components/project/automations/format-provider-list";
+
+describe("formatProviderList", () => {
+ it("joins provider names as alternatives", () => {
+ expect(formatProviderList(["GitLab"], "en-US")).toBe("GitLab");
+ expect(formatProviderList(["Gitea", "GitLab"], "en-US")).toBe(
+ "Gitea or GitLab",
+ );
+ expect(formatProviderList(["GitHub", "Gitea", "GitLab"], "en-US")).toBe(
+ "GitHub, Gitea, or GitLab",
+ );
+ });
+
+ it("falls back to commas for an unknown locale tag", () => {
+ expect(formatProviderList(["Gitea", "GitLab"], "not a locale")).toBe(
+ "Gitea, GitLab",
+ );
+ });
+});
diff --git a/apps/web/src/components/project/automations/format-provider-list.ts b/apps/web/src/components/project/automations/format-provider-list.ts
new file mode 100644
index 000000000..0608a8499
--- /dev/null
+++ b/apps/web/src/components/project/automations/format-provider-list.ts
@@ -0,0 +1,10 @@
+export function formatProviderList(names: string[], locale?: string) {
+ try {
+ return new Intl.ListFormat(locale, {
+ style: "long",
+ type: "disjunction",
+ }).format(names);
+ } catch {
+ return names.join(", ");
+ }
+}
diff --git a/apps/web/src/components/project/automations/plan-rule-change.test.ts b/apps/web/src/components/project/automations/plan-rule-change.test.ts
new file mode 100644
index 000000000..951befdd4
--- /dev/null
+++ b/apps/web/src/components/project/automations/plan-rule-change.test.ts
@@ -0,0 +1,36 @@
+import { describe, expect, it } from "vite-plus/test";
+import { planRuleChange } from "@/components/project/automations/plan-rule-change";
+
+const rules = [
+ {
+ id: "rule-1",
+ integrationType: "github",
+ eventType: "pr_merged",
+ columnId: "done",
+ },
+];
+
+describe("planRuleChange", () => {
+ it("clears an existing rule when the task should not move", () => {
+ expect(planRuleChange(rules, "github", "pr_merged", null)).toEqual({
+ type: "delete",
+ id: "rule-1",
+ });
+ });
+
+ it("does nothing when there is no rule to clear", () => {
+ expect(planRuleChange(rules, "gitea", "pr_merged", null)).toEqual({
+ type: "none",
+ });
+ });
+
+ it("saves a new or changed target column", () => {
+ expect(planRuleChange(rules, "github", "pr_merged", "review")).toEqual({
+ type: "upsert",
+ columnId: "review",
+ });
+ expect(planRuleChange(rules, "github", "pr_merged", "done")).toEqual({
+ type: "none",
+ });
+ });
+});
diff --git a/apps/web/src/components/project/automations/plan-rule-change.ts b/apps/web/src/components/project/automations/plan-rule-change.ts
new file mode 100644
index 000000000..82c4d9a8c
--- /dev/null
+++ b/apps/web/src/components/project/automations/plan-rule-change.ts
@@ -0,0 +1,32 @@
+type Rule = {
+ id: string;
+ integrationType: string;
+ eventType: string;
+ columnId: string;
+};
+
+type RuleChange =
+ | { type: "upsert"; columnId: string }
+ | { type: "delete"; id: string }
+ | { type: "none" };
+
+export function planRuleChange(
+ rules: Rule[],
+ integrationType: string,
+ eventType: string,
+ columnId: string | null,
+): RuleChange {
+ const rule = rules.find(
+ (candidate) =>
+ candidate.integrationType === integrationType &&
+ candidate.eventType === eventType,
+ );
+
+ if (columnId) {
+ return rule?.columnId === columnId
+ ? { type: "none" }
+ : { type: "upsert", columnId };
+ }
+
+ return rule ? { type: "delete", id: rule.id } : { type: "none" };
+}
diff --git a/apps/web/src/components/project/automations/repository-providers.ts b/apps/web/src/components/project/automations/repository-providers.ts
new file mode 100644
index 000000000..f2b0785ab
--- /dev/null
+++ b/apps/web/src/components/project/automations/repository-providers.ts
@@ -0,0 +1,34 @@
+import type { ComponentType, SVGProps } from "react";
+import { GiteaIcon } from "@/components/icons/gitea-icon";
+import { GithubIcon } from "@/components/icons/github-icon";
+import { GitlabIcon } from "@/components/icons/gitlab-icon";
+
+export type RepositoryProviderId = "github" | "gitea" | "gitlab";
+
+export type RepositoryProvider = {
+ id: RepositoryProviderId;
+ name: string;
+ icon: ComponentType<SVGProps<SVGSVGElement>>;
+ iconClassName: string;
+};
+
+export const REPOSITORY_PROVIDERS: RepositoryProvider[] = [
+ {
+ id: "github",
+ name: "GitHub",
+ icon: GithubIcon,
+ iconClassName: "text-foreground",
+ },
+ {
+ id: "gitea",
+ name: "Gitea",
+ icon: GiteaIcon,
+ iconClassName: "text-[#609926]",
+ },
+ {
+ id: "gitlab",
+ name: "GitLab",
+ icon: GitlabIcon,
+ iconClassName: "text-[#FC6D26]",
+ },
+];
diff --git a/apps/web/src/components/project/automations/use-repository-connections.ts b/apps/web/src/components/project/automations/use-repository-connections.ts
new file mode 100644
index 000000000..398b78649
--- /dev/null
+++ b/apps/web/src/components/project/automations/use-repository-connections.ts
@@ -0,0 +1,59 @@
+import {
+ formatRepository,
+ getIntegrationStatus,
+ type IntegrationStatus,
+} from "@/components/project/integrations/get-integration-status";
+import {
+ REPOSITORY_PROVIDERS,
+ type RepositoryProvider,
+} from "@/components/project/automations/repository-providers";
+import useGetGiteaIntegration from "@/hooks/queries/gitea-integration/use-get-gitea-integration";
+import useGetGithubIntegration from "@/hooks/queries/github-integration/use-get-github-integration";
+import useGetGitlabIntegration from "@/hooks/queries/gitlab-integration/use-get-gitlab-integration";
+
+export type RepositoryConnection = RepositoryProvider & {
+ status: IntegrationStatus;
+};
+
+export function useRepositoryConnections(
+ projectId: string,
+): RepositoryConnection[] {
+ const github = useGetGithubIntegration(projectId);
+ const gitea = useGetGiteaIntegration(projectId);
+ const gitlab = useGetGitlabIntegration(projectId);
+
+ const statuses = {
+ github: getIntegrationStatus({
+ queryStatus: github.status,
+ hasData: github.data !== undefined,
+ configured: Boolean(github.data),
+ isActive: github.data?.isActive,
+ detail: formatRepository(
+ github.data?.repositoryOwner,
+ github.data?.repositoryName,
+ ),
+ }),
+ gitea: getIntegrationStatus({
+ queryStatus: gitea.status,
+ hasData: gitea.data !== undefined,
+ configured: Boolean(gitea.data),
+ isActive: gitea.data?.isActive,
+ detail: formatRepository(
+ gitea.data?.repositoryOwner,
+ gitea.data?.repositoryName,
+ ),
+ }),
+ gitlab: getIntegrationStatus({
+ queryStatus: gitlab.status,
+ hasData: gitlab.data !== undefined,
+ configured: Boolean(gitlab.data),
+ isActive: gitlab.data?.isActive,
+ detail: gitlab.data?.projectPath,
+ }),
+ };
+
+ return REPOSITORY_PROVIDERS.map((provider) => ({
+ ...provider,
+ status: statuses[provider.id],
+ }));
+}
diff --git a/apps/web/src/components/project/automations/workflow-events.ts b/apps/web/src/components/project/automations/workflow-events.ts
new file mode 100644
index 000000000..4291e9c64
--- /dev/null
+++ b/apps/web/src/components/project/automations/workflow-events.ts
@@ -0,0 +1,9 @@
+export const WORKFLOW_EVENTS = [
+ "branch_push",
+ "pr_opened",
+ "pr_merged",
+ "issue_opened",
+ "issue_closed",
+] as const;
+
+export type WorkflowEvent = (typeof WORKFLOW_EVENTS)[number];
diff --git a/apps/web/src/components/project/calendar-feed-settings.tsx b/apps/web/src/components/project/calendar-feed-settings.tsx
deleted file mode 100644
index a9242a221..000000000
--- a/apps/web/src/components/project/calendar-feed-settings.tsx
+++ /dev/null
@@ -1,258 +0,0 @@
-import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
-import { useState } from "react";
-import { useTranslation } from "react-i18next";
-import { Button } from "@/components/ui/button";
-import {
- Combobox,
- ComboboxChip,
- ComboboxChips,
- ComboboxChipsInput,
- ComboboxEmpty,
- ComboboxItem,
- ComboboxList,
- ComboboxPopup,
- ComboboxValue,
-} from "@/components/ui/combobox";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import {
- createCalendarFeed,
- getCalendarFeeds,
- getCalendarFeedUrl,
- revokeCalendarFeed,
-} from "@/fetchers/calendar-feed";
-import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { toast } from "@/lib/toast";
-
-type LabelOption = { value: string; label: string };
-
-export function CalendarFeedSettings({ projectId }: { projectId: string }) {
- const { t } = useTranslation();
- const { workspace, canShareProjects, isCheckingPermissions } =
- useWorkspacePermission();
- const canShare = canShareProjects();
- const labelsQuery = useGetLabelsByWorkspace(workspace?.id ?? "");
- const labels = labelsQuery.data ?? [];
- // Labels have separate IDs for the workspace definition and each task copy.
- const byName = new Map<string, (typeof labels)[number]>();
- for (const label of labels) {
- if (!byName.has(label.name) || label.taskId === null)
- byName.set(label.name, label);
- }
- const options = [...byName.values()]
- .map((label) => ({ value: label.id, label: label.name }))
- .sort((a, b) => a.label.localeCompare(b.label));
- const [selected, setSelected] = useState<LabelOption[]>([]);
- const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
- const queryClient = useQueryClient();
- const queryKey = ["calendar-feeds", projectId];
- const feedsQuery = useQuery({
- queryKey,
- queryFn: () => getCalendarFeeds(projectId),
- enabled: canShare,
- });
- const create = useMutation({
- mutationFn: () =>
- createCalendarFeed(
- projectId,
- selected.map((label) => label.value),
- timeZone,
- ),
- onSuccess: async () => {
- setSelected([]);
- await queryClient.invalidateQueries({
- queryKey: ["labels", workspace?.id],
- });
- await queryClient.invalidateQueries({ queryKey });
- toast.success(t("settings:calendarFeeds.created"));
- },
- onError: () => toast.error(t("settings:calendarFeeds.createError")),
- });
- const revoke = useMutation({
- mutationFn: (id: string) => revokeCalendarFeed(projectId, id),
- onSuccess: async () => {
- await queryClient.invalidateQueries({ queryKey });
- toast.success(t("settings:calendarFeeds.revoked"));
- },
- onError: () => toast.error(t("settings:calendarFeeds.revokeError")),
- });
-
- if (isCheckingPermissions)
- return (
- <p className="text-sm text-muted-foreground">
- {t("common:empty.loading")}
- </p>
- );
- if (!canShare)
- return (
- <p className="text-sm text-muted-foreground">
- {t("settings:calendarFeeds.permissionRequired")}
- </p>
- );
-
- return (
- <div className="space-y-6">
- <div className="space-y-4 rounded-xl border border-border p-4">
- <div className="space-y-1">
- <h2 className="text-sm font-medium">
- {t("settings:calendarFeeds.createTitle")}
- </h2>
- <p className="text-xs text-muted-foreground">
- {t("settings:calendarFeeds.filterHint")}
- </p>
- </div>
- <div className="space-y-2">
- <Label htmlFor="calendar-feed-labels">
- {t("settings:calendarFeeds.labels")}
- </Label>
- <Combobox
- items={options}
- multiple
- value={selected}
- onValueChange={setSelected}
- isItemEqualToValue={(item, value) => item.value === value.value}
- disabled={
- create.isPending || labelsQuery.isLoading || labelsQuery.isError
- }
- >
- <ComboboxChips>
- <ComboboxValue>
- {(value: LabelOption[]) => (
- <>
- {value.map((item) => (
- <ComboboxChip aria-label={item.label} key={item.value}>
- {item.label}
- </ComboboxChip>
- ))}
- <ComboboxChipsInput
- id="calendar-feed-labels"
- placeholder={t("settings:calendarFeeds.selectLabels")}
- />
- </>
- )}
- </ComboboxValue>
- </ComboboxChips>
- <ComboboxPopup>
- <ComboboxEmpty>
- {t("settings:calendarFeeds.noLabels")}
- </ComboboxEmpty>
- <ComboboxList>
- {(item: LabelOption) => (
- <ComboboxItem key={item.value} value={item}>
- {item.label}
- </ComboboxItem>
- )}
- </ComboboxList>
- </ComboboxPopup>
- </Combobox>
- {labelsQuery.isError && (
- <p role="alert" className="text-xs text-destructive">
- {t("settings:calendarFeeds.loadError")}
- </p>
- )}
- <p className="text-xs text-muted-foreground">
- {t("settings:calendarFeeds.timeZoneHint", { timeZone })}
- </p>
- </div>
- <p className="text-xs text-muted-foreground">
- {t("settings:calendarFeeds.accessHint")}
- </p>
- <Button
- disabled={
- selected.length > 100 ||
- create.isPending ||
- (selected.length > 0 && labelsQuery.isError)
- }
- onClick={() => create.mutate()}
- >
- {t(
- create.isPending
- ? "settings:calendarFeeds.creating"
- : "settings:calendarFeeds.create",
- )}
- </Button>
- </div>
- <div className="space-y-3">
- <h2 className="text-sm font-medium">
- {t("settings:calendarFeeds.activeFeeds")}
- </h2>
- <p className="text-xs text-muted-foreground">
- {t("settings:calendarFeeds.subscribeHint")}
- </p>
- {feedsQuery.isLoading && (
- <p className="text-sm text-muted-foreground">
- {t("common:empty.loading")}
- </p>
- )}
- {feedsQuery.isError && (
- <p role="alert" className="text-sm text-destructive">
- {t("settings:calendarFeeds.loadError")}
- </p>
- )}
- {feedsQuery.data?.length === 0 && (
- <p className="text-sm text-muted-foreground">
- {t("settings:calendarFeeds.empty")}
- </p>
- )}
- {feedsQuery.data?.map((feed) => {
- const url = getCalendarFeedUrl(feed.token);
- return (
- <div
- key={feed.id}
- className="space-y-3 rounded-xl border border-border p-4"
- >
- <p className="text-sm font-medium">
- {feed.labelIds.length
- ? feed.labelIds
- .map(
- (id) =>
- labels.find((label) => label.id === id)?.name ??
- t("settings:calendarFeeds.deletedLabel"),
- )
- .join(", ")
- : t("settings:calendarFeeds.allScheduledTasks")}
- </p>
- <div className="flex flex-col gap-2 sm:flex-row">
- <Input
- aria-label={t("settings:calendarFeeds.feedUrl")}
- readOnly
- value={url}
- className="min-w-0 flex-1"
- onFocus={(event) => event.target.select()}
- />
- <div className="flex gap-2">
- <Button
- variant="outline"
- onClick={async () => {
- try {
- await navigator.clipboard.writeText(url);
- toast.success(t("settings:calendarFeeds.copied"));
- } catch {
- toast.error(t("settings:calendarFeeds.copyError"));
- }
- }}
- >
- {t("settings:calendarFeeds.copy")}
- </Button>
- <Button
- variant="destructive"
- disabled={revoke.isPending}
- onClick={() => revoke.mutate(feed.id)}
- >
- {t("settings:calendarFeeds.revoke")}
- </Button>
- </div>
- </div>
- <p className="text-xs text-muted-foreground">
- {t("settings:calendarFeeds.timeZoneHint", {
- timeZone: feed.timeZone,
- })}
- </p>
- </div>
- );
- })}
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/components/project/calendar-feeds/calendar-feed-label-picker.tsx b/apps/web/src/components/project/calendar-feeds/calendar-feed-label-picker.tsx
new file mode 100644
index 000000000..ea1ebe4f4
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/calendar-feed-label-picker.tsx
@@ -0,0 +1,78 @@
+import { useTranslation } from "react-i18next";
+import type { CalendarLabelOption } from "@/components/project/calendar-feeds/get-calendar-label-options";
+import { LabelDot } from "@/components/settings/labels/label-dot";
+import {
+ Combobox,
+ ComboboxChip,
+ ComboboxChips,
+ ComboboxChipsInput,
+ ComboboxEmpty,
+ ComboboxItem,
+ ComboboxList,
+ ComboboxPopup,
+ ComboboxValue,
+} from "@/components/ui/combobox";
+
+type CalendarFeedLabelPickerProps = {
+ id: string;
+ options: CalendarLabelOption[];
+ value: CalendarLabelOption[];
+ onValueChange: (value: CalendarLabelOption[]) => void;
+ disabled: boolean;
+ describedBy?: string;
+};
+
+export function CalendarFeedLabelPicker({
+ id,
+ options,
+ value,
+ onValueChange,
+ disabled,
+ describedBy,
+}: CalendarFeedLabelPickerProps) {
+ const { t } = useTranslation();
+
+ return (
+ <Combobox
+ items={options}
+ multiple
+ value={value}
+ onValueChange={onValueChange}
+ isItemEqualToValue={(item, selected) => item.value === selected.value}
+ disabled={disabled}
+ >
+ <ComboboxChips>
+ <ComboboxValue>
+ {(selected: CalendarLabelOption[]) => (
+ <>
+ {selected.map((item) => (
+ <ComboboxChip aria-label={item.label} key={item.value}>
+ <LabelDot color={item.color} className="me-1.5" />
+ {item.label}
+ </ComboboxChip>
+ ))}
+ <ComboboxChipsInput
+ id={id}
+ aria-describedby={describedBy}
+ placeholder={t("settings:calendarFeeds.selectLabels")}
+ />
+ </>
+ )}
+ </ComboboxValue>
+ </ComboboxChips>
+ <ComboboxPopup>
+ <ComboboxEmpty>{t("settings:calendarFeeds.noLabels")}</ComboboxEmpty>
+ <ComboboxList>
+ {(item: CalendarLabelOption) => (
+ <ComboboxItem key={item.value} value={item}>
+ <span className="flex min-w-0 items-center gap-2">
+ <LabelDot color={item.color} />
+ <span className="truncate">{item.label}</span>
+ </span>
+ </ComboboxItem>
+ )}
+ </ComboboxList>
+ </ComboboxPopup>
+ </Combobox>
+ );
+}
diff --git a/apps/web/src/components/project/calendar-feeds/calendar-feed-row.tsx b/apps/web/src/components/project/calendar-feeds/calendar-feed-row.tsx
new file mode 100644
index 000000000..0d8c39e53
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/calendar-feed-row.tsx
@@ -0,0 +1,67 @@
+import { CalendarIcon, Trash2Icon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import type { CalendarFeed } from "@/components/project/calendar-feeds/calendar-feed";
+import { CopyFeedLinkButton } from "@/components/project/calendar-feeds/copy-feed-link-button";
+import { resolveFeedLabels } from "@/components/project/calendar-feeds/resolve-feed-labels";
+import { LabelPill } from "@/components/settings/labels/label-pill";
+import type { WorkspaceLabel } from "@/components/settings/labels/workspace-label";
+import { RowActionsMenu } from "@/components/settings/row-actions-menu";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { getCalendarFeedUrl } from "@/fetchers/calendar-feed";
+
+type CalendarFeedRowProps = {
+ feed: CalendarFeed;
+ labels: WorkspaceLabel[];
+ onRevoke: (feed: CalendarFeed) => void;
+};
+
+export function CalendarFeedRow({
+ feed,
+ labels,
+ onRevoke,
+}: CalendarFeedRowProps) {
+ const { t } = useTranslation();
+ const url = getCalendarFeedUrl(feed.token);
+ const feedLabels = resolveFeedLabels(feed.labelIds, labels);
+
+ return (
+ <SettingsRow
+ icon={<CalendarIcon />}
+ title={
+ feedLabels.length > 0 ? (
+ <span className="flex flex-wrap gap-1.5">
+ {feedLabels.map((label) => (
+ <LabelPill
+ key={label.id}
+ name={label.name ?? t("settings:calendarFeeds.deletedLabel")}
+ color={label.color}
+ className={label.name ? undefined : "text-muted-foreground"}
+ />
+ ))}
+ </span>
+ ) : (
+ t("settings:calendarFeeds.allScheduledTasks")
+ )
+ }
+ description={
+ <span className="block truncate font-mono" title={url}>
+ {url}
+ </span>
+ }
+ >
+ <CopyFeedLinkButton url={url} />
+ <RowActionsMenu
+ label={t("settings:calendarFeeds.feedActions")}
+ actions={[
+ {
+ id: "revoke",
+ label: t("settings:calendarFeeds.revoke"),
+ icon: Trash2Icon,
+ destructive: true,
+ onSelect: () => onRevoke(feed),
+ },
+ ]}
+ />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/project/calendar-feed-settings.test.tsx b/apps/web/src/components/project/calendar-feeds/calendar-feed-settings.test.tsx
similarity index 65%
rename from apps/web/src/components/project/calendar-feed-settings.test.tsx
rename to apps/web/src/components/project/calendar-feeds/calendar-feed-settings.test.tsx
index 4a57147b3..0564dbf08 100644
--- a/apps/web/src/components/project/calendar-feed-settings.test.tsx
+++ b/apps/web/src/components/project/calendar-feeds/calendar-feed-settings.test.tsx
@@ -5,6 +5,7 @@ import {
render,
screen,
waitFor,
+ within,
} from "@testing-library/react";
import {
afterEach,
@@ -40,9 +41,14 @@ vi.mock("@/hooks/queries/label/use-get-labels-by-workspace", () => ({
data: labelsUnavailable
? []
: [
- { id: "task-copy", name: "Release", taskId: "task-1" },
- { id: "release", name: "Release", taskId: null },
- { id: "maintenance", name: "Maintenance", taskId: null },
+ { id: "task-copy", name: "Release", color: "red", taskId: "task-1" },
+ { id: "release", name: "Release", color: "red", taskId: null },
+ {
+ id: "maintenance",
+ name: "Maintenance",
+ color: "teal",
+ taskId: null,
+ },
],
isLoading: false,
isError: labelsUnavailable,
@@ -65,6 +71,8 @@ const feed = {
timeZone: "Europe/Berlin",
createdAt: "2026-09-23T12:00:00Z",
};
+const browserTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
+
function renderSettings() {
const client = new QueryClient({
defaultOptions: { queries: { retry: false }, mutations: { retry: false } },
@@ -76,6 +84,14 @@ function renderSettings() {
);
}
+async function openNewFeedDialog() {
+ const [newFeed] = await screen.findAllByRole("button", {
+ name: "settings:calendarFeeds.newFeed",
+ });
+ fireEvent.click(newFeed);
+ return screen.findByRole("dialog");
+}
+
describe("CalendarFeedSettings", () => {
beforeEach(() => {
vi.clearAllMocks();
@@ -104,11 +120,12 @@ describe("CalendarFeedSettings", () => {
it("creates a feed from multiple labels using definition IDs instead of task copies", async () => {
renderSettings();
- const create = screen.getByRole("button", {
+ const dialog = await openNewFeedDialog();
+ const create = within(dialog).getByRole("button", {
name: "settings:calendarFeeds.create",
});
expect(create).toBeEnabled();
- const input = screen.getByRole("combobox");
+ const input = within(dialog).getByRole("combobox");
fireEvent.change(input, { target: { value: "Release" } });
fireEvent.keyDown(input, { key: "ArrowDown" });
fireEvent.click(await screen.findByRole("option", { name: "Release" }), {
@@ -127,14 +144,18 @@ describe("CalendarFeedSettings", () => {
expect(createCalendarFeed).toHaveBeenCalledWith(
"project-1",
["release", "maintenance"],
- Intl.DateTimeFormat().resolvedOptions().timeZone,
+ browserTimeZone,
),
);
- await waitFor(() => expect(create).toBeEnabled());
- expect(screen.queryByLabelText("Release")).not.toBeInTheDocument();
- expect(toast.success).toHaveBeenCalledWith(
- "settings:calendarFeeds.created",
+ await waitFor(() =>
+ expect(toast.success).toHaveBeenCalledWith(
+ "settings:calendarFeeds.created",
+ ),
+ );
+ await waitFor(() =>
+ expect(screen.queryByRole("dialog")).not.toBeInTheDocument(),
);
+ expect(screen.queryByLabelText("Release")).not.toBeInTheDocument();
});
it.each([false, true])(
@@ -147,8 +168,9 @@ describe("CalendarFeedSettings", () => {
.mockResolvedValueOnce([])
.mockResolvedValue([unfilteredFeed]);
renderSettings();
+ const dialog = await openNewFeedDialog();
fireEvent.click(
- screen.getByRole("button", {
+ within(dialog).getByRole("button", {
name: "settings:calendarFeeds.create",
}),
);
@@ -156,7 +178,7 @@ describe("CalendarFeedSettings", () => {
expect(createCalendarFeed).toHaveBeenCalledWith(
"project-1",
[],
- Intl.DateTimeFormat().resolvedOptions().timeZone,
+ browserTimeZone,
),
);
expect(
@@ -165,30 +187,78 @@ describe("CalendarFeedSettings", () => {
},
);
- it("copies a subscription URL and revokes the selected feed", async () => {
- vi.mocked(getCalendarFeeds).mockResolvedValue([feed]);
+ it("shows the feed labels, copies the link and revokes only after confirmation", async () => {
+ vi.mocked(getCalendarFeeds).mockResolvedValue([
+ { ...feed, labelIds: ["release", "gone"] },
+ ]);
const writeText = vi.fn().mockResolvedValue(undefined);
Object.defineProperty(navigator, "clipboard", {
configurable: true,
value: { writeText },
});
renderSettings();
+ expect(await screen.findByText("Release")).toBeInTheDocument();
+ expect(
+ screen.getByText("settings:calendarFeeds.deletedLabel"),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByText(
+ "https://kaneo.example/api/calendar-feed/secret/calendar.ics",
+ ),
+ ).toBeInTheDocument();
+
fireEvent.click(
- await screen.findByRole("button", {
- name: "settings:calendarFeeds.copy",
- }),
+ screen.getByRole("button", { name: "settings:calendarFeeds.copy" }),
);
await waitFor(() =>
expect(writeText).toHaveBeenCalledWith(
"https://kaneo.example/api/calendar-feed/secret/calendar.ics",
),
);
+ expect(
+ await screen.findByRole("button", {
+ name: "settings:calendarFeeds.copiedLabel",
+ }),
+ ).toBeInTheDocument();
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:calendarFeeds.feedActions",
+ }),
+ );
fireEvent.click(
- screen.getByRole("button", { name: "settings:calendarFeeds.revoke" }),
+ await screen.findByRole("menuitem", {
+ name: "settings:calendarFeeds.revoke",
+ }),
+ );
+ const confirm = await screen.findByRole("alertdialog");
+ expect(revokeCalendarFeed).not.toHaveBeenCalled();
+ fireEvent.click(
+ within(confirm).getByRole("button", {
+ name: "settings:calendarFeeds.revokeConfirm",
+ }),
);
await waitFor(() =>
expect(revokeCalendarFeed).toHaveBeenCalledWith("project-1", "feed-1"),
);
+ await waitFor(() =>
+ expect(toast.success).toHaveBeenCalledWith(
+ "settings:calendarFeeds.revoked",
+ ),
+ );
+ });
+
+ it("shows the empty state with a create action and the browser time zone", async () => {
+ renderSettings();
+ expect(
+ await screen.findByText("settings:calendarFeeds.emptyTitle"),
+ ).toBeInTheDocument();
+ expect(
+ screen.getAllByRole("button", { name: "settings:calendarFeeds.newFeed" }),
+ ).toHaveLength(2);
+ expect(
+ screen.getByText(/settings:calendarFeeds\.timeZoneHint/),
+ ).toBeInTheDocument();
});
it("does not fetch secret links or show controls without sharing permission", () => {
@@ -198,7 +268,9 @@ describe("CalendarFeedSettings", () => {
screen.getByText("settings:calendarFeeds.permissionRequired"),
).toBeInTheDocument();
expect(getCalendarFeeds).not.toHaveBeenCalled();
- expect(screen.queryByRole("combobox")).not.toBeInTheDocument();
+ expect(
+ screen.queryByRole("button", { name: "settings:calendarFeeds.newFeed" }),
+ ).not.toBeInTheDocument();
});
it("reports loading failures without presenting a misleading empty state", async () => {
@@ -208,7 +280,7 @@ describe("CalendarFeedSettings", () => {
"settings:calendarFeeds.loadError",
);
expect(
- screen.queryByText("settings:calendarFeeds.empty"),
+ screen.queryByText("settings:calendarFeeds.emptyTitle"),
).not.toBeInTheDocument();
});
});
diff --git a/apps/web/src/components/project/calendar-feeds/calendar-feed-settings.tsx b/apps/web/src/components/project/calendar-feeds/calendar-feed-settings.tsx
new file mode 100644
index 000000000..aa6d503fd
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/calendar-feed-settings.tsx
@@ -0,0 +1,140 @@
+import { CalendarIcon, LockIcon, PlusIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import type { CalendarFeed } from "@/components/project/calendar-feeds/calendar-feed";
+import { CalendarFeedRow } from "@/components/project/calendar-feeds/calendar-feed-row";
+import { NewCalendarFeedDialog } from "@/components/project/calendar-feeds/new-calendar-feed-dialog";
+import { RevokeCalendarFeedDialog } from "@/components/project/calendar-feeds/revoke-calendar-feed-dialog";
+import { useCalendarFeeds } from "@/components/project/calendar-feeds/use-calendar-feeds";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+import { SettingsNote } from "@/components/settings/settings-note";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsRowsSkeleton } from "@/components/settings/settings-rows-skeleton";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+
+export function CalendarFeedSettings({ projectId }: { projectId: string }) {
+ const { t } = useTranslation();
+ const { workspace, canShareProjects, isCheckingPermissions } =
+ useWorkspacePermission();
+ const canShare = canShareProjects();
+ const workspaceId = workspace?.id ?? "";
+ const labelsQuery = useGetLabelsByWorkspace(workspaceId);
+ const feedsQuery = useCalendarFeeds(projectId, canShare);
+ const [createOpen, setCreateOpen] = useState(false);
+ const [revokeOpen, setRevokeOpen] = useState(false);
+ const [revokingFeedId, setRevokingFeedId] = useState<string | null>(null);
+
+ const title = t("settings:calendarFeeds.title");
+ const description = t("settings:calendarFeeds.subtitle");
+
+ if (isCheckingPermissions || !canShare) {
+ return (
+ <SettingsPage title={title} description={description}>
+ <p className="text-muted-foreground text-sm">
+ {t(
+ isCheckingPermissions
+ ? "common:empty.loading"
+ : "settings:calendarFeeds.permissionRequired",
+ )}
+ </p>
+ </SettingsPage>
+ );
+ }
+
+ const feeds = feedsQuery.data ?? [];
+ const timeZones =
+ feeds.length > 0
+ ? [...new Set(feeds.map((feed) => feed.timeZone))]
+ : [Intl.DateTimeFormat().resolvedOptions().timeZone];
+
+ const openRevokeDialog = (feed: CalendarFeed) => {
+ setRevokingFeedId(feed.id);
+ setRevokeOpen(true);
+ };
+
+ const newFeedButton = (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() => setCreateOpen(true)}
+ >
+ <PlusIcon aria-hidden="true" />
+ {t("settings:calendarFeeds.newFeed")}
+ </Button>
+ );
+
+ const renderFeeds = () => {
+ if (feedsQuery.isPending) {
+ return <SettingsRowsSkeleton rows={2} withDescription />;
+ }
+ if (feedsQuery.isError) {
+ return (
+ <p
+ role="alert"
+ className="px-4 py-3.5 text-destructive-foreground text-sm"
+ >
+ {t("settings:calendarFeeds.loadError")}
+ </p>
+ );
+ }
+ if (feeds.length === 0) {
+ return (
+ <SettingsEmpty
+ icon={<CalendarIcon />}
+ title={t("settings:calendarFeeds.emptyTitle")}
+ description={t("settings:calendarFeeds.emptyDescription")}
+ action={newFeedButton}
+ />
+ );
+ }
+ return feeds.map((feed) => (
+ <CalendarFeedRow
+ key={feed.id}
+ feed={feed}
+ labels={labelsQuery.data ?? []}
+ onRevoke={openRevokeDialog}
+ />
+ ));
+ };
+
+ return (
+ <>
+ <SettingsPage
+ title={title}
+ description={description}
+ actions={newFeedButton}
+ >
+ <SettingsSection
+ title={t("settings:calendarFeeds.activeFeeds")}
+ description={t("settings:calendarFeeds.subscribeHint")}
+ >
+ <SettingsCard>{renderFeeds()}</SettingsCard>
+ <SettingsNote icon={LockIcon}>
+ {t("settings:calendarFeeds.accessHint")}{" "}
+ {t("settings:calendarFeeds.timeZoneHint", {
+ timeZone: timeZones.join(", "),
+ })}
+ </SettingsNote>
+ </SettingsSection>
+ </SettingsPage>
+
+ <NewCalendarFeedDialog
+ open={createOpen}
+ onOpenChange={setCreateOpen}
+ projectId={projectId}
+ workspaceId={workspaceId}
+ />
+ <RevokeCalendarFeedDialog
+ open={revokeOpen}
+ onOpenChange={setRevokeOpen}
+ projectId={projectId}
+ feedId={revokingFeedId}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/calendar-feeds/calendar-feed.ts b/apps/web/src/components/project/calendar-feeds/calendar-feed.ts
new file mode 100644
index 000000000..6f82b8fc8
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/calendar-feed.ts
@@ -0,0 +1,3 @@
+import type { getCalendarFeeds } from "@/fetchers/calendar-feed";
+
+export type CalendarFeed = Awaited<ReturnType<typeof getCalendarFeeds>>[number];
diff --git a/apps/web/src/components/project/calendar-feeds/copy-feed-link-button.tsx b/apps/web/src/components/project/calendar-feeds/copy-feed-link-button.tsx
new file mode 100644
index 000000000..7c4b43068
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/copy-feed-link-button.tsx
@@ -0,0 +1,49 @@
+import { CheckIcon, CopyIcon } from "lucide-react";
+import { useEffect, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import { copyToClipboard } from "@/lib/copy-to-clipboard";
+import { toast } from "@/lib/toast";
+
+const COPIED_RESET_MS = 2000;
+
+export function CopyFeedLinkButton({ url }: { url: string }) {
+ const { t } = useTranslation();
+ const [copied, setCopied] = useState(false);
+
+ useEffect(() => {
+ if (!copied) return;
+ const timeout = window.setTimeout(() => setCopied(false), COPIED_RESET_MS);
+ return () => window.clearTimeout(timeout);
+ }, [copied]);
+
+ const handleCopy = async () => {
+ if (await copyToClipboard(url)) {
+ setCopied(true);
+ } else {
+ toast.error(t("settings:calendarFeeds.copyError"));
+ }
+ };
+
+ return (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="w-24"
+ onClick={handleCopy}
+ >
+ {copied ? (
+ <>
+ <CheckIcon aria-hidden="true" className="text-success-foreground" />
+ {t("settings:calendarFeeds.copiedLabel")}
+ </>
+ ) : (
+ <>
+ <CopyIcon aria-hidden="true" />
+ {t("settings:calendarFeeds.copy")}
+ </>
+ )}
+ </Button>
+ );
+}
diff --git a/apps/web/src/components/project/calendar-feeds/get-calendar-label-options.test.ts b/apps/web/src/components/project/calendar-feeds/get-calendar-label-options.test.ts
new file mode 100644
index 000000000..1db1e940c
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/get-calendar-label-options.test.ts
@@ -0,0 +1,26 @@
+import { describe, expect, it } from "vite-plus/test";
+import { getCalendarLabelOptions } from "./get-calendar-label-options";
+
+describe("getCalendarLabelOptions", () => {
+ it("keeps one option per name, preferring the workspace definition", () => {
+ expect(
+ getCalendarLabelOptions([
+ { id: "copy", name: "Release", color: "red", taskId: "task-1" },
+ { id: "release", name: "Release", color: "red", taskId: null },
+ { id: "later-copy", name: "Release", color: "red", taskId: "task-2" },
+ ]),
+ ).toEqual([{ value: "release", label: "Release", color: "red" }]);
+ });
+
+ it("falls back to a task copy when no definition exists and sorts by name", () => {
+ expect(
+ getCalendarLabelOptions([
+ { id: "zeta", name: "Zeta", color: "gray", taskId: null },
+ { id: "alpha-copy", name: "Alpha", color: "teal", taskId: "task-1" },
+ ]),
+ ).toEqual([
+ { value: "alpha-copy", label: "Alpha", color: "teal" },
+ { value: "zeta", label: "Zeta", color: "gray" },
+ ]);
+ });
+});
diff --git a/apps/web/src/components/project/calendar-feeds/get-calendar-label-options.ts b/apps/web/src/components/project/calendar-feeds/get-calendar-label-options.ts
new file mode 100644
index 000000000..9caa4b1c7
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/get-calendar-label-options.ts
@@ -0,0 +1,31 @@
+type LabelSource = {
+ id: string;
+ name: string;
+ color: string;
+ taskId: string | null;
+};
+
+export type CalendarLabelOption = {
+ value: string;
+ label: string;
+ color: string;
+};
+
+export function getCalendarLabelOptions(
+ labels: LabelSource[],
+): CalendarLabelOption[] {
+ const byName = new Map<string, LabelSource>();
+ for (const label of labels) {
+ if (!byName.has(label.name) || label.taskId === null) {
+ byName.set(label.name, label);
+ }
+ }
+
+ return [...byName.values()]
+ .map((label) => ({
+ value: label.id,
+ label: label.name,
+ color: label.color,
+ }))
+ .sort((a, b) => a.label.localeCompare(b.label));
+}
diff --git a/apps/web/src/components/project/calendar-feeds/new-calendar-feed-dialog.tsx b/apps/web/src/components/project/calendar-feeds/new-calendar-feed-dialog.tsx
new file mode 100644
index 000000000..196fe5e78
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/new-calendar-feed-dialog.tsx
@@ -0,0 +1,28 @@
+import { NewCalendarFeedForm } from "@/components/project/calendar-feeds/new-calendar-feed-form";
+import { Dialog, DialogPopup } from "@/components/ui/dialog";
+
+type NewCalendarFeedDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ projectId: string;
+ workspaceId: string;
+};
+
+export function NewCalendarFeedDialog({
+ open,
+ onOpenChange,
+ projectId,
+ workspaceId,
+}: NewCalendarFeedDialogProps) {
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ <DialogPopup className="sm:max-w-md">
+ <NewCalendarFeedForm
+ projectId={projectId}
+ workspaceId={workspaceId}
+ onClose={() => onOpenChange(false)}
+ />
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/project/calendar-feeds/new-calendar-feed-form.tsx b/apps/web/src/components/project/calendar-feeds/new-calendar-feed-form.tsx
new file mode 100644
index 000000000..612a8b5ab
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/new-calendar-feed-form.tsx
@@ -0,0 +1,125 @@
+import { useMutation, useQueryClient } from "@tanstack/react-query";
+import { LockIcon } from "lucide-react";
+import { useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { CalendarFeedLabelPicker } from "@/components/project/calendar-feeds/calendar-feed-label-picker";
+import {
+ type CalendarLabelOption,
+ getCalendarLabelOptions,
+} from "@/components/project/calendar-feeds/get-calendar-label-options";
+import { calendarFeedsQueryKey } from "@/components/project/calendar-feeds/use-calendar-feeds";
+import { Button } from "@/components/ui/button";
+import {
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { Label } from "@/components/ui/label";
+import { createCalendarFeed } from "@/fetchers/calendar-feed";
+import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";
+import { toast } from "@/lib/toast";
+
+const MAX_FEED_LABELS = 100;
+
+type NewCalendarFeedFormProps = {
+ projectId: string;
+ workspaceId: string;
+ onClose: () => void;
+};
+
+export function NewCalendarFeedForm({
+ projectId,
+ workspaceId,
+ onClose,
+}: NewCalendarFeedFormProps) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const labelsQuery = useGetLabelsByWorkspace(workspaceId);
+ const options = getCalendarLabelOptions(labelsQuery.data ?? []);
+ const [selected, setSelected] = useState<CalendarLabelOption[]>([]);
+ const pickerId = useId();
+ const hintId = useId();
+ const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
+
+ const create = useMutation({
+ mutationFn: () =>
+ createCalendarFeed(
+ projectId,
+ selected.map((label) => label.value),
+ timeZone,
+ ),
+ onSuccess: async () => {
+ setSelected([]);
+ await queryClient.invalidateQueries({
+ queryKey: ["labels", workspaceId],
+ });
+ await queryClient.invalidateQueries({
+ queryKey: calendarFeedsQueryKey(projectId),
+ });
+ toast.success(t("settings:calendarFeeds.created"));
+ onClose();
+ },
+ onError: () => toast.error(t("settings:calendarFeeds.createError")),
+ });
+
+ const createDisabled =
+ selected.length > MAX_FEED_LABELS ||
+ create.isPending ||
+ (selected.length > 0 && labelsQuery.isError);
+
+ return (
+ <>
+ <DialogHeader>
+ <DialogTitle>{t("settings:calendarFeeds.dialogTitle")}</DialogTitle>
+ <DialogDescription>
+ {t("settings:calendarFeeds.dialogDescription")}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel className="space-y-5">
+ <div className="space-y-2">
+ <Label htmlFor={pickerId}>{t("settings:calendarFeeds.labels")}</Label>
+ <CalendarFeedLabelPicker
+ id={pickerId}
+ describedBy={hintId}
+ options={options}
+ value={selected}
+ onValueChange={setSelected}
+ disabled={
+ create.isPending || labelsQuery.isLoading || labelsQuery.isError
+ }
+ />
+ {labelsQuery.isError ? (
+ <p role="alert" className="text-destructive-foreground text-xs">
+ {t("settings:calendarFeeds.loadError")}
+ </p>
+ ) : null}
+ <p id={hintId} className="text-muted-foreground text-xs">
+ {t("settings:calendarFeeds.labelsHint")}
+ </p>
+ </div>
+ <div className="flex items-start gap-2.5 rounded-lg border border-border px-3.5 py-3 text-muted-foreground text-xs">
+ <LockIcon aria-hidden="true" className="mt-px size-3.5 shrink-0" />
+ <span>{t("settings:calendarFeeds.accessHint")}</span>
+ </div>
+ </DialogPanel>
+ <DialogFooter>
+ <Button type="button" variant="outline" onClick={onClose}>
+ {t("common:actions.cancel")}
+ </Button>
+ <Button
+ type="button"
+ disabled={createDisabled}
+ onClick={() => create.mutate()}
+ >
+ {t(
+ create.isPending
+ ? "settings:calendarFeeds.creating"
+ : "settings:calendarFeeds.create",
+ )}
+ </Button>
+ </DialogFooter>
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/calendar-feeds/resolve-feed-labels.test.ts b/apps/web/src/components/project/calendar-feeds/resolve-feed-labels.test.ts
new file mode 100644
index 000000000..73c39fcb8
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/resolve-feed-labels.test.ts
@@ -0,0 +1,20 @@
+import { describe, expect, it } from "vite-plus/test";
+import { resolveFeedLabels } from "./resolve-feed-labels";
+
+describe("resolveFeedLabels", () => {
+ it("keeps feed order and marks labels that no longer exist", () => {
+ expect(
+ resolveFeedLabels(
+ ["design", "gone", "bug"],
+ [
+ { id: "bug", name: "Bug", color: "red" },
+ { id: "design", name: "Design", color: "purple" },
+ ],
+ ),
+ ).toEqual([
+ { id: "design", name: "Design", color: "purple" },
+ { id: "gone", name: null, color: "" },
+ { id: "bug", name: "Bug", color: "red" },
+ ]);
+ });
+});
diff --git a/apps/web/src/components/project/calendar-feeds/resolve-feed-labels.ts b/apps/web/src/components/project/calendar-feeds/resolve-feed-labels.ts
new file mode 100644
index 000000000..a8de8fe85
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/resolve-feed-labels.ts
@@ -0,0 +1,23 @@
+type LabelSource = {
+ id: string;
+ name: string;
+ color: string;
+};
+
+export type FeedLabel = {
+ id: string;
+ name: string | null;
+ color: string;
+};
+
+export function resolveFeedLabels(
+ labelIds: string[],
+ labels: LabelSource[],
+): FeedLabel[] {
+ return labelIds.map((id) => {
+ const label = labels.find((candidate) => candidate.id === id);
+ return label
+ ? { id, name: label.name, color: label.color }
+ : { id, name: null, color: "" };
+ });
+}
diff --git a/apps/web/src/components/project/calendar-feeds/revoke-calendar-feed-dialog.tsx b/apps/web/src/components/project/calendar-feeds/revoke-calendar-feed-dialog.tsx
new file mode 100644
index 000000000..f52a763c6
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/revoke-calendar-feed-dialog.tsx
@@ -0,0 +1,51 @@
+import { useMutation, useQueryClient } from "@tanstack/react-query";
+import { useTranslation } from "react-i18next";
+import { calendarFeedsQueryKey } from "@/components/project/calendar-feeds/use-calendar-feeds";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { revokeCalendarFeed } from "@/fetchers/calendar-feed";
+import { toast } from "@/lib/toast";
+
+type RevokeCalendarFeedDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ projectId: string;
+ feedId: string | null;
+};
+
+export function RevokeCalendarFeedDialog({
+ open,
+ onOpenChange,
+ projectId,
+ feedId,
+}: RevokeCalendarFeedDialogProps) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const revoke = useMutation({
+ mutationFn: (id: string) => revokeCalendarFeed(projectId, id),
+ onSuccess: async () => {
+ await queryClient.invalidateQueries({
+ queryKey: calendarFeedsQueryKey(projectId),
+ });
+ toast.success(t("settings:calendarFeeds.revoked"));
+ onOpenChange(false);
+ },
+ onError: () => toast.error(t("settings:calendarFeeds.revokeError")),
+ });
+
+ return (
+ <ConfirmDialog
+ open={open}
+ onOpenChange={(next) => {
+ if (next || !revoke.isPending) onOpenChange(next);
+ }}
+ title={t("settings:calendarFeeds.revokeConfirmTitle")}
+ description={t("settings:calendarFeeds.revokeConfirmDescription")}
+ confirmLabel={t("settings:calendarFeeds.revokeConfirm")}
+ pendingLabel={t("settings:calendarFeeds.revoking")}
+ pending={revoke.isPending}
+ onConfirm={() => {
+ if (feedId) revoke.mutate(feedId);
+ }}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/calendar-feeds/use-calendar-feeds.ts b/apps/web/src/components/project/calendar-feeds/use-calendar-feeds.ts
new file mode 100644
index 000000000..7171978e4
--- /dev/null
+++ b/apps/web/src/components/project/calendar-feeds/use-calendar-feeds.ts
@@ -0,0 +1,14 @@
+import { useQuery } from "@tanstack/react-query";
+import { getCalendarFeeds } from "@/fetchers/calendar-feed";
+
+export function calendarFeedsQueryKey(projectId: string) {
+ return ["calendar-feeds", projectId];
+}
+
+export function useCalendarFeeds(projectId: string, enabled: boolean) {
+ return useQuery({
+ queryKey: calendarFeedsQueryKey(projectId),
+ queryFn: () => getCalendarFeeds(projectId),
+ enabled,
+ });
+}
diff --git a/apps/web/src/components/project/code-hosting/access-status-line.tsx b/apps/web/src/components/project/code-hosting/access-status-line.tsx
new file mode 100644
index 000000000..1701071bb
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/access-status-line.tsx
@@ -0,0 +1,38 @@
+import { CheckingLine } from "@/components/project/code-hosting/checking-line";
+import {
+ type AccessVerificationResult,
+ accessVerificationTone,
+} from "@/components/project/code-hosting/access-verification-tone";
+import { StatusDotLine } from "@/components/project/code-hosting/status-dot-line";
+
+type AccessStatusLineProps = {
+ checking: boolean;
+ result: AccessVerificationResult | undefined;
+ error: unknown;
+ fallbackError: string;
+};
+
+export function AccessStatusLine({
+ checking,
+ result,
+ error,
+ fallbackError,
+}: AccessStatusLineProps) {
+ if (checking) return <CheckingLine />;
+ if (error) {
+ return (
+ <StatusDotLine tone="destructive">
+ {error instanceof Error && error.message
+ ? error.message
+ : fallbackError}
+ </StatusDotLine>
+ );
+ }
+ if (!result) return null;
+
+ return (
+ <StatusDotLine tone={accessVerificationTone(result)}>
+ {result.message}
+ </StatusDotLine>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/access-verification-line.tsx b/apps/web/src/components/project/code-hosting/access-verification-line.tsx
new file mode 100644
index 000000000..0478c835e
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/access-verification-line.tsx
@@ -0,0 +1,38 @@
+import { CheckingLine } from "@/components/project/code-hosting/checking-line";
+import {
+ type AccessVerificationResult,
+ accessVerificationTone,
+} from "@/components/project/code-hosting/access-verification-tone";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+
+type AccessVerificationLineProps = {
+ checking: boolean;
+ result: AccessVerificationResult | undefined;
+ error: unknown;
+ fallbackError: string;
+};
+
+export function AccessVerificationLine({
+ checking,
+ result,
+ error,
+ fallbackError,
+}: AccessVerificationLineProps) {
+ if (checking) return <CheckingLine />;
+ if (error) {
+ return (
+ <IntegrationCheckLine tone="destructive">
+ {error instanceof Error && error.message
+ ? error.message
+ : fallbackError}
+ </IntegrationCheckLine>
+ );
+ }
+ if (!result) return null;
+
+ return (
+ <IntegrationCheckLine tone={accessVerificationTone(result)}>
+ {result.message}
+ </IntegrationCheckLine>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/access-verification-tone.test.ts b/apps/web/src/components/project/code-hosting/access-verification-tone.test.ts
new file mode 100644
index 000000000..92425c5ca
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/access-verification-tone.test.ts
@@ -0,0 +1,52 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ accessVerificationTone,
+ isAccessVerified,
+} from "./access-verification-tone";
+
+const base = { message: "Message", failureReason: null };
+
+describe("access verification", () => {
+ it("is verified only with access and the required permissions", () => {
+ expect(
+ isAccessVerified({
+ ...base,
+ isInstalled: true,
+ hasRequiredPermissions: true,
+ }),
+ ).toBe(true);
+ expect(
+ isAccessVerified({
+ ...base,
+ isInstalled: true,
+ hasRequiredPermissions: false,
+ }),
+ ).toBe(false);
+ expect(isAccessVerified(undefined)).toBe(false);
+ });
+
+ it("maps results to a tone", () => {
+ expect(
+ accessVerificationTone({
+ ...base,
+ isInstalled: true,
+ hasRequiredPermissions: true,
+ }),
+ ).toBe("success");
+ expect(
+ accessVerificationTone({
+ ...base,
+ isInstalled: false,
+ hasRequiredPermissions: false,
+ failureReason: "repository_not_found",
+ }),
+ ).toBe("destructive");
+ expect(
+ accessVerificationTone({
+ ...base,
+ isInstalled: true,
+ hasRequiredPermissions: false,
+ }),
+ ).toBe("warning");
+ });
+});
diff --git a/apps/web/src/components/project/code-hosting/access-verification-tone.ts b/apps/web/src/components/project/code-hosting/access-verification-tone.ts
new file mode 100644
index 000000000..ce5d7acf3
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/access-verification-tone.ts
@@ -0,0 +1,15 @@
+export type AccessVerificationResult = {
+ isInstalled: boolean;
+ hasRequiredPermissions: boolean;
+ failureReason?: string | null;
+ message: string;
+};
+
+export function isAccessVerified(result: AccessVerificationResult | undefined) {
+ return Boolean(result?.isInstalled && result.hasRequiredPermissions);
+}
+
+export function accessVerificationTone(result: AccessVerificationResult) {
+ if (isAccessVerified(result)) return "success" as const;
+ return result.failureReason ? ("destructive" as const) : ("warning" as const);
+}
diff --git a/apps/web/src/components/project/code-hosting/change-token-form.tsx b/apps/web/src/components/project/code-hosting/change-token-form.tsx
new file mode 100644
index 000000000..a089dd4e7
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/change-token-form.tsx
@@ -0,0 +1,84 @@
+import { type ReactNode, useId } from "react";
+import { useTranslation } from "react-i18next";
+import { AccessVerificationLine } from "@/components/project/code-hosting/access-verification-line";
+import type { AccessVerificationResult } from "@/components/project/code-hosting/access-verification-tone";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+
+type ChangeTokenFormProps = {
+ token: string;
+ tokenLabel: string;
+ placeholder: string;
+ fallbackError: string;
+ extra?: ReactNode;
+ verification: {
+ checking: boolean;
+ result: AccessVerificationResult | undefined;
+ error: unknown;
+ };
+ saving: boolean;
+ canSave: boolean;
+ onTokenChange: (token: string) => void;
+ onSave: () => void;
+ onCancel: () => void;
+};
+
+export function ChangeTokenForm({
+ token,
+ tokenLabel,
+ placeholder,
+ fallbackError,
+ extra,
+ verification,
+ saving,
+ canSave,
+ onTokenChange,
+ onSave,
+ onCancel,
+}: ChangeTokenFormProps) {
+ const { t } = useTranslation();
+ const id = useId();
+
+ return (
+ <div className="space-y-2">
+ {extra}
+ <div className="flex flex-col gap-2 sm:flex-row">
+ <Input
+ id={id}
+ type="password"
+ autoComplete="off"
+ aria-label={tokenLabel}
+ placeholder={placeholder}
+ value={token}
+ disabled={saving}
+ className="min-w-0 flex-1"
+ onChange={(event) => onTokenChange(event.target.value)}
+ />
+ <div className="flex gap-2">
+ <Button
+ type="button"
+ variant="outline"
+ disabled={saving}
+ onClick={onCancel}
+ >
+ {t("common:actions.cancel")}
+ </Button>
+ <Button
+ type="button"
+ loading={saving}
+ disabled={!canSave}
+ onClick={onSave}
+ >
+ {t("settings:codeHosting.saveToken")}
+ </Button>
+ </div>
+ </div>
+ {token.trim() ? (
+ <AccessVerificationLine
+ {...verification}
+ fallbackError={fallbackError}
+ />
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/checking-line.tsx b/apps/web/src/components/project/code-hosting/checking-line.tsx
new file mode 100644
index 000000000..a36258dc1
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/checking-line.tsx
@@ -0,0 +1,16 @@
+import { useTranslation } from "react-i18next";
+import { Spinner } from "@/components/ui/spinner";
+
+export function CheckingLine() {
+ const { t } = useTranslation();
+
+ return (
+ <p
+ role="status"
+ className="flex items-center gap-2 text-xs text-muted-foreground"
+ >
+ <Spinner aria-hidden="true" role="presentation" className="size-3.5" />
+ {t("settings:codeHosting.checking")}
+ </p>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/code-hosting-load-error.tsx b/apps/web/src/components/project/code-hosting/code-hosting-load-error.tsx
new file mode 100644
index 000000000..11738d8bb
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/code-hosting-load-error.tsx
@@ -0,0 +1,33 @@
+import { useTranslation } from "react-i18next";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Button } from "@/components/ui/button";
+
+type CodeHostingLoadErrorProps = {
+ error: unknown;
+ onRetry: () => void;
+};
+
+export function CodeHostingLoadError({
+ error,
+ onRetry,
+}: CodeHostingLoadErrorProps) {
+ const { t } = useTranslation();
+
+ return (
+ <IntegrationPanelSection>
+ <IntegrationCheckLine
+ tone="destructive"
+ action={
+ <Button type="button" variant="outline" size="sm" onClick={onRetry}>
+ {t("settings:codeHosting.retry")}
+ </Button>
+ }
+ >
+ {error instanceof Error && error.message
+ ? error.message
+ : t("settings:codeHosting.loadError")}
+ </IntegrationCheckLine>
+ </IntegrationPanelSection>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/code-hosting-panel-skeleton.tsx b/apps/web/src/components/project/code-hosting/code-hosting-panel-skeleton.tsx
new file mode 100644
index 000000000..51c23b5ac
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/code-hosting-panel-skeleton.tsx
@@ -0,0 +1,18 @@
+import { useTranslation } from "react-i18next";
+import { Skeleton } from "@/components/ui/skeleton";
+
+export function CodeHostingPanelSkeleton() {
+ const { t } = useTranslation();
+
+ return (
+ <div
+ role="status"
+ aria-label={t("common:empty.loading")}
+ className="space-y-3 p-4"
+ >
+ <Skeleton className="h-4 w-40" />
+ <Skeleton className="h-3 w-64 max-w-full" />
+ <Skeleton className="h-8 w-full" />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/comment-link-row.tsx b/apps/web/src/components/project/code-hosting/comment-link-row.tsx
new file mode 100644
index 000000000..300e2513d
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/comment-link-row.tsx
@@ -0,0 +1,36 @@
+import { useId } from "react";
+import { IntegrationPanelRow } from "@/components/project/integrations/panel/integration-panel-row";
+import { Switch } from "@/components/ui/switch";
+
+type CommentLinkRowProps = {
+ title: string;
+ description: string;
+ checked: boolean;
+ disabled: boolean;
+ onCheckedChange: (checked: boolean) => void;
+};
+
+export function CommentLinkRow({
+ title,
+ description,
+ checked,
+ disabled,
+ onCheckedChange,
+}: CommentLinkRowProps) {
+ const id = useId();
+
+ return (
+ <IntegrationPanelRow
+ title={<span id={`${id}-title`}>{title}</span>}
+ description={<span id={`${id}-description`}>{description}</span>}
+ >
+ <Switch
+ aria-labelledby={`${id}-title`}
+ aria-describedby={`${id}-description`}
+ checked={checked}
+ disabled={disabled}
+ onCheckedChange={onCheckedChange}
+ />
+ </IntegrationPanelRow>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/copy-value-button.tsx b/apps/web/src/components/project/code-hosting/copy-value-button.tsx
new file mode 100644
index 000000000..778340c9b
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/copy-value-button.tsx
@@ -0,0 +1,38 @@
+import { CopyIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import { toast } from "@/lib/toast";
+
+type CopyValueButtonProps = {
+ value: string;
+ label: string;
+};
+
+export function CopyValueButton({ value, label }: CopyValueButtonProps) {
+ const { t } = useTranslation();
+
+ const copy = async () => {
+ try {
+ await navigator.clipboard.writeText(value);
+ toast.success(t("settings:codeHosting.copied"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error && error.message
+ ? error.message
+ : t("settings:codeHosting.copyFailed"),
+ );
+ }
+ };
+
+ return (
+ <Button
+ type="button"
+ variant="outline"
+ size="icon"
+ aria-label={label}
+ onClick={copy}
+ >
+ <CopyIcon aria-hidden="true" className="size-3.5" />
+ </Button>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/disconnect-integration-button.tsx b/apps/web/src/components/project/code-hosting/disconnect-integration-button.tsx
new file mode 100644
index 000000000..68dadaa43
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/disconnect-integration-button.tsx
@@ -0,0 +1,49 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { Button } from "@/components/ui/button";
+
+type DisconnectIntegrationButtonProps = {
+ provider: string;
+ target: string;
+ pending: boolean;
+ onConfirm: () => Promise<boolean>;
+};
+
+export function DisconnectIntegrationButton({
+ provider,
+ target,
+ pending,
+ onConfirm,
+}: DisconnectIntegrationButtonProps) {
+ const { t } = useTranslation();
+ const [open, setOpen] = useState(false);
+
+ return (
+ <>
+ <Button
+ type="button"
+ variant="destructive-outline"
+ size="sm"
+ disabled={pending}
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:codeHosting.disconnect")}
+ </Button>
+ <ConfirmDialog
+ open={open}
+ onOpenChange={setOpen}
+ title={t("settings:codeHosting.disconnectTitle", { provider })}
+ description={t("settings:codeHosting.disconnectDescription", {
+ target,
+ })}
+ confirmLabel={t("settings:codeHosting.disconnect")}
+ pendingLabel={t("settings:codeHosting.disconnecting")}
+ pending={pending}
+ onConfirm={async () => {
+ if (await onConfirm()) setOpen(false);
+ }}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/import-issues-section.tsx b/apps/web/src/components/project/code-hosting/import-issues-section.tsx
new file mode 100644
index 000000000..53919627c
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/import-issues-section.tsx
@@ -0,0 +1,45 @@
+import type { ReactNode } from "react";
+import { useTranslation } from "react-i18next";
+import { IntegrationPanelRow } from "@/components/project/integrations/panel/integration-panel-row";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Button } from "@/components/ui/button";
+
+type ImportIssuesSectionProps = {
+ description: ReactNode;
+ actionLabel: string;
+ pending: boolean;
+ disabled: boolean;
+ hint?: string | null;
+ onImport: () => void;
+};
+
+export function ImportIssuesSection({
+ description,
+ actionLabel,
+ pending,
+ disabled,
+ hint,
+ onImport,
+}: ImportIssuesSectionProps) {
+ const { t } = useTranslation();
+
+ return (
+ <IntegrationPanelSection label={t("settings:codeHosting.issuesSection")}>
+ <IntegrationPanelRow
+ title={t("settings:codeHosting.importTitle")}
+ description={description}
+ >
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={onImport}
+ disabled={pending || disabled}
+ >
+ {pending ? t("settings:codeHosting.importing") : actionLabel}
+ </Button>
+ </IntegrationPanelRow>
+ {hint ? <p className="text-xs text-muted-foreground">{hint}</p> : null}
+ </IntegrationPanelSection>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/is-valid-url.test.ts b/apps/web/src/components/project/code-hosting/is-valid-url.test.ts
new file mode 100644
index 000000000..97a0d2f03
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/is-valid-url.test.ts
@@ -0,0 +1,10 @@
+import { describe, expect, it } from "vite-plus/test";
+import { isValidUrl } from "./is-valid-url";
+
+describe("isValidUrl", () => {
+ it("accepts absolute URLs and rejects anything else", () => {
+ expect(isValidUrl(" https://gitea.example.com ")).toBe(true);
+ expect(isValidUrl("gitea.example.com")).toBe(false);
+ expect(isValidUrl("")).toBe(false);
+ });
+});
diff --git a/apps/web/src/components/project/code-hosting/is-valid-url.ts b/apps/web/src/components/project/code-hosting/is-valid-url.ts
new file mode 100644
index 000000000..29b8a9252
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/is-valid-url.ts
@@ -0,0 +1,8 @@
+export function isValidUrl(value: string) {
+ try {
+ new URL(value.trim());
+ return true;
+ } catch {
+ return false;
+ }
+}
diff --git a/apps/web/src/components/project/code-hosting/parse-repository-path.test.ts b/apps/web/src/components/project/code-hosting/parse-repository-path.test.ts
new file mode 100644
index 000000000..d77529633
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/parse-repository-path.test.ts
@@ -0,0 +1,42 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ formatRepositoryPath,
+ GITEA_OWNER_PATTERN,
+ GITHUB_OWNER_PATTERN,
+ parseRepositoryPath,
+} from "./parse-repository-path";
+
+describe("parseRepositoryPath", () => {
+ it("splits owner and name and ignores surrounding space and slashes", () => {
+ expect(
+ parseRepositoryPath(" /acme/web.site/ ", GITHUB_OWNER_PATTERN),
+ ).toEqual({ owner: "acme", name: "web.site" });
+ });
+
+ it.each([
+ "",
+ "acme",
+ "acme/",
+ "/web",
+ "acme/web/extra",
+ "ac me/web",
+ "acme/we b",
+ ])("rejects %j", (value) => {
+ expect(parseRepositoryPath(value, GITHUB_OWNER_PATTERN)).toBeNull();
+ });
+
+ it("applies the provider's owner rules", () => {
+ expect(parseRepositoryPath("my_org/web", GITHUB_OWNER_PATTERN)).toBeNull();
+ expect(parseRepositoryPath("my_org/web", GITEA_OWNER_PATTERN)).toEqual({
+ owner: "my_org",
+ name: "web",
+ });
+ });
+});
+
+describe("formatRepositoryPath", () => {
+ it("joins both parts or returns an empty string", () => {
+ expect(formatRepositoryPath("acme", "web")).toBe("acme/web");
+ expect(formatRepositoryPath("", "web")).toBe("");
+ });
+});
diff --git a/apps/web/src/components/project/code-hosting/parse-repository-path.ts b/apps/web/src/components/project/code-hosting/parse-repository-path.ts
new file mode 100644
index 000000000..e30252550
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/parse-repository-path.ts
@@ -0,0 +1,26 @@
+export const GITHUB_OWNER_PATTERN = /^[a-zA-Z0-9-]+$/;
+export const GITEA_OWNER_PATTERN = /^[a-zA-Z0-9_.-]+$/;
+const NAME_PATTERN = /^[a-zA-Z0-9._-]+$/;
+
+export type RepositoryPath = {
+ owner: string;
+ name: string;
+};
+
+export function parseRepositoryPath(
+ value: string,
+ ownerPattern: RegExp,
+): RepositoryPath | null {
+ const parts = value
+ .trim()
+ .replace(/^\/+|\/+$/g, "")
+ .split("/");
+ if (parts.length !== 2) return null;
+ const [owner = "", name = ""] = parts;
+ if (!ownerPattern.test(owner) || !NAME_PATTERN.test(name)) return null;
+ return { owner, name };
+}
+
+export function formatRepositoryPath(owner: string, name: string) {
+ return owner && name ? `${owner}/${name}` : "";
+}
diff --git a/apps/web/src/components/project/code-hosting/picker/filter-by-name.test.ts b/apps/web/src/components/project/code-hosting/picker/filter-by-name.test.ts
new file mode 100644
index 000000000..1bc44e79f
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/picker/filter-by-name.test.ts
@@ -0,0 +1,13 @@
+import { describe, expect, it } from "vite-plus/test";
+import { filterByName } from "./filter-by-name";
+
+describe("filterByName", () => {
+ const items = [{ name: "acme/Website" }, { name: "acme/api" }];
+
+ it("matches case-insensitively and returns everything for a blank term", () => {
+ expect(filterByName(items, " WEB ", (item) => item.name)).toEqual([
+ { name: "acme/Website" },
+ ]);
+ expect(filterByName(items, " ", (item) => item.name)).toBe(items);
+ });
+});
diff --git a/apps/web/src/components/project/code-hosting/picker/filter-by-name.ts b/apps/web/src/components/project/code-hosting/picker/filter-by-name.ts
new file mode 100644
index 000000000..b4667fdd5
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/picker/filter-by-name.ts
@@ -0,0 +1,9 @@
+export function filterByName<Item>(
+ items: Item[],
+ term: string,
+ name: (item: Item) => string,
+) {
+ const needle = term.trim().toLowerCase();
+ if (!needle) return items;
+ return items.filter((item) => name(item).toLowerCase().includes(needle));
+}
diff --git a/apps/web/src/components/project/code-hosting/picker/repository-picker-dialog.tsx b/apps/web/src/components/project/code-hosting/picker/repository-picker-dialog.tsx
new file mode 100644
index 000000000..14bb96ffd
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/picker/repository-picker-dialog.tsx
@@ -0,0 +1,72 @@
+import type { ReactNode } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+
+type RepositoryPickerDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ title: string;
+ description: string;
+ search: ReactNode;
+ footerStart?: ReactNode;
+ confirmLabel: string;
+ confirmDisabled: boolean;
+ onConfirm: () => void;
+ children: ReactNode;
+};
+
+export function RepositoryPickerDialog({
+ open,
+ onOpenChange,
+ title,
+ description,
+ search,
+ footerStart,
+ confirmLabel,
+ confirmDisabled,
+ onConfirm,
+ children,
+}: RepositoryPickerDialogProps) {
+ const { t } = useTranslation();
+
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ <DialogPopup className="sm:max-w-xl">
+ <DialogHeader>
+ <DialogTitle className="text-lg">{title}</DialogTitle>
+ <DialogDescription>{description}</DialogDescription>
+ <div className="pt-2">{search}</div>
+ </DialogHeader>
+ <DialogPanel className="min-h-64 px-3 sm:px-3">{children}</DialogPanel>
+ <DialogFooter className="items-center sm:justify-between">
+ <div className="text-xs text-muted-foreground">{footerStart}</div>
+ <div className="flex flex-col-reverse gap-2 sm:flex-row">
+ <Button
+ type="button"
+ variant="outline"
+ onClick={() => onOpenChange(false)}
+ >
+ {t("common:actions.cancel")}
+ </Button>
+ <Button
+ type="button"
+ disabled={confirmDisabled}
+ onClick={onConfirm}
+ >
+ {confirmLabel}
+ </Button>
+ </div>
+ </DialogFooter>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/picker/repository-picker-message.tsx b/apps/web/src/components/project/code-hosting/picker/repository-picker-message.tsx
new file mode 100644
index 000000000..a96534a23
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/picker/repository-picker-message.tsx
@@ -0,0 +1,38 @@
+import type { ReactNode } from "react";
+
+type RepositoryPickerMessageProps = {
+ title: ReactNode;
+ description?: ReactNode;
+ action?: ReactNode;
+ tone?: "default" | "destructive";
+};
+
+export function RepositoryPickerMessage({
+ title,
+ description,
+ action,
+ tone = "default",
+}: RepositoryPickerMessageProps) {
+ return (
+ <div
+ role={tone === "destructive" ? "alert" : undefined}
+ className="flex flex-col items-center gap-3 px-6 py-10 text-center"
+ >
+ <div className="space-y-1">
+ <p
+ className={
+ tone === "destructive"
+ ? "text-sm font-medium text-destructive-foreground"
+ : "text-sm font-medium"
+ }
+ >
+ {title}
+ </p>
+ {description ? (
+ <p className="text-xs text-muted-foreground">{description}</p>
+ ) : null}
+ </div>
+ {action}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/picker/repository-picker-row.tsx b/apps/web/src/components/project/code-hosting/picker/repository-picker-row.tsx
new file mode 100644
index 000000000..cfdf8fc99
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/picker/repository-picker-row.tsx
@@ -0,0 +1,54 @@
+import { CheckIcon, GlobeIcon, LockIcon } from "lucide-react";
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type RepositoryPickerRowProps = {
+ name: string;
+ isPrivate: boolean;
+ meta?: ReactNode;
+ selected: boolean;
+ onSelect: () => void;
+ onConfirm: () => void;
+};
+
+export function RepositoryPickerRow({
+ name,
+ isPrivate,
+ meta,
+ selected,
+ onSelect,
+ onConfirm,
+}: RepositoryPickerRowProps) {
+ const Icon = isPrivate ? LockIcon : GlobeIcon;
+
+ return (
+ <li>
+ <button
+ type="button"
+ aria-pressed={selected}
+ onClick={onSelect}
+ onDoubleClick={onConfirm}
+ className={cn(
+ "flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left outline-none transition-colors hover:bg-accent/60 focus-visible:ring-2 focus-visible:ring-ring",
+ selected && "bg-accent",
+ )}
+ >
+ <Icon
+ aria-hidden="true"
+ className="size-3.5 shrink-0 text-muted-foreground"
+ />
+ <span className="min-w-0 flex-1 space-y-0.5">
+ <span className="block truncate font-mono text-[13px]">{name}</span>
+ {meta ? (
+ <span className="block truncate text-xs text-muted-foreground">
+ {meta}
+ </span>
+ ) : null}
+ </span>
+ {selected ? (
+ <CheckIcon aria-hidden="true" className="size-4 shrink-0" />
+ ) : null}
+ </button>
+ </li>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/picker/repository-picker-search.tsx b/apps/web/src/components/project/code-hosting/picker/repository-picker-search.tsx
new file mode 100644
index 000000000..ad29358f4
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/picker/repository-picker-search.tsx
@@ -0,0 +1,35 @@
+import { SearchIcon } from "lucide-react";
+import {
+ InputGroup,
+ InputGroupAddon,
+ InputGroupInput,
+} from "@/components/ui/input-group";
+
+type RepositoryPickerSearchProps = {
+ value: string;
+ placeholder: string;
+ onChange: (value: string) => void;
+};
+
+export function RepositoryPickerSearch({
+ value,
+ placeholder,
+ onChange,
+}: RepositoryPickerSearchProps) {
+ return (
+ <InputGroup>
+ <InputGroupAddon>
+ <SearchIcon aria-hidden="true" />
+ </InputGroupAddon>
+ <InputGroupInput
+ type="search"
+ aria-label={placeholder}
+ placeholder={placeholder}
+ value={value}
+ maxLength={100}
+ autoComplete="off"
+ onChange={(event) => onChange(event.target.value)}
+ />
+ </InputGroup>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/picker/repository-picker-skeleton.tsx b/apps/web/src/components/project/code-hosting/picker/repository-picker-skeleton.tsx
new file mode 100644
index 000000000..df2fdea14
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/picker/repository-picker-skeleton.tsx
@@ -0,0 +1,26 @@
+import { useTranslation } from "react-i18next";
+import { Skeleton } from "@/components/ui/skeleton";
+
+const ROWS = ["first", "second", "third", "fourth"];
+
+export function RepositoryPickerSkeleton() {
+ const { t } = useTranslation();
+
+ return (
+ <ul
+ role="status"
+ aria-label={t("common:empty.loading")}
+ className="space-y-1"
+ >
+ {ROWS.map((row) => (
+ <li key={row} className="flex items-center gap-3 px-3 py-2">
+ <Skeleton className="size-3.5 rounded-full" />
+ <div className="flex-1 space-y-1.5">
+ <Skeleton className="h-3.5 w-48 max-w-full" />
+ <Skeleton className="h-3 w-32 max-w-full" />
+ </div>
+ </li>
+ ))}
+ </ul>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/repository-choice-step.tsx b/apps/web/src/components/project/code-hosting/repository-choice-step.tsx
new file mode 100644
index 000000000..8bad6d9d5
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/repository-choice-step.tsx
@@ -0,0 +1,59 @@
+import { type ReactNode, useId } from "react";
+import { RepositoryPathInput } from "@/components/project/code-hosting/repository-path-input";
+import { IntegrationStep } from "@/components/project/integrations/panel/integration-step";
+
+type RepositoryChoiceStepProps = {
+ title: string;
+ description: string;
+ inputLabel: string;
+ placeholder: string;
+ value: string;
+ invalidMessage: string | null;
+ disabled: boolean;
+ browseDisabled: boolean;
+ status: ReactNode;
+ onChange: (value: string) => void;
+ onBlur: () => void;
+ onBrowse: () => void;
+};
+
+export function RepositoryChoiceStep({
+ title,
+ description,
+ inputLabel,
+ placeholder,
+ value,
+ invalidMessage,
+ disabled,
+ browseDisabled,
+ status,
+ onChange,
+ onBlur,
+ onBrowse,
+}: RepositoryChoiceStepProps) {
+ const id = useId();
+
+ return (
+ <IntegrationStep number={2} last title={title} description={description}>
+ <RepositoryPathInput
+ id={id}
+ label={inputLabel}
+ value={value}
+ placeholder={placeholder}
+ invalid={invalidMessage !== null}
+ disabled={disabled}
+ browseDisabled={browseDisabled}
+ onChange={onChange}
+ onBlur={onBlur}
+ onBrowse={onBrowse}
+ />
+ {invalidMessage ? (
+ <p id={`${id}-error`} className="text-xs text-destructive-foreground">
+ {invalidMessage}
+ </p>
+ ) : (
+ status
+ )}
+ </IntegrationStep>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/repository-link.tsx b/apps/web/src/components/project/code-hosting/repository-link.tsx
new file mode 100644
index 000000000..f65f66640
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/repository-link.tsx
@@ -0,0 +1,29 @@
+import { ArrowUpRightIcon } from "lucide-react";
+
+type RepositoryLinkProps = {
+ name: string;
+ href: string | null;
+ label?: string;
+};
+
+export function RepositoryLink({ name, href, label }: RepositoryLinkProps) {
+ if (!href) {
+ return <span className="truncate font-mono text-[13px]">{name}</span>;
+ }
+
+ return (
+ <a
+ href={href}
+ target="_blank"
+ rel="noopener noreferrer"
+ aria-label={label}
+ className="inline-flex min-w-0 items-center gap-1.5 font-mono text-[13px] hover:underline"
+ >
+ <span className="truncate">{name}</span>
+ <ArrowUpRightIcon
+ aria-hidden="true"
+ className="size-3 shrink-0 text-muted-foreground"
+ />
+ </a>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/repository-path-input.tsx b/apps/web/src/components/project/code-hosting/repository-path-input.tsx
new file mode 100644
index 000000000..d7e889a8c
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/repository-path-input.tsx
@@ -0,0 +1,59 @@
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+
+type RepositoryPathInputProps = {
+ id: string;
+ label: string;
+ value: string;
+ placeholder: string;
+ invalid: boolean;
+ disabled?: boolean;
+ browseDisabled: boolean;
+ onChange: (value: string) => void;
+ onBlur: () => void;
+ onBrowse: () => void;
+};
+
+export function RepositoryPathInput({
+ id,
+ label,
+ value,
+ placeholder,
+ invalid,
+ disabled = false,
+ browseDisabled,
+ onChange,
+ onBlur,
+ onBrowse,
+}: RepositoryPathInputProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="flex gap-2">
+ <Input
+ id={id}
+ aria-label={label}
+ aria-invalid={invalid || undefined}
+ aria-describedby={invalid ? `${id}-error` : undefined}
+ value={value}
+ placeholder={placeholder}
+ autoComplete="off"
+ spellCheck={false}
+ disabled={disabled}
+ className="min-w-0 flex-1 font-mono text-xs sm:text-xs"
+ onChange={(event) => onChange(event.target.value)}
+ onBlur={onBlur}
+ />
+ <Button
+ type="button"
+ variant="outline"
+ className="w-24 shrink-0"
+ disabled={browseDisabled}
+ onClick={onBrowse}
+ >
+ {t("settings:codeHosting.browse")}
+ </Button>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/setup-field.tsx b/apps/web/src/components/project/code-hosting/setup-field.tsx
new file mode 100644
index 000000000..532f4c097
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/setup-field.tsx
@@ -0,0 +1,36 @@
+import type { ReactNode } from "react";
+import { Label } from "@/components/ui/label";
+import { cn } from "@/lib/cn";
+
+type SetupFieldProps = {
+ label: ReactNode;
+ htmlFor: string;
+ error?: string | null;
+ className?: string;
+ children: ReactNode;
+};
+
+export function SetupField({
+ label,
+ htmlFor,
+ error,
+ className,
+ children,
+}: SetupFieldProps) {
+ return (
+ <div className={cn("min-w-0 space-y-1.5", className)}>
+ <Label htmlFor={htmlFor} className="text-[13px] font-medium">
+ {label}
+ </Label>
+ {children}
+ {error ? (
+ <p
+ id={`${htmlFor}-error`}
+ className="text-xs text-destructive-foreground"
+ >
+ {error}
+ </p>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/status-dot-line.tsx b/apps/web/src/components/project/code-hosting/status-dot-line.tsx
new file mode 100644
index 000000000..8e5252e27
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/status-dot-line.tsx
@@ -0,0 +1,25 @@
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type StatusDotLineProps = {
+ tone: "success" | "warning" | "destructive";
+ children: ReactNode;
+};
+
+const dotClasses = {
+ success: "bg-success",
+ warning: "bg-warning",
+ destructive: "bg-destructive",
+};
+
+export function StatusDotLine({ tone, children }: StatusDotLineProps) {
+ return (
+ <span className="flex items-center gap-1.5 text-xs text-muted-foreground">
+ <span
+ aria-hidden="true"
+ className={cn("size-1.5 shrink-0 rounded-full", dotClasses[tone])}
+ />
+ <span className="min-w-0">{children}</span>
+ </span>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/stored-token-row.tsx b/apps/web/src/components/project/code-hosting/stored-token-row.tsx
new file mode 100644
index 000000000..28170f2ad
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/stored-token-row.tsx
@@ -0,0 +1,37 @@
+import { useTranslation } from "react-i18next";
+import { IntegrationPanelRow } from "@/components/project/integrations/panel/integration-panel-row";
+import { Button } from "@/components/ui/button";
+
+type StoredTokenRowProps = {
+ maskedToken: string | null | undefined;
+ editing: boolean;
+ onEdit: () => void;
+};
+
+export function StoredTokenRow({
+ maskedToken,
+ editing,
+ onEdit,
+}: StoredTokenRowProps) {
+ const { t } = useTranslation();
+
+ return (
+ <IntegrationPanelRow
+ title={t("settings:codeHosting.tokenTitle")}
+ description={
+ maskedToken ? (
+ <span>
+ {t("settings:codeHosting.tokenStored")}{" "}
+ <span className="font-mono">{maskedToken}</span>
+ </span>
+ ) : null
+ }
+ >
+ {editing ? null : (
+ <Button type="button" variant="outline" size="sm" onClick={onEdit}>
+ {t("settings:codeHosting.changeToken")}
+ </Button>
+ )}
+ </IntegrationPanelRow>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/use-debounced-check.test.tsx b/apps/web/src/components/project/code-hosting/use-debounced-check.test.tsx
new file mode 100644
index 000000000..4c67cf1ba
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/use-debounced-check.test.tsx
@@ -0,0 +1,52 @@
+import { act, renderHook } from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { useDebouncedCheck } from "./use-debounced-check";
+
+beforeEach(() => vi.useFakeTimers());
+afterEach(() => vi.useRealTimers());
+
+describe("useDebouncedCheck", () => {
+ it("runs once the key settles and reports the result for that key only", async () => {
+ const run = vi.fn(async () => "ok");
+ const { result, rerender } = renderHook(
+ ({ key }) => useDebouncedCheck(key, run, 300),
+ { initialProps: { key: "a" as string | null } },
+ );
+ expect(result.current.checking).toBe(true);
+ rerender({ key: "b" });
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(300);
+ });
+ expect(run).toHaveBeenCalledTimes(1);
+ expect(result.current).toMatchObject({ checking: false, result: "ok" });
+ rerender({ key: "c" });
+ expect(result.current).toMatchObject({ checking: true, result: undefined });
+ });
+
+ it("does nothing without a key and exposes errors", async () => {
+ const run = vi.fn(async () => {
+ throw new Error("Denied");
+ });
+ const { result, rerender } = renderHook(
+ ({ key }) => useDebouncedCheck(key, run, 300),
+ { initialProps: { key: null as string | null } },
+ );
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(300);
+ });
+ expect(run).not.toHaveBeenCalled();
+ expect(result.current.checking).toBe(false);
+ rerender({ key: "a" });
+ await act(async () => {
+ await vi.advanceTimersByTimeAsync(300);
+ });
+ expect(result.current.error).toEqual(new Error("Denied"));
+ });
+});
diff --git a/apps/web/src/components/project/code-hosting/use-debounced-check.ts b/apps/web/src/components/project/code-hosting/use-debounced-check.ts
new file mode 100644
index 000000000..9a65e0d55
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/use-debounced-check.ts
@@ -0,0 +1,50 @@
+import { useCallback, useEffect, useEffectEvent, useState } from "react";
+
+type CheckState<Result> = {
+ key: string;
+ result?: Result;
+ error?: unknown;
+};
+
+export function useDebouncedCheck<Result>(
+ key: string | null,
+ run: () => Promise<Result>,
+ delay = 400,
+) {
+ const [state, setState] = useState<CheckState<Result> | null>(null);
+ const [attempt, setAttempt] = useState(0);
+ const runCheck = useEffectEvent(run);
+
+ useEffect(() => {
+ if (!key) return;
+ let cancelled = false;
+ const timeout = window.setTimeout(
+ async () => {
+ try {
+ const result = await runCheck();
+ if (!cancelled) setState({ key, result });
+ } catch (error) {
+ if (!cancelled) setState({ key, error });
+ }
+ },
+ attempt === 0 ? delay : 0,
+ );
+ return () => {
+ cancelled = true;
+ window.clearTimeout(timeout);
+ };
+ }, [key, delay, attempt]);
+
+ const current = key !== null && state?.key === key ? state : null;
+ const recheck = useCallback(() => {
+ setState(null);
+ setAttempt((value) => value + 1);
+ }, []);
+
+ return {
+ checking: key !== null && current === null,
+ result: current?.result,
+ error: current?.error,
+ recheck,
+ };
+}
diff --git a/apps/web/src/components/project/code-hosting/webhook-field-row.tsx b/apps/web/src/components/project/code-hosting/webhook-field-row.tsx
new file mode 100644
index 000000000..0b080e2cb
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/webhook-field-row.tsx
@@ -0,0 +1,25 @@
+import type { ReactNode } from "react";
+
+type WebhookFieldRowProps = {
+ label: string;
+ labelId: string;
+ children: ReactNode;
+};
+
+export function WebhookFieldRow({
+ label,
+ labelId,
+ children,
+}: WebhookFieldRowProps) {
+ return (
+ <div className="flex flex-col gap-1.5 sm:flex-row sm:items-center sm:gap-3">
+ <span
+ id={labelId}
+ className="text-[13px] text-muted-foreground sm:w-18 sm:shrink-0"
+ >
+ {label}
+ </span>
+ <div className="flex min-w-0 flex-1 items-center gap-2">{children}</div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/webhook-secret-field.tsx b/apps/web/src/components/project/code-hosting/webhook-secret-field.tsx
new file mode 100644
index 000000000..40097aba1
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/webhook-secret-field.tsx
@@ -0,0 +1,46 @@
+import { EyeIcon, EyeOffIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+
+type WebhookSecretFieldProps = {
+ secret: string;
+ labelledBy: string;
+};
+
+export function WebhookSecretField({
+ secret,
+ labelledBy,
+}: WebhookSecretFieldProps) {
+ const { t } = useTranslation();
+ const [visible, setVisible] = useState(false);
+
+ return (
+ <div className="flex h-8 min-w-0 flex-1 items-center gap-2 rounded-lg border border-input bg-background ps-2.5 pe-1 dark:bg-input/32">
+ <span
+ aria-labelledby={labelledBy}
+ className="min-w-0 flex-1 truncate font-mono text-xs"
+ >
+ {visible ? secret : "•".repeat(24)}
+ </span>
+ <Button
+ type="button"
+ variant="ghost"
+ size="icon-xs"
+ aria-label={
+ visible
+ ? t("settings:codeHosting.hideSecret")
+ : t("settings:codeHosting.showSecret")
+ }
+ aria-pressed={visible}
+ onClick={() => setVisible((current) => !current)}
+ >
+ {visible ? (
+ <EyeOffIcon aria-hidden="true" />
+ ) : (
+ <EyeIcon aria-hidden="true" />
+ )}
+ </Button>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/code-hosting/webhook-section.tsx b/apps/web/src/components/project/code-hosting/webhook-section.tsx
new file mode 100644
index 000000000..7ad8e4cbb
--- /dev/null
+++ b/apps/web/src/components/project/code-hosting/webhook-section.tsx
@@ -0,0 +1,62 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { CopyValueButton } from "@/components/project/code-hosting/copy-value-button";
+import { WebhookFieldRow } from "@/components/project/code-hosting/webhook-field-row";
+import { WebhookSecretField } from "@/components/project/code-hosting/webhook-secret-field";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Input } from "@/components/ui/input";
+
+type WebhookSectionProps = {
+ url: string;
+ secret: string | null | undefined;
+ description: string;
+ events: string;
+};
+
+export function WebhookSection({
+ url,
+ secret,
+ description,
+ events,
+}: WebhookSectionProps) {
+ const { t } = useTranslation();
+ const id = useId();
+
+ return (
+ <IntegrationPanelSection
+ label={t("settings:codeHosting.webhookSection")}
+ description={description}
+ >
+ <div className="space-y-2">
+ <WebhookFieldRow
+ label={t("settings:codeHosting.webhookUrl")}
+ labelId={`${id}-url`}
+ >
+ <Input
+ readOnly
+ value={url}
+ aria-labelledby={`${id}-url`}
+ className="min-w-0 flex-1 font-mono text-xs sm:text-xs"
+ />
+ <CopyValueButton
+ value={url}
+ label={t("settings:codeHosting.copyUrl")}
+ />
+ </WebhookFieldRow>
+ {secret ? (
+ <WebhookFieldRow
+ label={t("settings:codeHosting.webhookSecret")}
+ labelId={`${id}-secret`}
+ >
+ <WebhookSecretField secret={secret} labelledBy={`${id}-secret`} />
+ <CopyValueButton
+ value={secret}
+ label={t("settings:codeHosting.copySecret")}
+ />
+ </WebhookFieldRow>
+ ) : null}
+ </div>
+ <p className="text-xs text-muted-foreground">{events}</p>
+ </IntegrationPanelSection>
+ );
+}
diff --git a/apps/web/src/components/project/column-editor.tsx b/apps/web/src/components/project/column-editor.tsx
deleted file mode 100644
index 109678837..000000000
--- a/apps/web/src/components/project/column-editor.tsx
+++ /dev/null
@@ -1,437 +0,0 @@
-import { CheckCircle2, Circle, GripVertical, Plus, Trash2 } from "lucide-react";
-import { useEffect, useRef, useState } from "react";
-import { useTranslation } from "react-i18next";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import {
- Popover,
- PopoverContent,
- PopoverTrigger,
-} from "@/components/ui/popover";
-import { Switch } from "@/components/ui/switch";
-import columnIcons, {
- DEFAULT_COLUMN_ICON_NAMES,
-} from "@/constants/column-icons";
-import { useCreateColumn } from "@/hooks/mutations/column/use-create-column";
-import { useDeleteColumn } from "@/hooks/mutations/column/use-delete-column";
-import { useReorderColumns } from "@/hooks/mutations/column/use-reorder-columns";
-import { useUpdateColumn } from "@/hooks/mutations/column/use-update-column";
-import { useGetColumns } from "@/hooks/queries/column/use-get-columns";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { getColumnIcon } from "@/lib/column";
-import { toast } from "@/lib/toast";
-import { cn } from "@/lib/utils";
-
-type ColumnEditorProps = {
- projectId: string;
-};
-
-export default function ColumnEditor({ projectId }: ColumnEditorProps) {
- const { t } = useTranslation();
- const { data: columns, isLoading } = useGetColumns(projectId);
- const { mutateAsync: createColumn } = useCreateColumn();
- const { mutateAsync: updateColumn } = useUpdateColumn();
- const { mutateAsync: deleteColumn } = useDeleteColumn();
- const { mutateAsync: reorderColumns } = useReorderColumns();
- const { canManageProjects } = useWorkspacePermission();
- const canEdit = canManageProjects();
- const [newColumnName, setNewColumnName] = useState("");
- const [newColumnIcon, setNewColumnIcon] = useState("Circle");
- const [iconPickerColumnId, setIconPickerColumnId] = useState<string | null>(
- null,
- );
- const [newIconPickerOpen, setNewIconPickerOpen] = useState(false);
- const [iconSearch, setIconSearch] = useState("");
- const [draggedIndex, setDraggedIndex] = useState<number | null>(null);
- const dragPreviewRef = useRef<HTMLDivElement | null>(null);
-
- useEffect(() => {
- return () => {
- dragPreviewRef.current?.remove();
- };
- }, []);
-
- const handleCreate = async () => {
- if (!newColumnName.trim()) return;
- try {
- await createColumn({
- projectId,
- data: { name: newColumnName.trim(), icon: newColumnIcon },
- });
- setNewColumnName("");
- setNewColumnIcon("Circle");
- toast.success(t("settings:columnEditor.toastCreated"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:columnEditor.toastCreateError"),
- );
- }
- };
-
- const handleRename = async (id: string, name: string) => {
- try {
- await updateColumn({ id, projectId, data: { name } });
- toast.success(t("settings:columnEditor.toastRenamed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:columnEditor.toastRenameError"),
- );
- }
- };
-
- const handleToggleFinal = async (id: string, isFinal: boolean) => {
- try {
- await updateColumn({ id, projectId, data: { isFinal } });
- toast.success(
- isFinal
- ? t("settings:columnEditor.toastFinalOn")
- : t("settings:columnEditor.toastFinalOff"),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:columnEditor.toastUpdateError"),
- );
- }
- };
-
- const handleUpdateIcon = async (id: string, icon: string) => {
- try {
- await updateColumn({ id, projectId, data: { icon } });
- setIconPickerColumnId(null);
- setIconSearch("");
- toast.success(t("settings:columnEditor.toastIconUpdated"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:columnEditor.toastUpdateError"),
- );
- }
- };
-
- const handleDelete = async (id: string) => {
- try {
- await deleteColumn({ id, projectId });
- toast.success(t("settings:columnEditor.toastDeleted"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:columnEditor.toastDeleteError"),
- );
- }
- };
-
- const handleDragStart = (
- e: React.DragEvent<HTMLDivElement>,
- index: number,
- ) => {
- setDraggedIndex(index);
-
- dragPreviewRef.current?.remove();
-
- const sourceElement = e.currentTarget;
- const sourceRect = sourceElement.getBoundingClientRect();
-
- // Use an isolated clone so the drag image only captures the selected row.
- const dragPreview = sourceElement.cloneNode(true) as HTMLDivElement;
-
- dragPreview.setAttribute("aria-hidden", "true");
- dragPreview.inert = true;
-
- Object.assign(dragPreview.style, {
- position: "fixed",
- top: "-10000px",
- left: "-10000px",
- width: `${sourceRect.width}px`,
- height: `${sourceRect.height}px`,
- margin: "0",
- boxSizing: "border-box",
- overflow: "hidden",
- pointerEvents: "none",
- transform: "none",
- contain: "layout paint",
- });
-
- document.body.appendChild(dragPreview);
- dragPreviewRef.current = dragPreview;
-
- e.dataTransfer.effectAllowed = "move";
- e.dataTransfer.setData("text/plain", String(index));
- e.dataTransfer.setDragImage(
- dragPreview,
- e.clientX - sourceRect.left,
- e.clientY - sourceRect.top,
- );
- };
-
- const handleDragOver = (e: React.DragEvent, index: number) => {
- e.preventDefault();
- if (draggedIndex === null || draggedIndex === index || !columns) return;
-
- const reordered = [...columns];
- const [removed] = reordered.splice(draggedIndex, 1);
- reordered.splice(index, 0, removed);
-
- const updates = reordered.map((col, i) => ({ id: col.id, position: i }));
- reorderColumns({ projectId, columns: updates });
- setDraggedIndex(index);
- };
-
- const handleDragEnd = () => {
- setDraggedIndex(null);
-
- dragPreviewRef.current?.remove();
- dragPreviewRef.current = null;
- };
-
- const filteredIcons = Object.entries(columnIcons).filter(([iconName]) =>
- iconName.toLowerCase().includes(iconSearch.trim().toLowerCase()),
- );
-
- if (isLoading) {
- return (
- <div className="text-sm text-muted-foreground">
- {t("settings:columnEditor.loading")}
- </div>
- );
- }
-
- return (
- <div className="space-y-3">
- <div className="space-y-1">
- {columns?.map((col, index) => (
- // eslint-disable-next-line jsx-a11y/prefer-tag-over-role -- false positive for role="listitem"
- <div
- key={col.id}
- role="listitem"
- draggable={canEdit}
- onDragStart={(e) => handleDragStart(e, index)}
- onDragOver={(e) => handleDragOver(e, index)}
- onDragEnd={handleDragEnd}
- className="flex flex-wrap items-center gap-2 p-2 border border-border rounded-md bg-sidebar hover:bg-sidebar-accent/50 transition-colors"
- >
- <GripVertical className="w-4 h-4 text-muted-foreground cursor-grab shrink-0" />
- <Popover
- open={iconPickerColumnId === col.id}
- onOpenChange={(open) => {
- setIconPickerColumnId(open ? col.id : null);
- if (!open) setIconSearch("");
- }}
- modal={true}
- >
- <PopoverTrigger asChild>
- <Button
- type="button"
- variant="ghost"
- size="sm"
- className="h-8 w-8 p-0 shrink-0"
- title={t("settings:columnEditor.pickIconTitle")}
- disabled={!canEdit}
- >
- {getColumnIcon(col.slug, col.isFinal, col.icon)}
- </Button>
- </PopoverTrigger>
- <PopoverContent className="w-80" align="start">
- <div className="space-y-2">
- <Input
- value={iconSearch}
- onChange={(e) => setIconSearch(e.target.value)}
- placeholder={t(
- "settings:columnEditor.searchIconsPlaceholder",
- )}
- className="h-8 text-base sm:text-xs"
- />
- <div className="max-h-[280px] overflow-y-auto pr-1">
- <div className="grid grid-cols-6 gap-1.5">
- {filteredIcons.map(([iconName, Icon]) => {
- const selectedIconName =
- col.icon ||
- DEFAULT_COLUMN_ICON_NAMES[
- col.slug as keyof typeof DEFAULT_COLUMN_ICON_NAMES
- ];
- const isSelected = selectedIconName === iconName;
- return (
- <Button
- key={iconName}
- type="button"
- variant="ghost"
- size="sm"
- onClick={() => handleUpdateIcon(col.id, iconName)}
- className={cn(
- "h-10 items-center justify-center rounded-md p-0",
- isSelected &&
- "bg-sidebar-accent text-sidebar-accent-foreground",
- )}
- title={iconName}
- >
- <Icon className="h-4 w-4" />
- </Button>
- );
- })}
- </div>
- </div>
- </div>
- </PopoverContent>
- </Popover>
- <Input
- defaultValue={col.name}
- aria-label={t("settings:columnEditor.renameAria", {
- name: col.name,
- })}
- className="h-8 min-w-0 flex-1 basis-40 text-base sm:text-sm"
- disabled={!canEdit}
- onBlur={(e) => {
- if (e.target.value !== col.name) {
- handleRename(col.id, e.target.value);
- }
- }}
- onKeyDown={(e) => {
- if (e.key === "Enter") {
- e.preventDefault();
- e.currentTarget.blur();
- }
- }}
- />
- <div className="ml-auto flex items-center gap-1.5 shrink-0">
- <div
- className="flex items-center gap-2"
- title={t("settings:columnEditor.doneColumnTooltip")}
- >
- {col.isFinal ? (
- <CheckCircle2 className="w-3.5 h-3.5 text-muted-foreground" />
- ) : (
- <Circle className="w-3.5 h-3.5 text-muted-foreground" />
- )}
- <span className="text-xs text-muted-foreground whitespace-nowrap">
- {t("settings:columnEditor.doneColumn")}
- </span>
- <Switch
- checked={col.isFinal}
- onCheckedChange={
- canEdit
- ? (checked) => handleToggleFinal(col.id, checked)
- : undefined
- }
- disabled={!canEdit}
- aria-label={t("settings:columnEditor.markDoneAria", {
- name: col.name,
- })}
- className="scale-75"
- />
- <span className="text-[11px] text-muted-foreground w-8">
- {col.isFinal
- ? t("settings:columnEditor.on")
- : t("settings:columnEditor.off")}
- </span>
- </div>
- {canEdit && (
- <Button
- variant="ghost"
- size="sm"
- className="h-7 w-7 p-0 text-muted-foreground hover:text-destructive"
- aria-label={t("settings:columnEditor.deleteAria", {
- name: col.name,
- })}
- onClick={() => handleDelete(col.id)}
- >
- <Trash2 className="w-3.5 h-3.5" />
- </Button>
- )}
- </div>
- </div>
- ))}
- </div>
-
- {canEdit && (
- <div className="flex items-center gap-2">
- <Popover
- open={newIconPickerOpen}
- onOpenChange={(open) => {
- setNewIconPickerOpen(open);
- if (!open) setIconSearch("");
- }}
- modal={true}
- >
- <PopoverTrigger asChild>
- <Button
- type="button"
- variant="outline"
- size="sm"
- className="h-8 w-8 p-0 shrink-0"
- title={t("settings:columnEditor.pickIconTitle")}
- >
- {getColumnIcon("", false, newColumnIcon)}
- </Button>
- </PopoverTrigger>
- <PopoverContent className="w-80" align="start">
- <div className="space-y-2">
- <Input
- value={iconSearch}
- onChange={(e) => setIconSearch(e.target.value)}
- placeholder={t(
- "settings:columnEditor.searchIconsPlaceholder",
- )}
- className="h-8 text-base sm:text-xs"
- />
- <div className="max-h-[280px] overflow-y-auto pr-1">
- <div className="grid grid-cols-6 gap-1.5">
- {filteredIcons.map(([iconName, Icon]) => {
- const isSelected = newColumnIcon === iconName;
- return (
- <Button
- key={iconName}
- type="button"
- variant="ghost"
- size="sm"
- onClick={() => {
- setNewColumnIcon(iconName);
- setNewIconPickerOpen(false);
- setIconSearch("");
- }}
- className={cn(
- "h-10 items-center justify-center rounded-md p-0",
- isSelected &&
- "bg-sidebar-accent text-sidebar-accent-foreground",
- )}
- title={iconName}
- >
- <Icon className="h-4 w-4" />
- </Button>
- );
- })}
- </div>
- </div>
- </div>
- </PopoverContent>
- </Popover>
- <Input
- placeholder={t("settings:columnEditor.newColumnPlaceholder")}
- value={newColumnName}
- onChange={(e) => setNewColumnName(e.target.value)}
- className="h-8 text-base sm:text-sm flex-1"
- onKeyDown={(e) => {
- if (e.key === "Enter") handleCreate();
- }}
- />
- <Button
- variant="outline"
- size="sm"
- onClick={handleCreate}
- disabled={!newColumnName.trim()}
- className="h-8 gap-1"
- >
- <Plus className="w-3.5 h-3.5" />
- {t("settings:columnEditor.add")}
- </Button>
- </div>
- )}
- </div>
- );
-}
diff --git a/apps/web/src/components/project/columns/add-column-row.tsx b/apps/web/src/components/project/columns/add-column-row.tsx
new file mode 100644
index 000000000..d10145b47
--- /dev/null
+++ b/apps/web/src/components/project/columns/add-column-row.tsx
@@ -0,0 +1,104 @@
+import { Plus } from "lucide-react";
+import { type FocusEvent, type KeyboardEvent, useRef, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ColumnIconPicker } from "@/components/project/columns/column-icon-picker";
+import { getColumnIcon } from "@/lib/column";
+
+type AddColumnRowProps = {
+ onCreate: (column: { name: string; icon: string }) => Promise<boolean>;
+};
+
+const DEFAULT_ICON = "Circle";
+
+export function AddColumnRow({ onCreate }: AddColumnRowProps) {
+ const { t } = useTranslation();
+ const [editing, setEditing] = useState(false);
+ const [name, setName] = useState("");
+ const [icon, setIcon] = useState(DEFAULT_ICON);
+ const [saving, setSaving] = useState(false);
+ const pickerOpen = useRef(false);
+ const inputRef = useRef<HTMLInputElement>(null);
+
+ const close = () => {
+ setEditing(false);
+ setName("");
+ setIcon(DEFAULT_ICON);
+ };
+
+ const submit = async () => {
+ const trimmed = name.trim();
+ if (!trimmed || saving) return;
+
+ setSaving(true);
+ const created = await onCreate({ name: trimmed, icon });
+ setSaving(false);
+ if (created) {
+ setName("");
+ setIcon(DEFAULT_ICON);
+ }
+ inputRef.current?.focus();
+ };
+
+ const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {
+ if (event.key === "Enter") {
+ event.preventDefault();
+ void submit();
+ }
+ if (event.key === "Escape") {
+ event.preventDefault();
+ close();
+ }
+ };
+
+ const handleBlur = (event: FocusEvent<HTMLDivElement>) => {
+ if (pickerOpen.current || name.trim()) return;
+ if (event.currentTarget.contains(event.relatedTarget)) return;
+ close();
+ };
+
+ if (!editing) {
+ return (
+ <button
+ type="button"
+ onClick={() => setEditing(true)}
+ className="flex h-11 w-full items-center gap-2.5 px-4 text-left text-sm text-muted-foreground outline-none transition-colors hover:bg-accent/40 hover:text-foreground focus-visible:bg-accent/40 focus-visible:text-foreground"
+ >
+ <span aria-hidden="true" className="w-3.5 shrink-0" />
+ <span className="flex size-7 shrink-0 items-center justify-center">
+ <Plus aria-hidden="true" className="size-3.5" />
+ </span>
+ {t("settings:columnEditor.addColumn")}
+ </button>
+ );
+ }
+
+ return (
+ <div onBlur={handleBlur} className="flex h-12 items-center gap-2.5 px-4">
+ <span aria-hidden="true" className="w-3.5 shrink-0" />
+ <ColumnIconPicker
+ selected={icon}
+ label={t("settings:columnEditor.pickIconTitle")}
+ onSelect={setIcon}
+ onOpenChange={(open) => {
+ pickerOpen.current = open;
+ if (!open) inputRef.current?.focus();
+ }}
+ >
+ {getColumnIcon("", false, icon)}
+ </ColumnIconPicker>
+ <input
+ ref={inputRef}
+ autoFocus
+ value={name}
+ readOnly={saving}
+ onChange={(event) => setName(event.target.value)}
+ onKeyDown={handleKeyDown}
+ placeholder={t("settings:columnEditor.newColumnPlaceholder")}
+ aria-label={t("settings:columnEditor.newColumnPlaceholder")}
+ className="-ml-2 h-7.5 min-w-0 flex-1 rounded-md border border-input bg-background px-2 text-sm outline-none placeholder:text-muted-foreground/72 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/24 dark:bg-input/32"
+ />
+ <span aria-hidden="true" className="w-13 shrink-0" />
+ <span aria-hidden="true" className="w-7 shrink-0" />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/columns/column-icon-picker.tsx b/apps/web/src/components/project/columns/column-icon-picker.tsx
new file mode 100644
index 000000000..30b12184c
--- /dev/null
+++ b/apps/web/src/components/project/columns/column-icon-picker.tsx
@@ -0,0 +1,97 @@
+import { type ReactNode, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import {
+ Popover,
+ PopoverContent,
+ PopoverTrigger,
+} from "@/components/ui/popover";
+import columnIcons from "@/constants/column-icons";
+import { cn } from "@/lib/cn";
+
+type ColumnIconPickerProps = {
+ selected: string | undefined;
+ label: string;
+ disabled?: boolean;
+ onSelect: (iconName: string) => void;
+ onOpenChange?: (open: boolean) => void;
+ children: ReactNode;
+};
+
+const ICON_ENTRIES = Object.entries(columnIcons);
+
+export function ColumnIconPicker({
+ selected,
+ label,
+ disabled = false,
+ onSelect,
+ onOpenChange,
+ children,
+}: ColumnIconPickerProps) {
+ const { t } = useTranslation();
+ const [open, setOpen] = useState(false);
+ const [search, setSearch] = useState("");
+ const query = search.trim().toLowerCase();
+ const icons = query
+ ? ICON_ENTRIES.filter(([name]) => name.toLowerCase().includes(query))
+ : ICON_ENTRIES;
+
+ const changeOpen = (next: boolean) => {
+ setOpen(next);
+ if (!next) setSearch("");
+ onOpenChange?.(next);
+ };
+
+ return (
+ <Popover open={open} onOpenChange={changeOpen} modal>
+ <PopoverTrigger asChild>
+ <Button
+ type="button"
+ variant="ghost"
+ size="icon-sm"
+ aria-label={label}
+ title={label}
+ disabled={disabled}
+ className="shrink-0 disabled:opacity-100"
+ >
+ {children}
+ </Button>
+ </PopoverTrigger>
+ <PopoverContent className="w-80" align="start">
+ <div className="space-y-2 p-1">
+ <Input
+ size="sm"
+ value={search}
+ onChange={(event) => setSearch(event.target.value)}
+ placeholder={t("settings:columnEditor.searchIconsPlaceholder")}
+ aria-label={t("settings:columnEditor.searchIconsPlaceholder")}
+ />
+ <div className="grid max-h-70 grid-cols-6 gap-1 overflow-y-auto pr-1">
+ {icons.map(([name, Icon]) => (
+ <Button
+ key={name}
+ type="button"
+ variant="ghost"
+ size="icon"
+ aria-label={name}
+ aria-pressed={selected === name}
+ title={name}
+ onClick={() => {
+ onSelect(name);
+ changeOpen(false);
+ }}
+ className={cn(
+ "h-10 w-full",
+ selected === name && "bg-accent text-accent-foreground",
+ )}
+ >
+ <Icon aria-hidden="true" className="size-4" />
+ </Button>
+ ))}
+ </div>
+ </div>
+ </PopoverContent>
+ </Popover>
+ );
+}
diff --git a/apps/web/src/components/project/columns/column-list-header.tsx b/apps/web/src/components/project/columns/column-list-header.tsx
new file mode 100644
index 000000000..c4da9eebe
--- /dev/null
+++ b/apps/web/src/components/project/columns/column-list-header.tsx
@@ -0,0 +1,20 @@
+import { useTranslation } from "react-i18next";
+
+export function ColumnListHeader() {
+ const { t } = useTranslation();
+
+ return (
+ <div
+ aria-hidden="true"
+ className="flex h-8 items-center gap-2.5 px-4 text-xs text-muted-foreground"
+ >
+ <span className="flex-1 pl-6">
+ {t("settings:columnEditor.columnHeader")}
+ </span>
+ <span className="w-13 shrink-0 text-center">
+ {t("settings:columnEditor.doneHeader")}
+ </span>
+ <span className="w-7 shrink-0" />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/columns/column-list-skeleton.tsx b/apps/web/src/components/project/columns/column-list-skeleton.tsx
new file mode 100644
index 000000000..236215342
--- /dev/null
+++ b/apps/web/src/components/project/columns/column-list-skeleton.tsx
@@ -0,0 +1,22 @@
+import { SettingsCard } from "@/components/settings/settings-card";
+import { Skeleton } from "@/components/ui/skeleton";
+
+const ROWS = ["a", "b", "c", "d"];
+
+export function ColumnListSkeleton() {
+ return (
+ <SettingsCard aria-busy="true">
+ <div className="h-8" />
+ {ROWS.map((row) => (
+ <div key={row} className="flex h-12 items-center gap-2.5 px-4">
+ <Skeleton className="size-3.5" />
+ <Skeleton className="size-7 rounded-md" />
+ <Skeleton className="h-4 w-32" />
+ <span className="flex-1" />
+ <Skeleton className="h-4 w-7 rounded-full" />
+ <span className="w-7" />
+ </div>
+ ))}
+ </SettingsCard>
+ );
+}
diff --git a/apps/web/src/components/project/columns/column-list.test.tsx b/apps/web/src/components/project/columns/column-list.test.tsx
new file mode 100644
index 000000000..968f05b2f
--- /dev/null
+++ b/apps/web/src/components/project/columns/column-list.test.tsx
@@ -0,0 +1,195 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { ColumnList } from "@/components/project/columns/column-list";
+import { toast } from "@/lib/toast";
+
+const m = vi.hoisted(() => ({
+ canManage: true,
+ createColumn: vi.fn(),
+ updateColumn: vi.fn(),
+ deleteColumn: vi.fn(),
+ reorderColumns: vi.fn(),
+}));
+
+vi.mock("@/lib/i18n", () => ({ i18n: { t: (key: string) => key } }));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/lib/toast", () => ({ toast: { success: vi.fn(), error: vi.fn() } }));
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({ canManageProjects: () => m.canManage }),
+}));
+vi.mock("@/hooks/queries/column/use-get-columns", () => ({
+ useGetColumns: () => ({
+ isLoading: false,
+ data: [
+ {
+ id: "c1",
+ name: "To Do",
+ slug: "to-do",
+ icon: null,
+ isFinal: false,
+ position: 0,
+ },
+ {
+ id: "c2",
+ name: "Done",
+ slug: "done",
+ icon: null,
+ isFinal: true,
+ position: 1,
+ },
+ ],
+ }),
+}));
+vi.mock("@/hooks/mutations/column/use-create-column", () => ({
+ useCreateColumn: () => ({ mutateAsync: m.createColumn }),
+}));
+vi.mock("@/hooks/mutations/column/use-update-column", () => ({
+ useUpdateColumn: () => ({ mutateAsync: m.updateColumn }),
+}));
+vi.mock("@/hooks/mutations/column/use-delete-column", () => ({
+ useDeleteColumn: () => ({ mutateAsync: m.deleteColumn, isPending: false }),
+}));
+vi.mock("@/hooks/mutations/column/use-reorder-columns", () => ({
+ useReorderColumns: () => ({ mutateAsync: m.reorderColumns }),
+}));
+
+describe("ColumnList", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ m.canManage = true;
+ for (const fn of [m.createColumn, m.updateColumn, m.deleteColumn]) {
+ fn.mockResolvedValue({});
+ }
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ });
+ afterEach(cleanup);
+
+ it("renames on Enter and reverts a blank name without saving", async () => {
+ render(<ColumnList projectId="p1" />);
+ const [name] = screen.getAllByRole("textbox", {
+ name: "settings:columnEditor.renameAria",
+ }) as HTMLInputElement[];
+
+ fireEvent.change(name, { target: { value: " " } });
+ fireEvent.blur(name);
+ expect(name.value).toBe("To Do");
+ expect(m.updateColumn).not.toHaveBeenCalled();
+
+ fireEvent.change(name, { target: { value: " Backlog " } });
+ fireEvent.keyDown(name, { key: "Enter" });
+ fireEvent.blur(name);
+ await waitFor(() =>
+ expect(m.updateColumn).toHaveBeenCalledWith({
+ id: "c1",
+ projectId: "p1",
+ data: { name: "Backlog" },
+ }),
+ );
+ });
+
+ it("toggles the done column", async () => {
+ render(<ColumnList projectId="p1" />);
+ const [todoSwitch] = screen.getAllByRole("switch", {
+ name: "settings:columnEditor.markDoneAria",
+ });
+ fireEvent.click(todoSwitch);
+ await waitFor(() =>
+ expect(m.updateColumn).toHaveBeenCalledWith({
+ id: "c1",
+ projectId: "p1",
+ data: { isFinal: true },
+ }),
+ );
+ });
+
+ it("asks before deleting and keeps the error toast", async () => {
+ m.deleteColumn.mockRejectedValue(
+ new Error("Cannot delete column that contains tasks."),
+ );
+ render(<ColumnList projectId="p1" />);
+ fireEvent.click(
+ screen.getAllByRole("button", {
+ name: "settings:columnEditor.deleteAria",
+ })[0],
+ );
+ const confirm = await screen.findByRole("alertdialog");
+ expect(
+ within(confirm).getByText("settings:columnEditor.deleteDescription"),
+ ).toBeInTheDocument();
+ expect(m.deleteColumn).not.toHaveBeenCalled();
+
+ fireEvent.click(
+ within(confirm).getByRole("button", {
+ name: "settings:columnEditor.deleteConfirm",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.deleteColumn).toHaveBeenCalledWith({
+ id: "c1",
+ projectId: "p1",
+ }),
+ );
+ await waitFor(() =>
+ expect(toast.error).toHaveBeenCalledWith(
+ "Cannot delete column that contains tasks.",
+ ),
+ );
+ });
+
+ it("adds a column from the inline row", async () => {
+ render(<ColumnList projectId="p1" />);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:columnEditor.addColumn" }),
+ );
+ const input = screen.getByRole("textbox", {
+ name: "settings:columnEditor.newColumnPlaceholder",
+ });
+ fireEvent.change(input, { target: { value: " Review " } });
+ fireEvent.keyDown(input, { key: "Enter" });
+ await waitFor(() =>
+ expect(m.createColumn).toHaveBeenCalledWith({
+ projectId: "p1",
+ data: { name: "Review", icon: "Circle" },
+ }),
+ );
+ await waitFor(() => expect(input).toHaveValue(""));
+ });
+
+ it("is read-only without permission to manage projects", () => {
+ m.canManage = false;
+ render(<ColumnList projectId="p1" />);
+ expect(
+ screen.queryByRole("button", { name: "settings:columnEditor.addColumn" }),
+ ).toBeNull();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:columnEditor.deleteAria",
+ }),
+ ).toBeNull();
+ expect(
+ screen.queryByRole("button", { name: "settings:columnEditor.dragAria" }),
+ ).toBeNull();
+ for (const toggle of screen.getAllByRole("switch")) {
+ expect(toggle).toHaveAttribute("aria-disabled", "true");
+ }
+ });
+});
diff --git a/apps/web/src/components/project/columns/column-list.tsx b/apps/web/src/components/project/columns/column-list.tsx
new file mode 100644
index 000000000..98cb779fa
--- /dev/null
+++ b/apps/web/src/components/project/columns/column-list.tsx
@@ -0,0 +1,142 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { AddColumnRow } from "@/components/project/columns/add-column-row";
+import { ColumnListHeader } from "@/components/project/columns/column-list-header";
+import { ColumnListSkeleton } from "@/components/project/columns/column-list-skeleton";
+import { ColumnRow } from "@/components/project/columns/column-row";
+import type { ProjectColumn } from "@/components/project/columns/types";
+import { errorMessage } from "@/components/project/error-message";
+import { toPositions } from "@/components/project/sortable/apply-order";
+import { SortableList } from "@/components/project/sortable/sortable-list";
+import { useSortableOrder } from "@/components/project/sortable/use-sortable-order";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { useCreateColumn } from "@/hooks/mutations/column/use-create-column";
+import { useDeleteColumn } from "@/hooks/mutations/column/use-delete-column";
+import { useReorderColumns } from "@/hooks/mutations/column/use-reorder-columns";
+import { useUpdateColumn } from "@/hooks/mutations/column/use-update-column";
+import { useGetColumns } from "@/hooks/queries/column/use-get-columns";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+import { toast } from "@/lib/toast";
+
+type ColumnListProps = {
+ projectId: string;
+};
+
+const NO_COLUMNS: ProjectColumn[] = [];
+
+export function ColumnList({ projectId }: ColumnListProps) {
+ const { t } = useTranslation();
+ const { data: columns = NO_COLUMNS, isLoading } = useGetColumns(projectId);
+ const { mutateAsync: createColumn } = useCreateColumn();
+ const { mutateAsync: updateColumn } = useUpdateColumn();
+ const { mutateAsync: deleteColumn, isPending: deleting } = useDeleteColumn();
+ const { mutateAsync: reorderColumns } = useReorderColumns();
+ const { canManageProjects } = useWorkspacePermission();
+ const canEdit = canManageProjects();
+ const [pendingDelete, setPendingDelete] = useState<ProjectColumn | null>(
+ null,
+ );
+
+ const { ordered, move } = useSortableOrder(columns, async (next) => {
+ try {
+ await reorderColumns({ projectId, columns: toPositions(next) });
+ } catch (error) {
+ toast.error(errorMessage(error, t("settings:columnEditor.reorderError")));
+ }
+ });
+
+ const update = async (
+ id: string,
+ data: { name?: string; icon?: string; isFinal?: boolean },
+ fallbackKey: string,
+ ) => {
+ try {
+ await updateColumn({ id, projectId, data });
+ return true;
+ } catch (error) {
+ toast.error(errorMessage(error, t(fallbackKey)));
+ return false;
+ }
+ };
+
+ const create = async (data: { name: string; icon: string }) => {
+ try {
+ await createColumn({ projectId, data });
+ return true;
+ } catch (error) {
+ toast.error(
+ errorMessage(error, t("settings:columnEditor.toastCreateError")),
+ );
+ return false;
+ }
+ };
+
+ const confirmDelete = async () => {
+ if (!pendingDelete) return;
+ try {
+ await deleteColumn({ id: pendingDelete.id, projectId });
+ setPendingDelete(null);
+ } catch (error) {
+ toast.error(
+ errorMessage(error, t("settings:columnEditor.toastDeleteError")),
+ );
+ }
+ };
+
+ if (isLoading) return <ColumnListSkeleton />;
+
+ return (
+ <>
+ <SettingsCard>
+ <ColumnListHeader />
+ <SortableList ids={ordered.map((column) => column.id)} onMove={move}>
+ {ordered.map((column) => (
+ <ColumnRow
+ key={column.id}
+ column={column}
+ canEdit={canEdit}
+ onRename={(name) =>
+ update(
+ column.id,
+ { name },
+ "settings:columnEditor.toastRenameError",
+ )
+ }
+ onChangeIcon={(icon) =>
+ void update(
+ column.id,
+ { icon },
+ "settings:columnEditor.toastUpdateError",
+ )
+ }
+ onToggleFinal={async (isFinal) => {
+ await update(
+ column.id,
+ { isFinal },
+ "settings:columnEditor.toastUpdateError",
+ );
+ }}
+ onDelete={() => setPendingDelete(column)}
+ />
+ ))}
+ </SortableList>
+ {canEdit ? <AddColumnRow onCreate={create} /> : null}
+ </SettingsCard>
+ <ConfirmDialog
+ open={pendingDelete !== null}
+ onOpenChange={(open) => {
+ if (!open) setPendingDelete(null);
+ }}
+ title={t("settings:columnEditor.deleteTitle", {
+ name: pendingDelete?.name ?? "",
+ })}
+ description={t("settings:columnEditor.deleteDescription")}
+ confirmLabel={t("settings:columnEditor.deleteConfirm")}
+ pendingLabel={t("common:actions.deleting")}
+ pending={deleting}
+ onConfirm={() => void confirmDelete()}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/columns/column-row.tsx b/apps/web/src/components/project/columns/column-row.tsx
new file mode 100644
index 000000000..e5e1be9ae
--- /dev/null
+++ b/apps/web/src/components/project/columns/column-row.tsx
@@ -0,0 +1,114 @@
+import { Trash2 } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ColumnIconPicker } from "@/components/project/columns/column-icon-picker";
+import type { ProjectColumn } from "@/components/project/columns/types";
+import { InlineNameInput } from "@/components/project/inline-name-input";
+import { DragHandle } from "@/components/project/sortable/drag-handle";
+import { useSortableRow } from "@/components/project/sortable/use-sortable-row";
+import { Button } from "@/components/ui/button";
+import { Switch } from "@/components/ui/switch";
+import { DEFAULT_COLUMN_ICON_NAMES } from "@/constants/column-icons";
+import { cn } from "@/lib/cn";
+import { getColumnIcon } from "@/lib/column";
+
+type ColumnRowProps = {
+ column: ProjectColumn;
+ canEdit: boolean;
+ onRename: (name: string) => Promise<boolean>;
+ onChangeIcon: (icon: string) => void;
+ onToggleFinal: (isFinal: boolean) => Promise<void>;
+ onDelete: () => void;
+};
+
+function selectedIconName(column: ProjectColumn) {
+ return (
+ column.icon ||
+ DEFAULT_COLUMN_ICON_NAMES[
+ column.slug as keyof typeof DEFAULT_COLUMN_ICON_NAMES
+ ]
+ );
+}
+
+export function ColumnRow({
+ column,
+ canEdit,
+ onRename,
+ onChangeIcon,
+ onToggleFinal,
+ onDelete,
+}: ColumnRowProps) {
+ const { t } = useTranslation();
+ const { rowRef, rowStyle, isDragging, handleProps } = useSortableRow(
+ column.id,
+ !canEdit,
+ );
+ const [pendingFinal, setPendingFinal] = useState<boolean | null>(null);
+ const isFinal = pendingFinal ?? column.isFinal;
+
+ const toggleFinal = async (checked: boolean) => {
+ setPendingFinal(checked);
+ try {
+ await onToggleFinal(checked);
+ } finally {
+ setPendingFinal(null);
+ }
+ };
+
+ return (
+ <div
+ ref={rowRef}
+ style={rowStyle}
+ className={cn(
+ "group/row flex h-12 items-center gap-2.5 bg-card px-4",
+ isDragging && "relative z-10 shadow-sm",
+ )}
+ >
+ <DragHandle
+ label={t("settings:columnEditor.dragAria", { name: column.name })}
+ handleProps={handleProps}
+ disabled={!canEdit}
+ />
+ <ColumnIconPicker
+ selected={selectedIconName(column)}
+ label={t("settings:columnEditor.pickIconTitle")}
+ disabled={!canEdit}
+ onSelect={onChangeIcon}
+ >
+ {getColumnIcon(column.slug, isFinal, column.icon)}
+ </ColumnIconPicker>
+ <InlineNameInput
+ name={column.name}
+ label={t("settings:columnEditor.renameAria", { name: column.name })}
+ readOnly={!canEdit}
+ onRename={onRename}
+ />
+ <div className="flex w-13 shrink-0 justify-center">
+ <Switch
+ checked={isFinal}
+ disabled={!canEdit}
+ onCheckedChange={(checked) => void toggleFinal(checked)}
+ aria-label={t("settings:columnEditor.markDoneAria", {
+ name: column.name,
+ })}
+ />
+ </div>
+ <div className="flex w-7 shrink-0 justify-center">
+ {canEdit ? (
+ <Button
+ type="button"
+ variant="ghost"
+ size="icon-sm"
+ aria-label={t("settings:columnEditor.deleteAria", {
+ name: column.name,
+ })}
+ onClick={onDelete}
+ className="text-muted-foreground opacity-0 transition-opacity hover:text-destructive focus-visible:opacity-100 group-hover/row:opacity-100 group-focus-within/row:opacity-100 pointer-coarse:opacity-100"
+ >
+ <Trash2 aria-hidden="true" className="size-3.5" />
+ </Button>
+ ) : null}
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/columns/types.ts b/apps/web/src/components/project/columns/types.ts
new file mode 100644
index 000000000..539f72e2d
--- /dev/null
+++ b/apps/web/src/components/project/columns/types.ts
@@ -0,0 +1,3 @@
+import type getColumns from "@/fetchers/column/get-columns";
+
+export type ProjectColumn = Awaited<ReturnType<typeof getColumns>>[number];
diff --git a/apps/web/src/components/project/custom-field-editor.tsx b/apps/web/src/components/project/custom-field-editor.tsx
deleted file mode 100644
index 6e0327c0d..000000000
--- a/apps/web/src/components/project/custom-field-editor.tsx
+++ /dev/null
@@ -1,967 +0,0 @@
-import { format, isValid, parseISO } from "date-fns";
-import {
- CalendarIcon,
- CheckSquare,
- GripVertical,
- Hash,
- List,
- Plus,
- Trash2,
- Type,
- X,
-} from "lucide-react";
-import { useEffect, useMemo, useRef, useState } from "react";
-import { useTranslation } from "react-i18next";
-import { Button } from "@/components/ui/button";
-import { Calendar } from "@/components/ui/calendar";
-import { Checkbox } from "@/components/ui/checkbox";
-import {
- Combobox,
- ComboboxChips,
- ComboboxChipsInput,
- ComboboxEmpty,
- ComboboxItem,
- ComboboxList,
- ComboboxPopup,
- ComboboxValue,
-} from "@/components/ui/combobox";
-import { Input } from "@/components/ui/input";
-import {
- Popover,
- PopoverContent,
- PopoverTrigger,
-} from "@/components/ui/popover";
-import {
- HoverCard,
- HoverCardContent,
- HoverCardTrigger,
-} from "@/components/ui/preview-card";
-import useCreateCustomField from "@/hooks/mutations/custom-field/use-create-custom-field";
-import useDeleteCustomField from "@/hooks/mutations/custom-field/use-delete-custom-field";
-import { useReorderCustomFields } from "@/hooks/mutations/custom-field/use-reorder-custom-field";
-import useGetCustomFieldsByProject from "@/hooks/queries/custom-field/use-get-custom-fields-by-project";
-import { toast } from "@/lib/toast";
-import { cn } from "@/lib/utils";
-
-type CustomFieldType =
- | "text"
- | "number"
- | "date"
- | "dropdown"
- | "boolean"
- | "multiselect";
-
-export type CustomFieldDefinition = {
- id: string;
- projectId: string;
- name: string;
- type: CustomFieldType;
- required: boolean;
- defaultValue: string | null;
- options: string[] | null;
- position: number;
- createdAt: string;
- updatedAt: string;
-};
-
-const CUSTOM_FIELD_TYPES: Array<{
- value: CustomFieldType;
- icon: React.ElementType;
- availableOnTask?: boolean;
-}> = [
- { value: "text", icon: Type, availableOnTask: true },
- { value: "number", icon: Hash, availableOnTask: true },
- { value: "date", icon: CalendarIcon, availableOnTask: true },
- { value: "dropdown", icon: List, availableOnTask: true },
- { value: "multiselect", icon: List, availableOnTask: false },
- { value: "boolean", icon: CheckSquare, availableOnTask: true },
-];
-
-type CustomFieldEditorProps = {
- projectId: string;
-};
-
-export default function CustomFieldEditor({
- projectId,
-}: CustomFieldEditorProps) {
- const { t } = useTranslation();
-
- const { data: customFields = [], isLoading: customFieldsLoading } =
- useGetCustomFieldsByProject(projectId) as {
- data: CustomFieldDefinition[] | undefined;
- isLoading: boolean;
- };
-
- const { mutateAsync: createCustomField, isPending: savingField } =
- useCreateCustomField();
- const { mutateAsync: deleteCustomField, isPending: deletingField } =
- useDeleteCustomField(projectId);
- const { mutateAsync: reorderCustomFields } = useReorderCustomFields();
-
- const [name, setName] = useState("");
- const [type, setType] = useState<CustomFieldType>("text");
- const [required, setRequired] = useState(false);
-
- const [isMultiple, setIsMultiple] = useState(false);
-
- const [defaultValue, setDefaultValue] = useState<string | string[]>("");
- const [optionsText, setOptionsText] = useState("");
- const [deletingFieldId, setDeletingFieldId] = useState<string | null>(null);
-
- const [draggedIndex, setDraggedIndex] = useState<number | null>(null);
- const [pendingFields, setPendingFields] = useState<
- CustomFieldDefinition[] | null
- >(null);
- const [isReordering, setIsReordering] = useState(false);
-
- const dragPreviewRef = useRef<HTMLDivElement | null>(null);
-
- useEffect(() => {
- if (type !== "boolean") return;
-
- if (defaultValue !== "true" && defaultValue !== "false") {
- setDefaultValue("false");
- }
- }, [type, defaultValue]);
-
- useEffect(() => {
- return () => {
- dragPreviewRef.current?.remove();
- };
- }, []);
-
- useEffect(() => {
- setPendingFields(null);
- }, []);
-
- async function handleCreate() {
- try {
- if (!name.trim()) return;
-
- const options =
- type === "dropdown"
- ? Array.from(
- new Set(
- optionsText
- .split(",")
- .map((v) => v.trim())
- .filter(Boolean),
- ),
- )
- : undefined;
-
- let apiDefaultValue: string | undefined;
-
- const apiType: CustomFieldType =
- type === "dropdown" && isMultiple ? "multiselect" : type;
-
- if (apiType === "multiselect") {
- if (Array.isArray(defaultValue) && defaultValue.length > 0) {
- apiDefaultValue = JSON.stringify(defaultValue);
- }
- } else if (apiType === "dropdown") {
- if (typeof defaultValue === "string" && defaultValue.trim() !== "") {
- apiDefaultValue = defaultValue;
- }
- } else if (typeof defaultValue === "string") {
- if (defaultValue.trim() !== "") {
- apiDefaultValue = defaultValue;
- }
- }
-
- await createCustomField({
- projectId,
- name: name.trim(),
- type: apiType,
- required,
- defaultValue: apiDefaultValue,
- options,
- });
-
- setName("");
- setType("text");
- setRequired(false);
- setIsMultiple(false);
- setDefaultValue("");
- setOptionsText("");
-
- toast.success(t("settings:customFields.createSuccess"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:customFields.createError"),
- );
- }
- }
-
- async function handleDelete(id: string) {
- try {
- setDeletingFieldId(id);
- await deleteCustomField({ id });
- toast.success(t("settings:customFields.deleteSuccess"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:customFields.deleteError"),
- );
- } finally {
- setDeletingFieldId(null);
- }
- }
-
- const handleDragStart = (
- e: React.DragEvent<HTMLDivElement>,
- index: number,
- ) => {
- if (isReordering) return;
-
- if (!pendingFields && customFields) {
- setPendingFields(customFields);
- }
-
- setDraggedIndex(index);
-
- dragPreviewRef.current?.remove();
-
- const sourceElement = e.currentTarget;
- const sourceRect = sourceElement.getBoundingClientRect();
-
- const dragPreview = sourceElement.cloneNode(true) as HTMLDivElement;
-
- dragPreview.setAttribute("aria-hidden", "true");
- dragPreview.inert = true;
-
- Object.assign(dragPreview.style, {
- position: "fixed",
- top: "-10000px",
- left: "-10000px",
- width: `${sourceRect.width}px`,
- height: `${sourceRect.height}px`,
- margin: "0",
- boxSizing: "border-box",
- overflow: "hidden",
- pointerEvents: "none",
- transform: "none",
- contain: "layout paint",
- });
-
- document.body.appendChild(dragPreview);
- dragPreviewRef.current = dragPreview;
-
- e.dataTransfer.effectAllowed = "move";
- e.dataTransfer.setData("text/plain", String(index));
- e.dataTransfer.setDragImage(
- dragPreview,
- e.clientX - sourceRect.left,
- e.clientY - sourceRect.top,
- );
- };
-
- const handleDragOver = (e: React.DragEvent, index: number) => {
- e.preventDefault();
-
- if (draggedIndex === null) return;
-
- const currentFields = pendingFields ?? customFields;
- if (!currentFields || draggedIndex === index) return;
-
- const reordered = [...currentFields];
- const [removed] = reordered.splice(draggedIndex, 1);
- reordered.splice(index, 0, removed);
-
- setPendingFields(reordered);
- setDraggedIndex(index);
- };
-
- const handleDragEnd = async () => {
- if (isReordering) return;
-
- const finalFields = pendingFields ?? customFields;
-
- setDraggedIndex(null);
-
- dragPreviewRef.current?.remove();
- dragPreviewRef.current = null;
-
- if (!finalFields) {
- setPendingFields(null);
- return;
- }
-
- if (pendingFields === null) {
- return;
- }
- if (isReordering) return;
-
- try {
- const updates = finalFields.map((col, i) => ({
- id: col.id,
- position: i,
- }));
-
- await reorderCustomFields({ projectId, fields: updates });
-
- setPendingFields(null);
- } catch (error) {
- setPendingFields(null);
-
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:customFields.reorderError"),
- );
- } finally {
- setIsReordering(false);
- }
- };
-
- const hasExtraInput =
- type === "dropdown" || type === "date" || type === "boolean";
-
- const dropdownOptions = useMemo(() => {
- return Array.from(
- new Set(
- optionsText
- .split(",")
- .map((v) => v.trim())
- .filter(Boolean),
- ),
- );
- }, [optionsText]);
-
- useEffect(() => {
- if (type !== "dropdown") {
- if (isMultiple) setIsMultiple(false);
- if (Array.isArray(defaultValue)) {
- setDefaultValue(defaultValue[0] ?? "");
- } else if (
- type !== "boolean" &&
- (defaultValue === "true" || defaultValue === "false")
- ) {
- setDefaultValue("");
- }
- return;
- }
-
- if (isMultiple) {
- if (!Array.isArray(defaultValue)) {
- setDefaultValue(defaultValue ? [defaultValue] : []);
- }
- } else {
- if (Array.isArray(defaultValue)) {
- setDefaultValue(defaultValue[0] ?? "");
- }
- }
- }, [isMultiple, type, defaultValue]);
-
- useEffect(() => {
- if (type !== "dropdown") return;
-
- if (isMultiple) {
- if (Array.isArray(defaultValue)) {
- const stillValid = defaultValue.filter((v) =>
- dropdownOptions.includes(v),
- );
- if (stillValid.length !== defaultValue.length) {
- setDefaultValue(stillValid);
- }
- }
- } else {
- if (typeof defaultValue === "string" && defaultValue !== "") {
- if (
- dropdownOptions.length === 0 ||
- !dropdownOptions.includes(defaultValue)
- ) {
- setDefaultValue("");
- }
- }
- }
- }, [dropdownOptions, isMultiple, type, defaultValue]);
-
- const currentType = CUSTOM_FIELD_TYPES.find((t) => t.value === type);
- const CurrentIcon = currentType?.icon || Type;
-
- const fieldsToRender = pendingFields ?? customFields;
-
- return (
- <div className="space-y-3">
- <div className="space-y-1">
- {customFieldsLoading ? (
- <div className="text-sm text-muted-foreground">
- {t("settings:customFields.loading")}
- </div>
- ) : fieldsToRender.length === 0 ? (
- <div className="text-sm text-muted-foreground rounded-xl border border-border bg-card p-4">
- {t("settings:customFields.empty")}
- </div>
- ) : (
- fieldsToRender.map((field, index) => {
- const FieldType = CUSTOM_FIELD_TYPES.find(
- (t) => t.value === field.type,
- );
- const FieldIcon = FieldType?.icon || Type;
-
- const isDragging = draggedIndex === index;
- const isHovered = draggedIndex !== null && draggedIndex !== index;
-
- let defaultParsedValues: string[] | null = null;
- let defaultDisplayValue = field.defaultValue ?? "";
-
- if (field.defaultValue) {
- try {
- const parsed = JSON.parse(field.defaultValue);
- if (Array.isArray(parsed)) {
- defaultParsedValues = parsed;
- defaultDisplayValue = parsed.join(", ");
- }
- } catch {}
- }
-
- const defaultValueCanHover =
- Boolean(field.defaultValue) &&
- (field.type === "dropdown" || field.type === "multiselect") &&
- (defaultParsedValues
- ? defaultParsedValues.length > 0
- : Boolean(defaultDisplayValue));
-
- return (
- // eslint-disable-next-line jsx-a11y/prefer-tag-over-role -- false positive for role="listitem"
- <div
- key={field.id}
- role="listitem"
- draggable={!isReordering}
- onDragStart={(e) => handleDragStart(e, index)}
- onDragOver={(e) => handleDragOver(e, index)}
- onDragEnd={handleDragEnd}
- className={cn(
- "flex items-center gap-2 p-2 border border-border rounded-md bg-sidebar transition-colors active:cursor-grabbing",
- isDragging && "opacity-50 cursor-grabbing",
- isHovered && "bg-sidebar-accent",
- !isDragging && "hover:bg-sidebar-accent/50",
- )}
- >
- <GripVertical className="w-4 h-4 text-muted-foreground cursor-grab shrink-0" />
- <div className="min-w-0 flex-1">
- <div className="flex flex-wrap items-center gap-2">
- <FieldIcon className="w-4 h-4 text-muted-foreground shrink-0" />
- <span className="min-w-0 max-w-[16rem] truncate text-sm font-medium">
- {field.name}
- </span>
- <span className="shrink-0 rounded bg-muted px-2 py-0.5 text-xs text-muted-foreground">
- {t(`settings:customFields.types.${field.type}`)}
- </span>
- {field.required && (
- <span className="shrink-0 rounded bg-muted px-2 py-0.5 text-xs text-muted-foreground">
- {t("settings:customFields.required")}
- </span>
- )}
- {(field.type === "dropdown" ||
- field.type === "multiselect") &&
- field.options?.length ? (
- <HoverCard>
- <HoverCardTrigger asChild>
- <span className="shrink-0 inline-flex items-center gap-1 rounded bg-muted px-2 py-0.5 text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors">
- {t("settings:customFields.options", {
- count: field.options.length,
- })}
- </span>
- </HoverCardTrigger>
- <HoverCardContent
- className="w-64 max-w-[calc(100vw-3rem)] overflow-hidden"
- align="start"
- >
- <div className="min-w-0 space-y-1.5">
- <div className="text-xs font-medium text-muted-foreground">
- {t(
- "settings:customFields.availableOptions",
- "Available options",
- )}
- </div>
-
- <div className="flex min-w-0 max-h-48 flex-wrap gap-1.5 overflow-y-auto overflow-x-hidden">
- {field.options.map((option) => (
- <span
- key={`field_${field.id}_option_${option}`}
- className="min-w-0 max-w-full whitespace-normal break-all rounded bg-secondary px-2.5 py-1 text-xs"
- >
- {option}
- </span>
- ))}
- </div>
- </div>
- </HoverCardContent>
- </HoverCard>
- ) : null}
- {field.defaultValue &&
- (defaultValueCanHover ? (
- <HoverCard>
- <HoverCardTrigger asChild>
- <span className="shrink-0 inline-flex items-center gap-1 rounded bg-muted px-2 py-0.5 text-xs text-muted-foreground cursor-pointer hover:bg-muted/80 transition-colors">
- {t("settings:customFields.defaultValues", {
- count: defaultParsedValues?.length ?? 1,
- })}
- </span>
- </HoverCardTrigger>
- <HoverCardContent
- className="w-64 max-w-[calc(100vw-3rem)] overflow-hidden"
- align="start"
- >
- <div className="min-w-0 space-y-1.5">
- <div className="text-xs font-medium text-muted-foreground">
- {t("settings:customFields.defaultLabel")}
- </div>
-
- {defaultParsedValues ? (
- <div className="flex min-w-0 max-h-48 flex-wrap gap-1.5 overflow-y-auto overflow-x-hidden">
- {defaultParsedValues.map((value) => (
- <span
- key={`field_${field.id}_default_${value}`}
- className="min-w-0 max-w-full whitespace-normal break-all rounded bg-secondary px-2.5 py-1 text-xs"
- >
- {value}
- </span>
- ))}
- </div>
- ) : (
- <p className="min-w-0 max-w-full whitespace-normal break-words text-xs text-foreground">
- {defaultDisplayValue}
- </p>
- )}
- </div>
- </HoverCardContent>
- </HoverCard>
- ) : (
- <span className="min-w-0 max-w-[12rem] truncate text-xs text-muted-foreground">
- {t("settings:customFields.defaultLabel")}:{" "}
- <span className="text-foreground">
- {defaultDisplayValue}
- </span>
- </span>
- ))}
- </div>
- </div>
- <Button
- type="button"
- variant="ghost"
- size="sm"
- disabled={deletingField || deletingFieldId === field.id}
- onClick={() => void handleDelete(field.id)}
- className="h-7 w-7 p-0 text-muted-foreground hover:text-destructive shrink-0"
- >
- <Trash2 className="w-3.5 h-3.5" />
- <span className="sr-only">
- {t("settings:customFields.deleteButton")}
- </span>
- </Button>
- </div>
- );
- })
- )}
- </div>
-
- <div className="flex items-center gap-2 w-full">
- <Popover>
- <PopoverTrigger asChild>
- <Button
- type="button"
- variant="outline"
- size="sm"
- className="h-8 w-8 p-0 shrink-0"
- title={t("settings:customFields.typePlaceholder")}
- >
- <CurrentIcon className="h-4 w-4" />
- </Button>
- </PopoverTrigger>
- <PopoverContent className="w-48" align="start">
- <div className="space-y-1 px-0.5 py-1">
- {CUSTOM_FIELD_TYPES.filter((item) => item.availableOnTask).map(
- (item) => {
- const Icon = item.icon;
- return (
- <Button
- key={item.value}
- type="button"
- variant="ghost"
- size="sm"
- onClick={() => setType(item.value)}
- className={cn(
- "w-full justify-start gap-2 text-sm rounded-sm",
- type === item.value &&
- "bg-sidebar-accent text-sidebar-accent-foreground",
- )}
- >
- <Icon className="h-4 w-4" />
- {t(`settings:customFields.types.${item.value}`)}
- </Button>
- );
- },
- )}
- </div>
- </PopoverContent>
- </Popover>
-
- <Input
- value={name}
- onChange={(e) => setName(e.target.value)}
- placeholder={t("settings:customFields.namePlaceholder")}
- className={cn(
- "h-8 text-sm",
- hasExtraInput ? "w-32 flex-[2_0_0]" : "flex-1",
- )}
- />
-
- {type === "dropdown" && (
- <Input
- value={optionsText}
- onChange={(e) => setOptionsText(e.target.value)}
- placeholder={t("settings:customFields.optionsPlaceholder")}
- className="h-8 text-base sm:text-sm w-48 flex-[2_0_0]"
- />
- )}
-
- {type === "date" && (
- <Popover>
- <PopoverTrigger asChild>
- <Button
- variant="outline"
- className={cn(
- "h-8 w-48 flex-[2_0_0] justify-start bg-background text-left text-sm font-normal",
- !(typeof defaultValue === "string" && defaultValue) &&
- "text-muted-foreground",
- )}
- >
- <CalendarIcon className="mr-2 h-4 w-4 opacity-70" />
- {typeof defaultValue === "string" &&
- defaultValue &&
- isValid(parseISO(defaultValue))
- ? format(parseISO(defaultValue), "dd MMM yyyy")
- : t("tasks:detail.pickDate", "Pick a date")}
- </Button>
- </PopoverTrigger>
- <PopoverContent side="bottom" align="start" className="w-auto p-0">
- <Calendar
- mode="single"
- selected={
- typeof defaultValue === "string" &&
- defaultValue &&
- isValid(parseISO(defaultValue))
- ? parseISO(defaultValue)
- : undefined
- }
- onSelect={(date) => {
- setDefaultValue(date ? format(date, "yyyy-MM-dd") : "");
- }}
- captionLayout="dropdown"
- />
- </PopoverContent>
- </Popover>
- )}
-
- {type === "boolean" ? (
- <div className="inline-flex h-8 w-48 flex-[2_0_0] items-center overflow-hidden rounded-lg border text-xs">
- {(["true", "false"] as const).map((val) => {
- const isSelected = defaultValue === val;
- return (
- <button
- key={val}
- type="button"
- onClick={() => setDefaultValue(val)}
- className={cn(
- "flex-1 h-full flex items-center justify-center capitalize transition-colors",
- isSelected
- ? "bg-foreground text-background font-medium"
- : "text-muted-foreground hover:bg-muted",
- )}
- aria-pressed={isSelected}
- >
- {val === "true"
- ? t("common:boolean.true", "True")
- : t("common:boolean.false", "False")}
- </button>
- );
- })}
- </div>
- ) : type === "dropdown" ? (
- <>
- <Combobox
- key={isMultiple ? "multi" : "single"}
- multiple={isMultiple}
- autoHighlight
- items={dropdownOptions}
- value={
- isMultiple
- ? Array.isArray(defaultValue)
- ? defaultValue
- : []
- : typeof defaultValue === "string"
- ? defaultValue
- : ""
- }
- onValueChange={(value) => {
- setDefaultValue(isMultiple ? (value ?? []) : (value ?? ""));
- }}
- disabled={dropdownOptions.length === 0}
- >
- <ComboboxChips
- className={cn(
- "h-8 min-w-0 w-48 flex-[2_0_0] select-none cursor-default",
- "overflow-hidden",
- "flex-nowrap",
- )}
- >
- <ComboboxValue>
- {(values: string[] | string) => {
- const selected: string[] = isMultiple
- ? Array.isArray(values)
- ? values.filter((v) => v !== "")
- : []
- : typeof values === "string" && values !== ""
- ? [values]
- : [];
-
- const MAX_VISIBLE_CHIPS = 3;
- const visibleChips = selected.slice(0, MAX_VISIBLE_CHIPS);
- const hiddenCount = selected.length - MAX_VISIBLE_CHIPS;
-
- return (
- <>
- {visibleChips.map((value) => {
- if (isMultiple) {
- return (
- <div
- key={value}
- className={cn(
- "min-w-0 max-w-full flex-1 shrink basis-0",
- "inline-flex items-center overflow-hidden",
- "rounded-md bg-secondary px-1.5 py-0.5",
- "select-none cursor-default",
- )}
- >
- <span className="block min-w-0 max-w-full truncate text-xs text-secondary-foreground">
- {value}
- </span>
- </div>
- );
- }
- return (
- <div
- key={value}
- className={cn(
- "min-w-0 max-w-full flex-1 shrink basis-0",
- "inline-flex items-center overflow-hidden",
- "ps-1.5",
- "select-none cursor-default",
- )}
- >
- <span className="block min-w-0 max-w-full truncate text-xs">
- {value}
- </span>
- </div>
- );
- })}
-
- {selected.length > MAX_VISIBLE_CHIPS && (
- <HoverCard>
- <HoverCardTrigger asChild>
- <button
- type="button"
- className="shrink-0 inline-flex items-center gap-1 text-xs font-medium cursor-pointer text-foreground/50 pe-1"
- onClick={(e) => {
- e.stopPropagation();
- e.preventDefault();
- }}
- onPointerDown={(e) => {
- e.stopPropagation();
- e.preventDefault();
- }}
- >
- {t("settings:customFields.moreOptions", {
- hiddenCount,
- })}
- </button>
- </HoverCardTrigger>
-
- <HoverCardContent
- side="top"
- align="start"
- className="flex max-w-xs flex-wrap gap-1 overflow-hidden"
- >
- <div className="min-w-0 space-y-1.5">
- <div className="text-xs font-medium text-muted-foreground">
- {t(
- "settings:customFields.availableOptions",
- "Available options",
- )}
- </div>
-
- <div className="flex min-w-0 max-h-48 flex-wrap gap-x-1.5 gap-y-1.5 overflow-y-auto overflow-x-hidden">
- {selected
- .slice(MAX_VISIBLE_CHIPS)
- .map((value) => (
- <div
- key={value}
- className={cn(
- "min-w-0 max-w-full",
- "inline-flex items-center overflow-hidden",
- "rounded bg-secondary px-1.5 py-0.5",
- "select-none cursor-default",
- )}
- >
- <span className="block min-w-0 max-w-[14rem] truncate text-xs">
- {value}
- </span>
- </div>
- ))}
- </div>
- </div>
- </HoverCardContent>
- </HoverCard>
- )}
-
- <ComboboxChipsInput
- className={cn(
- "min-w-0 flex-1 caret-transparent",
- selected.length > 0 && "hidden",
- "pointer-events-none",
- "placeholder:text-foreground/50",
- isMultiple && "text-transparent",
- )}
- placeholder={
- dropdownOptions.length === 0
- ? t(
- "settings:customFields.noOptionsPlaceholder",
- "No options",
- )
- : selected.length === 0
- ? t(
- "settings:customFields.defaultValuePlaceholder",
- "Default value",
- )
- : undefined
- }
- />
-
- {!isMultiple && !required && selected.length > 0 && (
- <button
- type="button"
- className="ml-auto shrink-0 rounded-sm p-0.5 text-muted-foreground hover:bg-muted hover:text-foreground"
- onMouseDown={(e) => {
- e.preventDefault();
- e.stopPropagation();
- }}
- onClick={(e) => {
- e.stopPropagation();
- setDefaultValue("");
- }}
- aria-label={t(
- "settings:customFields.clearDefault",
- "Clear",
- )}
- >
- <X className="h-3.5 w-3.5" />
- </button>
- )}
- </>
- );
- }}
- </ComboboxValue>
- </ComboboxChips>
-
- <ComboboxPopup>
- <ComboboxEmpty>
- {t(
- "settings:customFields.noOptionsPlaceholder",
- "No options",
- )}
- </ComboboxEmpty>
-
- <ComboboxList>
- {(option: string) => (
- <ComboboxItem
- className="min-w-0 max-w-full"
- key={`field_option_${option}`}
- value={option}
- >
- <span className="block max-w-38 truncate">{option}</span>
- </ComboboxItem>
- )}
- </ComboboxList>
- </ComboboxPopup>
- </Combobox>
- <Checkbox
- id="dropdown-multiple"
- checked={isMultiple}
- onCheckedChange={(checked) => {
- const next = Boolean(checked);
- setIsMultiple(next);
- setDefaultValue(next ? [] : "");
- }}
- className="h-4 w-4"
- />
- <label
- htmlFor="dropdown-multiple"
- className="text-xs text-muted-foreground whitespace-nowrap"
- >
- {t("settings:customFields.multiple")}
- </label>
- </>
- ) : type === "number" ? (
- <Input
- value={typeof defaultValue === "string" ? defaultValue : ""}
- type="number"
- onChange={(e) => setDefaultValue(e.target.value)}
- placeholder={t("settings:customFields.defaultValuePlaceholder")}
- className="h-8 text-base sm:text-sm w-48 flex-[2_0_0]"
- />
- ) : (
- type !== "date" && (
- <Input
- value={defaultValue}
- onChange={(e) => setDefaultValue(e.target.value)}
- placeholder={t("settings:customFields.defaultValuePlaceholder")}
- className="h-8 text-base sm:text-sm w-48 flex-[2_0_0]"
- />
- )
- )}
-
- <div className="flex items-center gap-2 shrink-0">
- <Checkbox
- id="required-field"
- checked={required}
- onCheckedChange={(checked) => setRequired(Boolean(checked))}
- className="h-4 w-4"
- />
- <label
- htmlFor="required-field"
- className="text-xs text-muted-foreground whitespace-nowrap"
- >
- {t("settings:customFields.required")}
- </label>
- </div>
-
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={handleCreate}
- disabled={
- !name.trim() ||
- savingField ||
- (required &&
- (Array.isArray(defaultValue)
- ? defaultValue.length === 0
- : !defaultValue)) ||
- (type === "dropdown" &&
- dropdownOptions.length < (isMultiple ? 2 : 1))
- }
- className="h-8 gap-1 shrink-0"
- >
- <Plus className="w-3.5 h-3.5" />
- {t("settings:customFields.addButton")}
- </Button>
- </div>
- </div>
- );
-}
diff --git a/apps/web/src/components/project/custom-fields/custom-field-list-skeleton.tsx b/apps/web/src/components/project/custom-fields/custom-field-list-skeleton.tsx
new file mode 100644
index 000000000..96346523b
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/custom-field-list-skeleton.tsx
@@ -0,0 +1,21 @@
+import { SettingsCard } from "@/components/settings/settings-card";
+import { Skeleton } from "@/components/ui/skeleton";
+
+const ROWS = ["a", "b", "c"];
+
+export function CustomFieldListSkeleton() {
+ return (
+ <SettingsCard aria-busy="true">
+ {ROWS.map((row) => (
+ <div key={row} className="flex items-center gap-3 px-4 py-3.5">
+ <Skeleton className="size-3.5" />
+ <Skeleton className="size-8 rounded-lg" />
+ <div className="space-y-1.5">
+ <Skeleton className="h-4 w-28" />
+ <Skeleton className="h-3 w-44" />
+ </div>
+ </div>
+ ))}
+ </SettingsCard>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/custom-field-list.test.tsx b/apps/web/src/components/project/custom-fields/custom-field-list.test.tsx
new file mode 100644
index 000000000..5babd21b3
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/custom-field-list.test.tsx
@@ -0,0 +1,174 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { CustomFieldList } from "@/components/project/custom-fields/custom-field-list";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+
+const m = vi.hoisted(() => ({
+ fields: [] as CustomFieldDefinition[] | undefined,
+ isLoading: false,
+ deleteField: vi.fn(),
+}));
+
+vi.mock("@/lib/i18n", () => ({ i18n: { t: (key: string) => key } }));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({
+ t: (key: string) => key,
+ i18n: { language: "en-US" },
+ }),
+}));
+vi.mock("@/lib/toast", () => ({ toast: { success: vi.fn(), error: vi.fn() } }));
+vi.mock(
+ "@/hooks/queries/custom-field/use-get-custom-fields-by-project",
+ () => ({
+ default: () => ({ data: m.fields, isLoading: m.isLoading }),
+ }),
+);
+vi.mock("@/hooks/mutations/custom-field/use-delete-custom-field", () => ({
+ default: () => ({ mutateAsync: m.deleteField, isPending: false }),
+}));
+vi.mock("@/hooks/mutations/custom-field/use-reorder-custom-field", () => ({
+ useReorderCustomFields: () => ({ mutateAsync: vi.fn() }),
+}));
+
+const size: CustomFieldDefinition = {
+ id: "f1",
+ projectId: "p1",
+ name: "Size",
+ type: "dropdown",
+ required: true,
+ defaultValue: "Medium",
+ options: ["Small", "Medium", "Large"],
+ position: 0,
+ createdAt: "",
+ updatedAt: "",
+};
+
+function renderList(canEdit = true) {
+ const onCreate = vi.fn();
+ const onEdit = vi.fn();
+ render(
+ <CustomFieldList
+ projectId="p1"
+ canEdit={canEdit}
+ onCreate={onCreate}
+ onEdit={onEdit}
+ />,
+ );
+ return { onCreate, onEdit };
+}
+
+describe("CustomFieldList", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ m.fields = [size];
+ m.isLoading = false;
+ m.deleteField.mockResolvedValue(size);
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ });
+ afterEach(cleanup);
+
+ it("describes each field and marks required ones", () => {
+ renderList();
+ expect(screen.getByText("Size")).toBeInTheDocument();
+ expect(
+ screen.getByText("settings:customFields.required"),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByText(
+ "settings:customFields.types.dropdown · Small, Medium, Large",
+ ),
+ ).toBeInTheDocument();
+ });
+
+ it("edits from the row menu and deletes only after confirming", async () => {
+ const { onEdit } = renderList();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:customFields.actionsAria" }),
+ );
+ fireEvent.click(
+ await screen.findByRole("menuitem", {
+ name: "settings:customFields.edit",
+ }),
+ );
+ expect(onEdit).toHaveBeenCalledWith(size);
+
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:customFields.actionsAria" }),
+ );
+ fireEvent.click(
+ await screen.findByRole("menuitem", { name: "common:actions.delete" }),
+ );
+ const confirm = await screen.findByRole("alertdialog");
+ expect(
+ within(confirm).getByText("settings:customFields.deleteDescription"),
+ ).toBeInTheDocument();
+ expect(m.deleteField).not.toHaveBeenCalled();
+
+ fireEvent.click(
+ within(confirm).getByRole("button", {
+ name: "settings:customFields.deleteConfirm",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.deleteField).toHaveBeenCalledWith({ id: "f1" }),
+ );
+ });
+
+ it("offers a new field from the empty state", () => {
+ m.fields = [];
+ const { onCreate } = renderList();
+ expect(
+ screen.getByText("settings:customFields.emptyTitle"),
+ ).toBeInTheDocument();
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:projectCustomFields.newField",
+ }),
+ );
+ expect(onCreate).toHaveBeenCalled();
+ });
+
+ it("hides editing controls without permission", () => {
+ renderList(false);
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:customFields.actionsAria",
+ }),
+ ).toBeNull();
+ expect(
+ screen.queryByRole("button", { name: "settings:customFields.dragAria" }),
+ ).toBeNull();
+ });
+
+ it("shows skeleton rows while loading", () => {
+ m.fields = undefined;
+ m.isLoading = true;
+ const { container } = render(
+ <CustomFieldList
+ projectId="p1"
+ canEdit
+ onCreate={vi.fn()}
+ onEdit={vi.fn()}
+ />,
+ );
+ expect(container.querySelector('[aria-busy="true"]')).not.toBeNull();
+ expect(screen.queryByText("settings:customFields.emptyTitle")).toBeNull();
+ });
+});
diff --git a/apps/web/src/components/project/custom-fields/custom-field-list.tsx b/apps/web/src/components/project/custom-fields/custom-field-list.tsx
new file mode 100644
index 000000000..a3ad2024d
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/custom-field-list.tsx
@@ -0,0 +1,121 @@
+import { List, Plus } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { CustomFieldListSkeleton } from "@/components/project/custom-fields/custom-field-list-skeleton";
+import { CustomFieldRow } from "@/components/project/custom-fields/custom-field-row";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+import { errorMessage } from "@/components/project/error-message";
+import { toPositions } from "@/components/project/sortable/apply-order";
+import { SortableList } from "@/components/project/sortable/sortable-list";
+import { useSortableOrder } from "@/components/project/sortable/use-sortable-order";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+import { Button } from "@/components/ui/button";
+import useDeleteCustomField from "@/hooks/mutations/custom-field/use-delete-custom-field";
+import { useReorderCustomFields } from "@/hooks/mutations/custom-field/use-reorder-custom-field";
+import useGetCustomFieldsByProject from "@/hooks/queries/custom-field/use-get-custom-fields-by-project";
+import { toast } from "@/lib/toast";
+
+type CustomFieldListProps = {
+ projectId: string;
+ canEdit: boolean;
+ onCreate: () => void;
+ onEdit: (field: CustomFieldDefinition) => void;
+};
+
+const NO_FIELDS: CustomFieldDefinition[] = [];
+
+export function CustomFieldList({
+ projectId,
+ canEdit,
+ onCreate,
+ onEdit,
+}: CustomFieldListProps) {
+ const { t } = useTranslation();
+ const { data, isLoading } = useGetCustomFieldsByProject(projectId);
+ const fields = (data as CustomFieldDefinition[] | undefined) ?? NO_FIELDS;
+ const { mutateAsync: reorderFields } = useReorderCustomFields();
+ const { mutateAsync: deleteField, isPending: deleting } =
+ useDeleteCustomField(projectId);
+ const [pendingDelete, setPendingDelete] =
+ useState<CustomFieldDefinition | null>(null);
+
+ const { ordered, move } = useSortableOrder(fields, async (next) => {
+ try {
+ await reorderFields({ projectId, fields: toPositions(next) });
+ } catch (error) {
+ toast.error(errorMessage(error, t("settings:customFields.reorderError")));
+ }
+ });
+
+ const confirmDelete = async () => {
+ if (!pendingDelete) return;
+ try {
+ await deleteField({ id: pendingDelete.id });
+ setPendingDelete(null);
+ toast.success(t("settings:customFields.deleteSuccess"));
+ } catch (error) {
+ toast.error(errorMessage(error, t("settings:customFields.deleteError")));
+ }
+ };
+
+ if (isLoading) return <CustomFieldListSkeleton />;
+
+ if (ordered.length === 0) {
+ return (
+ <SettingsCard>
+ <SettingsEmpty
+ icon={<List />}
+ title={t("settings:customFields.emptyTitle")}
+ description={t("settings:customFields.emptyDescription")}
+ action={
+ canEdit ? (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={onCreate}
+ >
+ <Plus aria-hidden="true" />
+ {t("settings:projectCustomFields.newField")}
+ </Button>
+ ) : undefined
+ }
+ />
+ </SettingsCard>
+ );
+ }
+
+ return (
+ <>
+ <SettingsCard>
+ <SortableList ids={ordered.map((field) => field.id)} onMove={move}>
+ {ordered.map((field) => (
+ <CustomFieldRow
+ key={field.id}
+ field={field}
+ canEdit={canEdit}
+ onEdit={() => onEdit(field)}
+ onDelete={() => setPendingDelete(field)}
+ />
+ ))}
+ </SortableList>
+ </SettingsCard>
+ <ConfirmDialog
+ open={pendingDelete !== null}
+ onOpenChange={(open) => {
+ if (!open) setPendingDelete(null);
+ }}
+ title={t("settings:customFields.deleteTitle", {
+ name: pendingDelete?.name ?? "",
+ })}
+ description={t("settings:customFields.deleteDescription")}
+ confirmLabel={t("settings:customFields.deleteConfirm")}
+ pendingLabel={t("common:actions.deleting")}
+ pending={deleting}
+ onConfirm={() => void confirmDelete()}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/custom-field-row.tsx b/apps/web/src/components/project/custom-fields/custom-field-row.tsx
new file mode 100644
index 000000000..2afdb56fc
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/custom-field-row.tsx
@@ -0,0 +1,88 @@
+import { Pencil, Trash2 } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { describeCustomField } from "@/components/project/custom-fields/describe-custom-field";
+import {
+ FIELD_KIND_ICONS,
+ toFieldKind,
+} from "@/components/project/custom-fields/field-kinds";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+import { DragHandle } from "@/components/project/sortable/drag-handle";
+import { useSortableRow } from "@/components/project/sortable/use-sortable-row";
+import { RowActionsMenu } from "@/components/settings/row-actions-menu";
+import { SettingsIconTile } from "@/components/settings/settings-icon-tile";
+import { Badge } from "@/components/ui/badge";
+import { cn } from "@/lib/cn";
+
+type CustomFieldRowProps = {
+ field: CustomFieldDefinition;
+ canEdit: boolean;
+ onEdit: () => void;
+ onDelete: () => void;
+};
+
+export function CustomFieldRow({
+ field,
+ canEdit,
+ onEdit,
+ onDelete,
+}: CustomFieldRowProps) {
+ const { t, i18n } = useTranslation();
+ const { rowRef, rowStyle, isDragging, handleProps } = useSortableRow(
+ field.id,
+ !canEdit,
+ );
+ const Icon = FIELD_KIND_ICONS[toFieldKind(field.type)];
+
+ return (
+ <div
+ ref={rowRef}
+ style={rowStyle}
+ className={cn(
+ "group/row flex items-center gap-3 bg-card px-4 py-3.5",
+ isDragging && "relative z-10 shadow-sm",
+ )}
+ >
+ <DragHandle
+ label={t("settings:customFields.dragAria", { name: field.name })}
+ handleProps={handleProps}
+ disabled={!canEdit}
+ />
+ <SettingsIconTile>
+ <Icon />
+ </SettingsIconTile>
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <div className="flex min-w-0 items-center gap-2">
+ <p className="truncate text-sm font-medium">{field.name}</p>
+ {field.required ? (
+ <Badge variant="outline" className="text-muted-foreground">
+ {t("settings:customFields.required")}
+ </Badge>
+ ) : null}
+ </div>
+ <p className="truncate text-xs text-muted-foreground">
+ {describeCustomField(field, t, i18n?.language)}
+ </p>
+ </div>
+ {canEdit ? (
+ <RowActionsMenu
+ label={t("settings:customFields.actionsAria", { name: field.name })}
+ actions={[
+ {
+ id: "edit",
+ label: t("settings:customFields.edit"),
+ icon: Pencil,
+ onSelect: onEdit,
+ },
+ {
+ id: "delete",
+ label: t("common:actions.delete"),
+ icon: Trash2,
+ onSelect: onDelete,
+ destructive: true,
+ },
+ ]}
+ />
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/custom-fields-page.tsx b/apps/web/src/components/project/custom-fields/custom-fields-page.tsx
new file mode 100644
index 000000000..49fbc9e35
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/custom-fields-page.tsx
@@ -0,0 +1,86 @@
+import { Plus } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { CustomFieldList } from "@/components/project/custom-fields/custom-field-list";
+import { CustomFieldDialog } from "@/components/project/custom-fields/field-dialog/custom-field-dialog";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useGetProject from "@/hooks/queries/project/use-get-project";
+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+
+type CustomFieldsPageProps = {
+ projectId: string;
+};
+
+type DialogState = {
+ open: boolean;
+ field: CustomFieldDefinition | null;
+ key: number;
+};
+
+export function CustomFieldsPage({ projectId }: CustomFieldsPageProps) {
+ const { t } = useTranslation();
+ const { data: workspace } = useActiveWorkspace();
+ const { data: project } = useGetProject({
+ id: projectId,
+ workspaceId: workspace?.id ?? "",
+ });
+ const { canUpdateProjects } = useWorkspacePermission();
+ const canEdit = canUpdateProjects();
+ const [dialog, setDialog] = useState<DialogState>({
+ open: false,
+ field: null,
+ key: 0,
+ });
+ const projectName = project?.name;
+
+ const openDialog = (field: CustomFieldDefinition | null) =>
+ setDialog((current) => ({ open: true, field, key: current.key + 1 }));
+
+ return (
+ <SettingsPage
+ title={t("settings:projectCustomFields.title")}
+ description={
+ projectName
+ ? t("settings:projectCustomFields.subtitle", { project: projectName })
+ : t("settings:projectCustomFields.subtitleFallback")
+ }
+ actions={
+ canEdit ? (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() => openDialog(null)}
+ >
+ <Plus aria-hidden="true" />
+ {t("settings:projectCustomFields.newField")}
+ </Button>
+ ) : undefined
+ }
+ >
+ <SettingsSection
+ title={t("settings:projectCustomFields.fieldsTitle")}
+ description={t("settings:projectCustomFields.fieldsDescription")}
+ >
+ <CustomFieldList
+ projectId={projectId}
+ canEdit={canEdit}
+ onCreate={() => openDialog(null)}
+ onEdit={openDialog}
+ />
+ </SettingsSection>
+ <CustomFieldDialog
+ key={dialog.key}
+ projectId={projectId}
+ projectName={projectName}
+ field={dialog.field}
+ open={dialog.open}
+ onOpenChange={(open) => setDialog((current) => ({ ...current, open }))}
+ />
+ </SettingsPage>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/describe-custom-field.test.ts b/apps/web/src/components/project/custom-fields/describe-custom-field.test.ts
new file mode 100644
index 000000000..ced7a7957
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/describe-custom-field.test.ts
@@ -0,0 +1,86 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ describeCustomField,
+ formatDateDefault,
+} from "@/components/project/custom-fields/describe-custom-field";
+
+const english: Record<string, string> = {
+ "settings:customFields.types.text": "Text",
+ "settings:customFields.types.number": "Number",
+ "settings:customFields.types.date": "Date",
+ "settings:customFields.types.dropdown": "Dropdown",
+ "settings:customFields.types.multiselect": "Dropdown, pick several",
+ "settings:customFields.types.boolean": "Checkbox",
+ "settings:customFields.moreOptions": "+{{hiddenCount}} more",
+ "settings:customFields.startsAs": "Starts as “{{value}}”",
+ "settings:customFields.startsAt": "Starts at {{value}}",
+ "settings:customFields.startsOn": "Starts on {{date}}",
+ "settings:customFields.startsChecked": "Starts checked",
+ "settings:customFields.startsUnchecked": "Starts unchecked",
+};
+
+const t = (key: string, options: Record<string, unknown> = {}) =>
+ (english[key] ?? key).replace(/\{\{(\w+)\}\}/g, (_, name: string) =>
+ String(options[name]),
+ );
+
+function describeField(
+ type: Parameters<typeof describeCustomField>[0]["type"],
+ defaultValue: string | null = null,
+ options: string[] | null = null,
+) {
+ return describeCustomField({ type, defaultValue, options }, t, "en-US");
+}
+
+describe("describeCustomField", () => {
+ it("lists dropdown options", () => {
+ expect(
+ describeField("dropdown", "Medium", ["Small", "Medium", "Large"]),
+ ).toBe("Dropdown · Small, Medium, Large");
+ expect(describeField("multiselect", null, ["iOS", "Android", "Web"])).toBe(
+ "Dropdown, pick several · iOS, Android, Web",
+ );
+ });
+
+ it("truncates long option lists", () => {
+ expect(describeField("dropdown", null, ["XS", "S", "M", "L", "XL"])).toBe(
+ "Dropdown · XS, S, M +2 more",
+ );
+ });
+
+ it("mentions the starting value", () => {
+ expect(describeField("text", "Internal")).toBe(
+ "Text · Starts as “Internal”",
+ );
+ expect(describeField("number", "5")).toBe("Number · Starts at 5");
+ expect(describeField("date", "2026-03-12")).toBe(
+ "Date · Starts on Mar 12, 2026",
+ );
+ });
+
+ it("keeps fields without a default short", () => {
+ expect(describeField("text")).toBe("Text");
+ expect(describeField("number", " ")).toBe("Number");
+ expect(describeField("date")).toBe("Date");
+ });
+
+ it("describes checkbox defaults", () => {
+ expect(describeField("boolean", "true")).toBe("Checkbox · Starts checked");
+ expect(describeField("boolean", "false")).toBe(
+ "Checkbox · Starts unchecked",
+ );
+ expect(describeField("boolean")).toBe("Checkbox · Starts unchecked");
+ });
+});
+
+describe("formatDateDefault", () => {
+ it("formats the calendar day without shifting time zones", () => {
+ expect(formatDateDefault("2026-01-01T23:30:00-05:00", "en-US")).toBe(
+ "Jan 1, 2026",
+ );
+ });
+
+ it("returns values it cannot read unchanged", () => {
+ expect(formatDateDefault("soon", "en-US")).toBe("soon");
+ });
+});
diff --git a/apps/web/src/components/project/custom-fields/describe-custom-field.ts b/apps/web/src/components/project/custom-fields/describe-custom-field.ts
new file mode 100644
index 000000000..4fd5ea8e2
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/describe-custom-field.ts
@@ -0,0 +1,73 @@
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+
+type Translate = (key: string, options?: Record<string, unknown>) => string;
+
+type DescribedField = Pick<
+ CustomFieldDefinition,
+ "type" | "defaultValue" | "options"
+>;
+
+const MAX_LISTED_OPTIONS = 3;
+const SEPARATOR = " · ";
+
+export function describeOptions(options: string[] | null, t: Translate) {
+ const list = options ?? [];
+ const shown = list.slice(0, MAX_LISTED_OPTIONS).join(", ");
+ const hiddenCount = list.length - MAX_LISTED_OPTIONS;
+
+ return hiddenCount > 0
+ ? `${shown} ${t("settings:customFields.moreOptions", { hiddenCount })}`
+ : shown;
+}
+
+export function formatDateDefault(value: string, locale?: string) {
+ const match = /^(\d{4})-(\d{2})-(\d{2})/.exec(value);
+ if (!match) return value;
+
+ const date = new Date(
+ Date.UTC(Number(match[1]), Number(match[2]) - 1, Number(match[3])),
+ );
+ try {
+ return new Intl.DateTimeFormat(locale, {
+ dateStyle: "medium",
+ timeZone: "UTC",
+ }).format(date);
+ } catch {
+ return match[0];
+ }
+}
+
+function describeDefault(field: DescribedField, t: Translate, locale?: string) {
+ const value = field.defaultValue?.trim() ?? "";
+
+ switch (field.type) {
+ case "dropdown":
+ case "multiselect":
+ return describeOptions(field.options, t);
+ case "boolean":
+ return value === "true"
+ ? t("settings:customFields.startsChecked")
+ : t("settings:customFields.startsUnchecked");
+ case "text":
+ return value ? t("settings:customFields.startsAs", { value }) : "";
+ case "number":
+ return value ? t("settings:customFields.startsAt", { value }) : "";
+ case "date":
+ return value
+ ? t("settings:customFields.startsOn", {
+ date: formatDateDefault(value, locale),
+ })
+ : "";
+ }
+}
+
+export function describeCustomField(
+ field: DescribedField,
+ t: Translate,
+ locale?: string,
+) {
+ const typeLabel = t(`settings:customFields.types.${field.type}`);
+ const detail = describeDefault(field, t, locale);
+
+ return detail ? `${typeLabel}${SEPARATOR}${detail}` : typeLabel;
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/add-option-input.tsx b/apps/web/src/components/project/custom-fields/field-dialog/add-option-input.tsx
new file mode 100644
index 000000000..681db3ed1
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/add-option-input.tsx
@@ -0,0 +1,42 @@
+import { Plus } from "lucide-react";
+import { type KeyboardEvent, useState } from "react";
+import { useTranslation } from "react-i18next";
+
+type AddOptionInputProps = {
+ onAdd: (option: string) => void;
+};
+
+export function AddOptionInput({ onAdd }: AddOptionInputProps) {
+ const { t } = useTranslation();
+ const [value, setValue] = useState("");
+
+ const add = () => {
+ if (!value.trim()) return;
+ onAdd(value);
+ setValue("");
+ };
+
+ const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {
+ if (event.key !== "Enter") return;
+ event.preventDefault();
+ add();
+ };
+
+ return (
+ <div className="flex h-9 items-center gap-2.5 px-2.5">
+ <Plus
+ aria-hidden="true"
+ className="size-3.5 shrink-0 text-muted-foreground"
+ />
+ <input
+ value={value}
+ onChange={(event) => setValue(event.target.value)}
+ onKeyDown={handleKeyDown}
+ onBlur={add}
+ placeholder={t("settings:customFields.addOption")}
+ aria-label={t("settings:customFields.addOption")}
+ className="h-full min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground"
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/checkbox-default-select.tsx b/apps/web/src/components/project/custom-fields/field-dialog/checkbox-default-select.tsx
new file mode 100644
index 000000000..cd1faac33
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/checkbox-default-select.tsx
@@ -0,0 +1,50 @@
+import { useTranslation } from "react-i18next";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+
+type CheckboxDefaultSelectProps = {
+ value: string;
+ labelledBy: string;
+ onChange: (value: string) => void;
+};
+
+export function CheckboxDefaultSelect({
+ value,
+ labelledBy,
+ onChange,
+}: CheckboxDefaultSelectProps) {
+ const { t } = useTranslation();
+ const checked = value === "true";
+
+ return (
+ <Select
+ value={checked ? "true" : "false"}
+ onValueChange={(next) => onChange(next === "true" ? "true" : "false")}
+ >
+ <SelectTrigger
+ size="sm"
+ aria-labelledby={labelledBy}
+ className="w-full sm:w-48"
+ >
+ <SelectValue>
+ {checked
+ ? t("settings:customFields.checked")
+ : t("settings:customFields.unchecked")}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ <SelectItem value="false">
+ {t("settings:customFields.unchecked")}
+ </SelectItem>
+ <SelectItem value="true">
+ {t("settings:customFields.checked")}
+ </SelectItem>
+ </SelectContent>
+ </Select>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/choice-default-select.tsx b/apps/web/src/components/project/custom-fields/field-dialog/choice-default-select.tsx
new file mode 100644
index 000000000..fc609e530
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/choice-default-select.tsx
@@ -0,0 +1,61 @@
+import { useTranslation } from "react-i18next";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+
+const NO_DEFAULT = "__none__";
+
+type ChoiceDefaultSelectProps = {
+ options: string[];
+ value: string;
+ labelledBy: string;
+ clearable: boolean;
+ onChange: (value: string) => void;
+};
+
+export function ChoiceDefaultSelect({
+ options,
+ value,
+ labelledBy,
+ clearable,
+ onChange,
+}: ChoiceDefaultSelectProps) {
+ const { t } = useTranslation();
+ const noDefault = (
+ <span className="text-muted-foreground">
+ {t("settings:customFields.noDefault")}
+ </span>
+ );
+
+ return (
+ <Select
+ value={value || NO_DEFAULT}
+ disabled={options.length === 0}
+ onValueChange={(next) =>
+ onChange(!next || next === NO_DEFAULT ? "" : next)
+ }
+ >
+ <SelectTrigger
+ size="sm"
+ aria-labelledby={labelledBy}
+ className="w-full sm:w-48"
+ >
+ <SelectValue>{value || noDefault}</SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ {clearable ? (
+ <SelectItem value={NO_DEFAULT}>{noDefault}</SelectItem>
+ ) : null}
+ {options.map((option) => (
+ <SelectItem key={option} value={option}>
+ {option}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/custom-field-dialog.test.tsx b/apps/web/src/components/project/custom-fields/field-dialog/custom-field-dialog.test.tsx
new file mode 100644
index 000000000..70b583fba
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/custom-field-dialog.test.tsx
@@ -0,0 +1,228 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { CustomFieldDialog } from "@/components/project/custom-fields/field-dialog/custom-field-dialog";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+import { toast } from "@/lib/toast";
+
+const m = vi.hoisted(() => ({
+ createField: vi.fn(),
+ updateField: vi.fn(),
+}));
+
+vi.mock("@/lib/i18n", () => ({ i18n: { t: (key: string) => key } }));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({
+ t: (key: string) => key,
+ i18n: { language: "en-US" },
+ }),
+}));
+vi.mock("@/store/user-preferences", () => ({
+ useUserPreferencesStore: () => 1,
+}));
+vi.mock("@/lib/toast", () => ({ toast: { success: vi.fn(), error: vi.fn() } }));
+vi.mock("@/hooks/mutations/custom-field/use-create-custom-field", () => ({
+ default: () => ({ mutateAsync: m.createField, isPending: false }),
+}));
+vi.mock("@/hooks/mutations/custom-field/use-update-custom-field", () => ({
+ default: () => ({ mutateAsync: m.updateField, isPending: false }),
+}));
+
+const platforms: CustomFieldDefinition = {
+ id: "f1",
+ projectId: "p1",
+ name: "Platforms",
+ type: "multiselect",
+ required: false,
+ defaultValue: '["Web"]',
+ options: ["iOS", "Web"],
+ position: 0,
+ createdAt: "",
+ updatedAt: "",
+};
+
+function renderDialog(field: CustomFieldDefinition | null = null) {
+ const onOpenChange = vi.fn();
+ render(
+ <CustomFieldDialog
+ projectId="p1"
+ projectName="Website"
+ field={field}
+ open
+ onOpenChange={onOpenChange}
+ />,
+ );
+ return { dialog: screen.getByRole("dialog"), onOpenChange };
+}
+
+describe("CustomFieldDialog", () => {
+ beforeEach(() => {
+ vi.clearAllMocks();
+ m.createField.mockResolvedValue({});
+ m.updateField.mockResolvedValue({});
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ vi.stubGlobal(
+ "ResizeObserver",
+ class {
+ observe() {}
+ unobserve() {}
+ disconnect() {}
+ },
+ );
+ });
+ afterEach(() => {
+ cleanup();
+ vi.unstubAllGlobals();
+ });
+
+ it("creates a dropdown with options added from the keyboard", async () => {
+ const { dialog, onOpenChange } = renderDialog();
+ const create = within(dialog).getByRole("button", {
+ name: "settings:customFields.createField",
+ });
+ expect(create).toBeDisabled();
+
+ fireEvent.click(
+ within(dialog).getByRole("radio", {
+ name: "settings:customFields.types.dropdown",
+ }),
+ );
+ fireEvent.change(
+ within(dialog).getByRole("textbox", {
+ name: "settings:customFields.nameLabel",
+ }),
+ { target: { value: " Size " } },
+ );
+ expect(
+ within(dialog).getByText("settings:customFields.issues.optionsRequired"),
+ ).toBeInTheDocument();
+
+ const addOption = within(dialog).getByRole("textbox", {
+ name: "settings:customFields.addOption",
+ });
+ for (const option of ["Small", "Large", "Small"]) {
+ fireEvent.change(addOption, { target: { value: option } });
+ fireEvent.keyDown(addOption, { key: "Enter" });
+ }
+ expect(
+ within(dialog).getAllByRole("textbox", {
+ name: "settings:customFields.renameOptionAria",
+ }),
+ ).toHaveLength(2);
+
+ fireEvent.click(create);
+ await waitFor(() =>
+ expect(m.createField).toHaveBeenCalledWith({
+ projectId: "p1",
+ name: "Size",
+ type: "dropdown",
+ required: false,
+ defaultValue: undefined,
+ options: ["Small", "Large"],
+ }),
+ );
+ expect(toast.success).toHaveBeenCalledWith(
+ "settings:customFields.createSuccess",
+ );
+ expect(onOpenChange).toHaveBeenCalledWith(false);
+ });
+
+ it("needs a default before a field can be required", () => {
+ const { dialog } = renderDialog();
+ fireEvent.change(
+ within(dialog).getByRole("textbox", {
+ name: "settings:customFields.nameLabel",
+ }),
+ { target: { value: "Customer" } },
+ );
+ fireEvent.click(
+ within(dialog).getByRole("switch", {
+ name: "settings:customFields.required",
+ }),
+ );
+ expect(
+ within(dialog).getByText("settings:customFields.issues.defaultRequired"),
+ ).toBeInTheDocument();
+ expect(
+ within(dialog).getByRole("button", {
+ name: "settings:customFields.createField",
+ }),
+ ).toBeDisabled();
+ });
+
+ it("locks the type when editing and saves with the update endpoint", async () => {
+ const { dialog } = renderDialog(platforms);
+ expect(
+ within(dialog).getByText("settings:customFields.typeLocked"),
+ ).toBeInTheDocument();
+ const dropdown = within(dialog).getByRole("radio", {
+ name: "settings:customFields.types.dropdown",
+ });
+ expect(dropdown).toHaveAttribute("aria-checked", "true");
+ expect(dropdown).toHaveAttribute("data-disabled");
+
+ fireEvent.click(
+ within(dialog).getAllByRole("button", {
+ name: "settings:customFields.removeOptionAria",
+ })[1],
+ );
+ const addOption = within(dialog).getByRole("textbox", {
+ name: "settings:customFields.addOption",
+ });
+ fireEvent.change(addOption, { target: { value: "Android" } });
+ fireEvent.keyDown(addOption, { key: "Enter" });
+
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:customFields.save",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.updateField).toHaveBeenCalledWith({
+ id: "f1",
+ data: {
+ name: "Platforms",
+ type: "multiselect",
+ required: false,
+ defaultValue: null,
+ options: ["iOS", "Android"],
+ },
+ }),
+ );
+ expect(m.createField).not.toHaveBeenCalled();
+ });
+
+ it("keeps the dialog open and shows the API error", async () => {
+ m.updateField.mockRejectedValue(
+ new Error('Can\'t remove "Web" because tasks still use it.'),
+ );
+ const { dialog, onOpenChange } = renderDialog(platforms);
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:customFields.save",
+ }),
+ );
+ await waitFor(() =>
+ expect(toast.error).toHaveBeenCalledWith(
+ 'Can\'t remove "Web" because tasks still use it.',
+ ),
+ );
+ expect(onOpenChange).not.toHaveBeenCalledWith(false);
+ });
+});
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/custom-field-dialog.tsx b/apps/web/src/components/project/custom-fields/field-dialog/custom-field-dialog.tsx
new file mode 100644
index 000000000..13a0c1cc5
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/custom-field-dialog.tsx
@@ -0,0 +1,218 @@
+import { type FormEvent, useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import {
+ addOption,
+ formFromField,
+ getFormIssue,
+ moveOption,
+ removeOption,
+ renameOption,
+ setKind,
+ setMultiple,
+ toCreatePayload,
+ toUpdatePayload,
+} from "@/components/project/custom-fields/field-dialog/field-form";
+import { FieldOptionsEditor } from "@/components/project/custom-fields/field-dialog/field-options-editor";
+import { FieldSettingsBox } from "@/components/project/custom-fields/field-dialog/field-settings-box";
+import { FieldTypePicker } from "@/components/project/custom-fields/field-dialog/field-type-picker";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+import { errorMessage } from "@/components/project/error-message";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+import useCreateCustomField from "@/hooks/mutations/custom-field/use-create-custom-field";
+import useUpdateCustomField from "@/hooks/mutations/custom-field/use-update-custom-field";
+import { toast } from "@/lib/toast";
+
+type CustomFieldDialogProps = {
+ projectId: string;
+ projectName?: string;
+ field: CustomFieldDefinition | null;
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+};
+
+function submitLabelKey(editing: boolean, pending: boolean) {
+ if (editing) {
+ return pending
+ ? "settings:customFields.saving"
+ : "settings:customFields.save";
+ }
+ return pending
+ ? "settings:customFields.creating"
+ : "settings:customFields.createField";
+}
+
+export function CustomFieldDialog({
+ projectId,
+ projectName,
+ field,
+ open,
+ onOpenChange,
+}: CustomFieldDialogProps) {
+ const { t } = useTranslation();
+ const [form, setForm] = useState(() => formFromField(field));
+ const { mutateAsync: createField, isPending: creating } =
+ useCreateCustomField();
+ const { mutateAsync: updateField, isPending: updating } =
+ useUpdateCustomField(projectId);
+ const typeLabelId = useId();
+ const nameId = useId();
+ const optionsLabelId = useId();
+ const editing = field !== null;
+ const pending = creating || updating;
+ const issue = getFormIssue(form);
+
+ const submit = async (event: FormEvent<HTMLFormElement>) => {
+ event.preventDefault();
+ if (issue || pending) return;
+
+ try {
+ if (field) {
+ await updateField({ id: field.id, data: toUpdatePayload(form) });
+ toast.success(t("settings:customFields.updateSuccess"));
+ } else {
+ await createField(toCreatePayload(form, projectId));
+ toast.success(t("settings:customFields.createSuccess"));
+ }
+ onOpenChange(false);
+ } catch (error) {
+ toast.error(
+ errorMessage(
+ error,
+ t(
+ field
+ ? "settings:customFields.updateError"
+ : "settings:customFields.createError",
+ ),
+ ),
+ );
+ }
+ };
+
+ const rename = (from: string, to: string) => {
+ const next = renameOption(form, from, to);
+ if (next === form) return false;
+ setForm(next);
+ return true;
+ };
+
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ <DialogPopup className="sm:max-w-120">
+ <form className="contents" noValidate onSubmit={submit}>
+ <DialogHeader>
+ <DialogTitle>
+ {editing
+ ? t("settings:customFields.editTitle")
+ : t("settings:customFields.newTitle")}
+ </DialogTitle>
+ <DialogDescription>
+ {projectName
+ ? t("settings:customFields.dialogDescription", {
+ project: projectName,
+ })
+ : t("settings:customFields.dialogDescriptionFallback")}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel className="space-y-5">
+ <div className="space-y-2">
+ <p id={typeLabelId} className="text-sm font-medium">
+ {t("settings:customFields.typeLabel")}
+ </p>
+ <FieldTypePicker
+ value={form.kind}
+ labelledBy={typeLabelId}
+ disabled={editing}
+ onChange={(kind) =>
+ setForm((current) => setKind(current, kind))
+ }
+ />
+ {editing ? (
+ <p className="text-xs text-muted-foreground">
+ {t("settings:customFields.typeLocked")}
+ </p>
+ ) : null}
+ </div>
+ <div className="space-y-2">
+ <Label htmlFor={nameId}>
+ {t("settings:customFields.nameLabel")}
+ </Label>
+ <Input
+ id={nameId}
+ value={form.name}
+ autoComplete="off"
+ placeholder={t("settings:customFields.namePlaceholder")}
+ onChange={(event) =>
+ setForm((current) => ({
+ ...current,
+ name: event.target.value,
+ }))
+ }
+ />
+ </div>
+ {form.kind === "dropdown" ? (
+ <div className="space-y-2">
+ <p id={optionsLabelId} className="text-sm font-medium">
+ {t("settings:customFields.optionsLabel")}
+ </p>
+ <FieldOptionsEditor
+ options={form.options}
+ labelledBy={optionsLabelId}
+ onAdd={(option) =>
+ setForm((current) => addOption(current, option))
+ }
+ onRename={rename}
+ onRemove={(option) =>
+ setForm((current) => removeOption(current, option))
+ }
+ onMove={(from, to) =>
+ setForm((current) => moveOption(current, from, to))
+ }
+ />
+ </div>
+ ) : null}
+ <FieldSettingsBox
+ form={form}
+ onMultipleChange={(multiple) =>
+ setForm((current) => setMultiple(current, multiple))
+ }
+ onRequiredChange={(required) =>
+ setForm((current) => ({ ...current, required }))
+ }
+ onDefaultChange={(defaults) =>
+ setForm((current) => ({ ...current, ...defaults }))
+ }
+ />
+ {issue && issue !== "nameRequired" ? (
+ <p className="text-xs text-muted-foreground">
+ {t(`settings:customFields.issues.${issue}`)}
+ </p>
+ ) : null}
+ </DialogPanel>
+ <DialogFooter>
+ <Button
+ type="button"
+ variant="outline"
+ onClick={() => onOpenChange(false)}
+ >
+ {t("common:actions.cancel")}
+ </Button>
+ <Button type="submit" disabled={issue !== null || pending}>
+ {t(submitLabelKey(editing, pending))}
+ </Button>
+ </DialogFooter>
+ </form>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/date-default-picker.tsx b/apps/web/src/components/project/custom-fields/field-dialog/date-default-picker.tsx
new file mode 100644
index 000000000..bc2933d43
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/date-default-picker.tsx
@@ -0,0 +1,82 @@
+import { format, isValid, parseISO } from "date-fns";
+import { CalendarIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { formatDateDefault } from "@/components/project/custom-fields/describe-custom-field";
+import { Button } from "@/components/ui/button";
+import { Calendar } from "@/components/ui/calendar";
+import {
+ Popover,
+ PopoverContent,
+ PopoverTrigger,
+} from "@/components/ui/popover";
+import { cn } from "@/lib/cn";
+
+type DateDefaultPickerProps = {
+ value: string;
+ labelledBy: string;
+ clearable: boolean;
+ onChange: (value: string) => void;
+};
+
+export function DateDefaultPicker({
+ value,
+ labelledBy,
+ clearable,
+ onChange,
+}: DateDefaultPickerProps) {
+ const { t, i18n } = useTranslation();
+ const [open, setOpen] = useState(false);
+ const parsed = value ? parseISO(value) : undefined;
+ const selected = parsed && isValid(parsed) ? parsed : undefined;
+
+ return (
+ <Popover open={open} onOpenChange={setOpen}>
+ <PopoverTrigger asChild>
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ aria-labelledby={labelledBy}
+ className={cn(
+ "w-full justify-start font-normal sm:w-48",
+ !selected && "text-muted-foreground",
+ )}
+ >
+ <CalendarIcon aria-hidden="true" />
+ {selected
+ ? formatDateDefault(value, i18n?.language)
+ : t("settings:customFields.noDefault")}
+ </Button>
+ </PopoverTrigger>
+ <PopoverContent align="end" className="w-auto">
+ <Calendar
+ mode="single"
+ selected={selected}
+ defaultMonth={selected}
+ captionLayout="dropdown"
+ onSelect={(date) => {
+ onChange(date ? format(date, "yyyy-MM-dd") : "");
+ setOpen(false);
+ }}
+ />
+ {clearable && selected ? (
+ <div className="border-t p-2">
+ <Button
+ type="button"
+ variant="ghost"
+ size="sm"
+ className="w-full"
+ onClick={() => {
+ onChange("");
+ setOpen(false);
+ }}
+ >
+ {t("settings:customFields.clearDefault")}
+ </Button>
+ </div>
+ ) : null}
+ </PopoverContent>
+ </Popover>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-default-input.tsx b/apps/web/src/components/project/custom-fields/field-dialog/field-default-input.tsx
new file mode 100644
index 000000000..85c4960f9
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-default-input.tsx
@@ -0,0 +1,76 @@
+import { useTranslation } from "react-i18next";
+import { CheckboxDefaultSelect } from "@/components/project/custom-fields/field-dialog/checkbox-default-select";
+import { ChoiceDefaultSelect } from "@/components/project/custom-fields/field-dialog/choice-default-select";
+import { DateDefaultPicker } from "@/components/project/custom-fields/field-dialog/date-default-picker";
+import type { FieldFormState } from "@/components/project/custom-fields/field-dialog/field-form";
+import { MultiChoiceDefaultSelect } from "@/components/project/custom-fields/field-dialog/multi-choice-default-select";
+import { Input } from "@/components/ui/input";
+
+type FieldDefaultInputProps = {
+ form: FieldFormState;
+ labelledBy: string;
+ onChange: (
+ defaults: Pick<FieldFormState, "defaultValue" | "defaultValues">,
+ ) => void;
+};
+
+export function FieldDefaultInput({
+ form,
+ labelledBy,
+ onChange,
+}: FieldDefaultInputProps) {
+ const { t } = useTranslation();
+ const setValue = (defaultValue: string) =>
+ onChange({ defaultValue, defaultValues: form.defaultValues });
+
+ switch (form.kind) {
+ case "boolean":
+ return (
+ <CheckboxDefaultSelect
+ value={form.defaultValue}
+ labelledBy={labelledBy}
+ onChange={setValue}
+ />
+ );
+ case "date":
+ return (
+ <DateDefaultPicker
+ value={form.defaultValue}
+ labelledBy={labelledBy}
+ clearable={!form.required}
+ onChange={setValue}
+ />
+ );
+ case "dropdown":
+ return form.multiple ? (
+ <MultiChoiceDefaultSelect
+ options={form.options}
+ value={form.defaultValues}
+ labelledBy={labelledBy}
+ onChange={(defaultValues) =>
+ onChange({ defaultValue: "", defaultValues })
+ }
+ />
+ ) : (
+ <ChoiceDefaultSelect
+ options={form.options}
+ value={form.defaultValue}
+ labelledBy={labelledBy}
+ clearable={!form.required}
+ onChange={setValue}
+ />
+ );
+ default:
+ return (
+ <Input
+ size="sm"
+ type={form.kind === "number" ? "number" : "text"}
+ value={form.defaultValue}
+ aria-labelledby={labelledBy}
+ placeholder={t("settings:customFields.noDefault")}
+ onChange={(event) => setValue(event.target.value)}
+ className="sm:w-48"
+ />
+ );
+ }
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-form.test.ts b/apps/web/src/components/project/custom-fields/field-dialog/field-form.test.ts
new file mode 100644
index 000000000..987ced1b8
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-form.test.ts
@@ -0,0 +1,194 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ addOption,
+ EMPTY_FIELD_FORM,
+ type FieldFormState,
+ formFromField,
+ getFormIssue,
+ moveOption,
+ removeOption,
+ renameOption,
+ setKind,
+ setMultiple,
+ toCreatePayload,
+ toUpdatePayload,
+} from "@/components/project/custom-fields/field-dialog/field-form";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
+
+const dropdown: FieldFormState = {
+ ...EMPTY_FIELD_FORM,
+ kind: "dropdown",
+ name: "Size",
+ options: ["Small", "Medium", "Large"],
+ defaultValue: "Medium",
+};
+
+function definition(
+ overrides: Partial<CustomFieldDefinition>,
+): CustomFieldDefinition {
+ return {
+ id: "f1",
+ projectId: "p1",
+ name: "Field",
+ type: "text",
+ required: false,
+ defaultValue: null,
+ options: null,
+ position: 0,
+ createdAt: "",
+ updatedAt: "",
+ ...overrides,
+ };
+}
+
+describe("formFromField", () => {
+ it("starts empty for a new field", () => {
+ expect(formFromField(null)).toBe(EMPTY_FIELD_FORM);
+ });
+
+ it("reads a multiselect field as a dropdown that allows several", () => {
+ expect(
+ formFromField(
+ definition({
+ type: "multiselect",
+ options: ["iOS", "Web"],
+ defaultValue: '["Web"]',
+ }),
+ ),
+ ).toMatchObject({
+ kind: "dropdown",
+ multiple: true,
+ defaultValue: "",
+ defaultValues: ["Web"],
+ });
+ });
+
+ it("reads a checkbox without a default as unchecked", () => {
+ expect(formFromField(definition({ type: "boolean" })).defaultValue).toBe(
+ "false",
+ );
+ });
+});
+
+describe("options", () => {
+ it("adds trimmed options once", () => {
+ const next = addOption(addOption(dropdown, " XL "), "XL");
+ expect(next.options).toEqual(["Small", "Medium", "Large", "XL"]);
+ expect(addOption(dropdown, " ")).toBe(dropdown);
+ });
+
+ it("drops the default with a removed option", () => {
+ expect(removeOption(dropdown, "Medium")).toMatchObject({
+ options: ["Small", "Large"],
+ defaultValue: "",
+ });
+ });
+
+ it("renames the default with its option and refuses duplicates", () => {
+ expect(renameOption(dropdown, "Medium", " M ")).toMatchObject({
+ options: ["Small", "M", "Large"],
+ defaultValue: "M",
+ });
+ expect(renameOption(dropdown, "Medium", "Small")).toBe(dropdown);
+ expect(renameOption(dropdown, "Medium", " ")).toBe(dropdown);
+ });
+
+ it("reorders options", () => {
+ expect(moveOption(dropdown, 2, 0).options).toEqual([
+ "Large",
+ "Small",
+ "Medium",
+ ]);
+ });
+});
+
+describe("type changes", () => {
+ it("resets the default when the type changes", () => {
+ expect(setKind(dropdown, "boolean")).toMatchObject({
+ kind: "boolean",
+ defaultValue: "false",
+ multiple: false,
+ });
+ });
+
+ it("carries the default across allowing several", () => {
+ const multiple = setMultiple(dropdown, true);
+ expect(multiple).toMatchObject({
+ defaultValue: "",
+ defaultValues: ["Medium"],
+ });
+ expect(setMultiple(multiple, false)).toMatchObject({
+ defaultValue: "Medium",
+ defaultValues: [],
+ });
+ });
+});
+
+describe("getFormIssue", () => {
+ it("needs a name", () => {
+ expect(getFormIssue({ ...dropdown, name: " " })).toBe("nameRequired");
+ });
+
+ it("needs one option, or two when several are allowed", () => {
+ expect(getFormIssue({ ...dropdown, options: [], defaultValue: "" })).toBe(
+ "optionsRequired",
+ );
+ expect(
+ getFormIssue({ ...dropdown, multiple: true, options: ["Small"] }),
+ ).toBe("moreOptionsRequired");
+ });
+
+ it("needs a default for required fields", () => {
+ expect(
+ getFormIssue({ ...EMPTY_FIELD_FORM, name: "Customer", required: true }),
+ ).toBe("defaultRequired");
+ expect(
+ getFormIssue({
+ ...dropdown,
+ multiple: true,
+ required: true,
+ defaultValue: "",
+ defaultValues: [],
+ }),
+ ).toBe("defaultRequired");
+ expect(getFormIssue({ ...dropdown, required: true })).toBeNull();
+ });
+});
+
+describe("payloads", () => {
+ it("creates a multiselect with a JSON default", () => {
+ expect(
+ toCreatePayload(
+ {
+ ...dropdown,
+ multiple: true,
+ defaultValue: "",
+ defaultValues: ["Small"],
+ },
+ "p1",
+ ),
+ ).toEqual({
+ projectId: "p1",
+ name: "Size",
+ type: "multiselect",
+ required: false,
+ defaultValue: '["Small"]',
+ options: ["Small", "Medium", "Large"],
+ });
+ });
+
+ it("leaves options out of other types and clears empty defaults", () => {
+ expect(
+ toUpdatePayload({
+ ...EMPTY_FIELD_FORM,
+ kind: "number",
+ name: " Estimate ",
+ }),
+ ).toEqual({
+ name: "Estimate",
+ type: "number",
+ required: false,
+ defaultValue: null,
+ });
+ });
+});
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-form.ts b/apps/web/src/components/project/custom-fields/field-dialog/field-form.ts
new file mode 100644
index 000000000..a262c3924
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-form.ts
@@ -0,0 +1,179 @@
+import { toFieldKind } from "@/components/project/custom-fields/field-kinds";
+import type {
+ CustomFieldDefinition,
+ CustomFieldType,
+ FieldKind,
+} from "@/components/project/custom-fields/types";
+import { moveItem } from "@/components/project/sortable/apply-order";
+
+export type FieldFormState = {
+ kind: FieldKind;
+ name: string;
+ options: string[];
+ multiple: boolean;
+ required: boolean;
+ defaultValue: string;
+ defaultValues: string[];
+};
+
+export type FieldFormIssue =
+ | "nameRequired"
+ | "optionsRequired"
+ | "moreOptionsRequired"
+ | "defaultRequired";
+
+export const EMPTY_FIELD_FORM: FieldFormState = {
+ kind: "text",
+ name: "",
+ options: [],
+ multiple: false,
+ required: false,
+ defaultValue: "",
+ defaultValues: [],
+};
+
+function parseDefaultValues(value: string | null) {
+ if (!value) return [];
+ try {
+ const parsed: unknown = JSON.parse(value);
+ return Array.isArray(parsed)
+ ? parsed.filter((item): item is string => typeof item === "string")
+ : [];
+ } catch {
+ return [];
+ }
+}
+
+function initialDefault(field: CustomFieldDefinition) {
+ if (field.type === "multiselect") return "";
+ if (field.type === "boolean") {
+ return field.defaultValue === "true" ? "true" : "false";
+ }
+ return field.defaultValue ?? "";
+}
+
+export function formFromField(field?: CustomFieldDefinition | null) {
+ if (!field) return EMPTY_FIELD_FORM;
+
+ const multiple = field.type === "multiselect";
+ return {
+ kind: toFieldKind(field.type),
+ name: field.name,
+ options: field.options ?? [],
+ multiple,
+ required: field.required,
+ defaultValue: initialDefault(field),
+ defaultValues: multiple ? parseDefaultValues(field.defaultValue) : [],
+ } satisfies FieldFormState;
+}
+
+export function setKind(state: FieldFormState, kind: FieldKind) {
+ if (kind === state.kind) return state;
+ return {
+ ...state,
+ kind,
+ multiple: false,
+ defaultValue: kind === "boolean" ? "false" : "",
+ defaultValues: [],
+ };
+}
+
+export function setMultiple(state: FieldFormState, multiple: boolean) {
+ if (multiple === state.multiple) return state;
+ return multiple
+ ? {
+ ...state,
+ multiple,
+ defaultValue: "",
+ defaultValues: state.defaultValue ? [state.defaultValue] : [],
+ }
+ : {
+ ...state,
+ multiple,
+ defaultValue: state.defaultValues[0] ?? "",
+ defaultValues: [],
+ };
+}
+
+export function addOption(state: FieldFormState, raw: string) {
+ const option = raw.trim();
+ if (!option || state.options.includes(option)) return state;
+ return { ...state, options: [...state.options, option] };
+}
+
+export function removeOption(state: FieldFormState, option: string) {
+ return {
+ ...state,
+ options: state.options.filter((candidate) => candidate !== option),
+ defaultValue: state.defaultValue === option ? "" : state.defaultValue,
+ defaultValues: state.defaultValues.filter((value) => value !== option),
+ };
+}
+
+export function renameOption(state: FieldFormState, from: string, raw: string) {
+ const to = raw.trim();
+ if (!to || to === from || state.options.includes(to)) return state;
+
+ const rename = (value: string) => (value === from ? to : value);
+ return {
+ ...state,
+ options: state.options.map(rename),
+ defaultValue: rename(state.defaultValue),
+ defaultValues: state.defaultValues.map(rename),
+ };
+}
+
+export function moveOption(state: FieldFormState, from: number, to: number) {
+ return { ...state, options: moveItem(state.options, from, to) };
+}
+
+export function toApiType(state: FieldFormState): CustomFieldType {
+ return state.kind === "dropdown" && state.multiple
+ ? "multiselect"
+ : state.kind;
+}
+
+export function toApiDefault(state: FieldFormState): string | null {
+ if (toApiType(state) === "multiselect") {
+ return state.defaultValues.length > 0
+ ? JSON.stringify(state.defaultValues)
+ : null;
+ }
+
+ const trimmed = state.defaultValue.trim();
+ if (!trimmed) return null;
+ return state.kind === "text" ? state.defaultValue : trimmed;
+}
+
+export function getFormIssue(state: FieldFormState): FieldFormIssue | null {
+ if (!state.name.trim()) return "nameRequired";
+ if (
+ state.kind === "dropdown" &&
+ state.options.length < (state.multiple ? 2 : 1)
+ ) {
+ return state.multiple ? "moreOptionsRequired" : "optionsRequired";
+ }
+ if (state.required && toApiDefault(state) === null) return "defaultRequired";
+ return null;
+}
+
+export function toCreatePayload(state: FieldFormState, projectId: string) {
+ return {
+ projectId,
+ name: state.name.trim(),
+ type: toApiType(state),
+ required: state.required,
+ defaultValue: toApiDefault(state) ?? undefined,
+ options: state.kind === "dropdown" ? state.options : undefined,
+ };
+}
+
+export function toUpdatePayload(state: FieldFormState) {
+ return {
+ name: state.name.trim(),
+ type: toApiType(state),
+ required: state.required,
+ defaultValue: toApiDefault(state),
+ ...(state.kind === "dropdown" ? { options: state.options } : {}),
+ };
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-option-row.tsx b/apps/web/src/components/project/custom-fields/field-dialog/field-option-row.tsx
new file mode 100644
index 000000000..041ca198c
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-option-row.tsx
@@ -0,0 +1,57 @@
+import { X } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { InlineNameInput } from "@/components/project/inline-name-input";
+import { DragHandle } from "@/components/project/sortable/drag-handle";
+import { useSortableRow } from "@/components/project/sortable/use-sortable-row";
+import { Button } from "@/components/ui/button";
+import { cn } from "@/lib/cn";
+
+type FieldOptionRowProps = {
+ option: string;
+ onRename: (name: string) => boolean;
+ onRemove: () => void;
+};
+
+export function FieldOptionRow({
+ option,
+ onRename,
+ onRemove,
+}: FieldOptionRowProps) {
+ const { t } = useTranslation();
+ const { rowRef, rowStyle, isDragging, handleProps } = useSortableRow(
+ option,
+ false,
+ );
+
+ return (
+ <div
+ ref={rowRef}
+ style={rowStyle}
+ className={cn(
+ "group/row flex h-9 items-center gap-2.5 bg-background px-2.5 dark:bg-transparent",
+ isDragging && "relative z-10 bg-popover shadow-sm dark:bg-popover",
+ )}
+ >
+ <DragHandle
+ label={t("settings:customFields.dragOptionAria", { option })}
+ handleProps={handleProps}
+ />
+ <InlineNameInput
+ name={option}
+ label={t("settings:customFields.renameOptionAria", { option })}
+ onRename={onRename}
+ className="h-7"
+ />
+ <Button
+ type="button"
+ variant="ghost"
+ size="icon-xs"
+ aria-label={t("settings:customFields.removeOptionAria", { option })}
+ onClick={onRemove}
+ className="text-muted-foreground"
+ >
+ <X aria-hidden="true" />
+ </Button>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-options-editor.tsx b/apps/web/src/components/project/custom-fields/field-dialog/field-options-editor.tsx
new file mode 100644
index 000000000..1ac8f641f
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-options-editor.tsx
@@ -0,0 +1,41 @@
+import { AddOptionInput } from "@/components/project/custom-fields/field-dialog/add-option-input";
+import { FieldOptionRow } from "@/components/project/custom-fields/field-dialog/field-option-row";
+import { SortableList } from "@/components/project/sortable/sortable-list";
+
+type FieldOptionsEditorProps = {
+ options: string[];
+ labelledBy: string;
+ onAdd: (option: string) => void;
+ onRename: (from: string, to: string) => boolean;
+ onRemove: (option: string) => void;
+ onMove: (from: number, to: number) => void;
+};
+
+export function FieldOptionsEditor({
+ options,
+ labelledBy,
+ onAdd,
+ onRename,
+ onRemove,
+ onMove,
+}: FieldOptionsEditorProps) {
+ return (
+ <div
+ role="group"
+ aria-labelledby={labelledBy}
+ className="divide-y divide-border overflow-hidden rounded-lg border border-input bg-background dark:bg-input/32"
+ >
+ <SortableList ids={options} onMove={onMove}>
+ {options.map((option) => (
+ <FieldOptionRow
+ key={option}
+ option={option}
+ onRename={(to) => onRename(option, to)}
+ onRemove={() => onRemove(option)}
+ />
+ ))}
+ </SortableList>
+ <AddOptionInput onAdd={onAdd} />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-setting-row.tsx b/apps/web/src/components/project/custom-fields/field-dialog/field-setting-row.tsx
new file mode 100644
index 000000000..13331650d
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-setting-row.tsx
@@ -0,0 +1,30 @@
+import { type ReactNode, useId } from "react";
+
+type FieldSettingRowProps = {
+ title: ReactNode;
+ description: ReactNode;
+ children: (ids: { labelId: string; descriptionId: string }) => ReactNode;
+};
+
+export function FieldSettingRow({
+ title,
+ description,
+ children,
+}: FieldSettingRowProps) {
+ const labelId = useId();
+ const descriptionId = useId();
+
+ return (
+ <div className="flex flex-col gap-2.5 px-3.5 py-3 sm:flex-row sm:items-center sm:gap-3">
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <p id={labelId} className="text-sm">
+ {title}
+ </p>
+ <p id={descriptionId} className="text-xs text-muted-foreground">
+ {description}
+ </p>
+ </div>
+ {children({ labelId, descriptionId })}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-settings-box.tsx b/apps/web/src/components/project/custom-fields/field-dialog/field-settings-box.tsx
new file mode 100644
index 000000000..3bbb1080b
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-settings-box.tsx
@@ -0,0 +1,68 @@
+import { useTranslation } from "react-i18next";
+import { FieldDefaultInput } from "@/components/project/custom-fields/field-dialog/field-default-input";
+import type { FieldFormState } from "@/components/project/custom-fields/field-dialog/field-form";
+import { FieldSettingRow } from "@/components/project/custom-fields/field-dialog/field-setting-row";
+import { Switch } from "@/components/ui/switch";
+
+type FieldSettingsBoxProps = {
+ form: FieldFormState;
+ onMultipleChange: (multiple: boolean) => void;
+ onRequiredChange: (required: boolean) => void;
+ onDefaultChange: (
+ defaults: Pick<FieldFormState, "defaultValue" | "defaultValues">,
+ ) => void;
+};
+
+export function FieldSettingsBox({
+ form,
+ onMultipleChange,
+ onRequiredChange,
+ onDefaultChange,
+}: FieldSettingsBoxProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="divide-y divide-border rounded-lg border">
+ {form.kind === "dropdown" ? (
+ <FieldSettingRow
+ title={t("settings:customFields.allowSeveral")}
+ description={t("settings:customFields.allowSeveralDescription")}
+ >
+ {({ labelId, descriptionId }) => (
+ <Switch
+ checked={form.multiple}
+ onCheckedChange={onMultipleChange}
+ aria-labelledby={labelId}
+ aria-describedby={descriptionId}
+ />
+ )}
+ </FieldSettingRow>
+ ) : null}
+ <FieldSettingRow
+ title={t("settings:customFields.required")}
+ description={t("settings:customFields.requiredDescription")}
+ >
+ {({ labelId, descriptionId }) => (
+ <Switch
+ checked={form.required}
+ onCheckedChange={onRequiredChange}
+ aria-labelledby={labelId}
+ aria-describedby={descriptionId}
+ />
+ )}
+ </FieldSettingRow>
+ <FieldSettingRow
+ title={t("settings:customFields.defaultLabel")}
+ description={t("settings:customFields.defaultDescription")}
+ >
+ {({ labelId }) => (
+ <FieldDefaultInput
+ form={form}
+ labelledBy={labelId}
+ onChange={onDefaultChange}
+ />
+ )}
+ </FieldSettingRow>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/field-type-picker.tsx b/apps/web/src/components/project/custom-fields/field-dialog/field-type-picker.tsx
new file mode 100644
index 000000000..02242f102
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/field-type-picker.tsx
@@ -0,0 +1,42 @@
+import { Radio as RadioPrimitive } from "@base-ui/react/radio";
+import { useTranslation } from "react-i18next";
+import { FIELD_KINDS } from "@/components/project/custom-fields/field-kinds";
+import type { FieldKind } from "@/components/project/custom-fields/types";
+import { RadioGroup } from "@/components/ui/radio-group";
+
+type FieldTypePickerProps = {
+ value: FieldKind;
+ labelledBy: string;
+ disabled: boolean;
+ onChange: (kind: FieldKind) => void;
+};
+
+export function FieldTypePicker({
+ value,
+ labelledBy,
+ disabled,
+ onChange,
+}: FieldTypePickerProps) {
+ const { t } = useTranslation();
+
+ return (
+ <RadioGroup
+ value={value}
+ disabled={disabled}
+ aria-labelledby={labelledBy}
+ onValueChange={(next) => onChange(next as FieldKind)}
+ className="grid grid-cols-3 gap-2 sm:grid-cols-5"
+ >
+ {FIELD_KINDS.map(({ kind, icon: Icon }) => (
+ <RadioPrimitive.Root
+ key={kind}
+ value={kind}
+ className="flex h-16 cursor-pointer flex-col items-center justify-center gap-1.5 rounded-lg border border-input bg-background text-xs text-muted-foreground outline-none transition-colors hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background data-checked:border-foreground/40 data-checked:bg-accent data-checked:font-medium data-checked:text-foreground data-disabled:cursor-not-allowed data-disabled:hover:bg-background data-disabled:not-data-checked:opacity-50 dark:bg-input/32 dark:data-checked:bg-input/64"
+ >
+ <Icon aria-hidden="true" className="size-4" />
+ {t(`settings:customFields.types.${kind}`)}
+ </RadioPrimitive.Root>
+ ))}
+ </RadioGroup>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-dialog/multi-choice-default-select.tsx b/apps/web/src/components/project/custom-fields/field-dialog/multi-choice-default-select.tsx
new file mode 100644
index 000000000..61751557a
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-dialog/multi-choice-default-select.tsx
@@ -0,0 +1,56 @@
+import { useTranslation } from "react-i18next";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+
+type MultiChoiceDefaultSelectProps = {
+ options: string[];
+ value: string[];
+ labelledBy: string;
+ onChange: (value: string[]) => void;
+};
+
+export function MultiChoiceDefaultSelect({
+ options,
+ value,
+ labelledBy,
+ onChange,
+}: MultiChoiceDefaultSelectProps) {
+ const { t } = useTranslation();
+
+ return (
+ <Select
+ multiple
+ value={value}
+ disabled={options.length === 0}
+ onValueChange={(next) => onChange(next ?? [])}
+ >
+ <SelectTrigger
+ size="sm"
+ aria-labelledby={labelledBy}
+ className="w-full sm:w-48"
+ >
+ <SelectValue>
+ {value.length > 0 ? (
+ value.join(", ")
+ ) : (
+ <span className="text-muted-foreground">
+ {t("settings:customFields.noDefault")}
+ </span>
+ )}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ {options.map((option) => (
+ <SelectItem key={option} value={option}>
+ {option}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ );
+}
diff --git a/apps/web/src/components/project/custom-fields/field-kinds.ts b/apps/web/src/components/project/custom-fields/field-kinds.ts
new file mode 100644
index 000000000..55921e8c4
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/field-kinds.ts
@@ -0,0 +1,28 @@
+import {
+ CalendarIcon,
+ Hash,
+ List,
+ type LucideIcon,
+ SquareCheck,
+ Type,
+} from "lucide-react";
+import type {
+ CustomFieldType,
+ FieldKind,
+} from "@/components/project/custom-fields/types";
+
+export const FIELD_KIND_ICONS: Record<FieldKind, LucideIcon> = {
+ text: Type,
+ number: Hash,
+ date: CalendarIcon,
+ dropdown: List,
+ boolean: SquareCheck,
+};
+
+export const FIELD_KINDS = (Object.keys(FIELD_KIND_ICONS) as FieldKind[]).map(
+ (kind) => ({ kind, icon: FIELD_KIND_ICONS[kind] }),
+);
+
+export function toFieldKind(type: CustomFieldType): FieldKind {
+ return type === "multiselect" ? "dropdown" : type;
+}
diff --git a/apps/web/src/components/project/custom-fields/types.ts b/apps/web/src/components/project/custom-fields/types.ts
new file mode 100644
index 000000000..ca14e85d2
--- /dev/null
+++ b/apps/web/src/components/project/custom-fields/types.ts
@@ -0,0 +1,22 @@
+export type CustomFieldType =
+ | "text"
+ | "number"
+ | "date"
+ | "dropdown"
+ | "boolean"
+ | "multiselect";
+
+export type CustomFieldDefinition = {
+ id: string;
+ projectId: string;
+ name: string;
+ type: CustomFieldType;
+ required: boolean;
+ defaultValue: string | null;
+ options: string[] | null;
+ position: number;
+ createdAt: string;
+ updatedAt: string;
+};
+
+export type FieldKind = Exclude<CustomFieldType, "multiselect">;
diff --git a/apps/web/src/components/project/discord-integration-settings.tsx b/apps/web/src/components/project/discord-integration-settings.tsx
index b73c09c31..2e66b5d52 100644
--- a/apps/web/src/components/project/discord-integration-settings.tsx
+++ b/apps/web/src/components/project/discord-integration-settings.tsx
@@ -1,432 +1,12 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { CheckCircle, Trash2 } from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Switch } from "@/components/ui/switch";
-import {
- useCreateDiscordIntegration,
- useDeleteDiscordIntegration,
- useUpdateDiscordIntegration,
-} from "@/hooks/mutations/discord-integration/use-discord-integration";
-import useGetDiscordIntegration from "@/hooks/queries/discord-integration/use-get-discord-integration";
-import { toast } from "@/lib/toast";
-
-type DiscordIntegrationFormValues = {
- webhookUrl: string;
- channelName: string;
- taskCreated: boolean;
- taskStatusChanged: boolean;
- taskPriorityChanged: boolean;
- taskTitleChanged: boolean;
- taskDescriptionChanged: boolean;
- taskCommentCreated: boolean;
-};
-
-function EventToggle({
- control,
- name,
- label,
-}: {
- control: ReturnType<typeof useForm<DiscordIntegrationFormValues>>["control"];
- name: keyof Pick<
- DiscordIntegrationFormValues,
- | "taskCreated"
- | "taskStatusChanged"
- | "taskPriorityChanged"
- | "taskTitleChanged"
- | "taskDescriptionChanged"
- | "taskCommentCreated"
- >;
- label: string;
-}) {
- return (
- <FormField
- control={control}
- name={name}
- render={({ field }) => (
- <FormItem className="flex items-center justify-between rounded-md border px-3 py-2">
- <FormLabel className="text-sm font-medium">{label}</FormLabel>
- <FormControl>
- <Switch
- checked={Boolean(field.value)}
- onCheckedChange={field.onChange}
- />
- </FormControl>
- </FormItem>
- )}
- />
- );
-}
-
-function isValidDiscordWebhookUrl(value: string): boolean {
- return (
- z.url().safeParse(value).success &&
- /^https:\/\/(?:discord\.com|discordapp\.com)\/api\/webhooks\/[^/]+\/[^/\s]+$/i.test(
- value,
- )
- );
-}
+import { discordChatProvider } from "@/components/project/integrations/chat-webhook/chat-webhook-providers";
+import { ChatWebhookSettings } from "@/components/project/integrations/chat-webhook/chat-webhook-settings";
export function DiscordIntegrationSettings({
projectId,
}: {
projectId: string;
}) {
- const { t } = useTranslation();
- const schema = React.useMemo(
- () =>
- z.object({
- webhookUrl: z.string(),
- channelName: z.string(),
- taskCreated: z.boolean(),
- taskStatusChanged: z.boolean(),
- taskPriorityChanged: z.boolean(),
- taskTitleChanged: z.boolean(),
- taskDescriptionChanged: z.boolean(),
- taskCommentCreated: z.boolean(),
- }),
- [],
- );
-
- const { data: integration, isLoading } = useGetDiscordIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateDiscordIntegration();
- const { mutateAsync: updateIntegration, isPending: isUpdating } =
- useUpdateDiscordIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteDiscordIntegration();
- const normalizedValues = React.useMemo<DiscordIntegrationFormValues>(
- () => ({
- webhookUrl: "",
- channelName: integration?.channelName ?? "",
- taskCreated: integration?.events?.taskCreated ?? true,
- taskStatusChanged: integration?.events?.taskStatusChanged ?? true,
- taskPriorityChanged: integration?.events?.taskPriorityChanged ?? false,
- taskTitleChanged: integration?.events?.taskTitleChanged ?? false,
- taskDescriptionChanged:
- integration?.events?.taskDescriptionChanged ?? false,
- taskCommentCreated: integration?.events?.taskCommentCreated ?? true,
- }),
- [integration],
- );
-
- const form = useForm<DiscordIntegrationFormValues>({
- resolver: standardSchemaResolver(schema),
- defaultValues: {
- webhookUrl: "",
- channelName: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- },
- });
- const { reset } = form;
- const lastResetKeyRef = React.useRef<string | null>(null);
- const resetKey = `${projectId}:${integration?.id ?? "none"}`;
-
- React.useEffect(() => {
- if (form.formState.isDirty && lastResetKeyRef.current === resetKey) {
- return;
- }
-
- reset(normalizedValues);
- lastResetKeyRef.current = resetKey;
- }, [form.formState.isDirty, normalizedValues, reset, resetKey]);
-
- const isConnected = Boolean(integration?.webhookConfigured);
- const isBusy = isCreating || isUpdating || isDeleting;
-
- const onSubmit = async (values: DiscordIntegrationFormValues) => {
- try {
- const trimmedWebhookUrl = values.webhookUrl.trim();
- const events = {
- taskCreated: values.taskCreated,
- taskStatusChanged: values.taskStatusChanged,
- taskPriorityChanged: values.taskPriorityChanged,
- taskTitleChanged: values.taskTitleChanged,
- taskDescriptionChanged: values.taskDescriptionChanged,
- taskCommentCreated: values.taskCommentCreated,
- };
-
- if (!isConnected) {
- if (
- !trimmedWebhookUrl ||
- !isValidDiscordWebhookUrl(trimmedWebhookUrl)
- ) {
- form.setError("webhookUrl", {
- message: t("settings:discordIntegration.validation.webhookInvalid"),
- });
- return;
- }
-
- await createIntegration({
- projectId,
- data: {
- webhookUrl: trimmedWebhookUrl,
- channelName: values.channelName || undefined,
- events,
- },
- });
- } else {
- if (trimmedWebhookUrl && !isValidDiscordWebhookUrl(trimmedWebhookUrl)) {
- form.setError("webhookUrl", {
- message: t("settings:discordIntegration.validation.webhookInvalid"),
- });
- return;
- }
-
- await updateIntegration({
- projectId,
- json: {
- webhookUrl: trimmedWebhookUrl || undefined,
- channelName: values.channelName || undefined,
- events,
- },
- });
- }
-
- form.reset({
- ...values,
- webhookUrl: trimmedWebhookUrl,
- });
- toast.success(t("settings:discordIntegration.toast.saved"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:discordIntegration.toast.saveError"),
- );
- }
- };
-
- const handleToggleActive = async (checked: boolean) => {
- try {
- await updateIntegration({
- projectId,
- json: { isActive: checked },
- });
- toast.success(
- checked
- ? t("settings:discordIntegration.toast.enabled")
- : t("settings:discordIntegration.toast.disabled"),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:discordIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- form.reset({
- webhookUrl: "",
- channelName: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- });
- toast.success(t("settings:discordIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:discordIntegration.toast.removeError"),
- );
- }
- };
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- </div>
- );
- }
-
return (
- <div className="space-y-4">
- <Form {...form}>
- <form className="space-y-4" onSubmit={form.handleSubmit(onSubmit)}>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <div className="flex items-center gap-2">
- <h3 className="font-medium">
- {t("settings:discordIntegration.connectionTitle")}
- </h3>
- </div>
- <p className="text-sm text-muted-foreground">
- {t("settings:discordIntegration.connectionHint")}
- </p>
- </div>
-
- <div className="flex items-center gap-3">
- {isConnected && (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {integration?.isActive
- ? t("settings:discordIntegration.connected")
- : t("settings:discordIntegration.paused")}
- </span>
- </div>
- )}
- <Switch
- checked={integration?.isActive ?? false}
- disabled={!isConnected || isBusy}
- onCheckedChange={handleToggleActive}
- />
- </div>
- </div>
-
- <FormField
- control={form.control}
- name="webhookUrl"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:discordIntegration.webhookLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- autoComplete="off"
- placeholder={t(
- "settings:discordIntegration.webhookPlaceholder",
- )}
- type="url"
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:discordIntegration.webhookHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="channelName"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:discordIntegration.channelLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- placeholder={t(
- "settings:discordIntegration.channelPlaceholder",
- )}
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:discordIntegration.channelHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
- </div>
-
- <div className="space-y-3 rounded-xl border border-border bg-card p-4">
- <div>
- <h3 className="font-medium">
- {t("settings:discordIntegration.eventsTitle")}
- </h3>
- <p className="text-sm text-muted-foreground">
- {t("settings:discordIntegration.eventsHint")}
- </p>
- </div>
-
- <EventToggle
- control={form.control}
- label={t("settings:discordIntegration.events.taskCreated")}
- name="taskCreated"
- />
- <EventToggle
- control={form.control}
- label={t("settings:discordIntegration.events.taskStatusChanged")}
- name="taskStatusChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:discordIntegration.events.taskPriorityChanged",
- )}
- name="taskPriorityChanged"
- />
- <EventToggle
- control={form.control}
- label={t("settings:discordIntegration.events.taskTitleChanged")}
- name="taskTitleChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:discordIntegration.events.taskDescriptionChanged",
- )}
- name="taskDescriptionChanged"
- />
- <EventToggle
- control={form.control}
- label={t("settings:discordIntegration.events.taskCommentCreated")}
- name="taskCommentCreated"
- />
- </div>
-
- <div className="flex flex-wrap gap-2">
- <Button disabled={isBusy} type="submit">
- {isConnected
- ? t("settings:discordIntegration.saveChanges")
- : t("settings:discordIntegration.connect")}
- </Button>
- {isConnected && (
- <Button
- disabled={isBusy}
- onClick={handleDelete}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:discordIntegration.disconnect")}
- </Button>
- )}
- </div>
- </form>
- </Form>
- </div>
+ <ChatWebhookSettings projectId={projectId} provider={discordChatProvider} />
);
}
diff --git a/apps/web/src/components/project/error-message.ts b/apps/web/src/components/project/error-message.ts
new file mode 100644
index 000000000..f3bf1120a
--- /dev/null
+++ b/apps/web/src/components/project/error-message.ts
@@ -0,0 +1,3 @@
+export function errorMessage(error: unknown, fallback: string) {
+ return error instanceof Error && error.message ? error.message : fallback;
+}
diff --git a/apps/web/src/components/project/generic-webhook-integration-settings.test.tsx b/apps/web/src/components/project/generic-webhook-integration-settings.test.tsx
deleted file mode 100644
index b81390d0d..000000000
--- a/apps/web/src/components/project/generic-webhook-integration-settings.test.tsx
+++ /dev/null
@@ -1,194 +0,0 @@
-import {
- cleanup,
- fireEvent,
- render,
- screen,
- waitFor,
-} from "@testing-library/react";
-import {
- afterEach,
- beforeEach,
- describe,
- expect,
- it,
- vi,
-} from "vite-plus/test";
-import { GenericWebhookIntegrationSettings } from "./generic-webhook-integration-settings";
-
-const createIntegration = vi.fn();
-
-vi.mock("react-i18next", () => ({
- useTranslation: () => ({ t: (key: string) => key }),
-}));
-
-vi.mock(
- "@/hooks/queries/generic-webhook-integration/use-get-generic-webhook-integration",
- () => ({
- default: () => ({ data: null, isLoading: false }),
- }),
-);
-
-vi.mock(
- "@/hooks/mutations/generic-webhook-integration/use-generic-webhook-integration",
- () => ({
- useCreateGenericWebhookIntegration: () => ({
- mutateAsync: createIntegration,
- isPending: false,
- }),
- useUpdateGenericWebhookIntegration: () => ({
- mutateAsync: vi.fn(),
- isPending: false,
- }),
- useDeleteGenericWebhookIntegration: () => ({
- mutateAsync: vi.fn(),
- isPending: false,
- }),
- }),
-);
-
-vi.mock("@/lib/toast", () => ({
- toast: { success: vi.fn(), error: vi.fn() },
-}));
-
-describe("GenericWebhookIntegrationSettings", () => {
- afterEach(cleanup);
-
- beforeEach(() => {
- createIntegration.mockReset();
- createIntegration.mockResolvedValue(undefined);
- });
-
- it("creates an opt-in project reminder webhook with its lead time", async () => {
- render(<GenericWebhookIntegrationSettings projectId="project-1" />);
-
- fireEvent.change(
- screen.getByLabelText("settings:genericWebhookIntegration.webhookLabel"),
- {
- target: { value: "https://example.com/hooks/kaneo" },
- },
- );
- fireEvent.click(
- screen.getByRole("switch", {
- name: "settings:genericWebhookIntegration.events.dueDateReminder",
- }),
- );
- fireEvent.change(
- screen.getByLabelText(
- "settings:genericWebhookIntegration.reminderLeadTimeLabel",
- ),
- { target: { value: "48" } },
- );
- fireEvent.click(
- screen.getByRole("button", {
- name: "settings:genericWebhookIntegration.connect",
- }),
- );
-
- await waitFor(() =>
- expect(createIntegration).toHaveBeenCalledWith({
- projectId: "project-1",
- data: expect.objectContaining({
- webhookUrl: "https://example.com/hooks/kaneo",
- dueDateReminderLeadTimeMinutes: 2880,
- events: expect.objectContaining({
- dueDateReminder: true,
- taskDeleted: false,
- taskMoved: false,
- taskDueDateChanged: false,
- taskAssigneeChanged: false,
- taskUnassigned: false,
- }),
- }),
- }),
- );
- });
-
- it("creates a webhook with the opt-in task lifecycle events enabled", async () => {
- render(<GenericWebhookIntegrationSettings projectId="project-1" />);
-
- fireEvent.change(
- screen.getByLabelText("settings:genericWebhookIntegration.webhookLabel"),
- {
- target: { value: "https://example.com/hooks/kaneo" },
- },
- );
- for (const event of [
- "taskDeleted",
- "taskMoved",
- "taskDueDateChanged",
- "taskAssigneeChanged",
- "taskUnassigned",
- ]) {
- fireEvent.click(
- screen.getByRole("switch", {
- name: `settings:genericWebhookIntegration.events.${event}`,
- }),
- );
- }
- fireEvent.click(
- screen.getByRole("button", {
- name: "settings:genericWebhookIntegration.connect",
- }),
- );
-
- await waitFor(() =>
- expect(createIntegration).toHaveBeenCalledWith({
- projectId: "project-1",
- data: expect.objectContaining({
- events: expect.objectContaining({
- taskDeleted: true,
- taskMoved: true,
- taskDueDateChanged: true,
- taskAssigneeChanged: true,
- taskUnassigned: true,
- }),
- }),
- }),
- );
- });
-
- it("submits other webhook settings after an invalid reminder time is disabled", async () => {
- render(<GenericWebhookIntegrationSettings projectId="project-1" />);
-
- fireEvent.change(
- screen.getByLabelText("settings:genericWebhookIntegration.webhookLabel"),
- {
- target: { value: "https://example.com/hooks/kaneo" },
- },
- );
- fireEvent.click(
- screen.getByRole("switch", {
- name: "settings:genericWebhookIntegration.events.dueDateReminder",
- }),
- );
- fireEvent.change(
- screen.getByLabelText(
- "settings:genericWebhookIntegration.reminderLeadTimeLabel",
- ),
- { target: { value: "0" } },
- );
- fireEvent.click(
- screen.getByRole("switch", {
- name: "settings:genericWebhookIntegration.events.dueDateReminder",
- }),
- );
- fireEvent.click(
- screen.getByRole("button", {
- name: "settings:genericWebhookIntegration.connect",
- }),
- );
-
- await waitFor(() =>
- expect(createIntegration).toHaveBeenCalledWith({
- projectId: "project-1",
- data: expect.objectContaining({
- webhookUrl: "https://example.com/hooks/kaneo",
- events: expect.objectContaining({ dueDateReminder: false }),
- }),
- }),
- );
- expect(createIntegration.mock.calls[0]?.[0].data).not.toHaveProperty(
- "dueDateReminderLeadTimeMinutes",
- );
- });
-});
diff --git a/apps/web/src/components/project/generic-webhook-integration-settings.tsx b/apps/web/src/components/project/generic-webhook-integration-settings.tsx
index 5430cacb9..bd3936808 100644
--- a/apps/web/src/components/project/generic-webhook-integration-settings.tsx
+++ b/apps/web/src/components/project/generic-webhook-integration-settings.tsx
@@ -1,540 +1 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { CheckCircle, Trash2 } from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Switch } from "@/components/ui/switch";
-import {
- useCreateGenericWebhookIntegration,
- useDeleteGenericWebhookIntegration,
- useUpdateGenericWebhookIntegration,
-} from "@/hooks/mutations/generic-webhook-integration/use-generic-webhook-integration";
-import useGetGenericWebhookIntegration from "@/hooks/queries/generic-webhook-integration/use-get-generic-webhook-integration";
-import { toast } from "@/lib/toast";
-
-type GenericWebhookIntegrationFormValues = {
- webhookUrl: string;
- secret: string;
- taskCreated: boolean;
- taskStatusChanged: boolean;
- taskPriorityChanged: boolean;
- taskTitleChanged: boolean;
- taskDescriptionChanged: boolean;
- taskCommentCreated: boolean;
- taskDeleted: boolean;
- taskMoved: boolean;
- taskDueDateChanged: boolean;
- taskAssigneeChanged: boolean;
- taskUnassigned: boolean;
- dueDateReminder: boolean;
- dueDateReminderLeadTimeHours: number;
-};
-
-function EventToggle({
- control,
- name,
- label,
-}: {
- control: ReturnType<
- typeof useForm<GenericWebhookIntegrationFormValues>
- >["control"];
- name: keyof Pick<
- GenericWebhookIntegrationFormValues,
- | "taskCreated"
- | "taskStatusChanged"
- | "taskPriorityChanged"
- | "taskTitleChanged"
- | "taskDescriptionChanged"
- | "taskCommentCreated"
- | "taskDeleted"
- | "taskMoved"
- | "taskDueDateChanged"
- | "taskAssigneeChanged"
- | "taskUnassigned"
- | "dueDateReminder"
- >;
- label: string;
-}) {
- return (
- <FormField
- control={control}
- name={name}
- render={({ field }) => (
- <FormItem className="flex items-center justify-between rounded-md border px-3 py-2">
- <FormLabel className="text-sm font-medium">{label}</FormLabel>
- <FormControl>
- <Switch
- checked={Boolean(field.value)}
- onCheckedChange={field.onChange}
- />
- </FormControl>
- </FormItem>
- )}
- />
- );
-}
-
-export function GenericWebhookIntegrationSettings({
- projectId,
-}: {
- projectId: string;
-}) {
- const { t } = useTranslation();
- const schema = React.useMemo(
- () =>
- z
- .object({
- webhookUrl: z.string(),
- secret: z.string(),
- taskCreated: z.boolean(),
- taskStatusChanged: z.boolean(),
- taskPriorityChanged: z.boolean(),
- taskTitleChanged: z.boolean(),
- taskDescriptionChanged: z.boolean(),
- taskCommentCreated: z.boolean(),
- taskDeleted: z.boolean(),
- taskMoved: z.boolean(),
- taskDueDateChanged: z.boolean(),
- taskAssigneeChanged: z.boolean(),
- taskUnassigned: z.boolean(),
- dueDateReminder: z.boolean(),
- dueDateReminderLeadTimeHours: z.number(),
- })
- .refine(
- (values) =>
- !values.dueDateReminder ||
- (values.dueDateReminderLeadTimeHours >= 5 / 60 &&
- values.dueDateReminderLeadTimeHours <= 720),
- { path: ["dueDateReminderLeadTimeHours"] },
- ),
- [],
- );
-
- const { data: integration, isLoading } =
- useGetGenericWebhookIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateGenericWebhookIntegration();
- const { mutateAsync: updateIntegration, isPending: isUpdating } =
- useUpdateGenericWebhookIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteGenericWebhookIntegration();
-
- const normalizedValues = React.useMemo<GenericWebhookIntegrationFormValues>(
- () => ({
- webhookUrl: "",
- secret: "",
- taskCreated: integration?.events?.taskCreated ?? true,
- taskStatusChanged: integration?.events?.taskStatusChanged ?? true,
- taskPriorityChanged: integration?.events?.taskPriorityChanged ?? false,
- taskTitleChanged: integration?.events?.taskTitleChanged ?? false,
- taskDescriptionChanged:
- integration?.events?.taskDescriptionChanged ?? false,
- taskCommentCreated: integration?.events?.taskCommentCreated ?? true,
- taskDeleted: integration?.events?.taskDeleted ?? false,
- taskMoved: integration?.events?.taskMoved ?? false,
- taskDueDateChanged: integration?.events?.taskDueDateChanged ?? false,
- taskAssigneeChanged: integration?.events?.taskAssigneeChanged ?? false,
- taskUnassigned: integration?.events?.taskUnassigned ?? false,
- dueDateReminder: integration?.events?.dueDateReminder ?? false,
- dueDateReminderLeadTimeHours:
- (integration?.dueDateReminderLeadTimeMinutes ?? 1440) / 60,
- }),
- [integration],
- );
-
- const form = useForm<GenericWebhookIntegrationFormValues>({
- resolver: standardSchemaResolver(schema),
- defaultValues: normalizedValues,
- });
- const { reset } = form;
-
- React.useEffect(() => {
- reset(normalizedValues);
- }, [normalizedValues, reset]);
-
- const isConnected = Boolean(integration?.webhookConfigured);
- const isBusy = isCreating || isUpdating || isDeleting;
-
- const onSubmit = async (values: GenericWebhookIntegrationFormValues) => {
- try {
- const trimmedWebhookUrl = values.webhookUrl.trim();
- const trimmedSecret = values.secret.trim();
- const events = {
- taskCreated: values.taskCreated,
- taskStatusChanged: values.taskStatusChanged,
- taskPriorityChanged: values.taskPriorityChanged,
- taskTitleChanged: values.taskTitleChanged,
- taskDescriptionChanged: values.taskDescriptionChanged,
- taskCommentCreated: values.taskCommentCreated,
- taskDeleted: values.taskDeleted,
- taskMoved: values.taskMoved,
- taskDueDateChanged: values.taskDueDateChanged,
- taskAssigneeChanged: values.taskAssigneeChanged,
- taskUnassigned: values.taskUnassigned,
- dueDateReminder: values.dueDateReminder,
- };
-
- if (!trimmedWebhookUrl || !z.url().safeParse(trimmedWebhookUrl).success) {
- form.setError("webhookUrl", {
- message: t(
- "settings:genericWebhookIntegration.validation.webhookInvalid",
- ),
- });
- return;
- }
-
- if (!isConnected) {
- await createIntegration({
- projectId,
- data: {
- webhookUrl: trimmedWebhookUrl,
- secret: trimmedSecret || undefined,
- events,
- ...(values.dueDateReminder
- ? {
- dueDateReminderLeadTimeMinutes: Math.round(
- values.dueDateReminderLeadTimeHours * 60,
- ),
- }
- : {}),
- },
- });
- } else {
- await updateIntegration({
- projectId,
- json: {
- webhookUrl: trimmedWebhookUrl,
- secret: trimmedSecret || undefined,
- events,
- ...(values.dueDateReminder
- ? {
- dueDateReminderLeadTimeMinutes: Math.round(
- values.dueDateReminderLeadTimeHours * 60,
- ),
- }
- : {}),
- },
- });
- }
-
- form.reset({
- ...values,
- webhookUrl: trimmedWebhookUrl,
- secret: "",
- });
- toast.success(t("settings:genericWebhookIntegration.toast.saved"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:genericWebhookIntegration.toast.saveError"),
- );
- }
- };
-
- const handleToggleActive = async (checked: boolean) => {
- try {
- await updateIntegration({
- projectId,
- json: { isActive: checked },
- });
- toast.success(
- checked
- ? t("settings:genericWebhookIntegration.toast.enabled")
- : t("settings:genericWebhookIntegration.toast.disabled"),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:genericWebhookIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- form.reset({
- webhookUrl: "",
- secret: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- taskDeleted: false,
- taskMoved: false,
- taskDueDateChanged: false,
- taskAssigneeChanged: false,
- taskUnassigned: false,
- dueDateReminder: false,
- dueDateReminderLeadTimeHours: 24,
- });
- toast.success(t("settings:genericWebhookIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:genericWebhookIntegration.toast.removeError"),
- );
- }
- };
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- </div>
- );
- }
-
- return (
- <div className="space-y-4">
- <Form {...form}>
- <form className="space-y-4" onSubmit={form.handleSubmit(onSubmit)}>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <h3 className="font-medium">
- {t("settings:genericWebhookIntegration.connectionTitle")}
- </h3>
- <p className="text-sm text-muted-foreground">
- {t("settings:genericWebhookIntegration.connectionHint")}
- </p>
- </div>
-
- <div className="flex items-center gap-3">
- {isConnected && (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {integration?.isActive
- ? t("settings:genericWebhookIntegration.connected")
- : t("settings:genericWebhookIntegration.paused")}
- </span>
- </div>
- )}
- <Switch
- checked={integration?.isActive ?? false}
- disabled={!isConnected || isBusy}
- onCheckedChange={handleToggleActive}
- />
- </div>
- </div>
-
- <FormField
- control={form.control}
- name="webhookUrl"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:genericWebhookIntegration.webhookLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- autoComplete="off"
- placeholder={t(
- "settings:genericWebhookIntegration.webhookPlaceholder",
- )}
- type="url"
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:genericWebhookIntegration.webhookHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="secret"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:genericWebhookIntegration.secretLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- autoComplete="off"
- placeholder={t(
- "settings:genericWebhookIntegration.secretPlaceholder",
- )}
- type="password"
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {integration?.secretConfigured
- ? t(
- "settings:genericWebhookIntegration.secretHintConfigured",
- { secret: integration.maskedSecret ?? "••••" },
- )
- : t("settings:genericWebhookIntegration.secretHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
- </div>
-
- <div className="space-y-3 rounded-xl border border-border bg-card p-4">
- <div>
- <h3 className="font-medium">
- {t("settings:genericWebhookIntegration.eventsTitle")}
- </h3>
- <p className="text-sm text-muted-foreground">
- {t("settings:genericWebhookIntegration.eventsHint")}
- </p>
- </div>
-
- <EventToggle
- control={form.control}
- label={t("settings:genericWebhookIntegration.events.taskCreated")}
- name="taskCreated"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskStatusChanged",
- )}
- name="taskStatusChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskPriorityChanged",
- )}
- name="taskPriorityChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskTitleChanged",
- )}
- name="taskTitleChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskDescriptionChanged",
- )}
- name="taskDescriptionChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskCommentCreated",
- )}
- name="taskCommentCreated"
- />
- <EventToggle
- control={form.control}
- label={t("settings:genericWebhookIntegration.events.taskDeleted")}
- name="taskDeleted"
- />
- <EventToggle
- control={form.control}
- label={t("settings:genericWebhookIntegration.events.taskMoved")}
- name="taskMoved"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskDueDateChanged",
- )}
- name="taskDueDateChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskAssigneeChanged",
- )}
- name="taskAssigneeChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.taskUnassigned",
- )}
- name="taskUnassigned"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:genericWebhookIntegration.events.dueDateReminder",
- )}
- name="dueDateReminder"
- />
- {form.watch("dueDateReminder") ? (
- <FormField
- control={form.control}
- name="dueDateReminderLeadTimeHours"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t(
- "settings:genericWebhookIntegration.reminderLeadTimeLabel",
- )}
- </FormLabel>
- <FormControl>
- <Input
- max={720}
- min={5 / 60}
- onChange={(event) =>
- field.onChange(Number(event.target.value))
- }
- step="any"
- type="number"
- value={field.value}
- />
- </FormControl>
- <FormMessage />
- </FormItem>
- )}
- />
- ) : null}
- </div>
-
- <div className="flex flex-wrap gap-2">
- <Button disabled={isBusy} type="submit">
- {isConnected
- ? t("settings:genericWebhookIntegration.saveChanges")
- : t("settings:genericWebhookIntegration.connect")}
- </Button>
- {isConnected && (
- <Button
- disabled={isBusy}
- onClick={handleDelete}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:genericWebhookIntegration.disconnect")}
- </Button>
- )}
- </div>
- </form>
- </Form>
- </div>
- );
-}
+export { GenericWebhookIntegrationSettings } from "@/components/project/integrations/generic-webhook/generic-webhook-integration-settings";
diff --git a/apps/web/src/components/project/gitea-integration-settings.test.tsx b/apps/web/src/components/project/gitea-integration-settings.test.tsx
deleted file mode 100644
index 19b9e2ee7..000000000
--- a/apps/web/src/components/project/gitea-integration-settings.test.tsx
+++ /dev/null
@@ -1,123 +0,0 @@
-import {
- cleanup,
- fireEvent,
- render,
- screen,
- waitFor,
-} from "@testing-library/react";
-import { afterEach, describe, expect, it, vi } from "vite-plus/test";
-import { GiteaIntegrationSettings } from "./gitea-integration-settings";
-
-const { verify, success, failure, integration, translate } = vi.hoisted(() => ({
- verify: vi.fn(),
- success: vi.fn(),
- failure: vi.fn(),
- translate: (key: string) => key,
- integration: {
- baseUrl: "https://gitea.example",
- repositoryOwner: "owner",
- repositoryName: "repo",
- isActive: true,
- },
-}));
-const permissions = vi.hoisted(() => ({ create: true, update: true }));
-vi.mock("@/hooks/use-workspace-permission", () => ({
- useWorkspacePermission: () => ({
- canCreateTasks: () => permissions.create,
- canUpdateTasks: () => permissions.update,
- }),
-}));
-vi.mock("react-i18next", () => ({ useTranslation: () => ({ t: translate }) }));
-vi.mock("@/hooks/queries/gitea-integration/use-get-gitea-integration", () => ({
- default: () => ({ data: integration }),
-}));
-vi.mock(
- "@/hooks/mutations/gitea-integration/use-create-gitea-integration",
- () => ({
- useVerifyGiteaAccess: () => ({ mutateAsync: verify, isPending: false }),
- useCreateGiteaIntegration: () => ({ mutateAsync: vi.fn() }),
- useDeleteGiteaIntegration: () => ({ mutateAsync: vi.fn() }),
- }),
-);
-vi.mock(
- "@/hooks/mutations/gitea-integration/use-update-gitea-integration",
- () => ({
- useUpdateGiteaIntegration: () => ({ mutateAsync: vi.fn() }),
- }),
-);
-vi.mock("@/hooks/mutations/gitea-integration/use-import-gitea-issues", () => ({
- default: () => ({ mutateAsync: vi.fn() }),
-}));
-vi.mock("@/components/project/gitea-repository-browser-modal", () => ({
- GiteaRepositoryBrowserModal: () => null,
-}));
-vi.mock("@/lib/toast", () => ({
- toast: { success, error: failure, warning: vi.fn() },
-}));
-afterEach(() => {
- cleanup();
- permissions.create = true;
- permissions.update = true;
- vi.clearAllMocks();
-});
-describe("saved Gitea verification", () => {
- it("verifies an existing integration without exposing or reentering its saved token", async () => {
- verify.mockResolvedValue({
- isInstalled: true,
- hasRequiredPermissions: true,
- });
- render(<GiteaIntegrationSettings projectId="project" />);
- const button = screen.getByRole("button", {
- name: "settings:giteaIntegration.verify",
- });
- await waitFor(() => expect(button).toBeEnabled());
- fireEvent.click(button);
- await waitFor(() => expect(success).toHaveBeenCalled());
- expect(verify).toHaveBeenCalledWith({
- projectId: "project",
- baseUrl: integration.baseUrl,
- repositoryOwner: "owner",
- repositoryName: "repo",
- accessToken: undefined,
- });
- });
- it("shows verification errors for a saved integration", async () => {
- verify.mockRejectedValue(new Error("Verification failed"));
- render(<GiteaIntegrationSettings projectId="project" />);
- const button = screen.getByRole("button", {
- name: "settings:giteaIntegration.verify",
- });
- await waitFor(() => expect(button).toBeEnabled());
- fireEvent.click(button);
- await waitFor(() =>
- expect(failure).toHaveBeenCalledWith("Verification failed"),
- );
- expect(success).not.toHaveBeenCalled();
- });
-});
-
-it.each(["create", "update"] as const)(
- "disables verified Gitea imports without %s permission",
- async (permission) => {
- permissions[permission] = false;
- verify.mockResolvedValue({
- isInstalled: true,
- hasRequiredPermissions: true,
- });
- render(<GiteaIntegrationSettings projectId="project" />);
- const verifyButton = screen.getByRole("button", {
- name: "settings:giteaIntegration.verify",
- });
- await waitFor(() => expect(verifyButton).toBeEnabled());
- fireEvent.click(verifyButton);
- await waitFor(() => expect(success).toHaveBeenCalled());
- expect(
- screen.getByRole("button", {
- name: "settings:giteaIntegration.importIssues",
- }),
- ).toBeDisabled();
- expect(
- screen.getByText("settings:gitlabIntegration.importPermissionHint"),
- ).toBeInTheDocument();
- },
-);
diff --git a/apps/web/src/components/project/gitea-integration-settings.tsx b/apps/web/src/components/project/gitea-integration-settings.tsx
deleted file mode 100644
index 912771b54..000000000
--- a/apps/web/src/components/project/gitea-integration-settings.tsx
+++ /dev/null
@@ -1,904 +0,0 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import {
- AlertTriangle,
- CheckCircle,
- ExternalLink,
- GitBranch,
- Import,
- Link,
- RefreshCw,
- Unlink,
- XCircle,
-} from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { GiteaRepositoryBrowserModal } from "@/components/project/gitea-repository-browser-modal";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Separator } from "@/components/ui/separator";
-import { Switch } from "@/components/ui/switch";
-import type { VerifyGiteaAccessResponse } from "@/fetchers/gitea-integration/verify-gitea-access";
-import {
- useCreateGiteaIntegration,
- useDeleteGiteaIntegration,
- useVerifyGiteaAccess,
-} from "@/hooks/mutations/gitea-integration/use-create-gitea-integration";
-import useImportGiteaIssues from "@/hooks/mutations/gitea-integration/use-import-gitea-issues";
-import { useUpdateGiteaIntegration } from "@/hooks/mutations/gitea-integration/use-update-gitea-integration";
-import useGetGiteaIntegration from "@/hooks/queries/gitea-integration/use-get-gitea-integration";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { cn } from "@/lib/cn";
-import { toast } from "@/lib/toast";
-
-type GiteaIntegrationFormValues = {
- baseUrl: string;
- accessToken: string;
- repositoryOwner: string;
- repositoryName: string;
-};
-
-type GiteaVerificationSnapshot = {
- baseUrl: string;
- accessToken: string;
- repositoryOwner: string;
- repositoryName: string;
-};
-
-type GiteaVerificationState = {
- result: VerifyGiteaAccessResponse;
- verified: GiteaVerificationSnapshot;
-};
-
-function createVerificationSnapshot(
- values: GiteaIntegrationFormValues,
-): GiteaVerificationSnapshot {
- return {
- baseUrl: values.baseUrl.trim(),
- accessToken: values.accessToken.trim(),
- repositoryOwner: values.repositoryOwner.trim(),
- repositoryName: values.repositoryName.trim(),
- };
-}
-
-export function GiteaIntegrationSettings({ projectId }: { projectId: string }) {
- const { t } = useTranslation();
- const { canCreateTasks, canUpdateTasks } = useWorkspacePermission();
- const hasImportPermission = canCreateTasks() && canUpdateTasks();
-
- const giteaIntegrationSchema = React.useMemo(
- () =>
- z.object({
- baseUrl: z
- .string()
- .min(1, t("settings:giteaIntegration.validation.baseUrlRequired"))
- .refine((s) => {
- try {
- new URL(s);
- return true;
- } catch {
- return false;
- }
- }, t("settings:giteaIntegration.validation.baseUrlInvalid")),
- accessToken: z.string(),
- repositoryOwner: z
- .string()
- .min(1, t("settings:giteaIntegration.validation.ownerRequired"))
- .regex(
- /^[a-zA-Z0-9_.-]+$/,
- t("settings:giteaIntegration.validation.ownerInvalid"),
- ),
- repositoryName: z
- .string()
- .min(1, t("settings:giteaIntegration.validation.nameRequired"))
- .regex(
- /^[a-zA-Z0-9._-]+$/,
- t("settings:giteaIntegration.validation.nameInvalid"),
- ),
- }),
- [t],
- );
-
- const {
- data: integration,
- isLoading,
- error: integrationError,
- refetch: refetchIntegration,
- } = useGetGiteaIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateGiteaIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteGiteaIntegration();
- const { mutateAsync: verifyAccess, isPending: isVerifying } =
- useVerifyGiteaAccess();
- const { mutateAsync: importIssues, isPending: isImporting } =
- useImportGiteaIssues();
- const { mutateAsync: updateGiteaSettings, isPending: isUpdatingSettings } =
- useUpdateGiteaIntegration();
-
- const [verificationResult, setVerificationResult] =
- React.useState<GiteaVerificationState | null>(null);
- const [showRepositoryBrowser, setShowRepositoryBrowser] =
- React.useState(false);
- const [showWebhookSecret, setShowWebhookSecret] = React.useState(false);
-
- const form = useForm<GiteaIntegrationFormValues>({
- resolver: standardSchemaResolver(giteaIntegrationSchema),
- defaultValues: {
- baseUrl: "",
- accessToken: "",
- repositoryOwner: "",
- repositoryName: "",
- },
- });
-
- const { reset: resetForm, getValues: getFormValues, formState } = form;
-
- const resetIntegrationForm = React.useCallback(() => {
- if (!integration?.baseUrl) {
- return;
- }
-
- resetForm({
- baseUrl: integration.baseUrl,
- accessToken: "",
- repositoryOwner: integration.repositoryOwner,
- repositoryName: integration.repositoryName,
- });
- // Intentionally clear verify state after reload: import must not run until the user re-verifies (token/URL may have changed).
- // Clear verify state when the form reloads so import cannot run against stale credentials.
- setVerificationResult(null);
- setShowWebhookSecret(false);
- }, [
- resetForm,
- integration?.baseUrl,
- integration?.repositoryOwner,
- integration?.repositoryName,
- ]);
-
- React.useEffect(() => {
- resetIntegrationForm();
- }, [resetIntegrationForm]);
-
- const runVerify = React.useCallback(
- async (data: GiteaIntegrationFormValues, showToast = true) => {
- const token = data.accessToken.trim();
- if (!token && !integration) {
- if (showToast) {
- toast.error(t("settings:giteaIntegration.toast.tokenRequiredVerify"));
- }
- setVerificationResult(null);
- return;
- }
- try {
- const snapshot = createVerificationSnapshot(data);
- const result = await verifyAccess({
- projectId,
- baseUrl: snapshot.baseUrl,
- accessToken: snapshot.accessToken || undefined,
- repositoryOwner: snapshot.repositoryOwner,
- repositoryName: snapshot.repositoryName,
- });
- setVerificationResult({
- result,
- verified: snapshot,
- });
- if (showToast) {
- if (result.isInstalled && result.hasRequiredPermissions) {
- toast.success(t("settings:giteaIntegration.toast.verifyOk"));
- } else if (result.failureReason === "redirected") {
- toast.error(t("settings:giteaIntegration.toast.redirected"));
- } else if (result.failureReason === "not_a_gitea_instance") {
- toast.error(t("settings:giteaIntegration.toast.notGiteaInstance"));
- } else if (result.failureReason === "repository_not_found") {
- toast.error(t("settings:giteaIntegration.toast.repoNotFound"));
- } else {
- toast.warning(t("settings:giteaIntegration.toast.verifyWarning"));
- }
- }
- } catch (error) {
- if (showToast) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:giteaIntegration.toast.verifyError"),
- );
- }
- setVerificationResult(null);
- }
- },
- [verifyAccess, integration, projectId, t],
- );
-
- const baseUrl = form.watch("baseUrl");
- const accessToken = form.watch("accessToken");
- const repositoryOwner = form.watch("repositoryOwner");
- const repositoryName = form.watch("repositoryName");
- const currentVerificationSnapshot = React.useMemo(
- () =>
- createVerificationSnapshot({
- baseUrl,
- accessToken,
- repositoryOwner,
- repositoryName,
- }),
- [baseUrl, accessToken, repositoryOwner, repositoryName],
- );
-
- React.useEffect(() => {
- setVerificationResult((current) => {
- if (!current) {
- return current;
- }
-
- const stillMatches =
- current.verified.baseUrl === currentVerificationSnapshot.baseUrl &&
- current.verified.accessToken ===
- currentVerificationSnapshot.accessToken &&
- current.verified.repositoryOwner ===
- currentVerificationSnapshot.repositoryOwner &&
- current.verified.repositoryName ===
- currentVerificationSnapshot.repositoryName;
-
- return stillMatches ? current : null;
- });
- }, [currentVerificationSnapshot]);
-
- React.useEffect(() => {
- if (!baseUrl || !repositoryOwner || !repositoryName || !formState.isValid) {
- return;
- }
- if (!accessToken.trim()) {
- return;
- }
- const timeoutId = window.setTimeout(() => {
- runVerify(getFormValues(), false);
- }, 400);
-
- return () => {
- window.clearTimeout(timeoutId);
- };
- }, [
- baseUrl,
- repositoryOwner,
- repositoryName,
- accessToken,
- formState.isValid,
- runVerify,
- getFormValues,
- ]);
-
- const onSubmit = async (data: GiteaIntegrationFormValues) => {
- try {
- if (!data.accessToken.trim() && !integration) {
- toast.error(t("settings:giteaIntegration.toast.tokenRequired"));
- return;
- }
-
- const snapshot = createVerificationSnapshot(data);
- const hasMatchingVerification =
- verificationResult?.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions &&
- verificationResult.verified.baseUrl === snapshot.baseUrl &&
- verificationResult.verified.accessToken === snapshot.accessToken &&
- verificationResult.verified.repositoryOwner ===
- snapshot.repositoryOwner &&
- verificationResult.verified.repositoryName === snapshot.repositoryName;
-
- if (data.accessToken.trim() && !hasMatchingVerification) {
- const verification = await verifyAccess({
- projectId,
- baseUrl: snapshot.baseUrl,
- accessToken: snapshot.accessToken || undefined,
- repositoryOwner: snapshot.repositoryOwner,
- repositoryName: snapshot.repositoryName,
- });
-
- if (!verification.isInstalled || !verification.hasRequiredPermissions) {
- toast.error(t("settings:giteaIntegration.toast.verifyFirst"));
- return;
- }
- }
-
- await createIntegration({
- projectId,
- data: {
- baseUrl: data.baseUrl,
- ...(data.accessToken.trim()
- ? { accessToken: data.accessToken.trim() }
- : {}),
- repositoryOwner: data.repositoryOwner,
- repositoryName: data.repositoryName,
- },
- });
- form.setValue("accessToken", "");
- toast.success(t("settings:giteaIntegration.toast.updated"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:giteaIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- resetForm({
- baseUrl: "",
- accessToken: "",
- repositoryOwner: "",
- repositoryName: "",
- });
- setVerificationResult(null);
- toast.success(t("settings:giteaIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:giteaIntegration.toast.removeError"),
- );
- }
- };
-
- const handleImportIssues = async () => {
- if (!hasImportPermission) return;
- try {
- await importIssues(projectId);
- toast.success(t("settings:giteaIntegration.toast.issuesImported"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:giteaIntegration.toast.importError"),
- );
- }
- };
-
- const handleRepositorySelect = (repository: {
- owner: string;
- name: string;
- }) => {
- form.setValue("repositoryOwner", repository.owner, {
- shouldValidate: true,
- shouldDirty: true,
- shouldTouch: true,
- });
- form.setValue("repositoryName", repository.name, {
- shouldValidate: true,
- shouldDirty: true,
- shouldTouch: true,
- });
- setShowRepositoryBrowser(false);
- setVerificationResult(null);
- };
-
- const handleCopyWebhookSecret = React.useCallback(async () => {
- if (!integration?.webhookSecret) {
- return;
- }
-
- try {
- await navigator.clipboard.writeText(integration.webhookSecret);
- toast.success(t("settings:giteaIntegration.toast.secretCopied"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:giteaIntegration.toast.unableToCopySecret"),
- );
- }
- }, [integration?.webhookSecret, t]);
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="h-10 bg-muted rounded animate-pulse w-full" />
- </div>
- );
- }
-
- if (integrationError) {
- return (
- <div className="space-y-4 rounded-xl border border-destructive/25 bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <p className="text-sm font-medium text-destructive">
- {t("common:error.title")}
- </p>
- <p className="text-sm text-muted-foreground">
- {integrationError instanceof Error
- ? integrationError.message
- : t("settings:giteaIntegration.toast.updateError")}
- </p>
- </div>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => refetchIntegration()}
- >
- {t("settings:giteaIntegration.retry")}
- </Button>
- </div>
- </div>
- );
- }
-
- const isConnected = !!integration && integration.isActive;
- // Import stays disabled until the user verifies again after changing connection details (avoids importing with an unverified token).
- const hasVerifiedCurrentValues =
- verificationResult?.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions &&
- verificationResult.verified.baseUrl ===
- currentVerificationSnapshot.baseUrl &&
- verificationResult.verified.accessToken ===
- currentVerificationSnapshot.accessToken &&
- verificationResult.verified.repositoryOwner ===
- currentVerificationSnapshot.repositoryOwner &&
- verificationResult.verified.repositoryName ===
- currentVerificationSnapshot.repositoryName;
- const canImport =
- hasImportPermission && isConnected && Boolean(hasVerifiedCurrentValues);
-
- const repoUrl =
- integration?.baseUrl && integration.repositoryOwner
- ? `${integration.baseUrl.replace(/\/$/, "")}/${integration.repositoryOwner}/${integration.repositoryName}`
- : null;
-
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:giteaIntegration.connectionStatus")}
- </p>
- {isConnected ? (
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.connectedActive")}
- </p>
- ) : (
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.notConnectedHint")}
- </p>
- )}
- </div>
- {isConnected ? (
- <Badge variant="secondary" className="gap-1">
- <CheckCircle className="w-3 h-3" />
- {t("settings:giteaIntegration.badgeConnected")}
- </Badge>
- ) : (
- <Badge variant="outline" className="gap-1">
- <XCircle className="w-3 h-3" />
- {t("settings:giteaIntegration.badgeNotConnected")}
- </Badge>
- )}
- </div>
-
- {isConnected && integration && (
- <>
- <Separator />
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:giteaIntegration.repository")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.repositoryHint")}
- </p>
- </div>
- <div className="flex items-center gap-2 text-sm">
- <span className="font-medium">
- {integration.repositoryOwner}/{integration.repositoryName}
- </span>
- {repoUrl && (
- <a
- href={repoUrl}
- target="_blank"
- rel="noopener noreferrer"
- className="text-primary hover:text-primary/80 transition-colors"
- >
- <ExternalLink className="w-3 h-3" />
- </a>
- )}
- </div>
- </div>
-
- <Separator />
- <div className="flex items-center justify-between gap-4">
- <div className="min-w-0 flex-1 space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:giteaIntegration.commentTaskLinkTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.commentTaskLinkHint")}
- </p>
- </div>
- <Switch
- checked={integration.commentTaskLinkOnGiteaIssue ?? true}
- onCheckedChange={async (checked) => {
- try {
- await updateGiteaSettings({
- projectId,
- json: { commentTaskLinkOnGiteaIssue: checked },
- });
- toast.success(
- checked
- ? t("settings:giteaIntegration.toast.commentOnEnabled")
- : t(
- "settings:giteaIntegration.toast.commentOnDisabled",
- ),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t(
- "settings:giteaIntegration.toast.settingsUpdateError",
- ),
- );
- }
- }}
- disabled={isUpdatingSettings}
- />
- </div>
-
- {integration.webhookUrl && (
- <>
- <Separator />
- <div className="space-y-2 text-xs">
- <p className="font-medium text-sm">
- {t("settings:giteaIntegration.webhookTitle")}
- </p>
- <p className="text-muted-foreground">
- {t("settings:giteaIntegration.webhookHint")}
- </p>
- <code className="block break-all rounded bg-muted px-2 py-1 text-[11px]">
- {integration.webhookUrl}
- </code>
- <p className="text-muted-foreground mt-2">
- {t("settings:giteaIntegration.webhookSecretLabel")}
- </p>
- <div className="flex items-start gap-2">
- <code className="block flex-1 break-all rounded bg-muted px-2 py-1 text-[11px]">
- {showWebhookSecret
- ? integration.webhookSecret
- : "••••••••••••••••••••••••••••••••"}
- </code>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() =>
- setShowWebhookSecret((current) => !current)
- }
- >
- {showWebhookSecret
- ? t("settings:giteaIntegration.webhookHide")
- : t("settings:giteaIntegration.webhookShow")}
- </Button>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={handleCopyWebhookSecret}
- >
- {t("settings:giteaIntegration.webhookCopy")}
- </Button>
- </div>
- </div>
- </>
- )}
- </>
- )}
- </div>
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <Form {...form}>
- <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
- <FormField
- control={form.control}
- name="baseUrl"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:giteaIntegration.baseUrlLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.baseUrlHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-72"
- placeholder="https://gitea.example.com"
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={form.control}
- name="accessToken"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:giteaIntegration.tokenLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.tokenHint")}
- {integration?.maskedAccessToken
- ? ` (${t("settings:giteaIntegration.currentToken")}: ${integration.maskedAccessToken})`
- : null}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-72"
- type="password"
- autoComplete="off"
- placeholder={
- integration
- ? t(
- "settings:giteaIntegration.tokenPlaceholderUpdate",
- )
- : t("settings:giteaIntegration.tokenPlaceholder")
- }
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={form.control}
- name="repositoryOwner"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:giteaIntegration.ownerLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.ownerHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-64"
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={form.control}
- name="repositoryName"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:giteaIntegration.repoNameLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.repoNameHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-64"
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:giteaIntegration.actionsTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.actionsHint")}
- </p>
- </div>
- <div className="flex flex-wrap gap-2">
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => setShowRepositoryBrowser(true)}
- className="gap-2"
- disabled={!baseUrl || !accessToken.trim()}
- >
- <GitBranch className="size-3" />
- {t("settings:giteaIntegration.browse")}
- </Button>
-
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => runVerify(getFormValues())}
- disabled={
- isVerifying ||
- !formState.isValid ||
- (!accessToken.trim() && !integration)
- }
- className="gap-2"
- >
- <RefreshCw
- className={cn("size-3", isVerifying && "animate-spin")}
- />
- {t("settings:giteaIntegration.verify")}
- </Button>
-
- <Button
- type="submit"
- size="sm"
- disabled={
- isCreating ||
- isDeleting ||
- !formState.isValid ||
- (verificationResult ? !hasVerifiedCurrentValues : false)
- }
- className="gap-2"
- >
- <Link className="size-3" />
- {isConnected
- ? t("settings:giteaIntegration.update")
- : t("settings:giteaIntegration.connect")}
- </Button>
-
- {isConnected && (
- <Button
- type="button"
- variant="destructive"
- size="sm"
- onClick={handleDelete}
- disabled={isCreating || isDeleting}
- className="gap-2"
- >
- <Unlink className="size-3" />
- {t("settings:giteaIntegration.disconnect")}
- </Button>
- )}
- </div>
- </div>
- </form>
- </Form>
-
- {verificationResult && (
- <>
- <Separator />
- <div
- className={cn(
- "flex items-start gap-3 p-3 border rounded-md text-sm",
- verificationResult.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions
- ? "border-success/25 bg-success/10"
- : verificationResult.result.failureReason
- ? "border-destructive/25 bg-destructive/10"
- : "border-warning/25 bg-warning/10",
- )}
- >
- {verificationResult.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions ? (
- <CheckCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-success-foreground" />
- ) : verificationResult.result.failureReason ? (
- <XCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-destructive-foreground" />
- ) : (
- <AlertTriangle className="mt-0.5 h-4 w-4 flex-shrink-0 text-warning-foreground" />
- )}
- <div className="flex-1">
- <p className="font-medium">
- {verificationResult.result.message}
- </p>
- </div>
- </div>
- </>
- )}
- </div>
-
- {isConnected && (
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:giteaIntegration.importSectionTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:giteaIntegration.importSectionHint")}
- </p>
- </div>
- <Button
- onClick={handleImportIssues}
- disabled={isImporting || !canImport}
- className="gap-2"
- size="sm"
- variant="outline"
- >
- {isImporting ? (
- <RefreshCw className="size-3 animate-spin" />
- ) : (
- <Import className="size-3" />
- )}
- {isImporting
- ? t("settings:giteaIntegration.importing")
- : t("settings:giteaIntegration.importIssues")}
- </Button>
- </div>
- {!canImport && (
- <>
- <Separator />
- <p className="text-xs text-muted-foreground">
- {hasImportPermission
- ? t("settings:giteaIntegration.importDisabledHint")
- : t("settings:gitlabIntegration.importPermissionHint")}
- </p>
- </>
- )}
- </div>
- )}
-
- <GiteaRepositoryBrowserModal
- open={showRepositoryBrowser}
- projectId={projectId}
- onOpenChange={setShowRepositoryBrowser}
- onSelectRepository={handleRepositorySelect}
- selectedRepository={
- repositoryOwner && repositoryName
- ? `${repositoryOwner}/${repositoryName}`
- : undefined
- }
- baseUrl={baseUrl}
- accessToken={accessToken}
- />
- </div>
- );
-}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-access.ts b/apps/web/src/components/project/gitea-integration/gitea-access.ts
new file mode 100644
index 000000000..8c45698e8
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-access.ts
@@ -0,0 +1,17 @@
+import { tokenFingerprint } from "@/lib/token-fingerprint";
+
+export type GiteaAccess = {
+ baseUrl: string;
+ accessToken?: string;
+ repositoryOwner: string;
+ repositoryName: string;
+};
+
+export function giteaAccessKey(access: GiteaAccess) {
+ return [
+ access.baseUrl,
+ access.repositoryOwner,
+ access.repositoryName,
+ access.accessToken ? tokenFingerprint(access.accessToken) : "stored",
+ ].join("|");
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-change-token.tsx b/apps/web/src/components/project/gitea-integration/gitea-change-token.tsx
new file mode 100644
index 000000000..8920bbf68
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-change-token.tsx
@@ -0,0 +1,53 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { isAccessVerified } from "@/components/project/code-hosting/access-verification-tone";
+import { ChangeTokenForm } from "@/components/project/code-hosting/change-token-form";
+import { useGiteaVerification } from "@/components/project/gitea-integration/use-gitea-verification";
+import { useSaveGiteaIntegration } from "@/components/project/gitea-integration/use-save-gitea-integration";
+import type { GiteaIntegration } from "@/fetchers/gitea-integration/get-gitea-integration";
+
+type GiteaChangeTokenProps = {
+ projectId: string;
+ integration: GiteaIntegration;
+ onDone: () => void;
+};
+
+export function GiteaChangeToken({
+ projectId,
+ integration,
+ onDone,
+}: GiteaChangeTokenProps) {
+ const { t } = useTranslation();
+ const [token, setToken] = useState("");
+ const trimmed = token.trim();
+ const access = trimmed
+ ? {
+ baseUrl: integration.baseUrl,
+ accessToken: trimmed,
+ repositoryOwner: integration.repositoryOwner,
+ repositoryName: integration.repositoryName,
+ }
+ : null;
+ const verification = useGiteaVerification(projectId, access);
+ const verified = isAccessVerified(verification.result);
+ const { save, saving } = useSaveGiteaIntegration(projectId);
+
+ return (
+ <ChangeTokenForm
+ token={token}
+ tokenLabel={t("settings:giteaIntegration.tokenLabel")}
+ placeholder={t("settings:giteaIntegration.tokenPlaceholderUpdate")}
+ fallbackError={t("settings:giteaIntegration.toast.verifyError")}
+ verification={verification}
+ saving={saving}
+ canSave={
+ access !== null && (verification.result === undefined || verified)
+ }
+ onTokenChange={setToken}
+ onCancel={onDone}
+ onSave={async () => {
+ if (access && (await save(access, verified))) onDone();
+ }}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-connected-panel.tsx b/apps/web/src/components/project/gitea-integration/gitea-connected-panel.tsx
new file mode 100644
index 000000000..4a6b6dd43
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-connected-panel.tsx
@@ -0,0 +1,98 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { isAccessVerified } from "@/components/project/code-hosting/access-verification-tone";
+import { DisconnectIntegrationButton } from "@/components/project/code-hosting/disconnect-integration-button";
+import { WebhookSection } from "@/components/project/code-hosting/webhook-section";
+import { GiteaIssuesSection } from "@/components/project/gitea-integration/gitea-issues-section";
+import { GiteaRepositorySection } from "@/components/project/gitea-integration/gitea-repository-section";
+import { useGiteaVerification } from "@/components/project/gitea-integration/use-gitea-verification";
+import { useSaveGiteaIntegration } from "@/components/project/gitea-integration/use-save-gitea-integration";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelFooter } from "@/components/project/integrations/panel/integration-panel-footer";
+import { SyncRulesSection } from "@/components/project/sync-rules/sync-rules-section";
+import type { GiteaIntegration } from "@/fetchers/gitea-integration/get-gitea-integration";
+import { useDeleteGiteaIntegration } from "@/hooks/mutations/gitea-integration/use-create-gitea-integration";
+import { toast } from "@/lib/toast";
+
+type GiteaConnectedPanelProps = {
+ projectId: string;
+ integration: GiteaIntegration;
+};
+
+export function GiteaConnectedPanel({
+ projectId,
+ integration,
+}: GiteaConnectedPanelProps) {
+ const { t } = useTranslation();
+ const [editingToken, setEditingToken] = useState(false);
+ const isConnected = Boolean(integration.isActive);
+ const savedAccess = {
+ baseUrl: integration.baseUrl,
+ repositoryOwner: integration.repositoryOwner,
+ repositoryName: integration.repositoryName,
+ };
+ const status = useGiteaVerification(
+ projectId,
+ isConnected && !editingToken ? savedAccess : null,
+ );
+ const { save, saving } = useSaveGiteaIntegration(projectId);
+ const { mutateAsync: remove, isPending: isDeleting } =
+ useDeleteGiteaIntegration();
+ const target = `${integration.repositoryOwner}/${integration.repositoryName}`;
+
+ const disconnect = async () => {
+ try {
+ await remove(projectId);
+ toast.success(t("settings:giteaIntegration.toast.removed"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:giteaIntegration.toast.removeError"),
+ );
+ return false;
+ }
+ };
+
+ return (
+ <IntegrationPanel>
+ <GiteaRepositorySection
+ projectId={projectId}
+ integration={integration}
+ status={status}
+ editingToken={editingToken}
+ reconnecting={saving}
+ onEditingTokenChange={setEditingToken}
+ onReconnect={() => void save(savedAccess, false)}
+ />
+ {integration.webhookUrl ? (
+ <WebhookSection
+ url={integration.webhookUrl}
+ secret={integration.webhookSecret}
+ description={t("settings:giteaIntegration.webhookHint")}
+ events={t("settings:giteaIntegration.webhookEvents")}
+ />
+ ) : null}
+ <GiteaIssuesSection
+ projectId={projectId}
+ isConnected={isConnected}
+ verified={isAccessVerified(status.result)}
+ checking={status.checking}
+ />
+ <SyncRulesSection
+ key={`${projectId}:gitea`}
+ projectId={projectId}
+ provider="gitea"
+ />
+ <IntegrationPanelFooter>
+ <DisconnectIntegrationButton
+ provider="Gitea"
+ target={target}
+ pending={isDeleting || saving}
+ onConfirm={disconnect}
+ />
+ </IntegrationPanelFooter>
+ </IntegrationPanel>
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-integration-settings.test.tsx b/apps/web/src/components/project/gitea-integration/gitea-integration-settings.test.tsx
new file mode 100644
index 000000000..cfff54746
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-integration-settings.test.tsx
@@ -0,0 +1,264 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { GiteaIntegrationSettings } from "./gitea-integration-settings";
+
+const m = vi.hoisted(() => ({
+ verify: vi.fn(),
+ create: vi.fn(),
+ remove: vi.fn(),
+ importIssues: vi.fn(),
+ success: vi.fn(),
+ failure: vi.fn(),
+ integration: { current: null as null | Record<string, unknown> },
+}));
+const saved = {
+ baseUrl: "https://gitea.example",
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ maskedAccessToken: "ab…yz",
+ webhookUrl: "https://kaneo.example/api/gitea-integration/webhook/1",
+ webhookSecret: "webhook-secret",
+ isActive: true,
+};
+const permissions = vi.hoisted(() => ({ create: true, update: true }));
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({
+ canCreateTasks: () => permissions.create,
+ canUpdateTasks: () => permissions.update,
+ }),
+}));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/hooks/queries/gitea-integration/use-get-gitea-integration", () => ({
+ default: () => ({ data: m.integration.current, isLoading: false }),
+}));
+vi.mock(
+ "@/hooks/mutations/gitea-integration/use-create-gitea-integration",
+ () => ({
+ useVerifyGiteaAccess: () => ({ mutateAsync: m.verify, isPending: false }),
+ useCreateGiteaIntegration: () => ({
+ mutateAsync: m.create,
+ isPending: false,
+ }),
+ useDeleteGiteaIntegration: () => ({
+ mutateAsync: m.remove,
+ isPending: false,
+ }),
+ }),
+);
+vi.mock(
+ "@/hooks/mutations/gitea-integration/use-update-gitea-integration",
+ () => ({
+ useUpdateGiteaIntegration: () => ({ mutateAsync: vi.fn() }),
+ }),
+);
+vi.mock("@/hooks/mutations/gitea-integration/use-import-gitea-issues", () => ({
+ default: () => ({ mutateAsync: m.importIssues }),
+}));
+vi.mock(
+ "@/components/project/gitea-integration/gitea-repository-picker",
+ () => ({
+ GiteaRepositoryPicker: () => null,
+ }),
+);
+vi.mock("@/components/project/sync-rules/sync-rules-section", () => ({
+ SyncRulesSection: () => <p>Sync rules</p>,
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: m.success, error: m.failure, warning: vi.fn() },
+}));
+
+const verified = {
+ isInstalled: true,
+ hasRequiredPermissions: true,
+ message: "Token can access the repository",
+};
+
+afterEach(() => {
+ cleanup();
+ vi.clearAllMocks();
+});
+beforeEach(() => {
+ permissions.create = true;
+ permissions.update = true;
+ m.integration.current = saved;
+ m.verify.mockResolvedValue(verified);
+});
+
+describe("connected Gitea repository", () => {
+ it("verifies the saved token automatically without exposing or reentering it", async () => {
+ render(<GiteaIntegrationSettings projectId="project" />);
+ expect(
+ await screen.findByText(verified.message, {}, { timeout: 2000 }),
+ ).toBeInTheDocument();
+ expect(m.verify).toHaveBeenCalledWith({
+ projectId: "project",
+ baseUrl: saved.baseUrl,
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ accessToken: undefined,
+ });
+ const importButton = screen.getByRole("button", {
+ name: "settings:codeHosting.importIssues",
+ });
+ expect(importButton).toBeEnabled();
+ fireEvent.click(importButton);
+ await waitFor(() => expect(m.importIssues).toHaveBeenCalledWith("project"));
+ expect(screen.queryByText(saved.webhookSecret)).toBeNull();
+ });
+
+ it("shows verification errors and keeps importing disabled", async () => {
+ m.verify.mockRejectedValue(new Error("Verification failed"));
+ render(<GiteaIntegrationSettings projectId="project" />);
+ expect(
+ await screen.findByText("Verification failed", {}, { timeout: 2000 }),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByRole("button", { name: "settings:codeHosting.importIssues" }),
+ ).toBeDisabled();
+ });
+
+ it("reveals the webhook secret only on request", async () => {
+ render(<GiteaIntegrationSettings projectId="project" />);
+ expect(screen.queryByText(saved.webhookSecret)).toBeNull();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:codeHosting.showSecret" }),
+ );
+ expect(screen.getByText(saved.webhookSecret)).toBeInTheDocument();
+ expect(
+ screen.getByRole("textbox", { name: "settings:codeHosting.webhookUrl" }),
+ ).toHaveValue(saved.webhookUrl);
+ });
+
+ it("rotates the token after verifying the new one", async () => {
+ m.create.mockResolvedValue({});
+ render(<GiteaIntegrationSettings projectId="project" />);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:codeHosting.changeToken" }),
+ );
+ fireEvent.change(
+ screen.getByLabelText("settings:giteaIntegration.tokenLabel"),
+ { target: { value: " new-token " } },
+ );
+ await waitFor(
+ () =>
+ expect(m.verify).toHaveBeenCalledWith(
+ expect.objectContaining({ accessToken: "new-token" }),
+ ),
+ { timeout: 2000 },
+ );
+ const saveButton = screen.getByRole("button", {
+ name: "settings:codeHosting.saveToken",
+ });
+ await waitFor(() => expect(saveButton).toBeEnabled());
+ fireEvent.click(saveButton);
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ projectId: "project",
+ data: {
+ baseUrl: saved.baseUrl,
+ accessToken: "new-token",
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ },
+ }),
+ );
+ });
+
+ it("disconnects only after confirmation", async () => {
+ m.remove.mockResolvedValue({});
+ render(<GiteaIntegrationSettings projectId="project" />);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:codeHosting.disconnect" }),
+ );
+ const dialog = await screen.findByRole("alertdialog");
+ expect(m.remove).not.toHaveBeenCalled();
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:codeHosting.disconnect",
+ }),
+ );
+ await waitFor(() => expect(m.remove).toHaveBeenCalledWith("project"));
+ });
+});
+
+describe("Gitea setup", () => {
+ it("maps owner/name to the existing fields and connects once access is verified", async () => {
+ m.integration.current = null;
+ m.create.mockResolvedValue({});
+ render(<GiteaIntegrationSettings projectId="project" />);
+ fireEvent.change(
+ screen.getByLabelText("settings:giteaIntegration.baseUrlLabel"),
+ { target: { value: "https://gitea.example" } },
+ );
+ fireEvent.change(
+ screen.getByLabelText("settings:giteaIntegration.tokenLabel"),
+ { target: { value: "token" } },
+ );
+ fireEvent.change(
+ screen.getByRole("textbox", {
+ name: "settings:codeHosting.repositoryPathLabel",
+ }),
+ { target: { value: "my_org/repo" } },
+ );
+ expect(
+ await screen.findByText(verified.message, {}, { timeout: 2000 }),
+ ).toBeInTheDocument();
+ expect(m.verify).toHaveBeenCalledWith({
+ projectId: "project",
+ baseUrl: "https://gitea.example",
+ accessToken: "token",
+ repositoryOwner: "my_org",
+ repositoryName: "repo",
+ });
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:codeHosting.connectRepository",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ projectId: "project",
+ data: {
+ baseUrl: "https://gitea.example",
+ accessToken: "token",
+ repositoryOwner: "my_org",
+ repositoryName: "repo",
+ },
+ }),
+ );
+ expect(m.verify).toHaveBeenCalledTimes(1);
+ });
+});
+
+it.each(["create", "update"] as const)(
+ "disables verified Gitea imports without %s permission",
+ async (permission) => {
+ permissions[permission] = false;
+ render(<GiteaIntegrationSettings projectId="project" />);
+ await screen.findByText(verified.message, {}, { timeout: 2000 });
+ expect(
+ screen.getByRole("button", {
+ name: "settings:codeHosting.importIssues",
+ }),
+ ).toBeDisabled();
+ expect(
+ screen.getByText("settings:gitlabIntegration.importPermissionHint"),
+ ).toBeInTheDocument();
+ },
+);
diff --git a/apps/web/src/components/project/gitea-integration/gitea-integration-settings.tsx b/apps/web/src/components/project/gitea-integration/gitea-integration-settings.tsx
new file mode 100644
index 000000000..f7957eac6
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-integration-settings.tsx
@@ -0,0 +1,31 @@
+import { CodeHostingLoadError } from "@/components/project/code-hosting/code-hosting-load-error";
+import { CodeHostingPanelSkeleton } from "@/components/project/code-hosting/code-hosting-panel-skeleton";
+import { GiteaConnectedPanel } from "@/components/project/gitea-integration/gitea-connected-panel";
+import { GiteaSetupPanel } from "@/components/project/gitea-integration/gitea-setup-panel";
+import useGetGiteaIntegration from "@/hooks/queries/gitea-integration/use-get-gitea-integration";
+
+type GiteaIntegrationSettingsProps = {
+ projectId: string;
+};
+
+export function GiteaIntegrationSettings({
+ projectId,
+}: GiteaIntegrationSettingsProps) {
+ const {
+ data: integration,
+ isLoading,
+ error,
+ refetch,
+ } = useGetGiteaIntegration(projectId);
+
+ if (isLoading) return <CodeHostingPanelSkeleton />;
+ if (error && !integration)
+ return (
+ <CodeHostingLoadError error={error} onRetry={() => void refetch()} />
+ );
+ if (!integration) return <GiteaSetupPanel projectId={projectId} />;
+
+ return (
+ <GiteaConnectedPanel projectId={projectId} integration={integration} />
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-issues-section.tsx b/apps/web/src/components/project/gitea-integration/gitea-issues-section.tsx
new file mode 100644
index 000000000..b46f81d7a
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-issues-section.tsx
@@ -0,0 +1,58 @@
+import { useTranslation } from "react-i18next";
+import { ImportIssuesSection } from "@/components/project/code-hosting/import-issues-section";
+import useImportGiteaIssues from "@/hooks/mutations/gitea-integration/use-import-gitea-issues";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+import { toast } from "@/lib/toast";
+
+type GiteaIssuesSectionProps = {
+ projectId: string;
+ isConnected: boolean;
+ verified: boolean;
+ checking: boolean;
+};
+
+export function GiteaIssuesSection({
+ projectId,
+ isConnected,
+ verified,
+ checking,
+}: GiteaIssuesSectionProps) {
+ const { t } = useTranslation();
+ const { canCreateTasks, canUpdateTasks } = useWorkspacePermission();
+ const { mutateAsync: importIssues, isPending } = useImportGiteaIssues();
+ const hasImportPermission = canCreateTasks() && canUpdateTasks();
+ const canImport = hasImportPermission && isConnected && verified;
+
+ const handleImport = async () => {
+ if (!canImport) return;
+ try {
+ await importIssues(projectId);
+ toast.success(t("settings:giteaIntegration.toast.issuesImported"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:giteaIntegration.toast.importError"),
+ );
+ }
+ };
+
+ return (
+ <ImportIssuesSection
+ description={t("settings:giteaIntegration.importSectionHint")}
+ actionLabel={t("settings:codeHosting.importIssues")}
+ pending={isPending}
+ disabled={!canImport}
+ hint={
+ canImport || (checking && hasImportPermission && isConnected)
+ ? null
+ : !hasImportPermission
+ ? t("settings:gitlabIntegration.importPermissionHint")
+ : isConnected
+ ? t("settings:giteaIntegration.importDisabledHint")
+ : t("settings:codeHosting.importNeedsReconnect")
+ }
+ onImport={handleImport}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/gitea-repository-browser-modal.test.tsx b/apps/web/src/components/project/gitea-integration/gitea-repository-picker.test.tsx
similarity index 71%
rename from apps/web/src/components/project/gitea-repository-browser-modal.test.tsx
rename to apps/web/src/components/project/gitea-integration/gitea-repository-picker.test.tsx
index 2be6a5c50..39ec8cc3c 100644
--- a/apps/web/src/components/project/gitea-repository-browser-modal.test.tsx
+++ b/apps/web/src/components/project/gitea-integration/gitea-repository-picker.test.tsx
@@ -1,5 +1,12 @@
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
-import { act, cleanup, render, screen, waitFor } from "@testing-library/react";
+import {
+ act,
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
import {
afterEach,
beforeEach,
@@ -8,7 +15,7 @@ import {
it,
vi,
} from "vite-plus/test";
-import { GiteaRepositoryBrowserModal } from "./gitea-repository-browser-modal";
+import { GiteaRepositoryPicker } from "./gitea-repository-picker";
const m = vi.hoisted(() => ({ list: vi.fn(), userId: "user-1" }));
vi.mock("@/fetchers/gitea-integration/list-gitea-repositories", () => ({
@@ -56,7 +63,7 @@ function show() {
clients.push(client);
const node = (accessToken: string) => (
<QueryClientProvider client={client}>
- <GiteaRepositoryBrowserModal
+ <GiteaRepositoryPicker
open
projectId="project"
baseUrl="https://gitea.example"
@@ -125,4 +132,45 @@ describe("Gitea repository credential isolation", () => {
change("");
expect(screen.queryByText("owner/new-session-repo")).toBeNull();
});
+
+ it("filters the loaded repositories and uses the confirmed selection", async () => {
+ m.list.mockResolvedValueOnce({
+ repositories: [
+ ...result("website").repositories,
+ { ...result("api").repositories[0], id: 2 },
+ ],
+ });
+ const client = new QueryClient({
+ defaultOptions: { queries: { retry: false } },
+ });
+ clients.push(client);
+ const selected = vi.fn();
+ render(
+ <QueryClientProvider client={client}>
+ <GiteaRepositoryPicker
+ open
+ projectId="project"
+ baseUrl="https://gitea.example"
+ accessToken="token"
+ onOpenChange={vi.fn()}
+ onSelectRepository={selected}
+ />
+ </QueryClientProvider>,
+ );
+ await screen.findByText("owner/api");
+ fireEvent.change(
+ screen.getByRole("searchbox", {
+ name: "settings:repositoryBrowser.searchPlaceholder",
+ }),
+ { target: { value: "WEB" } },
+ );
+ expect(screen.queryByText("owner/api")).toBeNull();
+ fireEvent.click(screen.getByRole("button", { name: /owner\/website/ }));
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:repositoryBrowser.useRepository",
+ }),
+ );
+ expect(selected).toHaveBeenCalledWith({ owner: "owner", name: "website" });
+ });
});
diff --git a/apps/web/src/components/project/gitea-integration/gitea-repository-picker.tsx b/apps/web/src/components/project/gitea-integration/gitea-repository-picker.tsx
new file mode 100644
index 000000000..f596a190f
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-repository-picker.tsx
@@ -0,0 +1,127 @@
+import { useQuery } from "@tanstack/react-query";
+import { useMemo, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { filterByName } from "@/components/project/code-hosting/picker/filter-by-name";
+import { RepositoryPickerDialog } from "@/components/project/code-hosting/picker/repository-picker-dialog";
+import { RepositoryPickerSearch } from "@/components/project/code-hosting/picker/repository-picker-search";
+import { GiteaRepositoryResults } from "@/components/project/gitea-integration/gitea-repository-results";
+import listGiteaRepositories, {
+ type ListGiteaRepositoriesResponse,
+} from "@/fetchers/gitea-integration/list-gitea-repositories";
+import { authClient } from "@/lib/auth-client";
+
+type GiteaRepository = ListGiteaRepositoriesResponse["repositories"][number];
+
+type GiteaRepositoryPickerProps = {
+ open: boolean;
+ projectId: string;
+ onOpenChange: (open: boolean) => void;
+ onSelectRepository: (repository: { owner: string; name: string }) => void;
+ selectedRepository?: string;
+ baseUrl: string;
+ accessToken: string;
+};
+
+export function GiteaRepositoryPicker({
+ open,
+ projectId,
+ onOpenChange,
+ onSelectRepository,
+ selectedRepository,
+ baseUrl,
+ accessToken,
+}: GiteaRepositoryPickerProps) {
+ const { t } = useTranslation();
+ const [term, setTerm] = useState("");
+ const [selected, setSelected] = useState<GiteaRepository | null>(null);
+ const { data: session } = authClient.useSession();
+ const credentials = useMemo(
+ () => ({ accessToken, cacheId: crypto.randomUUID() }),
+ [accessToken],
+ );
+ const canFetch =
+ open &&
+ Boolean(session?.user.id) &&
+ baseUrl.trim().length > 0 &&
+ accessToken.trim().length > 0;
+
+ const { data, isLoading, error, refetch } = useQuery({
+ queryKey: [
+ "gitea-repositories",
+ session?.user.id,
+ projectId,
+ baseUrl,
+ credentials.cacheId,
+ ],
+ queryFn: () =>
+ listGiteaRepositories({
+ projectId,
+ baseUrl,
+ accessToken: credentials.accessToken,
+ }),
+ enabled: canFetch,
+ gcTime: 0,
+ placeholderData: () => undefined,
+ });
+
+ const repositories = filterByName(
+ data?.repositories ?? [],
+ term,
+ (repository) => repository.full_name,
+ );
+ const chosen =
+ selected ??
+ data?.repositories.find(
+ (repository) => repository.full_name === selectedRepository,
+ ) ??
+ null;
+
+ const changeOpen = (next: boolean) => {
+ if (!next) {
+ setTerm("");
+ setSelected(null);
+ }
+ onOpenChange(next);
+ };
+
+ const use = (repository: GiteaRepository | null) => {
+ if (!repository) return;
+ onSelectRepository({
+ owner: repository.owner.login,
+ name: repository.name,
+ });
+ changeOpen(false);
+ };
+
+ return (
+ <RepositoryPickerDialog
+ open={open}
+ onOpenChange={changeOpen}
+ title={t("settings:codeHosting.chooseRepositoryTitle")}
+ description={t("settings:giteaIntegration.browseModalHint")}
+ search={
+ <RepositoryPickerSearch
+ value={term}
+ placeholder={t("settings:repositoryBrowser.searchPlaceholder")}
+ onChange={setTerm}
+ />
+ }
+ confirmLabel={t("settings:repositoryBrowser.useRepository")}
+ confirmDisabled={!chosen || !canFetch}
+ onConfirm={() => use(chosen)}
+ >
+ <GiteaRepositoryResults
+ canFetch={canFetch}
+ isLoading={isLoading}
+ error={canFetch ? error : null}
+ loaded={canFetch && Boolean(data)}
+ repositories={repositories}
+ searching={term.trim() !== ""}
+ selected={chosen?.full_name ?? null}
+ onSelect={setSelected}
+ onConfirm={use}
+ onRetry={() => void refetch()}
+ />
+ </RepositoryPickerDialog>
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-repository-results.tsx b/apps/web/src/components/project/gitea-integration/gitea-repository-results.tsx
new file mode 100644
index 000000000..3729cc2c9
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-repository-results.tsx
@@ -0,0 +1,92 @@
+import { useTranslation } from "react-i18next";
+import { RepositoryPickerMessage } from "@/components/project/code-hosting/picker/repository-picker-message";
+import { RepositoryPickerRow } from "@/components/project/code-hosting/picker/repository-picker-row";
+import { RepositoryPickerSkeleton } from "@/components/project/code-hosting/picker/repository-picker-skeleton";
+import { Button } from "@/components/ui/button";
+import type { ListGiteaRepositoriesResponse } from "@/fetchers/gitea-integration/list-gitea-repositories";
+
+type GiteaRepository = ListGiteaRepositoriesResponse["repositories"][number];
+
+type GiteaRepositoryResultsProps = {
+ canFetch: boolean;
+ isLoading: boolean;
+ error: unknown;
+ loaded: boolean;
+ repositories: GiteaRepository[];
+ searching: boolean;
+ selected: string | null;
+ onSelect: (repository: GiteaRepository) => void;
+ onConfirm: (repository: GiteaRepository) => void;
+ onRetry: () => void;
+};
+
+export function GiteaRepositoryResults({
+ canFetch,
+ isLoading,
+ error,
+ loaded,
+ repositories,
+ searching,
+ selected,
+ onSelect,
+ onConfirm,
+ onRetry,
+}: GiteaRepositoryResultsProps) {
+ const { t } = useTranslation();
+
+ if (!canFetch) {
+ return (
+ <RepositoryPickerMessage
+ title={t("settings:giteaIntegration.browseNeedsCredentials")}
+ />
+ );
+ }
+ if (isLoading) return <RepositoryPickerSkeleton />;
+ if (error) {
+ return (
+ <RepositoryPickerMessage
+ tone="destructive"
+ title={
+ error instanceof Error && error.message
+ ? error.message
+ : t("settings:repositoryBrowser.loadError")
+ }
+ action={
+ <Button type="button" variant="outline" size="sm" onClick={onRetry}>
+ {t("settings:codeHosting.retry")}
+ </Button>
+ }
+ />
+ );
+ }
+ if (!loaded) return null;
+ if (repositories.length === 0) {
+ return (
+ <RepositoryPickerMessage
+ title={
+ searching
+ ? t("settings:repositoryBrowser.noSearchMatchTitle")
+ : t("settings:giteaIntegration.browseEmpty")
+ }
+ description={
+ searching ? t("settings:repositoryBrowser.noSearchMatchHint") : null
+ }
+ />
+ );
+ }
+
+ return (
+ <ul className="space-y-0.5">
+ {repositories.map((repository) => (
+ <RepositoryPickerRow
+ key={repository.id}
+ name={repository.full_name}
+ isPrivate={repository.private}
+ selected={selected === repository.full_name}
+ onSelect={() => onSelect(repository)}
+ onConfirm={() => onConfirm(repository)}
+ />
+ ))}
+ </ul>
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-repository-section.tsx b/apps/web/src/components/project/gitea-integration/gitea-repository-section.tsx
new file mode 100644
index 000000000..f8ea86d2d
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-repository-section.tsx
@@ -0,0 +1,118 @@
+import { useTranslation } from "react-i18next";
+import { AccessStatusLine } from "@/components/project/code-hosting/access-status-line";
+import type { AccessVerificationResult } from "@/components/project/code-hosting/access-verification-tone";
+import { CommentLinkRow } from "@/components/project/code-hosting/comment-link-row";
+import { RepositoryLink } from "@/components/project/code-hosting/repository-link";
+import { StoredTokenRow } from "@/components/project/code-hosting/stored-token-row";
+import { GiteaChangeToken } from "@/components/project/gitea-integration/gitea-change-token";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Button } from "@/components/ui/button";
+import type { GiteaIntegration } from "@/fetchers/gitea-integration/get-gitea-integration";
+import { useUpdateGiteaIntegration } from "@/hooks/mutations/gitea-integration/use-update-gitea-integration";
+import { toast } from "@/lib/toast";
+
+type GiteaRepositorySectionProps = {
+ projectId: string;
+ integration: GiteaIntegration;
+ status: {
+ checking: boolean;
+ result: AccessVerificationResult | undefined;
+ error: unknown;
+ };
+ editingToken: boolean;
+ reconnecting: boolean;
+ onEditingTokenChange: (editing: boolean) => void;
+ onReconnect: () => void;
+};
+
+export function GiteaRepositorySection({
+ projectId,
+ integration,
+ status,
+ editingToken,
+ reconnecting,
+ onEditingTokenChange,
+ onReconnect,
+}: GiteaRepositorySectionProps) {
+ const { t } = useTranslation();
+ const { mutateAsync: update, isPending } = useUpdateGiteaIntegration();
+ const isConnected = Boolean(integration.isActive);
+ const name = `${integration.repositoryOwner}/${integration.repositoryName}`;
+ const href = `${integration.baseUrl.replace(/\/$/, "")}/${name}`;
+
+ const toggleComment = async (next: boolean) => {
+ try {
+ await update({
+ projectId,
+ json: { commentTaskLinkOnGiteaIssue: next },
+ });
+ toast.success(
+ next
+ ? t("settings:giteaIntegration.toast.commentOnEnabled")
+ : t("settings:giteaIntegration.toast.commentOnDisabled"),
+ );
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:giteaIntegration.toast.settingsUpdateError"),
+ );
+ }
+ };
+
+ return (
+ <IntegrationPanelSection
+ label={t("settings:codeHosting.repositorySection")}
+ >
+ <div className="min-w-0 space-y-1">
+ <RepositoryLink name={name} href={href} />
+ {isConnected ? (
+ <AccessStatusLine
+ {...status}
+ fallbackError={t("settings:giteaIntegration.toast.verifyError")}
+ />
+ ) : null}
+ </div>
+ {isConnected ? null : (
+ <IntegrationCheckLine
+ tone="warning"
+ action={
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ loading={reconnecting}
+ onClick={onReconnect}
+ >
+ {t("settings:codeHosting.reconnect")}
+ </Button>
+ }
+ >
+ {t("settings:codeHosting.pausedHint")}
+ </IntegrationCheckLine>
+ )}
+ {isConnected ? (
+ <CommentLinkRow
+ title={t("settings:giteaIntegration.commentTaskLinkTitle")}
+ description={t("settings:giteaIntegration.commentTaskLinkHint")}
+ checked={integration.commentTaskLinkOnGiteaIssue ?? true}
+ disabled={isPending}
+ onCheckedChange={toggleComment}
+ />
+ ) : null}
+ <StoredTokenRow
+ maskedToken={integration.maskedAccessToken}
+ editing={editingToken}
+ onEdit={() => onEditingTokenChange(true)}
+ />
+ {editingToken ? (
+ <GiteaChangeToken
+ projectId={projectId}
+ integration={integration}
+ onDone={() => onEditingTokenChange(false)}
+ />
+ ) : null}
+ </IntegrationPanelSection>
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-setup-panel.tsx b/apps/web/src/components/project/gitea-integration/gitea-setup-panel.tsx
new file mode 100644
index 000000000..7eead86d5
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-setup-panel.tsx
@@ -0,0 +1,132 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { AccessVerificationLine } from "@/components/project/code-hosting/access-verification-line";
+import { isAccessVerified } from "@/components/project/code-hosting/access-verification-tone";
+import { isValidUrl } from "@/components/project/code-hosting/is-valid-url";
+import {
+ formatRepositoryPath,
+ GITEA_OWNER_PATTERN,
+ parseRepositoryPath,
+} from "@/components/project/code-hosting/parse-repository-path";
+import { RepositoryChoiceStep } from "@/components/project/code-hosting/repository-choice-step";
+import { GiteaRepositoryPicker } from "@/components/project/gitea-integration/gitea-repository-picker";
+import { GiteaSignInStep } from "@/components/project/gitea-integration/gitea-sign-in-step";
+import { useGiteaVerification } from "@/components/project/gitea-integration/use-gitea-verification";
+import { useSaveGiteaIntegration } from "@/components/project/gitea-integration/use-save-gitea-integration";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelFooter } from "@/components/project/integrations/panel/integration-panel-footer";
+import { IntegrationSteps } from "@/components/project/integrations/panel/integration-steps";
+import { Button } from "@/components/ui/button";
+
+type GiteaSetupPanelProps = {
+ projectId: string;
+};
+
+export function GiteaSetupPanel({ projectId }: GiteaSetupPanelProps) {
+ const { t } = useTranslation();
+ const [baseUrl, setBaseUrl] = useState("");
+ const [token, setToken] = useState("");
+ const [path, setPath] = useState("");
+ const [touched, setTouched] = useState({ baseUrl: false, path: false });
+ const [browsing, setBrowsing] = useState(false);
+ const { save, saving } = useSaveGiteaIntegration(projectId);
+
+ const trimmedUrl = baseUrl.trim();
+ const trimmedToken = token.trim();
+ const urlValid = isValidUrl(trimmedUrl);
+ const repository = parseRepositoryPath(path, GITEA_OWNER_PATTERN);
+ const access =
+ urlValid && repository && trimmedToken
+ ? {
+ baseUrl: trimmedUrl,
+ accessToken: trimmedToken,
+ repositoryOwner: repository.owner,
+ repositoryName: repository.name,
+ }
+ : null;
+ const verification = useGiteaVerification(projectId, access);
+ const verified = isAccessVerified(verification.result);
+ const blocked = verification.result !== undefined && !verified;
+
+ const baseUrlError = !touched.baseUrl
+ ? null
+ : !trimmedUrl
+ ? t("settings:giteaIntegration.validation.baseUrlRequired")
+ : urlValid
+ ? null
+ : t("settings:giteaIntegration.validation.baseUrlInvalid");
+ const pathInvalid = touched.path && path.trim() !== "" && !repository;
+
+ return (
+ <>
+ <IntegrationPanel>
+ <IntegrationSteps>
+ <GiteaSignInStep
+ baseUrl={baseUrl}
+ token={token}
+ baseUrlError={baseUrlError}
+ disabled={saving}
+ onBaseUrlChange={setBaseUrl}
+ onBaseUrlBlur={() =>
+ setTouched((current) => ({ ...current, baseUrl: true }))
+ }
+ onTokenChange={setToken}
+ />
+ <RepositoryChoiceStep
+ title={t("settings:codeHosting.chooseRepositoryTitle")}
+ description={t(
+ "settings:giteaIntegration.chooseRepositoryDescription",
+ )}
+ inputLabel={t("settings:codeHosting.repositoryPathLabel")}
+ placeholder="owner/repository"
+ value={path}
+ invalidMessage={
+ pathInvalid
+ ? t("settings:codeHosting.repositoryPathInvalid")
+ : null
+ }
+ disabled={saving}
+ browseDisabled={!trimmedUrl || !trimmedToken}
+ status={
+ <AccessVerificationLine
+ {...verification}
+ fallbackError={t("settings:giteaIntegration.toast.verifyError")}
+ />
+ }
+ onChange={setPath}
+ onBlur={() => setTouched((current) => ({ ...current, path: true }))}
+ onBrowse={() => setBrowsing(true)}
+ />
+ </IntegrationSteps>
+ <IntegrationPanelFooter>
+ <Button
+ type="button"
+ loading={saving}
+ disabled={!access || blocked}
+ onClick={() => {
+ if (access) void save(access, verified);
+ }}
+ >
+ {t("settings:codeHosting.connectRepository")}
+ </Button>
+ </IntegrationPanelFooter>
+ </IntegrationPanel>
+ <GiteaRepositoryPicker
+ open={browsing}
+ projectId={projectId}
+ onOpenChange={setBrowsing}
+ onSelectRepository={(selected) => {
+ setPath(formatRepositoryPath(selected.owner, selected.name));
+ setTouched((current) => ({ ...current, path: true }));
+ }}
+ selectedRepository={
+ repository
+ ? formatRepositoryPath(repository.owner, repository.name)
+ : undefined
+ }
+ baseUrl={trimmedUrl}
+ accessToken={trimmedToken}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/gitea-sign-in-step.tsx b/apps/web/src/components/project/gitea-integration/gitea-sign-in-step.tsx
new file mode 100644
index 000000000..45e8124ce
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/gitea-sign-in-step.tsx
@@ -0,0 +1,71 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { SetupField } from "@/components/project/code-hosting/setup-field";
+import { IntegrationStep } from "@/components/project/integrations/panel/integration-step";
+import { Input } from "@/components/ui/input";
+
+type GiteaSignInStepProps = {
+ baseUrl: string;
+ token: string;
+ baseUrlError: string | null;
+ disabled: boolean;
+ onBaseUrlChange: (value: string) => void;
+ onBaseUrlBlur: () => void;
+ onTokenChange: (value: string) => void;
+};
+
+export function GiteaSignInStep({
+ baseUrl,
+ token,
+ baseUrlError,
+ disabled,
+ onBaseUrlChange,
+ onBaseUrlBlur,
+ onTokenChange,
+}: GiteaSignInStepProps) {
+ const { t } = useTranslation();
+ const id = useId();
+
+ return (
+ <IntegrationStep
+ number={1}
+ title={t("settings:codeHosting.signInTitle")}
+ description={t("settings:codeHosting.signInDescription")}
+ >
+ <div className="grid gap-3 sm:grid-cols-2">
+ <SetupField
+ label={t("settings:giteaIntegration.baseUrlLabel")}
+ htmlFor={`${id}-url`}
+ error={baseUrlError}
+ >
+ <Input
+ id={`${id}-url`}
+ type="url"
+ placeholder="https://gitea.example.com"
+ autoComplete="off"
+ value={baseUrl}
+ disabled={disabled}
+ aria-invalid={baseUrlError ? true : undefined}
+ aria-describedby={baseUrlError ? `${id}-url-error` : undefined}
+ onChange={(event) => onBaseUrlChange(event.target.value)}
+ onBlur={onBaseUrlBlur}
+ />
+ </SetupField>
+ <SetupField
+ label={t("settings:giteaIntegration.tokenLabel")}
+ htmlFor={`${id}-token`}
+ >
+ <Input
+ id={`${id}-token`}
+ type="password"
+ autoComplete="off"
+ placeholder={t("settings:giteaIntegration.tokenPlaceholder")}
+ value={token}
+ disabled={disabled}
+ onChange={(event) => onTokenChange(event.target.value)}
+ />
+ </SetupField>
+ </div>
+ </IntegrationStep>
+ );
+}
diff --git a/apps/web/src/components/project/gitea-integration/use-gitea-verification.ts b/apps/web/src/components/project/gitea-integration/use-gitea-verification.ts
new file mode 100644
index 000000000..33e726a3f
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/use-gitea-verification.ts
@@ -0,0 +1,24 @@
+import { useDebouncedCheck } from "@/components/project/code-hosting/use-debounced-check";
+import {
+ type GiteaAccess,
+ giteaAccessKey,
+} from "@/components/project/gitea-integration/gitea-access";
+import { useVerifyGiteaAccess } from "@/hooks/mutations/gitea-integration/use-create-gitea-integration";
+
+export function useGiteaVerification(
+ projectId: string,
+ access: GiteaAccess | null,
+) {
+ const { mutateAsync: verify } = useVerifyGiteaAccess();
+
+ return useDebouncedCheck(access ? giteaAccessKey(access) : null, () => {
+ if (!access) throw new Error("Missing Gitea access");
+ return verify({
+ projectId,
+ baseUrl: access.baseUrl,
+ accessToken: access.accessToken,
+ repositoryOwner: access.repositoryOwner,
+ repositoryName: access.repositoryName,
+ });
+ });
+}
diff --git a/apps/web/src/components/project/gitea-integration/use-save-gitea-integration.ts b/apps/web/src/components/project/gitea-integration/use-save-gitea-integration.ts
new file mode 100644
index 000000000..f897a33f2
--- /dev/null
+++ b/apps/web/src/components/project/gitea-integration/use-save-gitea-integration.ts
@@ -0,0 +1,48 @@
+import { useTranslation } from "react-i18next";
+import { isAccessVerified } from "@/components/project/code-hosting/access-verification-tone";
+import type { GiteaAccess } from "@/components/project/gitea-integration/gitea-access";
+import {
+ useCreateGiteaIntegration,
+ useVerifyGiteaAccess,
+} from "@/hooks/mutations/gitea-integration/use-create-gitea-integration";
+import { toast } from "@/lib/toast";
+
+export function useSaveGiteaIntegration(projectId: string) {
+ const { t } = useTranslation();
+ const { mutateAsync: verify, isPending: isVerifying } =
+ useVerifyGiteaAccess();
+ const { mutateAsync: create, isPending: isCreating } =
+ useCreateGiteaIntegration();
+
+ const save = async (access: GiteaAccess, alreadyVerified: boolean) => {
+ try {
+ if (access.accessToken && !alreadyVerified) {
+ const verification = await verify({ projectId, ...access });
+ if (!isAccessVerified(verification)) {
+ toast.error(t("settings:giteaIntegration.toast.verifyFirst"));
+ return false;
+ }
+ }
+ await create({
+ projectId,
+ data: {
+ baseUrl: access.baseUrl,
+ ...(access.accessToken ? { accessToken: access.accessToken } : {}),
+ repositoryOwner: access.repositoryOwner,
+ repositoryName: access.repositoryName,
+ },
+ });
+ toast.success(t("settings:giteaIntegration.toast.updated"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:giteaIntegration.toast.updateError"),
+ );
+ return false;
+ }
+ };
+
+ return { save, saving: isVerifying || isCreating };
+}
diff --git a/apps/web/src/components/project/gitea-repository-browser-modal.tsx b/apps/web/src/components/project/gitea-repository-browser-modal.tsx
deleted file mode 100644
index d3aacf17d..000000000
--- a/apps/web/src/components/project/gitea-repository-browser-modal.tsx
+++ /dev/null
@@ -1,196 +0,0 @@
-import { useQuery } from "@tanstack/react-query";
-import { ExternalLink, GitBranch, Lock, Search } from "lucide-react";
-import React from "react";
-import { useTranslation } from "react-i18next";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Dialog,
- DialogContent,
- DialogDescription,
- DialogHeader,
- DialogTitle,
-} from "@/components/ui/dialog";
-import { Input } from "@/components/ui/input";
-import listGiteaRepositories, {
- type ListGiteaRepositoriesResponse,
-} from "@/fetchers/gitea-integration/list-gitea-repositories";
-import { authClient } from "@/lib/auth-client";
-import { cn } from "@/lib/cn";
-
-type GiteaRepositoryBrowserModalProps = {
- open: boolean;
- projectId: string;
- onOpenChange: (open: boolean) => void;
- onSelectRepository: (repository: { owner: string; name: string }) => void;
- selectedRepository?: string;
- baseUrl: string;
- accessToken: string;
-};
-
-export function GiteaRepositoryBrowserModal({
- open,
- projectId,
- onOpenChange,
- onSelectRepository,
- selectedRepository,
- baseUrl,
- accessToken,
-}: GiteaRepositoryBrowserModalProps) {
- const { t } = useTranslation();
- const [searchTerm, setSearchTerm] = React.useState("");
- const { data: session } = authClient.useSession();
- // A credential change needs a fresh cache namespace without putting the
- // secret itself into serializable query keys, logs or query devtools.
- const credentials = React.useMemo(
- () => ({ accessToken, cacheId: crypto.randomUUID() }),
- [accessToken],
- );
-
- const canFetch =
- open &&
- Boolean(session?.user.id) &&
- baseUrl.trim().length > 0 &&
- accessToken.trim().length > 0;
-
- const { data, isLoading, error, refetch } = useQuery({
- queryKey: [
- "gitea-repositories",
- session?.user.id,
- projectId,
- baseUrl,
- credentials.cacheId,
- ],
- queryFn: () =>
- listGiteaRepositories({
- projectId,
- baseUrl,
- accessToken: credentials.accessToken,
- }),
- enabled: canFetch,
- gcTime: 0,
- placeholderData: () => undefined,
- });
-
- const filteredRepositories = React.useMemo(() => {
- if (!data?.repositories) return [];
-
- if (!searchTerm) return data.repositories;
-
- const search = searchTerm.toLowerCase();
- return data.repositories.filter((repo) =>
- repo.full_name.toLowerCase().includes(search),
- );
- }, [data?.repositories, searchTerm]);
-
- const handleSelectRepository = (
- repository: ListGiteaRepositoriesResponse["repositories"][number],
- ) => {
- onSelectRepository({
- owner: repository.owner.login,
- name: repository.name,
- });
- resetAndCloseModal(false);
- };
-
- const resetAndCloseModal = (next: boolean) => {
- if (!next) {
- setSearchTerm("");
- }
- onOpenChange(next);
- };
-
- return (
- <Dialog open={open} onOpenChange={resetAndCloseModal}>
- <DialogContent className="!max-w-2xl max-h-[85vh] p-0 gap-0 flex flex-col">
- <DialogHeader className="px-6 pt-6 pb-4">
- <DialogTitle className="flex items-center gap-2">
- <GitBranch className="size-5" />
- {t("settings:giteaIntegration.browseModalTitle")}
- </DialogTitle>
- <DialogDescription>
- {t("settings:giteaIntegration.browseModalHint")}
- </DialogDescription>
- </DialogHeader>
-
- <div className="px-6 pb-4">
- <div className="relative">
- <Search className="absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground" />
- <Input
- className="pl-9"
- placeholder={t("settings:giteaIntegration.searchRepos")}
- value={searchTerm}
- onChange={(e) => setSearchTerm(e.target.value)}
- />
- </div>
- </div>
-
- <div className="flex-1 overflow-y-auto border-t border-border px-6 py-2">
- {!canFetch && (
- <p className="text-sm text-muted-foreground py-8 text-center">
- {t("settings:giteaIntegration.browseNeedsCredentials")}
- </p>
- )}
- {canFetch && isLoading && (
- <p className="text-sm text-muted-foreground py-8 text-center">
- {t("settings:giteaIntegration.loadingRepos")}
- </p>
- )}
- {canFetch && error && (
- <div className="py-6 text-center space-y-2">
- <p className="text-sm text-destructive">
- {error instanceof Error ? error.message : "Error"}
- </p>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => refetch()}
- >
- {t("settings:giteaIntegration.retry")}
- </Button>
- </div>
- )}
- {canFetch && data && (
- <ul className="space-y-1">
- {filteredRepositories.map((repo) => (
- <li key={repo.id}>
- <div className="flex items-center gap-2">
- <button
- type="button"
- onClick={() => handleSelectRepository(repo)}
- className={cn(
- "flex-1 flex items-center justify-between gap-3 rounded-md px-3 py-2 text-left text-sm hover:bg-muted/80 transition-colors",
- selectedRepository === repo.full_name && "bg-muted",
- )}
- >
- <span className="font-medium truncate">
- {repo.full_name}
- </span>
- <div className="flex items-center gap-2 shrink-0">
- {repo.private ? (
- <Lock className="size-3.5 text-muted-foreground" />
- ) : null}
- <Badge variant="secondary" className="text-xs">
- {repo.owner.login}
- </Badge>
- </div>
- </button>
- <a
- href={repo.html_url}
- target="_blank"
- rel="noopener noreferrer"
- className="rounded-md p-2 text-primary hover:bg-muted/80 transition-colors"
- >
- <ExternalLink className="size-3.5" />
- </a>
- </div>
- </li>
- ))}
- </ul>
- )}
- </div>
- </DialogContent>
- </Dialog>
- );
-}
diff --git a/apps/web/src/components/project/github-integration-settings.test.tsx b/apps/web/src/components/project/github-integration-settings.test.tsx
deleted file mode 100644
index a458fefd3..000000000
--- a/apps/web/src/components/project/github-integration-settings.test.tsx
+++ /dev/null
@@ -1,257 +0,0 @@
-import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
-import {
- cleanup,
- fireEvent,
- render,
- screen,
- waitFor,
-} from "@testing-library/react";
-import {
- afterEach,
- beforeEach,
- describe,
- expect,
- it,
- vi,
-} from "vite-plus/test";
-
-const m = vi.hoisted(() => ({
- appInfo: vi.fn(),
- link: vi.fn(),
- importIssues: vi.fn(),
- integration: { current: null as null | Record<string, unknown> },
-}));
-vi.mock("@/fetchers/github-integration/get-app-info", () => ({
- default: m.appInfo,
-}));
-vi.mock("@/lib/auth-client", () => ({
- authClient: {
- useSession: () => ({ data: { user: { id: "user-1" } } }),
- linkSocial: m.link,
- },
-}));
-vi.mock(
- "@/hooks/queries/github-integration/use-get-github-integration",
- () => ({
- default: () => ({ data: m.integration.current, isLoading: false }),
- }),
-);
-vi.mock(
- "@/hooks/mutations/github-integration/use-create-github-integration",
- () => ({
- useCreateGithubIntegration: () => ({
- mutateAsync: vi.fn(),
- isPending: false,
- }),
- useDeleteGithubIntegration: () => ({
- mutateAsync: vi.fn(),
- isPending: false,
- }),
- useVerifyGithubInstallation: () => ({
- mutateAsync: vi.fn(),
- isPending: false,
- }),
- }),
-);
-vi.mock(
- "@/hooks/mutations/github-integration/use-import-github-issues",
- () => ({
- default: () => ({ mutateAsync: m.importIssues, isPending: false }),
- }),
-);
-vi.mock(
- "@/hooks/mutations/github-integration/use-update-github-integration",
- () => ({
- useUpdateGithubIntegration: () => ({
- mutateAsync: vi.fn(),
- isPending: false,
- }),
- }),
-);
-vi.mock("@/components/project/repository-browser-modal", () => ({
- RepositoryBrowserModal: () => null,
-}));
-const permissions = vi.hoisted(() => ({ create: true, update: true }));
-vi.mock("@/hooks/use-workspace-permission", () => ({
- useWorkspacePermission: () => ({
- canCreateTasks: () => permissions.create,
- canUpdateTasks: () => permissions.update,
- }),
-}));
-vi.mock("react-i18next", () => ({
- useTranslation: () => ({ t: (key: string) => key }),
-}));
-vi.mock("@/lib/toast", () => ({
- toast: { error: vi.fn(), success: vi.fn(), warning: vi.fn() },
-}));
-
-import { toast } from "@/lib/toast";
-
-import { GitHubIntegrationSettings } from "./github-integration-settings";
-
-function show() {
- const client = new QueryClient({
- defaultOptions: { queries: { retry: false } },
- });
- return render(
- <QueryClientProvider client={client}>
- <GitHubIntegrationSettings projectId="project" />
- </QueryClientProvider>,
- );
-}
-afterEach(() => cleanup());
-beforeEach(() => {
- vi.clearAllMocks();
- m.integration.current = null;
- permissions.create = true;
- permissions.update = true;
- m.link.mockResolvedValue({ error: null });
-});
-describe("GitHub account verification flow", () => {
- it("offers explicit account linking and returns to the same settings page", async () => {
- m.appInfo.mockResolvedValue({
- accountConnected: false,
- accountLinkingAvailable: true,
- });
- show();
- const button = await screen.findByRole("button", {
- name: "settings:githubIntegration.connect GitHub",
- });
- fireEvent.click(button);
- await waitFor(() =>
- expect(m.link).toHaveBeenCalledWith({
- provider: "github",
- callbackURL: window.location.href,
- }),
- );
- expect(
- screen.getByRole("button", { name: "settings:githubIntegration.browse" }),
- ).toBeDisabled();
- });
- it("explains the administrator prerequisite when GitHub sign-in is disabled", async () => {
- m.appInfo.mockResolvedValue({
- accountConnected: false,
- accountLinkingAvailable: false,
- });
- show();
- expect(
- await screen.findByText(
- "settings:githubIntegration.enableGithubSignInHint",
- ),
- ).toBeInTheDocument();
- expect(
- screen.queryByRole("button", {
- name: "settings:githubIntegration.connect GitHub",
- }),
- ).not.toBeInTheDocument();
- });
- it("shows reconnection for legacy integrations and still permits removal", async () => {
- m.appInfo.mockResolvedValue({
- accountConnected: true,
- accountLinkingAvailable: true,
- });
- m.integration.current = {
- repositoryOwner: "owner",
- repositoryName: "repo",
- requiresVerification: true,
- isActive: false,
- };
- show();
- expect(
- await screen.findByText("settings:githubIntegration.reverifyHint"),
- ).toBeInTheDocument();
- expect(
- screen.getByRole("button", {
- name: "settings:githubIntegration.disconnect",
- }),
- ).toBeEnabled();
- expect(
- screen.getByText("settings:githubIntegration.badgeNotConnected"),
- ).toBeInTheDocument();
- });
-});
-
-describe("saved GitHub import progress", () => {
- it("offers resume after refresh and forwards the persisted run ID", async () => {
- m.appInfo.mockResolvedValue({
- accountConnected: true,
- accountLinkingAvailable: true,
- });
- m.integration.current = {
- repositoryOwner: "owner",
- repositoryName: "repo",
- installationId: 1,
- requiresVerification: false,
- isActive: true,
- importProgress: {
- runId: "saved-run",
- pending: true,
- imported: 4,
- updated: 0,
- skipped: 0,
- },
- };
- let complete!: (result: unknown) => void;
- m.importIssues.mockImplementation(
- () =>
- new Promise((resolve) => {
- complete = resolve;
- }),
- );
- show();
- const resume = await screen.findByRole("button", {
- name: "settings:githubIntegration.resumeImport",
- });
- expect(screen.getByRole("status")).toHaveTextContent(
- "settings:githubIntegration.importPaused",
- );
- fireEvent.click(resume);
- await waitFor(() =>
- expect(m.importIssues).toHaveBeenCalledWith({
- projectId: "project",
- runId: "saved-run",
- }),
- );
- expect(toast.success).not.toHaveBeenCalled();
- complete({
- runId: "saved-run",
- pending: false,
- imported: 9,
- updated: 1,
- skipped: 2,
- });
- await waitFor(() =>
- expect(toast.success).toHaveBeenCalledWith(
- "settings:githubIntegration.toast.issuesImported",
- { description: "settings:githubIntegration.importSummary" },
- ),
- );
- });
-});
-
-it.each(["create", "update"] as const)(
- "disables GitHub imports without %s permission",
- async (permission) => {
- permissions[permission] = false;
- m.appInfo.mockResolvedValue({
- accountConnected: true,
- accountLinkingAvailable: true,
- });
- m.integration.current = {
- repositoryOwner: "owner",
- repositoryName: "repo",
- isActive: true,
- requiresVerification: false,
- };
- show();
- const button = await screen.findByRole("button", {
- name: "settings:githubIntegration.importIssues",
- });
- expect(button).toBeDisabled();
- fireEvent.click(button);
- expect(m.importIssues).not.toHaveBeenCalled();
- expect(
- screen.getByText("settings:gitlabIntegration.importPermissionHint"),
- ).toBeInTheDocument();
- },
-);
diff --git a/apps/web/src/components/project/github-integration-settings.tsx b/apps/web/src/components/project/github-integration-settings.tsx
deleted file mode 100644
index 59a68bb4d..000000000
--- a/apps/web/src/components/project/github-integration-settings.tsx
+++ /dev/null
@@ -1,790 +0,0 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { useQuery } from "@tanstack/react-query";
-import {
- AlertTriangle,
- CheckCircle,
- ExternalLink,
- GitBranch,
- Import,
- Link,
- RefreshCw,
- Unlink,
- XCircle,
-} from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { GithubIcon } from "@/components/icons/github-icon";
-import { RepositoryBrowserModal } from "@/components/project/repository-browser-modal";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Separator } from "@/components/ui/separator";
-import { Switch } from "@/components/ui/switch";
-import getGitHubAppInfo from "@/fetchers/github-integration/get-app-info";
-import type { VerifyGithubInstallationResponse } from "@/fetchers/github-integration/verify-github-installation";
-import {
- useCreateGithubIntegration,
- useDeleteGithubIntegration,
- useVerifyGithubInstallation,
-} from "@/hooks/mutations/github-integration/use-create-github-integration";
-import useImportGithubIssues from "@/hooks/mutations/github-integration/use-import-github-issues";
-import { useUpdateGithubIntegration } from "@/hooks/mutations/github-integration/use-update-github-integration";
-import useGetGithubIntegration from "@/hooks/queries/github-integration/use-get-github-integration";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { authClient } from "@/lib/auth-client";
-import { cn } from "@/lib/cn";
-import { toast } from "@/lib/toast";
-
-type GithubIntegrationFormValues = {
- repositoryOwner: string;
- repositoryName: string;
-};
-
-export function GitHubIntegrationSettings({
- projectId,
-}: {
- projectId: string;
-}) {
- const { t } = useTranslation();
- const { canCreateTasks, canUpdateTasks } = useWorkspacePermission();
- const hasImportPermission = canCreateTasks() && canUpdateTasks();
- const { data: session } = authClient.useSession();
- const { data: appInfo } = useQuery({
- queryKey: ["github-app-info", session?.user.id],
- queryFn: getGitHubAppInfo,
- enabled: Boolean(session?.user.id),
- });
- const [isLinkingAccount, setIsLinkingAccount] = React.useState(false);
- const linkAccount = async () => {
- setIsLinkingAccount(true);
- try {
- const result = await authClient.linkSocial({
- provider: "github",
- callbackURL: window.location.href,
- });
- if (result.error) throw new Error(result.error.message);
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:githubIntegration.toast.updateError"),
- );
- } finally {
- setIsLinkingAccount(false);
- }
- };
- const githubIntegrationSchema = React.useMemo(
- () =>
- z.object({
- repositoryOwner: z
- .string()
- .min(1, t("settings:githubIntegration.validation.ownerRequired"))
- .regex(
- /^[a-zA-Z0-9-]+$/,
- t("settings:githubIntegration.validation.ownerInvalid"),
- ),
- repositoryName: z
- .string()
- .min(1, t("settings:githubIntegration.validation.nameRequired"))
- .regex(
- /^[a-zA-Z0-9._-]+$/,
- t("settings:githubIntegration.validation.nameInvalid"),
- ),
- }),
- [t],
- );
-
- const { data: integration, isLoading } = useGetGithubIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateGithubIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteGithubIntegration();
- const { mutateAsync: verifyInstallation, isPending: isVerifying } =
- useVerifyGithubInstallation();
- const { mutateAsync: importIssues, isPending: isImporting } =
- useImportGithubIssues();
- const { mutateAsync: updateGithubSettings, isPending: isUpdatingSettings } =
- useUpdateGithubIntegration();
-
- const [verificationResult, setVerificationResult] =
- React.useState<VerifyGithubInstallationResponse | null>(null);
- const [showRepositoryBrowser, setShowRepositoryBrowser] =
- React.useState(false);
-
- const form = useForm<GithubIntegrationFormValues>({
- resolver: standardSchemaResolver(githubIntegrationSchema),
- defaultValues: {
- repositoryOwner: integration?.repositoryOwner || "",
- repositoryName: integration?.repositoryName || "",
- },
- });
-
- React.useEffect(() => {
- if (integration) {
- form.reset({
- repositoryOwner: integration.repositoryOwner,
- repositoryName: integration.repositoryName,
- });
- }
- }, [integration, form]);
-
- const repositoryOwner = form.watch("repositoryOwner");
- const repositoryName = form.watch("repositoryName");
-
- const handleVerifyInstallation = React.useCallback(
- async (data: GithubIntegrationFormValues, showToast = true) => {
- try {
- const result = await verifyInstallation({ ...data, projectId });
- setVerificationResult(result);
-
- if (showToast) {
- if (result.isInstalled && result.hasRequiredPermissions) {
- toast.success(t("settings:githubIntegration.toast.installedOk"));
- } else if (result.isInstalled) {
- toast.warning(
- t("settings:githubIntegration.toast.installedMissingPerms"),
- );
- } else if (result.repositoryExists) {
- toast.warning(
- t("settings:githubIntegration.toast.needsInstallOnRepo"),
- );
- } else {
- toast.error(t("settings:githubIntegration.toast.repoNotFound"));
- }
- }
- } catch (error) {
- if (showToast) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:githubIntegration.toast.verifyError"),
- );
- }
- setVerificationResult(null);
- }
- },
- [verifyInstallation, projectId, t],
- );
-
- React.useEffect(() => {
- if (
- appInfo?.accountConnected &&
- repositoryOwner &&
- repositoryName &&
- form.formState.isValid
- ) {
- handleVerifyInstallation({ repositoryOwner, repositoryName }, false);
- }
- }, [
- appInfo?.accountConnected,
- repositoryOwner,
- repositoryName,
- form.formState.isValid,
- handleVerifyInstallation,
- ]);
-
- const handleRepositorySelect = (repository: {
- owner: string;
- name: string;
- }) => {
- form.setValue("repositoryOwner", repository.owner, {
- shouldValidate: true,
- shouldDirty: true,
- shouldTouch: true,
- });
- form.setValue("repositoryName", repository.name, {
- shouldValidate: true,
- shouldDirty: true,
- shouldTouch: true,
- });
- setShowRepositoryBrowser(false);
-
- setVerificationResult(null);
- };
-
- const onSubmit = async (data: GithubIntegrationFormValues) => {
- try {
- const verification = await verifyInstallation({ ...data, projectId });
-
- if (!verification.isInstalled) {
- toast.error(t("settings:githubIntegration.toast.installAppFirst"));
- return;
- }
-
- if (!verification.hasRequiredPermissions) {
- toast.error(
- t("settings:githubIntegration.toast.missingPermsDetail", {
- list: verification.missingPermissions?.join(", ") || "issues",
- }),
- );
- return;
- }
-
- await createIntegration({
- projectId,
- data,
- });
- toast.success(t("settings:githubIntegration.toast.updated"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:githubIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- form.reset({ repositoryOwner: "", repositoryName: "" });
- setVerificationResult(null);
- toast.success(t("settings:githubIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:githubIntegration.toast.removeError"),
- );
- }
- };
-
- const handleImportIssues = async () => {
- if (!hasImportPermission) return;
- try {
- const result = await importIssues({
- projectId,
- ...(integration?.importProgress?.pending
- ? { runId: integration.importProgress.runId }
- : {}),
- });
- toast.success(t("settings:githubIntegration.toast.issuesImported"), {
- description: t("settings:githubIntegration.importSummary", result),
- });
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:githubIntegration.toast.importError"),
- );
- }
- };
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="space-y-4">
- <div className="h-4 bg-muted rounded animate-pulse w-40" />
- <div className="h-4 bg-muted rounded animate-pulse w-full" />
- <div className="h-10 bg-muted rounded animate-pulse w-full" />
- </div>
- </div>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="space-y-4">
- <div className="h-4 bg-muted rounded animate-pulse w-40" />
- <div className="h-10 bg-muted rounded animate-pulse w-full" />
- <div className="h-10 bg-muted rounded animate-pulse w-full" />
- </div>
- </div>
- </div>
- );
- }
-
- const isConnected = !!integration && integration.isActive;
- // The saved binding is verified again by each import request. Resuming must
- // also work after refresh, without a new administrator-only account check.
- const canImport =
- hasImportPermission && isConnected && !integration.requiresVerification;
-
- return (
- <div className="space-y-4">
- {appInfo && !appInfo.accountConnected && (
- <div className="space-y-3 rounded-xl border border-border bg-card p-4">
- <p className="text-sm">
- {t("settings:githubIntegration.accountVerificationHint")}
- </p>
- {appInfo.accountLinkingAvailable ? (
- <Button
- type="button"
- variant="outline"
- loading={isLinkingAccount}
- onClick={linkAccount}
- >
- <GithubIcon aria-hidden="true" />
- {t("settings:githubIntegration.connect")} GitHub
- </Button>
- ) : (
- <p className="text-sm text-muted-foreground">
- {t("settings:githubIntegration.enableGithubSignInHint")}
- </p>
- )}
- </div>
- )}
- {integration?.requiresVerification && (
- <p
- role="status"
- className="rounded-md border border-border p-4 text-sm"
- >
- {t("settings:githubIntegration.reverifyHint")}
- </p>
- )}
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:githubIntegration.connectionStatus")}
- </p>
- {isConnected ? (
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.connectedActive")}
- </p>
- ) : (
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.notConnectedHint")}
- </p>
- )}
- </div>
- <div className="flex items-center gap-3">
- {isConnected ? (
- <div className="flex items-center gap-2">
- <Badge variant="secondary" className="gap-1">
- <CheckCircle className="w-3 h-3" />
- {t("settings:githubIntegration.badgeConnected")}
- </Badge>
- </div>
- ) : (
- <Badge variant="outline" className="gap-1">
- <XCircle className="w-3 h-3" />
- {t("settings:githubIntegration.badgeNotConnected")}
- </Badge>
- )}
- </div>
- </div>
-
- {isConnected && (
- <>
- <Separator />
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:githubIntegration.repository")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.repositoryHint")}
- </p>
- </div>
- <div className="flex items-center gap-2 text-sm">
- <GithubIcon className="w-4 h-4" />
- <span className="font-medium">
- {integration.repositoryOwner}/{integration.repositoryName}
- </span>
- <a
- href={`https://github.com/${integration.repositoryOwner}/${integration.repositoryName}`}
- target="_blank"
- rel="noopener noreferrer"
- className="text-primary hover:text-primary/80 transition-colors"
- >
- <ExternalLink className="w-3 h-3" />
- </a>
- </div>
- </div>
-
- <Separator />
- <div className="flex items-center justify-between gap-4">
- <div className="min-w-0 flex-1 space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:githubIntegration.commentTaskLinkTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.commentTaskLinkHint")}
- </p>
- </div>
- <Switch
- checked={integration.commentTaskLinkOnGitHubIssue !== false}
- onCheckedChange={async (checked) => {
- try {
- await updateGithubSettings({
- projectId,
- json: { commentTaskLinkOnGitHubIssue: checked },
- });
- toast.success(
- checked
- ? t("settings:githubIntegration.toast.commentOnEnabled")
- : t(
- "settings:githubIntegration.toast.commentOnDisabled",
- ),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t(
- "settings:githubIntegration.toast.settingsUpdateError",
- ),
- );
- }
- }}
- disabled={isUpdatingSettings}
- />
- </div>
- </>
- )}
-
- {isConnected && verificationResult && (
- <>
- <Separator />
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:githubIntegration.appStatusTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.appStatusHint")}
- </p>
- </div>
- <div className="flex items-center gap-2 text-sm">
- {verificationResult.isInstalled &&
- verificationResult.hasRequiredPermissions ? (
- <>
- <CheckCircle className="h-4 w-4 text-success-foreground" />
- <span className="font-medium text-success-foreground">
- {t("settings:githubIntegration.statusProperlyConfigured")}
- </span>
- </>
- ) : verificationResult.isInstalled ? (
- <>
- <AlertTriangle className="h-4 w-4 text-warning-foreground" />
- <span className="font-medium text-warning-foreground">
- {t("settings:githubIntegration.statusMissingPermissions")}
- </span>
- </>
- ) : (
- <>
- <XCircle className="h-4 w-4 text-destructive-foreground" />
- <span className="font-medium text-destructive-foreground">
- {t("settings:githubIntegration.statusNotInstalled")}
- </span>
- </>
- )}
- </div>
- </div>
- </>
- )}
- </div>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <Form {...form}>
- <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
- <FormField
- control={form.control}
- name="repositoryOwner"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:githubIntegration.ownerLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.ownerHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-64"
- placeholder={t(
- "settings:githubIntegration.ownerPlaceholder",
- )}
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={form.control}
- name="repositoryName"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:githubIntegration.repoNameLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.repoNameHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-64"
- placeholder={t(
- "settings:githubIntegration.repoNamePlaceholder",
- )}
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:githubIntegration.actionsTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.actionsHint")}
- </p>
- </div>
- <div className="flex flex-wrap gap-2">
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => setShowRepositoryBrowser(true)}
- disabled={!appInfo?.accountConnected}
- className="gap-2"
- >
- <GitBranch className="size-3" />
- {t("settings:githubIntegration.browse")}
- </Button>
-
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => handleVerifyInstallation(form.getValues())}
- disabled={
- !appInfo?.accountConnected ||
- isVerifying ||
- !form.formState.isValid
- }
- className="gap-2"
- >
- <RefreshCw
- className={cn("size-3", isVerifying && "animate-spin")}
- />
- {t("settings:githubIntegration.verify")}
- </Button>
-
- <Button
- type="submit"
- size="sm"
- disabled={
- !appInfo?.accountConnected ||
- isCreating ||
- isDeleting ||
- !form.formState.isValid ||
- (verificationResult
- ? !verificationResult.isInstalled ||
- !verificationResult.hasRequiredPermissions
- : false)
- }
- className="gap-2"
- >
- <Link className="size-3" />
- {isConnected
- ? t("settings:githubIntegration.update")
- : t("settings:githubIntegration.connect")}
- </Button>
-
- {integration && (
- <Button
- type="button"
- variant="destructive"
- size="sm"
- onClick={handleDelete}
- disabled={isCreating || isDeleting}
- className="gap-2"
- >
- <Unlink className="size-3" />
- {t("settings:githubIntegration.disconnect")}
- </Button>
- )}
- </div>
- </div>
- </form>
- </Form>
-
- {verificationResult && (
- <>
- <Separator />
- <div className="space-y-2">
- <div
- className={cn(
- "flex items-start gap-3 p-3 border rounded-md text-sm",
- verificationResult.isInstalled &&
- verificationResult.hasRequiredPermissions
- ? "border-success/25 bg-success/10"
- : verificationResult.isInstalled
- ? "border-warning/25 bg-warning/10"
- : verificationResult.repositoryExists
- ? "border-warning/25 bg-warning/10"
- : "border-destructive/25 bg-destructive/10",
- )}
- >
- {verificationResult.isInstalled &&
- verificationResult.hasRequiredPermissions ? (
- <CheckCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-success-foreground" />
- ) : verificationResult.isInstalled ||
- verificationResult.repositoryExists ? (
- <AlertTriangle className="mt-0.5 h-4 w-4 flex-shrink-0 text-warning-foreground" />
- ) : (
- <XCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-destructive-foreground" />
- )}
- <div className="flex-1">
- <p className="font-medium">{verificationResult.message}</p>
-
- {verificationResult.isInstalled &&
- !verificationResult.hasRequiredPermissions &&
- verificationResult.missingPermissions && (
- <div className="mt-2">
- <p className="text-xs mb-2">
- {t(
- "settings:githubIntegration.missingPermissionsLabel",
- )}{" "}
- <strong>
- {verificationResult.missingPermissions.join(", ")}
- </strong>
- </p>
- <div className="flex gap-2">
- {verificationResult.settingsUrl && (
- <Button
- variant="outline"
- size="sm"
- onClick={() =>
- window.open(
- verificationResult.settingsUrl,
- "_blank",
- )
- }
- className="gap-2"
- >
- <ExternalLink className="w-3 h-3" />
- {t(
- "settings:githubIntegration.updatePermissions",
- )}
- </Button>
- )}
- </div>
- </div>
- )}
-
- {!verificationResult.isInstalled &&
- verificationResult.repositoryExists && (
- <div className="mt-2">
- {verificationResult.installationUrl && (
- <Button
- variant="outline"
- size="sm"
- onClick={() =>
- window.open(
- verificationResult.installationUrl,
- "_blank",
- )
- }
- className="gap-2"
- >
- <ExternalLink className="w-3 h-3" />
- {t("settings:githubIntegration.installGithubApp")}
- </Button>
- )}
- </div>
- )}
- </div>
- </div>
- </div>
- </>
- )}
- </div>
-
- {isConnected && (
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:githubIntegration.importSectionTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.importSectionHint")}
- </p>
- </div>
- <div className="flex items-center gap-2">
- <Button
- onClick={handleImportIssues}
- disabled={isImporting || !canImport}
- className="gap-2"
- size="sm"
- variant="outline"
- >
- {isImporting ? (
- <RefreshCw className="size-3 animate-spin" />
- ) : (
- <Import className="size-3" />
- )}
- {isImporting
- ? t("settings:githubIntegration.importing")
- : integration?.importProgress?.pending
- ? t("settings:githubIntegration.resumeImport")
- : t("settings:githubIntegration.importIssues")}
- </Button>
- </div>
- </div>
- {integration?.importProgress?.pending && !isImporting && (
- <p role="status" className="text-xs text-muted-foreground">
- {t("settings:githubIntegration.importPaused")}{" "}
- {t(
- "settings:githubIntegration.importSummary",
- integration.importProgress,
- )}
- </p>
- )}
- {!canImport && (
- <>
- <Separator />
- <p className="text-xs text-muted-foreground">
- {hasImportPermission
- ? t("settings:githubIntegration.importDisabledHint")
- : t("settings:gitlabIntegration.importPermissionHint")}
- </p>
- </>
- )}
- </div>
- )}
-
- <RepositoryBrowserModal
- projectId={projectId}
- open={showRepositoryBrowser}
- onOpenChange={setShowRepositoryBrowser}
- onSelectRepository={handleRepositorySelect}
- selectedRepository={
- repositoryOwner && repositoryName
- ? `${repositoryOwner}/${repositoryName}`
- : undefined
- }
- />
- </div>
- );
-}
diff --git a/apps/web/src/components/project/github-integration/collect-repositories.test.ts b/apps/web/src/components/project/github-integration/collect-repositories.test.ts
new file mode 100644
index 000000000..494862c21
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/collect-repositories.test.ts
@@ -0,0 +1,14 @@
+import { describe, expect, it } from "vite-plus/test";
+import { collectRepositories } from "./collect-repositories";
+
+describe("collectRepositories", () => {
+ it("flattens pages in order without duplicates", () => {
+ expect(
+ collectRepositories([
+ { repositories: [{ id: 1 }, { id: 2 }] },
+ { repositories: [{ id: 2 }, { id: 3 }] },
+ ]).map((repository) => repository.id),
+ ).toEqual([1, 2, 3]);
+ expect(collectRepositories(undefined)).toEqual([]);
+ });
+});
diff --git a/apps/web/src/components/project/github-integration/collect-repositories.ts b/apps/web/src/components/project/github-integration/collect-repositories.ts
new file mode 100644
index 000000000..9d722cddd
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/collect-repositories.ts
@@ -0,0 +1,16 @@
+type Identified = { id: number };
+
+export function collectRepositories<Repository extends Identified>(
+ pages: { repositories: Repository[] }[] | undefined,
+) {
+ const seen = new Set<number>();
+ const repositories: Repository[] = [];
+ for (const page of pages ?? []) {
+ for (const repository of page.repositories) {
+ if (seen.has(repository.id)) continue;
+ seen.add(repository.id);
+ repositories.push(repository);
+ }
+ }
+ return repositories;
+}
diff --git a/apps/web/src/components/project/github-integration/describe-github-verification.test.ts b/apps/web/src/components/project/github-integration/describe-github-verification.test.ts
new file mode 100644
index 000000000..70545af90
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/describe-github-verification.test.ts
@@ -0,0 +1,72 @@
+import { describe, expect, it } from "vite-plus/test";
+import type { VerifyGithubInstallationResponse } from "@/fetchers/github-integration/verify-github-installation";
+import {
+ describeGithubVerification,
+ githubVerificationTone,
+ isGithubVerificationReady,
+} from "./describe-github-verification";
+
+function result(
+ overrides: Partial<VerifyGithubInstallationResponse>,
+): VerifyGithubInstallationResponse {
+ return {
+ isInstalled: true,
+ installationId: 1,
+ repositoryExists: true,
+ repositoryPrivate: false,
+ permissions: null,
+ hasRequiredPermissions: true,
+ missingPermissions: [],
+ message: "Server message",
+ ...overrides,
+ };
+}
+
+describe("describeGithubVerification", () => {
+ it("is ready when the App is installed with the required permissions", () => {
+ const outcome = describeGithubVerification(result({}));
+ expect(outcome).toEqual({ kind: "ready" });
+ expect(githubVerificationTone(outcome)).toBe("success");
+ expect(isGithubVerificationReady(result({}))).toBe(true);
+ });
+
+ it("lists missing permissions with the settings link", () => {
+ const outcome = describeGithubVerification(
+ result({
+ hasRequiredPermissions: false,
+ missingPermissions: ["issues"],
+ settingsUrl: "https://github.com/settings/installations/1",
+ }),
+ );
+ expect(outcome).toEqual({
+ kind: "missingPermissions",
+ permissions: ["issues"],
+ settingsUrl: "https://github.com/settings/installations/1",
+ });
+ expect(githubVerificationTone(outcome)).toBe("warning");
+ });
+
+ it("offers the install link when the App is not installed", () => {
+ const outcome = describeGithubVerification(
+ result({
+ isInstalled: false,
+ repositoryExists: null,
+ hasRequiredPermissions: false,
+ installationUrl: "https://github.com/apps/kaneo/installations/new",
+ }),
+ );
+ expect(outcome).toEqual({
+ kind: "notInstalled",
+ installationUrl: "https://github.com/apps/kaneo/installations/new",
+ });
+ expect(githubVerificationTone(outcome)).toBe("destructive");
+ });
+
+ it("falls back to the server message", () => {
+ const outcome = describeGithubVerification(
+ result({ repositoryExists: false, hasRequiredPermissions: false }),
+ );
+ expect(outcome).toEqual({ kind: "message", message: "Server message" });
+ expect(isGithubVerificationReady(undefined)).toBe(false);
+ });
+});
diff --git a/apps/web/src/components/project/github-integration/describe-github-verification.ts b/apps/web/src/components/project/github-integration/describe-github-verification.ts
new file mode 100644
index 000000000..79cd7be55
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/describe-github-verification.ts
@@ -0,0 +1,38 @@
+import type { VerifyGithubInstallationResponse } from "@/fetchers/github-integration/verify-github-installation";
+
+export type GithubVerificationOutcome =
+ | { kind: "ready" }
+ | { kind: "missingPermissions"; permissions: string[]; settingsUrl?: string }
+ | { kind: "notInstalled"; installationUrl?: string }
+ | { kind: "message"; message: string };
+
+export function describeGithubVerification(
+ result: VerifyGithubInstallationResponse,
+): GithubVerificationOutcome {
+ if (result.isInstalled && result.hasRequiredPermissions) {
+ return { kind: "ready" };
+ }
+ if (result.isInstalled && result.repositoryExists !== false) {
+ return {
+ kind: "missingPermissions",
+ permissions: result.missingPermissions,
+ settingsUrl: result.settingsUrl,
+ };
+ }
+ if (!result.isInstalled) {
+ return { kind: "notInstalled", installationUrl: result.installationUrl };
+ }
+ return { kind: "message", message: result.message };
+}
+
+export function githubVerificationTone(outcome: GithubVerificationOutcome) {
+ if (outcome.kind === "ready") return "success" as const;
+ if (outcome.kind === "missingPermissions") return "warning" as const;
+ return "destructive" as const;
+}
+
+export function isGithubVerificationReady(
+ result: VerifyGithubInstallationResponse | undefined,
+) {
+ return Boolean(result?.isInstalled && result.hasRequiredPermissions);
+}
diff --git a/apps/web/src/components/project/github-integration/github-account-step.tsx b/apps/web/src/components/project/github-integration/github-account-step.tsx
new file mode 100644
index 000000000..2cefbfd6e
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-account-step.tsx
@@ -0,0 +1,45 @@
+import { CheckIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { GithubLinkAccountButton } from "@/components/project/github-integration/github-link-account-button";
+import { IntegrationStep } from "@/components/project/integrations/panel/integration-step";
+import type { GitHubAppInfo } from "@/fetchers/github-integration/get-app-info";
+
+type GithubAccountStepProps = {
+ appInfo: GitHubAppInfo | undefined;
+};
+
+export function GithubAccountStep({ appInfo }: GithubAccountStepProps) {
+ const { t } = useTranslation();
+ const linked = Boolean(appInfo?.accountConnected);
+ const canLink = Boolean(
+ appInfo && !linked && appInfo.accountLinkingAvailable,
+ );
+
+ return (
+ <IntegrationStep
+ number={1}
+ done={linked}
+ title={t("settings:githubIntegration.linkAccountTitle")}
+ description={t("settings:githubIntegration.linkAccountDescription")}
+ aside={
+ linked ? (
+ <span className="flex items-center gap-1.5 text-xs text-muted-foreground">
+ <CheckIcon
+ aria-hidden="true"
+ className="size-3.5 text-success-foreground"
+ />
+ {t("settings:githubIntegration.linked")}
+ </span>
+ ) : canLink ? (
+ <GithubLinkAccountButton />
+ ) : null
+ }
+ >
+ {appInfo && !linked && !appInfo.accountLinkingAvailable ? (
+ <p className="text-xs text-muted-foreground">
+ {t("settings:githubIntegration.enableGithubSignInHint")}
+ </p>
+ ) : null}
+ </IntegrationStep>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-app-status.tsx b/apps/web/src/components/project/github-integration/github-app-status.tsx
new file mode 100644
index 000000000..37a77d467
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-app-status.tsx
@@ -0,0 +1,24 @@
+import { useTranslation } from "react-i18next";
+import { StatusDotLine } from "@/components/project/code-hosting/status-dot-line";
+import {
+ describeGithubVerification,
+ githubVerificationTone,
+} from "@/components/project/github-integration/describe-github-verification";
+import { githubVerificationMessage } from "@/components/project/github-integration/github-verification-message";
+import type { VerifyGithubInstallationResponse } from "@/fetchers/github-integration/verify-github-installation";
+
+type GithubAppStatusProps = {
+ result: VerifyGithubInstallationResponse | undefined;
+};
+
+export function GithubAppStatus({ result }: GithubAppStatusProps) {
+ const { t } = useTranslation();
+ if (!result) return null;
+ const outcome = describeGithubVerification(result);
+
+ return (
+ <StatusDotLine tone={githubVerificationTone(outcome)}>
+ {githubVerificationMessage(outcome, result.message, t)}
+ </StatusDotLine>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-connected-panel.tsx b/apps/web/src/components/project/github-integration/github-connected-panel.tsx
new file mode 100644
index 000000000..ee8b5d331
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-connected-panel.tsx
@@ -0,0 +1,83 @@
+import { useTranslation } from "react-i18next";
+import { DisconnectIntegrationButton } from "@/components/project/code-hosting/disconnect-integration-button";
+import { GithubIssuesSection } from "@/components/project/github-integration/github-issues-section";
+import { GithubRepositorySection } from "@/components/project/github-integration/github-repository-section";
+import { GithubWorkflowHint } from "@/components/project/github-integration/github-workflow-hint";
+import { useConnectGithubRepository } from "@/components/project/github-integration/use-connect-github-repository";
+import { useGithubVerification } from "@/components/project/github-integration/use-github-verification";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelFooter } from "@/components/project/integrations/panel/integration-panel-footer";
+import { SyncRulesSection } from "@/components/project/sync-rules/sync-rules-section";
+import type { GitHubAppInfo } from "@/fetchers/github-integration/get-app-info";
+import type { GithubIntegration } from "@/fetchers/github-integration/get-github-integration";
+import { useDeleteGithubIntegration } from "@/hooks/mutations/github-integration/use-create-github-integration";
+import { toast } from "@/lib/toast";
+
+type GithubConnectedPanelProps = {
+ projectId: string;
+ integration: GithubIntegration;
+ appInfo: GitHubAppInfo | undefined;
+};
+
+export function GithubConnectedPanel({
+ projectId,
+ integration,
+ appInfo,
+}: GithubConnectedPanelProps) {
+ const { t } = useTranslation();
+ const repository = {
+ owner: integration.repositoryOwner,
+ name: integration.repositoryName,
+ };
+ const verification = useGithubVerification(
+ projectId,
+ integration.isActive && appInfo?.accountConnected ? repository : null,
+ );
+ const { connect, connecting } = useConnectGithubRepository(projectId);
+ const { mutateAsync: remove, isPending: isDeleting } =
+ useDeleteGithubIntegration();
+
+ const disconnect = async () => {
+ try {
+ await remove(projectId);
+ toast.success(t("settings:githubIntegration.toast.removed"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:githubIntegration.toast.removeError"),
+ );
+ return false;
+ }
+ };
+
+ return (
+ <IntegrationPanel>
+ <GithubRepositorySection
+ projectId={projectId}
+ integration={integration}
+ appInfo={appInfo}
+ verification={verification.result}
+ reconnecting={connecting}
+ onReconnect={() => void connect(repository)}
+ />
+ <GithubIssuesSection projectId={projectId} integration={integration} />
+ <SyncRulesSection
+ key={`${projectId}:github`}
+ projectId={projectId}
+ provider="github"
+ />
+ <IntegrationPanelFooter
+ start={<GithubWorkflowHint projectId={projectId} />}
+ >
+ <DisconnectIntegrationButton
+ provider="GitHub"
+ target={`${repository.owner}/${repository.name}`}
+ pending={isDeleting || connecting}
+ onConfirm={disconnect}
+ />
+ </IntegrationPanelFooter>
+ </IntegrationPanel>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-integration-settings.test.tsx b/apps/web/src/components/project/github-integration/github-integration-settings.test.tsx
new file mode 100644
index 000000000..7cf4a4ed1
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-integration-settings.test.tsx
@@ -0,0 +1,430 @@
+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+
+const m = vi.hoisted(() => ({
+ appInfo: vi.fn(),
+ link: vi.fn(),
+ importIssues: vi.fn(),
+ verify: vi.fn(),
+ create: vi.fn(),
+ remove: vi.fn(),
+ integration: { current: null as null | Record<string, unknown> },
+}));
+vi.mock("@/fetchers/github-integration/get-app-info", () => ({
+ default: m.appInfo,
+}));
+vi.mock("@/lib/auth-client", () => ({
+ authClient: {
+ useSession: () => ({ data: { user: { id: "user-1" } } }),
+ linkSocial: m.link,
+ },
+}));
+vi.mock(
+ "@/hooks/queries/github-integration/use-get-github-integration",
+ () => ({
+ default: () => ({ data: m.integration.current, isLoading: false }),
+ }),
+);
+vi.mock(
+ "@/hooks/mutations/github-integration/use-create-github-integration",
+ () => ({
+ useCreateGithubIntegration: () => ({
+ mutateAsync: m.create,
+ isPending: false,
+ }),
+ useDeleteGithubIntegration: () => ({
+ mutateAsync: m.remove,
+ isPending: false,
+ }),
+ useVerifyGithubInstallation: () => ({
+ mutateAsync: m.verify,
+ isPending: false,
+ }),
+ }),
+);
+vi.mock(
+ "@/hooks/mutations/github-integration/use-import-github-issues",
+ () => ({
+ default: () => ({ mutateAsync: m.importIssues, isPending: false }),
+ }),
+);
+vi.mock(
+ "@/hooks/mutations/github-integration/use-update-github-integration",
+ () => ({
+ useUpdateGithubIntegration: () => ({
+ mutateAsync: vi.fn(),
+ isPending: false,
+ }),
+ }),
+);
+vi.mock(
+ "@/components/project/github-integration/github-repository-picker",
+ () => ({
+ GithubRepositoryPicker: () => null,
+ }),
+);
+vi.mock("@/components/project/sync-rules/sync-rules-section", () => ({
+ SyncRulesSection: () => <p>Sync rules</p>,
+}));
+vi.mock("@tanstack/react-router", () => ({
+ Link: ({ children }: { children: React.ReactNode }) => (
+ <a href="/">{children}</a>
+ ),
+}));
+const permissions = vi.hoisted(() => ({ create: true, update: true }));
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({
+ canCreateTasks: () => permissions.create,
+ canUpdateTasks: () => permissions.update,
+ }),
+}));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { error: vi.fn(), success: vi.fn(), warning: vi.fn() },
+}));
+
+import { toast } from "@/lib/toast";
+
+import { GitHubIntegrationSettings } from "./github-integration-settings";
+
+const linkedAccount = {
+ accountConnected: true,
+ accountLinkingAvailable: true,
+ appName: "kaneo",
+};
+const readyVerification = {
+ isInstalled: true,
+ installationId: 1,
+ repositoryExists: true,
+ repositoryPrivate: false,
+ permissions: null,
+ hasRequiredPermissions: true,
+ missingPermissions: [],
+ message: "Installed",
+};
+
+function show() {
+ const client = new QueryClient({
+ defaultOptions: { queries: { retry: false } },
+ });
+ return render(
+ <QueryClientProvider client={client}>
+ <GitHubIntegrationSettings projectId="project" />
+ </QueryClientProvider>,
+ );
+}
+afterEach(() => cleanup());
+beforeEach(() => {
+ vi.clearAllMocks();
+ m.integration.current = null;
+ permissions.create = true;
+ permissions.update = true;
+ m.link.mockResolvedValue({ error: null });
+ m.verify.mockResolvedValue(readyVerification);
+});
+
+describe("GitHub account step", () => {
+ it("offers explicit account linking and returns to the same settings page", async () => {
+ m.appInfo.mockResolvedValue({
+ accountConnected: false,
+ accountLinkingAvailable: true,
+ });
+ show();
+ fireEvent.click(
+ await screen.findByRole("button", {
+ name: "settings:githubIntegration.linkGithub",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.link).toHaveBeenCalledWith({
+ provider: "github",
+ callbackURL: window.location.href,
+ }),
+ );
+ expect(
+ screen.getByRole("button", { name: "settings:codeHosting.browse" }),
+ ).toBeDisabled();
+ expect(
+ screen.getByRole("button", {
+ name: "settings:codeHosting.connectRepository",
+ }),
+ ).toBeDisabled();
+ });
+
+ it("explains the administrator prerequisite when GitHub sign-in is disabled", async () => {
+ m.appInfo.mockResolvedValue({
+ accountConnected: false,
+ accountLinkingAvailable: false,
+ });
+ show();
+ expect(
+ await screen.findByText(
+ "settings:githubIntegration.enableGithubSignInHint",
+ ),
+ ).toBeInTheDocument();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:githubIntegration.linkGithub",
+ }),
+ ).not.toBeInTheDocument();
+ });
+});
+
+describe("GitHub repository step", () => {
+ it("verifies a typed owner/name automatically and connects it", async () => {
+ m.appInfo.mockResolvedValue(linkedAccount);
+ show();
+ await screen.findByText("settings:githubIntegration.linked");
+ fireEvent.change(
+ screen.getByRole("textbox", {
+ name: "settings:codeHosting.repositoryPathLabel",
+ }),
+ { target: { value: "acme/web" } },
+ );
+ expect(
+ await screen.findByText(
+ "settings:githubIntegration.verifyReady",
+ {},
+ { timeout: 2000 },
+ ),
+ ).toBeInTheDocument();
+ expect(m.verify).toHaveBeenCalledWith({
+ projectId: "project",
+ repositoryOwner: "acme",
+ repositoryName: "web",
+ });
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:codeHosting.connectRepository",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ projectId: "project",
+ data: { repositoryOwner: "acme", repositoryName: "web" },
+ }),
+ );
+ });
+
+ it("blocks connecting when the App is missing permissions and links to its settings", async () => {
+ m.appInfo.mockResolvedValue(linkedAccount);
+ m.verify.mockResolvedValue({
+ ...readyVerification,
+ hasRequiredPermissions: false,
+ missingPermissions: ["issues"],
+ settingsUrl: "https://github.com/settings/installations/1",
+ });
+ show();
+ await screen.findByText("settings:githubIntegration.linked");
+ fireEvent.change(
+ screen.getByRole("textbox", {
+ name: "settings:codeHosting.repositoryPathLabel",
+ }),
+ { target: { value: "acme/web" } },
+ );
+ expect(
+ await screen.findByRole(
+ "button",
+ { name: "settings:githubIntegration.updatePermissions" },
+ { timeout: 2000 },
+ ),
+ ).toBeInTheDocument();
+ expect(
+ screen.getByRole("button", {
+ name: "settings:codeHosting.connectRepository",
+ }),
+ ).toBeDisabled();
+ });
+
+ it("explains the expected format instead of verifying an invalid value", async () => {
+ m.appInfo.mockResolvedValue(linkedAccount);
+ show();
+ await screen.findByText("settings:githubIntegration.linked");
+ const input = screen.getByRole("textbox", {
+ name: "settings:codeHosting.repositoryPathLabel",
+ });
+ fireEvent.change(input, { target: { value: "not a repository" } });
+ fireEvent.blur(input);
+ expect(
+ screen.getByText("settings:codeHosting.repositoryPathInvalid"),
+ ).toBeInTheDocument();
+ expect(m.verify).not.toHaveBeenCalled();
+ });
+});
+
+describe("connected GitHub repository", () => {
+ it("asks to reconnect legacy integrations and still permits removal after confirmation", async () => {
+ m.appInfo.mockResolvedValue(linkedAccount);
+ m.remove.mockResolvedValue(undefined);
+ m.integration.current = {
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ requiresVerification: true,
+ isActive: false,
+ };
+ show();
+ expect(
+ await screen.findByText("settings:githubIntegration.reverifyHint"),
+ ).toBeInTheDocument();
+ expect(
+ await screen.findByRole("button", {
+ name: "settings:codeHosting.reconnect",
+ }),
+ ).toBeEnabled();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:codeHosting.disconnect" }),
+ );
+ const dialog = await screen.findByRole("alertdialog");
+ expect(
+ within(dialog).getByText("settings:codeHosting.disconnectTitle"),
+ ).toBeInTheDocument();
+ expect(m.remove).not.toHaveBeenCalled();
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:codeHosting.disconnect",
+ }),
+ );
+ await waitFor(() => expect(m.remove).toHaveBeenCalledWith("project"));
+ });
+
+ it("reconnects the saved repository through verification", async () => {
+ m.appInfo.mockResolvedValue(linkedAccount);
+ m.integration.current = {
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ requiresVerification: true,
+ isActive: false,
+ };
+ show();
+ fireEvent.click(
+ await screen.findByRole("button", {
+ name: "settings:codeHosting.reconnect",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ projectId: "project",
+ data: { repositoryOwner: "owner", repositoryName: "repo" },
+ }),
+ );
+ });
+
+ it("offers resume after refresh and forwards the persisted run ID", async () => {
+ m.appInfo.mockResolvedValue(linkedAccount);
+ m.integration.current = {
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ installationId: 1,
+ requiresVerification: false,
+ isActive: true,
+ importProgress: {
+ runId: "saved-run",
+ pending: true,
+ imported: 4,
+ updated: 0,
+ skipped: 0,
+ },
+ };
+ let complete!: (result: unknown) => void;
+ m.importIssues.mockImplementation(
+ () =>
+ new Promise((resolve) => {
+ complete = resolve;
+ }),
+ );
+ show();
+ const resume = await screen.findByRole("button", {
+ name: "settings:githubIntegration.resumeImport",
+ });
+ expect(
+ screen.getByText(
+ "settings:githubIntegration.importPaused settings:codeHosting.lastImport",
+ ),
+ ).toBeInTheDocument();
+ fireEvent.click(resume);
+ await waitFor(() =>
+ expect(m.importIssues).toHaveBeenCalledWith({
+ projectId: "project",
+ runId: "saved-run",
+ }),
+ );
+ expect(toast.success).not.toHaveBeenCalled();
+ complete({
+ runId: "saved-run",
+ pending: false,
+ imported: 9,
+ updated: 1,
+ skipped: 2,
+ });
+ await waitFor(() =>
+ expect(toast.success).toHaveBeenCalledWith(
+ "settings:githubIntegration.toast.issuesImported",
+ { description: "settings:githubIntegration.importSummary" },
+ ),
+ );
+ });
+
+ it("shows the App status for an active repository", async () => {
+ m.appInfo.mockResolvedValue(linkedAccount);
+ m.integration.current = {
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ isActive: true,
+ requiresVerification: false,
+ };
+ show();
+ expect(
+ await screen.findByText(
+ "settings:githubIntegration.verifyReady",
+ {},
+ { timeout: 2000 },
+ ),
+ ).toBeInTheDocument();
+ expect(screen.getByText("Sync rules")).toBeInTheDocument();
+ expect(screen.getByRole("link", { name: /owner\/repo/ })).toHaveAttribute(
+ "href",
+ "https://github.com/owner/repo",
+ );
+ });
+});
+
+it.each(["create", "update"] as const)(
+ "disables GitHub imports without %s permission",
+ async (permission) => {
+ permissions[permission] = false;
+ m.appInfo.mockResolvedValue(linkedAccount);
+ m.integration.current = {
+ repositoryOwner: "owner",
+ repositoryName: "repo",
+ isActive: true,
+ requiresVerification: false,
+ };
+ show();
+ const button = await screen.findByRole("button", {
+ name: "settings:codeHosting.importIssues",
+ });
+ expect(button).toBeDisabled();
+ fireEvent.click(button);
+ expect(m.importIssues).not.toHaveBeenCalled();
+ expect(
+ screen.getByText("settings:gitlabIntegration.importPermissionHint"),
+ ).toBeInTheDocument();
+ },
+);
diff --git a/apps/web/src/components/project/github-integration/github-integration-settings.tsx b/apps/web/src/components/project/github-integration/github-integration-settings.tsx
new file mode 100644
index 000000000..db1ff41f1
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-integration-settings.tsx
@@ -0,0 +1,38 @@
+import { CodeHostingLoadError } from "@/components/project/code-hosting/code-hosting-load-error";
+import { CodeHostingPanelSkeleton } from "@/components/project/code-hosting/code-hosting-panel-skeleton";
+import { GithubConnectedPanel } from "@/components/project/github-integration/github-connected-panel";
+import { GithubSetupPanel } from "@/components/project/github-integration/github-setup-panel";
+import { useGithubAppInfo } from "@/components/project/github-integration/use-github-app-info";
+import useGetGithubIntegration from "@/hooks/queries/github-integration/use-get-github-integration";
+
+type GitHubIntegrationSettingsProps = {
+ projectId: string;
+};
+
+export function GitHubIntegrationSettings({
+ projectId,
+}: GitHubIntegrationSettingsProps) {
+ const {
+ data: integration,
+ isLoading,
+ error,
+ refetch,
+ } = useGetGithubIntegration(projectId);
+ const { data: appInfo } = useGithubAppInfo();
+
+ if (isLoading) return <CodeHostingPanelSkeleton />;
+ if (error && !integration)
+ return (
+ <CodeHostingLoadError error={error} onRetry={() => void refetch()} />
+ );
+ if (!integration)
+ return <GithubSetupPanel projectId={projectId} appInfo={appInfo} />;
+
+ return (
+ <GithubConnectedPanel
+ projectId={projectId}
+ integration={integration}
+ appInfo={appInfo}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-issues-section.tsx b/apps/web/src/components/project/github-integration/github-issues-section.tsx
new file mode 100644
index 000000000..38dfde744
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-issues-section.tsx
@@ -0,0 +1,72 @@
+import { useTranslation } from "react-i18next";
+import { ImportIssuesSection } from "@/components/project/code-hosting/import-issues-section";
+import type { GithubIntegration } from "@/fetchers/github-integration/get-github-integration";
+import useImportGithubIssues from "@/hooks/mutations/github-integration/use-import-github-issues";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+import { toast } from "@/lib/toast";
+
+type GithubIssuesSectionProps = {
+ projectId: string;
+ integration: GithubIntegration;
+};
+
+export function GithubIssuesSection({
+ projectId,
+ integration,
+}: GithubIssuesSectionProps) {
+ const { t } = useTranslation();
+ const { canCreateTasks, canUpdateTasks } = useWorkspacePermission();
+ const { mutateAsync: importIssues, isPending } = useImportGithubIssues();
+ const hasImportPermission = canCreateTasks() && canUpdateTasks();
+ const canImport =
+ hasImportPermission &&
+ Boolean(integration.isActive) &&
+ !integration.requiresVerification;
+ const progress = integration.importProgress;
+
+ const handleImport = async () => {
+ if (!hasImportPermission) return;
+ try {
+ const result = await importIssues({
+ projectId,
+ ...(progress?.pending ? { runId: progress.runId } : {}),
+ });
+ toast.success(t("settings:githubIntegration.toast.issuesImported"), {
+ description: t("settings:githubIntegration.importSummary", result),
+ });
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:githubIntegration.toast.importError"),
+ );
+ }
+ };
+
+ const description = progress
+ ? progress.pending && !isPending
+ ? `${t("settings:githubIntegration.importPaused")} ${t("settings:codeHosting.lastImport", progress)}`
+ : t("settings:codeHosting.lastImport", progress)
+ : t("settings:githubIntegration.importSectionHint");
+
+ return (
+ <ImportIssuesSection
+ description={description}
+ actionLabel={
+ progress?.pending
+ ? t("settings:githubIntegration.resumeImport")
+ : t("settings:codeHosting.importIssues")
+ }
+ pending={isPending}
+ disabled={!canImport}
+ hint={
+ canImport
+ ? null
+ : hasImportPermission
+ ? t("settings:githubIntegration.importDisabledHint")
+ : t("settings:gitlabIntegration.importPermissionHint")
+ }
+ onImport={handleImport}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-link-account-button.tsx b/apps/web/src/components/project/github-integration/github-link-account-button.tsx
new file mode 100644
index 000000000..78e874847
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-link-account-button.tsx
@@ -0,0 +1,22 @@
+import { useTranslation } from "react-i18next";
+import { GithubIcon } from "@/components/icons/github-icon";
+import { useLinkGithubAccount } from "@/components/project/github-integration/use-link-github-account";
+import { Button } from "@/components/ui/button";
+
+export function GithubLinkAccountButton() {
+ const { t } = useTranslation();
+ const { link, linking } = useLinkGithubAccount();
+
+ return (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ loading={linking}
+ onClick={link}
+ >
+ <GithubIcon aria-hidden="true" />
+ {t("settings:githubIntegration.linkGithub")}
+ </Button>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-reconnect-action.tsx b/apps/web/src/components/project/github-integration/github-reconnect-action.tsx
new file mode 100644
index 000000000..d4fbc6b2f
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-reconnect-action.tsx
@@ -0,0 +1,34 @@
+import { useTranslation } from "react-i18next";
+import { GithubLinkAccountButton } from "@/components/project/github-integration/github-link-account-button";
+import { Button } from "@/components/ui/button";
+import type { GitHubAppInfo } from "@/fetchers/github-integration/get-app-info";
+
+type GithubReconnectActionProps = {
+ appInfo: GitHubAppInfo | undefined;
+ reconnecting: boolean;
+ onReconnect: () => void;
+};
+
+export function GithubReconnectAction({
+ appInfo,
+ reconnecting,
+ onReconnect,
+}: GithubReconnectActionProps) {
+ const { t } = useTranslation();
+
+ if (!appInfo) return null;
+ if (appInfo.accountConnected) {
+ return (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ loading={reconnecting}
+ onClick={onReconnect}
+ >
+ {t("settings:codeHosting.reconnect")}
+ </Button>
+ );
+ }
+ return appInfo.accountLinkingAvailable ? <GithubLinkAccountButton /> : null;
+}
diff --git a/apps/web/src/components/project/github-integration/github-repository-meta.tsx b/apps/web/src/components/project/github-integration/github-repository-meta.tsx
new file mode 100644
index 000000000..e9838bab3
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-repository-meta.tsx
@@ -0,0 +1,22 @@
+import { useTranslation } from "react-i18next";
+import type { GithubRepository } from "@/fetchers/github-integration/list-repositories";
+import { useLocale } from "@/hooks/use-locale";
+import { formatRelativeTime } from "@/lib/format";
+
+type GithubRepositoryMetaProps = {
+ repository: GithubRepository;
+};
+
+export function GithubRepositoryMeta({
+ repository,
+}: GithubRepositoryMetaProps) {
+ const { t } = useTranslation();
+ const { locale } = useLocale();
+ const updated = repository.updated_at
+ ? t("settings:repositoryBrowser.updated", {
+ time: formatRelativeTime(repository.updated_at, locale),
+ })
+ : null;
+
+ return <>{[repository.description, updated].filter(Boolean).join(" · ")}</>;
+}
diff --git a/apps/web/src/components/project/github-integration/github-repository-picker.test.tsx b/apps/web/src/components/project/github-integration/github-repository-picker.test.tsx
new file mode 100644
index 000000000..c3d3396be
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-repository-picker.test.tsx
@@ -0,0 +1,261 @@
+import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { GithubRepositoryPicker } from "./github-repository-picker";
+
+const m = vi.hoisted(() => ({ list: vi.fn(), userId: "user-1" }));
+vi.mock("@/fetchers/github-integration/list-repositories", () => ({
+ default: m.list,
+ FIRST_REPOSITORY_PAGE: { installationPage: 1, repositoryPage: 1 },
+}));
+vi.mock("@/fetchers/github-integration/get-app-info", () => ({
+ default: async () => ({ appName: null }),
+}));
+vi.mock("@/lib/auth-client", () => ({
+ authClient: { useSession: () => ({ data: { user: { id: m.userId } } }) },
+}));
+vi.mock("@/hooks/use-locale", () => ({
+ useLocale: () => ({ locale: "en-US" }),
+}));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+ initReactI18next: { type: "3rdParty", init: vi.fn() },
+}));
+
+type Page = { installationPage: number; repositoryPage: number };
+
+const clients: QueryClient[] = [];
+afterEach(() => {
+ cleanup();
+ for (const client of clients) client.clear();
+ clients.length = 0;
+});
+beforeEach(() => {
+ vi.clearAllMocks();
+ m.userId = "user-1";
+});
+
+function repository(id: number, name: string) {
+ return {
+ id,
+ name,
+ full_name: `owner/${name}`,
+ owner: { login: "owner", avatar_url: "", type: "User" },
+ private: true,
+ html_url: `https://github.com/owner/${name}`,
+ description: "",
+ updated_at: "2026-09-01",
+ installation_id: 1,
+ };
+}
+
+function result(names: string[], nextPage: Page | null, offset = 0) {
+ return {
+ repositories: names.map((name, index) =>
+ repository(offset + index + 1, name),
+ ),
+ installations: [],
+ total: names.length,
+ nextPage,
+ };
+}
+
+function show(selectedRepository?: string) {
+ const client = new QueryClient({
+ defaultOptions: {
+ queries: { retry: false, staleTime: Number.POSITIVE_INFINITY },
+ },
+ });
+ clients.push(client);
+ const selected = vi.fn();
+ const onOpenChange = vi.fn();
+ const node = () => (
+ <QueryClientProvider client={client}>
+ <GithubRepositoryPicker
+ open
+ projectId="project"
+ onOpenChange={onOpenChange}
+ onSelectRepository={selected}
+ selectedRepository={selectedRepository}
+ />
+ </QueryClientProvider>
+ );
+ const view = render(node());
+ return { selected, onOpenChange, refresh: () => view.rerender(node()) };
+}
+
+describe("GitHub repository picker", () => {
+ it("loads more pages on demand and keeps earlier results", async () => {
+ m.list
+ .mockResolvedValueOnce(
+ result(["first"], { installationPage: 2, repositoryPage: 1 }),
+ )
+ .mockResolvedValueOnce(result(["second"], null, 10));
+ show();
+ await screen.findByText("owner/first");
+ expect(m.list).toHaveBeenCalledTimes(1);
+ expect(m.list).toHaveBeenLastCalledWith(
+ "project",
+ { installationPage: 1, repositoryPage: 1 },
+ undefined,
+ );
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:repositoryBrowser.loadMore",
+ }),
+ );
+ await screen.findByText("owner/second");
+ expect(screen.getByText("owner/first")).toBeInTheDocument();
+ expect(m.list).toHaveBeenLastCalledWith(
+ "project",
+ { installationPage: 2, repositoryPage: 1 },
+ undefined,
+ );
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:repositoryBrowser.loadMore",
+ }),
+ ).toBeNull();
+ });
+
+ it("selects a row and uses it only after confirming", async () => {
+ m.list.mockResolvedValueOnce(result(["first", "second"], null));
+ const { selected, onOpenChange } = show("owner/first");
+ const first = await screen.findByRole("button", { name: /owner\/first/ });
+ expect(first).toHaveAttribute("aria-pressed", "true");
+ const second = screen.getByRole("button", { name: /owner\/second/ });
+ fireEvent.click(second);
+ expect(second).toHaveAttribute("aria-pressed", "true");
+ expect(first).toHaveAttribute("aria-pressed", "false");
+ expect(selected).not.toHaveBeenCalled();
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:repositoryBrowser.useRepository",
+ }),
+ );
+ expect(selected).toHaveBeenCalledWith({ owner: "owner", name: "second" });
+ expect(onOpenChange).toHaveBeenCalledWith(false);
+ });
+
+ it("searches on the server and keeps scanning until enough matches load", async () => {
+ m.list.mockImplementation(
+ async (_projectId: string, page: Page, search?: string) => {
+ if (!search) return result(["unrelated"], null, 500);
+ if (page.installationPage === 2) return result(["web-three"], null, 20);
+ if (page.repositoryPage === 1)
+ return result(["web-one"], {
+ installationPage: 1,
+ repositoryPage: 2,
+ });
+ return result(
+ ["web-two"],
+ { installationPage: 2, repositoryPage: 1 },
+ 10,
+ );
+ },
+ );
+ show();
+ await screen.findByText("owner/unrelated");
+ fireEvent.change(
+ screen.getByRole("searchbox", {
+ name: "settings:repositoryBrowser.searchPlaceholder",
+ }),
+ { target: { value: " web " } },
+ );
+ await screen.findByText("owner/web-three", {}, { timeout: 2000 });
+ expect(screen.getByText("owner/web-one")).toBeInTheDocument();
+ expect(screen.getByText("owner/web-two")).toBeInTheDocument();
+ expect(screen.queryByText("owner/unrelated")).toBeNull();
+ expect(m.list).toHaveBeenCalledWith(
+ "project",
+ { installationPage: 1, repositoryPage: 1 },
+ "web",
+ );
+ expect(m.list).toHaveBeenCalledWith(
+ "project",
+ { installationPage: 2, repositoryPage: 1 },
+ "web",
+ );
+ });
+
+ it("caps automatic search requests and offers to load more", async () => {
+ let page = 0;
+ m.list.mockImplementation(
+ async (_projectId: string, _page: Page, search?: string) => {
+ if (!search) return result([], null);
+ page += 1;
+ return result([], { installationPage: page + 1, repositoryPage: 1 });
+ },
+ );
+ show();
+ await screen.findByText("settings:repositoryBrowser.emptyTitle");
+ fireEvent.change(
+ screen.getByRole("searchbox", {
+ name: "settings:repositoryBrowser.searchPlaceholder",
+ }),
+ { target: { value: "missing" } },
+ );
+ await screen.findByRole(
+ "button",
+ { name: "settings:repositoryBrowser.loadMore" },
+ { timeout: 3000 },
+ );
+ expect(page).toBe(6);
+ });
+
+ it("isolates cached results after an account switch", async () => {
+ m.list
+ .mockResolvedValueOnce(result(["private-old-user"], null))
+ .mockRejectedValueOnce(new Error("Forbidden"));
+ const { refresh } = show();
+ await screen.findByText("owner/private-old-user");
+ m.userId = "user-2";
+ refresh();
+ expect(screen.queryByText("owner/private-old-user")).toBeNull();
+ await screen.findByText("settings:repositoryBrowser.loadError");
+ expect(screen.queryByText("owner/private-old-user")).toBeNull();
+ });
+
+ it("retries a failed continuation from the same cursor", async () => {
+ m.list
+ .mockResolvedValueOnce(
+ result(["first"], { installationPage: 1, repositoryPage: 2 }),
+ )
+ .mockRejectedValueOnce(new Error("Unavailable"))
+ .mockResolvedValueOnce(result(["second"], null, 10));
+ show();
+ await screen.findByText("owner/first");
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:repositoryBrowser.loadMore",
+ }),
+ );
+ await screen.findByText("settings:repositoryBrowser.loadError");
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:repositoryBrowser.tryAgain",
+ }),
+ );
+ await screen.findByText("owner/second");
+ await waitFor(() =>
+ expect(m.list).toHaveBeenLastCalledWith(
+ "project",
+ { installationPage: 1, repositoryPage: 2 },
+ undefined,
+ ),
+ );
+ });
+});
diff --git a/apps/web/src/components/project/github-integration/github-repository-picker.tsx b/apps/web/src/components/project/github-integration/github-repository-picker.tsx
new file mode 100644
index 000000000..6c1f336c7
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-repository-picker.tsx
@@ -0,0 +1,110 @@
+import { ArrowUpRightIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { RepositoryPickerDialog } from "@/components/project/code-hosting/picker/repository-picker-dialog";
+import { RepositoryPickerSearch } from "@/components/project/code-hosting/picker/repository-picker-search";
+import { GithubRepositoryResults } from "@/components/project/github-integration/github-repository-results";
+import { useGithubAppInfo } from "@/components/project/github-integration/use-github-app-info";
+import { useGithubRepositorySearch } from "@/components/project/github-integration/use-github-repository-search";
+import type { GithubRepository } from "@/fetchers/github-integration/list-repositories";
+import { useDebouncedValue } from "@/hooks/use-debounced-value";
+
+type GithubRepositoryPickerProps = {
+ projectId: string;
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ onSelectRepository: (repository: { owner: string; name: string }) => void;
+ selectedRepository?: string;
+};
+
+export function GithubRepositoryPicker({
+ projectId,
+ open,
+ onOpenChange,
+ onSelectRepository,
+ selectedRepository,
+}: GithubRepositoryPickerProps) {
+ const { t } = useTranslation();
+ const [term, setTerm] = useState("");
+ const [selected, setSelected] = useState<GithubRepository | null>(null);
+ const search = useDebouncedValue(term.trim(), 300);
+ const { data: appInfo } = useGithubAppInfo(open);
+ const results = useGithubRepositorySearch({
+ projectId,
+ search,
+ enabled: open,
+ });
+ const selectedName = selected?.full_name ?? selectedRepository ?? null;
+ const chosen =
+ selected ??
+ results.repositories.find(
+ (repository) => repository.full_name === selectedRepository,
+ ) ??
+ null;
+
+ const changeOpen = (next: boolean) => {
+ if (!next) {
+ setTerm("");
+ setSelected(null);
+ }
+ onOpenChange(next);
+ };
+
+ const use = (repository: GithubRepository | null) => {
+ if (!repository) return;
+ onSelectRepository({
+ owner: repository.owner.login,
+ name: repository.name,
+ });
+ changeOpen(false);
+ };
+
+ return (
+ <RepositoryPickerDialog
+ open={open}
+ onOpenChange={changeOpen}
+ title={t("settings:repositoryBrowser.title")}
+ description={t("settings:repositoryBrowser.description")}
+ search={
+ <RepositoryPickerSearch
+ value={term}
+ placeholder={t("settings:repositoryBrowser.searchPlaceholder")}
+ onChange={setTerm}
+ />
+ }
+ footerStart={
+ <span className="flex items-center gap-1.5">
+ {t("settings:repositoryBrowser.missingOne")}
+ <a
+ href="https://github.com/settings/installations"
+ target="_blank"
+ rel="noopener noreferrer"
+ className="inline-flex items-center gap-1 font-medium text-foreground hover:underline"
+ >
+ {t("settings:repositoryBrowser.manageAccess")}
+ <ArrowUpRightIcon aria-hidden="true" className="size-3" />
+ </a>
+ </span>
+ }
+ confirmLabel={t("settings:repositoryBrowser.useRepository")}
+ confirmDisabled={!chosen}
+ onConfirm={() => use(chosen)}
+ >
+ <GithubRepositoryResults
+ repositories={results.repositories}
+ searching={search !== ""}
+ isPending={results.isPending}
+ isError={results.isError}
+ isFetchNextPageError={results.isFetchNextPageError}
+ hasNextPage={results.hasNextPage}
+ fetchingMore={results.fetchingMore}
+ appName={appInfo?.appName}
+ selected={selectedName}
+ onSelect={setSelected}
+ onConfirm={use}
+ onRetry={() => void results.refetch()}
+ onLoadMore={() => void results.fetchNextPage()}
+ />
+ </RepositoryPickerDialog>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-repository-results.tsx b/apps/web/src/components/project/github-integration/github-repository-results.tsx
new file mode 100644
index 000000000..39d5ff71c
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-repository-results.tsx
@@ -0,0 +1,151 @@
+import { ArrowUpRightIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { RepositoryPickerMessage } from "@/components/project/code-hosting/picker/repository-picker-message";
+import { RepositoryPickerRow } from "@/components/project/code-hosting/picker/repository-picker-row";
+import { RepositoryPickerSkeleton } from "@/components/project/code-hosting/picker/repository-picker-skeleton";
+import { GithubRepositoryMeta } from "@/components/project/github-integration/github-repository-meta";
+import { Button } from "@/components/ui/button";
+import type { GithubRepository } from "@/fetchers/github-integration/list-repositories";
+import { openExternalWebUrl } from "@/lib/external-url";
+
+type GithubRepositoryResultsProps = {
+ repositories: GithubRepository[];
+ searching: boolean;
+ isPending: boolean;
+ isError: boolean;
+ isFetchNextPageError: boolean;
+ hasNextPage: boolean;
+ fetchingMore: boolean;
+ appName: string | null | undefined;
+ selected: string | null;
+ onSelect: (repository: GithubRepository) => void;
+ onConfirm: (repository: GithubRepository) => void;
+ onRetry: () => void;
+ onLoadMore: () => void;
+};
+
+export function GithubRepositoryResults({
+ repositories,
+ searching,
+ isPending,
+ isError,
+ isFetchNextPageError,
+ hasNextPage,
+ fetchingMore,
+ appName,
+ selected,
+ onSelect,
+ onConfirm,
+ onRetry,
+ onLoadMore,
+}: GithubRepositoryResultsProps) {
+ const { t } = useTranslation();
+
+ if (isPending) {
+ return (
+ <>
+ <RepositoryPickerSkeleton />
+ {searching ? (
+ <p className="px-3 py-2 text-center text-xs text-muted-foreground">
+ {t("settings:repositoryBrowser.searching")}
+ </p>
+ ) : null}
+ </>
+ );
+ }
+ if (isError && !isFetchNextPageError) {
+ return (
+ <RepositoryPickerMessage
+ tone="destructive"
+ title={t("settings:repositoryBrowser.loadError")}
+ action={
+ <Button type="button" variant="outline" size="sm" onClick={onRetry}>
+ {t("settings:repositoryBrowser.tryAgain")}
+ </Button>
+ }
+ />
+ );
+ }
+
+ return (
+ <div className="space-y-2">
+ {repositories.length > 0 ? (
+ <ul className="space-y-0.5">
+ {repositories.map((repository) => (
+ <RepositoryPickerRow
+ key={repository.id}
+ name={repository.full_name}
+ isPrivate={repository.private}
+ meta={<GithubRepositoryMeta repository={repository} />}
+ selected={selected === repository.full_name}
+ onSelect={() => onSelect(repository)}
+ onConfirm={() => onConfirm(repository)}
+ />
+ ))}
+ </ul>
+ ) : fetchingMore ? null : searching ? (
+ <RepositoryPickerMessage
+ title={t("settings:repositoryBrowser.noSearchMatchTitle")}
+ description={t("settings:repositoryBrowser.noSearchMatchHint")}
+ />
+ ) : (
+ <RepositoryPickerMessage
+ title={t("settings:repositoryBrowser.emptyTitle")}
+ description={
+ hasNextPage
+ ? t("settings:repositoryBrowser.emptyPageHint")
+ : t("settings:repositoryBrowser.emptyHint")
+ }
+ action={
+ !hasNextPage && appName ? (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() =>
+ openExternalWebUrl(`https://github.com/apps/${appName}`)
+ }
+ >
+ {t("settings:repositoryBrowser.installGithubApp")}
+ <ArrowUpRightIcon aria-hidden="true" />
+ </Button>
+ ) : undefined
+ }
+ />
+ )}
+ {isFetchNextPageError ? (
+ <div
+ role="alert"
+ className="flex items-center justify-center gap-3 px-3 py-2"
+ >
+ <p className="text-xs text-destructive-foreground">
+ {t("settings:repositoryBrowser.loadError")}
+ </p>
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={onLoadMore}
+ >
+ {t("settings:repositoryBrowser.tryAgain")}
+ </Button>
+ </div>
+ ) : fetchingMore ? (
+ <p
+ role="status"
+ className="px-3 py-2 text-center text-xs text-muted-foreground"
+ >
+ {searching
+ ? t("settings:repositoryBrowser.searching")
+ : t("common:empty.loading")}
+ </p>
+ ) : hasNextPage ? (
+ <div className="flex justify-center py-1">
+ <Button type="button" variant="ghost" size="sm" onClick={onLoadMore}>
+ {t("settings:repositoryBrowser.loadMore")}
+ </Button>
+ </div>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-repository-section.tsx b/apps/web/src/components/project/github-integration/github-repository-section.tsx
new file mode 100644
index 000000000..22794b6e5
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-repository-section.tsx
@@ -0,0 +1,96 @@
+import { useTranslation } from "react-i18next";
+import { CommentLinkRow } from "@/components/project/code-hosting/comment-link-row";
+import { RepositoryLink } from "@/components/project/code-hosting/repository-link";
+import { GithubAppStatus } from "@/components/project/github-integration/github-app-status";
+import { GithubReconnectAction } from "@/components/project/github-integration/github-reconnect-action";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import type { GitHubAppInfo } from "@/fetchers/github-integration/get-app-info";
+import type { GithubIntegration } from "@/fetchers/github-integration/get-github-integration";
+import type { VerifyGithubInstallationResponse } from "@/fetchers/github-integration/verify-github-installation";
+import { useUpdateGithubIntegration } from "@/hooks/mutations/github-integration/use-update-github-integration";
+import { toast } from "@/lib/toast";
+
+type GithubRepositorySectionProps = {
+ projectId: string;
+ integration: GithubIntegration;
+ appInfo: GitHubAppInfo | undefined;
+ verification: VerifyGithubInstallationResponse | undefined;
+ reconnecting: boolean;
+ onReconnect: () => void;
+};
+
+export function GithubRepositorySection({
+ projectId,
+ integration,
+ appInfo,
+ verification,
+ reconnecting,
+ onReconnect,
+}: GithubRepositorySectionProps) {
+ const { t } = useTranslation();
+ const { mutateAsync: update, isPending } = useUpdateGithubIntegration();
+ const isConnected = Boolean(integration.isActive);
+ const name = `${integration.repositoryOwner}/${integration.repositoryName}`;
+
+ const toggleComment = async (checked: boolean) => {
+ try {
+ await update({
+ projectId,
+ json: { commentTaskLinkOnGitHubIssue: checked },
+ });
+ toast.success(
+ checked
+ ? t("settings:githubIntegration.toast.commentOnEnabled")
+ : t("settings:githubIntegration.toast.commentOnDisabled"),
+ );
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:githubIntegration.toast.settingsUpdateError"),
+ );
+ }
+ };
+
+ return (
+ <IntegrationPanelSection
+ label={t("settings:codeHosting.repositorySection")}
+ >
+ <div className="min-w-0 space-y-1">
+ <RepositoryLink name={name} href={`https://github.com/${name}`} />
+ {isConnected ? <GithubAppStatus result={verification} /> : null}
+ </div>
+ {isConnected ? null : (
+ <IntegrationCheckLine
+ tone="warning"
+ action={
+ <GithubReconnectAction
+ appInfo={appInfo}
+ reconnecting={reconnecting}
+ onReconnect={onReconnect}
+ />
+ }
+ >
+ {t("settings:githubIntegration.reverifyHint")}
+ {appInfo && !appInfo.accountConnected
+ ? ` ${
+ appInfo.accountLinkingAvailable
+ ? t("settings:githubIntegration.accountVerificationHint")
+ : t("settings:githubIntegration.enableGithubSignInHint")
+ }`
+ : null}
+ </IntegrationCheckLine>
+ )}
+ {isConnected ? (
+ <CommentLinkRow
+ title={t("settings:githubIntegration.commentTaskLinkTitle")}
+ description={t("settings:githubIntegration.commentTaskLinkHint")}
+ checked={integration.commentTaskLinkOnGitHubIssue !== false}
+ disabled={isPending}
+ onCheckedChange={toggleComment}
+ />
+ ) : null}
+ </IntegrationPanelSection>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-setup-panel.tsx b/apps/web/src/components/project/github-integration/github-setup-panel.tsx
new file mode 100644
index 000000000..3ef38f975
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-setup-panel.tsx
@@ -0,0 +1,103 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { RepositoryChoiceStep } from "@/components/project/code-hosting/repository-choice-step";
+import {
+ formatRepositoryPath,
+ GITHUB_OWNER_PATTERN,
+ parseRepositoryPath,
+} from "@/components/project/code-hosting/parse-repository-path";
+import { isGithubVerificationReady } from "@/components/project/github-integration/describe-github-verification";
+import { GithubAccountStep } from "@/components/project/github-integration/github-account-step";
+import { GithubRepositoryPicker } from "@/components/project/github-integration/github-repository-picker";
+import { GithubVerificationLine } from "@/components/project/github-integration/github-verification-line";
+import { useConnectGithubRepository } from "@/components/project/github-integration/use-connect-github-repository";
+import { useGithubVerification } from "@/components/project/github-integration/use-github-verification";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelFooter } from "@/components/project/integrations/panel/integration-panel-footer";
+import { IntegrationSteps } from "@/components/project/integrations/panel/integration-steps";
+import { Button } from "@/components/ui/button";
+import type { GitHubAppInfo } from "@/fetchers/github-integration/get-app-info";
+
+type GithubSetupPanelProps = {
+ projectId: string;
+ appInfo: GitHubAppInfo | undefined;
+};
+
+export function GithubSetupPanel({
+ projectId,
+ appInfo,
+}: GithubSetupPanelProps) {
+ const { t } = useTranslation();
+ const [value, setValue] = useState("");
+ const [touched, setTouched] = useState(false);
+ const [browsing, setBrowsing] = useState(false);
+ const linked = Boolean(appInfo?.accountConnected);
+ const repository = parseRepositoryPath(value, GITHUB_OWNER_PATTERN);
+ const verification = useGithubVerification(
+ projectId,
+ linked ? repository : null,
+ );
+ const { connect, connecting } = useConnectGithubRepository(projectId);
+ const blocked =
+ verification.result !== undefined &&
+ !isGithubVerificationReady(verification.result);
+ const invalid = touched && value.trim() !== "" && repository === null;
+
+ return (
+ <>
+ <IntegrationPanel>
+ <IntegrationSteps>
+ <GithubAccountStep appInfo={appInfo} />
+ <RepositoryChoiceStep
+ title={t("settings:codeHosting.chooseRepositoryTitle")}
+ description={t(
+ "settings:githubIntegration.chooseRepositoryDescription",
+ )}
+ inputLabel={t("settings:codeHosting.repositoryPathLabel")}
+ placeholder="owner/repository"
+ value={value}
+ invalidMessage={
+ invalid ? t("settings:codeHosting.repositoryPathInvalid") : null
+ }
+ disabled={connecting}
+ browseDisabled={!linked}
+ status={<GithubVerificationLine {...verification} />}
+ onChange={(next) => {
+ setValue(next);
+ if (parseRepositoryPath(next, GITHUB_OWNER_PATTERN))
+ setTouched(true);
+ }}
+ onBlur={() => setTouched(true)}
+ onBrowse={() => setBrowsing(true)}
+ />
+ </IntegrationSteps>
+ <IntegrationPanelFooter>
+ <Button
+ type="button"
+ loading={connecting}
+ disabled={!linked || !repository || blocked}
+ onClick={() => {
+ if (repository) void connect(repository);
+ }}
+ >
+ {t("settings:codeHosting.connectRepository")}
+ </Button>
+ </IntegrationPanelFooter>
+ </IntegrationPanel>
+ <GithubRepositoryPicker
+ projectId={projectId}
+ open={browsing}
+ onOpenChange={setBrowsing}
+ selectedRepository={
+ repository
+ ? formatRepositoryPath(repository.owner, repository.name)
+ : undefined
+ }
+ onSelectRepository={(selected) => {
+ setValue(formatRepositoryPath(selected.owner, selected.name));
+ setTouched(true);
+ }}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-verification-line.tsx b/apps/web/src/components/project/github-integration/github-verification-line.tsx
new file mode 100644
index 000000000..5de93f029
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-verification-line.tsx
@@ -0,0 +1,73 @@
+import { ArrowUpRightIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { CheckingLine } from "@/components/project/code-hosting/checking-line";
+import {
+ describeGithubVerification,
+ githubVerificationTone,
+} from "@/components/project/github-integration/describe-github-verification";
+import { githubVerificationMessage } from "@/components/project/github-integration/github-verification-message";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+import { Button } from "@/components/ui/button";
+import type { VerifyGithubInstallationResponse } from "@/fetchers/github-integration/verify-github-installation";
+import { openExternalWebUrl } from "@/lib/external-url";
+
+type GithubVerificationLineProps = {
+ checking: boolean;
+ result: VerifyGithubInstallationResponse | undefined;
+ error: unknown;
+};
+
+export function GithubVerificationLine({
+ checking,
+ result,
+ error,
+}: GithubVerificationLineProps) {
+ const { t } = useTranslation();
+
+ if (checking) return <CheckingLine />;
+ if (error) {
+ return (
+ <IntegrationCheckLine tone="destructive">
+ {error instanceof Error && error.message
+ ? error.message
+ : t("settings:githubIntegration.toast.verifyError")}
+ </IntegrationCheckLine>
+ );
+ }
+ if (!result) return null;
+
+ const outcome = describeGithubVerification(result);
+ const link = (url: string | undefined, label: string) =>
+ url ? (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() => openExternalWebUrl(url)}
+ >
+ {label}
+ <ArrowUpRightIcon aria-hidden="true" />
+ </Button>
+ ) : undefined;
+
+ return (
+ <IntegrationCheckLine
+ tone={githubVerificationTone(outcome)}
+ action={
+ outcome.kind === "missingPermissions"
+ ? link(
+ outcome.settingsUrl,
+ t("settings:githubIntegration.updatePermissions"),
+ )
+ : outcome.kind === "notInstalled"
+ ? link(
+ outcome.installationUrl,
+ t("settings:githubIntegration.installGithubApp"),
+ )
+ : undefined
+ }
+ >
+ {githubVerificationMessage(outcome, result.message, t)}
+ </IntegrationCheckLine>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/github-verification-message.ts b/apps/web/src/components/project/github-integration/github-verification-message.ts
new file mode 100644
index 000000000..de4c13676
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-verification-message.ts
@@ -0,0 +1,19 @@
+import type { GithubVerificationOutcome } from "@/components/project/github-integration/describe-github-verification";
+
+type Translate = (key: string, options?: Record<string, unknown>) => string;
+
+export function githubVerificationMessage(
+ outcome: GithubVerificationOutcome,
+ fallback: string,
+ t: Translate,
+) {
+ if (outcome.kind === "ready")
+ return t("settings:githubIntegration.verifyReady");
+ if (outcome.kind === "notInstalled")
+ return t("settings:githubIntegration.verifyNotInstalled");
+ if (outcome.kind === "missingPermissions" && outcome.permissions.length)
+ return t("settings:githubIntegration.verifyMissingPermissions", {
+ list: outcome.permissions.join(", "),
+ });
+ return outcome.kind === "message" ? outcome.message : fallback;
+}
diff --git a/apps/web/src/components/project/github-integration/github-workflow-hint.tsx b/apps/web/src/components/project/github-integration/github-workflow-hint.tsx
new file mode 100644
index 000000000..e2d67809c
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/github-workflow-hint.tsx
@@ -0,0 +1,25 @@
+import { Link } from "@tanstack/react-router";
+import { ArrowRightIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+
+type GithubWorkflowHintProps = {
+ projectId: string;
+};
+
+export function GithubWorkflowHint({ projectId }: GithubWorkflowHintProps) {
+ const { t } = useTranslation();
+
+ return (
+ <p className="flex flex-wrap items-center gap-x-1.5 text-xs text-muted-foreground">
+ {t("settings:githubIntegration.workflowHint")}
+ <Link
+ to="/dashboard/settings/projects/$projectId/workflow"
+ params={{ projectId }}
+ className="inline-flex items-center gap-1 font-medium text-foreground hover:underline"
+ >
+ {t("settings:githubIntegration.workflowLink")}
+ <ArrowRightIcon aria-hidden="true" className="size-3" />
+ </Link>
+ </p>
+ );
+}
diff --git a/apps/web/src/components/project/github-integration/use-connect-github-repository.ts b/apps/web/src/components/project/github-integration/use-connect-github-repository.ts
new file mode 100644
index 000000000..81058f879
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/use-connect-github-repository.ts
@@ -0,0 +1,49 @@
+import { useTranslation } from "react-i18next";
+import type { RepositoryPath } from "@/components/project/code-hosting/parse-repository-path";
+import {
+ useCreateGithubIntegration,
+ useVerifyGithubInstallation,
+} from "@/hooks/mutations/github-integration/use-create-github-integration";
+import { toast } from "@/lib/toast";
+
+export function useConnectGithubRepository(projectId: string) {
+ const { t } = useTranslation();
+ const { mutateAsync: verify, isPending: isVerifying } =
+ useVerifyGithubInstallation();
+ const { mutateAsync: create, isPending: isCreating } =
+ useCreateGithubIntegration();
+
+ const connect = async (repository: RepositoryPath) => {
+ const data = {
+ repositoryOwner: repository.owner,
+ repositoryName: repository.name,
+ };
+ try {
+ const verification = await verify({ ...data, projectId });
+ if (!verification.isInstalled) {
+ toast.error(t("settings:githubIntegration.toast.installAppFirst"));
+ return false;
+ }
+ if (!verification.hasRequiredPermissions) {
+ toast.error(
+ t("settings:githubIntegration.toast.missingPermsDetail", {
+ list: verification.missingPermissions?.join(", ") || "issues",
+ }),
+ );
+ return false;
+ }
+ await create({ projectId, data });
+ toast.success(t("settings:githubIntegration.toast.updated"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:githubIntegration.toast.updateError"),
+ );
+ return false;
+ }
+ };
+
+ return { connect, connecting: isVerifying || isCreating };
+}
diff --git a/apps/web/src/components/project/github-integration/use-github-app-info.ts b/apps/web/src/components/project/github-integration/use-github-app-info.ts
new file mode 100644
index 000000000..c32b1cd69
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/use-github-app-info.ts
@@ -0,0 +1,13 @@
+import { useQuery } from "@tanstack/react-query";
+import getGitHubAppInfo from "@/fetchers/github-integration/get-app-info";
+import { authClient } from "@/lib/auth-client";
+
+export function useGithubAppInfo(enabled = true) {
+ const { data: session } = authClient.useSession();
+
+ return useQuery({
+ queryKey: ["github-app-info", session?.user.id],
+ queryFn: getGitHubAppInfo,
+ enabled: enabled && Boolean(session?.user.id),
+ });
+}
diff --git a/apps/web/src/components/project/github-integration/use-github-repository-search.ts b/apps/web/src/components/project/github-integration/use-github-repository-search.ts
new file mode 100644
index 000000000..188554b1a
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/use-github-repository-search.ts
@@ -0,0 +1,70 @@
+import { useInfiniteQuery } from "@tanstack/react-query";
+import { useEffect, useState } from "react";
+import { collectRepositories } from "@/components/project/github-integration/collect-repositories";
+import listRepositories, {
+ FIRST_REPOSITORY_PAGE,
+ type RepositoryPage,
+} from "@/fetchers/github-integration/list-repositories";
+import { authClient } from "@/lib/auth-client";
+
+export const AUTO_FETCH_TARGET = 20;
+export const AUTO_FETCH_LIMIT = 5;
+
+type AutoFetchState = {
+ scope: string;
+ count: number;
+ requestedAt: number;
+};
+
+export function useGithubRepositorySearch({
+ projectId,
+ search,
+ enabled,
+}: {
+ projectId: string;
+ search: string;
+ enabled: boolean;
+}) {
+ const { data: session } = authClient.useSession();
+ const userId = session?.user.id;
+ const query = useInfiniteQuery({
+ queryKey: ["github-repositories", projectId, userId, search],
+ queryFn: ({ pageParam }) =>
+ listRepositories(projectId, pageParam, search || undefined),
+ initialPageParam: FIRST_REPOSITORY_PAGE as RepositoryPage,
+ getNextPageParam: (lastPage) => lastPage.nextPage ?? undefined,
+ enabled: enabled && Boolean(userId),
+ });
+ const repositories = collectRepositories(query.data?.pages);
+ const pageCount = query.data?.pages.length ?? 0;
+ const scope = `${userId ?? ""}:${search}`;
+ const [autoFetch, setAutoFetch] = useState<AutoFetchState>({
+ scope,
+ count: 0,
+ requestedAt: 0,
+ });
+ const current =
+ autoFetch.scope === scope ? autoFetch : { scope, count: 0, requestedAt: 0 };
+ const { hasNextPage, isFetching, isError, fetchNextPage } = query;
+ const wantsMore =
+ enabled &&
+ search !== "" &&
+ hasNextPage &&
+ !isError &&
+ repositories.length < AUTO_FETCH_TARGET &&
+ current.count < AUTO_FETCH_LIMIT;
+ const shouldAutoFetch =
+ wantsMore && !isFetching && pageCount > current.requestedAt;
+
+ useEffect(() => {
+ if (!shouldAutoFetch) return;
+ setAutoFetch({ scope, count: current.count + 1, requestedAt: pageCount });
+ void fetchNextPage({ cancelRefetch: false });
+ }, [shouldAutoFetch, scope, current.count, pageCount, fetchNextPage]);
+
+ return {
+ ...query,
+ repositories,
+ fetchingMore: query.isFetchingNextPage || wantsMore,
+ };
+}
diff --git a/apps/web/src/components/project/github-integration/use-github-verification.ts b/apps/web/src/components/project/github-integration/use-github-verification.ts
new file mode 100644
index 000000000..5cd14f776
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/use-github-verification.ts
@@ -0,0 +1,20 @@
+import { useDebouncedCheck } from "@/components/project/code-hosting/use-debounced-check";
+import type { RepositoryPath } from "@/components/project/code-hosting/parse-repository-path";
+import { useVerifyGithubInstallation } from "@/hooks/mutations/github-integration/use-create-github-integration";
+
+export function useGithubVerification(
+ projectId: string,
+ repository: RepositoryPath | null,
+) {
+ const { mutateAsync: verify } = useVerifyGithubInstallation();
+ const key = repository ? `${repository.owner}/${repository.name}` : null;
+
+ return useDebouncedCheck(key, () => {
+ if (!repository) throw new Error("Missing repository");
+ return verify({
+ projectId,
+ repositoryOwner: repository.owner,
+ repositoryName: repository.name,
+ });
+ });
+}
diff --git a/apps/web/src/components/project/github-integration/use-link-github-account.ts b/apps/web/src/components/project/github-integration/use-link-github-account.ts
new file mode 100644
index 000000000..59707cfef
--- /dev/null
+++ b/apps/web/src/components/project/github-integration/use-link-github-account.ts
@@ -0,0 +1,30 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { authClient } from "@/lib/auth-client";
+import { toast } from "@/lib/toast";
+
+export function useLinkGithubAccount() {
+ const { t } = useTranslation();
+ const [linking, setLinking] = useState(false);
+
+ const link = async () => {
+ setLinking(true);
+ try {
+ const result = await authClient.linkSocial({
+ provider: "github",
+ callbackURL: window.location.href,
+ });
+ if (result.error) throw new Error(result.error.message);
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:githubIntegration.toast.updateError"),
+ );
+ } finally {
+ setLinking(false);
+ }
+ };
+
+ return { link, linking };
+}
diff --git a/apps/web/src/components/project/gitlab-integration-settings.tsx b/apps/web/src/components/project/gitlab-integration-settings.tsx
deleted file mode 100644
index 30cced77f..000000000
--- a/apps/web/src/components/project/gitlab-integration-settings.tsx
+++ /dev/null
@@ -1,916 +0,0 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import {
- AlertTriangle,
- CheckCircle,
- ExternalLink,
- GitBranch,
- Import,
- Link,
- RefreshCw,
- Unlink,
- XCircle,
-} from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { GitlabProjectBrowserModal } from "@/components/project/gitlab-project-browser-modal";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import { Separator } from "@/components/ui/separator";
-import { Switch } from "@/components/ui/switch";
-import type { VerifyGitlabAccessResponse } from "@/fetchers/gitlab-integration/verify-gitlab-access";
-import {
- useCreateGitlabIntegration,
- useDeleteGitlabIntegration,
- useVerifyGitlabAccess,
-} from "@/hooks/mutations/gitlab-integration/use-create-gitlab-integration";
-import useImportGitlabIssues from "@/hooks/mutations/gitlab-integration/use-import-gitlab-issues";
-import { useUpdateGitlabIntegration } from "@/hooks/mutations/gitlab-integration/use-update-gitlab-integration";
-import useGetGitlabIntegration from "@/hooks/queries/gitlab-integration/use-get-gitlab-integration";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { cn } from "@/lib/cn";
-import { toast } from "@/lib/toast";
-
-const GITLAB_CLOUD_URL = "https://gitlab.com";
-
-type GitlabTokenType = "private" | "bearer";
-
-type GitlabIntegrationFormValues = {
- baseUrl: string;
- accessToken: string;
- tokenType: GitlabTokenType;
- projectPath: string;
-};
-
-type GitlabVerificationSnapshot = {
- baseUrl: string;
- accessToken: string;
- tokenType: GitlabTokenType;
- projectPath: string;
-};
-
-type GitlabVerificationState = {
- result: VerifyGitlabAccessResponse;
- verified: GitlabVerificationSnapshot;
-};
-
-function createVerificationSnapshot(
- values: GitlabIntegrationFormValues,
-): GitlabVerificationSnapshot {
- return {
- baseUrl: values.baseUrl.trim(),
- accessToken: values.accessToken.trim(),
- tokenType: values.tokenType,
- projectPath: values.projectPath.trim().replace(/^\/+|\/+$/g, ""),
- };
-}
-
-function snapshotsMatch(
- a: GitlabVerificationSnapshot,
- b: GitlabVerificationSnapshot,
-): boolean {
- return (
- a.baseUrl === b.baseUrl &&
- a.accessToken === b.accessToken &&
- a.tokenType === b.tokenType &&
- a.projectPath === b.projectPath
- );
-}
-
-export function GitlabIntegrationSettings({
- projectId,
-}: {
- projectId: string;
-}) {
- const { t } = useTranslation();
- const { canCreateTasks, canUpdateTasks } = useWorkspacePermission();
-
- const gitlabIntegrationSchema = React.useMemo(
- () =>
- z.object({
- baseUrl: z
- .string()
- .min(1, t("settings:gitlabIntegration.validation.baseUrlRequired"))
- .refine((s) => {
- try {
- new URL(s);
- return true;
- } catch {
- return false;
- }
- }, t("settings:gitlabIntegration.validation.baseUrlInvalid")),
- accessToken: z.string(),
- tokenType: z.enum(["private", "bearer"]),
- projectPath: z
- .string()
- .min(1, t("settings:gitlabIntegration.validation.pathRequired"))
- .refine(
- (s) => /^[a-zA-Z0-9._-]+(?:\/[a-zA-Z0-9._-]+)+$/.test(s.trim()),
- t("settings:gitlabIntegration.validation.pathInvalid"),
- ),
- }),
- [t],
- );
-
- const {
- data: integration,
- isLoading,
- error: integrationError,
- refetch: refetchIntegration,
- } = useGetGitlabIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateGitlabIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteGitlabIntegration();
- const { mutateAsync: verifyAccess, isPending: isVerifying } =
- useVerifyGitlabAccess();
- const { mutateAsync: importIssues, isPending: isImporting } =
- useImportGitlabIssues();
- const { mutateAsync: updateGitlabSettings, isPending: isUpdatingSettings } =
- useUpdateGitlabIntegration();
-
- const [verificationResult, setVerificationResult] =
- React.useState<GitlabVerificationState | null>(null);
- const [showProjectBrowser, setShowProjectBrowser] = React.useState(false);
- const [showWebhookSecret, setShowWebhookSecret] = React.useState(false);
-
- const form = useForm<GitlabIntegrationFormValues>({
- resolver: standardSchemaResolver(gitlabIntegrationSchema),
- defaultValues: {
- baseUrl: GITLAB_CLOUD_URL,
- accessToken: "",
- tokenType: "private",
- projectPath: "",
- },
- });
-
- const { reset: resetForm, getValues: getFormValues, formState } = form;
-
- const resetIntegrationForm = React.useCallback(() => {
- if (!integration?.baseUrl) {
- return;
- }
-
- resetForm({
- baseUrl: integration.baseUrl,
- accessToken: "",
- tokenType: integration.tokenType,
- projectPath: integration.projectPath,
- });
- // Clear verify state when the form reloads so import cannot run against
- // stale credentials.
- setVerificationResult(null);
- setShowWebhookSecret(false);
- }, [
- resetForm,
- integration?.baseUrl,
- integration?.projectPath,
- integration?.tokenType,
- ]);
-
- React.useEffect(() => {
- resetIntegrationForm();
- }, [resetIntegrationForm]);
-
- const runVerify = React.useCallback(
- async (data: GitlabIntegrationFormValues, showToast = true) => {
- const token = data.accessToken.trim();
- if (!token && integration) {
- return;
- }
- if (!token && !integration) {
- if (showToast) {
- toast.error(
- t("settings:gitlabIntegration.toast.tokenRequiredVerify"),
- );
- }
- setVerificationResult(null);
- return;
- }
- try {
- const snapshot = createVerificationSnapshot(data);
- const result = await verifyAccess({
- projectId,
- baseUrl: snapshot.baseUrl,
- accessToken: snapshot.accessToken,
- tokenType: snapshot.tokenType,
- projectPath: snapshot.projectPath,
- });
- setVerificationResult({
- result,
- verified: snapshot,
- });
- if (showToast) {
- if (result.isInstalled && result.hasRequiredPermissions) {
- toast.success(t("settings:gitlabIntegration.toast.verifyOk"));
- } else if (result.failureReason === "redirected") {
- toast.error(t("settings:gitlabIntegration.toast.redirected"));
- } else if (result.failureReason === "not_a_gitlab_instance") {
- toast.error(
- t("settings:gitlabIntegration.toast.notGitlabInstance"),
- );
- } else if (result.failureReason === "project_not_found") {
- toast.error(t("settings:gitlabIntegration.toast.projectNotFound"));
- } else {
- toast.warning(t("settings:gitlabIntegration.toast.verifyWarning"));
- }
- }
- } catch (error) {
- if (showToast) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:gitlabIntegration.toast.verifyError"),
- );
- }
- setVerificationResult(null);
- }
- },
- [verifyAccess, integration, projectId, t],
- );
-
- const baseUrl = form.watch("baseUrl");
- const accessToken = form.watch("accessToken");
- const tokenType = form.watch("tokenType");
- const projectPath = form.watch("projectPath");
- const currentVerificationSnapshot = React.useMemo(
- () =>
- createVerificationSnapshot({
- baseUrl,
- accessToken,
- tokenType,
- projectPath,
- }),
- [baseUrl, accessToken, tokenType, projectPath],
- );
-
- React.useEffect(() => {
- setVerificationResult((current) => {
- if (!current) {
- return current;
- }
- return snapshotsMatch(current.verified, currentVerificationSnapshot)
- ? current
- : null;
- });
- }, [currentVerificationSnapshot]);
-
- React.useEffect(() => {
- if (!baseUrl || !projectPath || !formState.isValid) {
- return;
- }
- if (!accessToken.trim()) {
- return;
- }
- const timeoutId = window.setTimeout(() => {
- runVerify({ baseUrl, accessToken, tokenType, projectPath }, false);
- }, 400);
-
- return () => {
- window.clearTimeout(timeoutId);
- };
- }, [
- baseUrl,
- projectPath,
- accessToken,
- tokenType,
- formState.isValid,
- runVerify,
- ]);
-
- const onSubmit = async (data: GitlabIntegrationFormValues) => {
- try {
- if (!data.accessToken.trim() && !integration) {
- toast.error(t("settings:gitlabIntegration.toast.tokenRequired"));
- return;
- }
-
- const snapshot = createVerificationSnapshot(data);
- const hasMatchingVerification =
- verificationResult?.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions &&
- snapshotsMatch(verificationResult.verified, snapshot);
-
- if (data.accessToken.trim() && !hasMatchingVerification) {
- const verification = await verifyAccess({
- projectId,
- baseUrl: snapshot.baseUrl,
- accessToken: snapshot.accessToken,
- tokenType: snapshot.tokenType,
- projectPath: snapshot.projectPath,
- });
-
- if (!verification.isInstalled || !verification.hasRequiredPermissions) {
- toast.error(t("settings:gitlabIntegration.toast.verifyFirst"));
- return;
- }
- }
-
- await createIntegration({
- projectId,
- data: {
- baseUrl: snapshot.baseUrl,
- ...(snapshot.accessToken
- ? { accessToken: snapshot.accessToken }
- : {}),
- tokenType: snapshot.tokenType,
- projectPath: snapshot.projectPath,
- },
- });
- form.setValue("accessToken", "");
- toast.success(t("settings:gitlabIntegration.toast.updated"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:gitlabIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- resetForm({
- baseUrl: GITLAB_CLOUD_URL,
- accessToken: "",
- tokenType: "private",
- projectPath: "",
- });
- setVerificationResult(null);
- toast.success(t("settings:gitlabIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:gitlabIntegration.toast.removeError"),
- );
- }
- };
-
- const handleImportIssues = async () => {
- try {
- await importIssues(projectId);
- toast.success(t("settings:gitlabIntegration.toast.issuesImported"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:gitlabIntegration.toast.importError"),
- );
- }
- };
-
- const handleProjectSelect = (selectedPath: string) => {
- form.setValue("projectPath", selectedPath, {
- shouldValidate: true,
- shouldDirty: true,
- shouldTouch: true,
- });
- setShowProjectBrowser(false);
- setVerificationResult(null);
- };
-
- const handleCopyWebhookSecret = React.useCallback(async () => {
- if (!integration?.webhookSecret) {
- return;
- }
-
- try {
- await navigator.clipboard.writeText(integration.webhookSecret);
- toast.success(t("settings:gitlabIntegration.toast.secretCopied"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:gitlabIntegration.toast.unableToCopySecret"),
- );
- }
- }, [integration?.webhookSecret, t]);
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="h-10 bg-muted rounded animate-pulse w-full" />
- </div>
- );
- }
-
- if (integrationError) {
- return (
- <div className="space-y-4 rounded-xl border border-destructive/25 bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <p className="text-sm font-medium text-destructive">
- {t("common:error.title")}
- </p>
- <p className="text-sm text-muted-foreground">
- {integrationError instanceof Error
- ? integrationError.message
- : t("settings:gitlabIntegration.toast.updateError")}
- </p>
- </div>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => refetchIntegration()}
- >
- {t("settings:gitlabIntegration.retry")}
- </Button>
- </div>
- </div>
- );
- }
-
- const isConnected = !!integration && integration.isActive;
- // Import stays disabled until the user verifies again after changing
- // connection details, so it cannot run with an unverified token.
- const hasVerifiedCurrentValues =
- verificationResult?.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions &&
- snapshotsMatch(verificationResult.verified, currentVerificationSnapshot);
- const hasImportPermission = canCreateTasks() && canUpdateTasks();
- const canImport =
- isConnected && Boolean(hasVerifiedCurrentValues) && hasImportPermission;
-
- const gitlabProjectUrl = integration?.baseUrl
- ? `${integration.baseUrl.replace(/\/$/, "")}/${integration.projectPath}`
- : null;
-
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:gitlabIntegration.connectionStatus")}
- </p>
- {isConnected ? (
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.connectedActive")}
- </p>
- ) : (
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.notConnectedHint")}
- </p>
- )}
- </div>
- {isConnected ? (
- <Badge variant="secondary" className="gap-1">
- <CheckCircle className="w-3 h-3" />
- {t("settings:gitlabIntegration.badgeConnected")}
- </Badge>
- ) : (
- <Badge variant="outline" className="gap-1">
- <XCircle className="w-3 h-3" />
- {t("settings:gitlabIntegration.badgeNotConnected")}
- </Badge>
- )}
- </div>
-
- {isConnected && integration && (
- <>
- <Separator />
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:gitlabIntegration.project")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.projectHint")}
- </p>
- </div>
- <div className="flex items-center gap-2 text-sm">
- <span className="font-medium">{integration.projectPath}</span>
- {gitlabProjectUrl && (
- <a
- href={gitlabProjectUrl}
- target="_blank"
- rel="noopener noreferrer"
- aria-label={t("settings:gitlabIntegration.openInGitlab", {
- project: integration.projectPath,
- })}
- className="text-primary hover:text-primary/80 transition-colors"
- >
- <ExternalLink className="w-3 h-3" />
- </a>
- )}
- </div>
- </div>
-
- <Separator />
- <div className="flex items-center justify-between gap-4">
- <div className="min-w-0 flex-1 space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:gitlabIntegration.commentTaskLinkTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.commentTaskLinkHint")}
- </p>
- </div>
- <Switch
- checked={integration.commentTaskLinkOnGitlabIssue ?? true}
- onCheckedChange={async (checked) => {
- try {
- await updateGitlabSettings({
- projectId,
- json: { commentTaskLinkOnGitlabIssue: checked },
- });
- toast.success(
- checked
- ? t("settings:gitlabIntegration.toast.commentOnEnabled")
- : t(
- "settings:gitlabIntegration.toast.commentOnDisabled",
- ),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t(
- "settings:gitlabIntegration.toast.settingsUpdateError",
- ),
- );
- }
- }}
- disabled={isUpdatingSettings}
- />
- </div>
-
- {integration.webhookUrl && (
- <>
- <Separator />
- <div className="space-y-2 text-xs">
- <p className="font-medium text-sm">
- {t("settings:gitlabIntegration.webhookTitle")}
- </p>
- <p className="text-muted-foreground">
- {t("settings:gitlabIntegration.webhookHint")}
- </p>
- <code className="block break-all rounded bg-muted px-2 py-1 text-[11px]">
- {integration.webhookUrl}
- </code>
- <p className="text-muted-foreground mt-2">
- {t("settings:gitlabIntegration.webhookSecretLabel")}
- </p>
- <div className="flex items-start gap-2">
- <code className="block flex-1 break-all rounded bg-muted px-2 py-1 text-[11px]">
- {showWebhookSecret
- ? integration.webhookSecret
- : "••••••••••••••••••••••••••••••••"}
- </code>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() =>
- setShowWebhookSecret((current) => !current)
- }
- >
- {showWebhookSecret
- ? t("settings:gitlabIntegration.webhookHide")
- : t("settings:gitlabIntegration.webhookShow")}
- </Button>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={handleCopyWebhookSecret}
- >
- {t("settings:gitlabIntegration.webhookCopy")}
- </Button>
- </div>
- </div>
- </>
- )}
- </>
- )}
- </div>
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <Form {...form}>
- <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
- <FormField
- control={form.control}
- name="baseUrl"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:gitlabIntegration.baseUrlLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.baseUrlHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-72"
- placeholder={GITLAB_CLOUD_URL}
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={form.control}
- name="tokenType"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:gitlabIntegration.tokenTypeLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.tokenTypeHint")}
- </p>
- </div>
- <Select
- value={field.value}
- onValueChange={(value) =>
- field.onChange(value as GitlabTokenType)
- }
- >
- <SelectTrigger className="w-72">
- <SelectValue>
- {field.value === "bearer"
- ? t("settings:gitlabIntegration.tokenTypeBearer")
- : t("settings:gitlabIntegration.tokenTypePrivate")}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- <SelectItem value="private">
- {t("settings:gitlabIntegration.tokenTypePrivate")}
- </SelectItem>
- <SelectItem value="bearer">
- {t("settings:gitlabIntegration.tokenTypeBearer")}
- </SelectItem>
- </SelectContent>
- </Select>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={form.control}
- name="accessToken"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:gitlabIntegration.tokenLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.tokenHint")}
- {integration?.maskedAccessToken
- ? ` (${t("settings:gitlabIntegration.currentToken")}: ${integration.maskedAccessToken})`
- : null}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-72"
- type="password"
- autoComplete="off"
- placeholder={
- integration
- ? t(
- "settings:gitlabIntegration.tokenPlaceholderUpdate",
- )
- : t("settings:gitlabIntegration.tokenPlaceholder")
- }
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={form.control}
- name="projectPath"
- render={({ field }) => (
- <FormItem>
- <div className="flex items-center justify-between gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:gitlabIntegration.projectPathLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.projectPathHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-72"
- placeholder="group/subgroup/project"
- {...field}
- disabled={isCreating || isDeleting}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:gitlabIntegration.actionsTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.actionsHint")}
- </p>
- </div>
- <div className="flex flex-wrap gap-2">
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => setShowProjectBrowser(true)}
- className="gap-2"
- disabled={!baseUrl || !accessToken.trim()}
- >
- <GitBranch className="size-3" />
- {t("settings:gitlabIntegration.browse")}
- </Button>
-
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => runVerify(getFormValues())}
- disabled={
- isVerifying ||
- !formState.isValid ||
- (!accessToken.trim() && !integration)
- }
- className="gap-2"
- >
- <RefreshCw
- className={cn("size-3", isVerifying && "animate-spin")}
- />
- {t("settings:gitlabIntegration.verify")}
- </Button>
-
- <Button
- type="submit"
- size="sm"
- disabled={
- isCreating ||
- isDeleting ||
- !formState.isValid ||
- (verificationResult ? !hasVerifiedCurrentValues : false)
- }
- className="gap-2"
- >
- <Link className="size-3" />
- {isConnected
- ? t("settings:gitlabIntegration.update")
- : t("settings:gitlabIntegration.connect")}
- </Button>
-
- {isConnected && (
- <Button
- type="button"
- variant="destructive"
- size="sm"
- onClick={handleDelete}
- disabled={isCreating || isDeleting}
- className="gap-2"
- >
- <Unlink className="size-3" />
- {t("settings:gitlabIntegration.disconnect")}
- </Button>
- )}
- </div>
- </div>
- </form>
- </Form>
-
- {verificationResult && (
- <>
- <Separator />
- <div
- className={cn(
- "flex items-start gap-3 p-3 border rounded-md text-sm",
- verificationResult.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions
- ? "border-success/25 bg-success/10"
- : verificationResult.result.failureReason
- ? "border-destructive/25 bg-destructive/10"
- : "border-warning/25 bg-warning/10",
- )}
- >
- {verificationResult.result.isInstalled &&
- verificationResult.result.hasRequiredPermissions ? (
- <CheckCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-success-foreground" />
- ) : verificationResult.result.failureReason ? (
- <XCircle className="mt-0.5 h-4 w-4 flex-shrink-0 text-destructive-foreground" />
- ) : (
- <AlertTriangle className="mt-0.5 h-4 w-4 flex-shrink-0 text-warning-foreground" />
- )}
- <div className="flex-1">
- <p className="font-medium">
- {verificationResult.result.message}
- </p>
- </div>
- </div>
- </>
- )}
- </div>
-
- {isConnected && (
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:gitlabIntegration.importSectionTitle")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:gitlabIntegration.importSectionHint")}
- </p>
- </div>
- <Button
- onClick={handleImportIssues}
- disabled={isImporting || !canImport}
- className="gap-2"
- size="sm"
- variant="outline"
- >
- {isImporting ? (
- <RefreshCw className="size-3 animate-spin" />
- ) : (
- <Import className="size-3" />
- )}
- {isImporting
- ? t("settings:gitlabIntegration.importing")
- : t("settings:gitlabIntegration.importIssues")}
- </Button>
- </div>
- {!canImport && (
- <>
- <Separator />
- <p className="text-xs text-muted-foreground">
- {hasImportPermission
- ? t("settings:gitlabIntegration.importDisabledHint")
- : t("settings:gitlabIntegration.importPermissionHint")}
- </p>
- </>
- )}
- </div>
- )}
-
- <GitlabProjectBrowserModal
- open={showProjectBrowser}
- projectId={projectId}
- onOpenChange={setShowProjectBrowser}
- onSelectProject={handleProjectSelect}
- selectedProjectPath={projectPath || undefined}
- baseUrl={baseUrl}
- accessToken={accessToken}
- tokenType={tokenType}
- />
- </div>
- );
-}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-access.test.ts b/apps/web/src/components/project/gitlab-integration/gitlab-access.test.ts
new file mode 100644
index 000000000..340fa9cb8
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-access.test.ts
@@ -0,0 +1,31 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ gitlabAccessKey,
+ isValidProjectPath,
+ normalizeProjectPath,
+} from "./gitlab-access";
+
+describe("GitLab project paths", () => {
+ it("accepts nested groups and trims surrounding slashes", () => {
+ expect(normalizeProjectPath(" /group/sub/project/ ")).toBe(
+ "group/sub/project",
+ );
+ expect(isValidProjectPath("group/sub/project")).toBe(true);
+ expect(isValidProjectPath("project")).toBe(false);
+ expect(isValidProjectPath("group/pro ject")).toBe(false);
+ });
+});
+
+describe("gitlabAccessKey", () => {
+ it("changes with the token without containing it", () => {
+ const access = {
+ baseUrl: "https://gitlab.com",
+ tokenType: "private" as const,
+ projectPath: "group/project",
+ };
+ const first = gitlabAccessKey({ ...access, accessToken: "secret-one" });
+ const second = gitlabAccessKey({ ...access, accessToken: "secret-two" });
+ expect(first).not.toBe(second);
+ expect(first).not.toContain("secret-one");
+ });
+});
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-access.ts b/apps/web/src/components/project/gitlab-integration/gitlab-access.ts
new file mode 100644
index 000000000..cf78812ef
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-access.ts
@@ -0,0 +1,31 @@
+import { tokenFingerprint } from "@/lib/token-fingerprint";
+
+export type GitlabTokenType = "private" | "bearer";
+
+export const GITLAB_CLOUD_URL = "https://gitlab.com";
+
+const PROJECT_PATH_PATTERN = /^[a-zA-Z0-9._-]+(?:\/[a-zA-Z0-9._-]+)+$/;
+
+export type GitlabAccess = {
+ baseUrl: string;
+ accessToken?: string;
+ tokenType: GitlabTokenType;
+ projectPath: string;
+};
+
+export function normalizeProjectPath(value: string) {
+ return value.trim().replace(/^\/+|\/+$/g, "");
+}
+
+export function isValidProjectPath(value: string) {
+ return PROJECT_PATH_PATTERN.test(normalizeProjectPath(value));
+}
+
+export function gitlabAccessKey(access: GitlabAccess) {
+ return [
+ access.baseUrl,
+ access.tokenType,
+ access.projectPath,
+ access.accessToken ? tokenFingerprint(access.accessToken) : "stored",
+ ].join("|");
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-change-token.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-change-token.tsx
new file mode 100644
index 000000000..07f8d0996
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-change-token.tsx
@@ -0,0 +1,65 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { isAccessVerified } from "@/components/project/code-hosting/access-verification-tone";
+import { ChangeTokenForm } from "@/components/project/code-hosting/change-token-form";
+import type { GitlabTokenType } from "@/components/project/gitlab-integration/gitlab-access";
+import { GitlabTokenTypeSelect } from "@/components/project/gitlab-integration/gitlab-token-type-select";
+import { useGitlabVerification } from "@/components/project/gitlab-integration/use-gitlab-verification";
+import { useSaveGitlabIntegration } from "@/components/project/gitlab-integration/use-save-gitlab-integration";
+import type { GitlabIntegration } from "@/fetchers/gitlab-integration/get-gitlab-integration";
+
+type GitlabChangeTokenProps = {
+ projectId: string;
+ integration: GitlabIntegration;
+ onDone: () => void;
+};
+
+export function GitlabChangeToken({
+ projectId,
+ integration,
+ onDone,
+}: GitlabChangeTokenProps) {
+ const { t } = useTranslation();
+ const [token, setToken] = useState("");
+ const [tokenType, setTokenType] = useState<GitlabTokenType>(
+ integration.tokenType,
+ );
+ const trimmed = token.trim();
+ const access = trimmed
+ ? {
+ baseUrl: integration.baseUrl,
+ accessToken: trimmed,
+ tokenType,
+ projectPath: integration.projectPath,
+ }
+ : null;
+ const verification = useGitlabVerification(projectId, access);
+ const verified = isAccessVerified(verification.result);
+ const { save, saving } = useSaveGitlabIntegration(projectId);
+
+ return (
+ <ChangeTokenForm
+ token={token}
+ tokenLabel={t("settings:gitlabIntegration.tokenLabel")}
+ placeholder={t("settings:gitlabIntegration.tokenPlaceholderUpdate")}
+ fallbackError={t("settings:gitlabIntegration.toast.verifyError")}
+ extra={
+ <GitlabTokenTypeSelect
+ value={tokenType}
+ disabled={saving}
+ onChange={setTokenType}
+ />
+ }
+ verification={verification}
+ saving={saving}
+ canSave={
+ access !== null && (verification.result === undefined || verified)
+ }
+ onTokenChange={setToken}
+ onCancel={onDone}
+ onSave={async () => {
+ if (access && (await save(access, verified))) onDone();
+ }}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-connected-panel.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-connected-panel.tsx
new file mode 100644
index 000000000..439fa062c
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-connected-panel.tsx
@@ -0,0 +1,91 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { DisconnectIntegrationButton } from "@/components/project/code-hosting/disconnect-integration-button";
+import { WebhookSection } from "@/components/project/code-hosting/webhook-section";
+import { GitlabIssuesSection } from "@/components/project/gitlab-integration/gitlab-issues-section";
+import { GitlabRepositorySection } from "@/components/project/gitlab-integration/gitlab-repository-section";
+import { useSaveGitlabIntegration } from "@/components/project/gitlab-integration/use-save-gitlab-integration";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelFooter } from "@/components/project/integrations/panel/integration-panel-footer";
+import { SyncRulesSection } from "@/components/project/sync-rules/sync-rules-section";
+import type { GitlabIntegration } from "@/fetchers/gitlab-integration/get-gitlab-integration";
+import { useDeleteGitlabIntegration } from "@/hooks/mutations/gitlab-integration/use-create-gitlab-integration";
+import { toast } from "@/lib/toast";
+
+type GitlabConnectedPanelProps = {
+ projectId: string;
+ integration: GitlabIntegration;
+};
+
+export function GitlabConnectedPanel({
+ projectId,
+ integration,
+}: GitlabConnectedPanelProps) {
+ const { t } = useTranslation();
+ const [editingToken, setEditingToken] = useState(false);
+ const { save, saving } = useSaveGitlabIntegration(projectId);
+ const { mutateAsync: remove, isPending: isDeleting } =
+ useDeleteGitlabIntegration();
+
+ const disconnect = async () => {
+ try {
+ await remove(projectId);
+ toast.success(t("settings:gitlabIntegration.toast.removed"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:gitlabIntegration.toast.removeError"),
+ );
+ return false;
+ }
+ };
+
+ return (
+ <IntegrationPanel>
+ <GitlabRepositorySection
+ projectId={projectId}
+ integration={integration}
+ editingToken={editingToken}
+ reconnecting={saving}
+ onEditingTokenChange={setEditingToken}
+ onReconnect={() =>
+ void save(
+ {
+ baseUrl: integration.baseUrl,
+ tokenType: integration.tokenType,
+ projectPath: integration.projectPath,
+ },
+ false,
+ )
+ }
+ />
+ {integration.webhookUrl ? (
+ <WebhookSection
+ url={integration.webhookUrl}
+ secret={integration.webhookSecret}
+ description={t("settings:gitlabIntegration.webhookHint")}
+ events={t("settings:gitlabIntegration.webhookEvents")}
+ />
+ ) : null}
+ <GitlabIssuesSection
+ projectId={projectId}
+ isConnected={Boolean(integration.isActive)}
+ />
+ <SyncRulesSection
+ key={`${projectId}:gitlab`}
+ projectId={projectId}
+ provider="gitlab"
+ />
+ <IntegrationPanelFooter>
+ <DisconnectIntegrationButton
+ provider="GitLab"
+ target={integration.projectPath}
+ pending={isDeleting || saving}
+ onConfirm={disconnect}
+ />
+ </IntegrationPanelFooter>
+ </IntegrationPanel>
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-integration-settings.test.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-integration-settings.test.tsx
new file mode 100644
index 000000000..304d3d396
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-integration-settings.test.tsx
@@ -0,0 +1,206 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { GitlabIntegrationSettings } from "./gitlab-integration-settings";
+
+const m = vi.hoisted(() => ({
+ verify: vi.fn(),
+ create: vi.fn(),
+ importIssues: vi.fn(),
+ refetch: vi.fn(),
+ query: {
+ current: { data: null, isLoading: false, error: null } as Record<
+ string,
+ unknown
+ >,
+ },
+}));
+const saved = {
+ baseUrl: "https://gitlab.example",
+ projectPath: "group/sub/project",
+ tokenType: "private",
+ maskedAccessToken: "gl…yz",
+ isActive: true,
+};
+const permissions = vi.hoisted(() => ({ create: true, update: true }));
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({
+ canCreateTasks: () => permissions.create,
+ canUpdateTasks: () => permissions.update,
+ }),
+}));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock(
+ "@/hooks/queries/gitlab-integration/use-get-gitlab-integration",
+ () => ({
+ default: () => ({ ...m.query.current, refetch: m.refetch }),
+ }),
+);
+vi.mock(
+ "@/hooks/mutations/gitlab-integration/use-create-gitlab-integration",
+ () => ({
+ useVerifyGitlabAccess: () => ({ mutateAsync: m.verify, isPending: false }),
+ useCreateGitlabIntegration: () => ({
+ mutateAsync: m.create,
+ isPending: false,
+ }),
+ useDeleteGitlabIntegration: () => ({
+ mutateAsync: vi.fn(),
+ isPending: false,
+ }),
+ }),
+);
+vi.mock(
+ "@/hooks/mutations/gitlab-integration/use-update-gitlab-integration",
+ () => ({
+ useUpdateGitlabIntegration: () => ({ mutateAsync: vi.fn() }),
+ }),
+);
+vi.mock(
+ "@/hooks/mutations/gitlab-integration/use-import-gitlab-issues",
+ () => ({
+ default: () => ({ mutateAsync: m.importIssues }),
+ }),
+);
+vi.mock(
+ "@/components/project/gitlab-integration/gitlab-project-picker",
+ () => ({
+ GitlabProjectPicker: () => null,
+ }),
+);
+vi.mock("@/components/project/sync-rules/sync-rules-section", () => ({
+ SyncRulesSection: () => <p>Sync rules</p>,
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: vi.fn(), error: vi.fn(), warning: vi.fn() },
+}));
+
+afterEach(() => {
+ cleanup();
+ vi.clearAllMocks();
+});
+beforeEach(() => {
+ permissions.create = true;
+ permissions.update = true;
+ m.query.current = { data: null, isLoading: false, error: null };
+ m.verify.mockResolvedValue({
+ isInstalled: true,
+ hasRequiredPermissions: true,
+ message: "Token can access the project",
+ });
+});
+
+describe("GitLab setup", () => {
+ it("starts on GitLab.com and connects a verified project path", async () => {
+ m.create.mockResolvedValue({});
+ render(<GitlabIntegrationSettings projectId="project" />);
+ expect(
+ screen.getByLabelText("settings:gitlabIntegration.baseUrlLabel"),
+ ).toHaveValue("https://gitlab.com");
+ fireEvent.change(
+ screen.getByLabelText("settings:gitlabIntegration.tokenLabel"),
+ { target: { value: "token" } },
+ );
+ fireEvent.change(
+ screen.getByRole("textbox", {
+ name: "settings:gitlabIntegration.projectPathLabel",
+ }),
+ { target: { value: "/group/sub/project/" } },
+ );
+ await screen.findByText(
+ "Token can access the project",
+ {},
+ { timeout: 2000 },
+ );
+ expect(m.verify).toHaveBeenCalledWith({
+ projectId: "project",
+ baseUrl: "https://gitlab.com",
+ accessToken: "token",
+ tokenType: "private",
+ projectPath: "group/sub/project",
+ });
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:codeHosting.connectProject",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ projectId: "project",
+ data: {
+ baseUrl: "https://gitlab.com",
+ accessToken: "token",
+ tokenType: "private",
+ projectPath: "group/sub/project",
+ },
+ }),
+ );
+ });
+
+ it("offers a retry when the integration cannot be read", () => {
+ m.query.current = {
+ data: undefined,
+ isLoading: false,
+ error: new Error("Unavailable"),
+ };
+ render(<GitlabIntegrationSettings projectId="project" />);
+ expect(screen.getByText("Unavailable")).toBeInTheDocument();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:codeHosting.retry" }),
+ );
+ expect(m.refetch).toHaveBeenCalled();
+ });
+});
+
+describe("connected GitLab project", () => {
+ it("imports issues without asking for the token again", async () => {
+ m.query.current = { data: saved, isLoading: false, error: null };
+ m.importIssues.mockResolvedValue({});
+ render(<GitlabIntegrationSettings projectId="project" />);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:codeHosting.importIssues" }),
+ );
+ await waitFor(() => expect(m.importIssues).toHaveBeenCalledWith("project"));
+ expect(m.verify).not.toHaveBeenCalled();
+ });
+
+ it("reconnects a paused project with the stored token", async () => {
+ m.query.current = {
+ data: { ...saved, isActive: false },
+ isLoading: false,
+ error: null,
+ };
+ m.create.mockResolvedValue({});
+ render(<GitlabIntegrationSettings projectId="project" />);
+ expect(
+ screen.getByRole("button", { name: "settings:codeHosting.importIssues" }),
+ ).toBeDisabled();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:codeHosting.reconnect" }),
+ );
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ projectId: "project",
+ data: {
+ baseUrl: saved.baseUrl,
+ tokenType: "private",
+ projectPath: saved.projectPath,
+ },
+ }),
+ );
+ });
+});
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-integration-settings.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-integration-settings.tsx
new file mode 100644
index 000000000..9ee0e7d56
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-integration-settings.tsx
@@ -0,0 +1,31 @@
+import { CodeHostingLoadError } from "@/components/project/code-hosting/code-hosting-load-error";
+import { CodeHostingPanelSkeleton } from "@/components/project/code-hosting/code-hosting-panel-skeleton";
+import { GitlabConnectedPanel } from "@/components/project/gitlab-integration/gitlab-connected-panel";
+import { GitlabSetupPanel } from "@/components/project/gitlab-integration/gitlab-setup-panel";
+import useGetGitlabIntegration from "@/hooks/queries/gitlab-integration/use-get-gitlab-integration";
+
+type GitlabIntegrationSettingsProps = {
+ projectId: string;
+};
+
+export function GitlabIntegrationSettings({
+ projectId,
+}: GitlabIntegrationSettingsProps) {
+ const {
+ data: integration,
+ isLoading,
+ error,
+ refetch,
+ } = useGetGitlabIntegration(projectId);
+
+ if (isLoading) return <CodeHostingPanelSkeleton />;
+ if (error && !integration)
+ return (
+ <CodeHostingLoadError error={error} onRetry={() => void refetch()} />
+ );
+ if (!integration) return <GitlabSetupPanel projectId={projectId} />;
+
+ return (
+ <GitlabConnectedPanel projectId={projectId} integration={integration} />
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-issues-section.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-issues-section.tsx
new file mode 100644
index 000000000..66fc07d1d
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-issues-section.tsx
@@ -0,0 +1,52 @@
+import { useTranslation } from "react-i18next";
+import { ImportIssuesSection } from "@/components/project/code-hosting/import-issues-section";
+import useImportGitlabIssues from "@/hooks/mutations/gitlab-integration/use-import-gitlab-issues";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+import { toast } from "@/lib/toast";
+
+type GitlabIssuesSectionProps = {
+ projectId: string;
+ isConnected: boolean;
+};
+
+export function GitlabIssuesSection({
+ projectId,
+ isConnected,
+}: GitlabIssuesSectionProps) {
+ const { t } = useTranslation();
+ const { canCreateTasks, canUpdateTasks } = useWorkspacePermission();
+ const { mutateAsync: importIssues, isPending } = useImportGitlabIssues();
+ const hasImportPermission = canCreateTasks() && canUpdateTasks();
+ const canImport = hasImportPermission && isConnected;
+
+ const handleImport = async () => {
+ if (!canImport) return;
+ try {
+ await importIssues(projectId);
+ toast.success(t("settings:gitlabIntegration.toast.issuesImported"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:gitlabIntegration.toast.importError"),
+ );
+ }
+ };
+
+ return (
+ <ImportIssuesSection
+ description={t("settings:gitlabIntegration.importSectionHint")}
+ actionLabel={t("settings:codeHosting.importIssues")}
+ pending={isPending}
+ disabled={!canImport}
+ hint={
+ canImport
+ ? null
+ : hasImportPermission
+ ? t("settings:codeHosting.importNeedsReconnect")
+ : t("settings:gitlabIntegration.importPermissionHint")
+ }
+ onImport={handleImport}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-project-picker.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-project-picker.tsx
new file mode 100644
index 000000000..f7df7c6af
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-project-picker.tsx
@@ -0,0 +1,114 @@
+import { useQuery } from "@tanstack/react-query";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { filterByName } from "@/components/project/code-hosting/picker/filter-by-name";
+import { RepositoryPickerDialog } from "@/components/project/code-hosting/picker/repository-picker-dialog";
+import { RepositoryPickerSearch } from "@/components/project/code-hosting/picker/repository-picker-search";
+import type { GitlabTokenType } from "@/components/project/gitlab-integration/gitlab-access";
+import { GitlabProjectResults } from "@/components/project/gitlab-integration/gitlab-project-results";
+import listGitlabProjects, {
+ type ListGitlabProjectsResponse,
+} from "@/fetchers/gitlab-integration/list-gitlab-projects";
+import { tokenFingerprint } from "@/lib/token-fingerprint";
+
+type GitlabProject = ListGitlabProjectsResponse["projects"][number];
+
+type GitlabProjectPickerProps = {
+ open: boolean;
+ projectId: string;
+ onOpenChange: (open: boolean) => void;
+ onSelectProject: (projectPath: string) => void;
+ selectedProjectPath?: string;
+ baseUrl: string;
+ accessToken: string;
+ tokenType: GitlabTokenType;
+};
+
+export function GitlabProjectPicker({
+ open,
+ projectId,
+ onOpenChange,
+ onSelectProject,
+ selectedProjectPath,
+ baseUrl,
+ accessToken,
+ tokenType,
+}: GitlabProjectPickerProps) {
+ const { t } = useTranslation();
+ const [term, setTerm] = useState("");
+ const [selected, setSelected] = useState<GitlabProject | null>(null);
+ const canFetch =
+ open && baseUrl.trim().length > 0 && accessToken.trim().length > 0;
+
+ const { data, isLoading, error, refetch } = useQuery({
+ queryKey: [
+ "gitlab-projects",
+ projectId,
+ baseUrl,
+ tokenType,
+ tokenFingerprint(accessToken),
+ ],
+ queryFn: () =>
+ listGitlabProjects({ projectId, baseUrl, accessToken, tokenType }),
+ enabled: canFetch,
+ gcTime: 0,
+ });
+
+ const projects = filterByName(
+ data?.projects ?? [],
+ term,
+ (project) => project.path_with_namespace,
+ );
+ const chosen =
+ selected ??
+ data?.projects.find(
+ (project) => project.path_with_namespace === selectedProjectPath,
+ ) ??
+ null;
+
+ const changeOpen = (next: boolean) => {
+ if (!next) {
+ setTerm("");
+ setSelected(null);
+ }
+ onOpenChange(next);
+ };
+
+ const use = (project: GitlabProject | null) => {
+ if (!project) return;
+ onSelectProject(project.path_with_namespace);
+ changeOpen(false);
+ };
+
+ return (
+ <RepositoryPickerDialog
+ open={open}
+ onOpenChange={changeOpen}
+ title={t("settings:codeHosting.chooseProjectTitle")}
+ description={t("settings:gitlabIntegration.browseModalHint")}
+ search={
+ <RepositoryPickerSearch
+ value={term}
+ placeholder={t("settings:gitlabIntegration.searchProjects")}
+ onChange={setTerm}
+ />
+ }
+ confirmLabel={t("settings:gitlabIntegration.useProject")}
+ confirmDisabled={!chosen || !canFetch}
+ onConfirm={() => use(chosen)}
+ >
+ <GitlabProjectResults
+ canFetch={canFetch}
+ isLoading={isLoading}
+ error={canFetch ? error : null}
+ loaded={canFetch && Boolean(data)}
+ projects={projects}
+ searching={term.trim() !== ""}
+ selected={chosen?.path_with_namespace ?? null}
+ onSelect={setSelected}
+ onConfirm={use}
+ onRetry={() => void refetch()}
+ />
+ </RepositoryPickerDialog>
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-project-results.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-project-results.tsx
new file mode 100644
index 000000000..9f1fd22b7
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-project-results.tsx
@@ -0,0 +1,93 @@
+import { useTranslation } from "react-i18next";
+import { RepositoryPickerMessage } from "@/components/project/code-hosting/picker/repository-picker-message";
+import { RepositoryPickerRow } from "@/components/project/code-hosting/picker/repository-picker-row";
+import { RepositoryPickerSkeleton } from "@/components/project/code-hosting/picker/repository-picker-skeleton";
+import { Button } from "@/components/ui/button";
+import type { ListGitlabProjectsResponse } from "@/fetchers/gitlab-integration/list-gitlab-projects";
+
+type GitlabProject = ListGitlabProjectsResponse["projects"][number];
+
+type GitlabProjectResultsProps = {
+ canFetch: boolean;
+ isLoading: boolean;
+ error: unknown;
+ loaded: boolean;
+ projects: GitlabProject[];
+ searching: boolean;
+ selected: string | null;
+ onSelect: (project: GitlabProject) => void;
+ onConfirm: (project: GitlabProject) => void;
+ onRetry: () => void;
+};
+
+export function GitlabProjectResults({
+ canFetch,
+ isLoading,
+ error,
+ loaded,
+ projects,
+ searching,
+ selected,
+ onSelect,
+ onConfirm,
+ onRetry,
+}: GitlabProjectResultsProps) {
+ const { t } = useTranslation();
+
+ if (!canFetch) {
+ return (
+ <RepositoryPickerMessage
+ title={t("settings:gitlabIntegration.browseNeedsCredentials")}
+ />
+ );
+ }
+ if (isLoading) return <RepositoryPickerSkeleton />;
+ if (error) {
+ return (
+ <RepositoryPickerMessage
+ tone="destructive"
+ title={
+ error instanceof Error && error.message
+ ? error.message
+ : t("settings:gitlabIntegration.loadProjectsError")
+ }
+ action={
+ <Button type="button" variant="outline" size="sm" onClick={onRetry}>
+ {t("settings:codeHosting.retry")}
+ </Button>
+ }
+ />
+ );
+ }
+ if (!loaded) return null;
+ if (projects.length === 0) {
+ return (
+ <RepositoryPickerMessage
+ title={
+ searching
+ ? t("settings:gitlabIntegration.noSearchMatchTitle")
+ : t("settings:gitlabIntegration.browseEmpty")
+ }
+ description={
+ searching ? t("settings:repositoryBrowser.noSearchMatchHint") : null
+ }
+ />
+ );
+ }
+
+ return (
+ <ul className="space-y-0.5">
+ {projects.map((project) => (
+ <RepositoryPickerRow
+ key={project.id}
+ name={project.path_with_namespace}
+ isPrivate={project.visibility !== "public"}
+ meta={project.name_with_namespace}
+ selected={selected === project.path_with_namespace}
+ onSelect={() => onSelect(project)}
+ onConfirm={() => onConfirm(project)}
+ />
+ ))}
+ </ul>
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-repository-section.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-repository-section.tsx
new file mode 100644
index 000000000..2c717244d
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-repository-section.tsx
@@ -0,0 +1,105 @@
+import { useTranslation } from "react-i18next";
+import { CommentLinkRow } from "@/components/project/code-hosting/comment-link-row";
+import { RepositoryLink } from "@/components/project/code-hosting/repository-link";
+import { StoredTokenRow } from "@/components/project/code-hosting/stored-token-row";
+import { GitlabChangeToken } from "@/components/project/gitlab-integration/gitlab-change-token";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Button } from "@/components/ui/button";
+import type { GitlabIntegration } from "@/fetchers/gitlab-integration/get-gitlab-integration";
+import { useUpdateGitlabIntegration } from "@/hooks/mutations/gitlab-integration/use-update-gitlab-integration";
+import { toast } from "@/lib/toast";
+
+type GitlabRepositorySectionProps = {
+ projectId: string;
+ integration: GitlabIntegration;
+ editingToken: boolean;
+ reconnecting: boolean;
+ onEditingTokenChange: (editing: boolean) => void;
+ onReconnect: () => void;
+};
+
+export function GitlabRepositorySection({
+ projectId,
+ integration,
+ editingToken,
+ reconnecting,
+ onEditingTokenChange,
+ onReconnect,
+}: GitlabRepositorySectionProps) {
+ const { t } = useTranslation();
+ const { mutateAsync: update, isPending } = useUpdateGitlabIntegration();
+ const isConnected = Boolean(integration.isActive);
+ const href = `${integration.baseUrl.replace(/\/$/, "")}/${integration.projectPath}`;
+
+ const toggleComment = async (next: boolean) => {
+ try {
+ await update({
+ projectId,
+ json: { commentTaskLinkOnGitlabIssue: next },
+ });
+ toast.success(
+ next
+ ? t("settings:gitlabIntegration.toast.commentOnEnabled")
+ : t("settings:gitlabIntegration.toast.commentOnDisabled"),
+ );
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:gitlabIntegration.toast.settingsUpdateError"),
+ );
+ }
+ };
+
+ return (
+ <IntegrationPanelSection label={t("settings:codeHosting.projectSection")}>
+ <RepositoryLink
+ name={integration.projectPath}
+ href={href}
+ label={t("settings:gitlabIntegration.openInGitlab", {
+ project: integration.projectPath,
+ })}
+ />
+ {isConnected ? null : (
+ <IntegrationCheckLine
+ tone="warning"
+ action={
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ loading={reconnecting}
+ onClick={onReconnect}
+ >
+ {t("settings:codeHosting.reconnect")}
+ </Button>
+ }
+ >
+ {t("settings:codeHosting.pausedHint")}
+ </IntegrationCheckLine>
+ )}
+ {isConnected ? (
+ <CommentLinkRow
+ title={t("settings:gitlabIntegration.commentTaskLinkTitle")}
+ description={t("settings:gitlabIntegration.commentTaskLinkHint")}
+ checked={integration.commentTaskLinkOnGitlabIssue ?? true}
+ disabled={isPending}
+ onCheckedChange={toggleComment}
+ />
+ ) : null}
+ <StoredTokenRow
+ maskedToken={integration.maskedAccessToken}
+ editing={editingToken}
+ onEdit={() => onEditingTokenChange(true)}
+ />
+ {editingToken ? (
+ <GitlabChangeToken
+ projectId={projectId}
+ integration={integration}
+ onDone={() => onEditingTokenChange(false)}
+ />
+ ) : null}
+ </IntegrationPanelSection>
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-setup-panel.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-setup-panel.tsx
new file mode 100644
index 000000000..6bfe98df4
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-setup-panel.tsx
@@ -0,0 +1,136 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { AccessVerificationLine } from "@/components/project/code-hosting/access-verification-line";
+import { isAccessVerified } from "@/components/project/code-hosting/access-verification-tone";
+import { isValidUrl } from "@/components/project/code-hosting/is-valid-url";
+import { RepositoryChoiceStep } from "@/components/project/code-hosting/repository-choice-step";
+import {
+ GITLAB_CLOUD_URL,
+ type GitlabTokenType,
+ isValidProjectPath,
+ normalizeProjectPath,
+} from "@/components/project/gitlab-integration/gitlab-access";
+import { GitlabProjectPicker } from "@/components/project/gitlab-integration/gitlab-project-picker";
+import { GitlabSignInStep } from "@/components/project/gitlab-integration/gitlab-sign-in-step";
+import { useGitlabVerification } from "@/components/project/gitlab-integration/use-gitlab-verification";
+import { useSaveGitlabIntegration } from "@/components/project/gitlab-integration/use-save-gitlab-integration";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelFooter } from "@/components/project/integrations/panel/integration-panel-footer";
+import { IntegrationSteps } from "@/components/project/integrations/panel/integration-steps";
+import { Button } from "@/components/ui/button";
+
+type GitlabSetupPanelProps = {
+ projectId: string;
+};
+
+export function GitlabSetupPanel({ projectId }: GitlabSetupPanelProps) {
+ const { t } = useTranslation();
+ const [baseUrl, setBaseUrl] = useState(GITLAB_CLOUD_URL);
+ const [token, setToken] = useState("");
+ const [tokenType, setTokenType] = useState<GitlabTokenType>("private");
+ const [path, setPath] = useState("");
+ const [touched, setTouched] = useState({ baseUrl: false, path: false });
+ const [browsing, setBrowsing] = useState(false);
+ const { save, saving } = useSaveGitlabIntegration(projectId);
+
+ const trimmedUrl = baseUrl.trim();
+ const trimmedToken = token.trim();
+ const urlValid = isValidUrl(trimmedUrl);
+ const projectPath = normalizeProjectPath(path);
+ const pathValid = isValidProjectPath(path);
+ const access =
+ urlValid && pathValid && trimmedToken
+ ? {
+ baseUrl: trimmedUrl,
+ accessToken: trimmedToken,
+ tokenType,
+ projectPath,
+ }
+ : null;
+ const verification = useGitlabVerification(projectId, access);
+ const verified = isAccessVerified(verification.result);
+ const blocked = verification.result !== undefined && !verified;
+
+ const baseUrlError = !touched.baseUrl
+ ? null
+ : !trimmedUrl
+ ? t("settings:gitlabIntegration.validation.baseUrlRequired")
+ : urlValid
+ ? null
+ : t("settings:gitlabIntegration.validation.baseUrlInvalid");
+ const pathInvalid = touched.path && path.trim() !== "" && !pathValid;
+
+ return (
+ <>
+ <IntegrationPanel>
+ <IntegrationSteps>
+ <GitlabSignInStep
+ baseUrl={baseUrl}
+ token={token}
+ tokenType={tokenType}
+ baseUrlError={baseUrlError}
+ disabled={saving}
+ onBaseUrlChange={setBaseUrl}
+ onBaseUrlBlur={() =>
+ setTouched((current) => ({ ...current, baseUrl: true }))
+ }
+ onTokenChange={setToken}
+ onTokenTypeChange={setTokenType}
+ />
+ <RepositoryChoiceStep
+ title={t("settings:codeHosting.chooseProjectTitle")}
+ description={t(
+ "settings:gitlabIntegration.chooseProjectDescription",
+ )}
+ inputLabel={t("settings:gitlabIntegration.projectPathLabel")}
+ placeholder="group/subgroup/project"
+ value={path}
+ invalidMessage={
+ pathInvalid
+ ? t("settings:gitlabIntegration.validation.pathInvalid")
+ : null
+ }
+ disabled={saving}
+ browseDisabled={!trimmedUrl || !trimmedToken}
+ status={
+ <AccessVerificationLine
+ {...verification}
+ fallbackError={t(
+ "settings:gitlabIntegration.toast.verifyError",
+ )}
+ />
+ }
+ onChange={setPath}
+ onBlur={() => setTouched((current) => ({ ...current, path: true }))}
+ onBrowse={() => setBrowsing(true)}
+ />
+ </IntegrationSteps>
+ <IntegrationPanelFooter>
+ <Button
+ type="button"
+ loading={saving}
+ disabled={!access || blocked}
+ onClick={() => {
+ if (access) void save(access, verified);
+ }}
+ >
+ {t("settings:codeHosting.connectProject")}
+ </Button>
+ </IntegrationPanelFooter>
+ </IntegrationPanel>
+ <GitlabProjectPicker
+ open={browsing}
+ projectId={projectId}
+ onOpenChange={setBrowsing}
+ onSelectProject={(selected) => {
+ setPath(selected);
+ setTouched((current) => ({ ...current, path: true }));
+ }}
+ selectedProjectPath={projectPath || undefined}
+ baseUrl={trimmedUrl}
+ accessToken={trimmedToken}
+ tokenType={tokenType}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-sign-in-step.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-sign-in-step.tsx
new file mode 100644
index 000000000..7572d5ad0
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-sign-in-step.tsx
@@ -0,0 +1,91 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { SetupField } from "@/components/project/code-hosting/setup-field";
+import {
+ GITLAB_CLOUD_URL,
+ type GitlabTokenType,
+} from "@/components/project/gitlab-integration/gitlab-access";
+import { GitlabTokenTypeSelect } from "@/components/project/gitlab-integration/gitlab-token-type-select";
+import { IntegrationStep } from "@/components/project/integrations/panel/integration-step";
+import { Input } from "@/components/ui/input";
+
+type GitlabSignInStepProps = {
+ baseUrl: string;
+ token: string;
+ tokenType: GitlabTokenType;
+ baseUrlError: string | null;
+ disabled: boolean;
+ onBaseUrlChange: (value: string) => void;
+ onBaseUrlBlur: () => void;
+ onTokenChange: (value: string) => void;
+ onTokenTypeChange: (value: GitlabTokenType) => void;
+};
+
+export function GitlabSignInStep({
+ baseUrl,
+ token,
+ tokenType,
+ baseUrlError,
+ disabled,
+ onBaseUrlChange,
+ onBaseUrlBlur,
+ onTokenChange,
+ onTokenTypeChange,
+}: GitlabSignInStepProps) {
+ const { t } = useTranslation();
+ const id = useId();
+
+ return (
+ <IntegrationStep
+ number={1}
+ title={t("settings:codeHosting.signInTitle")}
+ description={t("settings:codeHosting.signInDescription")}
+ >
+ <div className="grid gap-3 sm:grid-cols-2">
+ <SetupField
+ label={t("settings:gitlabIntegration.baseUrlLabel")}
+ htmlFor={`${id}-url`}
+ error={baseUrlError}
+ >
+ <Input
+ id={`${id}-url`}
+ type="url"
+ placeholder={GITLAB_CLOUD_URL}
+ autoComplete="off"
+ value={baseUrl}
+ disabled={disabled}
+ aria-invalid={baseUrlError ? true : undefined}
+ aria-describedby={baseUrlError ? `${id}-url-error` : undefined}
+ onChange={(event) => onBaseUrlChange(event.target.value)}
+ onBlur={onBaseUrlBlur}
+ />
+ </SetupField>
+ <SetupField
+ label={t("settings:gitlabIntegration.tokenTypeLabel")}
+ htmlFor={`${id}-type`}
+ >
+ <GitlabTokenTypeSelect
+ id={`${id}-type`}
+ value={tokenType}
+ disabled={disabled}
+ onChange={onTokenTypeChange}
+ />
+ </SetupField>
+ </div>
+ <SetupField
+ label={t("settings:gitlabIntegration.tokenLabel")}
+ htmlFor={`${id}-token`}
+ >
+ <Input
+ id={`${id}-token`}
+ type="password"
+ autoComplete="off"
+ placeholder={t("settings:gitlabIntegration.tokenPlaceholder")}
+ value={token}
+ disabled={disabled}
+ onChange={(event) => onTokenChange(event.target.value)}
+ />
+ </SetupField>
+ </IntegrationStep>
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/gitlab-token-type-select.tsx b/apps/web/src/components/project/gitlab-integration/gitlab-token-type-select.tsx
new file mode 100644
index 000000000..a5a17a606
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/gitlab-token-type-select.tsx
@@ -0,0 +1,51 @@
+import { useTranslation } from "react-i18next";
+import type { GitlabTokenType } from "@/components/project/gitlab-integration/gitlab-access";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+
+type GitlabTokenTypeSelectProps = {
+ id?: string;
+ value: GitlabTokenType;
+ disabled?: boolean;
+ onChange: (value: GitlabTokenType) => void;
+};
+
+export function GitlabTokenTypeSelect({
+ id,
+ value,
+ disabled = false,
+ onChange,
+}: GitlabTokenTypeSelectProps) {
+ const { t } = useTranslation();
+ const label = (type: GitlabTokenType) =>
+ type === "bearer"
+ ? t("settings:gitlabIntegration.tokenTypeBearer")
+ : t("settings:gitlabIntegration.tokenTypePrivate");
+
+ return (
+ <Select
+ value={value}
+ disabled={disabled}
+ onValueChange={(next) => {
+ if (next === "private" || next === "bearer") onChange(next);
+ }}
+ >
+ <SelectTrigger
+ id={id}
+ className="w-full"
+ aria-label={t("settings:gitlabIntegration.tokenTypeLabel")}
+ >
+ <SelectValue>{label(value)}</SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ <SelectItem value="private">{label("private")}</SelectItem>
+ <SelectItem value="bearer">{label("bearer")}</SelectItem>
+ </SelectContent>
+ </Select>
+ );
+}
diff --git a/apps/web/src/components/project/gitlab-integration/use-gitlab-verification.ts b/apps/web/src/components/project/gitlab-integration/use-gitlab-verification.ts
new file mode 100644
index 000000000..04a065e4d
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/use-gitlab-verification.ts
@@ -0,0 +1,24 @@
+import { useDebouncedCheck } from "@/components/project/code-hosting/use-debounced-check";
+import {
+ type GitlabAccess,
+ gitlabAccessKey,
+} from "@/components/project/gitlab-integration/gitlab-access";
+import { useVerifyGitlabAccess } from "@/hooks/mutations/gitlab-integration/use-create-gitlab-integration";
+
+export function useGitlabVerification(
+ projectId: string,
+ access: (GitlabAccess & { accessToken: string }) | null,
+) {
+ const { mutateAsync: verify } = useVerifyGitlabAccess();
+
+ return useDebouncedCheck(access ? gitlabAccessKey(access) : null, () => {
+ if (!access) throw new Error("Missing GitLab access");
+ return verify({
+ projectId,
+ baseUrl: access.baseUrl,
+ accessToken: access.accessToken,
+ tokenType: access.tokenType,
+ projectPath: access.projectPath,
+ });
+ });
+}
diff --git a/apps/web/src/components/project/gitlab-integration/use-save-gitlab-integration.ts b/apps/web/src/components/project/gitlab-integration/use-save-gitlab-integration.ts
new file mode 100644
index 000000000..3f51cb3c8
--- /dev/null
+++ b/apps/web/src/components/project/gitlab-integration/use-save-gitlab-integration.ts
@@ -0,0 +1,54 @@
+import { useTranslation } from "react-i18next";
+import { isAccessVerified } from "@/components/project/code-hosting/access-verification-tone";
+import type { GitlabAccess } from "@/components/project/gitlab-integration/gitlab-access";
+import {
+ useCreateGitlabIntegration,
+ useVerifyGitlabAccess,
+} from "@/hooks/mutations/gitlab-integration/use-create-gitlab-integration";
+import { toast } from "@/lib/toast";
+
+export function useSaveGitlabIntegration(projectId: string) {
+ const { t } = useTranslation();
+ const { mutateAsync: verify, isPending: isVerifying } =
+ useVerifyGitlabAccess();
+ const { mutateAsync: create, isPending: isCreating } =
+ useCreateGitlabIntegration();
+
+ const save = async (access: GitlabAccess, alreadyVerified: boolean) => {
+ try {
+ if (access.accessToken && !alreadyVerified) {
+ const verification = await verify({
+ projectId,
+ baseUrl: access.baseUrl,
+ accessToken: access.accessToken,
+ tokenType: access.tokenType,
+ projectPath: access.projectPath,
+ });
+ if (!isAccessVerified(verification)) {
+ toast.error(t("settings:gitlabIntegration.toast.verifyFirst"));
+ return false;
+ }
+ }
+ await create({
+ projectId,
+ data: {
+ baseUrl: access.baseUrl,
+ ...(access.accessToken ? { accessToken: access.accessToken } : {}),
+ tokenType: access.tokenType,
+ projectPath: access.projectPath,
+ },
+ });
+ toast.success(t("settings:gitlabIntegration.toast.updated"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:gitlabIntegration.toast.updateError"),
+ );
+ return false;
+ }
+ };
+
+ return { save, saving: isVerifying || isCreating };
+}
diff --git a/apps/web/src/components/project/gitlab-project-browser-modal.tsx b/apps/web/src/components/project/gitlab-project-browser-modal.tsx
deleted file mode 100644
index 16f151f08..000000000
--- a/apps/web/src/components/project/gitlab-project-browser-modal.tsx
+++ /dev/null
@@ -1,186 +0,0 @@
-import { useQuery } from "@tanstack/react-query";
-import { ExternalLink, GitBranch, Lock, Search } from "lucide-react";
-import React from "react";
-import { useTranslation } from "react-i18next";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Dialog,
- DialogContent,
- DialogDescription,
- DialogHeader,
- DialogTitle,
-} from "@/components/ui/dialog";
-import { Input } from "@/components/ui/input";
-import listGitlabProjects, {
- type ListGitlabProjectsResponse,
-} from "@/fetchers/gitlab-integration/list-gitlab-projects";
-import { cn } from "@/lib/cn";
-import { tokenFingerprint } from "@/lib/token-fingerprint";
-
-type GitlabProjectBrowserModalProps = {
- open: boolean;
- projectId: string;
- onOpenChange: (open: boolean) => void;
- onSelectProject: (projectPath: string) => void;
- selectedProjectPath?: string;
- baseUrl: string;
- accessToken: string;
- tokenType: "private" | "bearer";
-};
-
-export function GitlabProjectBrowserModal({
- open,
- projectId,
- onOpenChange,
- onSelectProject,
- selectedProjectPath,
- baseUrl,
- accessToken,
- tokenType,
-}: GitlabProjectBrowserModalProps) {
- const { t } = useTranslation();
- const [searchTerm, setSearchTerm] = React.useState("");
-
- const canFetch =
- open && baseUrl.trim().length > 0 && accessToken.trim().length > 0;
-
- const { data, isLoading, error, refetch } = useQuery({
- queryKey: [
- "gitlab-projects",
- projectId,
- baseUrl,
- tokenType,
- tokenFingerprint(accessToken),
- ],
- queryFn: () =>
- listGitlabProjects({ projectId, baseUrl, accessToken, tokenType }),
- enabled: canFetch,
- gcTime: 0,
- });
-
- const filteredProjects = React.useMemo(() => {
- if (!data?.projects) return [];
-
- if (!searchTerm) return data.projects;
-
- const search = searchTerm.toLowerCase();
- return data.projects.filter((project) =>
- project.path_with_namespace.toLowerCase().includes(search),
- );
- }, [data?.projects, searchTerm]);
-
- const handleSelectProject = (
- project: ListGitlabProjectsResponse["projects"][number],
- ) => {
- onSelectProject(project.path_with_namespace);
- resetAndCloseModal(false);
- };
-
- const resetAndCloseModal = (next: boolean) => {
- if (!next) {
- setSearchTerm("");
- }
- onOpenChange(next);
- };
-
- return (
- <Dialog open={open} onOpenChange={resetAndCloseModal}>
- <DialogContent className="!max-w-2xl max-h-[85vh] p-0 gap-0 flex flex-col">
- <DialogHeader className="px-6 pt-6 pb-4">
- <DialogTitle className="flex items-center gap-2">
- <GitBranch className="size-5" />
- {t("settings:gitlabIntegration.browseModalTitle")}
- </DialogTitle>
- <DialogDescription>
- {t("settings:gitlabIntegration.browseModalHint")}
- </DialogDescription>
- </DialogHeader>
-
- <div className="px-6 pb-4">
- <div className="relative">
- <Search className="absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground" />
- <Input
- className="pl-9"
- placeholder={t("settings:gitlabIntegration.searchProjects")}
- value={searchTerm}
- onChange={(e) => setSearchTerm(e.target.value)}
- />
- </div>
- </div>
-
- <div className="flex-1 overflow-y-auto border-t border-border px-6 py-2">
- {!canFetch && (
- <p className="text-sm text-muted-foreground py-8 text-center">
- {t("settings:gitlabIntegration.browseNeedsCredentials")}
- </p>
- )}
- {canFetch && isLoading && (
- <p className="text-sm text-muted-foreground py-8 text-center">
- {t("settings:gitlabIntegration.loadingProjects")}
- </p>
- )}
- {canFetch && error && (
- <div className="py-6 text-center space-y-2">
- <p className="text-sm text-destructive">
- {error instanceof Error
- ? error.message
- : t("settings:gitlabIntegration.loadProjectsError")}
- </p>
- <Button
- type="button"
- variant="outline"
- size="sm"
- onClick={() => refetch()}
- >
- {t("settings:gitlabIntegration.retry")}
- </Button>
- </div>
- )}
- {canFetch && data && (
- <ul className="space-y-1">
- {filteredProjects.map((project) => (
- <li key={project.id}>
- <div className="flex items-center gap-2">
- <button
- type="button"
- onClick={() => handleSelectProject(project)}
- className={cn(
- "flex-1 flex items-center justify-between gap-3 rounded-md px-3 py-2 text-left text-sm hover:bg-muted/80 transition-colors",
- selectedProjectPath === project.path_with_namespace &&
- "bg-muted",
- )}
- >
- <span className="font-medium truncate">
- {project.path_with_namespace}
- </span>
- <div className="flex items-center gap-2 shrink-0">
- {project.visibility !== "public" ? (
- <Lock className="size-3.5 text-muted-foreground" />
- ) : null}
- <Badge variant="secondary" className="text-xs">
- {project.visibility}
- </Badge>
- </div>
- </button>
- <a
- href={project.web_url}
- target="_blank"
- rel="noopener noreferrer"
- aria-label={t("settings:gitlabIntegration.openInGitlab", {
- project: project.path_with_namespace,
- })}
- className="rounded-md p-2 text-primary hover:bg-muted/80 transition-colors"
- >
- <ExternalLink className="size-3.5" />
- </a>
- </div>
- </li>
- ))}
- </ul>
- )}
- </div>
- </DialogContent>
- </Dialog>
- );
-}
diff --git a/apps/web/src/components/project/inline-name-input.tsx b/apps/web/src/components/project/inline-name-input.tsx
new file mode 100644
index 000000000..91f6f15fa
--- /dev/null
+++ b/apps/web/src/components/project/inline-name-input.tsx
@@ -0,0 +1,68 @@
+import { type KeyboardEvent, useRef, useState } from "react";
+import { cn } from "@/lib/cn";
+
+type InlineNameInputProps = {
+ name: string;
+ label: string;
+ readOnly?: boolean;
+ className?: string;
+ onRename: (name: string) => Promise<boolean> | boolean;
+};
+
+export function InlineNameInput({
+ name,
+ label,
+ readOnly = false,
+ className,
+ onRename,
+}: InlineNameInputProps) {
+ const [draft, setDraft] = useState(name);
+ const [syncedName, setSyncedName] = useState(name);
+ const cancelled = useRef(false);
+
+ if (name !== syncedName) {
+ setSyncedName(name);
+ setDraft(name);
+ }
+
+ const commit = async () => {
+ const trimmed = draft.trim();
+ if (cancelled.current || !trimmed || trimmed === name) {
+ cancelled.current = false;
+ setDraft(name);
+ return;
+ }
+
+ setDraft(trimmed);
+ if (!(await onRename(trimmed))) setDraft(name);
+ };
+
+ const handleKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {
+ if (event.key === "Enter") {
+ event.preventDefault();
+ event.currentTarget.blur();
+ }
+ if (event.key === "Escape") {
+ event.preventDefault();
+ cancelled.current = true;
+ event.currentTarget.blur();
+ }
+ };
+
+ return (
+ <input
+ value={draft}
+ aria-label={label}
+ readOnly={readOnly}
+ onChange={(event) => setDraft(event.target.value)}
+ onBlur={() => void commit()}
+ onKeyDown={handleKeyDown}
+ className={cn(
+ "-ml-2 h-7.5 min-w-0 flex-1 rounded-md border border-transparent bg-transparent px-2 text-sm text-foreground outline-none transition-[border-color,box-shadow]",
+ !readOnly &&
+ "hover:border-input focus-visible:border-ring focus-visible:bg-background focus-visible:ring-[3px] focus-visible:ring-ring/24 dark:focus-visible:bg-input/32",
+ className,
+ )}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/integrations/chat-webhook/build-chat-webhook-request.test.ts b/apps/web/src/components/project/integrations/chat-webhook/build-chat-webhook-request.test.ts
new file mode 100644
index 000000000..888c27269
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/build-chat-webhook-request.test.ts
@@ -0,0 +1,80 @@
+import { describe, expect, it } from "vite-plus/test";
+import { buildChatWebhookRequest } from "./build-chat-webhook-request";
+import { toChatEvents } from "./chat-events";
+
+const slack = {
+ webhookUrlPattern: /^https:\/\/hooks\.slack\.com\/services\/\w+\/\w+\/\w+$/,
+ emptyChannelName: undefined,
+};
+const mattermost = {
+ webhookUrlPattern: /^https:\/\/.+/,
+ emptyChannelName: null,
+};
+const slackUrl = "https://hooks.slack.com/services/T000/B000/XXXX";
+const events = toChatEvents();
+
+describe("buildChatWebhookRequest", () => {
+ it("requires a valid webhook URL before connecting", () => {
+ expect(
+ buildChatWebhookRequest(
+ { webhookUrl: "", channelName: "", events },
+ false,
+ slack,
+ ),
+ ).toEqual({ kind: "invalid" });
+ expect(
+ buildChatWebhookRequest(
+ { webhookUrl: "https://example.com/hook", channelName: "", events },
+ false,
+ slack,
+ ),
+ ).toEqual({ kind: "invalid" });
+ });
+
+ it("creates with trimmed values and drops an empty channel", () => {
+ expect(
+ buildChatWebhookRequest(
+ { webhookUrl: ` ${slackUrl} `, channelName: " ", events },
+ false,
+ slack,
+ ),
+ ).toEqual({
+ kind: "create",
+ data: { webhookUrl: slackUrl, channelName: undefined, events },
+ });
+ });
+
+ it("keeps the saved URL when the field is left empty", () => {
+ expect(
+ buildChatWebhookRequest(
+ { webhookUrl: "", channelName: "#launch", events },
+ true,
+ slack,
+ ),
+ ).toEqual({
+ kind: "update",
+ json: { webhookUrl: undefined, channelName: "#launch", events },
+ });
+ });
+
+ it("rejects a replacement URL that does not match the provider", () => {
+ expect(
+ buildChatWebhookRequest(
+ { webhookUrl: "https://example.com/hook", channelName: "", events },
+ true,
+ slack,
+ ),
+ ).toEqual({ kind: "invalid" });
+ });
+
+ it("uses the provider value for a cleared channel", () => {
+ const values = { webhookUrl: "", channelName: "", events };
+
+ expect(buildChatWebhookRequest(values, true, slack)).toMatchObject({
+ json: { channelName: undefined },
+ });
+ expect(buildChatWebhookRequest(values, true, mattermost)).toMatchObject({
+ json: { channelName: null },
+ });
+ });
+});
diff --git a/apps/web/src/components/project/integrations/chat-webhook/build-chat-webhook-request.ts b/apps/web/src/components/project/integrations/chat-webhook/build-chat-webhook-request.ts
new file mode 100644
index 000000000..c80197339
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/build-chat-webhook-request.ts
@@ -0,0 +1,53 @@
+import type { ChatWebhookFormValues } from "./chat-webhook-form-values";
+import type {
+ ChatWebhookCreateRequest,
+ ChatWebhookProvider,
+ ChatWebhookUpdateRequest,
+} from "./chat-webhook-provider";
+import { isValidChatWebhookUrl } from "./is-valid-chat-webhook-url";
+
+export type ChatWebhookRequest =
+ | { kind: "invalid" }
+ | { kind: "create"; data: ChatWebhookCreateRequest }
+ | { kind: "update"; json: ChatWebhookUpdateRequest };
+
+export function buildChatWebhookRequest(
+ values: ChatWebhookFormValues,
+ connected: boolean,
+ provider: Pick<ChatWebhookProvider, "webhookUrlPattern" | "emptyChannelName">,
+): ChatWebhookRequest {
+ const webhookUrl = values.webhookUrl.trim();
+ const channelName = values.channelName.trim();
+ const validUrl = isValidChatWebhookUrl(
+ webhookUrl,
+ provider.webhookUrlPattern,
+ );
+
+ if (!connected) {
+ if (!validUrl) {
+ return { kind: "invalid" };
+ }
+
+ return {
+ kind: "create",
+ data: {
+ webhookUrl,
+ channelName: channelName || undefined,
+ events: values.events,
+ },
+ };
+ }
+
+ if (webhookUrl && !validUrl) {
+ return { kind: "invalid" };
+ }
+
+ return {
+ kind: "update",
+ json: {
+ webhookUrl: webhookUrl || undefined,
+ channelName: channelName || provider.emptyChannelName,
+ events: values.events,
+ },
+ };
+}
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-events.ts b/apps/web/src/components/project/integrations/chat-webhook/chat-events.ts
new file mode 100644
index 000000000..fb3334fef
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-events.ts
@@ -0,0 +1,48 @@
+import type { EventChecklistItem } from "@/components/project/integrations/event-checklist/event-checklist-item";
+
+export type ChatEvents = {
+ taskCreated: boolean;
+ taskStatusChanged: boolean;
+ taskPriorityChanged: boolean;
+ taskTitleChanged: boolean;
+ taskDescriptionChanged: boolean;
+ taskCommentCreated: boolean;
+};
+
+export const CHAT_EVENT_ITEMS: EventChecklistItem<keyof ChatEvents>[] = [
+ {
+ id: "taskCreated",
+ labelKey: "settings:chatIntegrations.events.taskCreated",
+ },
+ {
+ id: "taskStatusChanged",
+ labelKey: "settings:chatIntegrations.events.taskStatusChanged",
+ },
+ {
+ id: "taskPriorityChanged",
+ labelKey: "settings:chatIntegrations.events.taskPriorityChanged",
+ },
+ {
+ id: "taskTitleChanged",
+ labelKey: "settings:chatIntegrations.events.taskTitleChanged",
+ },
+ {
+ id: "taskDescriptionChanged",
+ labelKey: "settings:chatIntegrations.events.taskDescriptionChanged",
+ },
+ {
+ id: "taskCommentCreated",
+ labelKey: "settings:chatIntegrations.events.taskCommentCreated",
+ },
+];
+
+export function toChatEvents(events?: Partial<ChatEvents> | null): ChatEvents {
+ return {
+ taskCreated: events?.taskCreated ?? true,
+ taskStatusChanged: events?.taskStatusChanged ?? true,
+ taskPriorityChanged: events?.taskPriorityChanged ?? false,
+ taskTitleChanged: events?.taskTitleChanged ?? false,
+ taskDescriptionChanged: events?.taskDescriptionChanged ?? false,
+ taskCommentCreated: events?.taskCommentCreated ?? true,
+ };
+}
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-fields.tsx b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-fields.tsx
new file mode 100644
index 000000000..49bdf9c45
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-fields.tsx
@@ -0,0 +1,85 @@
+import type { Control } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { OptionalMarker } from "@/components/project/integrations/delivery-panel/optional-marker";
+import { SavedValueInput } from "@/components/project/integrations/delivery-panel/saved-value-input";
+import {
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import type { ChatWebhookFormValues } from "./chat-webhook-form-values";
+import type { ChatWebhookProvider } from "./chat-webhook-provider";
+
+type ChatWebhookFieldsProps = {
+ control: Control<ChatWebhookFormValues>;
+ provider: ChatWebhookProvider;
+ connected: boolean;
+};
+
+export function ChatWebhookFields({
+ control,
+ provider,
+ connected,
+}: ChatWebhookFieldsProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="grid gap-3 sm:grid-cols-3">
+ <FormField
+ control={control}
+ name="webhookUrl"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5 sm:col-span-2">
+ <FormLabel>
+ {t("settings:chatIntegrations.webhookUrlLabel")}
+ </FormLabel>
+ <SavedValueInput
+ {...field}
+ autoComplete="off"
+ placeholder={
+ connected
+ ? t("settings:chatIntegrations.savedUrlPlaceholder")
+ : t(provider.keys.webhookPlaceholder)
+ }
+ saved={connected && !field.value}
+ type="url"
+ />
+ {connected ? null : (
+ <FormDescription className="text-xs">
+ {t(provider.keys.webhookHint)}
+ </FormDescription>
+ )}
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="channelName"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5">
+ <FormLabel>
+ {t("settings:chatIntegrations.channelLabel")} <OptionalMarker />
+ </FormLabel>
+ <FormControl>
+ <Input
+ {...field}
+ placeholder={t("settings:chatIntegrations.channelPlaceholder")}
+ />
+ </FormControl>
+ {connected ? null : (
+ <FormDescription className="text-xs">
+ {t("settings:chatIntegrations.channelHint")}
+ </FormDescription>
+ )}
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-form-values.ts b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-form-values.ts
new file mode 100644
index 000000000..ea6575eb9
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-form-values.ts
@@ -0,0 +1,32 @@
+import { z } from "zod/v4";
+import { type ChatEvents, toChatEvents } from "./chat-events";
+import type { ChatWebhookIntegration } from "./chat-webhook-provider";
+
+export type ChatWebhookFormValues = {
+ webhookUrl: string;
+ channelName: string;
+ events: ChatEvents;
+};
+
+export const chatWebhookFormSchema = z.object({
+ webhookUrl: z.string(),
+ channelName: z.string(),
+ events: z.object({
+ taskCreated: z.boolean(),
+ taskStatusChanged: z.boolean(),
+ taskPriorityChanged: z.boolean(),
+ taskTitleChanged: z.boolean(),
+ taskDescriptionChanged: z.boolean(),
+ taskCommentCreated: z.boolean(),
+ }),
+});
+
+export function toChatWebhookFormValues(
+ integration: ChatWebhookIntegration | undefined,
+): ChatWebhookFormValues {
+ return {
+ webhookUrl: "",
+ channelName: integration?.channelName ?? "",
+ events: toChatEvents(integration?.events),
+ };
+}
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-provider.ts b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-provider.ts
new file mode 100644
index 000000000..bb818483b
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-provider.ts
@@ -0,0 +1,59 @@
+import type { ChatEvents } from "./chat-events";
+
+export type ChatWebhookIntegration = {
+ id: string;
+ channelName: string | null;
+ webhookConfigured: boolean;
+ events: ChatEvents;
+ isActive: boolean | null;
+} | null;
+
+export type ChatWebhookCreateRequest = {
+ webhookUrl: string;
+ channelName?: string;
+ events?: Partial<ChatEvents>;
+};
+
+export type ChatWebhookUpdateRequest = {
+ webhookUrl?: string;
+ channelName?: string | null;
+ isActive?: boolean;
+ events?: Partial<ChatEvents>;
+};
+
+type ChatWebhookMutation<TVariables> = {
+ mutateAsync: (variables: TVariables) => Promise<unknown>;
+ isPending: boolean;
+};
+
+export type ChatWebhookProvider = {
+ name: string;
+ webhookUrlPattern: RegExp;
+ emptyChannelName: null | undefined;
+ keys: {
+ webhookPlaceholder: string;
+ webhookHint: string;
+ webhookInvalid: string;
+ connect: string;
+ saved: string;
+ saveError: string;
+ enabled: string;
+ disabled: string;
+ updateError: string;
+ removed: string;
+ removeError: string;
+ };
+ useIntegration: (projectId: string) => {
+ data: ChatWebhookIntegration | undefined;
+ isLoading: boolean;
+ };
+ useCreateIntegration: () => ChatWebhookMutation<{
+ projectId: string;
+ data: ChatWebhookCreateRequest;
+ }>;
+ useUpdateIntegration: () => ChatWebhookMutation<{
+ projectId: string;
+ json: ChatWebhookUpdateRequest;
+ }>;
+ useDeleteIntegration: () => ChatWebhookMutation<string>;
+};
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-providers.test.ts b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-providers.test.ts
new file mode 100644
index 000000000..ab4cb9e4a
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-providers.test.ts
@@ -0,0 +1,64 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ discordChatProvider,
+ mattermostChatProvider,
+ slackChatProvider,
+} from "./chat-webhook-providers";
+import { isValidChatWebhookUrl } from "./is-valid-chat-webhook-url";
+
+describe("chat webhook providers", () => {
+ it.each([
+ {
+ provider: slackChatProvider,
+ valid: "https://hooks.slack.com/services/T000/B000/XXXX",
+ invalid: "https://discord.com/api/webhooks/1/abc",
+ },
+ {
+ provider: discordChatProvider,
+ valid: "https://discord.com/api/webhooks/123/abc-DEF",
+ invalid: "https://hooks.slack.com/services/T000/B000/XXXX",
+ },
+ {
+ provider: mattermostChatProvider,
+ valid: "https://chat.example.com/hooks/abc",
+ invalid: "http://chat.example.com/hooks/abc",
+ },
+ ])(
+ "validates $provider.name webhook URLs",
+ ({ provider, valid, invalid }) => {
+ expect(isValidChatWebhookUrl(valid, provider.webhookUrlPattern)).toBe(
+ true,
+ );
+ expect(isValidChatWebhookUrl(invalid, provider.webhookUrlPattern)).toBe(
+ false,
+ );
+ },
+ );
+
+ it("accepts the legacy discordapp.com host", () => {
+ expect(
+ isValidChatWebhookUrl(
+ "https://discordapp.com/api/webhooks/123/abc",
+ discordChatProvider.webhookUrlPattern,
+ ),
+ ).toBe(true);
+ });
+
+ it("only clears the Mattermost channel with null", () => {
+ expect(slackChatProvider.emptyChannelName).toBeUndefined();
+ expect(discordChatProvider.emptyChannelName).toBeUndefined();
+ expect(mattermostChatProvider.emptyChannelName).toBeNull();
+ });
+
+ it("points every provider at its own copy", () => {
+ for (const [provider, namespace] of [
+ [slackChatProvider, "slackIntegration"],
+ [discordChatProvider, "discordIntegration"],
+ [mattermostChatProvider, "mattermostIntegration"],
+ ] as const) {
+ for (const key of Object.values(provider.keys)) {
+ expect(key.startsWith(`settings:${namespace}.`)).toBe(true);
+ }
+ }
+ });
+});
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-providers.ts b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-providers.ts
new file mode 100644
index 000000000..e952a3089
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-providers.ts
@@ -0,0 +1,90 @@
+import {
+ useCreateDiscordIntegration,
+ useDeleteDiscordIntegration,
+ useUpdateDiscordIntegration,
+} from "@/hooks/mutations/discord-integration/use-discord-integration";
+import {
+ useCreateMattermostIntegration,
+ useDeleteMattermostIntegration,
+ useUpdateMattermostIntegration,
+} from "@/hooks/mutations/mattermost-integration/use-mattermost-integration";
+import {
+ useCreateSlackIntegration,
+ useDeleteSlackIntegration,
+ useUpdateSlackIntegration,
+} from "@/hooks/mutations/slack-integration/use-slack-integration";
+import useGetDiscordIntegration from "@/hooks/queries/discord-integration/use-get-discord-integration";
+import useGetMattermostIntegration from "@/hooks/queries/mattermost-integration/use-get-mattermost-integration";
+import useGetSlackIntegration from "@/hooks/queries/slack-integration/use-get-slack-integration";
+import type { ChatWebhookProvider } from "./chat-webhook-provider";
+
+export const slackChatProvider: ChatWebhookProvider = {
+ name: "Slack",
+ webhookUrlPattern:
+ /^https:\/\/hooks\.slack\.com\/services\/[A-Za-z0-9]+\/[A-Za-z0-9]+\/[A-Za-z0-9]+$/i,
+ emptyChannelName: undefined,
+ keys: {
+ webhookPlaceholder: "settings:slackIntegration.webhookPlaceholder",
+ webhookHint: "settings:slackIntegration.webhookHint",
+ webhookInvalid: "settings:slackIntegration.validation.webhookInvalid",
+ connect: "settings:slackIntegration.connect",
+ saved: "settings:slackIntegration.toast.saved",
+ saveError: "settings:slackIntegration.toast.saveError",
+ enabled: "settings:slackIntegration.toast.enabled",
+ disabled: "settings:slackIntegration.toast.disabled",
+ updateError: "settings:slackIntegration.toast.updateError",
+ removed: "settings:slackIntegration.toast.removed",
+ removeError: "settings:slackIntegration.toast.removeError",
+ },
+ useIntegration: useGetSlackIntegration,
+ useCreateIntegration: useCreateSlackIntegration,
+ useUpdateIntegration: useUpdateSlackIntegration,
+ useDeleteIntegration: useDeleteSlackIntegration,
+};
+
+export const discordChatProvider: ChatWebhookProvider = {
+ name: "Discord",
+ webhookUrlPattern:
+ /^https:\/\/(?:discord\.com|discordapp\.com)\/api\/webhooks\/[^/]+\/[^/\s]+$/i,
+ emptyChannelName: undefined,
+ keys: {
+ webhookPlaceholder: "settings:discordIntegration.webhookPlaceholder",
+ webhookHint: "settings:discordIntegration.webhookHint",
+ webhookInvalid: "settings:discordIntegration.validation.webhookInvalid",
+ connect: "settings:discordIntegration.connect",
+ saved: "settings:discordIntegration.toast.saved",
+ saveError: "settings:discordIntegration.toast.saveError",
+ enabled: "settings:discordIntegration.toast.enabled",
+ disabled: "settings:discordIntegration.toast.disabled",
+ updateError: "settings:discordIntegration.toast.updateError",
+ removed: "settings:discordIntegration.toast.removed",
+ removeError: "settings:discordIntegration.toast.removeError",
+ },
+ useIntegration: useGetDiscordIntegration,
+ useCreateIntegration: useCreateDiscordIntegration,
+ useUpdateIntegration: useUpdateDiscordIntegration,
+ useDeleteIntegration: useDeleteDiscordIntegration,
+};
+
+export const mattermostChatProvider: ChatWebhookProvider = {
+ name: "Mattermost",
+ webhookUrlPattern: /^https:\/\/.+/,
+ emptyChannelName: null,
+ keys: {
+ webhookPlaceholder: "settings:mattermostIntegration.webhookPlaceholder",
+ webhookHint: "settings:mattermostIntegration.webhookHint",
+ webhookInvalid: "settings:mattermostIntegration.validation.webhookInvalid",
+ connect: "settings:mattermostIntegration.connect",
+ saved: "settings:mattermostIntegration.toast.saved",
+ saveError: "settings:mattermostIntegration.toast.saveError",
+ enabled: "settings:mattermostIntegration.toast.enabled",
+ disabled: "settings:mattermostIntegration.toast.disabled",
+ updateError: "settings:mattermostIntegration.toast.updateError",
+ removed: "settings:mattermostIntegration.toast.removed",
+ removeError: "settings:mattermostIntegration.toast.removeError",
+ },
+ useIntegration: useGetMattermostIntegration,
+ useCreateIntegration: useCreateMattermostIntegration,
+ useUpdateIntegration: useUpdateMattermostIntegration,
+ useDeleteIntegration: useDeleteMattermostIntegration,
+};
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-settings.test.tsx b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-settings.test.tsx
new file mode 100644
index 000000000..f292433b8
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-settings.test.tsx
@@ -0,0 +1,275 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { toChatEvents } from "./chat-events";
+import type {
+ ChatWebhookIntegration,
+ ChatWebhookProvider,
+} from "./chat-webhook-provider";
+import {
+ mattermostChatProvider,
+ slackChatProvider,
+} from "./chat-webhook-providers";
+import { ChatWebhookSettings } from "./chat-webhook-settings";
+
+const mocks = vi.hoisted(() => ({
+ createIntegration: vi.fn(),
+ updateIntegration: vi.fn(),
+ deleteIntegration: vi.fn(),
+ toastSuccess: vi.fn(),
+ toastError: vi.fn(),
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+vi.mock("@/lib/toast", () => ({
+ toast: { success: mocks.toastSuccess, error: mocks.toastError },
+}));
+
+const slackUrl = "https://hooks.slack.com/services/T000/B000/XXXX";
+
+const connectedIntegration: ChatWebhookIntegration = {
+ id: "integration-1",
+ channelName: "#launch",
+ webhookConfigured: true,
+ events: toChatEvents(),
+ isActive: true,
+};
+
+function withHooks(
+ base: ChatWebhookProvider,
+ integration: ChatWebhookIntegration,
+ isLoading = false,
+): ChatWebhookProvider {
+ return {
+ ...base,
+ useIntegration: () => ({ data: integration, isLoading }),
+ useCreateIntegration: () => ({
+ mutateAsync: mocks.createIntegration,
+ isPending: false,
+ }),
+ useUpdateIntegration: () => ({
+ mutateAsync: mocks.updateIntegration,
+ isPending: false,
+ }),
+ useDeleteIntegration: () => ({
+ mutateAsync: mocks.deleteIntegration,
+ isPending: false,
+ }),
+ };
+}
+
+function renderSettings(provider: ChatWebhookProvider) {
+ return render(
+ <ChatWebhookSettings projectId="project-1" provider={provider} />,
+ );
+}
+
+describe("ChatWebhookSettings", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ for (const mock of Object.values(mocks)) {
+ mock.mockReset();
+ }
+ mocks.createIntegration.mockResolvedValue(undefined);
+ mocks.updateIntegration.mockResolvedValue(undefined);
+ mocks.deleteIntegration.mockResolvedValue(undefined);
+ });
+
+ it("shows one skeleton while loading", () => {
+ renderSettings(withHooks(slackChatProvider, null, true));
+
+ expect(screen.getByRole("status")).toBeTruthy();
+ expect(screen.queryByRole("textbox")).toBeNull();
+ });
+
+ it("rejects a URL that does not belong to the provider", async () => {
+ renderSettings(withHooks(slackChatProvider, null));
+
+ expect(screen.queryByRole("switch")).toBeNull();
+ fireEvent.change(
+ screen.getByLabelText("settings:chatIntegrations.webhookUrlLabel"),
+ { target: { value: "https://example.com/hooks/kaneo" } },
+ );
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:slackIntegration.connect" }),
+ );
+
+ expect(
+ await screen.findByText(
+ "settings:slackIntegration.validation.webhookInvalid",
+ ),
+ ).toBeTruthy();
+ expect(mocks.createIntegration).not.toHaveBeenCalled();
+ });
+
+ it("connects with the chosen events", async () => {
+ renderSettings(withHooks(slackChatProvider, null));
+
+ fireEvent.change(
+ screen.getByLabelText("settings:chatIntegrations.webhookUrlLabel"),
+ { target: { value: slackUrl } },
+ );
+ fireEvent.click(
+ screen.getByRole("checkbox", {
+ name: "settings:chatIntegrations.events.taskPriorityChanged",
+ }),
+ );
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:slackIntegration.connect" }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.createIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ data: {
+ webhookUrl: slackUrl,
+ channelName: undefined,
+ events: { ...toChatEvents(), taskPriorityChanged: true },
+ },
+ }),
+ );
+ expect(mocks.toastSuccess).toHaveBeenCalledWith(
+ "settings:slackIntegration.toast.saved",
+ );
+ });
+
+ it("keeps the saved URL when the field is left empty", async () => {
+ renderSettings(withHooks(slackChatProvider, connectedIntegration));
+
+ const urlInput = screen.getByLabelText(
+ "settings:chatIntegrations.webhookUrlLabel",
+ );
+ expect(urlInput).toHaveAttribute(
+ "placeholder",
+ "settings:chatIntegrations.savedUrlPlaceholder",
+ );
+ expect(urlInput).toHaveValue("");
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.saveChanges",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.updateIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ json: {
+ webhookUrl: undefined,
+ channelName: "#launch",
+ events: toChatEvents(),
+ },
+ }),
+ );
+ });
+
+ it("clears a replaced URL from the field after saving", async () => {
+ renderSettings(withHooks(slackChatProvider, connectedIntegration));
+
+ const urlInput = screen.getByLabelText(
+ "settings:chatIntegrations.webhookUrlLabel",
+ );
+ fireEvent.change(urlInput, { target: { value: slackUrl } });
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.saveChanges",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.updateIntegration).toHaveBeenCalledWith(
+ expect.objectContaining({
+ json: expect.objectContaining({ webhookUrl: slackUrl }),
+ }),
+ ),
+ );
+ await waitFor(() => expect(urlInput).toHaveValue(""));
+ });
+
+ it("pauses posting from the switch row", async () => {
+ renderSettings(withHooks(slackChatProvider, connectedIntegration));
+
+ fireEvent.click(
+ screen.getByRole("switch", {
+ name: "settings:chatIntegrations.activeTitle",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.updateIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ json: { isActive: false },
+ }),
+ );
+ expect(mocks.toastSuccess).toHaveBeenCalledWith(
+ "settings:slackIntegration.toast.disabled",
+ );
+ });
+
+ it("disconnects only after confirmation", async () => {
+ renderSettings(withHooks(slackChatProvider, connectedIntegration));
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+ const dialog = await screen.findByRole("alertdialog");
+ expect(
+ within(dialog).getByText("settings:chatIntegrations.disconnectTitle"),
+ ).toBeTruthy();
+ expect(mocks.deleteIntegration).not.toHaveBeenCalled();
+
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.deleteIntegration).toHaveBeenCalledWith("project-1"),
+ );
+ expect(mocks.toastSuccess).toHaveBeenCalledWith(
+ "settings:slackIntegration.toast.removed",
+ );
+ });
+
+ it("clears the Mattermost channel with null", async () => {
+ renderSettings(withHooks(mattermostChatProvider, connectedIntegration));
+
+ fireEvent.change(
+ screen.getByLabelText(/settings:chatIntegrations\.channelLabel/),
+ { target: { value: "" } },
+ );
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.saveChanges",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.updateIntegration).toHaveBeenCalledWith(
+ expect.objectContaining({
+ json: expect.objectContaining({ channelName: null }),
+ }),
+ ),
+ );
+ });
+});
diff --git a/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-settings.tsx b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-settings.tsx
new file mode 100644
index 000000000..f58f5a2fe
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/chat-webhook-settings.tsx
@@ -0,0 +1,172 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import React from "react";
+import { useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { DeliveryActiveRow } from "@/components/project/integrations/delivery-panel/delivery-active-row";
+import { DeliveryFooter } from "@/components/project/integrations/delivery-panel/delivery-footer";
+import { DeliveryPanelSkeleton } from "@/components/project/integrations/delivery-panel/delivery-panel-skeleton";
+import { EventChecklist } from "@/components/project/integrations/event-checklist/event-checklist";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Form, FormField } from "@/components/ui/form";
+import { toast } from "@/lib/toast";
+import { buildChatWebhookRequest } from "./build-chat-webhook-request";
+import { CHAT_EVENT_ITEMS } from "./chat-events";
+import { ChatWebhookFields } from "./chat-webhook-fields";
+import {
+ type ChatWebhookFormValues,
+ chatWebhookFormSchema,
+ toChatWebhookFormValues,
+} from "./chat-webhook-form-values";
+import type { ChatWebhookProvider } from "./chat-webhook-provider";
+
+type ChatWebhookSettingsProps = {
+ projectId: string;
+ provider: ChatWebhookProvider;
+};
+
+export function ChatWebhookSettings({
+ projectId,
+ provider,
+}: ChatWebhookSettingsProps) {
+ const { t } = useTranslation();
+ const { data: integration, isLoading } = provider.useIntegration(projectId);
+ const { mutateAsync: createIntegration, isPending: isCreating } =
+ provider.useCreateIntegration();
+ const { mutateAsync: updateIntegration, isPending: isUpdating } =
+ provider.useUpdateIntegration();
+ const { mutateAsync: deleteIntegration, isPending: isDeleting } =
+ provider.useDeleteIntegration();
+ const normalizedValues = React.useMemo(
+ () => toChatWebhookFormValues(integration),
+ [integration],
+ );
+
+ const form = useForm<ChatWebhookFormValues>({
+ resolver: standardSchemaResolver(chatWebhookFormSchema),
+ defaultValues: toChatWebhookFormValues(null),
+ });
+ const { reset } = form;
+ const lastResetKeyRef = React.useRef<string | null>(null);
+ const resetKey = `${projectId}:${integration?.id ?? "none"}`;
+
+ React.useEffect(() => {
+ if (form.formState.isDirty && lastResetKeyRef.current === resetKey) {
+ return;
+ }
+
+ reset(normalizedValues);
+ lastResetKeyRef.current = resetKey;
+ }, [form.formState.isDirty, normalizedValues, reset, resetKey]);
+
+ const isConnected = Boolean(integration?.webhookConfigured);
+ const isBusy = isCreating || isUpdating || isDeleting;
+
+ const onSubmit = async (values: ChatWebhookFormValues) => {
+ const request = buildChatWebhookRequest(values, isConnected, provider);
+
+ if (request.kind === "invalid") {
+ form.setError("webhookUrl", { message: t(provider.keys.webhookInvalid) });
+ return;
+ }
+
+ try {
+ if (request.kind === "create") {
+ await createIntegration({ projectId, data: request.data });
+ } else {
+ await updateIntegration({ projectId, json: request.json });
+ }
+
+ form.reset({ ...values, webhookUrl: "" });
+ toast.success(t(provider.keys.saved));
+ } catch (error) {
+ toast.error(
+ error instanceof Error ? error.message : t(provider.keys.saveError),
+ );
+ }
+ };
+
+ const handleToggleActive = async (checked: boolean) => {
+ try {
+ await updateIntegration({ projectId, json: { isActive: checked } });
+ toast.success(
+ checked ? t(provider.keys.enabled) : t(provider.keys.disabled),
+ );
+ } catch (error) {
+ toast.error(
+ error instanceof Error ? error.message : t(provider.keys.updateError),
+ );
+ }
+ };
+
+ const handleDisconnect = async () => {
+ try {
+ await deleteIntegration(projectId);
+ form.reset(toChatWebhookFormValues(null));
+ toast.success(t(provider.keys.removed));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error ? error.message : t(provider.keys.removeError),
+ );
+ return false;
+ }
+ };
+
+ if (isLoading) {
+ return <DeliveryPanelSkeleton />;
+ }
+
+ return (
+ <Form {...form}>
+ <form noValidate onSubmit={form.handleSubmit(onSubmit)}>
+ <IntegrationPanel>
+ <IntegrationPanelSection className="space-y-4">
+ {isConnected ? (
+ <DeliveryActiveRow
+ checked={integration?.isActive ?? false}
+ description={t("settings:chatIntegrations.activeDescription")}
+ disabled={isBusy}
+ onCheckedChange={handleToggleActive}
+ title={t("settings:chatIntegrations.activeTitle", {
+ provider: provider.name,
+ })}
+ />
+ ) : null}
+ <ChatWebhookFields
+ connected={isConnected}
+ control={form.control}
+ provider={provider}
+ />
+ <FormField
+ control={form.control}
+ name="events"
+ render={({ field }) => (
+ <EventChecklist
+ items={CHAT_EVENT_ITEMS}
+ label={t("settings:chatIntegrations.postWhen")}
+ onChange={field.onChange}
+ value={field.value}
+ />
+ )}
+ />
+ </IntegrationPanelSection>
+ <DeliveryFooter
+ busy={isBusy}
+ connectLabel={t(provider.keys.connect)}
+ connected={isConnected}
+ disconnectDescription={t(
+ "settings:chatIntegrations.disconnectDescription",
+ { provider: provider.name },
+ )}
+ disconnectTitle={t("settings:chatIntegrations.disconnectTitle", {
+ provider: provider.name,
+ })}
+ disconnecting={isDeleting}
+ onDisconnect={handleDisconnect}
+ />
+ </IntegrationPanel>
+ </form>
+ </Form>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/chat-webhook/is-valid-chat-webhook-url.ts b/apps/web/src/components/project/integrations/chat-webhook/is-valid-chat-webhook-url.ts
new file mode 100644
index 000000000..fa78d9044
--- /dev/null
+++ b/apps/web/src/components/project/integrations/chat-webhook/is-valid-chat-webhook-url.ts
@@ -0,0 +1,5 @@
+import { z } from "zod/v4";
+
+export function isValidChatWebhookUrl(value: string, pattern: RegExp): boolean {
+ return z.url().safeParse(value).success && pattern.test(value);
+}
diff --git a/apps/web/src/components/project/integrations/delivery-panel/delivery-active-row.tsx b/apps/web/src/components/project/integrations/delivery-panel/delivery-active-row.tsx
new file mode 100644
index 000000000..52c8dad5a
--- /dev/null
+++ b/apps/web/src/components/project/integrations/delivery-panel/delivery-active-row.tsx
@@ -0,0 +1,41 @@
+import { useId } from "react";
+import { Switch } from "@/components/ui/switch";
+
+type DeliveryActiveRowProps = {
+ title: string;
+ description: string;
+ checked: boolean;
+ disabled?: boolean;
+ onCheckedChange: (checked: boolean) => void;
+};
+
+export function DeliveryActiveRow({
+ title,
+ description,
+ checked,
+ disabled = false,
+ onCheckedChange,
+}: DeliveryActiveRowProps) {
+ const titleId = useId();
+ const descriptionId = useId();
+
+ return (
+ <div className="flex items-center gap-4 rounded-lg border border-border px-3.5 py-3">
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <p id={titleId} className="text-sm font-medium">
+ {title}
+ </p>
+ <p id={descriptionId} className="text-xs text-muted-foreground">
+ {description}
+ </p>
+ </div>
+ <Switch
+ aria-describedby={descriptionId}
+ aria-labelledby={titleId}
+ checked={checked}
+ disabled={disabled}
+ onCheckedChange={onCheckedChange}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/delivery-panel/delivery-footer.test.tsx b/apps/web/src/components/project/integrations/delivery-panel/delivery-footer.test.tsx
new file mode 100644
index 000000000..2a732006e
--- /dev/null
+++ b/apps/web/src/components/project/integrations/delivery-panel/delivery-footer.test.tsx
@@ -0,0 +1,94 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import { afterEach, describe, expect, it, vi } from "vite-plus/test";
+import { DeliveryFooter } from "./delivery-footer";
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+function renderFooter(
+ props: Partial<Parameters<typeof DeliveryFooter>[0]> = {},
+) {
+ return render(
+ <form>
+ <DeliveryFooter
+ busy={false}
+ connectLabel="Connect Slack"
+ connected
+ disconnectDescription="Kaneo stops posting to Slack."
+ disconnectTitle="Disconnect Slack?"
+ disconnecting={false}
+ onDisconnect={vi.fn().mockResolvedValue(true)}
+ {...props}
+ />
+ </form>,
+ );
+}
+
+describe("DeliveryFooter", () => {
+ afterEach(cleanup);
+
+ it("only offers the connect action before setup", () => {
+ renderFooter({ connected: false });
+
+ expect(
+ screen.getByRole("button", { name: "Connect Slack" }),
+ ).toHaveAttribute("type", "submit");
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ ).toBeNull();
+ });
+
+ it("asks for confirmation before disconnecting", async () => {
+ const onDisconnect = vi.fn().mockResolvedValue(true);
+ renderFooter({ onDisconnect });
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+
+ const dialog = await screen.findByRole("alertdialog");
+ expect(within(dialog).getByText("Disconnect Slack?")).toBeTruthy();
+ expect(onDisconnect).not.toHaveBeenCalled();
+
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+
+ await waitFor(() => expect(onDisconnect).toHaveBeenCalledTimes(1));
+ await waitFor(() => expect(screen.queryByRole("alertdialog")).toBeNull());
+ });
+
+ it("keeps the confirmation open when disconnecting fails", async () => {
+ const onDisconnect = vi.fn().mockResolvedValue(false);
+ renderFooter({ onDisconnect });
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+ const dialog = await screen.findByRole("alertdialog");
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+
+ await waitFor(() => expect(onDisconnect).toHaveBeenCalledTimes(1));
+ expect(screen.getByRole("alertdialog")).toBeTruthy();
+ });
+});
diff --git a/apps/web/src/components/project/integrations/delivery-panel/delivery-footer.tsx b/apps/web/src/components/project/integrations/delivery-panel/delivery-footer.tsx
new file mode 100644
index 000000000..f4ebddcde
--- /dev/null
+++ b/apps/web/src/components/project/integrations/delivery-panel/delivery-footer.tsx
@@ -0,0 +1,68 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { IntegrationPanelFooter } from "@/components/project/integrations/panel/integration-panel-footer";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { Button } from "@/components/ui/button";
+
+type DeliveryFooterProps = {
+ connected: boolean;
+ busy: boolean;
+ disconnecting: boolean;
+ connectLabel: string;
+ disconnectTitle: string;
+ disconnectDescription: string;
+ onDisconnect: () => Promise<boolean>;
+};
+
+export function DeliveryFooter({
+ connected,
+ busy,
+ disconnecting,
+ connectLabel,
+ disconnectTitle,
+ disconnectDescription,
+ onDisconnect,
+}: DeliveryFooterProps) {
+ const { t } = useTranslation();
+ const [confirmOpen, setConfirmOpen] = useState(false);
+
+ const handleConfirm = async () => {
+ if (await onDisconnect()) {
+ setConfirmOpen(false);
+ }
+ };
+
+ return (
+ <IntegrationPanelFooter
+ start={
+ connected ? (
+ <>
+ <Button
+ disabled={busy}
+ onClick={() => setConfirmOpen(true)}
+ size="sm"
+ type="button"
+ variant="destructive-outline"
+ >
+ {t("settings:chatIntegrations.disconnect")}
+ </Button>
+ <ConfirmDialog
+ confirmLabel={t("settings:chatIntegrations.disconnect")}
+ description={disconnectDescription}
+ onConfirm={() => void handleConfirm()}
+ onOpenChange={setConfirmOpen}
+ open={confirmOpen}
+ pending={disconnecting}
+ pendingLabel={t("settings:chatIntegrations.disconnecting")}
+ title={disconnectTitle}
+ />
+ </>
+ ) : null
+ }
+ >
+ <Button disabled={busy} size="sm" type="submit">
+ {connected ? t("settings:chatIntegrations.saveChanges") : connectLabel}
+ </Button>
+ </IntegrationPanelFooter>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/delivery-panel/delivery-panel-skeleton.tsx b/apps/web/src/components/project/integrations/delivery-panel/delivery-panel-skeleton.tsx
new file mode 100644
index 000000000..1f2786f58
--- /dev/null
+++ b/apps/web/src/components/project/integrations/delivery-panel/delivery-panel-skeleton.tsx
@@ -0,0 +1,26 @@
+import { useTranslation } from "react-i18next";
+import { Skeleton } from "@/components/ui/skeleton";
+
+export function DeliveryPanelSkeleton() {
+ const { t } = useTranslation();
+
+ return (
+ <div role="status" className="space-y-4 p-4">
+ <span className="sr-only">{t("common:empty.loading")}</span>
+ <div className="grid gap-3 sm:grid-cols-3">
+ <div className="space-y-2 sm:col-span-2">
+ <Skeleton className="h-4 w-24" />
+ <Skeleton className="h-8 w-full rounded-lg" />
+ </div>
+ <div className="space-y-2">
+ <Skeleton className="h-4 w-16" />
+ <Skeleton className="h-8 w-full rounded-lg" />
+ </div>
+ </div>
+ <div className="space-y-2">
+ <Skeleton className="h-4 w-20" />
+ <Skeleton className="h-28 w-full rounded-lg" />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/delivery-panel/optional-marker.tsx b/apps/web/src/components/project/integrations/delivery-panel/optional-marker.tsx
new file mode 100644
index 000000000..0995ef5c8
--- /dev/null
+++ b/apps/web/src/components/project/integrations/delivery-panel/optional-marker.tsx
@@ -0,0 +1,11 @@
+import { useTranslation } from "react-i18next";
+
+export function OptionalMarker() {
+ const { t } = useTranslation();
+
+ return (
+ <span className="text-xs font-normal text-muted-foreground">
+ {t("settings:chatIntegrations.optional")}
+ </span>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/delivery-panel/saved-value-input.tsx b/apps/web/src/components/project/integrations/delivery-panel/saved-value-input.tsx
new file mode 100644
index 000000000..b3a077f61
--- /dev/null
+++ b/apps/web/src/components/project/integrations/delivery-panel/saved-value-input.tsx
@@ -0,0 +1,40 @@
+import { CheckIcon } from "lucide-react";
+import type { ComponentProps } from "react";
+import { FormControl, useFormField } from "@/components/ui/form";
+import {
+ InputGroup,
+ InputGroupAddon,
+ InputGroupInput,
+} from "@/components/ui/input-group";
+
+type SavedValueInputProps = Omit<
+ ComponentProps<typeof InputGroupInput>,
+ "className"
+> & {
+ saved: boolean;
+ className?: string;
+};
+
+export function SavedValueInput({
+ saved,
+ className,
+ ...props
+}: SavedValueInputProps) {
+ const { error } = useFormField();
+
+ return (
+ <InputGroup className={className}>
+ {saved ? (
+ <InputGroupAddon>
+ <CheckIcon
+ aria-hidden="true"
+ className="size-3.5 text-success-foreground"
+ />
+ </InputGroupAddon>
+ ) : null}
+ <FormControl>
+ <InputGroupInput {...props} aria-invalid={error ? true : undefined} />
+ </FormControl>
+ </InputGroup>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/event-checklist/event-checklist-item.ts b/apps/web/src/components/project/integrations/event-checklist/event-checklist-item.ts
new file mode 100644
index 000000000..478b01520
--- /dev/null
+++ b/apps/web/src/components/project/integrations/event-checklist/event-checklist-item.ts
@@ -0,0 +1,4 @@
+export type EventChecklistItem<K extends string> = {
+ id: K;
+ labelKey: string;
+};
diff --git a/apps/web/src/components/project/integrations/event-checklist/event-checklist.test.tsx b/apps/web/src/components/project/integrations/event-checklist/event-checklist.test.tsx
new file mode 100644
index 000000000..e0691a77f
--- /dev/null
+++ b/apps/web/src/components/project/integrations/event-checklist/event-checklist.test.tsx
@@ -0,0 +1,67 @@
+import { cleanup, fireEvent, render, screen } from "@testing-library/react";
+import { afterEach, describe, expect, it, vi } from "vite-plus/test";
+import { EventChecklist } from "./event-checklist";
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+const items = [
+ { id: "created", labelKey: "events.created" },
+ { id: "deleted", labelKey: "events.deleted" },
+] as const;
+
+describe("EventChecklist", () => {
+ afterEach(cleanup);
+
+ it("renders one labelled group with a checkbox per event", () => {
+ render(
+ <EventChecklist
+ items={[...items]}
+ label="Post when"
+ onChange={vi.fn()}
+ value={{ created: true, deleted: false }}
+ />,
+ );
+
+ expect(screen.getByRole("group", { name: "Post when" })).toBeTruthy();
+ expect(
+ screen.getByRole("checkbox", { name: "events.created" }),
+ ).toBeChecked();
+ expect(
+ screen.getByRole("checkbox", { name: "events.deleted" }),
+ ).not.toBeChecked();
+ });
+
+ it("reports the full event map when one event is toggled", () => {
+ const onChange = vi.fn();
+ render(
+ <EventChecklist
+ items={[...items]}
+ label="Post when"
+ onChange={onChange}
+ value={{ created: true, deleted: false }}
+ />,
+ );
+
+ fireEvent.click(screen.getByRole("checkbox", { name: "events.deleted" }));
+
+ expect(onChange).toHaveBeenCalledWith({ created: true, deleted: true });
+ });
+
+ it("renders extra content inside the list", () => {
+ render(
+ <EventChecklist
+ columns={3}
+ items={[...items]}
+ label="Send when"
+ onChange={vi.fn()}
+ value={{ created: false, deleted: false }}
+ >
+ <span>Reminder timing</span>
+ </EventChecklist>,
+ );
+
+ expect(screen.getByText("Reminder timing")).toBeTruthy();
+ });
+});
diff --git a/apps/web/src/components/project/integrations/event-checklist/event-checklist.tsx b/apps/web/src/components/project/integrations/event-checklist/event-checklist.tsx
new file mode 100644
index 000000000..38f96eb8a
--- /dev/null
+++ b/apps/web/src/components/project/integrations/event-checklist/event-checklist.tsx
@@ -0,0 +1,70 @@
+import { type ReactNode, useId } from "react";
+import { useTranslation } from "react-i18next";
+import { Checkbox } from "@/components/ui/checkbox";
+import { Label } from "@/components/ui/label";
+import { cn } from "@/lib/cn";
+import type { EventChecklistItem } from "./event-checklist-item";
+
+type EventChecklistProps<K extends string> = {
+ label: ReactNode;
+ items: EventChecklistItem<K>[];
+ value: Record<K, boolean>;
+ onChange: (value: Record<K, boolean>) => void;
+ columns?: 2 | 3;
+ disabled?: boolean;
+ children?: ReactNode;
+};
+
+export function EventChecklist<K extends string>({
+ label,
+ items,
+ value,
+ onChange,
+ columns = 2,
+ disabled = false,
+ children,
+}: EventChecklistProps<K>) {
+ const { t } = useTranslation();
+ const labelId = useId();
+
+ return (
+ <div className="space-y-2">
+ <p id={labelId} className="text-sm font-medium">
+ {label}
+ </p>
+ <div
+ role="group"
+ aria-labelledby={labelId}
+ className="rounded-lg border border-border p-1.5"
+ >
+ <div
+ className={cn(
+ "grid grid-cols-1",
+ columns === 3 ? "sm:grid-cols-3" : "sm:grid-cols-2",
+ )}
+ >
+ {items.map((item) => (
+ <Label
+ key={item.id}
+ className="flex min-h-8.5 gap-2.5 px-2 py-1.5 font-normal"
+ >
+ <Checkbox
+ checked={value[item.id]}
+ disabled={disabled}
+ onCheckedChange={(checked) =>
+ onChange({ ...value, [item.id]: checked })
+ }
+ />
+ {t(item.labelKey)}
+ </Label>
+ ))}
+ </div>
+ {children ? (
+ <div className="mt-1.5 border-t border-border px-2 pt-2 pb-1">
+ {children}
+ </div>
+ ) : null}
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/generic-webhook/build-generic-webhook-request.test.ts b/apps/web/src/components/project/integrations/generic-webhook/build-generic-webhook-request.test.ts
new file mode 100644
index 000000000..327df91ab
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/build-generic-webhook-request.test.ts
@@ -0,0 +1,67 @@
+import { describe, expect, it } from "vite-plus/test";
+import { buildGenericWebhookRequest } from "./build-generic-webhook-request";
+import { toGenericWebhookEvents } from "./generic-webhook-events";
+import type { GenericWebhookFormValues } from "./generic-webhook-form-values";
+
+function values(
+ overrides: Partial<GenericWebhookFormValues> = {},
+): GenericWebhookFormValues {
+ return {
+ webhookUrl: "https://example.com/hooks/kaneo",
+ secret: "",
+ events: toGenericWebhookEvents(),
+ dueDateReminderLeadTimeHours: 24,
+ ...overrides,
+ };
+}
+
+describe("buildGenericWebhookRequest", () => {
+ it("requires a valid endpoint before connecting", () => {
+ expect(
+ buildGenericWebhookRequest(values({ webhookUrl: "" }), false),
+ ).toEqual({ kind: "invalid" });
+ expect(
+ buildGenericWebhookRequest(values({ webhookUrl: "not a url" }), true),
+ ).toEqual({ kind: "invalid" });
+ });
+
+ it("keeps the saved endpoint when the field is left empty", () => {
+ expect(
+ buildGenericWebhookRequest(values({ webhookUrl: " " }), true),
+ ).toEqual({
+ kind: "update",
+ json: {
+ webhookUrl: undefined,
+ secret: undefined,
+ events: toGenericWebhookEvents(),
+ },
+ });
+ });
+
+ it("sends the reminder lead time in minutes only when reminders are on", () => {
+ const events = { ...toGenericWebhookEvents(), dueDateReminder: true };
+
+ expect(
+ buildGenericWebhookRequest(
+ values({ events, dueDateReminderLeadTimeHours: 1.5, secret: " s " }),
+ false,
+ ),
+ ).toEqual({
+ kind: "create",
+ data: {
+ webhookUrl: "https://example.com/hooks/kaneo",
+ secret: "s",
+ events,
+ dueDateReminderLeadTimeMinutes: 90,
+ },
+ });
+ expect(buildGenericWebhookRequest(values(), false)).toEqual({
+ kind: "create",
+ data: {
+ webhookUrl: "https://example.com/hooks/kaneo",
+ secret: undefined,
+ events: toGenericWebhookEvents(),
+ },
+ });
+ });
+});
diff --git a/apps/web/src/components/project/integrations/generic-webhook/build-generic-webhook-request.ts b/apps/web/src/components/project/integrations/generic-webhook/build-generic-webhook-request.ts
new file mode 100644
index 000000000..fb66e2356
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/build-generic-webhook-request.ts
@@ -0,0 +1,52 @@
+import { z } from "zod/v4";
+import type { CreateGenericWebhookIntegrationRequest } from "@/fetchers/generic-webhook-integration/create-generic-webhook-integration";
+import type { UpdateGenericWebhookIntegrationRequest } from "@/fetchers/generic-webhook-integration/update-generic-webhook-integration";
+import type { GenericWebhookFormValues } from "./generic-webhook-form-values";
+
+export type GenericWebhookRequest =
+ | { kind: "invalid" }
+ | { kind: "create"; data: CreateGenericWebhookIntegrationRequest }
+ | { kind: "update"; json: UpdateGenericWebhookIntegrationRequest };
+
+export function buildGenericWebhookRequest(
+ values: GenericWebhookFormValues,
+ connected: boolean,
+): GenericWebhookRequest {
+ const webhookUrl = values.webhookUrl.trim();
+ const secret = values.secret.trim();
+ const validUrl = z.url().safeParse(webhookUrl).success;
+
+ if (!validUrl && (!connected || webhookUrl)) {
+ return { kind: "invalid" };
+ }
+
+ const leadTime = values.events.dueDateReminder
+ ? {
+ dueDateReminderLeadTimeMinutes: Math.round(
+ values.dueDateReminderLeadTimeHours * 60,
+ ),
+ }
+ : {};
+
+ if (!connected) {
+ return {
+ kind: "create",
+ data: {
+ webhookUrl,
+ secret: secret || undefined,
+ events: values.events,
+ ...leadTime,
+ },
+ };
+ }
+
+ return {
+ kind: "update",
+ json: {
+ webhookUrl: webhookUrl || undefined,
+ secret: secret || undefined,
+ events: values.events,
+ ...leadTime,
+ },
+ };
+}
diff --git a/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-event-checklist.tsx b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-event-checklist.tsx
new file mode 100644
index 000000000..53f0ba822
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-event-checklist.tsx
@@ -0,0 +1,37 @@
+import type { Control } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { EventChecklist } from "@/components/project/integrations/event-checklist/event-checklist";
+import { FormField } from "@/components/ui/form";
+import { GENERIC_WEBHOOK_EVENT_ITEMS } from "./generic-webhook-events";
+import type { GenericWebhookFormValues } from "./generic-webhook-form-values";
+import { ReminderLeadTimeRow } from "./reminder-lead-time-row";
+
+type GenericWebhookEventChecklistProps = {
+ control: Control<GenericWebhookFormValues>;
+};
+
+export function GenericWebhookEventChecklist({
+ control,
+}: GenericWebhookEventChecklistProps) {
+ const { t } = useTranslation();
+
+ return (
+ <FormField
+ control={control}
+ name="events"
+ render={({ field }) => (
+ <EventChecklist
+ columns={3}
+ items={GENERIC_WEBHOOK_EVENT_ITEMS}
+ label={t("settings:genericWebhookIntegration.eventsTitle")}
+ onChange={field.onChange}
+ value={field.value}
+ >
+ {field.value.dueDateReminder ? (
+ <ReminderLeadTimeRow control={control} />
+ ) : null}
+ </EventChecklist>
+ )}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-events.ts b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-events.ts
new file mode 100644
index 000000000..c39b52c5e
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-events.ts
@@ -0,0 +1,89 @@
+import type { EventChecklistItem } from "@/components/project/integrations/event-checklist/event-checklist-item";
+
+export type GenericWebhookEvents = {
+ taskCreated: boolean;
+ taskStatusChanged: boolean;
+ taskPriorityChanged: boolean;
+ taskTitleChanged: boolean;
+ taskDescriptionChanged: boolean;
+ taskCommentCreated: boolean;
+ taskDeleted: boolean;
+ taskMoved: boolean;
+ taskDueDateChanged: boolean;
+ taskAssigneeChanged: boolean;
+ taskUnassigned: boolean;
+ dueDateReminder: boolean;
+};
+
+export const GENERIC_WEBHOOK_EVENT_ITEMS: EventChecklistItem<
+ keyof GenericWebhookEvents
+>[] = [
+ {
+ id: "taskCreated",
+ labelKey: "settings:genericWebhookIntegration.events.taskCreated",
+ },
+ {
+ id: "taskDeleted",
+ labelKey: "settings:genericWebhookIntegration.events.taskDeleted",
+ },
+ {
+ id: "taskMoved",
+ labelKey: "settings:genericWebhookIntegration.events.taskMoved",
+ },
+ {
+ id: "taskStatusChanged",
+ labelKey: "settings:genericWebhookIntegration.events.taskStatusChanged",
+ },
+ {
+ id: "taskPriorityChanged",
+ labelKey: "settings:genericWebhookIntegration.events.taskPriorityChanged",
+ },
+ {
+ id: "taskTitleChanged",
+ labelKey: "settings:genericWebhookIntegration.events.taskTitleChanged",
+ },
+ {
+ id: "taskDescriptionChanged",
+ labelKey:
+ "settings:genericWebhookIntegration.events.taskDescriptionChanged",
+ },
+ {
+ id: "taskAssigneeChanged",
+ labelKey: "settings:genericWebhookIntegration.events.taskAssigneeChanged",
+ },
+ {
+ id: "taskUnassigned",
+ labelKey: "settings:genericWebhookIntegration.events.taskUnassigned",
+ },
+ {
+ id: "taskDueDateChanged",
+ labelKey: "settings:genericWebhookIntegration.events.taskDueDateChanged",
+ },
+ {
+ id: "taskCommentCreated",
+ labelKey: "settings:genericWebhookIntegration.events.taskCommentCreated",
+ },
+ {
+ id: "dueDateReminder",
+ labelKey: "settings:genericWebhookIntegration.events.dueDateReminder",
+ },
+];
+
+export function toGenericWebhookEvents(
+ events?: Partial<GenericWebhookEvents> | null,
+): GenericWebhookEvents {
+ return {
+ taskCreated: events?.taskCreated ?? true,
+ taskStatusChanged: events?.taskStatusChanged ?? true,
+ taskPriorityChanged: events?.taskPriorityChanged ?? false,
+ taskTitleChanged: events?.taskTitleChanged ?? false,
+ taskDescriptionChanged: events?.taskDescriptionChanged ?? false,
+ taskCommentCreated: events?.taskCommentCreated ?? true,
+ taskDeleted: events?.taskDeleted ?? false,
+ taskMoved: events?.taskMoved ?? false,
+ taskDueDateChanged: events?.taskDueDateChanged ?? false,
+ taskAssigneeChanged: events?.taskAssigneeChanged ?? false,
+ taskUnassigned: events?.taskUnassigned ?? false,
+ dueDateReminder: events?.dueDateReminder ?? false,
+ };
+}
diff --git a/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-fields.tsx b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-fields.tsx
new file mode 100644
index 000000000..cb053d33b
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-fields.tsx
@@ -0,0 +1,91 @@
+import type { Control } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { OptionalMarker } from "@/components/project/integrations/delivery-panel/optional-marker";
+import { SavedValueInput } from "@/components/project/integrations/delivery-panel/saved-value-input";
+import {
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import type { GenericWebhookFormValues } from "./generic-webhook-form-values";
+
+type GenericWebhookFieldsProps = {
+ control: Control<GenericWebhookFormValues>;
+ connected: boolean;
+ storedSecret: string | null;
+};
+
+export function GenericWebhookFields({
+ control,
+ connected,
+ storedSecret,
+}: GenericWebhookFieldsProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="grid gap-3 sm:grid-cols-2">
+ <FormField
+ control={control}
+ name="webhookUrl"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5">
+ <FormLabel>
+ {t("settings:genericWebhookIntegration.webhookLabel")}
+ </FormLabel>
+ <SavedValueInput
+ {...field}
+ autoComplete="off"
+ placeholder={
+ connected
+ ? t("settings:chatIntegrations.savedUrlPlaceholder")
+ : t("settings:genericWebhookIntegration.webhookPlaceholder")
+ }
+ saved={connected && !field.value}
+ type="url"
+ />
+ {connected ? null : (
+ <FormDescription className="text-xs">
+ {t("settings:genericWebhookIntegration.webhookHint")}
+ </FormDescription>
+ )}
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="secret"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5">
+ <FormLabel>
+ {t("settings:genericWebhookIntegration.secretLabel")}{" "}
+ <OptionalMarker />
+ </FormLabel>
+ <FormControl>
+ <Input
+ {...field}
+ autoComplete="off"
+ placeholder={t(
+ "settings:genericWebhookIntegration.secretPlaceholder",
+ )}
+ type="password"
+ />
+ </FormControl>
+ <FormDescription className="text-xs">
+ {storedSecret
+ ? t("settings:genericWebhookIntegration.secretHintConfigured", {
+ secret: storedSecret,
+ })
+ : t("settings:genericWebhookIntegration.secretHint")}
+ </FormDescription>
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-form-values.ts b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-form-values.ts
new file mode 100644
index 000000000..3e3f55337
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-form-values.ts
@@ -0,0 +1,58 @@
+import { z } from "zod/v4";
+import type { GenericWebhookIntegration } from "@/fetchers/generic-webhook-integration/get-generic-webhook-integration";
+import {
+ type GenericWebhookEvents,
+ toGenericWebhookEvents,
+} from "./generic-webhook-events";
+
+export const MIN_LEAD_TIME_HOURS = 5 / 60;
+export const MAX_LEAD_TIME_HOURS = 720;
+
+export type GenericWebhookFormValues = {
+ webhookUrl: string;
+ secret: string;
+ events: GenericWebhookEvents;
+ dueDateReminderLeadTimeHours: number;
+};
+
+export function createGenericWebhookFormSchema(leadTimeMessage: string) {
+ return z
+ .object({
+ webhookUrl: z.string(),
+ secret: z.string(),
+ events: z.object({
+ taskCreated: z.boolean(),
+ taskStatusChanged: z.boolean(),
+ taskPriorityChanged: z.boolean(),
+ taskTitleChanged: z.boolean(),
+ taskDescriptionChanged: z.boolean(),
+ taskCommentCreated: z.boolean(),
+ taskDeleted: z.boolean(),
+ taskMoved: z.boolean(),
+ taskDueDateChanged: z.boolean(),
+ taskAssigneeChanged: z.boolean(),
+ taskUnassigned: z.boolean(),
+ dueDateReminder: z.boolean(),
+ }),
+ dueDateReminderLeadTimeHours: z.number(),
+ })
+ .refine(
+ (values) =>
+ !values.events.dueDateReminder ||
+ (values.dueDateReminderLeadTimeHours >= MIN_LEAD_TIME_HOURS &&
+ values.dueDateReminderLeadTimeHours <= MAX_LEAD_TIME_HOURS),
+ { path: ["dueDateReminderLeadTimeHours"], message: leadTimeMessage },
+ );
+}
+
+export function toGenericWebhookFormValues(
+ integration: GenericWebhookIntegration | null | undefined,
+): GenericWebhookFormValues {
+ return {
+ webhookUrl: "",
+ secret: "",
+ events: toGenericWebhookEvents(integration?.events),
+ dueDateReminderLeadTimeHours:
+ (integration?.dueDateReminderLeadTimeMinutes ?? 1440) / 60,
+ };
+}
diff --git a/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-integration-settings.test.tsx b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-integration-settings.test.tsx
new file mode 100644
index 000000000..82e9e947f
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-integration-settings.test.tsx
@@ -0,0 +1,292 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { toGenericWebhookEvents } from "./generic-webhook-events";
+import { GenericWebhookIntegrationSettings } from "./generic-webhook-integration-settings";
+
+const mocks = vi.hoisted(() => ({
+ integration: null as unknown,
+ createIntegration: vi.fn(),
+ updateIntegration: vi.fn(),
+ deleteIntegration: vi.fn(),
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+vi.mock(
+ "@/hooks/queries/generic-webhook-integration/use-get-generic-webhook-integration",
+ () => ({
+ default: () => ({ data: mocks.integration, isLoading: false }),
+ }),
+);
+
+vi.mock(
+ "@/hooks/mutations/generic-webhook-integration/use-generic-webhook-integration",
+ () => ({
+ useCreateGenericWebhookIntegration: () => ({
+ mutateAsync: mocks.createIntegration,
+ isPending: false,
+ }),
+ useUpdateGenericWebhookIntegration: () => ({
+ mutateAsync: mocks.updateIntegration,
+ isPending: false,
+ }),
+ useDeleteGenericWebhookIntegration: () => ({
+ mutateAsync: mocks.deleteIntegration,
+ isPending: false,
+ }),
+ }),
+);
+
+vi.mock("@/lib/toast", () => ({
+ toast: { success: vi.fn(), error: vi.fn() },
+}));
+
+const connectedIntegration = {
+ id: "integration-1",
+ projectId: "project-1",
+ webhookConfigured: true,
+ maskedWebhookUrl: "http…kaneo",
+ secretConfigured: true,
+ maskedSecret: "shh…cret",
+ events: toGenericWebhookEvents(),
+ dueDateReminderLeadTimeMinutes: 1440,
+ isActive: true,
+ createdAt: "",
+ updatedAt: "",
+};
+
+function eventCheckbox(event: string) {
+ return screen.getByRole("checkbox", {
+ name: `settings:genericWebhookIntegration.events.${event}`,
+ });
+}
+
+function leadTimeInput() {
+ return screen.getByLabelText(
+ "settings:genericWebhookIntegration.reminderLeadTimeLabel",
+ );
+}
+
+function setEndpoint(value: string) {
+ fireEvent.change(
+ screen.getByLabelText("settings:genericWebhookIntegration.webhookLabel"),
+ { target: { value } },
+ );
+}
+
+describe("GenericWebhookIntegrationSettings", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ mocks.integration = null;
+ mocks.createIntegration.mockReset().mockResolvedValue(undefined);
+ mocks.updateIntegration.mockReset().mockResolvedValue(undefined);
+ mocks.deleteIntegration.mockReset().mockResolvedValue(undefined);
+ });
+
+ it("lists all twelve events and shows reminder timing only when reminders are on", () => {
+ render(<GenericWebhookIntegrationSettings projectId="project-1" />);
+
+ expect(
+ within(
+ screen.getByRole("group", {
+ name: "settings:genericWebhookIntegration.eventsTitle",
+ }),
+ ).getAllByRole("checkbox"),
+ ).toHaveLength(12);
+ expect(
+ screen.queryByLabelText(
+ "settings:genericWebhookIntegration.reminderLeadTimeLabel",
+ ),
+ ).toBeNull();
+
+ fireEvent.click(eventCheckbox("dueDateReminder"));
+
+ expect(leadTimeInput()).toHaveValue(24);
+ });
+
+ it("creates an opt-in project reminder webhook with its lead time", async () => {
+ render(<GenericWebhookIntegrationSettings projectId="project-1" />);
+
+ setEndpoint("https://example.com/hooks/kaneo");
+ fireEvent.click(eventCheckbox("dueDateReminder"));
+ fireEvent.change(leadTimeInput(), { target: { value: "48" } });
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:genericWebhookIntegration.connect",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.createIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ data: expect.objectContaining({
+ webhookUrl: "https://example.com/hooks/kaneo",
+ dueDateReminderLeadTimeMinutes: 2880,
+ events: expect.objectContaining({
+ dueDateReminder: true,
+ taskDeleted: false,
+ taskMoved: false,
+ taskDueDateChanged: false,
+ taskAssigneeChanged: false,
+ taskUnassigned: false,
+ }),
+ }),
+ }),
+ );
+ });
+
+ it("creates a webhook with the opt-in task lifecycle events enabled", async () => {
+ render(<GenericWebhookIntegrationSettings projectId="project-1" />);
+
+ setEndpoint("https://example.com/hooks/kaneo");
+ for (const event of [
+ "taskDeleted",
+ "taskMoved",
+ "taskDueDateChanged",
+ "taskAssigneeChanged",
+ "taskUnassigned",
+ ]) {
+ fireEvent.click(eventCheckbox(event));
+ }
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:genericWebhookIntegration.connect",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.createIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ data: expect.objectContaining({
+ events: expect.objectContaining({
+ taskDeleted: true,
+ taskMoved: true,
+ taskDueDateChanged: true,
+ taskAssigneeChanged: true,
+ taskUnassigned: true,
+ }),
+ }),
+ }),
+ );
+ });
+
+ it("shows an inline error for an out of range reminder time", async () => {
+ render(<GenericWebhookIntegrationSettings projectId="project-1" />);
+
+ setEndpoint("https://example.com/hooks/kaneo");
+ fireEvent.click(eventCheckbox("dueDateReminder"));
+ fireEvent.change(leadTimeInput(), { target: { value: "721" } });
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:genericWebhookIntegration.connect",
+ }),
+ );
+
+ expect(
+ await screen.findByText(
+ "settings:genericWebhookIntegration.validation.leadTimeRange",
+ ),
+ ).toBeTruthy();
+ expect(mocks.createIntegration).not.toHaveBeenCalled();
+ });
+
+ it("submits other webhook settings after an invalid reminder time is disabled", async () => {
+ render(<GenericWebhookIntegrationSettings projectId="project-1" />);
+
+ setEndpoint("https://example.com/hooks/kaneo");
+ fireEvent.click(eventCheckbox("dueDateReminder"));
+ fireEvent.change(leadTimeInput(), { target: { value: "0" } });
+ fireEvent.click(eventCheckbox("dueDateReminder"));
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:genericWebhookIntegration.connect",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.createIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ data: expect.objectContaining({
+ webhookUrl: "https://example.com/hooks/kaneo",
+ events: expect.objectContaining({ dueDateReminder: false }),
+ }),
+ }),
+ );
+ expect(mocks.createIntegration.mock.calls[0]?.[0].data).not.toHaveProperty(
+ "dueDateReminderLeadTimeMinutes",
+ );
+ });
+
+ it("keeps the saved endpoint when the field is left empty", async () => {
+ mocks.integration = connectedIntegration;
+ render(<GenericWebhookIntegrationSettings projectId="project-1" />);
+
+ expect(
+ screen.getByLabelText("settings:genericWebhookIntegration.webhookLabel"),
+ ).toHaveAttribute(
+ "placeholder",
+ "settings:chatIntegrations.savedUrlPlaceholder",
+ );
+ expect(
+ screen.getByText(
+ "settings:genericWebhookIntegration.secretHintConfigured",
+ ),
+ ).toBeTruthy();
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.saveChanges",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.updateIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ json: {
+ webhookUrl: undefined,
+ secret: undefined,
+ events: toGenericWebhookEvents(),
+ },
+ }),
+ );
+ });
+
+ it("disconnects only after confirmation", async () => {
+ mocks.integration = connectedIntegration;
+ render(<GenericWebhookIntegrationSettings projectId="project-1" />);
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+ const dialog = await screen.findByRole("alertdialog");
+ expect(mocks.deleteIntegration).not.toHaveBeenCalled();
+
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:chatIntegrations.disconnect",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.deleteIntegration).toHaveBeenCalledWith("project-1"),
+ );
+ });
+});
diff --git a/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-integration-settings.tsx b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-integration-settings.tsx
new file mode 100644
index 000000000..7ac8f08df
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/generic-webhook-integration-settings.tsx
@@ -0,0 +1,177 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import React from "react";
+import { useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { DeliveryActiveRow } from "@/components/project/integrations/delivery-panel/delivery-active-row";
+import { DeliveryFooter } from "@/components/project/integrations/delivery-panel/delivery-footer";
+import { DeliveryPanelSkeleton } from "@/components/project/integrations/delivery-panel/delivery-panel-skeleton";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Form } from "@/components/ui/form";
+import {
+ useCreateGenericWebhookIntegration,
+ useDeleteGenericWebhookIntegration,
+ useUpdateGenericWebhookIntegration,
+} from "@/hooks/mutations/generic-webhook-integration/use-generic-webhook-integration";
+import useGetGenericWebhookIntegration from "@/hooks/queries/generic-webhook-integration/use-get-generic-webhook-integration";
+import { toast } from "@/lib/toast";
+import { buildGenericWebhookRequest } from "./build-generic-webhook-request";
+import { GenericWebhookEventChecklist } from "./generic-webhook-event-checklist";
+import { GenericWebhookFields } from "./generic-webhook-fields";
+import {
+ createGenericWebhookFormSchema,
+ type GenericWebhookFormValues,
+ toGenericWebhookFormValues,
+} from "./generic-webhook-form-values";
+
+export function GenericWebhookIntegrationSettings({
+ projectId,
+}: {
+ projectId: string;
+}) {
+ const { t } = useTranslation();
+ const schema = React.useMemo(
+ () =>
+ createGenericWebhookFormSchema(
+ t("settings:genericWebhookIntegration.validation.leadTimeRange"),
+ ),
+ [t],
+ );
+
+ const { data: integration, isLoading } =
+ useGetGenericWebhookIntegration(projectId);
+ const { mutateAsync: createIntegration, isPending: isCreating } =
+ useCreateGenericWebhookIntegration();
+ const { mutateAsync: updateIntegration, isPending: isUpdating } =
+ useUpdateGenericWebhookIntegration();
+ const { mutateAsync: deleteIntegration, isPending: isDeleting } =
+ useDeleteGenericWebhookIntegration();
+
+ const normalizedValues = React.useMemo(
+ () => toGenericWebhookFormValues(integration),
+ [integration],
+ );
+
+ const form = useForm<GenericWebhookFormValues>({
+ resolver: standardSchemaResolver(schema),
+ defaultValues: normalizedValues,
+ });
+ const { reset } = form;
+
+ React.useEffect(() => {
+ reset(normalizedValues);
+ }, [normalizedValues, reset]);
+
+ const isConnected = Boolean(integration?.webhookConfigured);
+ const isBusy = isCreating || isUpdating || isDeleting;
+
+ const onSubmit = async (values: GenericWebhookFormValues) => {
+ const request = buildGenericWebhookRequest(values, isConnected);
+
+ if (request.kind === "invalid") {
+ form.setError("webhookUrl", {
+ message: t(
+ "settings:genericWebhookIntegration.validation.webhookInvalid",
+ ),
+ });
+ return;
+ }
+
+ try {
+ if (request.kind === "create") {
+ await createIntegration({ projectId, data: request.data });
+ } else {
+ await updateIntegration({ projectId, json: request.json });
+ }
+
+ form.reset({ ...values, webhookUrl: "", secret: "" });
+ toast.success(t("settings:genericWebhookIntegration.toast.saved"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:genericWebhookIntegration.toast.saveError"),
+ );
+ }
+ };
+
+ const handleToggleActive = async (checked: boolean) => {
+ try {
+ await updateIntegration({ projectId, json: { isActive: checked } });
+ toast.success(
+ checked
+ ? t("settings:genericWebhookIntegration.toast.enabled")
+ : t("settings:genericWebhookIntegration.toast.disabled"),
+ );
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:genericWebhookIntegration.toast.updateError"),
+ );
+ }
+ };
+
+ const handleDisconnect = async () => {
+ try {
+ await deleteIntegration(projectId);
+ form.reset(toGenericWebhookFormValues(null));
+ toast.success(t("settings:genericWebhookIntegration.toast.removed"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:genericWebhookIntegration.toast.removeError"),
+ );
+ return false;
+ }
+ };
+
+ if (isLoading) {
+ return <DeliveryPanelSkeleton />;
+ }
+
+ return (
+ <Form {...form}>
+ <form noValidate onSubmit={form.handleSubmit(onSubmit)}>
+ <IntegrationPanel>
+ <IntegrationPanelSection className="space-y-4">
+ {isConnected ? (
+ <DeliveryActiveRow
+ checked={integration?.isActive ?? false}
+ description={t("settings:chatIntegrations.activeDescription")}
+ disabled={isBusy}
+ onCheckedChange={handleToggleActive}
+ title={t("settings:genericWebhookIntegration.activeTitle")}
+ />
+ ) : null}
+ <GenericWebhookFields
+ connected={isConnected}
+ control={form.control}
+ storedSecret={
+ integration?.secretConfigured
+ ? (integration.maskedSecret ?? "••••")
+ : null
+ }
+ />
+ <GenericWebhookEventChecklist control={form.control} />
+ </IntegrationPanelSection>
+ <DeliveryFooter
+ busy={isBusy}
+ connectLabel={t("settings:genericWebhookIntegration.connect")}
+ connected={isConnected}
+ disconnectDescription={t(
+ "settings:genericWebhookIntegration.disconnectDescription",
+ )}
+ disconnectTitle={t(
+ "settings:genericWebhookIntegration.disconnectTitle",
+ )}
+ disconnecting={isDeleting}
+ onDisconnect={handleDisconnect}
+ />
+ </IntegrationPanel>
+ </form>
+ </Form>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/generic-webhook/reminder-lead-time-row.tsx b/apps/web/src/components/project/integrations/generic-webhook/reminder-lead-time-row.tsx
new file mode 100644
index 000000000..c5975c208
--- /dev/null
+++ b/apps/web/src/components/project/integrations/generic-webhook/reminder-lead-time-row.tsx
@@ -0,0 +1,60 @@
+import type { Control } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import {
+ FormControl,
+ FormField,
+ FormItem,
+ FormMessage,
+} from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import {
+ type GenericWebhookFormValues,
+ MAX_LEAD_TIME_HOURS,
+ MIN_LEAD_TIME_HOURS,
+} from "./generic-webhook-form-values";
+
+type ReminderLeadTimeRowProps = {
+ control: Control<GenericWebhookFormValues>;
+};
+
+export function ReminderLeadTimeRow({ control }: ReminderLeadTimeRowProps) {
+ const { t } = useTranslation();
+
+ return (
+ <FormField
+ control={control}
+ name="dueDateReminderLeadTimeHours"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5 ps-6.5">
+ <div className="flex flex-wrap items-center gap-2.5 text-sm text-muted-foreground">
+ <span>
+ {t("settings:genericWebhookIntegration.reminderLeadTimeBefore")}
+ </span>
+ <FormControl>
+ <Input
+ aria-label={t(
+ "settings:genericWebhookIntegration.reminderLeadTimeLabel",
+ )}
+ className="w-16"
+ max={MAX_LEAD_TIME_HOURS}
+ min={MIN_LEAD_TIME_HOURS}
+ name={field.name}
+ onBlur={field.onBlur}
+ onChange={(event) => field.onChange(Number(event.target.value))}
+ ref={field.ref}
+ size="sm"
+ step="any"
+ type="number"
+ value={field.value}
+ />
+ </FormControl>
+ <span>
+ {t("settings:genericWebhookIntegration.reminderLeadTimeAfter")}
+ </span>
+ </div>
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ );
+}
diff --git a/apps/web/src/components/project/integrations/integration-definitions.tsx b/apps/web/src/components/project/integrations/integration-definitions.tsx
index 90ee51f70..84962ad3b 100644
--- a/apps/web/src/components/project/integrations/integration-definitions.tsx
+++ b/apps/web/src/components/project/integrations/integration-definitions.tsx
@@ -9,9 +9,9 @@ import { SlackIcon } from "@/components/icons/slack-icon";
import { TelegramIcon } from "@/components/icons/telegram-icon";
import { DiscordIntegrationSettings } from "@/components/project/discord-integration-settings";
import { GenericWebhookIntegrationSettings } from "@/components/project/generic-webhook-integration-settings";
-import { GiteaIntegrationSettings } from "@/components/project/gitea-integration-settings";
-import { GitHubIntegrationSettings } from "@/components/project/github-integration-settings";
-import { GitlabIntegrationSettings } from "@/components/project/gitlab-integration-settings";
+import { GiteaIntegrationSettings } from "@/components/project/gitea-integration/gitea-integration-settings";
+import { GitHubIntegrationSettings } from "@/components/project/github-integration/github-integration-settings";
+import { GitlabIntegrationSettings } from "@/components/project/gitlab-integration/gitlab-integration-settings";
import { MattermostIntegrationSettings } from "@/components/project/mattermost-integration-settings";
import { SlackIntegrationSettings } from "@/components/project/slack-integration-settings";
import { TelegramIntegrationSettings } from "@/components/project/telegram-integration-settings";
@@ -29,7 +29,6 @@ export type IntegrationId =
export type IntegrationDefinition = {
id: IntegrationId;
category: "code" | "chat";
- // Product names stay untranslated; only the generic webhook needs a key.
name: string | { key: string };
descriptionKey: string;
icon: ComponentType<SVGProps<SVGSVGElement>>;
diff --git a/apps/web/src/components/project/integrations/integration-row.test.tsx b/apps/web/src/components/project/integrations/integration-row.test.tsx
index 8802cccad..f80e02f78 100644
--- a/apps/web/src/components/project/integrations/integration-row.test.tsx
+++ b/apps/web/src/components/project/integrations/integration-row.test.tsx
@@ -3,10 +3,6 @@ import { afterEach, describe, expect, it, vi } from "vite-plus/test";
import type { IntegrationDefinition } from "@/components/project/integrations/integration-definitions";
import { IntegrationRow } from "@/components/project/integrations/integration-row";
-vi.mock("@/components/project/sync-rules/sync-rules-section", () => ({
- SyncRulesSection: () => <p>Sync rules</p>,
-}));
-
vi.mock("react-i18next", () => ({
useTranslation: () => ({ t: (key: string) => key }),
}));
@@ -99,6 +95,14 @@ describe("IntegrationRow", () => {
}),
);
expect(screen.getByText("Integration settings")).toBeVisible();
+ fireEvent.click(
+ screen.getByRole("button", { name: "common:actions.cancel" }),
+ );
+ expect(
+ screen.getByRole("button", {
+ name: "settings:projectIntegrations.connect",
+ }),
+ ).toBeVisible();
});
it.each(["connected", "paused"] as const)(
"shows configuration for a %s integration",
diff --git a/apps/web/src/components/project/integrations/integration-row.tsx b/apps/web/src/components/project/integrations/integration-row.tsx
index 5bf233e78..d0261ccb0 100644
--- a/apps/web/src/components/project/integrations/integration-row.tsx
+++ b/apps/web/src/components/project/integrations/integration-row.tsx
@@ -1,9 +1,10 @@
-import { SyncRulesSection } from "@/components/project/sync-rules/sync-rules-section";
import { useState } from "react";
import { useTranslation } from "react-i18next";
import type { IntegrationStatus } from "@/components/project/integrations/get-integration-status";
import type { IntegrationDefinition } from "@/components/project/integrations/integration-definitions";
import { IntegrationStatusBadge } from "@/components/project/integrations/integration-status-badge";
+import { integrationTriggerLabel } from "@/components/project/integrations/integration-trigger-label";
+import { SettingsIconTile } from "@/components/settings/settings-icon-tile";
import { Button, buttonVariants } from "@/components/ui/button";
import {
Collapsible,
@@ -37,12 +38,12 @@ export function IntegrationRow({
return (
<Collapsible open={open} onOpenChange={setOpen}>
<div className="flex items-center gap-3.5 px-4 py-3.5">
- <span className="flex size-8 shrink-0 items-center justify-center rounded-lg border border-border bg-background">
+ <SettingsIconTile className="text-foreground">
<integration.icon
aria-hidden="true"
className={cn("size-4", integration.iconClassName)}
/>
- </span>
+ </SettingsIconTile>
<div className="min-w-0 flex-1 space-y-0.5">
<div className="flex items-center gap-2">
<p className="truncate text-sm font-medium">{name}</p>
@@ -77,31 +78,13 @@ export function IntegrationRow({
className: "w-24 shrink-0",
})}
>
- {open
- ? t("settings:projectIntegrations.done")
- : state === "loading"
- ? t("common:empty.loading")
- : isSetUp
- ? t("settings:projectIntegrations.configure")
- : t("settings:projectIntegrations.connect")}
+ {t(integrationTriggerLabel(state, open))}
</CollapsibleTrigger>
)}
</div>
<CollapsiblePanel>
- <div className="border-t border-border bg-muted/40 p-4">
+ <div className="border-t border-border bg-muted/30">
<integration.Settings projectId={projectId} />
- {isSetUp &&
- (integration.id === "github" ||
- integration.id === "gitea" ||
- integration.id === "gitlab") && (
- <div className="mt-4">
- <SyncRulesSection
- key={`${projectId}:${integration.id}`}
- projectId={projectId}
- provider={integration.id}
- />
- </div>
- )}
</div>
</CollapsiblePanel>
</Collapsible>
diff --git a/apps/web/src/components/project/integrations/integration-status-badge.tsx b/apps/web/src/components/project/integrations/integration-status-badge.tsx
index 0d8b677a6..d99d85c97 100644
--- a/apps/web/src/components/project/integrations/integration-status-badge.tsx
+++ b/apps/web/src/components/project/integrations/integration-status-badge.tsx
@@ -1,6 +1,6 @@
import { useTranslation } from "react-i18next";
import type { IntegrationState } from "@/components/project/integrations/get-integration-status";
-import { cn } from "@/lib/cn";
+import { StatusBadge } from "@/components/settings/status-badge";
type IntegrationStatusBadgeProps = {
state: IntegrationState;
@@ -18,27 +18,13 @@ export function IntegrationStatusBadge({ state }: IntegrationStatusBadgeProps) {
);
}
- const connected = state === "connected";
-
- return (
- <span
- className={cn(
- "inline-flex h-5 shrink-0 items-center gap-1.5 rounded-full px-2 text-xs font-medium",
- connected
- ? "bg-success/10 text-success-foreground"
- : "bg-warning/10 text-warning-foreground",
- )}
- >
- <span
- aria-hidden="true"
- className={cn(
- "size-1.5 rounded-full",
- connected ? "bg-success" : "bg-warning",
- )}
- />
- {connected
- ? t("settings:projectIntegrations.statusConnected")
- : t("settings:projectIntegrations.statusPaused")}
- </span>
+ return state === "connected" ? (
+ <StatusBadge tone="success">
+ {t("settings:projectIntegrations.statusConnected")}
+ </StatusBadge>
+ ) : (
+ <StatusBadge tone="warning">
+ {t("settings:projectIntegrations.statusPaused")}
+ </StatusBadge>
);
}
diff --git a/apps/web/src/components/project/integrations/integration-trigger-label.test.ts b/apps/web/src/components/project/integrations/integration-trigger-label.test.ts
new file mode 100644
index 000000000..c1fd62d96
--- /dev/null
+++ b/apps/web/src/components/project/integrations/integration-trigger-label.test.ts
@@ -0,0 +1,15 @@
+import { describe, expect, it } from "vite-plus/test";
+import { integrationTriggerLabel } from "./integration-trigger-label";
+
+describe("integrationTriggerLabel", () => {
+ it.each([
+ ["disconnected", false, "settings:projectIntegrations.connect"],
+ ["disconnected", true, "common:actions.cancel"],
+ ["connected", false, "settings:projectIntegrations.configure"],
+ ["paused", true, "settings:projectIntegrations.done"],
+ ["unavailable", true, "settings:projectIntegrations.done"],
+ ["loading", false, "common:empty.loading"],
+ ] as const)("labels %s (open: %s) as %s", (state, open, label) => {
+ expect(integrationTriggerLabel(state, open)).toBe(label);
+ });
+});
diff --git a/apps/web/src/components/project/integrations/integration-trigger-label.ts b/apps/web/src/components/project/integrations/integration-trigger-label.ts
new file mode 100644
index 000000000..30dc42733
--- /dev/null
+++ b/apps/web/src/components/project/integrations/integration-trigger-label.ts
@@ -0,0 +1,16 @@
+import type { IntegrationState } from "@/components/project/integrations/get-integration-status";
+
+export function integrationTriggerLabel(
+ state: IntegrationState,
+ open: boolean,
+) {
+ const isSetUp = state === "connected" || state === "paused";
+ if (open)
+ return state === "disconnected"
+ ? "common:actions.cancel"
+ : "settings:projectIntegrations.done";
+ if (state === "loading") return "common:empty.loading";
+ return isSetUp
+ ? "settings:projectIntegrations.configure"
+ : "settings:projectIntegrations.connect";
+}
diff --git a/apps/web/src/components/project/integrations/integrations-group.tsx b/apps/web/src/components/project/integrations/integrations-group.tsx
index d72a27b40..c712b9a53 100644
--- a/apps/web/src/components/project/integrations/integrations-group.tsx
+++ b/apps/web/src/components/project/integrations/integrations-group.tsx
@@ -4,7 +4,8 @@ import type {
IntegrationId,
} from "@/components/project/integrations/integration-definitions";
import { IntegrationRow } from "@/components/project/integrations/integration-row";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
type IntegrationsGroupProps = {
onRetry: (id: IntegrationId) => void;
@@ -22,9 +23,8 @@ export function IntegrationsGroup({
statuses,
}: IntegrationsGroupProps) {
return (
- <section className="space-y-3">
- <SettingsSectionHeader title={title} />
- <div className="divide-y divide-border overflow-hidden rounded-xl border border-border bg-card">
+ <SettingsSection title={title}>
+ <SettingsCard>
{integrations.map((integration) => (
<IntegrationRow
key={integration.id}
@@ -34,7 +34,7 @@ export function IntegrationsGroup({
onRetry={() => onRetry(integration.id)}
/>
))}
- </div>
- </section>
+ </SettingsCard>
+ </SettingsSection>
);
}
diff --git a/apps/web/src/components/project/integrations/panel/integration-check-line.tsx b/apps/web/src/components/project/integrations/panel/integration-check-line.tsx
new file mode 100644
index 000000000..0dd3f904b
--- /dev/null
+++ b/apps/web/src/components/project/integrations/panel/integration-check-line.tsx
@@ -0,0 +1,42 @@
+import { AlertTriangleIcon, CheckCircle2Icon, XCircleIcon } from "lucide-react";
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type IntegrationCheckLineProps = {
+ tone: "success" | "warning" | "destructive";
+ children: ReactNode;
+ action?: ReactNode;
+};
+
+const icons = {
+ success: CheckCircle2Icon,
+ warning: AlertTriangleIcon,
+ destructive: XCircleIcon,
+};
+
+const iconClasses = {
+ success: "text-success-foreground",
+ warning: "text-warning-foreground",
+ destructive: "text-destructive-foreground",
+};
+
+export function IntegrationCheckLine({
+ tone,
+ children,
+ action,
+}: IntegrationCheckLineProps) {
+ const Icon = icons[tone];
+
+ return (
+ <div role="status" className="flex items-start gap-2">
+ <Icon
+ aria-hidden="true"
+ className={cn("mt-px size-3.5 shrink-0", iconClasses[tone])}
+ />
+ <div className="min-w-0 flex-1 text-xs text-muted-foreground">
+ {children}
+ </div>
+ {action}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/panel/integration-panel-footer.tsx b/apps/web/src/components/project/integrations/panel/integration-panel-footer.tsx
new file mode 100644
index 000000000..b5388bd14
--- /dev/null
+++ b/apps/web/src/components/project/integrations/panel/integration-panel-footer.tsx
@@ -0,0 +1,20 @@
+import type { ReactNode } from "react";
+
+type IntegrationPanelFooterProps = {
+ start?: ReactNode;
+ children?: ReactNode;
+};
+
+export function IntegrationPanelFooter({
+ start,
+ children,
+}: IntegrationPanelFooterProps) {
+ return (
+ <div className="flex flex-wrap items-center gap-2 px-4 py-3">
+ <div className="flex min-w-0 flex-1 items-center gap-2">{start}</div>
+ {children ? (
+ <div className="flex shrink-0 items-center gap-2">{children}</div>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/panel/integration-panel-row.tsx b/apps/web/src/components/project/integrations/panel/integration-panel-row.tsx
new file mode 100644
index 000000000..bcf83c7cf
--- /dev/null
+++ b/apps/web/src/components/project/integrations/panel/integration-panel-row.tsx
@@ -0,0 +1,35 @@
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type IntegrationPanelRowProps = {
+ title: ReactNode;
+ description?: ReactNode;
+ children?: ReactNode;
+ className?: string;
+};
+
+export function IntegrationPanelRow({
+ title,
+ description,
+ children,
+ className,
+}: IntegrationPanelRowProps) {
+ return (
+ <div
+ className={cn(
+ "flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",
+ className,
+ )}
+ >
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <div className="text-sm">{title}</div>
+ {description ? (
+ <div className="text-xs text-muted-foreground">{description}</div>
+ ) : null}
+ </div>
+ {children ? (
+ <div className="flex shrink-0 items-center gap-2">{children}</div>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/panel/integration-panel-section.tsx b/apps/web/src/components/project/integrations/panel/integration-panel-section.tsx
new file mode 100644
index 000000000..32d64f67b
--- /dev/null
+++ b/apps/web/src/components/project/integrations/panel/integration-panel-section.tsx
@@ -0,0 +1,35 @@
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type IntegrationPanelSectionProps = {
+ label?: ReactNode;
+ description?: ReactNode;
+ action?: ReactNode;
+ children: ReactNode;
+ className?: string;
+};
+
+export function IntegrationPanelSection({
+ label,
+ description,
+ action,
+ children,
+ className,
+}: IntegrationPanelSectionProps) {
+ return (
+ <div className={cn("space-y-3 p-4", className)}>
+ {label ? (
+ <div className="flex items-start justify-between gap-4">
+ <div className="space-y-0.5">
+ <p className="text-xs font-medium text-muted-foreground">{label}</p>
+ {description ? (
+ <p className="text-xs text-muted-foreground">{description}</p>
+ ) : null}
+ </div>
+ {action}
+ </div>
+ ) : null}
+ {children}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/panel/integration-panel.tsx b/apps/web/src/components/project/integrations/panel/integration-panel.tsx
new file mode 100644
index 000000000..129fd93d2
--- /dev/null
+++ b/apps/web/src/components/project/integrations/panel/integration-panel.tsx
@@ -0,0 +1,9 @@
+import type { ReactNode } from "react";
+
+type IntegrationPanelProps = {
+ children: ReactNode;
+};
+
+export function IntegrationPanel({ children }: IntegrationPanelProps) {
+ return <div className="flex flex-col divide-y divide-border">{children}</div>;
+}
diff --git a/apps/web/src/components/project/integrations/panel/integration-step.tsx b/apps/web/src/components/project/integrations/panel/integration-step.tsx
new file mode 100644
index 000000000..6e17760b2
--- /dev/null
+++ b/apps/web/src/components/project/integrations/panel/integration-step.tsx
@@ -0,0 +1,59 @@
+import { CheckIcon } from "lucide-react";
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type IntegrationStepProps = {
+ number: number;
+ title: ReactNode;
+ description?: ReactNode;
+ aside?: ReactNode;
+ done?: boolean;
+ last?: boolean;
+ children?: ReactNode;
+};
+
+export function IntegrationStep({
+ number,
+ title,
+ description,
+ aside,
+ done = false,
+ last = false,
+ children,
+}: IntegrationStepProps) {
+ return (
+ <li className="flex gap-3.5">
+ <div className="flex w-8 shrink-0 flex-col items-center">
+ <span
+ className={cn(
+ "flex size-[22px] items-center justify-center rounded-full text-[11px] font-semibold",
+ done
+ ? "bg-success/15 text-success-foreground"
+ : "border border-foreground/30 text-foreground",
+ )}
+ >
+ {done ? (
+ <CheckIcon aria-hidden="true" className="size-3" strokeWidth={3} />
+ ) : (
+ number
+ )}
+ </span>
+ {last ? null : (
+ <span aria-hidden="true" className="mt-1.5 w-px flex-1 bg-border" />
+ )}
+ </div>
+ <div className={cn("min-w-0 flex-1 space-y-3", !last && "pb-5")}>
+ <div className="flex items-start gap-3">
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <p className="text-sm font-medium">{title}</p>
+ {description ? (
+ <p className="text-xs text-muted-foreground">{description}</p>
+ ) : null}
+ </div>
+ {aside}
+ </div>
+ {children}
+ </div>
+ </li>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/panel/integration-steps.tsx b/apps/web/src/components/project/integrations/panel/integration-steps.tsx
new file mode 100644
index 000000000..4f3773617
--- /dev/null
+++ b/apps/web/src/components/project/integrations/panel/integration-steps.tsx
@@ -0,0 +1,9 @@
+import type { ReactNode } from "react";
+
+type IntegrationStepsProps = {
+ children: ReactNode;
+};
+
+export function IntegrationSteps({ children }: IntegrationStepsProps) {
+ return <ol className="p-4">{children}</ol>;
+}
diff --git a/apps/web/src/components/project/integrations/telegram/build-telegram-request.test.ts b/apps/web/src/components/project/integrations/telegram/build-telegram-request.test.ts
new file mode 100644
index 000000000..1007a51e6
--- /dev/null
+++ b/apps/web/src/components/project/integrations/telegram/build-telegram-request.test.ts
@@ -0,0 +1,73 @@
+import { describe, expect, it } from "vite-plus/test";
+import { toChatEvents } from "@/components/project/integrations/chat-webhook/chat-events";
+import { buildTelegramRequest } from "./build-telegram-request";
+import type { TelegramFormValues } from "./telegram-form-values";
+
+const token = "123456789:AAExampleBotTokenValue1234";
+
+function values(overrides: Partial<TelegramFormValues> = {}) {
+ return {
+ botToken: token,
+ chatId: "-1001234567890",
+ threadId: "",
+ chatLabel: "",
+ events: toChatEvents(),
+ ...overrides,
+ };
+}
+
+describe("buildTelegramRequest", () => {
+ it("requires a chat ID", () => {
+ expect(buildTelegramRequest(values({ chatId: " " }), false)).toEqual({
+ kind: "invalid",
+ field: "chatId",
+ messageKey: "settings:telegramIntegration.validation.chatIdRequired",
+ });
+ });
+
+ it("rejects a topic ID that is not a positive number", () => {
+ expect(
+ buildTelegramRequest(values({ threadId: "0" }), false),
+ ).toMatchObject({ kind: "invalid", field: "threadId" });
+ expect(
+ buildTelegramRequest(values({ threadId: "abc" }), true),
+ ).toMatchObject({ kind: "invalid", field: "threadId" });
+ });
+
+ it("requires a valid bot token before connecting", () => {
+ expect(buildTelegramRequest(values({ botToken: "" }), false)).toMatchObject(
+ { kind: "invalid", field: "botToken" },
+ );
+ expect(
+ buildTelegramRequest(values({ botToken: "not-a-token" }), true),
+ ).toMatchObject({ kind: "invalid", field: "botToken" });
+ });
+
+ it("creates with optional fields left out", () => {
+ expect(buildTelegramRequest(values({ threadId: "42" }), false)).toEqual({
+ kind: "create",
+ data: {
+ botToken: token,
+ chatId: "-1001234567890",
+ threadId: 42,
+ chatLabel: undefined,
+ events: toChatEvents(),
+ },
+ });
+ });
+
+ it("keeps the saved token and clears optional fields on update", () => {
+ expect(
+ buildTelegramRequest(values({ botToken: "", chatLabel: " " }), true),
+ ).toEqual({
+ kind: "update",
+ json: {
+ botToken: undefined,
+ chatId: "-1001234567890",
+ threadId: null,
+ chatLabel: null,
+ events: toChatEvents(),
+ },
+ });
+ });
+});
diff --git a/apps/web/src/components/project/integrations/telegram/build-telegram-request.ts b/apps/web/src/components/project/integrations/telegram/build-telegram-request.ts
new file mode 100644
index 000000000..fb2aa10df
--- /dev/null
+++ b/apps/web/src/components/project/integrations/telegram/build-telegram-request.ts
@@ -0,0 +1,79 @@
+import type { CreateTelegramIntegrationRequest } from "@/fetchers/telegram-integration/create-telegram-integration";
+import type { UpdateTelegramIntegrationRequest } from "@/fetchers/telegram-integration/update-telegram-integration";
+import type { TelegramFormValues } from "./telegram-form-values";
+
+export type TelegramRequest =
+ | {
+ kind: "invalid";
+ field: "botToken" | "chatId" | "threadId";
+ messageKey: string;
+ }
+ | { kind: "create"; data: CreateTelegramIntegrationRequest }
+ | { kind: "update"; json: UpdateTelegramIntegrationRequest };
+
+function isValidBotToken(value: string): boolean {
+ return /^\d+:[A-Za-z0-9_-]{20,}$/.test(value);
+}
+
+function isValidThreadId(value: string): boolean {
+ return /^\d+$/.test(value) && Number(value) > 0;
+}
+
+export function buildTelegramRequest(
+ values: TelegramFormValues,
+ connected: boolean,
+): TelegramRequest {
+ const botToken = values.botToken.trim();
+ const chatId = values.chatId.trim();
+ const threadId = values.threadId.trim();
+ const chatLabel = values.chatLabel.trim();
+ const parsedThreadId = threadId ? Number(threadId) : undefined;
+
+ if (!chatId) {
+ return {
+ kind: "invalid",
+ field: "chatId",
+ messageKey: "settings:telegramIntegration.validation.chatIdRequired",
+ };
+ }
+
+ if (threadId && !isValidThreadId(threadId)) {
+ return {
+ kind: "invalid",
+ field: "threadId",
+ messageKey: "settings:telegramIntegration.validation.threadIdInvalid",
+ };
+ }
+
+ if ((!connected || botToken) && !isValidBotToken(botToken)) {
+ return {
+ kind: "invalid",
+ field: "botToken",
+ messageKey: "settings:telegramIntegration.validation.botTokenInvalid",
+ };
+ }
+
+ if (!connected) {
+ return {
+ kind: "create",
+ data: {
+ botToken,
+ chatId,
+ threadId: parsedThreadId,
+ chatLabel: chatLabel || undefined,
+ events: values.events,
+ },
+ };
+ }
+
+ return {
+ kind: "update",
+ json: {
+ botToken: botToken || undefined,
+ chatId,
+ threadId: parsedThreadId ?? null,
+ chatLabel: chatLabel || null,
+ events: values.events,
+ },
+ };
+}
diff --git a/apps/web/src/components/project/integrations/telegram/telegram-fields.tsx b/apps/web/src/components/project/integrations/telegram/telegram-fields.tsx
new file mode 100644
index 000000000..55682e5c1
--- /dev/null
+++ b/apps/web/src/components/project/integrations/telegram/telegram-fields.tsx
@@ -0,0 +1,128 @@
+import type { Control } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { OptionalMarker } from "@/components/project/integrations/delivery-panel/optional-marker";
+import { SavedValueInput } from "@/components/project/integrations/delivery-panel/saved-value-input";
+import {
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import type { TelegramFormValues } from "./telegram-form-values";
+
+type TelegramFieldsProps = {
+ control: Control<TelegramFormValues>;
+ connected: boolean;
+ maskedBotToken: string | undefined;
+};
+
+export function TelegramFields({
+ control,
+ connected,
+ maskedBotToken,
+}: TelegramFieldsProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="grid gap-3 sm:grid-cols-2">
+ <FormField
+ control={control}
+ name="botToken"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5">
+ <FormLabel>
+ {t("settings:telegramIntegration.botTokenLabel")}
+ </FormLabel>
+ <SavedValueInput
+ {...field}
+ autoComplete="off"
+ className={connected ? undefined : "font-mono"}
+ placeholder={
+ connected
+ ? t("settings:telegramIntegration.botTokenSavedPlaceholder")
+ : t("settings:telegramIntegration.botTokenPlaceholder")
+ }
+ saved={connected && !field.value}
+ type="password"
+ />
+ <FormDescription className="text-xs">
+ {connected
+ ? t("settings:telegramIntegration.botTokenHintConfigured", {
+ token: maskedBotToken,
+ })
+ : t("settings:telegramIntegration.botTokenHint")}
+ </FormDescription>
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="chatId"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5">
+ <FormLabel>
+ {t("settings:telegramIntegration.chatIdLabel")}
+ </FormLabel>
+ <FormControl>
+ <Input
+ {...field}
+ className="font-mono"
+ placeholder={t(
+ "settings:telegramIntegration.chatIdPlaceholder",
+ )}
+ />
+ </FormControl>
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="threadId"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5">
+ <FormLabel>
+ {t("settings:telegramIntegration.threadIdLabel")}{" "}
+ <OptionalMarker />
+ </FormLabel>
+ <FormControl>
+ <Input
+ {...field}
+ inputMode="numeric"
+ placeholder={t(
+ "settings:telegramIntegration.threadIdPlaceholder",
+ )}
+ />
+ </FormControl>
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={control}
+ name="chatLabel"
+ render={({ field }) => (
+ <FormItem className="space-y-1.5">
+ <FormLabel>
+ {t("settings:telegramIntegration.chatLabelLabel")}{" "}
+ <OptionalMarker />
+ </FormLabel>
+ <FormControl>
+ <Input
+ {...field}
+ placeholder={t(
+ "settings:telegramIntegration.chatLabelPlaceholder",
+ )}
+ />
+ </FormControl>
+ <FormMessage className="text-xs" />
+ </FormItem>
+ )}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/telegram/telegram-form-values.ts b/apps/web/src/components/project/integrations/telegram/telegram-form-values.ts
new file mode 100644
index 000000000..99f9a7b1a
--- /dev/null
+++ b/apps/web/src/components/project/integrations/telegram/telegram-form-values.ts
@@ -0,0 +1,41 @@
+import { z } from "zod/v4";
+import {
+ type ChatEvents,
+ toChatEvents,
+} from "@/components/project/integrations/chat-webhook/chat-events";
+import type { TelegramIntegration } from "@/fetchers/telegram-integration/get-telegram-integration";
+
+export type TelegramFormValues = {
+ botToken: string;
+ chatId: string;
+ threadId: string;
+ chatLabel: string;
+ events: ChatEvents;
+};
+
+export const telegramFormSchema = z.object({
+ botToken: z.string(),
+ chatId: z.string(),
+ threadId: z.string(),
+ chatLabel: z.string(),
+ events: z.object({
+ taskCreated: z.boolean(),
+ taskStatusChanged: z.boolean(),
+ taskPriorityChanged: z.boolean(),
+ taskTitleChanged: z.boolean(),
+ taskDescriptionChanged: z.boolean(),
+ taskCommentCreated: z.boolean(),
+ }),
+});
+
+export function toTelegramFormValues(
+ integration: TelegramIntegration | undefined,
+): TelegramFormValues {
+ return {
+ botToken: "",
+ chatId: integration?.chatId ?? "",
+ threadId: integration?.threadId ? String(integration.threadId) : "",
+ chatLabel: integration?.chatLabel ?? "",
+ events: toChatEvents(integration?.events),
+ };
+}
diff --git a/apps/web/src/components/project/integrations/telegram/telegram-integration-settings.test.tsx b/apps/web/src/components/project/integrations/telegram/telegram-integration-settings.test.tsx
new file mode 100644
index 000000000..4086b2c34
--- /dev/null
+++ b/apps/web/src/components/project/integrations/telegram/telegram-integration-settings.test.tsx
@@ -0,0 +1,150 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { toChatEvents } from "@/components/project/integrations/chat-webhook/chat-events";
+import { TelegramIntegrationSettings } from "./telegram-integration-settings";
+
+const mocks = vi.hoisted(() => ({
+ query: {
+ data: null as unknown,
+ isLoading: false,
+ error: null as Error | null,
+ refetch: vi.fn(),
+ isRefetching: false,
+ },
+ createIntegration: vi.fn(),
+ updateIntegration: vi.fn(),
+ deleteIntegration: vi.fn(),
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+vi.mock(
+ "@/hooks/queries/telegram-integration/use-get-telegram-integration",
+ () => ({ default: () => mocks.query }),
+);
+
+vi.mock(
+ "@/hooks/mutations/telegram-integration/use-telegram-integration",
+ () => ({
+ useCreateTelegramIntegration: () => ({
+ mutateAsync: mocks.createIntegration,
+ isPending: false,
+ }),
+ useUpdateTelegramIntegration: () => ({
+ mutateAsync: mocks.updateIntegration,
+ isPending: false,
+ }),
+ useDeleteTelegramIntegration: () => ({
+ mutateAsync: mocks.deleteIntegration,
+ isPending: false,
+ }),
+ }),
+);
+
+vi.mock("@/lib/toast", () => ({
+ toast: { success: vi.fn(), error: vi.fn() },
+}));
+
+describe("TelegramIntegrationSettings", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ mocks.query = {
+ data: null,
+ isLoading: false,
+ error: null,
+ refetch: vi.fn(),
+ isRefetching: false,
+ };
+ mocks.createIntegration.mockReset().mockResolvedValue(undefined);
+ mocks.updateIntegration.mockReset().mockResolvedValue(undefined);
+ mocks.deleteIntegration.mockReset().mockResolvedValue(undefined);
+ });
+
+ it("shows a retryable error when the settings fail to load", () => {
+ mocks.query.error = new Error("Network down");
+ render(<TelegramIntegrationSettings projectId="project-1" />);
+
+ expect(
+ screen.getByText("settings:telegramIntegration.loadError"),
+ ).toBeTruthy();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:chatIntegrations.retry" }),
+ );
+ expect(mocks.query.refetch).toHaveBeenCalledTimes(1);
+ });
+
+ it("requires a chat ID before connecting", async () => {
+ render(<TelegramIntegrationSettings projectId="project-1" />);
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:telegramIntegration.connect",
+ }),
+ );
+
+ expect(
+ await screen.findByText(
+ "settings:telegramIntegration.validation.chatIdRequired",
+ ),
+ ).toBeTruthy();
+ expect(mocks.createIntegration).not.toHaveBeenCalled();
+ });
+
+ it("keeps the saved bot token when the field is left empty", async () => {
+ mocks.query.data = {
+ id: "integration-1",
+ projectId: "project-1",
+ chatId: "-1001234567890",
+ threadId: 7,
+ chatLabel: "Engineering",
+ botTokenConfigured: true,
+ maskedBotToken: "1234:…abcd",
+ events: toChatEvents(),
+ isActive: true,
+ createdAt: "",
+ updatedAt: "",
+ };
+ render(<TelegramIntegrationSettings projectId="project-1" />);
+
+ expect(
+ screen.getByLabelText("settings:telegramIntegration.botTokenLabel"),
+ ).toHaveAttribute(
+ "placeholder",
+ "settings:telegramIntegration.botTokenSavedPlaceholder",
+ );
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:chatIntegrations.saveChanges",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(mocks.updateIntegration).toHaveBeenCalledWith({
+ projectId: "project-1",
+ json: {
+ botToken: undefined,
+ chatId: "-1001234567890",
+ threadId: 7,
+ chatLabel: "Engineering",
+ events: toChatEvents(),
+ },
+ }),
+ );
+ });
+});
diff --git a/apps/web/src/components/project/integrations/telegram/telegram-integration-settings.tsx b/apps/web/src/components/project/integrations/telegram/telegram-integration-settings.tsx
new file mode 100644
index 000000000..7ffd44dad
--- /dev/null
+++ b/apps/web/src/components/project/integrations/telegram/telegram-integration-settings.tsx
@@ -0,0 +1,204 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import React from "react";
+import { useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { CHAT_EVENT_ITEMS } from "@/components/project/integrations/chat-webhook/chat-events";
+import { DeliveryActiveRow } from "@/components/project/integrations/delivery-panel/delivery-active-row";
+import { DeliveryFooter } from "@/components/project/integrations/delivery-panel/delivery-footer";
+import { DeliveryPanelSkeleton } from "@/components/project/integrations/delivery-panel/delivery-panel-skeleton";
+import { EventChecklist } from "@/components/project/integrations/event-checklist/event-checklist";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Form, FormField } from "@/components/ui/form";
+import {
+ useCreateTelegramIntegration,
+ useDeleteTelegramIntegration,
+ useUpdateTelegramIntegration,
+} from "@/hooks/mutations/telegram-integration/use-telegram-integration";
+import useGetTelegramIntegration from "@/hooks/queries/telegram-integration/use-get-telegram-integration";
+import { toast } from "@/lib/toast";
+import { buildTelegramRequest } from "./build-telegram-request";
+import { TelegramFields } from "./telegram-fields";
+import {
+ type TelegramFormValues,
+ telegramFormSchema,
+ toTelegramFormValues,
+} from "./telegram-form-values";
+import { TelegramLoadError } from "./telegram-load-error";
+
+const PROVIDER_NAME = "Telegram";
+
+export function TelegramIntegrationSettings({
+ projectId,
+}: {
+ projectId: string;
+}) {
+ const { t } = useTranslation();
+ const {
+ data: integration,
+ isLoading,
+ error,
+ refetch,
+ isRefetching,
+ } = useGetTelegramIntegration(projectId);
+ const { mutateAsync: createIntegration, isPending: isCreating } =
+ useCreateTelegramIntegration();
+ const { mutateAsync: updateIntegration, isPending: isUpdating } =
+ useUpdateTelegramIntegration();
+ const { mutateAsync: deleteIntegration, isPending: isDeleting } =
+ useDeleteTelegramIntegration();
+ const normalizedValues = React.useMemo(
+ () => toTelegramFormValues(integration),
+ [integration],
+ );
+
+ const form = useForm<TelegramFormValues>({
+ resolver: standardSchemaResolver(telegramFormSchema),
+ defaultValues: toTelegramFormValues(null),
+ });
+ const { reset } = form;
+ const lastResetKeyRef = React.useRef<string | null>(null);
+ const resetKey = `${projectId}:${integration?.id ?? "none"}`;
+
+ React.useEffect(() => {
+ if (form.formState.isDirty && lastResetKeyRef.current === resetKey) {
+ return;
+ }
+
+ reset(normalizedValues);
+ lastResetKeyRef.current = resetKey;
+ }, [form.formState.isDirty, normalizedValues, reset, resetKey]);
+
+ const isConnected = Boolean(integration?.botTokenConfigured);
+ const isBusy = isCreating || isUpdating || isDeleting;
+
+ const onSubmit = async (values: TelegramFormValues) => {
+ const request = buildTelegramRequest(values, isConnected);
+
+ if (request.kind === "invalid") {
+ form.setError(request.field, { message: t(request.messageKey) });
+ return;
+ }
+
+ try {
+ if (request.kind === "create") {
+ await createIntegration({ projectId, data: request.data });
+ } else {
+ await updateIntegration({ projectId, json: request.json });
+ }
+
+ form.reset({
+ ...values,
+ botToken: "",
+ chatId: values.chatId.trim(),
+ threadId: values.threadId.trim(),
+ });
+ toast.success(t("settings:telegramIntegration.toast.saved"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:telegramIntegration.toast.saveError"),
+ );
+ }
+ };
+
+ const handleToggleActive = async (checked: boolean) => {
+ try {
+ await updateIntegration({ projectId, json: { isActive: checked } });
+ toast.success(
+ checked
+ ? t("settings:telegramIntegration.toast.enabled")
+ : t("settings:telegramIntegration.toast.disabled"),
+ );
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:telegramIntegration.toast.updateError"),
+ );
+ }
+ };
+
+ const handleDisconnect = async () => {
+ try {
+ await deleteIntegration(projectId);
+ form.reset(toTelegramFormValues(null));
+ toast.success(t("settings:telegramIntegration.toast.removed"));
+ return true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:telegramIntegration.toast.removeError"),
+ );
+ return false;
+ }
+ };
+
+ if (isLoading) {
+ return <DeliveryPanelSkeleton />;
+ }
+
+ if (error) {
+ return (
+ <TelegramLoadError
+ onRetry={() => void refetch()}
+ retrying={isRefetching}
+ />
+ );
+ }
+
+ return (
+ <Form {...form}>
+ <form noValidate onSubmit={form.handleSubmit(onSubmit)}>
+ <IntegrationPanel>
+ <IntegrationPanelSection className="space-y-4">
+ {isConnected ? (
+ <DeliveryActiveRow
+ checked={integration?.isActive ?? false}
+ description={t("settings:chatIntegrations.activeDescription")}
+ disabled={isBusy}
+ onCheckedChange={handleToggleActive}
+ title={t("settings:chatIntegrations.activeTitle", {
+ provider: PROVIDER_NAME,
+ })}
+ />
+ ) : null}
+ <TelegramFields
+ connected={isConnected}
+ control={form.control}
+ maskedBotToken={integration?.maskedBotToken}
+ />
+ <FormField
+ control={form.control}
+ name="events"
+ render={({ field }) => (
+ <EventChecklist
+ items={CHAT_EVENT_ITEMS}
+ label={t("settings:chatIntegrations.postWhen")}
+ onChange={field.onChange}
+ value={field.value}
+ />
+ )}
+ />
+ </IntegrationPanelSection>
+ <DeliveryFooter
+ busy={isBusy}
+ connectLabel={t("settings:telegramIntegration.connect")}
+ connected={isConnected}
+ disconnectDescription={t(
+ "settings:chatIntegrations.disconnectDescription",
+ { provider: PROVIDER_NAME },
+ )}
+ disconnectTitle={t("settings:chatIntegrations.disconnectTitle", {
+ provider: PROVIDER_NAME,
+ })}
+ disconnecting={isDeleting}
+ onDisconnect={handleDisconnect}
+ />
+ </IntegrationPanel>
+ </form>
+ </Form>
+ );
+}
diff --git a/apps/web/src/components/project/integrations/telegram/telegram-load-error.tsx b/apps/web/src/components/project/integrations/telegram/telegram-load-error.tsx
new file mode 100644
index 000000000..bdacfe6f7
--- /dev/null
+++ b/apps/web/src/components/project/integrations/telegram/telegram-load-error.tsx
@@ -0,0 +1,40 @@
+import { useTranslation } from "react-i18next";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+import { IntegrationPanel } from "@/components/project/integrations/panel/integration-panel";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
+import { Button } from "@/components/ui/button";
+
+type TelegramLoadErrorProps = {
+ retrying: boolean;
+ onRetry: () => void;
+};
+
+export function TelegramLoadError({
+ retrying,
+ onRetry,
+}: TelegramLoadErrorProps) {
+ const { t } = useTranslation();
+
+ return (
+ <IntegrationPanel>
+ <IntegrationPanelSection>
+ <IntegrationCheckLine
+ action={
+ <Button
+ disabled={retrying}
+ onClick={onRetry}
+ size="sm"
+ type="button"
+ variant="outline"
+ >
+ {t("settings:chatIntegrations.retry")}
+ </Button>
+ }
+ tone="destructive"
+ >
+ {t("settings:telegramIntegration.loadError")}
+ </IntegrationCheckLine>
+ </IntegrationPanelSection>
+ </IntegrationPanel>
+ );
+}
diff --git a/apps/web/src/components/project/mattermost-integration-settings.tsx b/apps/web/src/components/project/mattermost-integration-settings.tsx
index 0d288b525..071aef494 100644
--- a/apps/web/src/components/project/mattermost-integration-settings.tsx
+++ b/apps/web/src/components/project/mattermost-integration-settings.tsx
@@ -1,444 +1,15 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { CheckCircle, Trash2 } from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Switch } from "@/components/ui/switch";
-import {
- useCreateMattermostIntegration,
- useDeleteMattermostIntegration,
- useUpdateMattermostIntegration,
-} from "@/hooks/mutations/mattermost-integration/use-mattermost-integration";
-import useGetMattermostIntegration from "@/hooks/queries/mattermost-integration/use-get-mattermost-integration";
-import { toast } from "@/lib/toast";
-
-type MattermostIntegrationFormValues = {
- webhookUrl: string;
- channelName: string;
- taskCreated: boolean;
- taskStatusChanged: boolean;
- taskPriorityChanged: boolean;
- taskTitleChanged: boolean;
- taskDescriptionChanged: boolean;
- taskCommentCreated: boolean;
-};
-
-function EventToggle({
- control,
- name,
- label,
-}: {
- control: ReturnType<
- typeof useForm<MattermostIntegrationFormValues>
- >["control"];
- name: keyof Pick<
- MattermostIntegrationFormValues,
- | "taskCreated"
- | "taskStatusChanged"
- | "taskPriorityChanged"
- | "taskTitleChanged"
- | "taskDescriptionChanged"
- | "taskCommentCreated"
- >;
- label: string;
-}) {
- return (
- <FormField
- control={control}
- name={name}
- render={({ field }) => (
- <FormItem className="flex items-center justify-between rounded-md border px-3 py-2">
- <FormLabel className="text-sm font-medium">{label}</FormLabel>
- <FormControl>
- <Switch
- checked={Boolean(field.value)}
- onCheckedChange={field.onChange}
- />
- </FormControl>
- </FormItem>
- )}
- />
- );
-}
-
-function isValidMattermostWebhookUrl(value: string): boolean {
- return z.url().safeParse(value).success && /^https:\/\/.+/.test(value);
-}
+import { mattermostChatProvider } from "@/components/project/integrations/chat-webhook/chat-webhook-providers";
+import { ChatWebhookSettings } from "@/components/project/integrations/chat-webhook/chat-webhook-settings";
export function MattermostIntegrationSettings({
projectId,
}: {
projectId: string;
}) {
- const { t } = useTranslation();
- const schema = React.useMemo(
- () =>
- z.object({
- webhookUrl: z.string(),
- channelName: z.string(),
- taskCreated: z.boolean(),
- taskStatusChanged: z.boolean(),
- taskPriorityChanged: z.boolean(),
- taskTitleChanged: z.boolean(),
- taskDescriptionChanged: z.boolean(),
- taskCommentCreated: z.boolean(),
- }),
- [],
- );
-
- const { data: integration, isLoading } =
- useGetMattermostIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateMattermostIntegration();
- const { mutateAsync: updateIntegration, isPending: isUpdating } =
- useUpdateMattermostIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteMattermostIntegration();
-
- const normalizedValues = React.useMemo<MattermostIntegrationFormValues>(
- () => ({
- webhookUrl: "",
- channelName: integration?.channelName ?? "",
- taskCreated: integration?.events?.taskCreated ?? true,
- taskStatusChanged: integration?.events?.taskStatusChanged ?? true,
- taskPriorityChanged: integration?.events?.taskPriorityChanged ?? false,
- taskTitleChanged: integration?.events?.taskTitleChanged ?? false,
- taskDescriptionChanged:
- integration?.events?.taskDescriptionChanged ?? false,
- taskCommentCreated: integration?.events?.taskCommentCreated ?? true,
- }),
- [integration],
- );
-
- const form = useForm<MattermostIntegrationFormValues>({
- resolver: standardSchemaResolver(schema),
- defaultValues: {
- webhookUrl: "",
- channelName: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- },
- });
- const { reset } = form;
- const lastResetKeyRef = React.useRef<string | null>(null);
- const resetKey = `${projectId}:${integration?.id ?? "none"}`;
-
- React.useEffect(() => {
- if (form.formState.isDirty && lastResetKeyRef.current === resetKey) {
- return;
- }
-
- reset(normalizedValues);
- lastResetKeyRef.current = resetKey;
- }, [form.formState.isDirty, normalizedValues, reset, resetKey]);
-
- const isConnected = Boolean(integration?.webhookConfigured);
- const isBusy = isCreating || isUpdating || isDeleting;
-
- const onSubmit = async (values: MattermostIntegrationFormValues) => {
- try {
- const trimmedWebhookUrl = values.webhookUrl.trim();
- const events = {
- taskCreated: values.taskCreated,
- taskStatusChanged: values.taskStatusChanged,
- taskPriorityChanged: values.taskPriorityChanged,
- taskTitleChanged: values.taskTitleChanged,
- taskDescriptionChanged: values.taskDescriptionChanged,
- taskCommentCreated: values.taskCommentCreated,
- };
-
- if (!isConnected) {
- if (
- !trimmedWebhookUrl ||
- !isValidMattermostWebhookUrl(trimmedWebhookUrl)
- ) {
- form.setError("webhookUrl", {
- message: t(
- "settings:mattermostIntegration.validation.webhookInvalid",
- ),
- });
- return;
- }
-
- await createIntegration({
- projectId,
- data: {
- webhookUrl: trimmedWebhookUrl,
- channelName: values.channelName || undefined,
- events,
- },
- });
- } else {
- if (
- trimmedWebhookUrl &&
- !isValidMattermostWebhookUrl(trimmedWebhookUrl)
- ) {
- form.setError("webhookUrl", {
- message: t(
- "settings:mattermostIntegration.validation.webhookInvalid",
- ),
- });
- return;
- }
-
- await updateIntegration({
- projectId,
- json: {
- webhookUrl: trimmedWebhookUrl || undefined,
- channelName: values.channelName.trim() || null,
- events,
- },
- });
- }
-
- form.reset({
- ...values,
- webhookUrl: trimmedWebhookUrl,
- });
- toast.success(t("settings:mattermostIntegration.toast.saved"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:mattermostIntegration.toast.saveError"),
- );
- }
- };
-
- const handleToggleActive = async (checked: boolean) => {
- try {
- await updateIntegration({
- projectId,
- json: { isActive: checked },
- });
- toast.success(
- checked
- ? t("settings:mattermostIntegration.toast.enabled")
- : t("settings:mattermostIntegration.toast.disabled"),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:mattermostIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- form.reset({
- webhookUrl: "",
- channelName: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- });
- toast.success(t("settings:mattermostIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:mattermostIntegration.toast.removeError"),
- );
- }
- };
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- </div>
- );
- }
-
return (
- <div className="space-y-4">
- <Form {...form}>
- <form className="space-y-4" onSubmit={form.handleSubmit(onSubmit)}>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <div className="flex items-center gap-2">
- <h3 className="font-medium">
- {t("settings:mattermostIntegration.connectionTitle")}
- </h3>
- </div>
- <p className="text-sm text-muted-foreground">
- {t("settings:mattermostIntegration.connectionHint")}
- </p>
- </div>
-
- <div className="flex items-center gap-3">
- {isConnected && (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {integration?.isActive
- ? t("settings:mattermostIntegration.connected")
- : t("settings:mattermostIntegration.paused")}
- </span>
- </div>
- )}
- <Switch
- checked={integration?.isActive ?? false}
- disabled={!isConnected || isBusy}
- onCheckedChange={handleToggleActive}
- />
- </div>
- </div>
-
- <FormField
- control={form.control}
- name="webhookUrl"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:mattermostIntegration.webhookLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- autoComplete="off"
- placeholder={t(
- "settings:mattermostIntegration.webhookPlaceholder",
- )}
- type="url"
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:mattermostIntegration.webhookHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="channelName"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:mattermostIntegration.channelLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- placeholder={t(
- "settings:mattermostIntegration.channelPlaceholder",
- )}
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:mattermostIntegration.channelHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
- </div>
-
- <div className="space-y-3 rounded-xl border border-border bg-card p-4">
- <div>
- <h3 className="font-medium">
- {t("settings:mattermostIntegration.eventsTitle")}
- </h3>
- <p className="text-sm text-muted-foreground">
- {t("settings:mattermostIntegration.eventsHint")}
- </p>
- </div>
-
- <EventToggle
- control={form.control}
- label={t("settings:mattermostIntegration.events.taskCreated")}
- name="taskCreated"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:mattermostIntegration.events.taskStatusChanged",
- )}
- name="taskStatusChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:mattermostIntegration.events.taskPriorityChanged",
- )}
- name="taskPriorityChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:mattermostIntegration.events.taskTitleChanged",
- )}
- name="taskTitleChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:mattermostIntegration.events.taskDescriptionChanged",
- )}
- name="taskDescriptionChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:mattermostIntegration.events.taskCommentCreated",
- )}
- name="taskCommentCreated"
- />
- </div>
-
- <div className="flex flex-wrap gap-2">
- <Button disabled={isBusy} type="submit">
- {isConnected
- ? t("settings:mattermostIntegration.saveChanges")
- : t("settings:mattermostIntegration.connect")}
- </Button>
- {isConnected && (
- <Button
- disabled={isBusy}
- onClick={handleDelete}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:mattermostIntegration.disconnect")}
- </Button>
- )}
- </div>
- </form>
- </Form>
- </div>
+ <ChatWebhookSettings
+ projectId={projectId}
+ provider={mattermostChatProvider}
+ />
);
}
diff --git a/apps/web/src/components/project/repository-browser-modal.test.tsx b/apps/web/src/components/project/repository-browser-modal.test.tsx
deleted file mode 100644
index acb0d327b..000000000
--- a/apps/web/src/components/project/repository-browser-modal.test.tsx
+++ /dev/null
@@ -1,153 +0,0 @@
-import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
-import {
- cleanup,
- fireEvent,
- render,
- screen,
- waitFor,
-} from "@testing-library/react";
-import {
- afterEach,
- beforeEach,
- describe,
- expect,
- it,
- vi,
-} from "vite-plus/test";
-import { RepositoryBrowserModal } from "./repository-browser-modal";
-
-const m = vi.hoisted(() => ({ list: vi.fn(), userId: "user-1" }));
-vi.mock("@/fetchers/github-integration/list-repositories", () => ({
- default: m.list,
-}));
-vi.mock("@/fetchers/github-integration/get-app-info", () => ({
- default: async () => ({ appName: null }),
-}));
-vi.mock("@/lib/auth-client", () => ({
- authClient: { useSession: () => ({ data: { user: { id: m.userId } } }) },
-}));
-vi.mock("react-i18next", () => ({
- useTranslation: () => ({ t: (key: string) => key }),
- initReactI18next: { type: "3rdParty", init: vi.fn() },
-}));
-const clients: QueryClient[] = [];
-afterEach(() => {
- cleanup();
- for (const client of clients) client.clear();
- clients.length = 0;
-});
-beforeEach(() => {
- vi.clearAllMocks();
- m.userId = "user-1";
-});
-function result(
- name: string,
- nextPage: { installationPage: number; repositoryPage: number } | null,
-) {
- return {
- repositories: name
- ? [
- {
- id: 1,
- name,
- full_name: `owner/${name}`,
- owner: { login: "owner", avatar_url: "", type: "User" },
- private: true,
- html_url: "https://github.com/owner/repo",
- description: "",
- updated_at: "2026-09-01",
- },
- ]
- : [],
- installations: [],
- total: name ? 1 : 0,
- nextPage,
- };
-}
-function show() {
- const client = new QueryClient({
- defaultOptions: {
- queries: { retry: false, staleTime: Number.POSITIVE_INFINITY },
- },
- });
- clients.push(client);
- const selected = vi.fn();
- const node = () => (
- <QueryClientProvider client={client}>
- <RepositoryBrowserModal
- open
- projectId="project"
- onOpenChange={vi.fn()}
- onSelectRepository={selected}
- />
- </QueryClientProvider>
- );
- const view = render(node());
- return { selected, refresh: () => view.rerender(node()) };
-}
-describe("bounded GitHub repository browser", () => {
- it("requests later pages only on Next, including an empty installation page, and supports Previous", async () => {
- m.list
- .mockResolvedValueOnce(
- result("first", { installationPage: 2, repositoryPage: 1 }),
- )
- .mockResolvedValueOnce(
- result("", { installationPage: 3, repositoryPage: 1 }),
- )
- .mockResolvedValueOnce(result("last", null));
- const { selected } = show();
- await screen.findByText("owner/first");
- expect(m.list).toHaveBeenCalledTimes(1);
- fireEvent.click(screen.getByText("common:pagination.next"));
- await screen.findByText("settings:repositoryBrowser.emptyTitle");
- expect(m.list).toHaveBeenLastCalledWith("project", {
- installationPage: 2,
- repositoryPage: 1,
- });
- fireEvent.click(screen.getByText("common:pagination.next"));
- await screen.findByText("owner/last");
- expect(
- screen.getByText("common:pagination.next").closest("button"),
- ).toBeDisabled();
- fireEvent.click(screen.getByText("common:pagination.previous"));
- await screen.findByText("settings:repositoryBrowser.emptyTitle");
- fireEvent.click(screen.getByText("common:pagination.previous"));
- await screen.findByText("owner/first");
- expect(m.list).toHaveBeenCalledTimes(3);
- fireEvent.click(screen.getByText("owner/first"));
- expect(selected).toHaveBeenCalledWith({ owner: "owner", name: "first" });
- });
- it("isolates cached results after an account switch", async () => {
- m.list
- .mockResolvedValueOnce(result("private-old-user", null))
- .mockRejectedValueOnce(new Error("Forbidden"));
- const { refresh } = show();
- await screen.findByText("owner/private-old-user");
- m.userId = "user-2";
- refresh();
- expect(screen.queryByText("owner/private-old-user")).toBeNull();
- await screen.findByText("settings:repositoryBrowser.loadError");
- expect(screen.queryByText("owner/private-old-user")).toBeNull();
- });
- it("retries a failed continuation without silently showing the previous page", async () => {
- m.list
- .mockResolvedValueOnce(
- result("first", { installationPage: 1, repositoryPage: 2 }),
- )
- .mockRejectedValueOnce(new Error("Unavailable"))
- .mockResolvedValueOnce(result("second", null));
- show();
- await screen.findByText("owner/first");
- fireEvent.click(screen.getByText("common:pagination.next"));
- await screen.findByText("settings:repositoryBrowser.loadError");
- expect(screen.queryByText("owner/first")).toBeNull();
- fireEvent.click(screen.getByText("settings:repositoryBrowser.tryAgain"));
- await screen.findByText("owner/second");
- await waitFor(() =>
- expect(m.list).toHaveBeenLastCalledWith("project", {
- installationPage: 1,
- repositoryPage: 2,
- }),
- );
- });
-});
diff --git a/apps/web/src/components/project/repository-browser-modal.tsx b/apps/web/src/components/project/repository-browser-modal.tsx
deleted file mode 100644
index c859e1afb..000000000
--- a/apps/web/src/components/project/repository-browser-modal.tsx
+++ /dev/null
@@ -1,369 +0,0 @@
-import { useQuery } from "@tanstack/react-query";
-import {
- Check,
- Clock,
- ExternalLink,
- GitBranch,
- Globe,
- Lock,
- Search,
- Settings,
-} from "lucide-react";
-import React from "react";
-import { useTranslation } from "react-i18next";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
-import { Badge } from "@/components/ui/badge";
-import { Button } from "@/components/ui/button";
-import {
- Dialog,
- DialogContent,
- DialogDescription,
- DialogHeader,
- DialogTitle,
-} from "@/components/ui/dialog";
-import { Input } from "@/components/ui/input";
-import { Separator } from "@/components/ui/separator";
-import getGitHubAppInfo from "@/fetchers/github-integration/get-app-info";
-import listRepositories, {
- type ListRepositoriesResponse,
- type RepositoryPage,
-} from "@/fetchers/github-integration/list-repositories";
-import { authClient } from "@/lib/auth-client";
-import { cn } from "@/lib/cn";
-import { openExternalWebUrl } from "@/lib/external-url";
-import { getInitials } from "@/lib/get-initials";
-
-type RepositoryBrowserModalProps = {
- projectId: string;
- open: boolean;
- onOpenChange: (open: boolean) => void;
- onSelectRepository: (repository: { owner: string; name: string }) => void;
- selectedRepository?: string;
-};
-
-export function RepositoryBrowserModal({
- projectId,
- open,
- onOpenChange,
- onSelectRepository,
- selectedRepository,
-}: RepositoryBrowserModalProps) {
- const { t } = useTranslation();
- const [searchTerm, setSearchTerm] = React.useState("");
- const { data: session } = authClient.useSession();
- const [pageHistory, setPageHistory] = React.useState<RepositoryPage[]>([
- { installationPage: 1, repositoryPage: 1 },
- ]);
- const page = pageHistory[pageHistory.length - 1] ?? {
- installationPage: 1,
- repositoryPage: 1,
- };
-
- const { data, isLoading, error, refetch } = useQuery({
- queryKey: ["github-repositories", projectId, session?.user.id, page],
- queryFn: () => listRepositories(projectId, page),
- enabled: open && Boolean(session?.user.id),
- });
-
- const { data: appInfo } = useQuery({
- queryKey: ["github-app-info", session?.user.id],
- queryFn: getGitHubAppInfo,
- enabled: open,
- });
-
- const filteredRepositories = React.useMemo(() => {
- if (!data?.repositories) return [];
-
- if (!searchTerm) return data.repositories;
-
- const search = searchTerm.toLowerCase();
- return data.repositories.filter(
- (repo) =>
- repo.full_name.toLowerCase().includes(search) ||
- repo.description?.toLowerCase().includes(search),
- );
- }, [data?.repositories, searchTerm]);
-
- const handleSelectRepository = (
- repository: ListRepositoriesResponse["repositories"][number],
- ) => {
- onSelectRepository({
- owner: repository.owner.login,
- name: repository.name,
- });
- onOpenChange(false);
- };
-
- const formatTimeAgo = (dateString: string) => {
- const date = new Date(dateString);
- const now = new Date();
- const diffInSeconds = Math.floor((now.getTime() - date.getTime()) / 1000);
-
- if (diffInSeconds < 60)
- return t("settings:repositoryBrowser.relativeJustNow");
- if (diffInSeconds < 3600) {
- return t("settings:repositoryBrowser.relativeMinutesAgo", {
- count: Math.floor(diffInSeconds / 60),
- });
- }
- if (diffInSeconds < 86400) {
- return t("settings:repositoryBrowser.relativeHoursAgo", {
- count: Math.floor(diffInSeconds / 3600),
- });
- }
- if (diffInSeconds < 2592000) {
- return t("settings:repositoryBrowser.relativeDaysAgo", {
- count: Math.floor(diffInSeconds / 86400),
- });
- }
-
- return date.toLocaleDateString();
- };
-
- const resetAndCloseModal = (open: boolean) => {
- if (!open) {
- setSearchTerm("");
- setPageHistory([{ installationPage: 1, repositoryPage: 1 }]);
- }
- onOpenChange(open);
- };
-
- return (
- <Dialog open={open} onOpenChange={resetAndCloseModal}>
- <DialogContent className="!max-w-2xl max-h-[85vh] p-0 gap-0 flex flex-col">
- <DialogHeader className="px-6 pt-6 pb-4">
- <DialogTitle className="flex items-center gap-2">
- <GitBranch className="w-5 h-5" />
- {t("settings:repositoryBrowser.title")}
- </DialogTitle>
- <DialogDescription className="mt-1.5">
- {t("settings:repositoryBrowser.description")}
- </DialogDescription>
- </DialogHeader>
-
- <Separator />
-
- <div className="px-6 py-4">
- <div className="relative">
- <Search className="absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4" />
- <Input
- placeholder={t("settings:repositoryBrowser.searchPlaceholder")}
- value={searchTerm}
- onChange={(e) => setSearchTerm(e.target.value)}
- className="pl-10"
- />
- </div>
- </div>
-
- <Separator />
-
- <div className="flex-1 overflow-y-auto min-h-[300px]">
- {isLoading && (
- <div className="px-6 py-4 space-y-3">
- {[0, 1, 2, 3, 4].map((slot) => (
- <div
- key={`loading-skeleton-repo-${slot}`}
- className="p-4 border border-border rounded-md bg-sidebar animate-pulse"
- >
- <div className="flex items-center gap-3">
- <div className="w-8 h-8 bg-muted rounded-full" />
- <div className="flex-1">
- <div className="w-48 h-4 bg-muted rounded mb-2" />
- <div className="w-32 h-3 bg-muted rounded" />
- </div>
- </div>
- </div>
- ))}
- </div>
- )}
-
- {error && (
- <div className="text-center py-12 px-6">
- <div className="text-destructive mb-3 font-medium">
- {t("settings:repositoryBrowser.loadError")}
- </div>
- <Button variant="outline" onClick={() => refetch()}>
- {t("settings:repositoryBrowser.tryAgain")}
- </Button>
- </div>
- )}
-
- {data && !isLoading && (
- <>
- {data.repositories.length === 0 && (
- <div className="text-center py-12 px-6">
- <GitBranch className="w-12 h-12 text-muted-foreground mx-auto mb-4" />
- <h3 className="text-lg font-medium mb-2">
- {t("settings:repositoryBrowser.emptyTitle")}
- </h3>
- <p className="text-muted-foreground text-sm mb-6 max-w-md mx-auto">
- {t("settings:repositoryBrowser.emptyHint")}
- </p>
- {appInfo?.appName && (
- <Button
- onClick={() =>
- window.open(
- `https://github.com/apps/${appInfo.appName}`,
- "_blank",
- )
- }
- >
- <ExternalLink className="w-4 h-4 mr-2" />
- {t("settings:repositoryBrowser.installGithubApp")}
- </Button>
- )}
- </div>
- )}
-
- {filteredRepositories.length > 0 && (
- <div className="px-6 py-4 space-y-2">
- {filteredRepositories.map((repository) => (
- <button
- key={repository.id}
- type="button"
- onClick={() => handleSelectRepository(repository)}
- className={cn(
- "w-full p-4 border rounded-md text-left transition-colors group bg-sidebar",
- "hover:bg-accent focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
- selectedRepository === repository.full_name
- ? "border-primary bg-accent"
- : "border-border",
- )}
- >
- <div className="flex items-center justify-between">
- <div className="flex items-center gap-3 flex-1 min-w-0">
- <Avatar className="w-8 h-8 flex-shrink-0">
- <AvatarImage src={repository.owner.avatar_url} />
- <AvatarFallback>
- {getInitials(repository.owner.login)}
- </AvatarFallback>
- </Avatar>
-
- <div className="flex-1 min-w-0">
- <div className="flex items-center gap-2 mb-1">
- <span className="font-medium truncate">
- {repository.full_name}
- </span>
- <div className="flex items-center gap-1 flex-shrink-0">
- {repository.private ? (
- <Lock className="w-3 h-3 text-muted-foreground" />
- ) : (
- <Globe className="w-3 h-3 text-muted-foreground" />
- )}
- <Badge variant="secondary" className="text-xs">
- {repository.owner.type}
- </Badge>
- </div>
- </div>
-
- {repository.description && (
- <p className="text-sm text-muted-foreground truncate mb-1">
- {repository.description}
- </p>
- )}
-
- <div className="flex items-center gap-4 text-xs text-muted-foreground">
- <div className="flex items-center gap-1">
- <Clock className="w-3 h-3" />
- {t(
- "settings:repositoryBrowser.updatedPrefix",
- )}{" "}
- {formatTimeAgo(repository.updated_at)}
- </div>
- </div>
- </div>
- </div>
-
- <div className="flex items-center gap-2 flex-shrink-0 ml-3">
- {selectedRepository === repository.full_name && (
- <Check className="w-4 h-4 text-primary" />
- )}
- <Button
- variant="ghost"
- size="sm"
- onClick={(e) => {
- e.stopPropagation();
- openExternalWebUrl(repository.html_url);
- }}
- className="opacity-0 group-hover:opacity-100 transition-opacity"
- >
- <ExternalLink className="w-4 h-4" />
- </Button>
- </div>
- </div>
- </button>
- ))}
- </div>
- )}
-
- {filteredRepositories.length === 0 &&
- data.repositories.length > 0 && (
- <div className="text-center py-12 px-6">
- <Search className="w-12 h-12 text-muted-foreground mx-auto mb-4" />
- <h3 className="text-lg font-medium mb-2">
- {t("settings:repositoryBrowser.noSearchMatchTitle")}
- </h3>
- <p className="text-muted-foreground text-sm">
- {t("settings:repositoryBrowser.noSearchMatchHint")}
- </p>
- </div>
- )}
- </>
- )}
- </div>
-
- {data && (
- <div className="flex items-center justify-between gap-2 border-t px-6 py-3">
- <Button
- type="button"
- variant="outline"
- disabled={pageHistory.length <= 1}
- onClick={() => setPageHistory((pages) => pages.slice(0, -1))}
- >
- {t("common:pagination.previous")}
- </Button>
- <Button
- type="button"
- variant="outline"
- disabled={!data.nextPage}
- onClick={() => {
- const next = data.nextPage;
- if (next) setPageHistory((pages) => [...pages, next]);
- }}
- >
- {t("common:pagination.next")}
- </Button>
- </div>
- )}
- {data && data.installations.length > 0 && (
- <>
- <Separator />
- <div className="px-6 py-4">
- <div className="flex items-center justify-between text-sm text-muted-foreground">
- <span>
- {t("settings:repositoryBrowser.footerSummary", {
- repoCount: data.repositories.length,
- installationCount: data.installations.length,
- })}
- </span>
- <Button
- variant="ghost"
- size="sm"
- onClick={() =>
- window.open(
- "https://github.com/settings/installations",
- "_blank",
- )
- }
- >
- <Settings className="w-4 h-4 mr-2" />
- {t("settings:repositoryBrowser.manageInstallations")}
- </Button>
- </div>
- </div>
- </>
- )}
- </DialogContent>
- </Dialog>
- );
-}
diff --git a/apps/web/src/components/project/slack-integration-settings.tsx b/apps/web/src/components/project/slack-integration-settings.tsx
index 59184b5b6..ec81ee3f4 100644
--- a/apps/web/src/components/project/slack-integration-settings.tsx
+++ b/apps/web/src/components/project/slack-integration-settings.tsx
@@ -1,423 +1,8 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { CheckCircle, Trash2 } from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Switch } from "@/components/ui/switch";
-import {
- useCreateSlackIntegration,
- useDeleteSlackIntegration,
- useUpdateSlackIntegration,
-} from "@/hooks/mutations/slack-integration/use-slack-integration";
-import useGetSlackIntegration from "@/hooks/queries/slack-integration/use-get-slack-integration";
-import { toast } from "@/lib/toast";
-
-type SlackIntegrationFormValues = {
- webhookUrl: string;
- channelName: string;
- taskCreated: boolean;
- taskStatusChanged: boolean;
- taskPriorityChanged: boolean;
- taskTitleChanged: boolean;
- taskDescriptionChanged: boolean;
- taskCommentCreated: boolean;
-};
-
-function EventToggle({
- control,
- name,
- label,
-}: {
- control: ReturnType<typeof useForm<SlackIntegrationFormValues>>["control"];
- name: keyof Pick<
- SlackIntegrationFormValues,
- | "taskCreated"
- | "taskStatusChanged"
- | "taskPriorityChanged"
- | "taskTitleChanged"
- | "taskDescriptionChanged"
- | "taskCommentCreated"
- >;
- label: string;
-}) {
- return (
- <FormField
- control={control}
- name={name}
- render={({ field }) => (
- <FormItem className="flex items-center justify-between rounded-md border px-3 py-2">
- <FormLabel className="text-sm font-medium">{label}</FormLabel>
- <FormControl>
- <Switch
- checked={Boolean(field.value)}
- onCheckedChange={field.onChange}
- />
- </FormControl>
- </FormItem>
- )}
- />
- );
-}
-
-function isValidSlackWebhookUrl(value: string): boolean {
- return (
- z.url().safeParse(value).success &&
- /^https:\/\/hooks\.slack\.com\/services\/[A-Za-z0-9]+\/[A-Za-z0-9]+\/[A-Za-z0-9]+$/i.test(
- value,
- )
- );
-}
+import { slackChatProvider } from "@/components/project/integrations/chat-webhook/chat-webhook-providers";
+import { ChatWebhookSettings } from "@/components/project/integrations/chat-webhook/chat-webhook-settings";
export function SlackIntegrationSettings({ projectId }: { projectId: string }) {
- const { t } = useTranslation();
- const schema = React.useMemo(
- () =>
- z.object({
- webhookUrl: z.string(),
- channelName: z.string(),
- taskCreated: z.boolean(),
- taskStatusChanged: z.boolean(),
- taskPriorityChanged: z.boolean(),
- taskTitleChanged: z.boolean(),
- taskDescriptionChanged: z.boolean(),
- taskCommentCreated: z.boolean(),
- }),
- [],
- );
-
- const { data: integration, isLoading } = useGetSlackIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateSlackIntegration();
- const { mutateAsync: updateIntegration, isPending: isUpdating } =
- useUpdateSlackIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteSlackIntegration();
- const normalizedValues = React.useMemo<SlackIntegrationFormValues>(
- () => ({
- webhookUrl: "",
- channelName: integration?.channelName ?? "",
- taskCreated: integration?.events?.taskCreated ?? true,
- taskStatusChanged: integration?.events?.taskStatusChanged ?? true,
- taskPriorityChanged: integration?.events?.taskPriorityChanged ?? false,
- taskTitleChanged: integration?.events?.taskTitleChanged ?? false,
- taskDescriptionChanged:
- integration?.events?.taskDescriptionChanged ?? false,
- taskCommentCreated: integration?.events?.taskCommentCreated ?? true,
- }),
- [integration],
- );
-
- const form = useForm<SlackIntegrationFormValues>({
- resolver: standardSchemaResolver(schema),
- defaultValues: {
- webhookUrl: "",
- channelName: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- },
- });
- const { reset } = form;
- const lastResetKeyRef = React.useRef<string | null>(null);
- const resetKey = `${projectId}:${integration?.id ?? "none"}`;
-
- React.useEffect(() => {
- if (form.formState.isDirty && lastResetKeyRef.current === resetKey) {
- return;
- }
-
- reset(normalizedValues);
- lastResetKeyRef.current = resetKey;
- }, [form.formState.isDirty, normalizedValues, reset, resetKey]);
-
- const isConnected = Boolean(integration?.webhookConfigured);
- const isBusy = isCreating || isUpdating || isDeleting;
-
- const onSubmit = async (values: SlackIntegrationFormValues) => {
- try {
- const trimmedWebhookUrl = values.webhookUrl.trim();
- const events = {
- taskCreated: values.taskCreated,
- taskStatusChanged: values.taskStatusChanged,
- taskPriorityChanged: values.taskPriorityChanged,
- taskTitleChanged: values.taskTitleChanged,
- taskDescriptionChanged: values.taskDescriptionChanged,
- taskCommentCreated: values.taskCommentCreated,
- };
-
- if (!isConnected) {
- if (!trimmedWebhookUrl || !isValidSlackWebhookUrl(trimmedWebhookUrl)) {
- form.setError("webhookUrl", {
- message: t("settings:slackIntegration.validation.webhookInvalid"),
- });
- return;
- }
-
- await createIntegration({
- projectId,
- data: {
- webhookUrl: trimmedWebhookUrl,
- channelName: values.channelName || undefined,
- events,
- },
- });
- } else {
- if (trimmedWebhookUrl && !isValidSlackWebhookUrl(trimmedWebhookUrl)) {
- form.setError("webhookUrl", {
- message: t("settings:slackIntegration.validation.webhookInvalid"),
- });
- return;
- }
-
- await updateIntegration({
- projectId,
- json: {
- webhookUrl: trimmedWebhookUrl || undefined,
- channelName: values.channelName || undefined,
- events,
- },
- });
- }
-
- form.reset({
- ...values,
- webhookUrl: trimmedWebhookUrl,
- });
- toast.success(t("settings:slackIntegration.toast.saved"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:slackIntegration.toast.saveError"),
- );
- }
- };
-
- const handleToggleActive = async (checked: boolean) => {
- try {
- await updateIntegration({
- projectId,
- json: { isActive: checked },
- });
- toast.success(
- checked
- ? t("settings:slackIntegration.toast.enabled")
- : t("settings:slackIntegration.toast.disabled"),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:slackIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- form.reset({
- webhookUrl: "",
- channelName: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- });
- toast.success(t("settings:slackIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:slackIntegration.toast.removeError"),
- );
- }
- };
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- </div>
- );
- }
-
return (
- <div className="space-y-4">
- <Form {...form}>
- <form className="space-y-4" onSubmit={form.handleSubmit(onSubmit)}>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <div className="flex items-center gap-2">
- <h3 className="font-medium">
- {t("settings:slackIntegration.connectionTitle")}
- </h3>
- </div>
- <p className="text-sm text-muted-foreground">
- {t("settings:slackIntegration.connectionHint")}
- </p>
- </div>
-
- <div className="flex items-center gap-3">
- {isConnected && (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {integration?.isActive
- ? t("settings:slackIntegration.connected")
- : t("settings:slackIntegration.paused")}
- </span>
- </div>
- )}
- <Switch
- checked={integration?.isActive ?? false}
- disabled={!isConnected || isBusy}
- onCheckedChange={handleToggleActive}
- />
- </div>
- </div>
-
- <FormField
- control={form.control}
- name="webhookUrl"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:slackIntegration.webhookLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- autoComplete="off"
- placeholder={t(
- "settings:slackIntegration.webhookPlaceholder",
- )}
- type="url"
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:slackIntegration.webhookHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="channelName"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:slackIntegration.channelLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- placeholder={t(
- "settings:slackIntegration.channelPlaceholder",
- )}
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:slackIntegration.channelHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
- </div>
-
- <div className="space-y-3 rounded-xl border border-border bg-card p-4">
- <div>
- <h3 className="font-medium">
- {t("settings:slackIntegration.eventsTitle")}
- </h3>
- <p className="text-sm text-muted-foreground">
- {t("settings:slackIntegration.eventsHint")}
- </p>
- </div>
-
- <EventToggle
- control={form.control}
- label={t("settings:slackIntegration.events.taskCreated")}
- name="taskCreated"
- />
- <EventToggle
- control={form.control}
- label={t("settings:slackIntegration.events.taskStatusChanged")}
- name="taskStatusChanged"
- />
- <EventToggle
- control={form.control}
- label={t("settings:slackIntegration.events.taskPriorityChanged")}
- name="taskPriorityChanged"
- />
- <EventToggle
- control={form.control}
- label={t("settings:slackIntegration.events.taskTitleChanged")}
- name="taskTitleChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:slackIntegration.events.taskDescriptionChanged",
- )}
- name="taskDescriptionChanged"
- />
- <EventToggle
- control={form.control}
- label={t("settings:slackIntegration.events.taskCommentCreated")}
- name="taskCommentCreated"
- />
- </div>
-
- <div className="flex flex-wrap gap-2">
- <Button disabled={isBusy} type="submit">
- {isConnected
- ? t("settings:slackIntegration.saveChanges")
- : t("settings:slackIntegration.connect")}
- </Button>
- {isConnected && (
- <Button
- disabled={isBusy}
- onClick={handleDelete}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:slackIntegration.disconnect")}
- </Button>
- )}
- </div>
- </form>
- </Form>
- </div>
+ <ChatWebhookSettings projectId={projectId} provider={slackChatProvider} />
);
}
diff --git a/apps/web/src/components/project/sortable/apply-order.test.ts b/apps/web/src/components/project/sortable/apply-order.test.ts
new file mode 100644
index 000000000..1663adaf8
--- /dev/null
+++ b/apps/web/src/components/project/sortable/apply-order.test.ts
@@ -0,0 +1,44 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ applyOrder,
+ moveItem,
+ toPositions,
+} from "@/components/project/sortable/apply-order";
+
+const items = [{ id: "a" }, { id: "b" }, { id: "c" }];
+
+describe("applyOrder", () => {
+ it("returns the items unchanged without a pending order", () => {
+ expect(applyOrder(items, null)).toBe(items);
+ });
+
+ it("sorts by the pending order and keeps unknown items last", () => {
+ expect(
+ applyOrder([...items, { id: "d" }], ["c", "a", "b"]).map(
+ (item) => item.id,
+ ),
+ ).toEqual(["c", "a", "b", "d"]);
+ });
+});
+
+describe("moveItem", () => {
+ it("moves an item down and up", () => {
+ expect(moveItem(["a", "b", "c"], 0, 2)).toEqual(["b", "c", "a"]);
+ expect(moveItem(["a", "b", "c"], 2, 0)).toEqual(["c", "a", "b"]);
+ });
+
+ it("ignores an index outside the list", () => {
+ const list = ["a"];
+ expect(moveItem(list, 3, 0)).toBe(list);
+ });
+});
+
+describe("toPositions", () => {
+ it("numbers items from zero", () => {
+ expect(toPositions(items)).toEqual([
+ { id: "a", position: 0 },
+ { id: "b", position: 1 },
+ { id: "c", position: 2 },
+ ]);
+ });
+});
diff --git a/apps/web/src/components/project/sortable/apply-order.ts b/apps/web/src/components/project/sortable/apply-order.ts
new file mode 100644
index 000000000..e18f85ac0
--- /dev/null
+++ b/apps/web/src/components/project/sortable/apply-order.ts
@@ -0,0 +1,25 @@
+export function applyOrder<T extends { id: string }>(
+ items: T[],
+ ids: string[] | null,
+): T[] {
+ if (!ids) return items;
+
+ const rank = new Map(ids.map((id, index) => [id, index]));
+ return [...items].sort(
+ (a, b) =>
+ (rank.get(a.id) ?? Number.MAX_SAFE_INTEGER) -
+ (rank.get(b.id) ?? Number.MAX_SAFE_INTEGER),
+ );
+}
+
+export function moveItem<T>(items: T[], from: number, to: number): T[] {
+ const next = [...items];
+ const [moved] = next.splice(from, 1);
+ if (moved === undefined) return items;
+ next.splice(to, 0, moved);
+ return next;
+}
+
+export function toPositions(items: Array<{ id: string }>) {
+ return items.map((item, position) => ({ id: item.id, position }));
+}
diff --git a/apps/web/src/components/project/sortable/drag-handle.tsx b/apps/web/src/components/project/sortable/drag-handle.tsx
new file mode 100644
index 000000000..d817b7dcc
--- /dev/null
+++ b/apps/web/src/components/project/sortable/drag-handle.tsx
@@ -0,0 +1,37 @@
+import { GripVertical } from "lucide-react";
+import type { SortableHandleProps } from "@/components/project/sortable/use-sortable-row";
+import { cn } from "@/lib/cn";
+
+type DragHandleProps = {
+ label: string;
+ handleProps: SortableHandleProps;
+ disabled?: boolean;
+ className?: string;
+};
+
+export function DragHandle({
+ label,
+ handleProps,
+ disabled = false,
+ className,
+}: DragHandleProps) {
+ if (disabled) {
+ return (
+ <span aria-hidden="true" className={cn("w-3.5 shrink-0", className)} />
+ );
+ }
+
+ return (
+ <button
+ type="button"
+ aria-label={label}
+ className={cn(
+ "-mx-1 flex shrink-0 cursor-grab touch-none items-center justify-center rounded-sm px-1 py-1 text-muted-foreground/40 outline-none transition-colors hover:text-muted-foreground focus-visible:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring active:cursor-grabbing group-hover/row:text-muted-foreground/70",
+ className,
+ )}
+ {...handleProps}
+ >
+ <GripVertical aria-hidden="true" className="size-3.5" />
+ </button>
+ );
+}
diff --git a/apps/web/src/components/project/sortable/sortable-list.tsx b/apps/web/src/components/project/sortable/sortable-list.tsx
new file mode 100644
index 000000000..d41542343
--- /dev/null
+++ b/apps/web/src/components/project/sortable/sortable-list.tsx
@@ -0,0 +1,59 @@
+import {
+ closestCenter,
+ DndContext,
+ type DragEndEvent,
+ KeyboardSensor,
+ PointerSensor,
+ useSensor,
+ useSensors,
+} from "@dnd-kit/core";
+import {
+ restrictToParentElement,
+ restrictToVerticalAxis,
+} from "@dnd-kit/modifiers";
+import {
+ SortableContext,
+ sortableKeyboardCoordinates,
+ verticalListSortingStrategy,
+} from "@dnd-kit/sortable";
+import type { ReactNode } from "react";
+
+type SortableListProps = {
+ ids: string[];
+ onMove: (from: number, to: number) => void;
+ children: ReactNode;
+};
+
+const MODIFIERS = [restrictToVerticalAxis, restrictToParentElement];
+
+export function SortableList({ ids, onMove, children }: SortableListProps) {
+ const sensors = useSensors(
+ useSensor(PointerSensor, { activationConstraint: { distance: 4 } }),
+ useSensor(KeyboardSensor, {
+ coordinateGetter: sortableKeyboardCoordinates,
+ }),
+ );
+
+ const handleDragEnd = ({ active, over }: DragEndEvent) => {
+ if (!over || active.id === over.id) return;
+
+ const from = ids.indexOf(String(active.id));
+ const to = ids.indexOf(String(over.id));
+ if (from === -1 || to === -1) return;
+
+ onMove(from, to);
+ };
+
+ return (
+ <DndContext
+ sensors={sensors}
+ collisionDetection={closestCenter}
+ modifiers={MODIFIERS}
+ onDragEnd={handleDragEnd}
+ >
+ <SortableContext items={ids} strategy={verticalListSortingStrategy}>
+ {children}
+ </SortableContext>
+ </DndContext>
+ );
+}
diff --git a/apps/web/src/components/project/sortable/use-sortable-order.ts b/apps/web/src/components/project/sortable/use-sortable-order.ts
new file mode 100644
index 000000000..6fde0fdcd
--- /dev/null
+++ b/apps/web/src/components/project/sortable/use-sortable-order.ts
@@ -0,0 +1,31 @@
+import { useMemo, useRef, useState } from "react";
+import {
+ applyOrder,
+ moveItem,
+} from "@/components/project/sortable/apply-order";
+
+export function useSortableOrder<T extends { id: string }>(
+ items: T[],
+ save: (items: T[]) => Promise<unknown>,
+) {
+ const [pendingIds, setPendingIds] = useState<string[] | null>(null);
+ const latestMove = useRef(0);
+ const ordered = useMemo(
+ () => applyOrder(items, pendingIds),
+ [items, pendingIds],
+ );
+
+ const move = async (from: number, to: number) => {
+ const next = moveItem(ordered, from, to);
+ const token = ++latestMove.current;
+ setPendingIds(next.map((item) => item.id));
+
+ try {
+ await save(next);
+ } finally {
+ if (latestMove.current === token) setPendingIds(null);
+ }
+ };
+
+ return { ordered, move };
+}
diff --git a/apps/web/src/components/project/sortable/use-sortable-row.ts b/apps/web/src/components/project/sortable/use-sortable-row.ts
new file mode 100644
index 000000000..c1cd1b0ec
--- /dev/null
+++ b/apps/web/src/components/project/sortable/use-sortable-row.ts
@@ -0,0 +1,35 @@
+import { useSortable } from "@dnd-kit/sortable";
+import { CSS } from "@dnd-kit/utilities";
+import type { CSSProperties } from "react";
+
+export function useSortableRow(id: string, disabled: boolean) {
+ const {
+ attributes,
+ listeners,
+ setNodeRef,
+ setActivatorNodeRef,
+ transform,
+ transition,
+ isDragging,
+ } = useSortable({ id, disabled });
+
+ const rowStyle: CSSProperties = {
+ transform: CSS.Translate.toString(transform),
+ transition,
+ };
+
+ return {
+ rowRef: setNodeRef,
+ rowStyle,
+ isDragging,
+ handleProps: {
+ ref: setActivatorNodeRef,
+ ...attributes,
+ ...listeners,
+ },
+ };
+}
+
+export type SortableHandleProps = ReturnType<
+ typeof useSortableRow
+>["handleProps"];
diff --git a/apps/web/src/components/project/sync-rules/label-pill.tsx b/apps/web/src/components/project/sync-rules/label-pill.tsx
new file mode 100644
index 000000000..281a26d01
--- /dev/null
+++ b/apps/web/src/components/project/sync-rules/label-pill.tsx
@@ -0,0 +1,19 @@
+type LabelPillProps = {
+ name: string;
+ color?: string | null;
+};
+
+export function LabelPill({ name, color }: LabelPillProps) {
+ return (
+ <span className="inline-flex h-5 max-w-full items-center gap-1.5 rounded-md border border-input px-1.5 text-xs">
+ {color ? (
+ <span
+ aria-hidden="true"
+ className="size-1.5 shrink-0 rounded-full"
+ style={{ backgroundColor: color }}
+ />
+ ) : null}
+ <span className="truncate">{name}</span>
+ </span>
+ );
+}
diff --git a/apps/web/src/components/project/sync-rules/label-rule-editor.tsx b/apps/web/src/components/project/sync-rules/label-rule-editor.tsx
index 9d59f2c18..85a82252b 100644
--- a/apps/web/src/components/project/sync-rules/label-rule-editor.tsx
+++ b/apps/web/src/components/project/sync-rules/label-rule-editor.tsx
@@ -113,7 +113,7 @@ export function LabelRuleEditor({
</SelectContent>
</Select>
{outgoing ? (
- <div className="max-h-48 space-y-2 overflow-y-auto rounded-lg border border-border p-3">
+ <div className="max-h-48 space-y-2 overflow-y-auto rounded-lg border border-border bg-card p-3">
{labels.length === 0 && (
<p className="text-xs text-muted-foreground">
{t("settings:syncRules.noLabels")}
@@ -121,7 +121,8 @@ export function LabelRuleEditor({
)}
{rule.labels.some((id) => !availableLabelIds.has(id)) && (
<Button
- size="xs"
+ type="button"
+ size="sm"
variant="outline"
onClick={() =>
onChange({
@@ -179,6 +180,7 @@ export function LabelRuleEditor({
}}
/>
<Button
+ type="button"
size="icon"
variant="outline"
onClick={addLabel}
@@ -192,6 +194,7 @@ export function LabelRuleEditor({
{rule.labels.map((name) => (
<Button
key={name}
+ type="button"
size="xs"
variant="secondary"
onClick={() =>
diff --git a/apps/web/src/components/project/sync-rules/paused-links-callout.tsx b/apps/web/src/components/project/sync-rules/paused-links-callout.tsx
new file mode 100644
index 000000000..725133b24
--- /dev/null
+++ b/apps/web/src/components/project/sync-rules/paused-links-callout.tsx
@@ -0,0 +1,40 @@
+import { PauseIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+
+type PausedLinksCalloutProps = {
+ count: number;
+ open: boolean;
+ onToggle: () => void;
+};
+
+export function PausedLinksCallout({
+ count,
+ open,
+ onToggle,
+}: PausedLinksCalloutProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="flex items-center gap-3 rounded-lg border border-warning/25 bg-warning/6 px-3 py-2">
+ <PauseIcon
+ aria-hidden="true"
+ className="size-3.5 shrink-0 fill-current text-warning-foreground"
+ />
+ <p className="min-w-0 flex-1 text-[13px]">
+ {t("settings:syncRules.pausedSummary", { count })}
+ </p>
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ aria-expanded={open}
+ onClick={onToggle}
+ >
+ {open
+ ? t("settings:syncRules.hidePaused")
+ : t("settings:syncRules.reviewPaused")}
+ </Button>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/sync-rules/paused-links-list.tsx b/apps/web/src/components/project/sync-rules/paused-links-list.tsx
new file mode 100644
index 000000000..81e70f23b
--- /dev/null
+++ b/apps/web/src/components/project/sync-rules/paused-links-list.tsx
@@ -0,0 +1,94 @@
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import type { SyncPreview } from "@/fetchers/integration-sync/types";
+
+type PausedLinksListProps = {
+ data: SyncPreview;
+ canResume: boolean;
+ hasPrevious: boolean;
+ loadingPage: boolean;
+ onReview: (task: { taskId: string; linkId: string }) => void;
+ onPrevious: () => void;
+ onNext: (cursor: string) => void;
+};
+
+export function PausedLinksList({
+ data,
+ canResume,
+ hasPrevious,
+ loadingPage,
+ onReview,
+ onPrevious,
+ onNext,
+}: PausedLinksListProps) {
+ const { t } = useTranslation();
+ const nextCursor = data.pausedNextCursor;
+
+ return (
+ <div className="space-y-2 rounded-lg border border-border bg-background px-3 py-2">
+ <p className="py-1 text-xs text-muted-foreground">
+ {t("settings:syncRules.pausedHint")}
+ </p>
+ <ul className="divide-y divide-border">
+ {data.pausedTasks.map((task) => (
+ <li
+ key={task.linkId}
+ className="flex items-center justify-between gap-3 py-2"
+ >
+ <div className="min-w-0">
+ <a
+ className="block truncate text-sm hover:underline"
+ href={task.url}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ {task.title}
+ </a>
+ <p className="text-xs text-muted-foreground">
+ {task.eligible
+ ? t("settings:syncRules.reviewRequired")
+ : t("settings:syncRules.excluded")}
+ </p>
+ </div>
+ {task.eligible && data.isActive && canResume ? (
+ <Button
+ type="button"
+ size="sm"
+ variant="outline"
+ onClick={() =>
+ onReview({ taskId: task.id, linkId: task.linkId })
+ }
+ >
+ {t("settings:syncRules.review")}
+ </Button>
+ ) : null}
+ </li>
+ ))}
+ </ul>
+ {hasPrevious || nextCursor ? (
+ <div className="flex justify-end gap-2 pb-1">
+ <Button
+ type="button"
+ size="sm"
+ variant="outline"
+ disabled={!hasPrevious || loadingPage}
+ onClick={onPrevious}
+ >
+ {t("settings:syncRules.previous")}
+ </Button>
+ <Button
+ type="button"
+ size="sm"
+ variant="outline"
+ disabled={!nextCursor || loadingPage}
+ onClick={() => {
+ if (nextCursor) onNext(nextCursor);
+ }}
+ >
+ {t("settings:syncRules.next")}
+ </Button>
+ </div>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/project/sync-rules/provider-name.ts b/apps/web/src/components/project/sync-rules/provider-name.ts
new file mode 100644
index 000000000..f0e82b58a
--- /dev/null
+++ b/apps/web/src/components/project/sync-rules/provider-name.ts
@@ -0,0 +1,11 @@
+import type { SyncParams } from "@/fetchers/integration-sync/types";
+
+const PROVIDER_NAMES: Record<SyncParams["provider"], string> = {
+ github: "GitHub",
+ gitea: "Gitea",
+ gitlab: "GitLab",
+};
+
+export function providerName(provider: SyncParams["provider"]) {
+ return PROVIDER_NAMES[provider];
+}
diff --git a/apps/web/src/components/project/sync-rules/resume-sync-dialog.tsx b/apps/web/src/components/project/sync-rules/resume-sync-dialog.tsx
index 983dd7a44..bbedfd745 100644
--- a/apps/web/src/components/project/sync-rules/resume-sync-dialog.tsx
+++ b/apps/web/src/components/project/sync-rules/resume-sync-dialog.tsx
@@ -53,7 +53,7 @@ export function ResumeSyncDialog({
)}
{(preview.isError || resume.isError) && (
<div role="alert" className="space-y-3">
- <p className="text-sm text-destructive">
+ <p className="text-sm text-destructive-foreground">
{t("settings:syncRules.resumeError")}
</p>
<Button
@@ -109,13 +109,12 @@ export function ResumeSyncDialog({
<DialogFooter className="flex-wrap">
<DialogClose
disabled={resume.isPending}
- render={<Button variant="ghost" size="sm" />}
+ render={<Button variant="outline" />}
>
{t("common:actions.cancel")}
</DialogClose>
<Button
variant="outline"
- size="sm"
disabled={
!data ||
preview.isFetching ||
@@ -128,7 +127,6 @@ export function ResumeSyncDialog({
{t("settings:syncRules.useRepository")}
</Button>
<Button
- size="sm"
loading={resume.isPending}
disabled={
!data || preview.isFetching || resume.isError || preview.isError
diff --git a/apps/web/src/components/project/sync-rules/rule-summary.tsx b/apps/web/src/components/project/sync-rules/rule-summary.tsx
deleted file mode 100644
index 7024dee5c..000000000
--- a/apps/web/src/components/project/sync-rules/rule-summary.tsx
+++ /dev/null
@@ -1,28 +0,0 @@
-import { useTranslation } from "react-i18next";
-import type { LabelRule, SyncPreview } from "@/fetchers/integration-sync/types";
-
-export function RuleSummary({
- rule,
- labels,
- outgoing,
-}: {
- rule: LabelRule;
- labels: SyncPreview["labels"];
- outgoing: boolean;
-}) {
- const { t } = useTranslation();
- if (rule.mode === "all") return <>{t("settings:syncRules.all")}</>;
- const names = rule.labels.map((id) =>
- outgoing
- ? (labels.find((label) => label.id === id)?.name ??
- t("settings:syncRules.unavailableLabel"))
- : id,
- );
- return (
- <>
- {rule.match === "all"
- ? t("settings:syncRules.allSummary", { labels: names.join(", ") })
- : t("settings:syncRules.anySummary", { labels: names.join(", ") })}
- </>
- );
-}
diff --git a/apps/web/src/components/project/sync-rules/rule-value.tsx b/apps/web/src/components/project/sync-rules/rule-value.tsx
new file mode 100644
index 000000000..abeb33fdc
--- /dev/null
+++ b/apps/web/src/components/project/sync-rules/rule-value.tsx
@@ -0,0 +1,56 @@
+import { Fragment } from "react";
+import { useTranslation } from "react-i18next";
+import type { LabelRule, SyncPreview } from "@/fetchers/integration-sync/types";
+import { LabelPill } from "./label-pill";
+
+type RuleValueProps = {
+ rule: LabelRule;
+ labels: SyncPreview["labels"];
+ outgoing: boolean;
+};
+
+export function RuleValue({ rule, labels, outgoing }: RuleValueProps) {
+ const { t } = useTranslation();
+
+ if (rule.mode === "all") {
+ return (
+ <span>
+ {outgoing
+ ? t("settings:syncRules.allTasks")
+ : t("settings:syncRules.allIssues")}
+ </span>
+ );
+ }
+
+ const pills = rule.labels.map((id) => {
+ if (!outgoing) return { key: id, name: id, color: null };
+ const label = labels.find((item) => item.id === id);
+ return {
+ key: id,
+ name: label?.name ?? t("settings:syncRules.unavailableLabel"),
+ color: label?.color ?? null,
+ };
+ });
+ const joiner =
+ rule.match === "all"
+ ? t("settings:syncRules.joinAnd")
+ : t("settings:syncRules.joinOr");
+
+ return (
+ <>
+ <span>
+ {outgoing
+ ? t("settings:syncRules.tasksLabelled")
+ : t("settings:syncRules.issuesLabelled")}
+ </span>
+ {pills.map((pill, index) => (
+ <Fragment key={pill.key}>
+ {index > 0 ? (
+ <span className="text-muted-foreground">{joiner}</span>
+ ) : null}
+ <LabelPill name={pill.name} color={pill.color} />
+ </Fragment>
+ ))}
+ </>
+ );
+}
diff --git a/apps/web/src/components/project/sync-rules/sync-rules-editor.tsx b/apps/web/src/components/project/sync-rules/sync-rules-editor.tsx
index 2d270b87f..7c56246cd 100644
--- a/apps/web/src/components/project/sync-rules/sync-rules-editor.tsx
+++ b/apps/web/src/components/project/sync-rules/sync-rules-editor.tsx
@@ -13,9 +13,11 @@ import { LabelRuleEditor } from "./label-rule-editor";
export function SyncRulesEditor({
param,
saved,
+ onDone,
}: {
param: SyncParams;
saved: SyncPreview;
+ onDone: () => void;
}) {
const { t } = useTranslation();
const [rules, setRules] = useState(saved.rules);
@@ -46,15 +48,19 @@ export function SyncRulesEditor({
);
const impact = dirty ? preview.data : saved;
return (
- <div className="space-y-5 border-t border-border pt-5">
+ <div className="space-y-5 rounded-lg border border-border bg-background p-3">
+ <p className="text-xs text-muted-foreground">
+ {t("settings:syncRules.sharedHint")}
+ </p>
{savedChanged && dirty && (
<div role="alert" className="space-y-2">
<p className="text-xs text-muted-foreground">
{t("settings:syncRules.rulesChanged")}
</p>
<Button
+ type="button"
variant="outline"
- size="xs"
+ size="sm"
disabled={save.isPending}
onClick={resetDraft}
>
@@ -84,7 +90,7 @@ export function SyncRulesEditor({
</div>
{valid && impact && (
<div
- className="space-y-3 rounded-lg border border-border bg-background p-3"
+ className="space-y-2 rounded-lg border border-border bg-muted/40 p-3"
aria-live="polite"
>
<p className="text-sm font-medium">
@@ -121,12 +127,13 @@ export function SyncRulesEditor({
)}
{(preview.isError || save.isError) && (
<div role="alert" className="space-y-2">
- <p className="text-xs text-destructive">
+ <p className="text-xs text-destructive-foreground">
{t("settings:syncRules.saveError")}
</p>
<Button
+ type="button"
variant="outline"
- size="xs"
+ size="sm"
onClick={() => {
save.reset();
void preview.refetch();
@@ -137,12 +144,25 @@ export function SyncRulesEditor({
</div>
)}
{impact?.missingLabels.length ? (
- <p role="alert" className="text-xs text-destructive">
+ <p role="alert" className="text-xs text-destructive-foreground">
{t("settings:syncRules.missingLabels")}
</p>
) : null}
- <div className="flex items-center gap-2">
+ <div className="flex items-center justify-end gap-2">
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ disabled={save.isPending}
+ onClick={() => {
+ resetDraft();
+ onDone();
+ }}
+ >
+ {t("common:actions.cancel")}
+ </Button>
<Button
+ type="button"
size="sm"
loading={save.isPending}
disabled={
@@ -158,7 +178,10 @@ export function SyncRulesEditor({
save.mutate(
{ rules, previewToken: preview.data.previewToken },
{
- onSuccess: () => toast.success(t("settings:syncRules.saved")),
+ onSuccess: () => {
+ toast.success(t("settings:syncRules.saved"));
+ onDone();
+ },
},
);
}}
@@ -167,16 +190,6 @@ export function SyncRulesEditor({
? t("settings:syncRules.exportPending")
: t("settings:syncRules.apply")}
</Button>
- {dirty && (
- <Button
- variant="ghost"
- size="sm"
- disabled={save.isPending}
- onClick={resetDraft}
- >
- {t("common:actions.cancel")}
- </Button>
- )}
</div>
</div>
);
diff --git a/apps/web/src/components/project/sync-rules/sync-rules-section.tsx b/apps/web/src/components/project/sync-rules/sync-rules-section.tsx
index ffa8ef918..fa0575353 100644
--- a/apps/web/src/components/project/sync-rules/sync-rules-section.tsx
+++ b/apps/web/src/components/project/sync-rules/sync-rules-section.tsx
@@ -1,14 +1,17 @@
-import { Filter, Pause } from "lucide-react";
import { useState } from "react";
import { useTranslation } from "react-i18next";
+import { IntegrationCheckLine } from "@/components/project/integrations/panel/integration-check-line";
+import { IntegrationPanelSection } from "@/components/project/integrations/panel/integration-panel-section";
import { Button } from "@/components/ui/button";
import type { SyncParams } from "@/fetchers/integration-sync/types";
import { useSyncRules } from "@/hooks/queries/integration-sync/use-sync-rules";
import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
import { useUserPreferencesStore } from "@/store/user-preferences";
+import { PausedLinksCallout } from "./paused-links-callout";
+import { PausedLinksList } from "./paused-links-list";
import { ResumeSyncDialog } from "./resume-sync-dialog";
-import { RuleSummary } from "./rule-summary";
import { SyncRulesEditor } from "./sync-rules-editor";
+import { SyncRulesSummary } from "./sync-rules-summary";
export function SyncRulesSection({ projectId, provider }: SyncParams) {
const { t } = useTranslation();
@@ -16,6 +19,8 @@ export function SyncRulesSection({ projectId, provider }: SyncParams) {
const { canManageSettings, canUpdateTasks } = useWorkspacePermission();
const canManage = canManageSettings();
const canResume = canManage && canUpdateTasks();
+ const [editing, setEditing] = useState(false);
+ const [showPaused, setShowPaused] = useState(false);
const [pages, setPages] = useState<string[]>([]);
const [reviewTask, setReviewTask] = useState<{
taskId: string;
@@ -24,163 +29,100 @@ export function SyncRulesSection({ projectId, provider }: SyncParams) {
const param = { projectId, provider };
const query = useSyncRules(param, pages.at(-1));
const data = query.data;
- if (query.isPending)
+ const canEdit = advanced && canManage;
+ const label = t("settings:syncRules.title");
+
+ if (query.isPending) {
return (
- <p role="status" className="text-xs text-muted-foreground">
- {t("settings:syncRules.loading")}
- </p>
+ <IntegrationPanelSection label={label}>
+ <p role="status" className="text-xs text-muted-foreground">
+ {t("settings:syncRules.loading")}
+ </p>
+ </IntegrationPanelSection>
);
- if (query.isError || !data)
+ }
+ if (query.isError || !data) {
return (
- <div
- role="alert"
- className="flex items-center justify-between gap-3 rounded-xl border border-border p-4"
- >
- <p className="text-xs text-destructive">
- {t("settings:syncRules.loadError")}
- </p>
- <Button
- size="xs"
- variant="outline"
- onClick={() => void query.refetch()}
+ <IntegrationPanelSection label={label}>
+ <IntegrationCheckLine
+ tone="destructive"
+ action={
+ <Button
+ type="button"
+ size="sm"
+ variant="outline"
+ onClick={() => void query.refetch()}
+ >
+ {t("settings:codeHosting.retry")}
+ </Button>
+ }
>
- {t("common:error.tryAgain")}
- </Button>
- </div>
+ {t("settings:syncRules.loadError")}
+ </IntegrationCheckLine>
+ </IntegrationPanelSection>
);
- const filtered =
- data.rules.outgoing.mode === "labels" ||
- data.rules.incoming.mode === "labels";
+ }
+
return (
- <section
- className="space-y-4 rounded-xl border border-border bg-card p-4"
- aria-label={t("settings:syncRules.title")}
+ <IntegrationPanelSection
+ label={label}
+ action={
+ canEdit && !editing ? (
+ <Button
+ type="button"
+ variant="ghost"
+ size="xs"
+ className="-my-1"
+ onClick={() => setEditing(true)}
+ >
+ {t("settings:syncRules.edit")}
+ </Button>
+ ) : null
+ }
>
- <div className="space-y-1">
- <p className="flex items-center gap-2 text-sm font-medium">
- <Filter aria-hidden="true" className="size-4" />
- {t("settings:syncRules.title")}
- {filtered && (
- <span className="rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground">
- {t("settings:syncRules.filteredBadge")}
- </span>
- )}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:syncRules.sharedHint")}
- </p>
- </div>
- <dl className="grid gap-2 text-xs sm:grid-cols-2">
- <div className="space-y-1">
- <dt className="font-medium">{t("settings:syncRules.outgoing")}</dt>
- <dd className="break-words text-muted-foreground">
- <RuleSummary
- outgoing
- rule={data.rules.outgoing}
- labels={data.labels}
- />
- </dd>
- </div>
- <div className="space-y-1">
- <dt className="font-medium">{t("settings:syncRules.incoming")}</dt>
- <dd className="break-words text-muted-foreground">
- <RuleSummary
- outgoing={false}
- rule={data.rules.incoming}
- labels={data.labels}
- />
- </dd>
- </div>
- </dl>
+ <SyncRulesSummary provider={provider} data={data} />
{!data.isActive && (
<p role="status" className="text-xs text-muted-foreground">
{t("settings:syncRules.inactiveHint")}
</p>
)}
{data.missingLabels.length > 0 && (
- <p role="alert" className="text-xs text-destructive">
+ <IntegrationCheckLine tone="destructive">
{t("settings:syncRules.missingLabels")}
- </p>
+ </IntegrationCheckLine>
)}
- {advanced && canManage ? (
+ {!advanced && canManage ? (
+ <p className="text-xs text-muted-foreground">
+ {t("settings:syncRules.advancedHint")}
+ </p>
+ ) : null}
+ {canEdit && editing ? (
<SyncRulesEditor
key={`${projectId}:${provider}`}
param={param}
saved={data}
+ onDone={() => setEditing(false)}
/>
- ) : !advanced && canManage ? (
- <p className="text-xs text-muted-foreground">
- {t("settings:syncRules.advancedHint")}
- </p>
) : null}
{data.paused > 0 && (
- <div className="space-y-3 border-t border-border pt-4">
- <p className="flex items-center gap-2 text-sm font-medium">
- <Pause aria-hidden="true" className="size-4" />
- {t("settings:syncRules.pausedCount", { count: data.paused })}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:syncRules.pausedHint")}
- </p>
- <ul className="divide-y divide-border">
- {data.pausedTasks.map((task) => (
- <li
- key={task.linkId}
- className="flex items-center justify-between gap-3 py-2"
- >
- <div className="min-w-0">
- <a
- className="block truncate text-sm hover:underline"
- href={task.url}
- target="_blank"
- rel="noopener noreferrer"
- >
- {task.title}
- </a>
- <p className="text-xs text-muted-foreground">
- {task.eligible
- ? t("settings:syncRules.reviewRequired")
- : t("settings:syncRules.excluded")}
- </p>
- </div>
- {task.eligible && data.isActive && canResume && (
- <Button
- size="xs"
- variant="outline"
- onClick={() =>
- setReviewTask({ taskId: task.id, linkId: task.linkId })
- }
- >
- {t("settings:syncRules.review")}
- </Button>
- )}
- </li>
- ))}
- </ul>
- {(pages.length > 0 || data.pausedNextCursor) && (
- <div className="flex gap-2">
- <Button
- size="xs"
- variant="outline"
- disabled={!pages.length || query.isPlaceholderData}
- onClick={() => setPages((current) => current.slice(0, -1))}
- >
- {t("settings:syncRules.previous")}
- </Button>
- <Button
- size="xs"
- variant="outline"
- disabled={!data.pausedNextCursor || query.isPlaceholderData}
- onClick={() => {
- if (data.pausedNextCursor)
- setPages((current) => [...current, data.pausedNextCursor!]);
- }}
- >
- {t("settings:syncRules.next")}
- </Button>
- </div>
- )}
- </div>
+ <>
+ <PausedLinksCallout
+ count={data.paused}
+ open={showPaused}
+ onToggle={() => setShowPaused((current) => !current)}
+ />
+ {showPaused ? (
+ <PausedLinksList
+ data={data}
+ canResume={canResume}
+ hasPrevious={pages.length > 0}
+ loadingPage={query.isPlaceholderData}
+ onReview={setReviewTask}
+ onPrevious={() => setPages((current) => current.slice(0, -1))}
+ onNext={(cursor) => setPages((current) => [...current, cursor])}
+ />
+ ) : null}
+ </>
)}
{reviewTask && (
<ResumeSyncDialog
@@ -190,6 +132,6 @@ export function SyncRulesSection({ projectId, provider }: SyncParams) {
onClose={() => setReviewTask(null)}
/>
)}
- </section>
+ </IntegrationPanelSection>
);
}
diff --git a/apps/web/src/components/project/sync-rules/sync-rules-summary.tsx b/apps/web/src/components/project/sync-rules/sync-rules-summary.tsx
new file mode 100644
index 000000000..145a704b2
--- /dev/null
+++ b/apps/web/src/components/project/sync-rules/sync-rules-summary.tsx
@@ -0,0 +1,53 @@
+import { useTranslation } from "react-i18next";
+import type {
+ SyncParams,
+ SyncPreview,
+} from "@/fetchers/integration-sync/types";
+import { providerName } from "./provider-name";
+import { RuleValue } from "./rule-value";
+
+type SyncRulesSummaryProps = {
+ provider: SyncParams["provider"];
+ data: SyncPreview;
+};
+
+export function SyncRulesSummary({ provider, data }: SyncRulesSummaryProps) {
+ const { t } = useTranslation();
+ const name = providerName(provider);
+ const rows = [
+ {
+ key: "outgoing",
+ label: t("settings:syncRules.kaneoToProvider", { provider: name }),
+ rule: data.rules.outgoing,
+ outgoing: true,
+ },
+ {
+ key: "incoming",
+ label: t("settings:syncRules.providerToKaneo", { provider: name }),
+ rule: data.rules.incoming,
+ outgoing: false,
+ },
+ ];
+
+ return (
+ <dl className="space-y-2">
+ {rows.map((row) => (
+ <div
+ key={row.key}
+ className="flex flex-col gap-1 sm:flex-row sm:items-center sm:gap-4"
+ >
+ <dt className="text-[13px] text-muted-foreground sm:w-40 sm:shrink-0">
+ {row.label}
+ </dt>
+ <dd className="flex min-w-0 flex-wrap items-center gap-1.5 text-[13px]">
+ <RuleValue
+ rule={row.rule}
+ labels={data.labels}
+ outgoing={row.outgoing}
+ />
+ </dd>
+ </div>
+ ))}
+ </dl>
+ );
+}
diff --git a/apps/web/src/components/project/sync-rules/sync-rules.test.tsx b/apps/web/src/components/project/sync-rules/sync-rules.test.tsx
index 6ebeeac53..c0d519d9f 100644
--- a/apps/web/src/components/project/sync-rules/sync-rules.test.tsx
+++ b/apps/web/src/components/project/sync-rules/sync-rules.test.tsx
@@ -94,6 +94,11 @@ beforeEach(() => {
});
});
afterEach(cleanup);
+async function openEditor() {
+ fireEvent.click(
+ await screen.findByRole("button", { name: "settings:syncRules.edit" }),
+ );
+}
function mount(node = <SyncRulesSection {...param} />) {
const client = new QueryClient({
defaultOptions: { queries: { retry: false }, mutations: { retry: false } },
@@ -131,12 +136,16 @@ describe("advanced sync settings", () => {
});
mocks.save.mockResolvedValue(initial);
mount();
+ await openEditor();
fireEvent.click(await screen.findByRole("checkbox", { name: "later" }));
await waitFor(() =>
expect(
screen.getByRole("button", { name: "settings:syncRules.apply" }),
).toBeEnabled(),
);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:syncRules.reviewPaused" }),
+ );
fireEvent.click(
screen.getByRole("button", { name: "settings:syncRules.next" }),
);
@@ -198,6 +207,7 @@ describe("advanced sync settings", () => {
return saved;
});
const { client, rerender } = mount();
+ await openEditor();
await screen.findByRole("checkbox", { name: "sync" });
rerender(
<QueryClientProvider client={client}>
@@ -233,6 +243,7 @@ describe("advanced sync settings", () => {
};
mocks.get.mockResolvedValue(initial);
const { client } = mount();
+ await openEditor();
fireEvent.click(await screen.findByRole("checkbox", { name: "later" }));
const draft = {
...saved.rules,
@@ -282,6 +293,7 @@ describe("advanced sync settings", () => {
it("adopts refreshed shared rules when the editor has no draft changes", async () => {
useUserPreferencesStore.setState({ advancedSettings: true });
const { client } = mount();
+ await openEditor();
await screen.findByRole("checkbox", { name: "sync" });
act(() =>
client.setQueryData(
@@ -338,6 +350,7 @@ describe("advanced sync settings", () => {
},
});
mount();
+ await openEditor();
fireEvent.click(
await screen.findByRole("button", {
name: "settings:syncRules.removeMissingLabels",
@@ -410,6 +423,7 @@ describe("advanced sync settings", () => {
mocks.get.mockResolvedValue({ ...saved, willCreate: 1 });
const { client } = mount();
client.setQueryData(["external-links", "task-1"], [{ metadata: "{}" }]);
+ await openEditor();
const apply = await screen.findByRole("button", {
name: "settings:syncRules.exportPending",
});
@@ -424,20 +438,20 @@ describe("advanced sync settings", () => {
it("shows a retry after a failed refresh even when rules were cached", async () => {
const { client } = mount();
- await screen.findByText("settings:syncRules.anySummary");
+ await screen.findByText("settings:syncRules.tasksLabelled");
mocks.get.mockRejectedValueOnce(new Error("Unavailable"));
await act(async () => {
await client.invalidateQueries({ queryKey: ["integration-sync"] });
});
- expect(await screen.findByRole("alert")).toHaveTextContent(
- "settings:syncRules.loadError",
- );
- expect(screen.queryByText("settings:syncRules.anySummary")).toBeNull();
+ expect(
+ await screen.findByText("settings:syncRules.loadError"),
+ ).toBeVisible();
+ expect(screen.queryByText("settings:syncRules.tasksLabelled")).toBeNull();
fireEvent.click(
- screen.getByRole("button", { name: "common:error.tryAgain" }),
+ screen.getByRole("button", { name: "settings:codeHosting.retry" }),
);
expect(
- await screen.findByText("settings:syncRules.anySummary"),
+ await screen.findByText("settings:syncRules.tasksLabelled"),
).toBeVisible();
});
@@ -461,6 +475,7 @@ describe("advanced sync settings", () => {
},
});
mount();
+ await openEditor();
const extra = await screen.findByRole("checkbox", { name: "Label 51" });
expect(extra).toHaveAttribute("aria-disabled", "true");
fireEvent.click(extra);
@@ -478,6 +493,7 @@ describe("advanced sync settings", () => {
useUserPreferencesStore.setState({ advancedSettings: true });
mocks.get.mockResolvedValue({ ...saved, willCreate: 1 });
mount();
+ await openEditor();
const retry = await screen.findByRole("button", {
name: "settings:syncRules.exportPending",
});
@@ -494,11 +510,16 @@ describe("advanced sync settings", () => {
it("shows the active rule while advanced mode is off and preserves it when toggled", async () => {
mount();
await screen.findByText("settings:syncRules.advancedHint");
- expect(screen.getByText("settings:syncRules.anySummary")).toBeVisible();
+ expect(screen.getByText("settings:syncRules.tasksLabelled")).toBeVisible();
+ expect(screen.getByText("sync")).toBeVisible();
+ expect(
+ screen.queryByRole("button", { name: "settings:syncRules.edit" }),
+ ).toBeNull();
expect(
screen.queryByRole("button", { name: "settings:syncRules.apply" }),
).toBeNull();
act(() => useUserPreferencesStore.getState().setAdvancedSettings(true));
+ await openEditor();
expect(await screen.findByRole("checkbox", { name: "sync" })).toBeChecked();
act(() => useUserPreferencesStore.getState().setAdvancedSettings(false));
expect(screen.queryByRole("checkbox", { name: "sync" })).toBeNull();
@@ -508,6 +529,7 @@ describe("advanced sync settings", () => {
it("requires a selected label and a current impact preview before saving", async () => {
useUserPreferencesStore.setState({ advancedSettings: true });
mount();
+ await openEditor();
const checkbox = await screen.findByRole("checkbox", { name: "sync" });
const apply = screen.getByRole("button", {
name: "settings:syncRules.apply",
@@ -515,7 +537,6 @@ describe("advanced sync settings", () => {
fireEvent.click(checkbox);
expect(apply).toBeDisabled();
expect(mocks.preview).not.toHaveBeenCalled();
- // Restore the saved rule, then add a repository-side filter to create a valid draft.
fireEvent.click(checkbox);
fireEvent.click(
screen.getByRole("combobox", { name: "settings:syncRules.incoming" }),
@@ -569,10 +590,18 @@ describe("advanced sync settings", () => {
],
});
mount();
+ fireEvent.click(
+ await screen.findByRole("button", {
+ name: "settings:syncRules.reviewPaused",
+ }),
+ );
await screen.findByText("Paused task");
expect(
screen.queryByRole("button", { name: "settings:syncRules.review" }),
).toBeNull();
+ expect(
+ screen.queryByRole("button", { name: "settings:syncRules.edit" }),
+ ).toBeNull();
expect(screen.queryByRole("checkbox")).toBeNull();
});
@@ -603,4 +632,69 @@ describe("advanced sync settings", () => {
await waitFor(() => expect(keepLocal).toBeEnabled());
expect(mocks.review).toHaveBeenCalledTimes(2);
});
+
+ it("summarizes both directions with label pills", async () => {
+ mocks.get.mockResolvedValue({
+ ...saved,
+ rules: {
+ outgoing: { mode: "labels", match: "all", labels: ["label-1"] },
+ incoming: { mode: "labels", match: "any", labels: ["bug", "design"] },
+ },
+ });
+ mount();
+ expect(
+ await screen.findByText("settings:syncRules.kaneoToProvider"),
+ ).toBeVisible();
+ expect(
+ screen.getByText("settings:syncRules.providerToKaneo"),
+ ).toBeVisible();
+ expect(screen.getByText("sync")).toBeVisible();
+ expect(screen.getByText("bug")).toBeVisible();
+ expect(screen.getByText("design")).toBeVisible();
+ expect(screen.getByText("settings:syncRules.joinOr")).toBeVisible();
+ });
+
+ it("collapses paused links into one callout until reviewed", async () => {
+ mocks.get.mockResolvedValue({
+ ...saved,
+ paused: 2,
+ pausedTasks: [
+ {
+ id: "task-1",
+ number: 1,
+ title: "Paused task",
+ linkId: "link-1",
+ url: "https://git.example/1",
+ eligible: true,
+ },
+ ],
+ });
+ mount();
+ const review = await screen.findByRole("button", {
+ name: "settings:syncRules.reviewPaused",
+ });
+ expect(screen.getByText("settings:syncRules.pausedSummary")).toBeVisible();
+ expect(screen.queryByText("Paused task")).toBeNull();
+ fireEvent.click(review);
+ expect(screen.getByText("Paused task")).toBeVisible();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:syncRules.review" }),
+ );
+ expect(await screen.findByRole("dialog")).toBeVisible();
+ });
+
+ it("closes the editor on cancel without saving", async () => {
+ useUserPreferencesStore.setState({ advancedSettings: true });
+ mount();
+ await openEditor();
+ fireEvent.click(await screen.findByRole("checkbox", { name: "sync" }));
+ fireEvent.click(
+ screen.getByRole("button", { name: "common:actions.cancel" }),
+ );
+ expect(screen.queryByRole("checkbox")).toBeNull();
+ expect(
+ screen.getByRole("button", { name: "settings:syncRules.edit" }),
+ ).toBeVisible();
+ expect(mocks.save).not.toHaveBeenCalled();
+ });
});
diff --git a/apps/web/src/components/project/tasks-import-export.tsx b/apps/web/src/components/project/tasks-import-export.tsx
deleted file mode 100644
index 62e338482..000000000
--- a/apps/web/src/components/project/tasks-import-export.tsx
+++ /dev/null
@@ -1,249 +0,0 @@
-import { useQueryClient } from "@tanstack/react-query";
-import { saveAs } from "file-saver";
-import { Download, Loader2, Upload } from "lucide-react";
-import { useRef, useState } from "react";
-import { useTranslation } from "react-i18next";
-import { Button } from "@/components/ui/button";
-import {
- Dialog,
- DialogClose,
- DialogPopup,
- DialogTitle,
-} from "@/components/ui/dialog";
-import useExportTasks from "@/hooks/mutations/task/use-export-tasks";
-import useImportTasks from "@/hooks/mutations/task/use-import-tasks";
-import { cn } from "@/lib/cn";
-import { toast } from "@/lib/toast";
-import type { ProjectWithTasks } from "@/types/project";
-
-type TasksImportExportProps = {
- project: ProjectWithTasks;
-};
-
-export function TasksImportExport({ project }: TasksImportExportProps) {
- const { t } = useTranslation();
- const [isImportOpen, setIsImportOpen] = useState(false);
- const fileInputRef = useRef<HTMLInputElement>(null);
- const queryClient = useQueryClient();
-
- const { mutateAsync: exportTasksMutation, isPending: isExporting } =
- useExportTasks();
- const { mutateAsync: importTasksMutation, isPending: isImporting } =
- useImportTasks();
-
- const handleExport = async () => {
- try {
- toast.loading(t("settings:tasksImportExport.exporting"));
- const exportData = await exportTasksMutation(project.id);
-
- const blob = new Blob([JSON.stringify(exportData, null, 2)], {
- type: "application/json",
- });
-
- saveAs(blob, `${project.slug}-tasks-export.json`);
-
- toast.dismiss();
- toast.success(t("settings:tasksImportExport.exportSuccess"));
- } catch (error) {
- toast.dismiss();
- toast.error(t("settings:tasksImportExport.exportError"));
- console.error(error);
- }
- };
-
- const handleImportClick = () => {
- setIsImportOpen(true);
- fileInputRef.current?.click();
- };
-
- const handleFileChange = (event: React.ChangeEvent<HTMLInputElement>) => {
- const file = event.target.files?.[0];
- if (!file) return;
-
- confirmImport(file);
-
- if (fileInputRef.current) {
- fileInputRef.current.value = "";
- }
- };
-
- const confirmImport = async (file: File) => {
- try {
- const content = await file.text();
- const jsonData = JSON.parse(content);
-
- if (!jsonData.tasks || !Array.isArray(jsonData.tasks)) {
- toast.error(t("settings:tasksImportExport.invalidFormat"));
- return;
- }
-
- toast.loading(t("settings:tasksImportExport.importing"));
-
- const result = await importTasksMutation({
- projectId: project.id,
- tasks: jsonData.tasks,
- });
-
- queryClient.invalidateQueries({
- queryKey: ["project", project.id],
- });
-
- setIsImportOpen(false);
- toast.dismiss();
- toast.success(
- t("settings:tasksImportExport.importSuccess", {
- count: result.results.successful,
- }),
- );
-
- if (result.results.failed > 0) {
- toast.error(
- t("settings:tasksImportExport.importPartialError", {
- count: result.results.failed,
- }),
- );
- }
- } catch (error) {
- toast.dismiss();
- toast.error(t("settings:tasksImportExport.importError"));
- console.error(error);
- }
- };
-
- const handleDrop = (event: React.DragEvent<HTMLDivElement>) => {
- event.preventDefault();
- const file = event.dataTransfer.files[0];
- if (!file) {
- toast.error(t("settings:tasksImportExport.noFileDropped"));
- return;
- }
-
- if (file.type === "application/json" || file.name.endsWith(".json")) {
- confirmImport(file);
- } else {
- toast.error(t("settings:tasksImportExport.notJsonFile"));
- }
- };
-
- const handleDragOver = (event: React.DragEvent<HTMLDivElement>) => {
- event.preventDefault();
- };
-
- const resetAndCloseModal = () => {
- setIsImportOpen(false);
- };
-
- return (
- <div className="space-y-4">
- <div className="flex items-center gap-2">
- <Button
- variant="outline"
- size="sm"
- onClick={handleExport}
- disabled={isExporting}
- >
- {isExporting ? <Loader2 className="animate-spin" /> : <Download />}
- {t("settings:tasksImportExport.exportTasks")}
- </Button>
-
- <Button
- variant="outline"
- size="sm"
- onClick={() => setIsImportOpen(true)}
- >
- <Upload />
- {t("settings:tasksImportExport.importTasks")}
- </Button>
-
- <input
- ref={fileInputRef}
- type="file"
- accept=".json,application/json"
- onChange={handleFileChange}
- className="hidden"
- />
- </div>
-
- <Dialog open={isImportOpen} onOpenChange={resetAndCloseModal}>
- <DialogPopup className="w-full max-w-md">
- <div className="bg-card rounded-lg shadow-xl border border-border">
- <div className="flex items-center justify-between p-4 border-b border-border">
- <DialogTitle className="text-lg font-semibold text-foreground">
- {t("settings:tasksImportExport.dialogTitle")}
- </DialogTitle>
- </div>
-
- <div className="p-4">
- <p className="text-sm text-muted-foreground mb-2">
- {t("settings:tasksImportExport.dialogDescription")}
- </p>
-
- <div className="mb-4 p-3 bg-muted rounded-md border border-border/50 font-mono text-sm">
- <p className="text-muted-foreground mb-1 text-xs">
- {t("settings:tasksImportExport.expectedFormat")}
- </p>
- <pre className="text-foreground overflow-auto max-h-32 text-xs">
- {`{
- "tasks": [
- {
- "title": "Task title",
- "description": "Description text",
- "status": "to-do",
- "priority": "low",
- "startDate": "2025-04-18T00:00:00.000Z",
- "dueDate": "2025-04-20T00:00:00.000Z",
- "userId": "[email protected]"
- }
- ]
-}`}
- </pre>
- </div>
-
- {/** eslint-disable-next-line jsx-a11y/no-static-element-interactions -- false positive for onDrop and onDragOver */}
- <div
- className={cn(
- "border-2 border-dashed rounded-lg p-8 text-center mb-4",
- "border-border",
- "hover:border-ring",
- "bg-muted/60",
- "transition-colors",
- )}
- onDrop={handleDrop}
- onDragOver={handleDragOver}
- >
- <div className="flex flex-col items-center justify-center gap-2">
- <Upload className="h-8 w-8 text-muted-foreground" />
- <p className="text-sm text-muted-foreground">
- {t("settings:tasksImportExport.dropHint")}
- </p>
- <Button
- className="mt-2 bg-card hover:bg-accent text-foreground border border-border"
- size="sm"
- onClick={handleImportClick}
- disabled={isImporting}
- >
- {isImporting ? (
- <Loader2 className="h-4 w-4 mr-2 animate-spin" />
- ) : (
- t("settings:tasksImportExport.selectFile")
- )}
- </Button>
- </div>
- </div>
-
- <div className="flex justify-end gap-2">
- <DialogClose
- render={
- <Button className="bg-card hover:bg-accent text-foreground border border-border" />
- }
- >
- {t("common:actions.cancel")}
- </DialogClose>
- </div>
- </div>
- </div>
- </DialogPopup>
- </Dialog>
- </div>
- );
-}
diff --git a/apps/web/src/components/project/tasks-import-export/export-tasks-row.tsx b/apps/web/src/components/project/tasks-import-export/export-tasks-row.tsx
new file mode 100644
index 000000000..2d25f3565
--- /dev/null
+++ b/apps/web/src/components/project/tasks-import-export/export-tasks-row.tsx
@@ -0,0 +1,56 @@
+import { saveAs } from "file-saver";
+import { Loader2, Upload } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Button } from "@/components/ui/button";
+import useExportTasks from "@/hooks/mutations/task/use-export-tasks";
+import { toast } from "@/lib/toast";
+import type { ProjectWithTasks } from "@/types/project";
+
+type ExportTasksRowProps = {
+ project: ProjectWithTasks;
+};
+
+export function ExportTasksRow({ project }: ExportTasksRowProps) {
+ const { t } = useTranslation();
+ const { mutateAsync: exportTasks, isPending } = useExportTasks();
+
+ const handleExport = async () => {
+ try {
+ toast.loading(t("settings:tasksImportExport.exporting"));
+ const exportData = await exportTasks(project.id);
+ const blob = new Blob([JSON.stringify(exportData, null, 2)], {
+ type: "application/json",
+ });
+
+ saveAs(blob, `${project.slug}-tasks-export.json`);
+
+ toast.dismiss();
+ toast.success(t("settings:tasksImportExport.exportSuccess"));
+ } catch (error) {
+ toast.dismiss();
+ toast.error(t("settings:tasksImportExport.exportError"));
+ console.error(error);
+ }
+ };
+
+ return (
+ <SettingsRow
+ icon={<Upload />}
+ title={t("settings:tasksImportExport.exportTasks")}
+ description={t("settings:tasksImportExport.exportDescription")}
+ >
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="w-24"
+ onClick={handleExport}
+ disabled={isPending}
+ >
+ {isPending ? <Loader2 className="animate-spin" /> : null}
+ {t("settings:tasksImportExport.export")}
+ </Button>
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/project/tasks-import-export/import-tasks-dialog.tsx b/apps/web/src/components/project/tasks-import-export/import-tasks-dialog.tsx
new file mode 100644
index 000000000..ab6142e9f
--- /dev/null
+++ b/apps/web/src/components/project/tasks-import-export/import-tasks-dialog.tsx
@@ -0,0 +1,172 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { Loader2, Upload } from "lucide-react";
+import { type ChangeEvent, type DragEvent, useRef } from "react";
+import { useTranslation } from "react-i18next";
+import {
+ isJsonFile,
+ parseTasksImport,
+} from "@/components/project/tasks-import-export/tasks-import-file";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogClose,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import useImportTasks from "@/hooks/mutations/task/use-import-tasks";
+import { toast } from "@/lib/toast";
+
+const EXAMPLE_FORMAT = `{
+ "tasks": [
+ {
+ "title": "Task title",
+ "description": "Description text",
+ "status": "to-do",
+ "priority": "low",
+ "startDate": "2025-04-18T00:00:00.000Z",
+ "dueDate": "2025-04-20T00:00:00.000Z",
+ "userId": "[email protected]"
+ }
+ ]
+}`;
+
+type ImportTasksDialogProps = {
+ projectId: string;
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+};
+
+export function ImportTasksDialog({
+ projectId,
+ open,
+ onOpenChange,
+}: ImportTasksDialogProps) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const fileInputRef = useRef<HTMLInputElement>(null);
+ const { mutateAsync: importTasks, isPending } = useImportTasks();
+
+ const importFile = async (file: File) => {
+ try {
+ const tasks = parseTasksImport(await file.text());
+
+ if (!tasks) {
+ toast.error(t("settings:tasksImportExport.invalidFormat"));
+ return;
+ }
+
+ toast.loading(t("settings:tasksImportExport.importing"));
+
+ const result = await importTasks({ projectId, tasks });
+
+ queryClient.invalidateQueries({ queryKey: ["project", projectId] });
+
+ onOpenChange(false);
+ toast.dismiss();
+ toast.success(
+ t("settings:tasksImportExport.importSuccess", {
+ count: result.results.successful,
+ }),
+ );
+
+ if (result.results.failed > 0) {
+ toast.error(
+ t("settings:tasksImportExport.importPartialError", {
+ count: result.results.failed,
+ }),
+ );
+ }
+ } catch (error) {
+ toast.dismiss();
+ toast.error(t("settings:tasksImportExport.importError"));
+ console.error(error);
+ }
+ };
+
+ const handleFileChange = (event: ChangeEvent<HTMLInputElement>) => {
+ const file = event.target.files?.[0];
+ event.target.value = "";
+ if (file) void importFile(file);
+ };
+
+ const handleDrop = (event: DragEvent<HTMLDivElement>) => {
+ event.preventDefault();
+ const file = event.dataTransfer.files[0];
+
+ if (!file) {
+ toast.error(t("settings:tasksImportExport.noFileDropped"));
+ return;
+ }
+
+ if (!isJsonFile(file)) {
+ toast.error(t("settings:tasksImportExport.notJsonFile"));
+ return;
+ }
+
+ void importFile(file);
+ };
+
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ <DialogPopup className="max-w-md">
+ <DialogHeader>
+ <DialogTitle>
+ {t("settings:tasksImportExport.dialogTitle")}
+ </DialogTitle>
+ <DialogDescription>
+ {t("settings:tasksImportExport.dialogDescription")}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel className="space-y-4">
+ <div className="space-y-1.5">
+ <p className="text-xs text-muted-foreground">
+ {t("settings:tasksImportExport.expectedFormat")}
+ </p>
+ <pre className="max-h-32 overflow-auto rounded-lg border border-border bg-muted/50 p-3 font-mono text-xs">
+ {EXAMPLE_FORMAT}
+ </pre>
+ </div>
+ <div
+ className="flex flex-col items-center gap-3 rounded-lg border border-border bg-muted/30 px-6 py-8 text-center transition-colors hover:border-ring"
+ onDrop={handleDrop}
+ onDragOver={(event) => event.preventDefault()}
+ >
+ <Upload
+ aria-hidden="true"
+ className="size-5 text-muted-foreground"
+ />
+ <p className="text-xs text-muted-foreground">
+ {t("settings:tasksImportExport.dropHint")}
+ </p>
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() => fileInputRef.current?.click()}
+ disabled={isPending}
+ >
+ {isPending ? <Loader2 className="animate-spin" /> : null}
+ {t("settings:tasksImportExport.selectFile")}
+ </Button>
+ <input
+ ref={fileInputRef}
+ type="file"
+ accept=".json,application/json"
+ onChange={handleFileChange}
+ className="hidden"
+ />
+ </div>
+ </DialogPanel>
+ <DialogFooter>
+ <DialogClose render={<Button type="button" variant="outline" />}>
+ {t("common:actions.cancel")}
+ </DialogClose>
+ </DialogFooter>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/project/tasks-import-export/import-tasks-row.tsx b/apps/web/src/components/project/tasks-import-export/import-tasks-row.tsx
new file mode 100644
index 000000000..21da94cfa
--- /dev/null
+++ b/apps/web/src/components/project/tasks-import-export/import-tasks-row.tsx
@@ -0,0 +1,39 @@
+import { Download } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ImportTasksDialog } from "@/components/project/tasks-import-export/import-tasks-dialog";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Button } from "@/components/ui/button";
+import type { ProjectWithTasks } from "@/types/project";
+
+type ImportTasksRowProps = {
+ project: ProjectWithTasks;
+};
+
+export function ImportTasksRow({ project }: ImportTasksRowProps) {
+ const { t } = useTranslation();
+ const [open, setOpen] = useState(false);
+
+ return (
+ <SettingsRow
+ icon={<Download />}
+ title={t("settings:tasksImportExport.importTasks")}
+ description={t("settings:tasksImportExport.importDescription")}
+ >
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="w-24"
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:tasksImportExport.import")}
+ </Button>
+ <ImportTasksDialog
+ projectId={project.id}
+ open={open}
+ onOpenChange={setOpen}
+ />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/project/tasks-import-export/tasks-import-file.test.ts b/apps/web/src/components/project/tasks-import-export/tasks-import-file.test.ts
new file mode 100644
index 000000000..28d4f88d2
--- /dev/null
+++ b/apps/web/src/components/project/tasks-import-export/tasks-import-file.test.ts
@@ -0,0 +1,28 @@
+import { describe, expect, it } from "vite-plus/test";
+import { isJsonFile, parseTasksImport } from "./tasks-import-file";
+
+describe("parseTasksImport", () => {
+ it("returns the tasks array from an export file", () => {
+ expect(
+ parseTasksImport(JSON.stringify({ tasks: [{ title: "Ship" }] })),
+ ).toEqual([{ title: "Ship" }]);
+ });
+
+ it("returns null when the file has no tasks array", () => {
+ expect(parseTasksImport(JSON.stringify({ tasks: "nope" }))).toBeNull();
+ expect(parseTasksImport(JSON.stringify([]))).toBeNull();
+ expect(parseTasksImport("null")).toBeNull();
+ });
+
+ it("throws on content that is not JSON", () => {
+ expect(() => parseTasksImport("not json")).toThrow();
+ });
+});
+
+describe("isJsonFile", () => {
+ it("accepts JSON by type or extension", () => {
+ expect(isJsonFile({ name: "a.txt", type: "application/json" })).toBe(true);
+ expect(isJsonFile({ name: "tasks.json", type: "" })).toBe(true);
+ expect(isJsonFile({ name: "tasks.csv", type: "text/csv" })).toBe(false);
+ });
+});
diff --git a/apps/web/src/components/project/tasks-import-export/tasks-import-file.ts b/apps/web/src/components/project/tasks-import-export/tasks-import-file.ts
new file mode 100644
index 000000000..af0ed4655
--- /dev/null
+++ b/apps/web/src/components/project/tasks-import-export/tasks-import-file.ts
@@ -0,0 +1,14 @@
+import type { TaskToImport } from "@/fetchers/task/import-tasks";
+
+export function parseTasksImport(content: string): TaskToImport[] | null {
+ const data: unknown = JSON.parse(content);
+ if (typeof data !== "object" || data === null || !("tasks" in data)) {
+ return null;
+ }
+
+ return Array.isArray(data.tasks) ? (data.tasks as TaskToImport[]) : null;
+}
+
+export function isJsonFile(file: Pick<File, "name" | "type">) {
+ return file.type === "application/json" || file.name.endsWith(".json");
+}
diff --git a/apps/web/src/components/project/telegram-integration-settings.tsx b/apps/web/src/components/project/telegram-integration-settings.tsx
index 2eb99d3f9..5e238afae 100644
--- a/apps/web/src/components/project/telegram-integration-settings.tsx
+++ b/apps/web/src/components/project/telegram-integration-settings.tsx
@@ -1,545 +1 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { CheckCircle, Trash2 } from "lucide-react";
-import React from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod/v4";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Switch } from "@/components/ui/switch";
-import {
- useCreateTelegramIntegration,
- useDeleteTelegramIntegration,
- useUpdateTelegramIntegration,
-} from "@/hooks/mutations/telegram-integration/use-telegram-integration";
-import useGetTelegramIntegration from "@/hooks/queries/telegram-integration/use-get-telegram-integration";
-import { toast } from "@/lib/toast";
-
-type TelegramIntegrationFormValues = {
- botToken: string;
- chatId: string;
- threadId: string;
- chatLabel: string;
- taskCreated: boolean;
- taskStatusChanged: boolean;
- taskPriorityChanged: boolean;
- taskTitleChanged: boolean;
- taskDescriptionChanged: boolean;
- taskCommentCreated: boolean;
-};
-
-function EventToggle({
- control,
- name,
- label,
-}: {
- control: ReturnType<typeof useForm<TelegramIntegrationFormValues>>["control"];
- name: keyof Pick<
- TelegramIntegrationFormValues,
- | "taskCreated"
- | "taskStatusChanged"
- | "taskPriorityChanged"
- | "taskTitleChanged"
- | "taskDescriptionChanged"
- | "taskCommentCreated"
- >;
- label: string;
-}) {
- return (
- <FormField
- control={control}
- name={name}
- render={({ field }) => (
- <FormItem className="flex items-center justify-between rounded-md border px-3 py-2">
- <FormLabel className="text-sm font-medium">{label}</FormLabel>
- <FormControl>
- <Switch
- checked={Boolean(field.value)}
- onCheckedChange={field.onChange}
- />
- </FormControl>
- </FormItem>
- )}
- />
- );
-}
-
-function isValidTelegramBotToken(value: string): boolean {
- return /^\d+:[A-Za-z0-9_-]{20,}$/.test(value);
-}
-
-function isValidTelegramThreadId(value: string): boolean {
- return /^\d+$/.test(value) && Number(value) > 0;
-}
-
-export function TelegramIntegrationSettings({
- projectId,
-}: {
- projectId: string;
-}) {
- const { t } = useTranslation();
- const schema = React.useMemo(
- () =>
- z.object({
- botToken: z.string(),
- chatId: z.string(),
- threadId: z.string(),
- chatLabel: z.string(),
- taskCreated: z.boolean(),
- taskStatusChanged: z.boolean(),
- taskPriorityChanged: z.boolean(),
- taskTitleChanged: z.boolean(),
- taskDescriptionChanged: z.boolean(),
- taskCommentCreated: z.boolean(),
- }),
- [],
- );
-
- const {
- data: integration,
- isLoading,
- error,
- } = useGetTelegramIntegration(projectId);
- const { mutateAsync: createIntegration, isPending: isCreating } =
- useCreateTelegramIntegration();
- const { mutateAsync: updateIntegration, isPending: isUpdating } =
- useUpdateTelegramIntegration();
- const { mutateAsync: deleteIntegration, isPending: isDeleting } =
- useDeleteTelegramIntegration();
- const normalizedValues = React.useMemo<TelegramIntegrationFormValues>(
- () => ({
- botToken: "",
- chatId: integration?.chatId ?? "",
- threadId: integration?.threadId ? String(integration.threadId) : "",
- chatLabel: integration?.chatLabel ?? "",
- taskCreated: integration?.events?.taskCreated ?? true,
- taskStatusChanged: integration?.events?.taskStatusChanged ?? true,
- taskPriorityChanged: integration?.events?.taskPriorityChanged ?? false,
- taskTitleChanged: integration?.events?.taskTitleChanged ?? false,
- taskDescriptionChanged:
- integration?.events?.taskDescriptionChanged ?? false,
- taskCommentCreated: integration?.events?.taskCommentCreated ?? true,
- }),
- [integration],
- );
-
- const form = useForm<TelegramIntegrationFormValues>({
- resolver: standardSchemaResolver(schema),
- defaultValues: {
- botToken: "",
- chatId: "",
- threadId: "",
- chatLabel: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- },
- });
- const { reset } = form;
- const lastResetKeyRef = React.useRef<string | null>(null);
- const resetKey = `${projectId}:${integration?.id ?? "none"}`;
-
- React.useEffect(() => {
- if (form.formState.isDirty && lastResetKeyRef.current === resetKey) {
- return;
- }
-
- reset(normalizedValues);
- lastResetKeyRef.current = resetKey;
- }, [form.formState.isDirty, normalizedValues, reset, resetKey]);
-
- React.useEffect(() => {
- if (!error) {
- return;
- }
-
- const detail =
- error instanceof Error
- ? error.message
- : t("settings:telegramIntegration.toast.saveError");
- toast.error(
- `${t("settings:telegramIntegration.toast.saveError")}: ${detail}`,
- );
- }, [error, t]);
-
- const isConnected = Boolean(integration?.botTokenConfigured);
- const isBusy = isCreating || isUpdating || isDeleting;
-
- const onSubmit = async (values: TelegramIntegrationFormValues) => {
- try {
- const trimmedBotToken = values.botToken.trim();
- const trimmedChatId = values.chatId.trim();
- const trimmedThreadId = values.threadId.trim();
- const parsedThreadId = trimmedThreadId
- ? Number(trimmedThreadId)
- : undefined;
- const events = {
- taskCreated: values.taskCreated,
- taskStatusChanged: values.taskStatusChanged,
- taskPriorityChanged: values.taskPriorityChanged,
- taskTitleChanged: values.taskTitleChanged,
- taskDescriptionChanged: values.taskDescriptionChanged,
- taskCommentCreated: values.taskCommentCreated,
- };
-
- if (!trimmedChatId) {
- form.setError("chatId", {
- message: t("settings:telegramIntegration.validation.chatIdRequired"),
- });
- return;
- }
-
- if (trimmedThreadId && !isValidTelegramThreadId(trimmedThreadId)) {
- form.setError("threadId", {
- message: t("settings:telegramIntegration.validation.threadIdInvalid"),
- });
- return;
- }
-
- if (!isConnected) {
- if (!trimmedBotToken || !isValidTelegramBotToken(trimmedBotToken)) {
- form.setError("botToken", {
- message: t(
- "settings:telegramIntegration.validation.botTokenInvalid",
- ),
- });
- return;
- }
-
- await createIntegration({
- projectId,
- data: {
- botToken: trimmedBotToken,
- chatId: trimmedChatId,
- threadId: parsedThreadId,
- chatLabel: values.chatLabel || undefined,
- events,
- },
- });
- } else {
- if (trimmedBotToken && !isValidTelegramBotToken(trimmedBotToken)) {
- form.setError("botToken", {
- message: t(
- "settings:telegramIntegration.validation.botTokenInvalid",
- ),
- });
- return;
- }
-
- await updateIntegration({
- projectId,
- json: {
- botToken: trimmedBotToken || undefined,
- chatId: trimmedChatId,
- threadId: parsedThreadId ?? null,
- chatLabel: values.chatLabel || null,
- events,
- },
- });
- }
-
- form.reset({
- ...values,
- botToken: "",
- chatId: trimmedChatId,
- threadId: trimmedThreadId,
- });
- toast.success(t("settings:telegramIntegration.toast.saved"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:telegramIntegration.toast.saveError"),
- );
- }
- };
-
- const handleToggleActive = async (checked: boolean) => {
- try {
- await updateIntegration({
- projectId,
- json: { isActive: checked },
- });
- toast.success(
- checked
- ? t("settings:telegramIntegration.toast.enabled")
- : t("settings:telegramIntegration.toast.disabled"),
- );
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:telegramIntegration.toast.updateError"),
- );
- }
- };
-
- const handleDelete = async () => {
- try {
- await deleteIntegration(projectId);
- form.reset({
- botToken: "",
- chatId: "",
- threadId: "",
- chatLabel: "",
- taskCreated: true,
- taskStatusChanged: true,
- taskPriorityChanged: false,
- taskTitleChanged: false,
- taskDescriptionChanged: false,
- taskCommentCreated: true,
- });
- toast.success(t("settings:telegramIntegration.toast.removed"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:telegramIntegration.toast.removeError"),
- );
- }
- };
-
- if (isLoading) {
- return (
- <div className="space-y-4">
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="h-4 w-40 animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- <div className="h-10 w-full animate-pulse rounded bg-muted" />
- </div>
- </div>
- );
- }
-
- if (error) {
- return null;
- }
-
- return (
- <div className="space-y-4">
- <Form {...form}>
- <form className="space-y-4" onSubmit={form.handleSubmit(onSubmit)}>
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-start justify-between gap-4">
- <div className="space-y-1">
- <div className="flex items-center gap-2">
- <h3 className="font-medium">
- {t("settings:telegramIntegration.connectionTitle")}
- </h3>
- </div>
- <p className="text-sm text-muted-foreground">
- {t("settings:telegramIntegration.connectionHint")}
- </p>
- </div>
-
- <div className="flex items-center gap-3">
- {isConnected && (
- <div className="flex items-center gap-2 text-sm text-muted-foreground">
- <CheckCircle className="size-4 text-green-600" />
- <span>
- {integration?.isActive
- ? t("settings:telegramIntegration.connected")
- : t("settings:telegramIntegration.paused")}
- </span>
- </div>
- )}
- <Switch
- checked={integration?.isActive ?? false}
- disabled={!isConnected || isBusy}
- onCheckedChange={handleToggleActive}
- />
- </div>
- </div>
-
- <FormField
- control={form.control}
- name="botToken"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:telegramIntegration.botTokenLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- autoComplete="off"
- placeholder={t(
- "settings:telegramIntegration.botTokenPlaceholder",
- )}
- type="password"
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {integration?.botTokenConfigured
- ? t(
- "settings:telegramIntegration.botTokenHintConfigured",
- { token: integration.maskedBotToken },
- )
- : t("settings:telegramIntegration.botTokenHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="chatId"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:telegramIntegration.chatIdLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- placeholder={t(
- "settings:telegramIntegration.chatIdPlaceholder",
- )}
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:telegramIntegration.chatIdHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="threadId"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:telegramIntegration.threadIdLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- inputMode="numeric"
- placeholder={t(
- "settings:telegramIntegration.threadIdPlaceholder",
- )}
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:telegramIntegration.threadIdHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="chatLabel"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:telegramIntegration.chatLabelLabel")}
- </FormLabel>
- <FormControl>
- <Input
- {...field}
- placeholder={t(
- "settings:telegramIntegration.chatLabelPlaceholder",
- )}
- />
- </FormControl>
- <p className="text-xs text-muted-foreground">
- {t("settings:telegramIntegration.chatLabelHint")}
- </p>
- <FormMessage />
- </FormItem>
- )}
- />
- </div>
-
- <div className="space-y-3 rounded-xl border border-border bg-card p-4">
- <div>
- <h3 className="font-medium">
- {t("settings:telegramIntegration.eventsTitle")}
- </h3>
- <p className="text-sm text-muted-foreground">
- {t("settings:telegramIntegration.eventsHint")}
- </p>
- </div>
-
- <EventToggle
- control={form.control}
- label={t("settings:telegramIntegration.events.taskCreated")}
- name="taskCreated"
- />
- <EventToggle
- control={form.control}
- label={t("settings:telegramIntegration.events.taskStatusChanged")}
- name="taskStatusChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:telegramIntegration.events.taskPriorityChanged",
- )}
- name="taskPriorityChanged"
- />
- <EventToggle
- control={form.control}
- label={t("settings:telegramIntegration.events.taskTitleChanged")}
- name="taskTitleChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:telegramIntegration.events.taskDescriptionChanged",
- )}
- name="taskDescriptionChanged"
- />
- <EventToggle
- control={form.control}
- label={t(
- "settings:telegramIntegration.events.taskCommentCreated",
- )}
- name="taskCommentCreated"
- />
- </div>
-
- <div className="flex flex-wrap gap-2">
- <Button disabled={isBusy} type="submit">
- {isConnected
- ? t("settings:telegramIntegration.saveChanges")
- : t("settings:telegramIntegration.connect")}
- </Button>
- {isConnected && (
- <Button
- disabled={isBusy}
- onClick={handleDelete}
- type="button"
- variant="outline"
- >
- <Trash2 className="size-4" />
- {t("settings:telegramIntegration.disconnect")}
- </Button>
- )}
- </div>
- </form>
- </Form>
- </div>
- );
-}
+export { TelegramIntegrationSettings } from "@/components/project/integrations/telegram/telegram-integration-settings";
diff --git a/apps/web/src/components/project/workflow-editor.tsx b/apps/web/src/components/project/workflow-editor.tsx
deleted file mode 100644
index da126ae29..000000000
--- a/apps/web/src/components/project/workflow-editor.tsx
+++ /dev/null
@@ -1,136 +0,0 @@
-import { useTranslation } from "react-i18next";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import { useUpsertWorkflowRule } from "@/hooks/mutations/workflow-rule/use-upsert-workflow-rule";
-import { useGetColumns } from "@/hooks/queries/column/use-get-columns";
-import { useGetWorkflowRules } from "@/hooks/queries/workflow-rule/use-get-workflow-rules";
-import { toast } from "@/lib/toast";
-
-const GITHUB_EVENT_TYPES = [
- "branch_push",
- "pr_opened",
- "pr_merged",
- "issue_opened",
- "issue_closed",
-] as const;
-
-type WorkflowEditorProps = {
- projectId: string;
-};
-
-export default function WorkflowEditor({ projectId }: WorkflowEditorProps) {
- const { t } = useTranslation();
- const { data: columns, isLoading: columnsLoading } = useGetColumns(projectId);
- const { data: rules, isLoading: rulesLoading } =
- useGetWorkflowRules(projectId);
- const { mutateAsync: upsertRule } = useUpsertWorkflowRule();
-
- if (columnsLoading || rulesLoading) {
- return (
- <div className="text-sm text-muted-foreground">
- {t("settings:workflowEditor.loading")}
- </div>
- );
- }
-
- if (!columns || columns.length === 0) {
- return (
- <div className="text-sm text-muted-foreground">
- {t("settings:workflowEditor.createColumnsFirst")}
- </div>
- );
- }
-
- const renderRuleSection = (
- integrationType: "github" | "gitea" | "gitlab",
- headingKey: "githubHeading" | "giteaHeading" | "gitlabHeading",
- hintKey: "githubHint" | "giteaHint" | "gitlabHint",
- ) => (
- <div className="space-y-4">
- <div className="space-y-1">
- <h3 className="text-sm font-medium">
- {t(`settings:workflowEditor.${headingKey}`)}
- </h3>
- <p className="text-xs text-muted-foreground">
- {t(`settings:workflowEditor.${hintKey}`)}
- </p>
- </div>
-
- <div className="space-y-2">
- {GITHUB_EVENT_TYPES.map((eventType) => {
- const currentRule = rules?.find(
- (r) =>
- r.integrationType === integrationType &&
- r.eventType === eventType,
- );
-
- return (
- <div
- key={`${integrationType}-${eventType}`}
- className="flex items-center justify-between gap-4 p-3 border border-border rounded-md bg-sidebar"
- >
- <span className="text-sm">
- {t(`settings:workflowEditor.events.${eventType}`)}
- </span>
- <Select
- value={currentRule?.columnId ?? ""}
- onValueChange={async (value) => {
- if (!value) return;
- try {
- await upsertRule({
- projectId,
- data: {
- integrationType,
- eventType,
- columnId: value,
- },
- });
- toast.success(t("settings:workflowEditor.toastUpdated"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:workflowEditor.toastError"),
- );
- }
- }}
- >
- <SelectTrigger className="w-48 h-8 text-sm">
- <SelectValue
- placeholder={t(
- "settings:workflowEditor.selectColumnPlaceholder",
- )}
- >
- {columns.find((c) => c.id === currentRule?.columnId)
- ?.name ??
- t("settings:workflowEditor.selectColumnPlaceholder")}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- {columns.map((col) => (
- <SelectItem key={col.id} value={col.id}>
- {col.name}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
- );
- })}
- </div>
- </div>
- );
-
- return (
- <div className="space-y-10">
- {renderRuleSection("github", "githubHeading", "githubHint")}
- {renderRuleSection("gitea", "giteaHeading", "giteaHint")}
- {renderRuleSection("gitlab", "gitlabHeading", "gitlabHint")}
- </div>
- );
-}
diff --git a/apps/web/src/components/public-project/list-view.tsx b/apps/web/src/components/public-project/list-view.tsx
index a12305ac2..b41c95e22 100644
--- a/apps/web/src/components/public-project/list-view.tsx
+++ b/apps/web/src/components/public-project/list-view.tsx
@@ -41,7 +41,7 @@ export function PublicListView({ project, onTaskClick }: PublicListViewProps) {
))}
{column.tasks.length === 0 && (
- <div className="text-center text-sm text-muted-foreground py-8 bg-muted/50 rounded-lg border border-dashed border-border">
+ <div className="text-center text-sm text-muted-foreground py-8 bg-muted/50 rounded-lg border border-border">
<div className="w-8 h-8 rounded-full bg-muted flex items-center justify-center mx-auto mb-2">
{getColumnIcon(column.id, column.isFinal, column.icon)}
</div>
diff --git a/apps/web/src/components/settings/advanced-settings-switch.tsx b/apps/web/src/components/settings/advanced-settings-switch.tsx
index 315248ec9..75f0b31d7 100644
--- a/apps/web/src/components/settings/advanced-settings-switch.tsx
+++ b/apps/web/src/components/settings/advanced-settings-switch.tsx
@@ -1,12 +1,9 @@
-import { useId } from "react";
import { useTranslation } from "react-i18next";
-import { Label } from "@/components/ui/label";
-import { Switch } from "@/components/ui/switch";
+import { PreferenceSwitchRow } from "@/components/settings/preferences/preference-switch-row";
import { useUserPreferencesStore } from "@/store/user-preferences";
export function AdvancedSettingsSwitch() {
const { t } = useTranslation();
- const id = useId();
const advancedSettings = useUserPreferencesStore(
(state) => state.advancedSettings,
);
@@ -15,22 +12,11 @@ export function AdvancedSettingsSwitch() {
);
return (
- <div className="flex items-center justify-between gap-4 rounded-xl border border-border bg-card p-4">
- <div className="space-y-1">
- <Label htmlFor={id} className="text-sm font-medium">
- {t("settings:advancedSettings")}
- </Label>
- <p id={`${id}-description`} className="text-xs text-muted-foreground">
- {t("settings:advancedSettingsDescription")}
- </p>
- </div>
- <Switch
- id={id}
- aria-label={t("settings:advancedSettings")}
- aria-describedby={`${id}-description`}
- checked={advancedSettings}
- onCheckedChange={setAdvancedSettings}
- />
- </div>
+ <PreferenceSwitchRow
+ title={t("settings:advancedSettings")}
+ description={t("settings:advancedSettingsDescription")}
+ checked={advancedSettings}
+ onCheckedChange={setAdvancedSettings}
+ />
);
}
diff --git a/apps/web/src/components/settings/api-key-created-modal.tsx b/apps/web/src/components/settings/api-key-created-modal.tsx
deleted file mode 100644
index 8c71c3f8a..000000000
--- a/apps/web/src/components/settings/api-key-created-modal.tsx
+++ /dev/null
@@ -1,106 +0,0 @@
-import { Check, Copy } from "lucide-react";
-import { useState } from "react";
-import { useTranslation } from "react-i18next";
-import { toast } from "@/lib/toast";
-import { Alert, AlertDescription, AlertTitle } from "../ui/alert";
-import { Button } from "../ui/button";
-import {
- Dialog,
- DialogContent,
- DialogDescription,
- DialogFooter,
- DialogHeader,
- DialogTitle,
-} from "../ui/dialog";
-
-type ApiKeyCreatedModalProps = {
- apiKey: string;
- keyName: string;
- open: boolean;
- onClose: () => void;
-};
-
-export function ApiKeyCreatedModal({
- apiKey,
- keyName,
- open,
- onClose,
-}: ApiKeyCreatedModalProps) {
- const { t } = useTranslation();
- const [copied, setCopied] = useState(false);
-
- const handleCopy = () => {
- navigator.clipboard.writeText(apiKey);
- setCopied(true);
- toast.success(t("settings:apiKey.createdModal.toastCopied"));
- };
-
- return (
- <Dialog open={open} onOpenChange={onClose}>
- <DialogContent className="max-w-[446px]">
- <DialogHeader>
- <DialogTitle>{t("settings:apiKey.createdModal.title")}</DialogTitle>
- <DialogDescription>
- {t("settings:apiKey.createdModal.description", {
- keyName,
- })}
- </DialogDescription>
- </DialogHeader>
-
- <div className="space-y-4 px-6 py-4">
- <div className="space-y-2">
- <div className="flex items-center justify-between">
- <p className="text-xs font-medium">
- {t("settings:apiKey.createdModal.yourApiKey")}
- </p>
- <Button
- variant="ghost"
- size="sm"
- onClick={handleCopy}
- className="h-7 gap-1.5 text-xs"
- >
- {copied ? (
- <>
- <Check className="h-3 w-3 text-success-foreground" />
- {t("settings:apiKey.createdModal.copied")}
- </>
- ) : (
- <>
- <Copy className="h-3 w-3" />
- {t("settings:apiKey.createdModal.copy")}
- </>
- )}
- </Button>
- </div>
- <div className="bg-sidebar border border-border rounded-sm p-2.5 max-h-24 overflow-y-auto">
- <code className="text-xs font-mono text-foreground break-all leading-relaxed">
- {apiKey}
- </code>
- </div>
- </div>
-
- <Alert>
- <AlertTitle>
- {t("settings:apiKey.createdModal.alertTitle")}
- </AlertTitle>
- <AlertDescription>
- {t("settings:apiKey.createdModal.alertDescription")}
- </AlertDescription>
- </Alert>
- </div>
-
- <DialogFooter className="gap-2 sm:gap-2">
- <Button
- onClick={onClose}
- disabled={!copied}
- className="h-8 text-xs w-full sm:w-auto"
- >
- {copied
- ? t("settings:apiKey.createdModal.done")
- : t("settings:apiKey.createdModal.copyToContinue")}
- </Button>
- </DialogFooter>
- </DialogContent>
- </Dialog>
- );
-}
diff --git a/apps/web/src/components/settings/api-key-table.tsx b/apps/web/src/components/settings/api-key-table.tsx
deleted file mode 100644
index dcf872319..000000000
--- a/apps/web/src/components/settings/api-key-table.tsx
+++ /dev/null
@@ -1,231 +0,0 @@
-import { Trash2 } from "lucide-react";
-import { useMemo, useState } from "react";
-import { useTranslation } from "react-i18next";
-import useDeleteApiKey from "@/hooks/mutations/api-key/use-delete-api-key";
-import { cn } from "@/lib/cn";
-import { toast } from "@/lib/toast";
-import type { ApiKey } from "@/types/api-key";
-import {
- AlertDialog,
- AlertDialogClose,
- AlertDialogContent,
- AlertDialogDescription,
- AlertDialogFooter,
- AlertDialogHeader,
- AlertDialogTitle,
-} from "../ui/alert-dialog";
-import { Badge } from "../ui/badge";
-import { Button } from "../ui/button";
-import { Frame, FramePanel } from "../ui/frame";
-import {
- Table,
- TableBody,
- TableCell,
- TableHead,
- TableHeader,
- TableRow,
-} from "../ui/table";
-
-type ApiKeyTableProps = {
- apiKeys: ApiKey[];
- isLoading: boolean;
-};
-
-function formatDate(value: Date | string | null) {
- if (!value) return "-";
-
- const date = new Date(value);
- return new Intl.DateTimeFormat(undefined, {
- month: "short",
- day: "numeric",
- year: "numeric",
- }).format(date);
-}
-
-export function ApiKeyTable({ apiKeys, isLoading }: ApiKeyTableProps) {
- const { t } = useTranslation();
- const { mutateAsync: deleteApiKey } = useDeleteApiKey();
- const [deletingId, setDeletingId] = useState<string | null>(null);
- const [pendingDeleteId, setPendingDeleteId] = useState<string | null>(null);
-
- const getExpirationState = (expiresAt: Date | string | null) => {
- if (!expiresAt) {
- return { label: t("common:formats.never"), isExpired: false };
- }
-
- const expirationDate = new Date(expiresAt);
- const isExpired = expirationDate.getTime() <= Date.now();
-
- return {
- label: formatDate(expirationDate),
- isExpired,
- };
- };
-
- const pendingDeleteKey = useMemo(
- () => apiKeys.find((key) => key.id === pendingDeleteId) ?? null,
- [apiKeys, pendingDeleteId],
- );
-
- const handleDelete = async () => {
- if (!pendingDeleteKey) return;
-
- setDeletingId(pendingDeleteKey.id);
- try {
- await deleteApiKey(pendingDeleteKey.id);
- toast.success(t("settings:apiKey.table.toastDeleted"));
- setPendingDeleteId(null);
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:apiKey.table.toastDeleteError"),
- );
- } finally {
- setDeletingId(null);
- }
- };
-
- if (isLoading) {
- return (
- <Frame>
- <FramePanel className="p-8">
- <p className="text-sm text-muted-foreground text-center">
- {t("settings:apiKey.table.loading")}
- </p>
- </FramePanel>
- </Frame>
- );
- }
-
- if (apiKeys.length === 0) {
- return (
- <Frame>
- <FramePanel className="p-8">
- <p className="text-sm text-muted-foreground text-center">
- {t("settings:apiKey.table.empty")}
- </p>
- </FramePanel>
- </Frame>
- );
- }
-
- return (
- <>
- <Frame>
- <Table>
- <TableHeader>
- <TableRow>
- <TableHead>{t("settings:apiKey.table.columnName")}</TableHead>
- <TableHead>{t("settings:apiKey.table.columnKey")}</TableHead>
- <TableHead>{t("settings:apiKey.table.columnCreated")}</TableHead>
- <TableHead>{t("settings:apiKey.table.columnExpires")}</TableHead>
- <TableHead className="w-[90px] text-right">
- {t("settings:apiKey.table.columnActions")}
- </TableHead>
- </TableRow>
- </TableHeader>
- <TableBody>
- {apiKeys.map((apiKey) => {
- const expiration = getExpirationState(apiKey.expiresAt);
-
- return (
- <TableRow
- key={apiKey.id}
- className={cn(
- expiration.isExpired &&
- "bg-destructive/5 hover:bg-destructive/10",
- )}
- >
- <TableCell
- className={cn(
- "font-medium",
- expiration.isExpired && "text-destructive-foreground",
- )}
- >
- {apiKey.name || t("settings:apiKey.table.unnamedKey")}
- </TableCell>
- <TableCell>
- <code className="text-xs bg-background px-2 py-1 rounded border border-border">
- {apiKey.start}...
- </code>
- </TableCell>
- <TableCell className="text-muted-foreground">
- {formatDate(apiKey.createdAt)}
- </TableCell>
- <TableCell>
- {expiration.isExpired ? (
- <Badge variant="error">
- {t("settings:apiKey.table.expiredBadge", {
- label: expiration.label,
- })}
- </Badge>
- ) : (
- <span className="text-muted-foreground">
- {expiration.label}
- </span>
- )}
- </TableCell>
- <TableCell className="text-right">
- <Button
- variant="ghost"
- size="icon"
- className="h-8 w-8 text-destructive hover:text-destructive"
- onClick={() => setPendingDeleteId(apiKey.id)}
- disabled={deletingId === apiKey.id}
- aria-label={t("settings:apiKey.table.deleteAria", {
- name:
- apiKey.name ||
- t("settings:apiKey.table.deleteAriaFallback"),
- })}
- >
- <Trash2 className="h-4 w-4" />
- </Button>
- </TableCell>
- </TableRow>
- );
- })}
- </TableBody>
- </Table>
- </Frame>
-
- <AlertDialog
- open={Boolean(pendingDeleteKey)}
- onOpenChange={(nextOpen) => {
- if (!nextOpen && !deletingId) {
- setPendingDeleteId(null);
- }
- }}
- >
- <AlertDialogContent>
- <AlertDialogHeader>
- <AlertDialogTitle>
- {t("settings:apiKey.table.deleteConfirmTitle")}
- </AlertDialogTitle>
- <AlertDialogDescription>
- {t("settings:apiKey.table.deleteConfirmDescription", {
- name:
- pendingDeleteKey?.name ||
- t("settings:apiKey.table.deleteFallbackName"),
- })}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <AlertDialogClose render={<Button variant="outline" />}>
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <Button
- variant="destructive"
- onClick={handleDelete}
- disabled={Boolean(deletingId)}
- >
- {deletingId
- ? t("settings:apiKey.table.deleting")
- : t("settings:apiKey.table.delete")}
- </Button>
- </AlertDialogFooter>
- </AlertDialogContent>
- </AlertDialog>
- </>
- );
-}
diff --git a/apps/web/src/components/settings/api-keys/api-key-created-dialog.tsx b/apps/web/src/components/settings/api-keys/api-key-created-dialog.tsx
new file mode 100644
index 000000000..012ab5700
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-key-created-dialog.tsx
@@ -0,0 +1,89 @@
+import { CheckIcon, CopyIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { copyToClipboard } from "@/lib/copy-to-clipboard";
+import { toast } from "@/lib/toast";
+
+type ApiKeyCreatedDialogProps = {
+ apiKey: string;
+ open: boolean;
+ onClose: () => void;
+};
+
+export function ApiKeyCreatedDialog({
+ apiKey,
+ open,
+ onClose,
+}: ApiKeyCreatedDialogProps) {
+ const { t } = useTranslation();
+ const [copied, setCopied] = useState(false);
+
+ const handleCopy = async () => {
+ if (await copyToClipboard(apiKey)) {
+ setCopied(true);
+ return;
+ }
+ toast.error(t("settings:apiKey.createdModal.copyError"));
+ };
+
+ return (
+ <Dialog
+ open={open}
+ onOpenChange={(next) => {
+ if (!next) onClose();
+ }}
+ >
+ <DialogPopup className="sm:max-w-md">
+ <DialogHeader>
+ <DialogTitle>{t("settings:apiKey.createdModal.title")}</DialogTitle>
+ <DialogDescription>
+ {t("settings:apiKey.createdModal.description")}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel>
+ <div className="flex items-center gap-2 rounded-lg border border-input bg-muted/40 py-1.5 ps-3 pe-1.5">
+ <code className="min-w-0 flex-1 select-all truncate font-mono text-xs">
+ {apiKey}
+ </code>
+ <Button
+ type="button"
+ variant="secondary"
+ size="xs"
+ onClick={handleCopy}
+ >
+ {copied ? (
+ <>
+ <CheckIcon
+ aria-hidden="true"
+ className="text-success-foreground"
+ />
+ {t("settings:apiKey.createdModal.copied")}
+ </>
+ ) : (
+ <>
+ <CopyIcon aria-hidden="true" />
+ {t("settings:apiKey.createdModal.copy")}
+ </>
+ )}
+ </Button>
+ </div>
+ </DialogPanel>
+ <DialogFooter>
+ <Button type="button" onClick={onClose} disabled={!copied}>
+ {t("settings:apiKey.createdModal.done")}
+ </Button>
+ </DialogFooter>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/settings/api-keys/api-key-expirations.test.ts b/apps/web/src/components/settings/api-keys/api-key-expirations.test.ts
new file mode 100644
index 000000000..5b9123671
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-key-expirations.test.ts
@@ -0,0 +1,22 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ getExpirationSeconds,
+ isApiKeyExpiration,
+} from "./api-key-expirations";
+
+describe("API key expirations", () => {
+ it("maps each choice to the seconds sent to the API", () => {
+ expect(getExpirationSeconds("1d")).toBe(86_400);
+ expect(getExpirationSeconds("7d")).toBe(604_800);
+ expect(getExpirationSeconds("30d")).toBe(2_592_000);
+ expect(getExpirationSeconds("90d")).toBe(7_776_000);
+ expect(getExpirationSeconds("never")).toBeNull();
+ });
+
+ it("recognizes only known choices", () => {
+ expect(isApiKeyExpiration("30d")).toBe(true);
+ expect(isApiKeyExpiration("never")).toBe(true);
+ expect(isApiKeyExpiration("365d")).toBe(false);
+ expect(isApiKeyExpiration(undefined)).toBe(false);
+ });
+});
diff --git a/apps/web/src/components/settings/api-keys/api-key-expirations.ts b/apps/web/src/components/settings/api-keys/api-key-expirations.ts
new file mode 100644
index 000000000..23ddf311a
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-key-expirations.ts
@@ -0,0 +1,42 @@
+export const API_KEY_EXPIRATIONS = [
+ {
+ value: "1d",
+ seconds: 86_400,
+ labelKey: "settings:apiKey.createDialog.expiration1d",
+ },
+ {
+ value: "7d",
+ seconds: 604_800,
+ labelKey: "settings:apiKey.createDialog.expiration7d",
+ },
+ {
+ value: "30d",
+ seconds: 2_592_000,
+ labelKey: "settings:apiKey.createDialog.expiration30d",
+ },
+ {
+ value: "90d",
+ seconds: 7_776_000,
+ labelKey: "settings:apiKey.createDialog.expiration90d",
+ },
+ {
+ value: "never",
+ seconds: null,
+ labelKey: "settings:apiKey.createDialog.expirationNever",
+ },
+] as const;
+
+export type ApiKeyExpiration = (typeof API_KEY_EXPIRATIONS)[number]["value"];
+
+export const DEFAULT_API_KEY_EXPIRATION: ApiKeyExpiration = "30d";
+
+export function isApiKeyExpiration(value: unknown): value is ApiKeyExpiration {
+ return API_KEY_EXPIRATIONS.some((option) => option.value === value);
+}
+
+export function getExpirationSeconds(value: ApiKeyExpiration): number | null {
+ return (
+ API_KEY_EXPIRATIONS.find((option) => option.value === value)?.seconds ??
+ null
+ );
+}
diff --git a/apps/web/src/components/settings/api-keys/api-key-expiry-toggle.tsx b/apps/web/src/components/settings/api-keys/api-key-expiry-toggle.tsx
new file mode 100644
index 000000000..342a05a2e
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-key-expiry-toggle.tsx
@@ -0,0 +1,46 @@
+import { useTranslation } from "react-i18next";
+import {
+ API_KEY_EXPIRATIONS,
+ type ApiKeyExpiration,
+ isApiKeyExpiration,
+} from "@/components/settings/api-keys/api-key-expirations";
+import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
+
+type ApiKeyExpiryToggleProps = {
+ value: ApiKeyExpiration;
+ onChange: (value: ApiKeyExpiration) => void;
+ labelledBy: string;
+ disabled?: boolean;
+};
+
+export function ApiKeyExpiryToggle({
+ value,
+ onChange,
+ labelledBy,
+ disabled,
+}: ApiKeyExpiryToggleProps) {
+ const { t } = useTranslation();
+
+ return (
+ <ToggleGroup
+ aria-labelledby={labelledBy}
+ value={[value]}
+ onValueChange={([next]) => {
+ if (isApiKeyExpiration(next)) onChange(next);
+ }}
+ disabled={disabled}
+ className="h-9 w-full rounded-lg border border-input bg-background p-0.5 sm:h-8 dark:bg-input/32"
+ >
+ {API_KEY_EXPIRATIONS.map((option) => (
+ <ToggleGroupItem
+ key={option.value}
+ value={option.value}
+ size="sm"
+ className="h-full flex-1 text-muted-foreground data-pressed:text-foreground sm:h-full"
+ >
+ {t(option.labelKey)}
+ </ToggleGroupItem>
+ ))}
+ </ToggleGroup>
+ );
+}
diff --git a/apps/web/src/components/settings/api-keys/api-key-item.ts b/apps/web/src/components/settings/api-keys/api-key-item.ts
new file mode 100644
index 000000000..300872688
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-key-item.ts
@@ -0,0 +1,5 @@
+import type useGetApiKeys from "@/hooks/queries/use-get-api-keys";
+
+export type ApiKeyItem = NonNullable<
+ ReturnType<typeof useGetApiKeys>["data"]
+>[number];
diff --git a/apps/web/src/components/settings/api-keys/api-key-row.tsx b/apps/web/src/components/settings/api-keys/api-key-row.tsx
new file mode 100644
index 000000000..e45e56ba0
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-key-row.tsx
@@ -0,0 +1,70 @@
+import { KeyRoundIcon, Trash2Icon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import type { ApiKeyItem } from "@/components/settings/api-keys/api-key-item";
+import { getApiKeyExpiry } from "@/components/settings/api-keys/get-api-key-expiry";
+import { RowActionsMenu } from "@/components/settings/row-actions-menu";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { StatusBadge } from "@/components/settings/status-badge";
+import { formatDateMedium } from "@/lib/format";
+
+type ApiKeyRowProps = {
+ apiKey: ApiKeyItem;
+ onDelete: (apiKey: ApiKeyItem) => void;
+};
+
+export function ApiKeyRow({ apiKey, onDelete }: ApiKeyRowProps) {
+ const { t } = useTranslation();
+ const name = apiKey.name || t("settings:developerPage.unnamedKey");
+ const expiry = getApiKeyExpiry(apiKey.expiresAt);
+ const expired = expiry.status === "expired";
+ const created = t("settings:apiKey.row.created", {
+ date: formatDateMedium(apiKey.createdAt),
+ });
+ const expiryText =
+ expiry.status === "never"
+ ? t("settings:apiKey.row.neverExpires")
+ : t(
+ expired
+ ? "settings:apiKey.row.expired"
+ : "settings:apiKey.row.expires",
+ { date: formatDateMedium(expiry.date) },
+ );
+
+ return (
+ <SettingsRow
+ icon={<KeyRoundIcon className={expired ? "opacity-50" : undefined} />}
+ title={name}
+ titleClassName={expired ? "text-muted-foreground" : undefined}
+ badge={
+ expired ? (
+ <StatusBadge tone="destructive">
+ {t("settings:apiKey.row.expiredBadge")}
+ </StatusBadge>
+ ) : null
+ }
+ description={
+ <span className="flex min-w-0 items-center gap-2">
+ {apiKey.start ? (
+ <span className="shrink-0 font-mono">{apiKey.start}…</span>
+ ) : null}
+ <span className="truncate">
+ {created} · {expiryText}
+ </span>
+ </span>
+ }
+ >
+ <RowActionsMenu
+ label={t("settings:apiKey.row.actions", { name })}
+ actions={[
+ {
+ id: "delete",
+ label: t("settings:apiKey.table.delete"),
+ icon: Trash2Icon,
+ destructive: true,
+ onSelect: () => onDelete(apiKey),
+ },
+ ]}
+ />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/api-keys/api-keys-settings.test.tsx b/apps/web/src/components/settings/api-keys/api-keys-settings.test.tsx
new file mode 100644
index 000000000..d13afd8db
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-keys-settings.test.tsx
@@ -0,0 +1,266 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { ApiKeysSettings } from "./api-keys-settings";
+
+type TestKey = {
+ id: string;
+ name: string | null;
+ start: string | null;
+ createdAt: string;
+ expiresAt: string | null;
+};
+
+const m = vi.hoisted(() => ({
+ keys: [] as TestKey[],
+ isPending: false,
+ create: vi.fn(),
+ remove: vi.fn(),
+ copy: vi.fn(),
+ success: vi.fn(),
+ error: vi.fn(),
+}));
+
+vi.mock("@/lib/i18n", () => ({ i18n: { t: (key: string) => key } }));
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/lib/format", () => ({
+ formatDateMedium: () => "Sep 2, 2026",
+}));
+vi.mock("@/hooks/queries/use-get-api-keys", () => ({
+ default: () => ({
+ data: m.isPending ? undefined : m.keys,
+ isPending: m.isPending,
+ isError: false,
+ }),
+}));
+vi.mock("@/hooks/mutations/api-key/use-create-api-key", () => ({
+ default: () => ({ mutateAsync: m.create, isPending: false }),
+}));
+vi.mock("@/hooks/mutations/api-key/use-delete-api-key", () => ({
+ default: () => ({ mutateAsync: m.remove, isPending: false }),
+}));
+vi.mock("@/lib/copy-to-clipboard", () => ({
+ copyToClipboard: (text: string) => m.copy(text),
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: m.success, error: m.error },
+}));
+
+const activeKey: TestKey = {
+ id: "cli",
+ name: "Kaneo CLI",
+ start: "kn_8f2a",
+ createdAt: "2026-09-02T00:00:00Z",
+ expiresAt: null,
+};
+const expiredKey: TestKey = {
+ id: "deploy",
+ name: "Deploy script",
+ start: "kn_3d9e",
+ createdAt: "2026-08-04T00:00:00Z",
+ expiresAt: "2026-09-03T00:00:00Z",
+};
+
+afterEach(cleanup);
+beforeEach(() => {
+ vi.clearAllMocks();
+ m.keys = [activeKey, expiredKey];
+ m.isPending = false;
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ vi.stubGlobal(
+ "ResizeObserver",
+ class {
+ observe() {}
+ unobserve() {}
+ disconnect() {}
+ },
+ );
+});
+
+describe("API keys list", () => {
+ it("shows the key prefix, expiry state and an expired badge only on expired keys", () => {
+ render(<ApiKeysSettings />);
+ expect(screen.getByText("Kaneo CLI")).toBeInTheDocument();
+ expect(screen.getByText("kn_8f2a…")).toBeInTheDocument();
+ expect(
+ screen.getAllByText(/settings:apiKey\.row\.neverExpires/),
+ ).toHaveLength(1);
+ expect(screen.getAllByText(/settings:apiKey\.row\.expired$/)).toHaveLength(
+ 1,
+ );
+ expect(
+ screen.getAllByText("settings:apiKey.row.expiredBadge"),
+ ).toHaveLength(1);
+ });
+
+ it("shows skeleton rows while loading and an empty state with a create action", () => {
+ m.isPending = true;
+ const { unmount } = render(<ApiKeysSettings />);
+ expect(screen.getAllByTestId("settings-row-skeleton")).toHaveLength(2);
+ unmount();
+
+ m.isPending = false;
+ m.keys = [];
+ render(<ApiKeysSettings />);
+ expect(
+ screen.getByText("settings:developerPage.emptyTitle"),
+ ).toBeInTheDocument();
+ expect(
+ screen.getAllByRole("button", { name: "settings:developerPage.newKey" }),
+ ).toHaveLength(2);
+ });
+
+ it("deletes a key only after confirmation", async () => {
+ m.remove.mockResolvedValue({ success: true });
+ render(<ApiKeysSettings />);
+ const [firstMenu] = screen.getAllByRole("button", {
+ name: "settings:apiKey.row.actions",
+ });
+ fireEvent.click(firstMenu);
+ fireEvent.click(
+ await screen.findByRole("menuitem", {
+ name: "settings:apiKey.table.delete",
+ }),
+ );
+ const dialog = await screen.findByRole("alertdialog");
+ expect(m.remove).not.toHaveBeenCalled();
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:apiKey.table.delete",
+ }),
+ );
+ await waitFor(() => expect(m.remove).toHaveBeenCalledWith("cli"));
+ expect(m.success).toHaveBeenCalledWith(
+ "settings:apiKey.table.toastDeleted",
+ );
+ });
+});
+
+describe("creating API keys", () => {
+ it("validates the name, sends the chosen expiry and keeps Done disabled until the key is copied", async () => {
+ m.create.mockResolvedValue({ key: "kn_secret", name: "Laptop" });
+ m.copy.mockResolvedValue(true);
+ render(<ApiKeysSettings />);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:developerPage.newKey" }),
+ );
+ const dialog = await screen.findByRole("dialog");
+ expect(
+ within(dialog).getByRole("button", {
+ name: "settings:apiKey.createDialog.expiration30d",
+ }),
+ ).toHaveAttribute("aria-pressed", "true");
+
+ fireEvent.change(
+ within(dialog).getByLabelText("settings:apiKey.createDialog.nameLabel"),
+ { target: { value: "ab" } },
+ );
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:apiKey.createDialog.create",
+ }),
+ );
+ expect(
+ await within(dialog).findByText(
+ "settings:apiKey.createDialog.validation.nameShort",
+ ),
+ ).toBeInTheDocument();
+ expect(m.create).not.toHaveBeenCalled();
+
+ fireEvent.change(
+ within(dialog).getByLabelText("settings:apiKey.createDialog.nameLabel"),
+ { target: { value: "Laptop" } },
+ );
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:apiKey.createDialog.expirationNever",
+ }),
+ );
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:apiKey.createDialog.create",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ name: "Laptop",
+ expiresIn: null,
+ }),
+ );
+
+ expect(
+ await screen.findByText("settings:apiKey.createdModal.title"),
+ ).toBeInTheDocument();
+ expect(screen.getByText("kn_secret")).toBeInTheDocument();
+ const done = screen.getByRole("button", {
+ name: "settings:apiKey.createdModal.done",
+ });
+ expect(done).toBeDisabled();
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:apiKey.createdModal.copy" }),
+ );
+ await waitFor(() => expect(m.copy).toHaveBeenCalledWith("kn_secret"));
+ await waitFor(() => expect(done).toBeEnabled());
+ expect(
+ screen.getByRole("button", {
+ name: "settings:apiKey.createdModal.copied",
+ }),
+ ).toBeInTheDocument();
+ });
+
+ it("keeps Done disabled and reports an error when copying fails", async () => {
+ m.create.mockResolvedValue({ key: "kn_secret", name: "Laptop" });
+ m.copy.mockResolvedValue(false);
+ render(<ApiKeysSettings />);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:developerPage.newKey" }),
+ );
+ const dialog = await screen.findByRole("dialog");
+ fireEvent.change(
+ within(dialog).getByLabelText("settings:apiKey.createDialog.nameLabel"),
+ { target: { value: "Laptop" } },
+ );
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:apiKey.createDialog.create",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ name: "Laptop",
+ expiresIn: 2_592_000,
+ }),
+ );
+ fireEvent.click(
+ await screen.findByRole("button", {
+ name: "settings:apiKey.createdModal.copy",
+ }),
+ );
+ await waitFor(() =>
+ expect(m.error).toHaveBeenCalledWith(
+ "settings:apiKey.createdModal.copyError",
+ ),
+ );
+ expect(
+ screen.getByRole("button", { name: "settings:apiKey.createdModal.done" }),
+ ).toBeDisabled();
+ });
+});
diff --git a/apps/web/src/components/settings/api-keys/api-keys-settings.tsx b/apps/web/src/components/settings/api-keys/api-keys-settings.tsx
new file mode 100644
index 000000000..cdc686bc2
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/api-keys-settings.tsx
@@ -0,0 +1,107 @@
+import { KeyRoundIcon, LockIcon, PlusIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ApiKeyCreatedDialog } from "@/components/settings/api-keys/api-key-created-dialog";
+import type { ApiKeyItem } from "@/components/settings/api-keys/api-key-item";
+import { ApiKeyRow } from "@/components/settings/api-keys/api-key-row";
+import { CreateApiKeyDialog } from "@/components/settings/api-keys/create-api-key-dialog";
+import { DeleteApiKeyDialog } from "@/components/settings/api-keys/delete-api-key-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+import { SettingsNote } from "@/components/settings/settings-note";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsRowsSkeleton } from "@/components/settings/settings-rows-skeleton";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useGetApiKeys from "@/hooks/queries/use-get-api-keys";
+
+export function ApiKeysSettings() {
+ const { t } = useTranslation();
+ const apiKeysQuery = useGetApiKeys();
+ const apiKeys = apiKeysQuery.data ?? [];
+ const [createOpen, setCreateOpen] = useState(false);
+ const [createdKey, setCreatedKey] = useState<string | null>(null);
+ const [deleteOpen, setDeleteOpen] = useState(false);
+ const [deletingKey, setDeletingKey] = useState<ApiKeyItem | null>(null);
+
+ const openDeleteDialog = (apiKey: ApiKeyItem) => {
+ setDeletingKey(apiKey);
+ setDeleteOpen(true);
+ };
+
+ const newKeyButton = (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() => setCreateOpen(true)}
+ >
+ <PlusIcon aria-hidden="true" />
+ {t("settings:developerPage.newKey")}
+ </Button>
+ );
+
+ const renderKeys = () => {
+ if (apiKeysQuery.isPending) {
+ return <SettingsRowsSkeleton rows={2} withDescription />;
+ }
+ if (apiKeysQuery.isError) {
+ return (
+ <p
+ role="alert"
+ className="px-4 py-3.5 text-destructive-foreground text-sm"
+ >
+ {t("settings:developerPage.loadError")}
+ </p>
+ );
+ }
+ if (apiKeys.length === 0) {
+ return (
+ <SettingsEmpty
+ icon={<KeyRoundIcon />}
+ title={t("settings:developerPage.emptyTitle")}
+ description={t("settings:developerPage.emptyDescription")}
+ action={newKeyButton}
+ />
+ );
+ }
+ return apiKeys.map((apiKey) => (
+ <ApiKeyRow key={apiKey.id} apiKey={apiKey} onDelete={openDeleteDialog} />
+ ));
+ };
+
+ return (
+ <>
+ <SettingsPage
+ title={t("settings:developerPage.title")}
+ description={t("settings:developerPage.subtitle")}
+ actions={newKeyButton}
+ >
+ <SettingsSection title={t("settings:developerPage.keysTitle")}>
+ <SettingsCard>{renderKeys()}</SettingsCard>
+ <SettingsNote icon={LockIcon}>
+ {t("settings:developerPage.keysNote")}
+ </SettingsNote>
+ </SettingsSection>
+ </SettingsPage>
+
+ <CreateApiKeyDialog
+ open={createOpen}
+ onClose={() => setCreateOpen(false)}
+ onSuccess={(data) => setCreatedKey(data.key)}
+ />
+ {createdKey ? (
+ <ApiKeyCreatedDialog
+ apiKey={createdKey}
+ open
+ onClose={() => setCreatedKey(null)}
+ />
+ ) : null}
+ <DeleteApiKeyDialog
+ open={deleteOpen}
+ onOpenChange={setDeleteOpen}
+ apiKey={deletingKey}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/api-keys/create-api-key-dialog.tsx b/apps/web/src/components/settings/api-keys/create-api-key-dialog.tsx
new file mode 100644
index 000000000..4dc1187ed
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/create-api-key-dialog.tsx
@@ -0,0 +1,181 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import { useId, useMemo } from "react";
+import { useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { z } from "zod";
+import {
+ type ApiKeyExpiration,
+ DEFAULT_API_KEY_EXPIRATION,
+ getExpirationSeconds,
+ isApiKeyExpiration,
+} from "@/components/settings/api-keys/api-key-expirations";
+import { ApiKeyExpiryToggle } from "@/components/settings/api-keys/api-key-expiry-toggle";
+import { Button } from "@/components/ui/button";
+import {
+ Dialog,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogPopup,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import {
+ Form,
+ FormControl,
+ FormDescription,
+ FormField,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+import useCreateApiKey from "@/hooks/mutations/api-key/use-create-api-key";
+import { toast } from "@/lib/toast";
+import type { CreateApiKeyResponse } from "@/types/api-key";
+
+type FormValues = {
+ name: string;
+ expiresIn: ApiKeyExpiration;
+};
+
+type CreateApiKeyDialogProps = {
+ open: boolean;
+ onClose: () => void;
+ onSuccess: (data: CreateApiKeyResponse) => void;
+};
+
+export function CreateApiKeyDialog({
+ open,
+ onClose,
+ onSuccess,
+}: CreateApiKeyDialogProps) {
+ const { t } = useTranslation();
+ const { mutateAsync: createApiKey, isPending } = useCreateApiKey();
+ const expiresLabelId = useId();
+
+ const schema = useMemo(
+ () =>
+ z.object({
+ name: z
+ .string()
+ .trim()
+ .min(1, t("settings:apiKey.createDialog.validation.nameRequired"))
+ .min(3, t("settings:apiKey.createDialog.validation.nameShort")),
+ expiresIn: z.custom<ApiKeyExpiration>(isApiKeyExpiration),
+ }),
+ [t],
+ );
+
+ const form = useForm<FormValues>({
+ resolver: standardSchemaResolver(schema),
+ defaultValues: { name: "", expiresIn: DEFAULT_API_KEY_EXPIRATION },
+ });
+
+ const onSubmit = async (data: FormValues) => {
+ try {
+ const result = await createApiKey({
+ name: data.name,
+ expiresIn: getExpirationSeconds(data.expiresIn),
+ });
+ form.reset();
+ onSuccess(result);
+ onClose();
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:apiKey.createDialog.failedCreate"),
+ );
+ }
+ };
+
+ const handleClose = () => {
+ if (isPending) return;
+ form.reset();
+ onClose();
+ };
+
+ return (
+ <Dialog
+ open={open}
+ onOpenChange={(next) => {
+ if (!next) handleClose();
+ }}
+ >
+ <DialogPopup className="sm:max-w-md">
+ <Form {...form}>
+ <form className="contents" onSubmit={form.handleSubmit(onSubmit)}>
+ <DialogHeader>
+ <DialogTitle>
+ {t("settings:apiKey.createDialog.title")}
+ </DialogTitle>
+ <DialogDescription>
+ {t("settings:apiKey.createDialog.description")}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel className="space-y-5">
+ <FormField
+ control={form.control}
+ name="name"
+ render={({ field }) => (
+ <FormItem>
+ <FormLabel>
+ {t("settings:apiKey.createDialog.nameLabel")}
+ </FormLabel>
+ <FormControl>
+ <Input
+ placeholder={t(
+ "settings:apiKey.createDialog.namePlaceholder",
+ )}
+ {...field}
+ disabled={isPending}
+ />
+ </FormControl>
+ <FormDescription className="text-xs">
+ {t("settings:apiKey.createDialog.nameDescription")}
+ </FormDescription>
+ <FormMessage className="font-normal text-destructive-foreground text-xs" />
+ </FormItem>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="expiresIn"
+ render={({ field }) => (
+ <FormItem>
+ <Label id={expiresLabelId} render={<span />}>
+ {t("settings:apiKey.createDialog.expirationLabel")}
+ </Label>
+ <ApiKeyExpiryToggle
+ labelledBy={expiresLabelId}
+ value={field.value}
+ onChange={field.onChange}
+ disabled={isPending}
+ />
+ </FormItem>
+ )}
+ />
+ </DialogPanel>
+ <DialogFooter>
+ <Button
+ type="button"
+ variant="outline"
+ onClick={handleClose}
+ disabled={isPending}
+ >
+ {t("common:actions.cancel")}
+ </Button>
+ <Button type="submit" disabled={isPending}>
+ {isPending
+ ? t("settings:apiKey.createDialog.creating")
+ : t("settings:apiKey.createDialog.create")}
+ </Button>
+ </DialogFooter>
+ </form>
+ </Form>
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/settings/api-keys/delete-api-key-dialog.tsx b/apps/web/src/components/settings/api-keys/delete-api-key-dialog.tsx
new file mode 100644
index 000000000..d24f21848
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/delete-api-key-dialog.tsx
@@ -0,0 +1,54 @@
+import { useTranslation } from "react-i18next";
+import type { ApiKeyItem } from "@/components/settings/api-keys/api-key-item";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import useDeleteApiKey from "@/hooks/mutations/api-key/use-delete-api-key";
+import { toast } from "@/lib/toast";
+
+type DeleteApiKeyDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ apiKey: ApiKeyItem | null;
+};
+
+export function DeleteApiKeyDialog({
+ open,
+ onOpenChange,
+ apiKey,
+}: DeleteApiKeyDialogProps) {
+ const { t } = useTranslation();
+ const { mutateAsync: deleteApiKey, isPending } = useDeleteApiKey();
+ const name = apiKey?.name || t("settings:developerPage.unnamedKey");
+
+ const handleConfirm = async () => {
+ if (!apiKey) return;
+
+ try {
+ await deleteApiKey(apiKey.id);
+ toast.success(t("settings:apiKey.table.toastDeleted"));
+ onOpenChange(false);
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:apiKey.table.toastDeleteError"),
+ );
+ }
+ };
+
+ return (
+ <ConfirmDialog
+ open={open}
+ onOpenChange={(next) => {
+ if (next || !isPending) onOpenChange(next);
+ }}
+ title={t("settings:apiKey.table.deleteConfirmTitle", { name })}
+ description={t("settings:apiKey.table.deleteConfirmDescription", {
+ name,
+ })}
+ confirmLabel={t("settings:apiKey.table.delete")}
+ pendingLabel={t("settings:apiKey.table.deleting")}
+ pending={isPending}
+ onConfirm={handleConfirm}
+ />
+ );
+}
diff --git a/apps/web/src/components/settings/api-keys/get-api-key-expiry.test.ts b/apps/web/src/components/settings/api-keys/get-api-key-expiry.test.ts
new file mode 100644
index 000000000..bb6702800
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/get-api-key-expiry.test.ts
@@ -0,0 +1,25 @@
+import { describe, expect, it } from "vite-plus/test";
+import { getApiKeyExpiry } from "./get-api-key-expiry";
+
+const now = new Date("2026-10-12T12:00:00Z").getTime();
+
+describe("getApiKeyExpiry", () => {
+ it("treats a missing expiry as never expiring", () => {
+ expect(getApiKeyExpiry(null, now)).toEqual({ status: "never" });
+ expect(getApiKeyExpiry(undefined, now)).toEqual({ status: "never" });
+ });
+
+ it("marks future dates as active", () => {
+ expect(getApiKeyExpiry("2026-11-01T00:00:00Z", now)).toEqual({
+ status: "active",
+ date: new Date("2026-11-01T00:00:00Z"),
+ });
+ });
+
+ it("marks past dates and the current instant as expired", () => {
+ expect(getApiKeyExpiry(new Date("2026-09-03T00:00:00Z"), now).status).toBe(
+ "expired",
+ );
+ expect(getApiKeyExpiry(new Date(now), now).status).toBe("expired");
+ });
+});
diff --git a/apps/web/src/components/settings/api-keys/get-api-key-expiry.ts b/apps/web/src/components/settings/api-keys/get-api-key-expiry.ts
new file mode 100644
index 000000000..571f9d752
--- /dev/null
+++ b/apps/web/src/components/settings/api-keys/get-api-key-expiry.ts
@@ -0,0 +1,13 @@
+export type ApiKeyExpiry =
+ | { status: "never" }
+ | { status: "active" | "expired"; date: Date };
+
+export function getApiKeyExpiry(
+ expiresAt: Date | string | null | undefined,
+ now: number = Date.now(),
+): ApiKeyExpiry {
+ if (!expiresAt) return { status: "never" };
+
+ const date = new Date(expiresAt);
+ return { status: date.getTime() <= now ? "expired" : "active", date };
+}
diff --git a/apps/web/src/components/settings/autosave-note.tsx b/apps/web/src/components/settings/autosave-note.tsx
new file mode 100644
index 000000000..006486677
--- /dev/null
+++ b/apps/web/src/components/settings/autosave-note.tsx
@@ -0,0 +1,13 @@
+import { CheckIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+
+export function AutosaveNote() {
+ const { t } = useTranslation();
+
+ return (
+ <p className="flex items-center gap-1.5 text-xs text-muted-foreground">
+ <CheckIcon aria-hidden="true" className="size-3.5" />
+ {t("settings:shared.autosave")}
+ </p>
+ );
+}
diff --git a/apps/web/src/components/settings/confirm-dialog.tsx b/apps/web/src/components/settings/confirm-dialog.tsx
new file mode 100644
index 000000000..02d54f0ac
--- /dev/null
+++ b/apps/web/src/components/settings/confirm-dialog.tsx
@@ -0,0 +1,73 @@
+import type { ReactNode } from "react";
+import { useTranslation } from "react-i18next";
+import {
+ AlertDialog,
+ AlertDialogContent,
+ AlertDialogDescription,
+ AlertDialogFooter,
+ AlertDialogHeader,
+ AlertDialogTitle,
+} from "@/components/ui/alert-dialog";
+import { Button } from "@/components/ui/button";
+
+type ConfirmDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ title: ReactNode;
+ description?: ReactNode;
+ confirmLabel: ReactNode;
+ pendingLabel?: ReactNode;
+ pending?: boolean;
+ destructive?: boolean;
+ onConfirm: () => void;
+ children?: ReactNode;
+ confirmDisabled?: boolean;
+};
+
+export function ConfirmDialog({
+ open,
+ onOpenChange,
+ title,
+ description,
+ confirmLabel,
+ pendingLabel,
+ pending = false,
+ destructive = true,
+ onConfirm,
+ children,
+ confirmDisabled = false,
+}: ConfirmDialogProps) {
+ const { t } = useTranslation();
+
+ return (
+ <AlertDialog open={open} onOpenChange={onOpenChange}>
+ <AlertDialogContent>
+ <AlertDialogHeader>
+ <AlertDialogTitle>{title}</AlertDialogTitle>
+ {description ? (
+ <AlertDialogDescription>{description}</AlertDialogDescription>
+ ) : null}
+ </AlertDialogHeader>
+ {children ? <div className="px-6 pb-4">{children}</div> : null}
+ <AlertDialogFooter>
+ <Button
+ type="button"
+ variant="outline"
+ onClick={() => onOpenChange(false)}
+ disabled={pending}
+ >
+ {t("common:actions.cancel")}
+ </Button>
+ <Button
+ type="button"
+ variant={destructive ? "destructive" : "default"}
+ onClick={onConfirm}
+ disabled={pending || confirmDisabled}
+ >
+ {pending && pendingLabel ? pendingLabel : confirmLabel}
+ </Button>
+ </AlertDialogFooter>
+ </AlertDialogContent>
+ </AlertDialog>
+ );
+}
diff --git a/apps/web/src/components/settings/create-api-key-dialog.tsx b/apps/web/src/components/settings/create-api-key-dialog.tsx
deleted file mode 100644
index fe5d2b105..000000000
--- a/apps/web/src/components/settings/create-api-key-dialog.tsx
+++ /dev/null
@@ -1,250 +0,0 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { useMemo, useState } from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod";
-import useCreateApiKey from "@/hooks/mutations/api-key/use-create-api-key";
-import { toast } from "@/lib/toast";
-import type { CreateApiKeyResponse } from "@/types/api-key";
-import { Button } from "../ui/button";
-import {
- Dialog,
- DialogContent,
- DialogDescription,
- DialogFooter,
- DialogHeader,
- DialogTitle,
-} from "../ui/dialog";
-import {
- Form,
- FormControl,
- FormDescription,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "../ui/form";
-import { Input } from "../ui/input";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "../ui/select";
-
-const EXPIRATION_SECONDS = {
- "1d": 86400,
- "7d": 604800,
- "30d": 2592000,
- "90d": 7776000,
-} as const;
-
-type FormValues = {
- name: string;
- expiresIn: string;
-};
-
-type CreateApiKeyDialogProps = {
- open: boolean;
- onClose: () => void;
- onSuccess: (data: CreateApiKeyResponse) => void;
-};
-
-export function CreateApiKeyDialog({
- open,
- onClose,
- onSuccess,
-}: CreateApiKeyDialogProps) {
- const { t } = useTranslation();
- const { mutateAsync: createApiKey } = useCreateApiKey();
- const [isSubmitting, setIsSubmitting] = useState(false);
-
- const createApiKeySchema = useMemo(
- () =>
- z.object({
- name: z
- .string()
- .min(1, t("settings:apiKey.createDialog.validation.nameRequired"))
- .min(3, t("settings:apiKey.createDialog.validation.nameShort")),
- expiresIn: z
- .string()
- .min(
- 1,
- t("settings:apiKey.createDialog.validation.expirationRequired"),
- ),
- }),
- [t],
- );
-
- const expirationOptions = useMemo(
- () =>
- [
- {
- label: t("settings:apiKey.createDialog.expiration1d"),
- value: "1d",
- },
- {
- label: t("settings:apiKey.createDialog.expiration7d"),
- value: "7d",
- },
- {
- label: t("settings:apiKey.createDialog.expiration30d"),
- value: "30d",
- },
- {
- label: t("settings:apiKey.createDialog.expiration90d"),
- value: "90d",
- },
- {
- label: t("settings:apiKey.createDialog.expirationNever"),
- value: "never",
- },
- ] as const,
- [t],
- );
-
- const form = useForm<FormValues>({
- resolver: standardSchemaResolver(createApiKeySchema),
- defaultValues: {
- name: "",
- expiresIn: "30d",
- },
- });
-
- const onSubmit = async (data: FormValues) => {
- const expiresInValue =
- data.expiresIn === "never"
- ? null
- : EXPIRATION_SECONDS[data.expiresIn as keyof typeof EXPIRATION_SECONDS];
-
- setIsSubmitting(true);
- try {
- const result = await createApiKey({
- name: data.name,
- expiresIn: expiresInValue ?? null,
- });
-
- form.reset();
- onSuccess(result);
- onClose();
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:apiKey.createDialog.failedCreate"),
- );
- } finally {
- setIsSubmitting(false);
- }
- };
-
- const handleClose = () => {
- if (!isSubmitting) {
- form.reset();
- onClose();
- }
- };
-
- return (
- <Dialog open={open} onOpenChange={handleClose}>
- <DialogContent className="sm:max-w-lg p-0 gap-0">
- <DialogHeader className="px-6 py-5 border-b border-border">
- <DialogTitle>{t("settings:apiKey.createDialog.title")}</DialogTitle>
- <DialogDescription>
- {t("settings:apiKey.createDialog.description")}
- </DialogDescription>
- </DialogHeader>
-
- <Form {...form}>
- <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-0">
- <div className="space-y-5 px-6 py-5">
- <FormField
- control={form.control}
- name="name"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:apiKey.createDialog.nameLabel")}
- </FormLabel>
- <FormControl>
- <Input
- placeholder={t(
- "settings:apiKey.createDialog.namePlaceholder",
- )}
- {...field}
- disabled={isSubmitting}
- />
- </FormControl>
- <FormDescription>
- {t("settings:apiKey.createDialog.nameDescription")}
- </FormDescription>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <FormField
- control={form.control}
- name="expiresIn"
- render={({ field }) => (
- <FormItem>
- <FormLabel>
- {t("settings:apiKey.createDialog.expirationLabel")}
- </FormLabel>
- <FormControl>
- <Select
- onValueChange={field.onChange}
- value={field.value}
- disabled={isSubmitting}
- >
- <SelectTrigger>
- <SelectValue
- placeholder={t(
- "settings:apiKey.createDialog.expirationPlaceholder",
- )}
- >
- {expirationOptions.find(
- (o) => o.value === field.value,
- )?.label ?? field.value}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- {expirationOptions.map((option) => (
- <SelectItem key={option.value} value={option.value}>
- {option.label}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </FormControl>
- <FormDescription>
- {t("settings:apiKey.createDialog.expirationDescription")}
- </FormDescription>
- <FormMessage />
- </FormItem>
- )}
- />
- </div>
-
- <DialogFooter className="gap-2 sm:gap-2">
- <Button
- type="button"
- variant="outline"
- onClick={handleClose}
- disabled={isSubmitting}
- >
- {t("common:actions.cancel")}
- </Button>
- <Button type="submit" disabled={isSubmitting}>
- {isSubmitting
- ? t("settings:apiKey.createDialog.creating")
- : t("settings:apiKey.createDialog.create")}
- </Button>
- </DialogFooter>
- </form>
- </Form>
- </DialogContent>
- </Dialog>
- );
-}
diff --git a/apps/web/src/components/settings/labels/delete-label-dialog.tsx b/apps/web/src/components/settings/labels/delete-label-dialog.tsx
new file mode 100644
index 000000000..fd52f3866
--- /dev/null
+++ b/apps/web/src/components/settings/labels/delete-label-dialog.tsx
@@ -0,0 +1,58 @@
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import type { WorkspaceLabel } from "@/components/settings/labels/workspace-label";
+import useDeleteLabel from "@/hooks/mutations/label/use-delete-label";
+import { toast } from "@/lib/toast";
+
+type DeleteLabelDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ label: WorkspaceLabel | null;
+};
+
+export function DeleteLabelDialog({
+ open,
+ onOpenChange,
+ label,
+}: DeleteLabelDialogProps) {
+ const { t } = useTranslation();
+ const deleteLabel = useDeleteLabel();
+ const resuming = Boolean(label?.deletionStartedAt);
+
+ const handleConfirm = async () => {
+ if (!label) return;
+
+ try {
+ await deleteLabel.mutateAsync({ id: label.id });
+ toast.success(t("settings:workspaceLabels.deleteSuccess"));
+ onOpenChange(false);
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:workspaceLabels.deleteError"),
+ );
+ }
+ };
+
+ return (
+ <ConfirmDialog
+ open={open}
+ onOpenChange={(next) => {
+ if (next || !deleteLabel.isPending) onOpenChange(next);
+ }}
+ title={t("settings:workspaceLabels.deleteConfirmTitle", {
+ name: label?.name ?? "",
+ })}
+ description={t("settings:workspaceLabels.deleteConfirmDescription")}
+ confirmLabel={t(
+ resuming
+ ? "settings:workspaceLabels.resumeDeletion"
+ : "settings:workspaceLabels.deleteLabel",
+ )}
+ pendingLabel={t("common:actions.deleting")}
+ pending={deleteLabel.isPending}
+ onConfirm={handleConfirm}
+ />
+ );
+}
diff --git a/apps/web/src/components/settings/labels/label-color-swatches.tsx b/apps/web/src/components/settings/labels/label-color-swatches.tsx
new file mode 100644
index 000000000..40c4c43d9
--- /dev/null
+++ b/apps/web/src/components/settings/labels/label-color-swatches.tsx
@@ -0,0 +1,52 @@
+import { CheckIcon } from "lucide-react";
+import labelColors from "@/constants/label-colors";
+import { cn } from "@/lib/cn";
+
+type LabelColorSwatchesProps = {
+ value: string;
+ onChange: (value: string) => void;
+ labelledBy: string;
+};
+
+export function LabelColorSwatches({
+ value,
+ onChange,
+ labelledBy,
+}: LabelColorSwatchesProps) {
+ return (
+ <div
+ role="group"
+ aria-labelledby={labelledBy}
+ className="flex flex-wrap items-center gap-2.5"
+ >
+ {labelColors.map((color) => {
+ const selected = color.value === value;
+
+ return (
+ <button
+ key={color.value}
+ type="button"
+ aria-label={color.label}
+ aria-pressed={selected}
+ title={color.label}
+ onClick={() => onChange(color.value)}
+ className={cn(
+ "flex size-6 cursor-pointer items-center justify-center rounded-full text-white outline-none transition-shadow focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-popover",
+ selected &&
+ "ring-2 ring-foreground/70 ring-offset-2 ring-offset-popover",
+ )}
+ style={{ backgroundColor: color.color }}
+ >
+ {selected ? (
+ <CheckIcon
+ aria-hidden="true"
+ className="size-3"
+ strokeWidth={3}
+ />
+ ) : null}
+ </button>
+ );
+ })}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/labels/label-dialog.tsx b/apps/web/src/components/settings/labels/label-dialog.tsx
new file mode 100644
index 000000000..aeb736cb1
--- /dev/null
+++ b/apps/web/src/components/settings/labels/label-dialog.tsx
@@ -0,0 +1,29 @@
+import { LabelForm } from "@/components/settings/labels/label-form";
+import type { WorkspaceLabel } from "@/components/settings/labels/workspace-label";
+import { Dialog, DialogPopup } from "@/components/ui/dialog";
+
+type LabelDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ label: WorkspaceLabel | null;
+ workspaceId: string;
+};
+
+export function LabelDialog({
+ open,
+ onOpenChange,
+ label,
+ workspaceId,
+}: LabelDialogProps) {
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ <DialogPopup className="sm:max-w-md">
+ <LabelForm
+ label={label}
+ workspaceId={workspaceId}
+ onClose={() => onOpenChange(false)}
+ />
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/settings/labels/label-dot.tsx b/apps/web/src/components/settings/labels/label-dot.tsx
new file mode 100644
index 000000000..b7982384a
--- /dev/null
+++ b/apps/web/src/components/settings/labels/label-dot.tsx
@@ -0,0 +1,17 @@
+import { cn } from "@/lib/cn";
+import { resolveLabelColor } from "@/lib/label-color";
+
+type LabelDotProps = {
+ color: string;
+ className?: string;
+};
+
+export function LabelDot({ color, className }: LabelDotProps) {
+ return (
+ <span
+ aria-hidden="true"
+ className={cn("size-1.5 shrink-0 rounded-full", className)}
+ style={{ backgroundColor: resolveLabelColor(color) }}
+ />
+ );
+}
diff --git a/apps/web/src/components/settings/labels/label-form.tsx b/apps/web/src/components/settings/labels/label-form.tsx
new file mode 100644
index 000000000..5cf398d2a
--- /dev/null
+++ b/apps/web/src/components/settings/labels/label-form.tsx
@@ -0,0 +1,137 @@
+import { type FormEvent, useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { LabelColorSwatches } from "@/components/settings/labels/label-color-swatches";
+import { LabelPreview } from "@/components/settings/labels/label-preview";
+import type { WorkspaceLabel } from "@/components/settings/labels/workspace-label";
+import { Button } from "@/components/ui/button";
+import {
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+import useCreateLabel from "@/hooks/mutations/label/use-create-label";
+import useUpdateLabel from "@/hooks/mutations/label/use-update-label";
+import { toast } from "@/lib/toast";
+
+type LabelFormProps = {
+ label: WorkspaceLabel | null;
+ workspaceId: string;
+ onClose: () => void;
+};
+
+export function LabelForm({ label, workspaceId, onClose }: LabelFormProps) {
+ const { t } = useTranslation();
+ const createLabel = useCreateLabel();
+ const updateLabel = useUpdateLabel();
+ const [name, setName] = useState(label?.name ?? "");
+ const [color, setColor] = useState(label?.color ?? "gray");
+ const [error, setError] = useState("");
+ const nameId = useId();
+ const errorId = useId();
+ const colorId = useId();
+ const isEditing = label !== null;
+ const isPending = createLabel.isPending || updateLabel.isPending;
+
+ const handleSubmit = async (event: FormEvent<HTMLFormElement>) => {
+ event.preventDefault();
+ if (isPending) return;
+
+ const trimmed = name.trim();
+ if (!trimmed) {
+ setError(t("settings:workspaceLabels.nameRequired"));
+ return;
+ }
+
+ try {
+ if (label) {
+ await updateLabel.mutateAsync({ id: label.id, name: trimmed, color });
+ toast.success(t("settings:workspaceLabels.updateSuccess"));
+ } else {
+ await createLabel.mutateAsync({ name: trimmed, color, workspaceId });
+ toast.success(t("settings:workspaceLabels.createSuccess"));
+ }
+ onClose();
+ } catch (submitError) {
+ toast.error(
+ submitError instanceof Error
+ ? submitError.message
+ : t(
+ isEditing
+ ? "settings:workspaceLabels.updateError"
+ : "settings:workspaceLabels.createError",
+ ),
+ );
+ }
+ };
+
+ return (
+ <form className="contents" noValidate onSubmit={handleSubmit}>
+ <DialogHeader>
+ <DialogTitle>
+ {t(
+ isEditing
+ ? "settings:workspaceLabels.editLabel"
+ : "settings:workspaceLabels.newLabel",
+ )}
+ </DialogTitle>
+ <DialogDescription>
+ {t(
+ isEditing
+ ? "settings:workspaceLabels.editDescription"
+ : "settings:workspaceLabels.createDescription",
+ )}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel className="space-y-5">
+ <div className="space-y-2">
+ <Label htmlFor={nameId}>
+ {t("settings:workspaceLabels.nameLabel")}
+ </Label>
+ <Input
+ id={nameId}
+ value={name}
+ placeholder={t("settings:workspaceLabels.namePlaceholder")}
+ aria-invalid={error ? true : undefined}
+ aria-describedby={error ? errorId : undefined}
+ onChange={(event) => {
+ setName(event.target.value);
+ setError("");
+ }}
+ />
+ {error ? (
+ <p id={errorId} className="text-destructive-foreground text-xs">
+ {error}
+ </p>
+ ) : null}
+ </div>
+ <div className="space-y-2">
+ <span id={colorId} className="block font-medium text-sm">
+ {t("settings:workspaceLabels.colorLabel")}
+ </span>
+ <LabelColorSwatches
+ value={color}
+ onChange={setColor}
+ labelledBy={colorId}
+ />
+ </div>
+ <LabelPreview name={name.trim()} color={color} />
+ </DialogPanel>
+ <DialogFooter>
+ <Button type="button" variant="outline" onClick={onClose}>
+ {t("common:actions.cancel")}
+ </Button>
+ <Button type="submit" disabled={isPending}>
+ {t(
+ isEditing
+ ? "settings:workspaceLabels.saveLabel"
+ : "settings:workspaceLabels.createLabel",
+ )}
+ </Button>
+ </DialogFooter>
+ </form>
+ );
+}
diff --git a/apps/web/src/components/settings/labels/label-pill.tsx b/apps/web/src/components/settings/labels/label-pill.tsx
new file mode 100644
index 000000000..b615a7aca
--- /dev/null
+++ b/apps/web/src/components/settings/labels/label-pill.tsx
@@ -0,0 +1,22 @@
+import { LabelDot } from "@/components/settings/labels/label-dot";
+import { cn } from "@/lib/cn";
+
+type LabelPillProps = {
+ name: string;
+ color: string;
+ className?: string;
+};
+
+export function LabelPill({ name, color, className }: LabelPillProps) {
+ return (
+ <span
+ className={cn(
+ "inline-flex h-5.5 min-w-0 max-w-full items-center gap-1.5 rounded-sm border border-input bg-background px-2 font-medium text-foreground text-xs dark:bg-input/32",
+ className,
+ )}
+ >
+ <LabelDot color={color} />
+ <span className="truncate">{name}</span>
+ </span>
+ );
+}
diff --git a/apps/web/src/components/settings/labels/label-preview.tsx b/apps/web/src/components/settings/labels/label-preview.tsx
new file mode 100644
index 000000000..09e1471b0
--- /dev/null
+++ b/apps/web/src/components/settings/labels/label-preview.tsx
@@ -0,0 +1,23 @@
+import { useTranslation } from "react-i18next";
+import { LabelPill } from "@/components/settings/labels/label-pill";
+
+type LabelPreviewProps = {
+ name: string;
+ color: string;
+};
+
+export function LabelPreview({ name, color }: LabelPreviewProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="flex items-center justify-between gap-3 rounded-lg border border-border px-3.5 py-3">
+ <span className="shrink-0 text-muted-foreground text-xs">
+ {t("settings:workspaceLabels.preview")}
+ </span>
+ <LabelPill
+ name={name || t("settings:workspaceLabels.previewPlaceholder")}
+ color={color}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/labels/label-row.tsx b/apps/web/src/components/settings/labels/label-row.tsx
new file mode 100644
index 000000000..1cf0c2adf
--- /dev/null
+++ b/apps/web/src/components/settings/labels/label-row.tsx
@@ -0,0 +1,113 @@
+import { PencilIcon, Trash2Icon } from "lucide-react";
+import type { ReactNode } from "react";
+import { useTranslation } from "react-i18next";
+import { LabelDot } from "@/components/settings/labels/label-dot";
+import type { WorkspaceLabel } from "@/components/settings/labels/workspace-label";
+import {
+ type RowAction,
+ RowActionsMenu,
+} from "@/components/settings/row-actions-menu";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Button } from "@/components/ui/button";
+import { cn } from "@/lib/cn";
+
+type LabelRowProps = {
+ label: WorkspaceLabel;
+ canUpdate: boolean;
+ canDelete: boolean;
+ onEdit: (label: WorkspaceLabel) => void;
+ onDelete: (label: WorkspaceLabel) => void;
+};
+
+export function LabelRow({
+ label,
+ canUpdate,
+ canDelete,
+ onEdit,
+ onDelete,
+}: LabelRowProps) {
+ const { t } = useTranslation();
+ const removing = Boolean(label.deletionStartedAt);
+ const editable = canUpdate && !removing;
+ const actions: RowAction[] = [];
+
+ if (canUpdate) {
+ actions.push({
+ id: "edit",
+ label: t("settings:workspaceLabels.editLabel"),
+ icon: PencilIcon,
+ onSelect: () => onEdit(label),
+ });
+ }
+ if (canDelete) {
+ actions.push({
+ id: "delete",
+ label: t("settings:workspaceLabels.deleteLabel"),
+ icon: Trash2Icon,
+ destructive: true,
+ onSelect: () => onDelete(label),
+ });
+ }
+
+ let trailing: ReactNode = null;
+ if (removing && canDelete) {
+ trailing = (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ aria-label={t("settings:workspaceLabels.resumeDeletion")}
+ onClick={() => onDelete(label)}
+ >
+ {t("settings:workspaceLabels.resume")}
+ </Button>
+ );
+ } else if (!removing && actions.length > 0) {
+ trailing = (
+ <div className="relative">
+ <RowActionsMenu
+ label={t("settings:workspaceLabels.rowActions", {
+ name: label.name,
+ })}
+ actions={actions}
+ />
+ </div>
+ );
+ }
+
+ return (
+ <SettingsRow
+ className={cn(
+ editable && "relative transition-colors hover:bg-accent/40",
+ )}
+ icon={
+ <LabelDot
+ color={label.color}
+ className={cn("size-2.5", removing && "opacity-40")}
+ />
+ }
+ title={
+ editable ? (
+ <button
+ type="button"
+ aria-label={t("settings:workspaceLabels.editNamed", {
+ name: label.name,
+ })}
+ onClick={() => onEdit(label)}
+ className="max-w-full cursor-pointer truncate text-start outline-none after:absolute after:inset-0 focus-visible:after:ring-2 focus-visible:after:ring-ring focus-visible:after:ring-inset"
+ >
+ {label.name}
+ </button>
+ ) : (
+ label.name
+ )
+ }
+ titleClassName={removing ? "text-muted-foreground" : undefined}
+ description={
+ removing ? t("settings:workspaceLabels.deletionPending") : undefined
+ }
+ >
+ {trailing}
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/labels/labels-settings.tsx b/apps/web/src/components/settings/labels/labels-settings.tsx
new file mode 100644
index 000000000..5b27bef46
--- /dev/null
+++ b/apps/web/src/components/settings/labels/labels-settings.tsx
@@ -0,0 +1,127 @@
+import { PlusIcon, TagIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { DeleteLabelDialog } from "@/components/settings/labels/delete-label-dialog";
+import { LabelDialog } from "@/components/settings/labels/label-dialog";
+import { LabelRow } from "@/components/settings/labels/label-row";
+import type { WorkspaceLabel } from "@/components/settings/labels/workspace-label";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsRowsSkeleton } from "@/components/settings/settings-rows-skeleton";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+
+export function LabelsSettings() {
+ const { t } = useTranslation();
+ const { workspace, canCreateLabels, canUpdateLabels, canDeleteLabels } =
+ useWorkspacePermission();
+ const canCreate = canCreateLabels();
+ const canUpdate = canUpdateLabels();
+ const canDelete = canDeleteLabels();
+ const workspaceId = workspace?.id ?? "";
+ const labelsQuery = useGetLabelsByWorkspace(workspaceId);
+ const workspaceLabels = (labelsQuery.data ?? []).filter(
+ (label) => !label.taskId,
+ );
+
+ const [dialogOpen, setDialogOpen] = useState(false);
+ const [editingLabel, setEditingLabel] = useState<WorkspaceLabel | null>(null);
+ const [deleteOpen, setDeleteOpen] = useState(false);
+ const [deletingLabel, setDeletingLabel] = useState<WorkspaceLabel | null>(
+ null,
+ );
+
+ const openLabelDialog = (label: WorkspaceLabel | null) => {
+ setEditingLabel(label);
+ setDialogOpen(true);
+ };
+
+ const openDeleteDialog = (label: WorkspaceLabel) => {
+ setDeletingLabel(label);
+ setDeleteOpen(true);
+ };
+
+ const newLabelButton = canCreate ? (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ onClick={() => openLabelDialog(null)}
+ >
+ <PlusIcon aria-hidden="true" />
+ {t("settings:workspaceLabels.newLabel")}
+ </Button>
+ ) : null;
+
+ const renderLabels = () => {
+ if (labelsQuery.isPending) return <SettingsRowsSkeleton />;
+ if (labelsQuery.isError) {
+ return (
+ <p
+ role="alert"
+ className="px-4 py-3.5 text-destructive-foreground text-sm"
+ >
+ {t("settings:workspaceLabels.loadError")}
+ </p>
+ );
+ }
+ if (workspaceLabels.length === 0) {
+ return (
+ <SettingsEmpty
+ icon={<TagIcon />}
+ title={t("settings:workspaceLabels.emptyTitle")}
+ description={t("settings:workspaceLabels.emptyDescription")}
+ action={newLabelButton}
+ />
+ );
+ }
+ return workspaceLabels.map((label) => (
+ <LabelRow
+ key={label.id}
+ label={label}
+ canUpdate={canUpdate}
+ canDelete={canDelete}
+ onEdit={openLabelDialog}
+ onDelete={openDeleteDialog}
+ />
+ ));
+ };
+
+ return (
+ <>
+ <SettingsPage
+ title={t("settings:workspaceLabels.title")}
+ description={
+ workspace?.name
+ ? t("settings:workspaceLabels.subtitleWithWorkspace", {
+ workspaceName: workspace.name,
+ })
+ : t("settings:workspaceLabels.subtitle")
+ }
+ actions={newLabelButton}
+ >
+ <SettingsSection
+ title={t("settings:workspaceLabels.sectionTitle")}
+ description={t("settings:workspaceLabels.sectionDescription")}
+ >
+ <SettingsCard>{renderLabels()}</SettingsCard>
+ </SettingsSection>
+ </SettingsPage>
+
+ <LabelDialog
+ open={dialogOpen}
+ onOpenChange={setDialogOpen}
+ label={editingLabel}
+ workspaceId={workspaceId}
+ />
+ <DeleteLabelDialog
+ open={deleteOpen}
+ onOpenChange={setDeleteOpen}
+ label={deletingLabel}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/labels/workspace-label.ts b/apps/web/src/components/settings/labels/workspace-label.ts
new file mode 100644
index 000000000..f3323917b
--- /dev/null
+++ b/apps/web/src/components/settings/labels/workspace-label.ts
@@ -0,0 +1,5 @@
+import type useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";
+
+export type WorkspaceLabel = NonNullable<
+ ReturnType<typeof useGetLabelsByWorkspace>["data"]
+>[number];
diff --git a/apps/web/src/components/settings/nav/build-settings-nav.test.ts b/apps/web/src/components/settings/nav/build-settings-nav.test.ts
index 6930365e1..7496f205c 100644
--- a/apps/web/src/components/settings/nav/build-settings-nav.test.ts
+++ b/apps/web/src/components/settings/nav/build-settings-nav.test.ts
@@ -70,10 +70,14 @@ describe("buildSettingsNav", () => {
expect(nav.projects[0]?.links.map((link) => link.to)).toEqual([
"/dashboard/settings/projects/p1/general",
"/dashboard/settings/projects/p1/workflow",
+ "/dashboard/settings/projects/p1/custom-fields",
"/dashboard/settings/projects/p1/visibility",
"/dashboard/settings/projects/p1/integrations",
"/dashboard/settings/projects/p1/calendar",
]);
+ expect(nav.projects[0]?.links[2]?.label).toBe(
+ "settings:projectCustomFields.title",
+ );
expect(nav.projects[0]?.icon).toBeDefined();
});
});
diff --git a/apps/web/src/components/settings/nav/build-settings-nav.ts b/apps/web/src/components/settings/nav/build-settings-nav.ts
index 797d149fd..0ebf7be19 100644
--- a/apps/web/src/components/settings/nav/build-settings-nav.ts
+++ b/apps/web/src/components/settings/nav/build-settings-nav.ts
@@ -32,6 +32,7 @@ type BuildSettingsNavInput = {
const PROJECT_SECTIONS = [
{ id: "general", labelKey: "settings:projectGeneral.title" },
{ id: "workflow", labelKey: "settings:projectWorkflow.title" },
+ { id: "custom-fields", labelKey: "settings:projectCustomFields.title" },
{ id: "visibility", labelKey: "settings:projectVisibility.title" },
{ id: "integrations", labelKey: "settings:projectIntegrations.title" },
{ id: "calendar", labelKey: "settings:calendarFeeds.title" },
diff --git a/apps/web/src/components/settings/notifications/channels/channel-field.tsx b/apps/web/src/components/settings/notifications/channels/channel-field.tsx
new file mode 100644
index 000000000..3df5d02d0
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/channel-field.tsx
@@ -0,0 +1,39 @@
+import type { ReactNode } from "react";
+import { useTranslation } from "react-i18next";
+import { Label } from "@/components/ui/label";
+import { cn } from "@/lib/cn";
+
+type ChannelFieldProps = {
+ id: string;
+ label: string;
+ optional?: boolean;
+ hint?: string;
+ className?: string;
+ children: ReactNode;
+};
+
+export function ChannelField({
+ id,
+ label,
+ optional = false,
+ hint,
+ className,
+ children,
+}: ChannelFieldProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className={cn("min-w-0 space-y-1.5", className)}>
+ <div className="flex items-center gap-1.5">
+ <Label htmlFor={id}>{label}</Label>
+ {optional ? (
+ <span className="text-xs text-muted-foreground">
+ {t("settings:notificationsPage.optional")}
+ </span>
+ ) : null}
+ </div>
+ {children}
+ {hint ? <p className="text-xs text-muted-foreground">{hint}</p> : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/channel-panel-footer.tsx b/apps/web/src/components/settings/notifications/channels/channel-panel-footer.tsx
new file mode 100644
index 000000000..1afbb43be
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/channel-panel-footer.tsx
@@ -0,0 +1,70 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { Button } from "@/components/ui/button";
+
+type ChannelPanelFooterProps = {
+ channelName: string;
+ configured: boolean;
+ submitLabel: string;
+ submitDisabled: boolean;
+ onDisconnect: () => Promise<void>;
+};
+
+export function ChannelPanelFooter({
+ channelName,
+ configured,
+ submitLabel,
+ submitDisabled,
+ onDisconnect,
+}: ChannelPanelFooterProps) {
+ const { t } = useTranslation();
+ const [confirmOpen, setConfirmOpen] = useState(false);
+ const [disconnecting, setDisconnecting] = useState(false);
+
+ const confirmDisconnect = async () => {
+ setDisconnecting(true);
+ try {
+ await onDisconnect();
+ setConfirmOpen(false);
+ } catch {
+ return;
+ } finally {
+ setDisconnecting(false);
+ }
+ };
+
+ return (
+ <div className="flex flex-wrap items-center gap-2">
+ <div className="flex min-w-0 flex-1 items-center">
+ {configured ? (
+ <Button
+ onClick={() => setConfirmOpen(true)}
+ size="sm"
+ type="button"
+ variant="destructive-outline"
+ >
+ {t("settings:notificationsPage.disconnect")}
+ </Button>
+ ) : null}
+ </div>
+ <Button disabled={submitDisabled} size="sm" type="submit">
+ {submitLabel}
+ </Button>
+ <ConfirmDialog
+ open={confirmOpen}
+ onOpenChange={setConfirmOpen}
+ title={t("settings:notificationsPage.disconnectTitle", {
+ channel: channelName,
+ })}
+ description={t("settings:notificationsPage.disconnectDescription", {
+ channel: channelName,
+ })}
+ confirmLabel={t("settings:notificationsPage.disconnect")}
+ pendingLabel={t("settings:notificationsPage.disconnecting")}
+ pending={disconnecting}
+ onConfirm={() => void confirmDisconnect()}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/channel-row.tsx b/apps/web/src/components/settings/notifications/channels/channel-row.tsx
new file mode 100644
index 000000000..1e0d70778
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/channel-row.tsx
@@ -0,0 +1,92 @@
+import type { ReactNode } from "react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { StatusBadge } from "@/components/settings/status-badge";
+import { buttonVariants } from "@/components/ui/button";
+import {
+ Collapsible,
+ CollapsiblePanel,
+ CollapsibleTrigger,
+} from "@/components/ui/collapsible";
+import type { ChannelAvailability } from "../notification-channels";
+
+type ChannelRowProps = {
+ channel: string;
+ icon: ReactNode;
+ name: string;
+ description: string;
+ detail: string | null;
+ availability: ChannelAvailability;
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ children: ReactNode;
+};
+
+export function ChannelRow({
+ channel,
+ icon,
+ name,
+ description,
+ detail,
+ availability,
+ open,
+ onOpenChange,
+ children,
+}: ChannelRowProps) {
+ const { t } = useTranslation();
+ const configured = availability === "available" || availability === "paused";
+
+ const triggerLabel = open
+ ? configured
+ ? t("settings:notificationsPage.done")
+ : t("common:actions.cancel")
+ : configured
+ ? t("settings:notificationsPage.configure")
+ : t("settings:notificationsPage.connect");
+ const triggerAccessibleLabel = open
+ ? undefined
+ : configured
+ ? t("settings:notificationsPage.configureChannel", { channel: name })
+ : t("settings:notificationsPage.connectChannel", { channel: name });
+
+ return (
+ <Collapsible data-channel={channel} open={open} onOpenChange={onOpenChange}>
+ <SettingsRow
+ icon={icon}
+ title={name}
+ badge={
+ availability === "available" ? (
+ <StatusBadge tone="success">
+ {t("settings:notificationsPage.statusConnected")}
+ </StatusBadge>
+ ) : availability === "paused" ? (
+ <StatusBadge tone="warning">
+ {t("settings:notificationsPage.statusPaused")}
+ </StatusBadge>
+ ) : null
+ }
+ description={
+ configured && detail ? (
+ <span className="font-mono">{detail}</span>
+ ) : (
+ description
+ )
+ }
+ >
+ <CollapsibleTrigger
+ aria-label={triggerAccessibleLabel}
+ className={buttonVariants({
+ variant: "outline",
+ size: "sm",
+ className: "w-24",
+ })}
+ >
+ {triggerLabel}
+ </CollapsibleTrigger>
+ </SettingsRow>
+ <CollapsiblePanel>
+ <div className="border-t border-border bg-muted/30">{children}</div>
+ </CollapsiblePanel>
+ </Collapsible>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/channel-sending-row.tsx b/apps/web/src/components/settings/notifications/channels/channel-sending-row.tsx
new file mode 100644
index 000000000..6db1205a6
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/channel-sending-row.tsx
@@ -0,0 +1,57 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { Label } from "@/components/ui/label";
+import { Switch } from "@/components/ui/switch";
+import type { UpdateNotificationPreferencesRequest } from "@/fetchers/notification-preferences/update-notification-preferences";
+import { useUpdateNotificationPreferences } from "@/hooks/mutations/notification-preferences/use-notification-preferences";
+import type { ExternalChannelId } from "../notification-channels";
+
+const ENABLED_KEYS = {
+ gotify: "gotifyEnabled",
+ ntfy: "ntfyEnabled",
+ webhook: "webhookEnabled",
+} as const satisfies Record<
+ ExternalChannelId,
+ keyof UpdateNotificationPreferencesRequest
+>;
+
+type ChannelSendingRowProps = {
+ channel: ExternalChannelId;
+ enabled: boolean;
+};
+
+export function ChannelSendingRow({
+ channel,
+ enabled,
+}: ChannelSendingRowProps) {
+ const { t } = useTranslation();
+ const id = useId();
+ const { mutate, isPending, variables } = useUpdateNotificationPreferences();
+ const key = ENABLED_KEYS[channel];
+ const checked = isPending ? (variables?.[key] ?? enabled) : enabled;
+
+ const setSending = (next: boolean) => {
+ const payload: UpdateNotificationPreferencesRequest = {};
+ payload[key] = next;
+ mutate(payload);
+ };
+
+ return (
+ <div className="flex items-center justify-between gap-4">
+ <div className="min-w-0 space-y-0.5">
+ <Label htmlFor={id}>
+ {t("settings:notificationsPage.sendingLabel")}
+ </Label>
+ <p className="text-xs text-muted-foreground">
+ {t("settings:notificationsPage.sendingDescription")}
+ </p>
+ </div>
+ <Switch
+ checked={checked}
+ disabled={isPending}
+ id={id}
+ onCheckedChange={setSending}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/channels-section.test.tsx b/apps/web/src/components/settings/notifications/channels/channels-section.test.tsx
new file mode 100644
index 000000000..8b0ccfe76
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/channels-section.test.tsx
@@ -0,0 +1,233 @@
+import {
+ act,
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { ChannelsSection } from "./channels-section";
+
+const mutate = vi.fn();
+const mutateAsync = vi.fn();
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({
+ t: (key: string, options?: { channel?: string }) =>
+ options?.channel ? `${key}|${options.channel}` : key,
+ }),
+}));
+
+vi.mock(
+ "@/hooks/mutations/notification-preferences/use-notification-preferences",
+ () => ({
+ useUpdateNotificationPreferences: () => ({
+ mutate,
+ mutateAsync,
+ isPending: false,
+ variables: undefined,
+ }),
+ }),
+);
+
+const basePreferences = {
+ emailAddress: "[email protected]",
+ emailEnabled: false,
+ ntfyEnabled: false,
+ ntfyConfigured: false,
+ ntfyServerUrl: null,
+ ntfyTopic: null,
+ ntfyTokenConfigured: false,
+ maskedNtfyToken: null,
+ gotifyEnabled: false,
+ gotifyConfigured: true,
+ gotifyServerUrl: "https://gotify.example.com/base",
+ gotifyTokenConfigured: true,
+ maskedGotifyToken: "••••abcd",
+ webhookEnabled: false,
+ webhookConfigured: false,
+ webhookUrl: null,
+ webhookSecretConfigured: false,
+ maskedWebhookSecret: null,
+ workspaces: [],
+} as unknown as NotificationPreferences;
+
+const channelRow = (channel: string) => {
+ const row = document.querySelector<HTMLElement>(
+ `[data-channel="${channel}"]`,
+ );
+ if (!row) throw new Error(`Missing ${channel} row`);
+ return within(row);
+};
+
+describe("ChannelsSection", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ mutate.mockReset();
+ mutateAsync.mockReset();
+ mutateAsync.mockResolvedValue(undefined);
+ });
+
+ it("turns email delivery on right away", () => {
+ render(<ChannelsSection preferences={basePreferences} />);
+
+ expect(screen.getByText("[email protected]")).toBeTruthy();
+ fireEvent.click(
+ screen.getByRole("switch", {
+ name: "settings:notificationsPage.emailToggleLabel",
+ }),
+ );
+
+ expect(mutate).toHaveBeenCalledWith({ emailEnabled: true });
+ });
+
+ it("disables the email switch without an account email", () => {
+ render(
+ <ChannelsSection
+ preferences={{ ...basePreferences, emailAddress: null }}
+ />,
+ );
+
+ expect(
+ screen
+ .getByRole("switch", {
+ name: "settings:notificationsPage.emailToggleLabel",
+ })
+ .hasAttribute("data-disabled"),
+ ).toBe(true);
+ });
+
+ it("connects ntfy from its inline panel and clears the token after saving", async () => {
+ render(<ChannelsSection preferences={basePreferences} />);
+ const ntfy = channelRow("ntfy");
+
+ expect(
+ ntfy.getByText("settings:notificationsPage.ntfyDescription"),
+ ).toBeTruthy();
+ fireEvent.click(ntfy.getByRole("button", { name: /connectChannel/ }));
+ expect(
+ ntfy.getByRole("button", { name: "common:actions.cancel" }),
+ ).toBeTruthy();
+
+ fireEvent.change(
+ ntfy.getByLabelText("settings:notificationsPage.serverUrl"),
+ {
+ target: { value: "https://ntfy.sh" },
+ },
+ );
+ fireEvent.change(ntfy.getByLabelText("settings:notificationsPage.topic"), {
+ target: { value: "team" },
+ });
+ const token = ntfy.getByLabelText("settings:notificationsPage.token");
+ fireEvent.change(token, { target: { value: "secret" } });
+
+ await act(async () => {
+ fireEvent.click(
+ ntfy.getByRole("button", {
+ name: "settings:notificationsPage.connectNtfy",
+ }),
+ );
+ });
+
+ expect(mutateAsync).toHaveBeenCalledWith({
+ ntfyEnabled: true,
+ ntfyServerUrl: "https://ntfy.sh",
+ ntfyTopic: "team",
+ ntfyToken: "secret",
+ });
+ expect((token as HTMLInputElement).value).toBe("");
+ expect(
+ ntfy.queryByRole("button", {
+ name: "settings:notificationsPage.disconnect",
+ }),
+ ).toBeNull();
+ });
+
+ it("keeps only one channel panel open", () => {
+ render(<ChannelsSection preferences={basePreferences} />);
+
+ fireEvent.click(
+ channelRow("gotify").getByRole("button", { name: /configureChannel/ }),
+ );
+ expect(
+ channelRow("gotify").getByLabelText(
+ "settings:notificationsPage.gotifyTokenLabel",
+ ),
+ ).toBeTruthy();
+
+ fireEvent.click(
+ channelRow("webhook").getByRole("button", { name: /connectChannel/ }),
+ );
+
+ expect(
+ channelRow("webhook").getByLabelText(
+ "settings:notificationsPage.endpointUrl",
+ ),
+ ).toBeTruthy();
+ expect(
+ channelRow("gotify")
+ .getByRole("button", { name: /configureChannel/ })
+ .getAttribute("aria-expanded"),
+ ).toBe("false");
+ });
+
+ it("shows a configured channel as paused with its host, and pauses or resumes it", () => {
+ render(<ChannelsSection preferences={basePreferences} />);
+ const gotify = channelRow("gotify");
+
+ expect(
+ gotify.getByText("settings:notificationsPage.statusPaused"),
+ ).toBeTruthy();
+ expect(gotify.getByText("gotify.example.com")).toBeTruthy();
+
+ fireEvent.click(gotify.getByRole("button", { name: /configureChannel/ }));
+ expect(
+ gotify.getByText("settings:notificationsPage.gotifyTokenHintConfigured"),
+ ).toBeTruthy();
+ fireEvent.click(
+ gotify.getByRole("switch", {
+ name: "settings:notificationsPage.sendingLabel",
+ }),
+ );
+
+ expect(mutate).toHaveBeenCalledWith({ gotifyEnabled: true });
+ });
+
+ it("asks before disconnecting a channel", async () => {
+ render(<ChannelsSection preferences={basePreferences} />);
+ const gotify = channelRow("gotify");
+
+ fireEvent.click(gotify.getByRole("button", { name: /configureChannel/ }));
+ fireEvent.click(
+ gotify.getByRole("button", {
+ name: "settings:notificationsPage.disconnect",
+ }),
+ );
+ expect(mutateAsync).not.toHaveBeenCalled();
+
+ const dialog = screen.getByRole("alertdialog");
+ await act(async () => {
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:notificationsPage.disconnect",
+ }),
+ );
+ });
+
+ expect(mutateAsync).toHaveBeenCalledWith({
+ gotifyEnabled: false,
+ gotifyServerUrl: null,
+ gotifyToken: null,
+ });
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/channels/channels-section.tsx b/apps/web/src/components/settings/notifications/channels/channels-section.tsx
new file mode 100644
index 000000000..828982453
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/channels-section.tsx
@@ -0,0 +1,85 @@
+import { BellIcon, SquareTerminalIcon, WebhookIcon } from "lucide-react";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { getChannelAvailability } from "../get-channel-availability";
+import { getUrlHost } from "../get-url-host";
+import type { ExternalChannelId } from "../notification-channels";
+import { ChannelRow } from "./channel-row";
+import { EmailChannelRow } from "./email-channel-row";
+import { GotifyChannelPanel } from "./gotify-channel-panel";
+import { NtfyChannelPanel } from "./ntfy-channel-panel";
+import { WebhookChannelPanel } from "./webhook-channel-panel";
+
+type ChannelsSectionProps = {
+ preferences: NotificationPreferences;
+};
+
+export function ChannelsSection({ preferences }: ChannelsSectionProps) {
+ const { t } = useTranslation();
+ const [openChannel, setOpenChannel] = useState<ExternalChannelId | null>(
+ null,
+ );
+ const availability = getChannelAvailability(preferences);
+ const closePanel = () => setOpenChannel(null);
+ const panelToggle = (channel: ExternalChannelId) => (open: boolean) =>
+ setOpenChannel(open ? channel : null);
+
+ return (
+ <SettingsSection
+ title={t("settings:notificationsPage.channelsTitle")}
+ description={t("settings:notificationsPage.channelsDescription")}
+ >
+ <SettingsCard>
+ <EmailChannelRow preferences={preferences} />
+ <ChannelRow
+ availability={availability.gotify}
+ channel="gotify"
+ description={t("settings:notificationsPage.gotifyDescription")}
+ detail={getUrlHost(preferences.gotifyServerUrl)}
+ icon={<BellIcon className="text-blue-500" />}
+ name={t("settings:notificationsPage.gotifyTitle")}
+ onOpenChange={panelToggle("gotify")}
+ open={openChannel === "gotify"}
+ >
+ <GotifyChannelPanel
+ onDisconnected={closePanel}
+ preferences={preferences}
+ />
+ </ChannelRow>
+ <ChannelRow
+ availability={availability.ntfy}
+ channel="ntfy"
+ description={t("settings:notificationsPage.ntfyDescription")}
+ detail={getUrlHost(preferences.ntfyServerUrl)}
+ icon={<SquareTerminalIcon className="text-green-600" />}
+ name={t("settings:notificationsPage.ntfyTitle")}
+ onOpenChange={panelToggle("ntfy")}
+ open={openChannel === "ntfy"}
+ >
+ <NtfyChannelPanel
+ onDisconnected={closePanel}
+ preferences={preferences}
+ />
+ </ChannelRow>
+ <ChannelRow
+ availability={availability.webhook}
+ channel="webhook"
+ description={t("settings:notificationsPage.webhookDescription")}
+ detail={getUrlHost(preferences.webhookUrl)}
+ icon={<WebhookIcon />}
+ name={t("settings:notificationsPage.webhookTitle")}
+ onOpenChange={panelToggle("webhook")}
+ open={openChannel === "webhook"}
+ >
+ <WebhookChannelPanel
+ onDisconnected={closePanel}
+ preferences={preferences}
+ />
+ </ChannelRow>
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/email-channel-row.tsx b/apps/web/src/components/settings/notifications/channels/email-channel-row.tsx
new file mode 100644
index 000000000..e0e751712
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/email-channel-row.tsx
@@ -0,0 +1,47 @@
+import { MailIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { StatusBadge } from "@/components/settings/status-badge";
+import { Switch } from "@/components/ui/switch";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { useUpdateNotificationPreferences } from "@/hooks/mutations/notification-preferences/use-notification-preferences";
+
+type EmailChannelRowProps = {
+ preferences: NotificationPreferences;
+};
+
+export function EmailChannelRow({ preferences }: EmailChannelRowProps) {
+ const { t } = useTranslation();
+ const { mutate, isPending, variables } = useUpdateNotificationPreferences();
+ const enabled = isPending
+ ? (variables?.emailEnabled ?? preferences.emailEnabled)
+ : preferences.emailEnabled;
+
+ return (
+ <SettingsRow
+ icon={<MailIcon />}
+ title={t("settings:notificationsPage.emailTitle")}
+ badge={
+ enabled ? (
+ <StatusBadge tone="success">
+ {t("settings:notificationsPage.statusOn")}
+ </StatusBadge>
+ ) : null
+ }
+ description={
+ preferences.emailAddress ? (
+ <span className="font-mono">{preferences.emailAddress}</span>
+ ) : (
+ t("settings:notificationsPage.accountEmailNoAddress")
+ )
+ }
+ >
+ <Switch
+ aria-label={t("settings:notificationsPage.emailToggleLabel")}
+ checked={enabled}
+ disabled={isPending || !preferences.emailAddress}
+ onCheckedChange={(checked) => mutate({ emailEnabled: checked })}
+ />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/gotify-channel-panel.tsx b/apps/web/src/components/settings/notifications/channels/gotify-channel-panel.tsx
new file mode 100644
index 000000000..ad4b5809f
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/gotify-channel-panel.tsx
@@ -0,0 +1,117 @@
+import { useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Input } from "@/components/ui/input";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { useUpdateNotificationPreferences } from "@/hooks/mutations/notification-preferences/use-notification-preferences";
+import { ChannelField } from "./channel-field";
+import { ChannelPanelFooter } from "./channel-panel-footer";
+import { ChannelSendingRow } from "./channel-sending-row";
+
+type GotifyChannelPanelProps = {
+ preferences: NotificationPreferences;
+ onDisconnected: () => void;
+};
+
+export function GotifyChannelPanel({
+ preferences,
+ onDisconnected,
+}: GotifyChannelPanelProps) {
+ const { t } = useTranslation();
+ const serverUrlId = useId();
+ const tokenId = useId();
+ const { mutateAsync, isPending } = useUpdateNotificationPreferences();
+ const configured = preferences.gotifyConfigured;
+ const [serverUrl, setServerUrl] = useState(preferences.gotifyServerUrl ?? "");
+ const [token, setToken] = useState("");
+ const canSubmit =
+ serverUrl.trim() !== "" &&
+ (token.trim() !== "" || preferences.gotifyTokenConfigured);
+
+ const submit = async () => {
+ const saved = await mutateAsync({
+ ...(configured ? {} : { gotifyEnabled: true }),
+ gotifyServerUrl: serverUrl,
+ gotifyToken: token.trim() ? token : undefined,
+ }).then(
+ () => true,
+ () => false,
+ );
+ if (saved) setToken("");
+ };
+
+ const disconnect = async () => {
+ await mutateAsync({
+ gotifyEnabled: false,
+ gotifyServerUrl: null,
+ gotifyToken: null,
+ });
+ onDisconnected();
+ };
+
+ return (
+ <form
+ className="space-y-4 p-4"
+ onSubmit={(event) => {
+ event.preventDefault();
+ void submit();
+ }}
+ >
+ <div className="grid gap-3 sm:grid-cols-2">
+ <ChannelField
+ id={serverUrlId}
+ label={t("settings:notificationsPage.serverUrl")}
+ >
+ <Input
+ autoComplete="off"
+ id={serverUrlId}
+ onChange={(event) => setServerUrl(event.target.value)}
+ placeholder={t(
+ "settings:notificationsPage.gotifyServerPlaceholder",
+ )}
+ size="sm"
+ type="url"
+ value={serverUrl}
+ />
+ </ChannelField>
+ <ChannelField
+ id={tokenId}
+ label={t("settings:notificationsPage.gotifyTokenLabel")}
+ hint={
+ preferences.gotifyTokenConfigured
+ ? t("settings:notificationsPage.gotifyTokenHintConfigured", {
+ masked: preferences.maskedGotifyToken ?? "••••",
+ })
+ : t("settings:notificationsPage.gotifyTokenHintRequired")
+ }
+ >
+ <Input
+ autoComplete="off"
+ id={tokenId}
+ onChange={(event) => setToken(event.target.value)}
+ placeholder={t("settings:notificationsPage.gotifyTokenPlaceholder")}
+ size="sm"
+ type="password"
+ value={token}
+ />
+ </ChannelField>
+ </div>
+ {configured ? (
+ <ChannelSendingRow
+ channel="gotify"
+ enabled={preferences.gotifyEnabled}
+ />
+ ) : null}
+ <ChannelPanelFooter
+ channelName={t("settings:notificationsPage.gotifyTitle")}
+ configured={configured}
+ onDisconnect={disconnect}
+ submitDisabled={isPending || !canSubmit}
+ submitLabel={
+ configured
+ ? t("settings:notificationsPage.saveChanges")
+ : t("settings:notificationsPage.connectGotify")
+ }
+ />
+ </form>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/ntfy-channel-panel.tsx b/apps/web/src/components/settings/notifications/channels/ntfy-channel-panel.tsx
new file mode 100644
index 000000000..125b7095b
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/ntfy-channel-panel.tsx
@@ -0,0 +1,129 @@
+import { useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Input } from "@/components/ui/input";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { useUpdateNotificationPreferences } from "@/hooks/mutations/notification-preferences/use-notification-preferences";
+import { ChannelField } from "./channel-field";
+import { ChannelPanelFooter } from "./channel-panel-footer";
+import { ChannelSendingRow } from "./channel-sending-row";
+
+type NtfyChannelPanelProps = {
+ preferences: NotificationPreferences;
+ onDisconnected: () => void;
+};
+
+export function NtfyChannelPanel({
+ preferences,
+ onDisconnected,
+}: NtfyChannelPanelProps) {
+ const { t } = useTranslation();
+ const serverUrlId = useId();
+ const topicId = useId();
+ const tokenId = useId();
+ const { mutateAsync, isPending } = useUpdateNotificationPreferences();
+ const configured = preferences.ntfyConfigured;
+ const [serverUrl, setServerUrl] = useState(preferences.ntfyServerUrl ?? "");
+ const [topic, setTopic] = useState(preferences.ntfyTopic ?? "");
+ const [token, setToken] = useState("");
+ const canSubmit = serverUrl.trim() !== "" && topic.trim() !== "";
+
+ const submit = async () => {
+ const saved = await mutateAsync({
+ ...(configured ? {} : { ntfyEnabled: true }),
+ ntfyServerUrl: serverUrl,
+ ntfyTopic: topic,
+ ntfyToken: token.trim() ? token : undefined,
+ }).then(
+ () => true,
+ () => false,
+ );
+ if (saved) setToken("");
+ };
+
+ const disconnect = async () => {
+ await mutateAsync({
+ ntfyEnabled: false,
+ ntfyServerUrl: null,
+ ntfyTopic: null,
+ ntfyToken: null,
+ });
+ onDisconnected();
+ };
+
+ return (
+ <form
+ className="space-y-4 p-4"
+ onSubmit={(event) => {
+ event.preventDefault();
+ void submit();
+ }}
+ >
+ <div className="grid gap-3 sm:grid-cols-2">
+ <ChannelField
+ id={serverUrlId}
+ label={t("settings:notificationsPage.serverUrl")}
+ >
+ <Input
+ autoComplete="off"
+ id={serverUrlId}
+ onChange={(event) => setServerUrl(event.target.value)}
+ placeholder={t("settings:notificationsPage.ntfyServerPlaceholder")}
+ size="sm"
+ type="url"
+ value={serverUrl}
+ />
+ </ChannelField>
+ <ChannelField
+ id={topicId}
+ label={t("settings:notificationsPage.topic")}
+ >
+ <Input
+ autoComplete="off"
+ id={topicId}
+ onChange={(event) => setTopic(event.target.value)}
+ placeholder={t("settings:notificationsPage.ntfyTopicPlaceholder")}
+ size="sm"
+ value={topic}
+ />
+ </ChannelField>
+ <ChannelField
+ className="sm:col-span-2"
+ id={tokenId}
+ label={t("settings:notificationsPage.token")}
+ optional
+ hint={
+ preferences.ntfyTokenConfigured
+ ? t("settings:notificationsPage.ntfyTokenHintConfigured", {
+ masked: preferences.maskedNtfyToken ?? "••••",
+ })
+ : t("settings:notificationsPage.ntfyTokenHintOptional")
+ }
+ >
+ <Input
+ autoComplete="off"
+ id={tokenId}
+ onChange={(event) => setToken(event.target.value)}
+ placeholder={t("settings:notificationsPage.ntfyTokenPlaceholder")}
+ size="sm"
+ type="password"
+ value={token}
+ />
+ </ChannelField>
+ </div>
+ {configured ? (
+ <ChannelSendingRow channel="ntfy" enabled={preferences.ntfyEnabled} />
+ ) : null}
+ <ChannelPanelFooter
+ channelName={t("settings:notificationsPage.ntfyTitle")}
+ configured={configured}
+ onDisconnect={disconnect}
+ submitDisabled={isPending || !canSubmit}
+ submitLabel={
+ configured
+ ? t("settings:notificationsPage.saveChanges")
+ : t("settings:notificationsPage.connectNtfy")
+ }
+ />
+ </form>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/channels/webhook-channel-panel.tsx b/apps/web/src/components/settings/notifications/channels/webhook-channel-panel.tsx
new file mode 100644
index 000000000..d7fb27506
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/channels/webhook-channel-panel.tsx
@@ -0,0 +1,116 @@
+import { useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Input } from "@/components/ui/input";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { useUpdateNotificationPreferences } from "@/hooks/mutations/notification-preferences/use-notification-preferences";
+import { ChannelField } from "./channel-field";
+import { ChannelPanelFooter } from "./channel-panel-footer";
+import { ChannelSendingRow } from "./channel-sending-row";
+
+type WebhookChannelPanelProps = {
+ preferences: NotificationPreferences;
+ onDisconnected: () => void;
+};
+
+export function WebhookChannelPanel({
+ preferences,
+ onDisconnected,
+}: WebhookChannelPanelProps) {
+ const { t } = useTranslation();
+ const urlId = useId();
+ const secretId = useId();
+ const { mutateAsync, isPending } = useUpdateNotificationPreferences();
+ const configured = preferences.webhookConfigured;
+ const [url, setUrl] = useState(preferences.webhookUrl ?? "");
+ const [secret, setSecret] = useState("");
+ const canSubmit = url.trim() !== "";
+
+ const submit = async () => {
+ const saved = await mutateAsync({
+ ...(configured ? {} : { webhookEnabled: true }),
+ webhookUrl: url,
+ webhookSecret: secret.trim() ? secret : undefined,
+ }).then(
+ () => true,
+ () => false,
+ );
+ if (saved) setSecret("");
+ };
+
+ const disconnect = async () => {
+ await mutateAsync({
+ webhookEnabled: false,
+ webhookUrl: null,
+ webhookSecret: null,
+ });
+ onDisconnected();
+ };
+
+ return (
+ <form
+ className="space-y-4 p-4"
+ onSubmit={(event) => {
+ event.preventDefault();
+ void submit();
+ }}
+ >
+ <div className="grid gap-3 sm:grid-cols-2">
+ <ChannelField
+ id={urlId}
+ label={t("settings:notificationsPage.endpointUrl")}
+ >
+ <Input
+ autoComplete="off"
+ id={urlId}
+ onChange={(event) => setUrl(event.target.value)}
+ placeholder={t("settings:notificationsPage.webhookUrlPlaceholder")}
+ size="sm"
+ type="url"
+ value={url}
+ />
+ </ChannelField>
+ <ChannelField
+ id={secretId}
+ label={t("settings:notificationsPage.signingSecret")}
+ optional
+ hint={
+ preferences.webhookSecretConfigured
+ ? t("settings:notificationsPage.webhookSecretHintConfigured", {
+ masked: preferences.maskedWebhookSecret ?? "••••",
+ })
+ : t("settings:notificationsPage.webhookSecretHintOptional")
+ }
+ >
+ <Input
+ autoComplete="off"
+ id={secretId}
+ onChange={(event) => setSecret(event.target.value)}
+ placeholder={t(
+ "settings:notificationsPage.webhookSecretPlaceholder",
+ )}
+ size="sm"
+ type="password"
+ value={secret}
+ />
+ </ChannelField>
+ </div>
+ {configured ? (
+ <ChannelSendingRow
+ channel="webhook"
+ enabled={preferences.webhookEnabled}
+ />
+ ) : null}
+ <ChannelPanelFooter
+ channelName={t("settings:notificationsPage.webhookTitle")}
+ configured={configured}
+ onDisconnect={disconnect}
+ submitDisabled={isPending || !canSubmit}
+ submitLabel={
+ configured
+ ? t("settings:notificationsPage.saveChanges")
+ : t("settings:notificationsPage.connectWebhook")
+ }
+ />
+ </form>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/events/due-date-reminder-row.tsx b/apps/web/src/components/settings/notifications/events/due-date-reminder-row.tsx
new file mode 100644
index 000000000..92de08608
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/due-date-reminder-row.tsx
@@ -0,0 +1,58 @@
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Switch } from "@/components/ui/switch";
+import {
+ getLeadTimeMax,
+ getValidLeadTimeMinutes,
+ type LeadTime,
+} from "./lead-time";
+import { LeadTimeControls } from "./lead-time-controls";
+
+type DueDateReminderRowProps = {
+ enabled: boolean;
+ leadTime: LeadTime;
+ onEnabledChange: (enabled: boolean) => void;
+ onLeadTimeChange: (leadTime: LeadTime) => void;
+};
+
+export function DueDateReminderRow({
+ enabled,
+ leadTime,
+ onEnabledChange,
+ onLeadTimeChange,
+}: DueDateReminderRowProps) {
+ const { t } = useTranslation();
+ const title = t("settings:notificationsPage.eventDueDateReminders");
+ const invalid = enabled && getValidLeadTimeMinutes(leadTime) === null;
+
+ return (
+ <SettingsRow
+ stack
+ title={title}
+ description={
+ <>
+ <p>{t("settings:notificationsPage.eventDueDateRemindersHint")}</p>
+ {invalid ? (
+ <p className="mt-1 text-destructive-foreground" role="alert">
+ {t("settings:notificationsPage.reminderLeadTimeInvalid", {
+ max: getLeadTimeMax(leadTime.unit),
+ })}
+ </p>
+ ) : null}
+ </>
+ }
+ >
+ <LeadTimeControls
+ disabled={!enabled}
+ invalid={invalid}
+ leadTime={leadTime}
+ onChange={onLeadTimeChange}
+ />
+ <Switch
+ aria-label={title}
+ checked={enabled}
+ onCheckedChange={onEnabledChange}
+ />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/events/event-preferences.ts b/apps/web/src/components/settings/notifications/events/event-preferences.ts
new file mode 100644
index 000000000..a0485c5dc
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/event-preferences.ts
@@ -0,0 +1,24 @@
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { type LeadTime, leadTimeFromMinutes } from "./lead-time";
+
+export type EventSwitchKey =
+ | "taskAssignmentEnabled"
+ | "taskCommentEnabled"
+ | "taskStatusChangeEnabled"
+ | "dueDateReminderEnabled";
+
+export type EventPreferences = Record<EventSwitchKey, boolean> & {
+ leadTime: LeadTime;
+};
+
+export function toEventPreferences(
+ preferences: NotificationPreferences,
+): EventPreferences {
+ return {
+ taskAssignmentEnabled: preferences.taskAssignmentEnabled,
+ taskCommentEnabled: preferences.taskCommentEnabled,
+ taskStatusChangeEnabled: preferences.taskStatusChangeEnabled,
+ dueDateReminderEnabled: preferences.dueDateReminderEnabled,
+ leadTime: leadTimeFromMinutes(preferences.dueDateReminderLeadTimeMinutes),
+ };
+}
diff --git a/apps/web/src/components/settings/notifications/events/event-switch-row.tsx b/apps/web/src/components/settings/notifications/events/event-switch-row.tsx
new file mode 100644
index 000000000..76c1a8a28
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/event-switch-row.tsx
@@ -0,0 +1,26 @@
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Switch } from "@/components/ui/switch";
+
+type EventSwitchRowProps = {
+ title: string;
+ description: string;
+ checked: boolean;
+ onCheckedChange: (checked: boolean) => void;
+};
+
+export function EventSwitchRow({
+ title,
+ description,
+ checked,
+ onCheckedChange,
+}: EventSwitchRowProps) {
+ return (
+ <SettingsRow title={title} description={description}>
+ <Switch
+ aria-label={title}
+ checked={checked}
+ onCheckedChange={onCheckedChange}
+ />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/events/lead-time-controls.tsx b/apps/web/src/components/settings/notifications/events/lead-time-controls.tsx
new file mode 100644
index 000000000..8af7b3ede
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/lead-time-controls.tsx
@@ -0,0 +1,88 @@
+import { useTranslation } from "react-i18next";
+import {
+ NumberField,
+ NumberFieldDecrement,
+ NumberFieldGroup,
+ NumberFieldIncrement,
+ NumberFieldInput,
+} from "@/components/ui/number-field";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+import { getLeadTimeMax, type LeadTime, type LeadTimeUnit } from "./lead-time";
+
+const UNIT_LABEL_KEYS: Record<LeadTimeUnit, string> = {
+ hours: "settings:notificationsPage.reminderLeadTimeUnitHoursBefore",
+ days: "settings:notificationsPage.reminderLeadTimeUnitDaysBefore",
+};
+
+type LeadTimeControlsProps = {
+ disabled: boolean;
+ invalid: boolean;
+ leadTime: LeadTime;
+ onChange: (leadTime: LeadTime) => void;
+};
+
+export function LeadTimeControls({
+ disabled,
+ invalid,
+ leadTime,
+ onChange,
+}: LeadTimeControlsProps) {
+ const { t } = useTranslation();
+ const count = leadTime.amount ?? 0;
+
+ return (
+ <>
+ <NumberField
+ className="w-28"
+ disabled={disabled}
+ id="due-date-reminder-lead-time"
+ max={getLeadTimeMax(leadTime.unit)}
+ min={1}
+ onValueChange={(value) => onChange({ ...leadTime, amount: value })}
+ size="sm"
+ step={1}
+ value={leadTime.amount}
+ >
+ <NumberFieldGroup>
+ <NumberFieldDecrement />
+ <NumberFieldInput
+ aria-invalid={invalid || undefined}
+ aria-label={t("settings:notificationsPage.reminderLeadTimeLabel")}
+ />
+ <NumberFieldIncrement />
+ </NumberFieldGroup>
+ </NumberField>
+ <Select
+ disabled={disabled}
+ onValueChange={(unit) =>
+ onChange({ ...leadTime, unit: unit === "hours" ? "hours" : "days" })
+ }
+ value={leadTime.unit}
+ >
+ <SelectTrigger
+ aria-label={t("settings:notificationsPage.reminderLeadTimeUnitLabel")}
+ className="w-36"
+ size="sm"
+ >
+ <SelectValue>
+ {t(UNIT_LABEL_KEYS[leadTime.unit], { count })}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ <SelectItem value="hours">
+ {t(UNIT_LABEL_KEYS.hours, { count })}
+ </SelectItem>
+ <SelectItem value="days">
+ {t(UNIT_LABEL_KEYS.days, { count })}
+ </SelectItem>
+ </SelectContent>
+ </Select>
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/events/lead-time.test.ts b/apps/web/src/components/settings/notifications/events/lead-time.test.ts
new file mode 100644
index 000000000..ddbbe4569
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/lead-time.test.ts
@@ -0,0 +1,33 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ getLeadTimeMax,
+ getValidLeadTimeMinutes,
+ leadTimeFromMinutes,
+ leadTimeToMinutes,
+} from "./lead-time";
+
+describe("lead time", () => {
+ it("reads whole days as days and everything else as rounded hours", () => {
+ expect(leadTimeFromMinutes(2880)).toEqual({ amount: 2, unit: "days" });
+ expect(leadTimeFromMinutes(180)).toEqual({ amount: 3, unit: "hours" });
+ expect(leadTimeFromMinutes(5)).toEqual({ amount: 1, unit: "hours" });
+ });
+
+ it("converts back to minutes", () => {
+ expect(leadTimeToMinutes(2, "days")).toBe(2880);
+ expect(leadTimeToMinutes(3, "hours")).toBe(180);
+ });
+
+ it("returns minutes only for whole amounts inside the unit limits", () => {
+ expect(getLeadTimeMax("days")).toBe(30);
+ expect(getLeadTimeMax("hours")).toBe(720);
+ expect(getValidLeadTimeMinutes({ amount: 30, unit: "days" })).toBe(43_200);
+ expect(getValidLeadTimeMinutes({ amount: 720, unit: "hours" })).toBe(
+ 43_200,
+ );
+ expect(getValidLeadTimeMinutes({ amount: 31, unit: "days" })).toBeNull();
+ expect(getValidLeadTimeMinutes({ amount: 0, unit: "hours" })).toBeNull();
+ expect(getValidLeadTimeMinutes({ amount: 1.5, unit: "hours" })).toBeNull();
+ expect(getValidLeadTimeMinutes({ amount: null, unit: "hours" })).toBeNull();
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/events/lead-time.ts b/apps/web/src/components/settings/notifications/events/lead-time.ts
new file mode 100644
index 000000000..806eb002f
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/lead-time.ts
@@ -0,0 +1,41 @@
+export type LeadTimeUnit = "hours" | "days";
+
+export type LeadTime = {
+ amount: number | null;
+ unit: LeadTimeUnit;
+};
+
+const MINUTES_PER_UNIT: Record<LeadTimeUnit, number> = {
+ hours: 60,
+ days: 1440,
+};
+
+const MAX_AMOUNT: Record<LeadTimeUnit, number> = {
+ hours: 720,
+ days: 30,
+};
+
+export function leadTimeFromMinutes(minutes: number): LeadTime {
+ if (minutes > 0 && minutes % MINUTES_PER_UNIT.days === 0) {
+ return { amount: minutes / MINUTES_PER_UNIT.days, unit: "days" };
+ }
+
+ return {
+ amount: Math.max(1, Math.round(minutes / MINUTES_PER_UNIT.hours)),
+ unit: "hours",
+ };
+}
+
+export function leadTimeToMinutes(amount: number, unit: LeadTimeUnit) {
+ return amount * MINUTES_PER_UNIT[unit];
+}
+
+export function getLeadTimeMax(unit: LeadTimeUnit) {
+ return MAX_AMOUNT[unit];
+}
+
+export function getValidLeadTimeMinutes({ amount, unit }: LeadTime) {
+ if (amount === null || !Number.isInteger(amount)) return null;
+ if (amount < 1 || amount > MAX_AMOUNT[unit]) return null;
+ return leadTimeToMinutes(amount, unit);
+}
diff --git a/apps/web/src/components/settings/notifications/events/notify-me-section.test.tsx b/apps/web/src/components/settings/notifications/events/notify-me-section.test.tsx
new file mode 100644
index 000000000..eb7058b9a
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/notify-me-section.test.tsx
@@ -0,0 +1,165 @@
+import {
+ act,
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { NotifyMeSection } from "./notify-me-section";
+import { LEAD_TIME_SAVE_DELAY_MS } from "./use-event-preferences-autosave";
+
+const updatePreferences = vi.fn();
+const hookOptions = vi.fn();
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+vi.mock(
+ "@/hooks/mutations/notification-preferences/use-notification-preferences",
+ () => ({
+ useUpdateNotificationPreferences: (options?: { silent?: boolean }) => {
+ hookOptions(options);
+ return { mutateAsync: updatePreferences, isPending: false };
+ },
+ }),
+);
+
+const preferences = {
+ emailAddress: "[email protected]",
+ emailEnabled: false,
+ taskAssignmentEnabled: true,
+ taskCommentEnabled: true,
+ taskStatusChangeEnabled: true,
+ dueDateReminderEnabled: true,
+ dueDateReminderLeadTimeMinutes: 1440,
+ workspaces: [],
+} as unknown as NotificationPreferences;
+
+const leadTimeInput = () =>
+ screen.getByLabelText("settings:notificationsPage.reminderLeadTimeLabel");
+
+describe("NotifyMeSection", () => {
+ afterEach(() => {
+ cleanup();
+ vi.useRealTimers();
+ });
+
+ beforeEach(() => {
+ updatePreferences.mockReset();
+ updatePreferences.mockResolvedValue(undefined);
+ hookOptions.mockReset();
+ });
+
+ it("saves a switch immediately and quietly, without a save button", () => {
+ render(<NotifyMeSection preferences={preferences} />);
+
+ fireEvent.click(
+ screen.getByRole("switch", {
+ name: "settings:notificationsPage.eventTaskAssignments",
+ }),
+ );
+
+ expect(updatePreferences).toHaveBeenCalledWith({
+ taskAssignmentEnabled: false,
+ });
+ expect(hookOptions).toHaveBeenCalledWith({ silent: true });
+ expect(screen.getByText("settings:shared.autosave")).toBeTruthy();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:notificationsPage.saveEventPreferences",
+ }),
+ ).toBeNull();
+ });
+
+ it("restores a switch when saving it fails", async () => {
+ updatePreferences.mockRejectedValueOnce(new Error("nope"));
+ render(<NotifyMeSection preferences={preferences} />);
+ const toggle = screen.getByRole("switch", {
+ name: "settings:notificationsPage.eventStatusChanges",
+ });
+
+ await act(async () => {
+ fireEvent.click(toggle);
+ });
+
+ expect(toggle.getAttribute("aria-checked")).toBe("true");
+ });
+
+ it("saves a valid lead time after a short pause", () => {
+ vi.useFakeTimers();
+ render(<NotifyMeSection preferences={preferences} />);
+
+ fireEvent.change(leadTimeInput(), { target: { value: "2" } });
+ expect(updatePreferences).not.toHaveBeenCalled();
+
+ act(() => {
+ vi.advanceTimersByTime(LEAD_TIME_SAVE_DELAY_MS);
+ });
+
+ expect(updatePreferences).toHaveBeenCalledTimes(1);
+ expect(updatePreferences).toHaveBeenCalledWith({
+ dueDateReminderLeadTimeMinutes: 2880,
+ });
+ });
+
+ it("shows the inline error and does not save a cleared lead time", () => {
+ vi.useFakeTimers();
+ render(<NotifyMeSection preferences={preferences} />);
+
+ fireEvent.change(leadTimeInput(), { target: { value: "" } });
+ act(() => {
+ vi.advanceTimersByTime(LEAD_TIME_SAVE_DELAY_MS * 2);
+ });
+
+ expect(
+ screen.getByText("settings:notificationsPage.reminderLeadTimeInvalid"),
+ ).toBeTruthy();
+ expect(updatePreferences).not.toHaveBeenCalled();
+ });
+
+ it("turns reminders off without validating the retained lead time", () => {
+ vi.useFakeTimers();
+ render(<NotifyMeSection preferences={preferences} />);
+
+ fireEvent.change(leadTimeInput(), { target: { value: "0" } });
+ fireEvent.click(
+ screen.getByRole("switch", {
+ name: "settings:notificationsPage.eventDueDateReminders",
+ }),
+ );
+ act(() => {
+ vi.advanceTimersByTime(LEAD_TIME_SAVE_DELAY_MS * 2);
+ });
+
+ expect(updatePreferences).toHaveBeenCalledTimes(1);
+ expect(updatePreferences).toHaveBeenCalledWith({
+ dueDateReminderEnabled: false,
+ });
+ expect(
+ screen.queryByText("settings:notificationsPage.reminderLeadTimeInvalid"),
+ ).toBeNull();
+ expect(leadTimeInput()).toHaveProperty("disabled", true);
+ });
+
+ it("saves a pending lead time when the page closes", () => {
+ vi.useFakeTimers();
+ const { unmount } = render(<NotifyMeSection preferences={preferences} />);
+
+ fireEvent.change(leadTimeInput(), { target: { value: "3" } });
+ unmount();
+
+ expect(updatePreferences).toHaveBeenCalledWith({
+ dueDateReminderLeadTimeMinutes: 4320,
+ });
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/events/notify-me-section.tsx b/apps/web/src/components/settings/notifications/events/notify-me-section.tsx
new file mode 100644
index 000000000..374c0c14e
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/notify-me-section.tsx
@@ -0,0 +1,61 @@
+import { useTranslation } from "react-i18next";
+import { AutosaveNote } from "@/components/settings/autosave-note";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { DueDateReminderRow } from "./due-date-reminder-row";
+import { EventSwitchRow } from "./event-switch-row";
+import { useEventPreferencesAutosave } from "./use-event-preferences-autosave";
+
+type NotifyMeSectionProps = {
+ preferences: NotificationPreferences;
+};
+
+export function NotifyMeSection({ preferences }: NotifyMeSectionProps) {
+ const { t } = useTranslation();
+ const { state, setSwitch, setLeadTime } =
+ useEventPreferencesAutosave(preferences);
+
+ return (
+ <SettingsSection
+ title={t("settings:notificationsPage.eventPreferencesTitle")}
+ description={t("settings:notificationsPage.eventPreferencesDescription")}
+ action={<AutosaveNote />}
+ >
+ <SettingsCard>
+ <EventSwitchRow
+ title={t("settings:notificationsPage.eventTaskAssignments")}
+ description={t("settings:notificationsPage.eventTaskAssignmentsHint")}
+ checked={state.taskAssignmentEnabled}
+ onCheckedChange={(checked) =>
+ setSwitch("taskAssignmentEnabled", checked)
+ }
+ />
+ <EventSwitchRow
+ title={t("settings:notificationsPage.eventComments")}
+ description={t("settings:notificationsPage.eventCommentsHint")}
+ checked={state.taskCommentEnabled}
+ onCheckedChange={(checked) =>
+ setSwitch("taskCommentEnabled", checked)
+ }
+ />
+ <EventSwitchRow
+ title={t("settings:notificationsPage.eventStatusChanges")}
+ description={t("settings:notificationsPage.eventStatusChangesHint")}
+ checked={state.taskStatusChangeEnabled}
+ onCheckedChange={(checked) =>
+ setSwitch("taskStatusChangeEnabled", checked)
+ }
+ />
+ <DueDateReminderRow
+ enabled={state.dueDateReminderEnabled}
+ leadTime={state.leadTime}
+ onEnabledChange={(checked) =>
+ setSwitch("dueDateReminderEnabled", checked)
+ }
+ onLeadTimeChange={setLeadTime}
+ />
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/events/use-event-preferences-autosave.ts b/apps/web/src/components/settings/notifications/events/use-event-preferences-autosave.ts
new file mode 100644
index 000000000..3b689b3f9
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/events/use-event-preferences-autosave.ts
@@ -0,0 +1,74 @@
+import { useEffect, useRef, useState } from "react";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import type { UpdateNotificationPreferencesRequest } from "@/fetchers/notification-preferences/update-notification-preferences";
+import { useUpdateNotificationPreferences } from "@/hooks/mutations/notification-preferences/use-notification-preferences";
+import {
+ type EventPreferences,
+ type EventSwitchKey,
+ toEventPreferences,
+} from "./event-preferences";
+import { getValidLeadTimeMinutes, type LeadTime } from "./lead-time";
+
+export const LEAD_TIME_SAVE_DELAY_MS = 600;
+
+export function useEventPreferencesAutosave(
+ preferences: NotificationPreferences,
+) {
+ const [state, setState] = useState<EventPreferences>(() =>
+ toEventPreferences(preferences),
+ );
+ const { mutateAsync } = useUpdateNotificationPreferences({ silent: true });
+ const timeoutRef = useRef<number | undefined>(undefined);
+ const pendingMinutesRef = useRef<number | null>(null);
+
+ useEffect(
+ () => () => {
+ window.clearTimeout(timeoutRef.current);
+ const minutes = pendingMinutesRef.current;
+ pendingMinutesRef.current = null;
+ if (minutes !== null) {
+ mutateAsync({ dueDateReminderLeadTimeMinutes: minutes }).catch(
+ () => undefined,
+ );
+ }
+ },
+ [mutateAsync],
+ );
+
+ const saveLeadTime = () => {
+ const minutes = pendingMinutesRef.current;
+ pendingMinutesRef.current = null;
+ if (minutes === null) return;
+ mutateAsync({ dueDateReminderLeadTimeMinutes: minutes }).catch(
+ () => undefined,
+ );
+ };
+
+ const setSwitch = (key: EventSwitchKey, checked: boolean) => {
+ setState((current) => ({ ...current, [key]: checked }));
+ if (key === "dueDateReminderEnabled" && !checked) {
+ window.clearTimeout(timeoutRef.current);
+ pendingMinutesRef.current = null;
+ }
+ const payload: UpdateNotificationPreferencesRequest = {};
+ payload[key] = checked;
+ mutateAsync(payload).catch(() => {
+ setState((current) => ({ ...current, [key]: !checked }));
+ });
+ };
+
+ const setLeadTime = (leadTime: LeadTime) => {
+ setState((current) => ({ ...current, leadTime }));
+ window.clearTimeout(timeoutRef.current);
+ pendingMinutesRef.current = state.dueDateReminderEnabled
+ ? getValidLeadTimeMinutes(leadTime)
+ : null;
+ if (pendingMinutesRef.current === null) return;
+ timeoutRef.current = window.setTimeout(
+ saveLeadTime,
+ LEAD_TIME_SAVE_DELAY_MS,
+ );
+ };
+
+ return { state, setSwitch, setLeadTime };
+}
diff --git a/apps/web/src/components/settings/notifications/get-channel-availability.test.ts b/apps/web/src/components/settings/notifications/get-channel-availability.test.ts
new file mode 100644
index 000000000..bf59fcbd6
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/get-channel-availability.test.ts
@@ -0,0 +1,43 @@
+import { describe, expect, it } from "vite-plus/test";
+import { getChannelAvailability } from "./get-channel-availability";
+
+const base = {
+ emailAddress: "[email protected]",
+ emailEnabled: true,
+ gotifyConfigured: false,
+ gotifyEnabled: false,
+ ntfyConfigured: true,
+ ntfyEnabled: false,
+ webhookConfigured: true,
+ webhookEnabled: true,
+};
+
+describe("getChannelAvailability", () => {
+ it("maps each channel to its delivery state", () => {
+ expect(getChannelAvailability(base)).toEqual({
+ email: "available",
+ gotify: "notConnected",
+ ntfy: "paused",
+ webhook: "available",
+ });
+ });
+
+ it("treats email as off when disabled and not connected without an address", () => {
+ expect(getChannelAvailability({ ...base, emailEnabled: false }).email).toBe(
+ "off",
+ );
+ expect(getChannelAvailability({ ...base, emailAddress: null }).email).toBe(
+ "notConnected",
+ );
+ });
+
+ it("ignores an enabled flag on a channel that is not configured", () => {
+ expect(
+ getChannelAvailability({
+ ...base,
+ gotifyConfigured: false,
+ gotifyEnabled: true,
+ }).gotify,
+ ).toBe("notConnected");
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/get-channel-availability.ts b/apps/web/src/components/settings/notifications/get-channel-availability.ts
new file mode 100644
index 000000000..54b7a7848
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/get-channel-availability.ts
@@ -0,0 +1,49 @@
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import type {
+ ChannelAvailability,
+ ChannelAvailabilityMap,
+} from "./notification-channels";
+
+type ChannelPreferences = Pick<
+ NotificationPreferences,
+ | "emailAddress"
+ | "emailEnabled"
+ | "gotifyConfigured"
+ | "gotifyEnabled"
+ | "ntfyConfigured"
+ | "ntfyEnabled"
+ | "webhookConfigured"
+ | "webhookEnabled"
+>;
+
+function getExternalAvailability(
+ configured: boolean,
+ enabled: boolean,
+): ChannelAvailability {
+ if (!configured) return "notConnected";
+ return enabled ? "available" : "paused";
+}
+
+export function getChannelAvailability(
+ preferences: ChannelPreferences,
+): ChannelAvailabilityMap {
+ return {
+ email: !preferences.emailAddress
+ ? "notConnected"
+ : preferences.emailEnabled
+ ? "available"
+ : "off",
+ gotify: getExternalAvailability(
+ preferences.gotifyConfigured,
+ preferences.gotifyEnabled,
+ ),
+ ntfy: getExternalAvailability(
+ preferences.ntfyConfigured,
+ preferences.ntfyEnabled,
+ ),
+ webhook: getExternalAvailability(
+ preferences.webhookConfigured,
+ preferences.webhookEnabled,
+ ),
+ };
+}
diff --git a/apps/web/src/components/settings/notifications/get-url-host.test.ts b/apps/web/src/components/settings/notifications/get-url-host.test.ts
new file mode 100644
index 000000000..97b76e6e5
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/get-url-host.test.ts
@@ -0,0 +1,23 @@
+import { describe, expect, it } from "vite-plus/test";
+import { getUrlHost } from "./get-url-host";
+
+describe("getUrlHost", () => {
+ it("returns the host of a URL, keeping a custom port", () => {
+ expect(getUrlHost("https://gotify.example.com/path?x=1")).toBe(
+ "gotify.example.com",
+ );
+ expect(getUrlHost("http://ntfy.example.com:8080")).toBe(
+ "ntfy.example.com:8080",
+ );
+ });
+
+ it("falls back to the raw value when it is not a URL", () => {
+ expect(getUrlHost(" ntfy.local ")).toBe("ntfy.local");
+ });
+
+ it("returns null for empty values", () => {
+ expect(getUrlHost(null)).toBeNull();
+ expect(getUrlHost(undefined)).toBeNull();
+ expect(getUrlHost(" ")).toBeNull();
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/get-url-host.ts b/apps/web/src/components/settings/notifications/get-url-host.ts
new file mode 100644
index 000000000..0c205a004
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/get-url-host.ts
@@ -0,0 +1,10 @@
+export function getUrlHost(value: string | null | undefined) {
+ const trimmed = value?.trim();
+ if (!trimmed) return null;
+
+ try {
+ return new URL(trimmed).host || trimmed;
+ } catch {
+ return trimmed;
+ }
+}
diff --git a/apps/web/src/components/settings/notifications/notification-channels.ts b/apps/web/src/components/settings/notifications/notification-channels.ts
new file mode 100644
index 000000000..3756a520f
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/notification-channels.ts
@@ -0,0 +1,28 @@
+export type ExternalChannelId = "gotify" | "ntfy" | "webhook";
+
+export type NotificationChannelId = "email" | ExternalChannelId;
+
+export type ChannelAvailability =
+ | "available"
+ | "paused"
+ | "off"
+ | "notConnected";
+
+export type ChannelAvailabilityMap = Record<
+ NotificationChannelId,
+ ChannelAvailability
+>;
+
+export const NOTIFICATION_CHANNELS: NotificationChannelId[] = [
+ "email",
+ "gotify",
+ "ntfy",
+ "webhook",
+];
+
+export const CHANNEL_NAME_KEYS: Record<NotificationChannelId, string> = {
+ email: "settings:notificationsPage.emailTitle",
+ gotify: "settings:notificationsPage.gotifyTitle",
+ ntfy: "settings:notificationsPage.ntfyTitle",
+ webhook: "settings:notificationsPage.webhookTitle",
+};
diff --git a/apps/web/src/components/settings/notifications/notification-settings-skeleton.tsx b/apps/web/src/components/settings/notifications/notification-settings-skeleton.tsx
new file mode 100644
index 000000000..79b411299
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/notification-settings-skeleton.tsx
@@ -0,0 +1,33 @@
+import { Skeleton } from "@/components/ui/skeleton";
+
+const SECTIONS = [
+ { id: "events", rows: ["assignments", "comments", "status", "reminders"] },
+ { id: "channels", rows: ["email", "gotify", "ntfy", "webhook"] },
+ { id: "workspaces", rows: ["first", "second"] },
+];
+
+export function NotificationSettingsSkeleton() {
+ return (
+ <div aria-hidden="true" className="space-y-10">
+ {SECTIONS.map((section) => (
+ <div key={section.id} className="space-y-3">
+ <div className="space-y-1.5">
+ <Skeleton className="h-3.5 w-28" />
+ <Skeleton className="h-3 w-64 max-w-full" />
+ </div>
+ <div className="divide-y divide-border rounded-xl border border-border bg-card">
+ {section.rows.map((row) => (
+ <div key={row} className="flex items-center gap-3.5 px-4 py-3.5">
+ <div className="min-w-0 flex-1 space-y-1.5">
+ <Skeleton className="h-3.5 w-32" />
+ <Skeleton className="h-3 w-56 max-w-full" />
+ </div>
+ <Skeleton className="h-5 w-9 rounded-full" />
+ </div>
+ ))}
+ </div>
+ </div>
+ ))}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/notification-settings.tsx b/apps/web/src/components/settings/notifications/notification-settings.tsx
new file mode 100644
index 000000000..39282a38a
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/notification-settings.tsx
@@ -0,0 +1,35 @@
+import { BellOffIcon } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsEmpty } from "@/components/settings/settings-empty";
+import useGetNotificationPreferences from "@/hooks/queries/notification-preferences/use-get-notification-preferences";
+import { ChannelsSection } from "./channels/channels-section";
+import { NotifyMeSection } from "./events/notify-me-section";
+import { NotificationSettingsSkeleton } from "./notification-settings-skeleton";
+import { WorkspacesSection } from "./workspaces/workspaces-section";
+
+export function NotificationSettings() {
+ const { t } = useTranslation();
+ const { data: preferences, isLoading } = useGetNotificationPreferences();
+
+ if (isLoading) return <NotificationSettingsSkeleton />;
+
+ if (!preferences) {
+ return (
+ <SettingsCard>
+ <SettingsEmpty
+ icon={<BellOffIcon />}
+ title={t("settings:notificationsPage.loadFailed")}
+ />
+ </SettingsCard>
+ );
+ }
+
+ return (
+ <>
+ <NotifyMeSection preferences={preferences} />
+ <ChannelsSection preferences={preferences} />
+ <WorkspacesSection preferences={preferences} />
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/get-workspace-rule-summary.test.ts b/apps/web/src/components/settings/notifications/workspaces/get-workspace-rule-summary.test.ts
new file mode 100644
index 000000000..1161b603d
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/get-workspace-rule-summary.test.ts
@@ -0,0 +1,109 @@
+import type { TFunction } from "i18next";
+import { describe, expect, it } from "vite-plus/test";
+import type { ChannelAvailabilityMap } from "../notification-channels";
+import { getWorkspaceRuleSummary } from "./get-workspace-rule-summary";
+import type { WorkspaceRule } from "./workspace-rule-state";
+
+const english: Record<string, string> = {
+ "settings:notificationsPage.onlyInKaneo": "Only in Kaneo",
+ "settings:notificationsPage.allProjects": "All projects",
+ "settings:notificationsPage.emailTitle": "Email",
+ "settings:notificationsPage.gotifyTitle": "Gotify",
+ "settings:notificationsPage.ntfyTitle": "ntfy",
+ "settings:notificationsPage.webhookTitle": "Custom webhook",
+};
+
+const t = ((key: string, options?: Record<string, unknown>) => {
+ if (key === "settings:notificationsPage.projectCount") {
+ return options?.count === 1
+ ? "1 project"
+ : `${String(options?.count)} projects`;
+ }
+ if (key === "settings:notificationsPage.ruleSummary") {
+ return `${String(options?.channels)} · ${String(options?.projects)}`;
+ }
+ return english[key] ?? key;
+}) as unknown as TFunction;
+
+const availability: ChannelAvailabilityMap = {
+ email: "available",
+ gotify: "available",
+ ntfy: "paused",
+ webhook: "notConnected",
+};
+
+const rule: WorkspaceRule = {
+ isActive: true,
+ emailEnabled: true,
+ gotifyEnabled: true,
+ ntfyEnabled: false,
+ webhookEnabled: false,
+ projectMode: "all",
+ selectedProjectIds: [],
+};
+
+describe("getWorkspaceRuleSummary", () => {
+ it("says only in Kaneo when there is no rule", () => {
+ expect(getWorkspaceRuleSummary(undefined, availability, t)).toBe(
+ "Only in Kaneo",
+ );
+ });
+
+ it("lists channels in a fixed order with the project scope", () => {
+ expect(getWorkspaceRuleSummary(rule, availability, t)).toBe(
+ "Email, Gotify · All projects",
+ );
+ });
+
+ it("counts selected projects", () => {
+ expect(
+ getWorkspaceRuleSummary(
+ {
+ ...rule,
+ gotifyEnabled: false,
+ projectMode: "selected",
+ selectedProjectIds: ["p1", "p2"],
+ },
+ availability,
+ t,
+ ),
+ ).toBe("Email · 2 projects");
+ expect(
+ getWorkspaceRuleSummary(
+ { ...rule, projectMode: "selected", selectedProjectIds: ["p1"] },
+ availability,
+ t,
+ ),
+ ).toBe("Email, Gotify · 1 project");
+ });
+
+ it("leaves out channels that cannot deliver right now", () => {
+ expect(
+ getWorkspaceRuleSummary(
+ {
+ ...rule,
+ gotifyEnabled: false,
+ ntfyEnabled: true,
+ webhookEnabled: true,
+ },
+ availability,
+ t,
+ ),
+ ).toBe("Email · All projects");
+ });
+
+ it("says only in Kaneo when no usable channel is left", () => {
+ expect(
+ getWorkspaceRuleSummary(
+ {
+ ...rule,
+ emailEnabled: false,
+ gotifyEnabled: false,
+ ntfyEnabled: true,
+ },
+ availability,
+ t,
+ ),
+ ).toBe("Only in Kaneo");
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/workspaces/get-workspace-rule-summary.ts b/apps/web/src/components/settings/notifications/workspaces/get-workspace-rule-summary.ts
new file mode 100644
index 000000000..ddb27eb40
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/get-workspace-rule-summary.ts
@@ -0,0 +1,35 @@
+import type { TFunction } from "i18next";
+import {
+ CHANNEL_NAME_KEYS,
+ type ChannelAvailabilityMap,
+ NOTIFICATION_CHANNELS,
+} from "../notification-channels";
+import { RULE_CHANNEL_KEYS, type WorkspaceRule } from "./workspace-rule-state";
+
+export function getWorkspaceRuleSummary(
+ rule: WorkspaceRule | undefined,
+ availability: ChannelAvailabilityMap,
+ t: TFunction,
+) {
+ const onlyInKaneo = t("settings:notificationsPage.onlyInKaneo");
+ if (!rule) return onlyInKaneo;
+
+ const channels = NOTIFICATION_CHANNELS.filter(
+ (channel) =>
+ rule[RULE_CHANNEL_KEYS[channel]] && availability[channel] === "available",
+ ).map((channel) => t(CHANNEL_NAME_KEYS[channel]));
+
+ if (channels.length === 0) return onlyInKaneo;
+
+ const projects =
+ rule.projectMode === "all"
+ ? t("settings:notificationsPage.allProjects")
+ : t("settings:notificationsPage.projectCount", {
+ count: rule.selectedProjectIds.length,
+ });
+
+ return t("settings:notificationsPage.ruleSummary", {
+ channels: channels.join(", "),
+ projects,
+ });
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-active-row.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-active-row.tsx
new file mode 100644
index 000000000..fc5092750
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-active-row.tsx
@@ -0,0 +1,38 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { Label } from "@/components/ui/label";
+import { Switch } from "@/components/ui/switch";
+
+type WorkspaceRuleActiveRowProps = {
+ checked: boolean;
+ disabled: boolean;
+ onCheckedChange: (checked: boolean) => void;
+};
+
+export function WorkspaceRuleActiveRow({
+ checked,
+ disabled,
+ onCheckedChange,
+}: WorkspaceRuleActiveRowProps) {
+ const { t } = useTranslation();
+ const id = useId();
+
+ return (
+ <div className="flex items-center justify-between gap-4 rounded-lg border border-border px-3.5 py-3">
+ <div className="min-w-0 space-y-0.5">
+ <Label htmlFor={id}>
+ {t("settings:notificationsPage.ruleActiveLabel")}
+ </Label>
+ <p className="text-xs text-muted-foreground">
+ {t("settings:notificationsPage.ruleActiveDescription")}
+ </p>
+ </div>
+ <Switch
+ checked={checked}
+ disabled={disabled}
+ id={id}
+ onCheckedChange={onCheckedChange}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-channel-row.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-channel-row.tsx
new file mode 100644
index 000000000..1d84784eb
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-channel-row.tsx
@@ -0,0 +1,60 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { Label } from "@/components/ui/label";
+import { Switch } from "@/components/ui/switch";
+import { cn } from "@/lib/cn";
+import type { ChannelAvailability } from "../notification-channels";
+
+const UNAVAILABLE_REASON_KEYS: Record<
+ Exclude<ChannelAvailability, "available">,
+ string
+> = {
+ paused: "settings:notificationsPage.statusPaused",
+ off: "settings:notificationsPage.channelOff",
+ notConnected: "settings:notificationsPage.channelNotConnected",
+};
+
+type WorkspaceRuleChannelRowProps = {
+ name: string;
+ availability: ChannelAvailability;
+ checked: boolean;
+ disabled: boolean;
+ onCheckedChange: (checked: boolean) => void;
+};
+
+export function WorkspaceRuleChannelRow({
+ name,
+ availability,
+ checked,
+ disabled,
+ onCheckedChange,
+}: WorkspaceRuleChannelRowProps) {
+ const { t } = useTranslation();
+ const id = useId();
+ const available = availability === "available";
+
+ return (
+ <div className="flex min-h-11 items-center gap-3 px-3.5 py-2">
+ <Label
+ className={cn(
+ "min-w-0 flex-1 font-normal",
+ !available && "text-muted-foreground",
+ )}
+ htmlFor={id}
+ >
+ {name}
+ </Label>
+ {available ? null : (
+ <span className="text-xs text-muted-foreground">
+ {t(UNAVAILABLE_REASON_KEYS[availability])}
+ </span>
+ )}
+ <Switch
+ checked={available && checked}
+ disabled={!available || disabled}
+ id={id}
+ onCheckedChange={onCheckedChange}
+ />
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-channels.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-channels.tsx
new file mode 100644
index 000000000..ce8ff6686
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-channels.tsx
@@ -0,0 +1,54 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import {
+ CHANNEL_NAME_KEYS,
+ type ChannelAvailabilityMap,
+ NOTIFICATION_CHANNELS,
+ type NotificationChannelId,
+} from "../notification-channels";
+import { WorkspaceRuleChannelRow } from "./workspace-rule-channel-row";
+import {
+ RULE_CHANNEL_KEYS,
+ type WorkspaceRuleState,
+} from "./workspace-rule-state";
+
+type WorkspaceRuleChannelsProps = {
+ availability: ChannelAvailabilityMap;
+ disabled: boolean;
+ state: WorkspaceRuleState;
+ onChange: (channel: NotificationChannelId, checked: boolean) => void;
+};
+
+export function WorkspaceRuleChannels({
+ availability,
+ disabled,
+ state,
+ onChange,
+}: WorkspaceRuleChannelsProps) {
+ const { t } = useTranslation();
+ const headingId = useId();
+
+ return (
+ <div className="space-y-2">
+ <p className="text-sm font-medium" id={headingId}>
+ {t("settings:notificationsPage.ruleChannels")}
+ </p>
+ <div
+ aria-labelledby={headingId}
+ className="divide-y divide-border rounded-lg border border-border"
+ role="group"
+ >
+ {NOTIFICATION_CHANNELS.map((channel) => (
+ <WorkspaceRuleChannelRow
+ key={channel}
+ availability={availability[channel]}
+ checked={state[RULE_CHANNEL_KEYS[channel]]}
+ disabled={disabled}
+ name={t(CHANNEL_NAME_KEYS[channel])}
+ onCheckedChange={(checked) => onChange(channel, checked)}
+ />
+ ))}
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-dialog.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-dialog.tsx
new file mode 100644
index 000000000..11423d926
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-dialog.tsx
@@ -0,0 +1,33 @@
+import { Dialog, DialogPopup } from "@/components/ui/dialog";
+import type { ChannelAvailabilityMap } from "../notification-channels";
+import { WorkspaceRuleForm } from "./workspace-rule-form";
+import type { WorkspaceRule } from "./workspace-rule-state";
+
+type WorkspaceRuleDialogProps = {
+ open: boolean;
+ onOpenChange: (open: boolean) => void;
+ workspace: { id: string; name: string };
+ rule: WorkspaceRule | undefined;
+ availability: ChannelAvailabilityMap;
+};
+
+export function WorkspaceRuleDialog({
+ open,
+ onOpenChange,
+ workspace,
+ rule,
+ availability,
+}: WorkspaceRuleDialogProps) {
+ return (
+ <Dialog open={open} onOpenChange={onOpenChange}>
+ <DialogPopup className="sm:max-w-md">
+ <WorkspaceRuleForm
+ availability={availability}
+ onClose={() => onOpenChange(false)}
+ rule={rule}
+ workspace={workspace}
+ />
+ </DialogPopup>
+ </Dialog>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-form.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-form.tsx
new file mode 100644
index 000000000..10167d590
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-form.tsx
@@ -0,0 +1,165 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { Button } from "@/components/ui/button";
+import {
+ DialogClose,
+ DialogDescription,
+ DialogFooter,
+ DialogHeader,
+ DialogPanel,
+ DialogTitle,
+} from "@/components/ui/dialog";
+import {
+ useDeleteNotificationWorkspaceRule,
+ useUpsertNotificationWorkspaceRule,
+} from "@/hooks/mutations/notification-preferences/use-notification-preferences";
+import type { ChannelAvailabilityMap } from "../notification-channels";
+import { WorkspaceRuleActiveRow } from "./workspace-rule-active-row";
+import { WorkspaceRuleChannels } from "./workspace-rule-channels";
+import { WorkspaceRuleProjects } from "./workspace-rule-projects";
+import {
+ createWorkspaceRuleState,
+ RULE_CHANNEL_KEYS,
+ toWorkspaceRuleRequest,
+ type WorkspaceRule,
+ type WorkspaceRuleState,
+} from "./workspace-rule-state";
+
+type WorkspaceRuleFormProps = {
+ workspace: { id: string; name: string };
+ rule: WorkspaceRule | undefined;
+ availability: ChannelAvailabilityMap;
+ onClose: () => void;
+};
+
+export function WorkspaceRuleForm({
+ workspace,
+ rule,
+ availability,
+ onClose,
+}: WorkspaceRuleFormProps) {
+ const { t } = useTranslation();
+ const [state, setState] = useState<WorkspaceRuleState>(() =>
+ createWorkspaceRuleState(rule, availability),
+ );
+ const [confirmStopOpen, setConfirmStopOpen] = useState(false);
+ const { mutateAsync: upsertRule, isPending: saving } =
+ useUpsertNotificationWorkspaceRule();
+ const { mutateAsync: deleteRule, isPending: removing } =
+ useDeleteNotificationWorkspaceRule();
+ const busy = saving || removing;
+
+ const update = (patch: Partial<WorkspaceRuleState>) =>
+ setState((current) => ({ ...current, ...patch }));
+
+ const save = async () => {
+ const saved = await upsertRule({
+ workspaceId: workspace.id,
+ json: toWorkspaceRuleRequest(state, availability),
+ }).then(
+ () => true,
+ () => false,
+ );
+ if (saved) onClose();
+ };
+
+ const stopSending = async () => {
+ const removed = await deleteRule(workspace.id).then(
+ () => true,
+ () => false,
+ );
+ if (!removed) return;
+ setConfirmStopOpen(false);
+ onClose();
+ };
+
+ return (
+ <>
+ <form
+ className="contents"
+ onSubmit={(event) => {
+ event.preventDefault();
+ void save();
+ }}
+ >
+ <DialogHeader>
+ <DialogTitle>
+ {t("settings:notificationsPage.ruleDialogTitle", {
+ workspaceName: workspace.name,
+ })}
+ </DialogTitle>
+ <DialogDescription>
+ {t("settings:notificationsPage.ruleDialogDescription")}
+ </DialogDescription>
+ </DialogHeader>
+ <DialogPanel className="space-y-5">
+ <WorkspaceRuleActiveRow
+ checked={state.isActive}
+ disabled={busy}
+ onCheckedChange={(isActive) => update({ isActive })}
+ />
+ <WorkspaceRuleChannels
+ availability={availability}
+ disabled={busy}
+ onChange={(channel, checked) => {
+ const patch: Partial<WorkspaceRuleState> = {};
+ patch[RULE_CHANNEL_KEYS[channel]] = checked;
+ update(patch);
+ }}
+ state={state}
+ />
+ <WorkspaceRuleProjects
+ disabled={busy}
+ onModeChange={(projectMode) => update({ projectMode })}
+ onToggleProject={(projectId, checked) =>
+ setState((current) => ({
+ ...current,
+ selectedProjectIds: checked
+ ? [...current.selectedProjectIds, projectId]
+ : current.selectedProjectIds.filter((id) => id !== projectId),
+ }))
+ }
+ projectMode={state.projectMode}
+ selectedProjectIds={state.selectedProjectIds}
+ workspaceId={workspace.id}
+ />
+ </DialogPanel>
+ <DialogFooter>
+ {rule ? (
+ <Button
+ className="text-destructive-foreground hover:text-destructive-foreground sm:me-auto"
+ disabled={busy}
+ onClick={() => setConfirmStopOpen(true)}
+ type="button"
+ variant="ghost"
+ >
+ {t("settings:notificationsPage.stopSending")}
+ </Button>
+ ) : null}
+ <DialogClose
+ disabled={busy}
+ render={<Button type="button" variant="outline" />}
+ >
+ {t("common:actions.cancel")}
+ </DialogClose>
+ <Button disabled={busy} type="submit">
+ {t("settings:notificationsPage.save")}
+ </Button>
+ </DialogFooter>
+ </form>
+ <ConfirmDialog
+ open={confirmStopOpen}
+ onOpenChange={setConfirmStopOpen}
+ title={t("settings:notificationsPage.stopSendingTitle", {
+ workspaceName: workspace.name,
+ })}
+ description={t("settings:notificationsPage.stopSendingDescription")}
+ confirmLabel={t("settings:notificationsPage.stopSending")}
+ pendingLabel={t("settings:notificationsPage.stopping")}
+ pending={removing}
+ onConfirm={() => void stopSending()}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-project-list.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-project-list.tsx
new file mode 100644
index 000000000..48ee61fc5
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-project-list.tsx
@@ -0,0 +1,56 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { Checkbox } from "@/components/ui/checkbox";
+import useGetProjects from "@/hooks/queries/project/use-get-projects";
+
+type WorkspaceRuleProjectListProps = {
+ workspaceId: string;
+ selectedProjectIds: string[];
+ disabled: boolean;
+ onToggle: (projectId: string, checked: boolean) => void;
+};
+
+export function WorkspaceRuleProjectList({
+ workspaceId,
+ selectedProjectIds,
+ disabled,
+ onToggle,
+}: WorkspaceRuleProjectListProps) {
+ const { t } = useTranslation();
+ const baseId = useId();
+ const { data: projects, isLoading } = useGetProjects({ workspaceId });
+
+ if (isLoading || !projects?.length) {
+ return (
+ <p className="rounded-lg border border-border px-3 py-2.5 text-sm text-muted-foreground">
+ {isLoading
+ ? t("common:empty.loading")
+ : t("settings:notificationsPage.noProjectsInWorkspace")}
+ </p>
+ );
+ }
+
+ return (
+ <div className="flex flex-col gap-0.5 rounded-lg border border-border p-1">
+ {projects.map((project) => {
+ const id = `${baseId}-${project.id}`;
+
+ return (
+ <label
+ key={project.id}
+ className="flex min-h-8 cursor-pointer items-center gap-2.5 rounded-md px-2 py-1 text-sm hover:bg-accent/50"
+ htmlFor={id}
+ >
+ <Checkbox
+ checked={selectedProjectIds.includes(project.id)}
+ disabled={disabled}
+ id={id}
+ onCheckedChange={(checked) => onToggle(project.id, checked)}
+ />
+ <span className="min-w-0 truncate">{project.name}</span>
+ </label>
+ );
+ })}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-projects.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-projects.tsx
new file mode 100644
index 000000000..f05ef1deb
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-projects.tsx
@@ -0,0 +1,63 @@
+import { useId } from "react";
+import { useTranslation } from "react-i18next";
+import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
+import { WorkspaceRuleProjectList } from "./workspace-rule-project-list";
+import type { WorkspaceRuleState } from "./workspace-rule-state";
+
+type WorkspaceRuleProjectsProps = {
+ workspaceId: string;
+ disabled: boolean;
+ projectMode: WorkspaceRuleState["projectMode"];
+ selectedProjectIds: string[];
+ onModeChange: (mode: WorkspaceRuleState["projectMode"]) => void;
+ onToggleProject: (projectId: string, checked: boolean) => void;
+};
+
+const segmentClassName =
+ "h-7 flex-1 rounded-md px-3 text-[13px] font-normal text-muted-foreground hover:bg-transparent hover:text-foreground data-pressed:bg-background data-pressed:font-medium data-pressed:text-foreground data-pressed:shadow-xs/5 dark:data-pressed:bg-input sm:h-7";
+
+export function WorkspaceRuleProjects({
+ workspaceId,
+ disabled,
+ projectMode,
+ selectedProjectIds,
+ onModeChange,
+ onToggleProject,
+}: WorkspaceRuleProjectsProps) {
+ const { t } = useTranslation();
+ const headingId = useId();
+
+ return (
+ <div className="space-y-2">
+ <p className="text-sm font-medium" id={headingId}>
+ {t("settings:notificationsPage.ruleProjects")}
+ </p>
+ <ToggleGroup
+ aria-labelledby={headingId}
+ className="w-full rounded-lg border border-input bg-muted/40 p-0.5"
+ disabled={disabled}
+ onValueChange={(values) => {
+ const next = values[0];
+ if (next === "all" || next === "selected") onModeChange(next);
+ }}
+ size="sm"
+ value={[projectMode]}
+ >
+ <ToggleGroupItem className={segmentClassName} value="all">
+ {t("settings:notificationsPage.allProjects")}
+ </ToggleGroupItem>
+ <ToggleGroupItem className={segmentClassName} value="selected">
+ {t("settings:notificationsPage.someProjects")}
+ </ToggleGroupItem>
+ </ToggleGroup>
+ {projectMode === "selected" ? (
+ <WorkspaceRuleProjectList
+ disabled={disabled}
+ onToggle={onToggleProject}
+ selectedProjectIds={selectedProjectIds}
+ workspaceId={workspaceId}
+ />
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-row.tsx b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-row.tsx
new file mode 100644
index 000000000..e4739f0d6
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-row.tsx
@@ -0,0 +1,76 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { StatusBadge } from "@/components/settings/status-badge";
+import { Button } from "@/components/ui/button";
+import type { ChannelAvailabilityMap } from "../notification-channels";
+import { getWorkspaceRuleSummary } from "./get-workspace-rule-summary";
+import { WorkspaceRuleDialog } from "./workspace-rule-dialog";
+import type { WorkspaceRule } from "./workspace-rule-state";
+
+type WorkspaceRuleRowProps = {
+ workspace: { id: string; name: string };
+ rule: WorkspaceRule | undefined;
+ availability: ChannelAvailabilityMap;
+};
+
+export function WorkspaceRuleRow({
+ workspace,
+ rule,
+ availability,
+}: WorkspaceRuleRowProps) {
+ const { t } = useTranslation();
+ const [open, setOpen] = useState(false);
+ const initial = Array.from(workspace.name.trim())[0]?.toUpperCase() ?? "";
+
+ return (
+ <>
+ <SettingsRow
+ icon={
+ <span className="text-[13px] font-semibold text-foreground">
+ {initial}
+ </span>
+ }
+ title={workspace.name}
+ badge={
+ rule ? (
+ <StatusBadge tone={rule.isActive ? "success" : "warning"}>
+ {rule.isActive
+ ? t("settings:notificationsPage.statusSending")
+ : t("settings:notificationsPage.statusPaused")}
+ </StatusBadge>
+ ) : null
+ }
+ description={getWorkspaceRuleSummary(rule, availability, t)}
+ >
+ <Button
+ aria-label={
+ rule
+ ? t("settings:notificationsPage.configureWorkspace", {
+ workspaceName: workspace.name,
+ })
+ : t("settings:notificationsPage.setUpWorkspace", {
+ workspaceName: workspace.name,
+ })
+ }
+ className="w-24"
+ onClick={() => setOpen(true)}
+ size="sm"
+ type="button"
+ variant="outline"
+ >
+ {rule
+ ? t("settings:notificationsPage.configure")
+ : t("settings:notificationsPage.setUp")}
+ </Button>
+ </SettingsRow>
+ <WorkspaceRuleDialog
+ availability={availability}
+ onOpenChange={setOpen}
+ open={open}
+ rule={rule}
+ workspace={workspace}
+ />
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-state.test.ts b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-state.test.ts
new file mode 100644
index 000000000..3757b8b01
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-state.test.ts
@@ -0,0 +1,68 @@
+import { describe, expect, it } from "vite-plus/test";
+import type { ChannelAvailabilityMap } from "../notification-channels";
+import {
+ createWorkspaceRuleState,
+ toWorkspaceRuleRequest,
+} from "./workspace-rule-state";
+
+const availability: ChannelAvailabilityMap = {
+ email: "available",
+ gotify: "paused",
+ ntfy: "notConnected",
+ webhook: "available",
+};
+
+describe("createWorkspaceRuleState", () => {
+ it("starts a new rule active, on every available channel, for all projects", () => {
+ expect(createWorkspaceRuleState(undefined, availability)).toEqual({
+ isActive: true,
+ emailEnabled: true,
+ gotifyEnabled: false,
+ ntfyEnabled: false,
+ webhookEnabled: true,
+ projectMode: "all",
+ selectedProjectIds: [],
+ });
+ });
+
+ it("copies an existing rule", () => {
+ const rule = {
+ isActive: false,
+ emailEnabled: false,
+ gotifyEnabled: true,
+ ntfyEnabled: false,
+ webhookEnabled: false,
+ projectMode: "selected" as const,
+ selectedProjectIds: ["p1"],
+ };
+
+ expect(createWorkspaceRuleState(rule, availability)).toEqual(rule);
+ });
+});
+
+describe("toWorkspaceRuleRequest", () => {
+ it("never sends a channel that is not available globally", () => {
+ expect(
+ toWorkspaceRuleRequest(
+ {
+ isActive: true,
+ emailEnabled: true,
+ gotifyEnabled: true,
+ ntfyEnabled: true,
+ webhookEnabled: true,
+ projectMode: "selected",
+ selectedProjectIds: ["p1", "p2"],
+ },
+ availability,
+ ),
+ ).toEqual({
+ isActive: true,
+ emailEnabled: true,
+ gotifyEnabled: false,
+ ntfyEnabled: false,
+ webhookEnabled: true,
+ projectMode: "selected",
+ selectedProjectIds: ["p1", "p2"],
+ });
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspace-rule-state.ts b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-state.ts
new file mode 100644
index 000000000..7857ac402
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspace-rule-state.ts
@@ -0,0 +1,69 @@
+import type { NotificationPreferenceWorkspaceRule } from "@/fetchers/notification-preferences/get-notification-preferences";
+import type { UpsertNotificationWorkspaceRuleRequest } from "@/fetchers/notification-preferences/upsert-notification-workspace-rule";
+import type {
+ ChannelAvailabilityMap,
+ NotificationChannelId,
+} from "../notification-channels";
+
+export type WorkspaceRule = Pick<
+ NotificationPreferenceWorkspaceRule,
+ | "isActive"
+ | "emailEnabled"
+ | "gotifyEnabled"
+ | "ntfyEnabled"
+ | "webhookEnabled"
+ | "projectMode"
+ | "selectedProjectIds"
+>;
+
+export type WorkspaceRuleState = WorkspaceRule;
+
+export const RULE_CHANNEL_KEYS = {
+ email: "emailEnabled",
+ gotify: "gotifyEnabled",
+ ntfy: "ntfyEnabled",
+ webhook: "webhookEnabled",
+} as const satisfies Record<NotificationChannelId, keyof WorkspaceRule>;
+
+export function createWorkspaceRuleState(
+ rule: WorkspaceRule | undefined,
+ availability: ChannelAvailabilityMap,
+): WorkspaceRuleState {
+ if (rule) {
+ return {
+ isActive: rule.isActive,
+ emailEnabled: rule.emailEnabled,
+ gotifyEnabled: rule.gotifyEnabled,
+ ntfyEnabled: rule.ntfyEnabled,
+ webhookEnabled: rule.webhookEnabled,
+ projectMode: rule.projectMode,
+ selectedProjectIds: rule.selectedProjectIds,
+ };
+ }
+
+ return {
+ isActive: true,
+ emailEnabled: availability.email === "available",
+ gotifyEnabled: availability.gotify === "available",
+ ntfyEnabled: availability.ntfy === "available",
+ webhookEnabled: availability.webhook === "available",
+ projectMode: "all",
+ selectedProjectIds: [],
+ };
+}
+
+export function toWorkspaceRuleRequest(
+ state: WorkspaceRuleState,
+ availability: ChannelAvailabilityMap,
+): UpsertNotificationWorkspaceRuleRequest {
+ return {
+ isActive: state.isActive,
+ emailEnabled: state.emailEnabled && availability.email === "available",
+ gotifyEnabled: state.gotifyEnabled && availability.gotify === "available",
+ ntfyEnabled: state.ntfyEnabled && availability.ntfy === "available",
+ webhookEnabled:
+ state.webhookEnabled && availability.webhook === "available",
+ projectMode: state.projectMode,
+ selectedProjectIds: state.selectedProjectIds,
+ };
+}
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspaces-section.test.tsx b/apps/web/src/components/settings/notifications/workspaces/workspaces-section.test.tsx
new file mode 100644
index 000000000..cf1e65824
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspaces-section.test.tsx
@@ -0,0 +1,206 @@
+import {
+ act,
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ within,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import { WorkspacesSection } from "./workspaces-section";
+
+const upsertRule = vi.fn();
+const deleteRule = vi.fn();
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({
+ t: (key: string, options?: { workspaceName?: string }) =>
+ options?.workspaceName ? `${key}|${options.workspaceName}` : key,
+ }),
+ initReactI18next: { type: "3rdParty", init: () => {} },
+}));
+
+vi.mock("@/hooks/queries/workspace/use-get-workspaces", () => ({
+ default: () => ({
+ data: [
+ { id: "w1", name: "Northwind" },
+ { id: "w2", name: "acme" },
+ ],
+ }),
+}));
+
+vi.mock("@/hooks/queries/project/use-get-projects", () => ({
+ default: () => ({
+ data: [
+ { id: "p1", name: "Roadmap" },
+ { id: "p2", name: "Support" },
+ ],
+ isLoading: false,
+ }),
+}));
+
+vi.mock(
+ "@/hooks/mutations/notification-preferences/use-notification-preferences",
+ () => ({
+ useUpsertNotificationWorkspaceRule: () => ({
+ mutateAsync: upsertRule,
+ isPending: false,
+ }),
+ useDeleteNotificationWorkspaceRule: () => ({
+ mutateAsync: deleteRule,
+ isPending: false,
+ }),
+ }),
+);
+
+const preferences = {
+ emailAddress: "[email protected]",
+ emailEnabled: true,
+ gotifyConfigured: true,
+ gotifyEnabled: false,
+ ntfyConfigured: false,
+ ntfyEnabled: false,
+ webhookConfigured: false,
+ webhookEnabled: false,
+ workspaces: [
+ {
+ id: "r1",
+ workspaceId: "w1",
+ workspaceName: "Northwind",
+ isActive: true,
+ emailEnabled: true,
+ gotifyEnabled: false,
+ ntfyEnabled: false,
+ webhookEnabled: false,
+ projectMode: "all",
+ selectedProjectIds: [],
+ createdAt: "",
+ updatedAt: "",
+ },
+ ],
+} as unknown as NotificationPreferences;
+
+describe("WorkspacesSection", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ upsertRule.mockReset();
+ upsertRule.mockResolvedValue(undefined);
+ deleteRule.mockReset();
+ deleteRule.mockResolvedValue(undefined);
+ });
+
+ it("summarizes each workspace and offers configure or set up", () => {
+ render(<WorkspacesSection preferences={preferences} />);
+
+ expect(screen.getByText("N")).toBeTruthy();
+ expect(screen.getByText("A")).toBeTruthy();
+ expect(
+ screen.getByText("settings:notificationsPage.statusSending"),
+ ).toBeTruthy();
+ expect(
+ screen.getByText("settings:notificationsPage.onlyInKaneo"),
+ ).toBeTruthy();
+ expect(
+ screen.getByRole("button", {
+ name: "settings:notificationsPage.configureWorkspace|Northwind",
+ }),
+ ).toBeTruthy();
+ expect(
+ screen.getByRole("button", {
+ name: "settings:notificationsPage.setUpWorkspace|acme",
+ }),
+ ).toBeTruthy();
+ });
+
+ it("sets up a rule with only available channels and selected projects", async () => {
+ render(<WorkspacesSection preferences={preferences} />);
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:notificationsPage.setUpWorkspace|acme",
+ }),
+ );
+ const dialog = within(screen.getByRole("dialog"));
+
+ expect(
+ dialog.getByText("settings:notificationsPage.ruleDialogTitle|acme"),
+ ).toBeTruthy();
+ expect(
+ dialog.queryByRole("button", {
+ name: "settings:notificationsPage.stopSending",
+ }),
+ ).toBeNull();
+ expect(
+ dialog
+ .getByRole("switch", { name: "settings:notificationsPage.gotifyTitle" })
+ .hasAttribute("data-disabled"),
+ ).toBe(true);
+ expect(
+ dialog.getByText("settings:notificationsPage.statusPaused"),
+ ).toBeTruthy();
+ expect(
+ dialog.getAllByText("settings:notificationsPage.channelNotConnected"),
+ ).toHaveLength(2);
+
+ fireEvent.click(
+ dialog.getByRole("button", {
+ name: "settings:notificationsPage.someProjects",
+ }),
+ );
+ fireEvent.click(dialog.getByRole("checkbox", { name: "Support" }));
+
+ await act(async () => {
+ fireEvent.click(
+ dialog.getByRole("button", { name: "settings:notificationsPage.save" }),
+ );
+ });
+
+ expect(upsertRule).toHaveBeenCalledWith({
+ workspaceId: "w2",
+ json: {
+ isActive: true,
+ emailEnabled: true,
+ gotifyEnabled: false,
+ ntfyEnabled: false,
+ webhookEnabled: false,
+ projectMode: "selected",
+ selectedProjectIds: ["p2"],
+ },
+ });
+ });
+
+ it("asks before it stops sending from a workspace", async () => {
+ render(<WorkspacesSection preferences={preferences} />);
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:notificationsPage.configureWorkspace|Northwind",
+ }),
+ );
+ fireEvent.click(
+ within(screen.getByRole("dialog")).getByRole("button", {
+ name: "settings:notificationsPage.stopSending",
+ }),
+ );
+ expect(deleteRule).not.toHaveBeenCalled();
+
+ await act(async () => {
+ fireEvent.click(
+ within(screen.getByRole("alertdialog")).getByRole("button", {
+ name: "settings:notificationsPage.stopSending",
+ }),
+ );
+ });
+
+ expect(deleteRule).toHaveBeenCalledWith("w1");
+ });
+});
diff --git a/apps/web/src/components/settings/notifications/workspaces/workspaces-section.tsx b/apps/web/src/components/settings/notifications/workspaces/workspaces-section.tsx
new file mode 100644
index 000000000..ba75b2247
--- /dev/null
+++ b/apps/web/src/components/settings/notifications/workspaces/workspaces-section.tsx
@@ -0,0 +1,40 @@
+import { useTranslation } from "react-i18next";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
+import type { NotificationPreferences } from "@/fetchers/notification-preferences/get-notification-preferences";
+import useGetWorkspaces from "@/hooks/queries/workspace/use-get-workspaces";
+import { getChannelAvailability } from "../get-channel-availability";
+import { WorkspaceRuleRow } from "./workspace-rule-row";
+
+type WorkspacesSectionProps = {
+ preferences: NotificationPreferences;
+};
+
+export function WorkspacesSection({ preferences }: WorkspacesSectionProps) {
+ const { t } = useTranslation();
+ const { data: workspaces } = useGetWorkspaces();
+ const availability = getChannelAvailability(preferences);
+ const rules = new Map(
+ preferences.workspaces.map((rule) => [rule.workspaceId, rule]),
+ );
+
+ if (!workspaces?.length) return null;
+
+ return (
+ <SettingsSection
+ title={t("settings:notificationsPage.workspacesTitle")}
+ description={t("settings:notificationsPage.workspacesDescription")}
+ >
+ <SettingsCard>
+ {workspaces.map((workspace) => (
+ <WorkspaceRuleRow
+ key={workspace.id}
+ availability={availability}
+ rule={rules.get(workspace.id)}
+ workspace={{ id: workspace.id, name: workspace.name }}
+ />
+ ))}
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/preferences/default-view-row.tsx b/apps/web/src/components/settings/preferences/default-view-row.tsx
new file mode 100644
index 000000000..6a021bb51
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/default-view-row.tsx
@@ -0,0 +1,36 @@
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
+import { useUserPreferencesStore } from "@/store/user-preferences";
+
+export function DefaultViewRow() {
+ const { t } = useTranslation();
+ const viewMode = useUserPreferencesStore((state) => state.viewMode);
+ const setViewMode = useUserPreferencesStore((state) => state.setViewMode);
+
+ return (
+ <SettingsRow
+ stack
+ title={t("settings:preferencesPage.defaultView")}
+ description={t("settings:preferencesPage.defaultViewDescription")}
+ >
+ <ToggleGroup
+ value={[viewMode]}
+ onValueChange={(values) => {
+ const next = values[0];
+ if (next === "board" || next === "list") setViewMode(next);
+ }}
+ size="sm"
+ aria-label={t("settings:preferencesPage.defaultView")}
+ className="w-full rounded-lg border border-input bg-background p-0.5 sm:w-48 dark:bg-input/32"
+ >
+ <ToggleGroupItem value="board" className="h-7 flex-1 sm:h-6">
+ {t("settings:preferencesPage.board")}
+ </ToggleGroupItem>
+ <ToggleGroupItem value="list" className="h-7 flex-1 sm:h-6">
+ {t("settings:preferencesPage.list")}
+ </ToggleGroupItem>
+ </ToggleGroup>
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/preferences/general-preferences-section.tsx b/apps/web/src/components/settings/preferences/general-preferences-section.tsx
new file mode 100644
index 000000000..a8f0e4f99
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/general-preferences-section.tsx
@@ -0,0 +1,48 @@
+import { useTranslation } from "react-i18next";
+import { DefaultViewRow } from "@/components/settings/preferences/default-view-row";
+import { LanguageRow } from "@/components/settings/preferences/language-row";
+import { PreferenceSwitchRow } from "@/components/settings/preferences/preference-switch-row";
+import { WeekStartRow } from "@/components/settings/preferences/week-start-row";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { useUserPreferencesStore } from "@/store/user-preferences";
+
+export function GeneralPreferencesSection() {
+ const { t } = useTranslation();
+ const showProjectBackgrounds = useUserPreferencesStore(
+ (state) => state.showProjectBackgrounds,
+ );
+ const setShowProjectBackgrounds = useUserPreferencesStore(
+ (state) => state.setShowProjectBackgrounds,
+ );
+ const sidebarDefaultOpen = useUserPreferencesStore(
+ (state) => state.sidebarDefaultOpen,
+ );
+ const setSidebarDefaultOpen = useUserPreferencesStore(
+ (state) => state.setSidebarDefaultOpen,
+ );
+
+ return (
+ <SettingsSection title={t("settings:preferencesPage.appearanceTitle")}>
+ <SettingsCard>
+ <LanguageRow />
+ <WeekStartRow />
+ <DefaultViewRow />
+ <PreferenceSwitchRow
+ title={t("settings:preferencesPage.projectBackgrounds")}
+ description={t(
+ "settings:preferencesPage.projectBackgroundsDescription",
+ )}
+ checked={showProjectBackgrounds}
+ onCheckedChange={setShowProjectBackgrounds}
+ />
+ <PreferenceSwitchRow
+ title={t("settings:preferencesPage.sidebarDefault")}
+ description={t("settings:preferencesPage.sidebarDefaultDescription")}
+ checked={sidebarDefaultOpen}
+ onCheckedChange={setSidebarDefaultOpen}
+ />
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/preferences/language-row.tsx b/apps/web/src/components/settings/preferences/language-row.tsx
new file mode 100644
index 000000000..c57ced894
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/language-row.tsx
@@ -0,0 +1,54 @@
+import {
+ type AppLocale,
+ defaultLocale,
+ supportedLocales,
+} from "@i18n/resources";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+import { useLocale } from "@/hooks/use-locale";
+import { getLocaleLabel } from "@/lib/i18n/get-locale-label";
+
+export function LanguageRow() {
+ const { t } = useTranslation();
+ const { locale, setLocale } = useLocale();
+ const selectedLocale: AppLocale = locale ?? defaultLocale;
+
+ return (
+ <SettingsRow stack title={t("settings:preferencesPage.language")}>
+ <Select
+ value={selectedLocale}
+ onValueChange={(value) => {
+ if (value) {
+ void setLocale(value as AppLocale);
+ }
+ }}
+ >
+ <SelectTrigger
+ size="sm"
+ className="sm:w-48"
+ aria-label={t("settings:preferencesPage.language")}
+ >
+ <SelectValue
+ placeholder={t("settings:preferencesPage.selectLanguage")}
+ >
+ {getLocaleLabel(selectedLocale)}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ {supportedLocales.map((supportedLocale) => (
+ <SelectItem key={supportedLocale} value={supportedLocale}>
+ {getLocaleLabel(supportedLocale)}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/preferences/preference-switch-row.tsx b/apps/web/src/components/settings/preferences/preference-switch-row.tsx
new file mode 100644
index 000000000..680133330
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/preference-switch-row.tsx
@@ -0,0 +1,30 @@
+import { type ReactNode, useId } from "react";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Label } from "@/components/ui/label";
+import { Switch } from "@/components/ui/switch";
+
+type PreferenceSwitchRowProps = {
+ title: ReactNode;
+ description?: ReactNode;
+ checked: boolean;
+ onCheckedChange: (checked: boolean) => void;
+};
+
+export function PreferenceSwitchRow({
+ title,
+ description,
+ checked,
+ onCheckedChange,
+}: PreferenceSwitchRowProps) {
+ const id = useId();
+
+ return (
+ <SettingsRow
+ className="flex-row items-center gap-6"
+ title={<Label htmlFor={id}>{title}</Label>}
+ description={description}
+ >
+ <Switch id={id} checked={checked} onCheckedChange={onCheckedChange} />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/preferences/preferences-page.tsx b/apps/web/src/components/settings/preferences/preferences-page.tsx
new file mode 100644
index 000000000..00fa6ed16
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/preferences-page.tsx
@@ -0,0 +1,35 @@
+import { useTranslation } from "react-i18next";
+import { ThemePicker } from "@/components/account/theme-picker";
+import { AdvancedSettingsSwitch } from "@/components/settings/advanced-settings-switch";
+import { AutosaveNote } from "@/components/settings/autosave-note";
+import { GeneralPreferencesSection } from "@/components/settings/preferences/general-preferences-section";
+import { TaskDetailsSection } from "@/components/settings/preferences/task-details-section";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { useUserPreferencesStore } from "@/store/user-preferences";
+
+export function PreferencesPage() {
+ const { t } = useTranslation();
+ const theme = useUserPreferencesStore((state) => state.theme);
+ const setTheme = useUserPreferencesStore((state) => state.setTheme);
+
+ return (
+ <SettingsPage
+ title={t("settings:preferencesPage.title")}
+ description={t("settings:preferencesPage.subtitle")}
+ actions={<AutosaveNote />}
+ >
+ <SettingsSection title={t("settings:preferencesPage.theme")}>
+ <ThemePicker value={theme} onChange={setTheme} />
+ </SettingsSection>
+ <GeneralPreferencesSection />
+ <TaskDetailsSection />
+ <SettingsSection title={t("settings:preferencesPage.advancedTitle")}>
+ <SettingsCard>
+ <AdvancedSettingsSwitch />
+ </SettingsCard>
+ </SettingsSection>
+ </SettingsPage>
+ );
+}
diff --git a/apps/web/src/components/settings/preferences/task-details-section.test.tsx b/apps/web/src/components/settings/preferences/task-details-section.test.tsx
new file mode 100644
index 000000000..eeea3da55
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/task-details-section.test.tsx
@@ -0,0 +1,28 @@
+import { cleanup, fireEvent, render, screen } from "@testing-library/react";
+import { afterEach, describe, expect, it, vi } from "vite-plus/test";
+import { useUserPreferencesStore } from "@/store/user-preferences";
+import { TaskDetailsSection } from "./task-details-section";
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+describe("TaskDetailsSection", () => {
+ afterEach(cleanup);
+
+ it("toggles a detail and resets them all", () => {
+ useUserPreferencesStore.setState({ showPriority: true });
+ render(<TaskDetailsSection />);
+
+ const priority = screen.getByRole("switch", {
+ name: "settings:preferencesPage.priority",
+ });
+ fireEvent.click(priority);
+ expect(useUserPreferencesStore.getState().showPriority).toBe(false);
+
+ fireEvent.click(
+ screen.getByRole("button", { name: "common:actions.reset" }),
+ );
+ expect(useUserPreferencesStore.getState().showPriority).toBe(true);
+ });
+});
diff --git a/apps/web/src/components/settings/preferences/task-details-section.tsx b/apps/web/src/components/settings/preferences/task-details-section.tsx
new file mode 100644
index 000000000..e3f682803
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/task-details-section.tsx
@@ -0,0 +1,87 @@
+import { RotateCcw } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import { PreferenceSwitchRow } from "@/components/settings/preferences/preference-switch-row";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import { useUserPreferencesStore } from "@/store/user-preferences";
+
+export function TaskDetailsSection() {
+ const { t } = useTranslation();
+ const {
+ showTaskNumbers,
+ setShowTaskNumbers,
+ showAssignees,
+ setShowAssignees,
+ showDueDates,
+ setShowDueDates,
+ showLabels,
+ setShowLabels,
+ showPriority,
+ setShowPriority,
+ resetDisplayPreferences,
+ } = useUserPreferencesStore();
+
+ const rows = [
+ {
+ id: "taskNumbers",
+ title: t("settings:preferencesPage.taskNumbers"),
+ checked: showTaskNumbers,
+ onCheckedChange: setShowTaskNumbers,
+ },
+ {
+ id: "assignees",
+ title: t("settings:preferencesPage.assignees"),
+ checked: showAssignees,
+ onCheckedChange: setShowAssignees,
+ },
+ {
+ id: "dueDates",
+ title: t("settings:preferencesPage.dueDates"),
+ checked: showDueDates,
+ onCheckedChange: setShowDueDates,
+ },
+ {
+ id: "labels",
+ title: t("settings:preferencesPage.labels"),
+ checked: showLabels,
+ onCheckedChange: setShowLabels,
+ },
+ {
+ id: "priority",
+ title: t("settings:preferencesPage.priority"),
+ checked: showPriority,
+ onCheckedChange: setShowPriority,
+ },
+ ];
+
+ return (
+ <SettingsSection
+ title={t("settings:preferencesPage.displayOptions")}
+ description={t("settings:preferencesPage.displayOptionsDescription")}
+ action={
+ <Button
+ type="button"
+ variant="ghost"
+ size="sm"
+ className="text-muted-foreground"
+ onClick={resetDisplayPreferences}
+ >
+ <RotateCcw aria-hidden="true" />
+ {t("common:actions.reset")}
+ </Button>
+ }
+ >
+ <SettingsCard>
+ {rows.map((row) => (
+ <PreferenceSwitchRow
+ key={row.id}
+ title={row.title}
+ checked={row.checked}
+ onCheckedChange={row.onCheckedChange}
+ />
+ ))}
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/preferences/week-start-row.tsx b/apps/web/src/components/settings/preferences/week-start-row.tsx
new file mode 100644
index 000000000..a5753b6bf
--- /dev/null
+++ b/apps/web/src/components/settings/preferences/week-start-row.tsx
@@ -0,0 +1,64 @@
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+import {
+ isWeekStartDay,
+ useUserPreferencesStore,
+ WEEK_START_DAYS,
+ type WeekStartDay,
+} from "@/store/user-preferences";
+
+export function WeekStartRow() {
+ const { t } = useTranslation();
+ const weekStartsOn = useUserPreferencesStore((state) => state.weekStartsOn);
+ const setWeekStartsOn = useUserPreferencesStore(
+ (state) => state.setWeekStartsOn,
+ );
+ const labels: Record<WeekStartDay, string> = {
+ 0: t("settings:preferencesPage.weekStartsOnSunday"),
+ 1: t("settings:preferencesPage.weekStartsOnMonday"),
+ 6: t("settings:preferencesPage.weekStartsOnSaturday"),
+ };
+
+ return (
+ <SettingsRow
+ stack
+ title={t("settings:preferencesPage.firstDayOfWeek")}
+ description={t("settings:preferencesPage.firstDayOfWeekDescription")}
+ >
+ <Select
+ value={String(weekStartsOn)}
+ onValueChange={(value) => {
+ if (!value) return;
+ const parsed = Number(value);
+ if (isWeekStartDay(parsed)) setWeekStartsOn(parsed);
+ }}
+ >
+ <SelectTrigger
+ size="sm"
+ className="sm:w-48"
+ aria-label={t("settings:preferencesPage.firstDayOfWeek")}
+ >
+ <SelectValue
+ placeholder={t("settings:preferencesPage.selectFirstDayOfWeek")}
+ >
+ {labels[weekStartsOn]}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ {WEEK_START_DAYS.map((day) => (
+ <SelectItem key={day} value={String(day)}>
+ {labels[day]}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/profile/avatar-row.test.tsx b/apps/web/src/components/settings/profile/avatar-row.test.tsx
new file mode 100644
index 000000000..12e726605
--- /dev/null
+++ b/apps/web/src/components/settings/profile/avatar-row.test.tsx
@@ -0,0 +1,79 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { AvatarRow } from "./avatar-row";
+
+const m = vi.hoisted(() => ({
+ remove: vi.fn(),
+ refetch: vi.fn(),
+ success: vi.fn(),
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/hooks/mutations/use-update-user-avatar", () => ({
+ default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+}));
+vi.mock("@/hooks/mutations/use-remove-user-avatar", () => ({
+ default: () => ({ mutateAsync: m.remove, isPending: false }),
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: m.success, error: vi.fn() },
+}));
+
+describe("AvatarRow", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ vi.clearAllMocks();
+ m.remove.mockResolvedValue(undefined);
+ m.refetch.mockResolvedValue(undefined);
+ });
+
+ it("only offers removal when a picture exists", () => {
+ render(<AvatarRow name="Jo" image={null} refetchUser={m.refetch} />);
+
+ expect(
+ screen.getByRole("button", {
+ name: "settings:informationPage.avatar.upload",
+ }),
+ ).toBeTruthy();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:informationPage.avatar.remove",
+ }),
+ ).toBeNull();
+ });
+
+ it("removes the picture right away", async () => {
+ render(
+ <AvatarRow
+ name="Jo"
+ image="https://example.com/a.png"
+ refetchUser={m.refetch}
+ />,
+ );
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:informationPage.avatar.remove",
+ }),
+ );
+
+ await waitFor(() => expect(m.remove).toHaveBeenCalled());
+ await waitFor(() => expect(m.refetch).toHaveBeenCalled());
+ });
+});
diff --git a/apps/web/src/components/settings/profile/avatar-row.tsx b/apps/web/src/components/settings/profile/avatar-row.tsx
new file mode 100644
index 000000000..529ad638b
--- /dev/null
+++ b/apps/web/src/components/settings/profile/avatar-row.tsx
@@ -0,0 +1,111 @@
+import { Loader2 } from "lucide-react";
+import { type ChangeEvent, useRef } from "react";
+import { useTranslation } from "react-i18next";
+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
+import { Button } from "@/components/ui/button";
+import useRemoveUserAvatar from "@/hooks/mutations/use-remove-user-avatar";
+import useUpdateUserAvatar from "@/hooks/mutations/use-update-user-avatar";
+import { getInitials } from "@/lib/get-initials";
+import { ACCEPTED_AVATAR_TYPES } from "@/lib/prepare-avatar-image";
+import { toast } from "@/lib/toast";
+
+type AvatarRowProps = {
+ name: string | undefined;
+ image: string | null | undefined;
+ refetchUser: () => Promise<unknown>;
+};
+
+export function AvatarRow({ name, image, refetchUser }: AvatarRowProps) {
+ const { t } = useTranslation();
+ const inputRef = useRef<HTMLInputElement>(null);
+ const { mutateAsync: updateAvatar, isPending: isUploading } =
+ useUpdateUserAvatar();
+ const { mutateAsync: removeAvatar, isPending: isRemoving } =
+ useRemoveUserAvatar();
+ const isBusy = isUploading || isRemoving;
+
+ const handleSelected = async (event: ChangeEvent<HTMLInputElement>) => {
+ const file = event.target.files?.[0];
+ event.target.value = "";
+ if (!file) return;
+
+ try {
+ await updateAvatar(file);
+ await refetchUser();
+ toast.success(t("settings:informationPage.avatar.updateSuccess"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:informationPage.avatar.updateError"),
+ );
+ }
+ };
+
+ const handleRemove = async () => {
+ try {
+ await removeAvatar();
+ await refetchUser();
+ toast.success(t("settings:informationPage.avatar.removeSuccess"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:informationPage.avatar.removeError"),
+ );
+ }
+ };
+
+ return (
+ <div className="flex flex-col gap-3 px-4 py-3.5 sm:flex-row sm:items-center sm:gap-6">
+ <div className="flex min-w-0 flex-1 items-center gap-3.5">
+ <Avatar className="size-10">
+ <AvatarImage src={image ?? ""} alt="" />
+ <AvatarFallback className="border border-border/30 text-xs font-medium">
+ {getInitials(name)}
+ </AvatarFallback>
+ </Avatar>
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <p className="truncate text-sm font-medium">
+ {t("settings:informationPage.profilePicture")}
+ </p>
+ <p className="text-xs text-muted-foreground">
+ {t("settings:informationPage.avatar.hint")}
+ </p>
+ </div>
+ </div>
+ <div className="flex shrink-0 items-center gap-2">
+ <input
+ ref={inputRef}
+ type="file"
+ accept={ACCEPTED_AVATAR_TYPES}
+ className="hidden"
+ onChange={handleSelected}
+ />
+ {image ? (
+ <Button
+ type="button"
+ variant="ghost"
+ size="sm"
+ className="text-muted-foreground"
+ disabled={isBusy}
+ onClick={handleRemove}
+ >
+ {t("settings:informationPage.avatar.remove")}
+ </Button>
+ ) : null}
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="w-24"
+ disabled={isBusy}
+ onClick={() => inputRef.current?.click()}
+ >
+ {isUploading ? <Loader2 className="animate-spin" /> : null}
+ {t("settings:informationPage.avatar.upload")}
+ </Button>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/profile/delete-account-section.test.tsx b/apps/web/src/components/settings/profile/delete-account-section.test.tsx
new file mode 100644
index 000000000..f6d62fee2
--- /dev/null
+++ b/apps/web/src/components/settings/profile/delete-account-section.test.tsx
@@ -0,0 +1,110 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { DeleteAccountSection } from "./delete-account-section";
+
+const m = vi.hoisted(() => ({
+ deleteAccount: vi.fn(),
+ navigate: vi.fn(),
+ clear: vi.fn(),
+ success: vi.fn(),
+ error: vi.fn(),
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@tanstack/react-router", () => ({
+ useNavigate: () => m.navigate,
+}));
+vi.mock("@tanstack/react-query", () => ({
+ useQueryClient: () => ({ clear: m.clear }),
+}));
+vi.mock("@/hooks/mutations/use-delete-account", () => ({
+ SESSION_TOO_OLD: "SESSION_TOO_OLD",
+ default: () => ({ mutateAsync: m.deleteAccount, isPending: false }),
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: m.success, error: m.error },
+}));
+
+function openDialog() {
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:informationPage.deleteAccount.title",
+ }),
+ );
+}
+
+function confirmButton() {
+ return screen.findByRole("button", {
+ name: "settings:informationPage.deleteAccount.confirm",
+ });
+}
+
+describe("DeleteAccountSection", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ vi.clearAllMocks();
+ m.deleteAccount.mockResolvedValue(undefined);
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ });
+
+ it("keeps the confirm disabled until the email is typed", async () => {
+ render(<DeleteAccountSection email="[email protected]" />);
+ openDialog();
+
+ expect(await confirmButton()).toBeDisabled();
+
+ fireEvent.change(
+ screen.getByLabelText(
+ "settings:informationPage.deleteAccount.confirmLabel",
+ ),
+ { target: { value: "[email protected]" } },
+ );
+
+ expect(await confirmButton()).toBeEnabled();
+ fireEvent.click(await confirmButton());
+
+ await waitFor(() => expect(m.deleteAccount).toHaveBeenCalled());
+ expect(m.clear).toHaveBeenCalled();
+ expect(m.navigate).toHaveBeenCalledWith({ to: "/auth/sign-in" });
+ });
+
+ it("explains a session that is too old to delete the account", async () => {
+ m.deleteAccount.mockRejectedValue(new Error("SESSION_TOO_OLD"));
+ render(<DeleteAccountSection email="[email protected]" />);
+ openDialog();
+
+ fireEvent.change(
+ screen.getByLabelText(
+ "settings:informationPage.deleteAccount.confirmLabel",
+ ),
+ { target: { value: "[email protected]" } },
+ );
+ fireEvent.click(await confirmButton());
+
+ await waitFor(() =>
+ expect(m.error).toHaveBeenCalledWith(
+ "settings:informationPage.deleteAccount.sessionTooOld",
+ ),
+ );
+ expect(m.navigate).not.toHaveBeenCalled();
+ });
+});
diff --git a/apps/web/src/components/settings/profile/delete-account-section.tsx b/apps/web/src/components/settings/profile/delete-account-section.tsx
new file mode 100644
index 000000000..0691d7502
--- /dev/null
+++ b/apps/web/src/components/settings/profile/delete-account-section.tsx
@@ -0,0 +1,116 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { useNavigate } from "@tanstack/react-router";
+import { useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { isDeleteConfirmationValid } from "@/components/settings/profile/is-delete-confirmation-valid";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { Label } from "@/components/ui/label";
+import useDeleteAccount, {
+ SESSION_TOO_OLD,
+} from "@/hooks/mutations/use-delete-account";
+import { toast } from "@/lib/toast";
+
+type DeleteAccountSectionProps = {
+ email: string | undefined;
+};
+
+export function DeleteAccountSection({ email }: DeleteAccountSectionProps) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const navigate = useNavigate();
+ const inputId = useId();
+ const [open, setOpen] = useState(false);
+ const [confirmation, setConfirmation] = useState("");
+ const { mutateAsync: deleteAccount, isPending } = useDeleteAccount();
+ const canConfirm = isDeleteConfirmationValid(confirmation, email);
+
+ const handleOpenChange = (next: boolean) => {
+ setOpen(next);
+ if (!next) setConfirmation("");
+ };
+
+ const handleDelete = async () => {
+ if (!canConfirm) return;
+
+ try {
+ await deleteAccount();
+ setOpen(false);
+ queryClient.clear();
+ toast.success(t("settings:informationPage.deleteAccount.success"));
+ navigate({ to: "/auth/sign-in" });
+ } catch (error) {
+ if (error instanceof Error && error.message === SESSION_TOO_OLD) {
+ toast.error(t("settings:informationPage.deleteAccount.sessionTooOld"));
+ return;
+ }
+
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:informationPage.deleteAccount.error"),
+ );
+ }
+ };
+
+ return (
+ <SettingsSection
+ title={t("settings:informationPage.deleteAccount.sectionTitle")}
+ >
+ <SettingsCard tone="danger">
+ <SettingsRow
+ stack
+ title={t("settings:informationPage.deleteAccount.title")}
+ description={t("settings:informationPage.deleteAccount.description")}
+ >
+ <Button
+ type="button"
+ variant="destructive-outline"
+ size="sm"
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:informationPage.deleteAccount.title")}
+ </Button>
+ </SettingsRow>
+ </SettingsCard>
+ <ConfirmDialog
+ open={open}
+ onOpenChange={handleOpenChange}
+ title={t("settings:informationPage.deleteAccount.modalTitle")}
+ description={t(
+ "settings:informationPage.deleteAccount.modalDescription",
+ {
+ email: email ?? "",
+ },
+ )}
+ confirmLabel={t("settings:informationPage.deleteAccount.confirm")}
+ pendingLabel={t("common:actions.deleting")}
+ pending={isPending}
+ confirmDisabled={!canConfirm}
+ onConfirm={handleDelete}
+ >
+ <div className="space-y-2">
+ <Label htmlFor={inputId}>
+ {t("settings:informationPage.deleteAccount.confirmLabel", {
+ email: email ?? "",
+ })}
+ </Label>
+ <Input
+ id={inputId}
+ autoComplete="off"
+ autoCapitalize="none"
+ spellCheck={false}
+ disabled={isPending}
+ value={confirmation}
+ onChange={(event) => setConfirmation(event.target.value)}
+ placeholder={email ?? ""}
+ />
+ </div>
+ </ConfirmDialog>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/profile/is-delete-confirmation-valid.test.ts b/apps/web/src/components/settings/profile/is-delete-confirmation-valid.test.ts
new file mode 100644
index 000000000..5f07d5321
--- /dev/null
+++ b/apps/web/src/components/settings/profile/is-delete-confirmation-valid.test.ts
@@ -0,0 +1,18 @@
+import { describe, expect, it } from "vite-plus/test";
+import { isDeleteConfirmationValid } from "./is-delete-confirmation-valid";
+
+describe("isDeleteConfirmationValid", () => {
+ it("matches the email ignoring case and surrounding spaces", () => {
+ expect(
+ isDeleteConfirmationValid(" [email protected] ", "[email protected]"),
+ ).toBe(true);
+ });
+
+ it("rejects anything else", () => {
+ expect(isDeleteConfirmationValid("jo@example", "[email protected]")).toBe(
+ false,
+ );
+ expect(isDeleteConfirmationValid("", "")).toBe(false);
+ expect(isDeleteConfirmationValid("x", undefined)).toBe(false);
+ });
+});
diff --git a/apps/web/src/components/settings/profile/is-delete-confirmation-valid.ts b/apps/web/src/components/settings/profile/is-delete-confirmation-valid.ts
new file mode 100644
index 000000000..3241bb61b
--- /dev/null
+++ b/apps/web/src/components/settings/profile/is-delete-confirmation-valid.ts
@@ -0,0 +1,7 @@
+export function isDeleteConfirmationValid(
+ confirmation: string,
+ email: string | null | undefined,
+) {
+ if (!email) return false;
+ return confirmation.trim().toLowerCase() === email.toLowerCase();
+}
diff --git a/apps/web/src/components/settings/profile/profile-details-section.tsx b/apps/web/src/components/settings/profile/profile-details-section.tsx
new file mode 100644
index 000000000..826a3f4e2
--- /dev/null
+++ b/apps/web/src/components/settings/profile/profile-details-section.tsx
@@ -0,0 +1,65 @@
+import type { UseFormReturn } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { AvatarRow } from "@/components/settings/profile/avatar-row";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsFormRow } from "@/components/settings/settings-form-row";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Form, FormField } from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+
+type ProfileDetailsSectionProps = {
+ form: UseFormReturn<{ name: string }>;
+ user: { name?: string; email?: string; image?: string | null } | undefined;
+ refetchUser: () => Promise<unknown>;
+};
+
+export function ProfileDetailsSection({
+ form,
+ user,
+ refetchUser,
+}: ProfileDetailsSectionProps) {
+ const { t } = useTranslation();
+
+ return (
+ <SettingsSection title={t("settings:informationPage.sectionTitle")}>
+ <SettingsCard>
+ <AvatarRow
+ name={user?.name}
+ image={user?.image}
+ refetchUser={refetchUser}
+ />
+ <Form {...form}>
+ <form onSubmit={(event) => event.preventDefault()}>
+ <FormField
+ control={form.control}
+ name="name"
+ render={({ field }) => (
+ <SettingsFormRow label={t("settings:informationPage.fullName")}>
+ <Input
+ size="sm"
+ className="sm:w-64"
+ autoComplete="name"
+ placeholder={t(
+ "settings:informationPage.fullNamePlaceholder",
+ )}
+ {...field}
+ />
+ </SettingsFormRow>
+ )}
+ />
+ </form>
+ </Form>
+ <SettingsRow
+ stack
+ title={t("settings:informationPage.email")}
+ description={t("settings:informationPage.emailHint")}
+ >
+ <span className="max-w-64 truncate text-sm text-muted-foreground">
+ {user?.email}
+ </span>
+ </SettingsRow>
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/profile/profile-page.tsx b/apps/web/src/components/settings/profile/profile-page.tsx
new file mode 100644
index 000000000..4c76b5ca3
--- /dev/null
+++ b/apps/web/src/components/settings/profile/profile-page.tsx
@@ -0,0 +1,32 @@
+import { useTranslation } from "react-i18next";
+import PageTitle from "@/components/page-title";
+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
+import { AutosaveNote } from "@/components/settings/autosave-note";
+import { DeleteAccountSection } from "@/components/settings/profile/delete-account-section";
+import { ProfileDetailsSection } from "@/components/settings/profile/profile-details-section";
+import { useProfileNameAutosave } from "@/components/settings/profile/use-profile-name-autosave";
+import { SettingsPage } from "@/components/settings/settings-page";
+
+export function ProfilePage() {
+ const { t } = useTranslation();
+ const { user, refetchUser } = useAuth();
+ const form = useProfileNameAutosave({ name: user?.name, refetchUser });
+
+ return (
+ <>
+ <PageTitle title={t("settings:informationPage.pageTitle")} />
+ <SettingsPage
+ title={t("settings:informationPage.title")}
+ description={t("settings:informationPage.subtitle")}
+ actions={<AutosaveNote />}
+ >
+ <ProfileDetailsSection
+ form={form}
+ user={user ?? undefined}
+ refetchUser={refetchUser}
+ />
+ <DeleteAccountSection email={user?.email} />
+ </SettingsPage>
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/profile/use-profile-name-autosave.ts b/apps/web/src/components/settings/profile/use-profile-name-autosave.ts
new file mode 100644
index 000000000..ecd54a263
--- /dev/null
+++ b/apps/web/src/components/settings/profile/use-profile-name-autosave.ts
@@ -0,0 +1,125 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import { useCallback, useEffect, useMemo, useRef } from "react";
+import { useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { z } from "zod";
+import useUpdateUserProfile from "@/hooks/mutations/use-update-user-profile";
+import { toast } from "@/lib/toast";
+
+type ProfileFormValues = {
+ name: string;
+};
+
+type UseProfileNameAutosaveOptions = {
+ name: string | undefined;
+ refetchUser: () => Promise<unknown>;
+};
+
+export function useProfileNameAutosave({
+ name,
+ refetchUser,
+}: UseProfileNameAutosaveOptions) {
+ const { t } = useTranslation();
+ const { mutateAsync: updateProfile } = useUpdateUserProfile();
+ const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);
+ const isSavingRef = useRef(false);
+ const queuedSaveRef = useRef<ProfileFormValues | null>(null);
+ const lastSavedRef = useRef<string | null>(null);
+ const schema = useMemo(
+ () =>
+ z.object({
+ name: z
+ .string()
+ .min(1, t("settings:informationPage.validation.nameRequired"))
+ .min(2, t("settings:informationPage.validation.nameShort")),
+ }),
+ [t],
+ );
+
+ const form = useForm<ProfileFormValues>({
+ resolver: standardSchemaResolver(schema),
+ mode: "onChange",
+ defaultValues: { name: name || "" },
+ });
+
+ useEffect(() => {
+ if (name === undefined) return;
+
+ lastSavedRef.current = name.trim();
+
+ if (!form.formState.isDirty) {
+ form.reset({ name });
+ }
+ }, [name, form]);
+
+ const saveName = useCallback(
+ async (data: ProfileFormValues) => {
+ const nextName = data.name.trim();
+
+ if (lastSavedRef.current === nextName) return;
+
+ if (isSavingRef.current) {
+ queuedSaveRef.current = data;
+ return;
+ }
+
+ isSavingRef.current = true;
+
+ try {
+ await updateProfile({ name: nextName });
+
+ form.reset({ name: nextName }, { keepDirty: false });
+ lastSavedRef.current = nextName;
+ queuedSaveRef.current = null;
+
+ await refetchUser();
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:informationPage.updateError"),
+ );
+ } finally {
+ isSavingRef.current = false;
+
+ if (queuedSaveRef.current) {
+ const queuedData = queuedSaveRef.current;
+ queuedSaveRef.current = null;
+ await saveName(queuedData);
+ }
+ }
+ },
+ [t, updateProfile, refetchUser, form],
+ );
+
+ const debouncedSave = useCallback(() => {
+ if (debounceTimeoutRef.current) {
+ clearTimeout(debounceTimeoutRef.current);
+ }
+
+ debounceTimeoutRef.current = setTimeout(async () => {
+ if (!form.formState.isDirty) return;
+ if (await form.trigger()) {
+ saveName(form.getValues());
+ }
+ }, 1000);
+ }, [form, saveName]);
+
+ useEffect(() => {
+ const subscription = form.watch(() => {
+ debouncedSave();
+ });
+
+ return () => subscription.unsubscribe();
+ }, [form, debouncedSave]);
+
+ useEffect(() => {
+ return () => {
+ if (debounceTimeoutRef.current) {
+ clearTimeout(debounceTimeoutRef.current);
+ }
+ };
+ }, []);
+
+ return form;
+}
diff --git a/apps/web/src/components/settings/project-general/create-project-form-schema.ts b/apps/web/src/components/settings/project-general/create-project-form-schema.ts
new file mode 100644
index 000000000..dff97abe7
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/create-project-form-schema.ts
@@ -0,0 +1,20 @@
+import type { TFunction } from "i18next";
+import { z } from "zod";
+
+export function createProjectFormSchema(t: TFunction) {
+ return z.object({
+ name: z
+ .string()
+ .trim()
+ .min(1, t("settings:projectGeneral.validation.nameRequired")),
+ slug: z
+ .string()
+ .trim()
+ .min(1, t("settings:projectGeneral.validation.keyRequired"))
+ .max(8, t("settings:projectGeneral.validation.keyMax")),
+ description: z.string().optional(),
+ icon: z
+ .string()
+ .min(1, t("settings:projectGeneral.validation.iconRequired")),
+ });
+}
diff --git a/apps/web/src/components/settings/project-general/move-project-row.test.tsx b/apps/web/src/components/settings/project-general/move-project-row.test.tsx
new file mode 100644
index 000000000..b970f003b
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/move-project-row.test.tsx
@@ -0,0 +1,84 @@
+import { cleanup, fireEvent, render, screen } from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { MoveProjectRow } from "./move-project-row";
+
+const m = vi.hoisted(() => ({ move: vi.fn() }));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@tanstack/react-router", () => ({ useNavigate: () => vi.fn() }));
+vi.mock("@/hooks/mutations/project/use-move-project", () => ({
+ default: () => ({ mutateAsync: m.move }),
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: vi.fn(), error: vi.fn() },
+}));
+
+const targets = [{ id: "w2", name: "Other" }];
+
+describe("MoveProjectRow", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ vi.clearAllMocks();
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ });
+
+ it("explains a failed target lookup instead of offering the move", () => {
+ render(
+ <MoveProjectRow
+ projectId="p1"
+ targets={[]}
+ targetsFailed
+ flushPendingSave={async () => true}
+ />,
+ );
+
+ expect(
+ screen.getByText("settings:projectGeneral.moveTargetsError"),
+ ).toBeTruthy();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:projectGeneral.moveProjectAction",
+ }),
+ ).toBeNull();
+ });
+
+ it("asks for a workspace before the move can be confirmed", async () => {
+ render(
+ <MoveProjectRow
+ projectId="p1"
+ targets={targets}
+ targetsFailed={false}
+ flushPendingSave={async () => true}
+ />,
+ );
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:projectGeneral.moveProjectAction",
+ }),
+ );
+
+ expect(
+ await screen.findByRole("button", {
+ name: "settings:projectGeneral.moveModalConfirm",
+ }),
+ ).toBeDisabled();
+ expect(
+ screen.getByLabelText("settings:projectGeneral.moveTargetLabel"),
+ ).toBeTruthy();
+ expect(m.move).not.toHaveBeenCalled();
+ });
+});
diff --git a/apps/web/src/components/settings/project-general/move-project-row.tsx b/apps/web/src/components/settings/project-general/move-project-row.tsx
new file mode 100644
index 000000000..59f571d13
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/move-project-row.tsx
@@ -0,0 +1,154 @@
+import { useNavigate } from "@tanstack/react-router";
+import { ArrowRight } from "lucide-react";
+import { useId, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Button } from "@/components/ui/button";
+import { Label } from "@/components/ui/label";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+import useMoveProject from "@/hooks/mutations/project/use-move-project";
+import { toast } from "@/lib/toast";
+
+type MoveTarget = { id: string; name: string };
+
+type MoveProjectRowProps = {
+ projectId: string;
+ targets: MoveTarget[];
+ targetsFailed: boolean;
+ flushPendingSave: () => Promise<boolean>;
+};
+
+export function MoveProjectRow({
+ projectId,
+ targets,
+ targetsFailed,
+ flushPendingSave,
+}: MoveProjectRowProps) {
+ const { t } = useTranslation();
+ const navigate = useNavigate();
+ const selectId = useId();
+ const [open, setOpen] = useState(false);
+ const [targetWorkspaceId, setTargetWorkspaceId] = useState("");
+ const [isSubmitting, setIsSubmitting] = useState(false);
+ const { mutateAsync: moveProject } = useMoveProject();
+ const target = targets.find((item) => item.id === targetWorkspaceId);
+
+ const handleOpenChange = (next: boolean) => {
+ setOpen(next);
+ if (!next) setTargetWorkspaceId("");
+ };
+
+ const handleMove = async () => {
+ if (!target || isSubmitting) return;
+
+ setIsSubmitting(true);
+ const flushed = await flushPendingSave();
+ if (!flushed) {
+ setIsSubmitting(false);
+ handleOpenChange(false);
+ toast.error(t("settings:projectGeneral.toastMoveError"));
+ return;
+ }
+
+ try {
+ const moved = await moveProject({
+ id: projectId,
+ workspaceId: target.id,
+ });
+
+ toast.success(
+ moved.unassignedTaskCount > 0
+ ? t("settings:projectGeneral.toastMovedWithUnassigned", {
+ taskCount: moved.unassignedTaskCount,
+ })
+ : t("settings:projectGeneral.toastMoved"),
+ );
+ handleOpenChange(false);
+
+ navigate({
+ to: "/dashboard/workspace/$workspaceId/project/$projectId",
+ params: { workspaceId: target.id, projectId },
+ });
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:projectGeneral.toastMoveError"),
+ );
+ } finally {
+ setIsSubmitting(false);
+ }
+ };
+
+ return (
+ <SettingsRow
+ stack
+ icon={<ArrowRight />}
+ title={t("settings:projectGeneral.moveProject")}
+ description={t("settings:projectGeneral.moveProjectDescription")}
+ >
+ {targetsFailed ? (
+ <p className="max-w-64 text-xs text-destructive">
+ {t("settings:projectGeneral.moveTargetsError")}
+ </p>
+ ) : (
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="w-24"
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:projectGeneral.moveProjectAction")}
+ </Button>
+ )}
+ <ConfirmDialog
+ open={open}
+ onOpenChange={handleOpenChange}
+ destructive={false}
+ title={t("settings:projectGeneral.moveDialogTitle")}
+ description={t("settings:projectGeneral.moveDialogDescription")}
+ confirmLabel={t("settings:projectGeneral.moveModalConfirm")}
+ pendingLabel={t("settings:projectGeneral.moving")}
+ pending={isSubmitting}
+ confirmDisabled={!target}
+ onConfirm={handleMove}
+ >
+ <div className="space-y-2">
+ <Label htmlFor={selectId}>
+ {t("settings:projectGeneral.moveTargetLabel")}
+ </Label>
+ <Select
+ value={targetWorkspaceId}
+ onValueChange={(value) => setTargetWorkspaceId(value ?? "")}
+ >
+ <SelectTrigger id={selectId}>
+ <SelectValue
+ placeholder={t(
+ "settings:projectGeneral.moveProjectPlaceholder",
+ )}
+ >
+ {target?.name ??
+ t("settings:projectGeneral.moveProjectPlaceholder")}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ {targets.map((item) => (
+ <SelectItem key={item.id} value={item.id}>
+ {item.name}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ </div>
+ </ConfirmDialog>
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/project-general/project-background-row.test.tsx b/apps/web/src/components/settings/project-general/project-background-row.test.tsx
new file mode 100644
index 000000000..306f7783a
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-background-row.test.tsx
@@ -0,0 +1,63 @@
+import { cleanup, render, screen } from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import type { ProjectWithTasks } from "@/types/project";
+import { ProjectBackgroundRow } from "./project-background-row";
+
+const m = vi.hoisted(() => ({
+ config: undefined as { hasImageUploads: boolean } | undefined,
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/hooks/queries/config/use-get-config", () => ({
+ default: () => ({ data: m.config }),
+}));
+vi.mock("@/hooks/mutations/project/use-upload-project-background", () => ({
+ default: () => ({ mutate: vi.fn(), isPending: false }),
+}));
+vi.mock("@/hooks/mutations/project/use-remove-project-background", () => ({
+ default: () => ({ mutate: vi.fn(), isPending: false }),
+}));
+
+const project = { id: "p1", backgroundVersion: null } as ProjectWithTasks;
+
+function uploadButton() {
+ return screen.getByRole("button", {
+ name: "settings:projectGeneral.backgroundUpload",
+ }) as HTMLButtonElement;
+}
+
+describe("ProjectBackgroundRow", () => {
+ afterEach(cleanup);
+ beforeEach(() => {
+ m.config = undefined;
+ });
+
+ it("offers an upload when the instance stores images", () => {
+ m.config = { hasImageUploads: true };
+ render(<ProjectBackgroundRow project={project} canEdit />);
+
+ expect(uploadButton().disabled).toBe(false);
+ expect(
+ screen.getByText("settings:projectGeneral.backgroundHint"),
+ ).toBeTruthy();
+ });
+
+ it("explains why uploads are off when no storage is configured", () => {
+ m.config = { hasImageUploads: false };
+ render(<ProjectBackgroundRow project={project} canEdit />);
+
+ expect(uploadButton().disabled).toBe(true);
+ expect(
+ screen.getByText("settings:projectGeneral.backgroundUnavailable"),
+ ).toBeTruthy();
+ });
+});
diff --git a/apps/web/src/components/settings/project-general/project-background-row.tsx b/apps/web/src/components/settings/project-general/project-background-row.tsx
new file mode 100644
index 000000000..94140529f
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-background-row.tsx
@@ -0,0 +1,96 @@
+import { Trash2 } from "lucide-react";
+import { type ChangeEvent, useRef } from "react";
+import { useTranslation } from "react-i18next";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Button } from "@/components/ui/button";
+import { getApiUrl } from "@/fetchers/get-api-url";
+import useRemoveProjectBackground from "@/hooks/mutations/project/use-remove-project-background";
+import useUploadProjectBackground from "@/hooks/mutations/project/use-upload-project-background";
+import useGetConfig from "@/hooks/queries/config/use-get-config";
+import type { ProjectWithTasks } from "@/types/project";
+
+const ACCEPTED_BACKGROUND_TYPES =
+ "image/apng,image/avif,image/gif,image/heic,image/heif,image/jpeg,image/jpg,image/png,image/webp";
+
+type ProjectBackgroundRowProps = {
+ project: ProjectWithTasks | undefined;
+ canEdit: boolean;
+};
+
+export function ProjectBackgroundRow({
+ project,
+ canEdit,
+}: ProjectBackgroundRowProps) {
+ const { t } = useTranslation();
+ const inputRef = useRef<HTMLInputElement>(null);
+ const { mutate: uploadBackground, isPending: isUploading } =
+ useUploadProjectBackground();
+ const { mutate: removeBackground, isPending: isRemoving } =
+ useRemoveProjectBackground();
+ const { data: config } = useGetConfig();
+ const uploadsUnavailable = config?.hasImageUploads === false;
+ const isBusy = isUploading || isRemoving;
+ const backgroundVersion = project?.backgroundVersion;
+
+ const handleChange = (event: ChangeEvent<HTMLInputElement>) => {
+ const file = event.target.files?.[0];
+ event.target.value = "";
+ if (!file || !project?.id) return;
+
+ uploadBackground({ projectId: project.id, file });
+ };
+
+ return (
+ <SettingsRow
+ stack
+ title={t("settings:projectGeneral.backgroundLabel")}
+ description={
+ uploadsUnavailable
+ ? t("settings:projectGeneral.backgroundUnavailable")
+ : t("settings:projectGeneral.backgroundHint")
+ }
+ >
+ {project && backgroundVersion ? (
+ <img
+ src={getApiUrl(
+ `project/${project.id}/background?v=${encodeURIComponent(backgroundVersion)}`,
+ )}
+ alt=""
+ className="h-8 w-14 rounded-md border border-border object-cover"
+ />
+ ) : null}
+ <input
+ ref={inputRef}
+ type="file"
+ accept={ACCEPTED_BACKGROUND_TYPES}
+ className="hidden"
+ onChange={handleChange}
+ />
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="w-24"
+ disabled={!canEdit || isBusy || uploadsUnavailable}
+ onClick={() => inputRef.current?.click()}
+ >
+ {backgroundVersion
+ ? t("settings:projectGeneral.backgroundReplace")
+ : t("settings:projectGeneral.backgroundUpload")}
+ </Button>
+ {project && backgroundVersion ? (
+ <Button
+ type="button"
+ variant="ghost"
+ size="icon-sm"
+ className="text-muted-foreground"
+ disabled={!canEdit || isBusy}
+ onClick={() => removeBackground(project.id)}
+ aria-label={t("settings:projectGeneral.backgroundRemove")}
+ >
+ <Trash2 aria-hidden="true" />
+ </Button>
+ ) : null}
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/project-general/project-danger-zone.test.tsx b/apps/web/src/components/settings/project-general/project-danger-zone.test.tsx
new file mode 100644
index 000000000..e6b1bb41c
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-danger-zone.test.tsx
@@ -0,0 +1,122 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import type { ProjectWithTasks } from "@/types/project";
+import { ProjectDangerZone } from "./project-danger-zone";
+
+const m = vi.hoisted(() => ({
+ deleteProject: vi.fn(),
+ navigate: vi.fn(),
+ invalidate: vi.fn(),
+ success: vi.fn(),
+ error: vi.fn(),
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@tanstack/react-router", () => ({
+ useNavigate: () => m.navigate,
+}));
+vi.mock("@tanstack/react-query", () => ({
+ useQueryClient: () => ({ invalidateQueries: m.invalidate }),
+}));
+vi.mock("@/hooks/mutations/project/use-delete-project", () => ({
+ default: () => ({ mutateAsync: m.deleteProject, isPending: false }),
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: m.success, error: m.error },
+}));
+
+const project = { id: "p1", name: "Website" } as ProjectWithTasks;
+
+describe("ProjectDangerZone", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ vi.clearAllMocks();
+ m.deleteProject.mockResolvedValue(undefined);
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ });
+
+ it("asks before deleting and deletes on confirm", async () => {
+ render(
+ <ProjectDangerZone project={project} isCurrentProject workspaceId="w1" />,
+ );
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:projectGeneral.deleteProject",
+ }),
+ );
+ expect(m.deleteProject).not.toHaveBeenCalled();
+
+ fireEvent.click(
+ await screen.findByRole("button", {
+ name: "settings:projectGeneral.deleteModalConfirm",
+ }),
+ );
+
+ await waitFor(() =>
+ expect(m.deleteProject).toHaveBeenCalledWith({ id: "p1" }),
+ );
+ await waitFor(() =>
+ expect(m.navigate).toHaveBeenCalledWith({
+ to: "/dashboard/workspace/$workspaceId",
+ params: { workspaceId: "w1" },
+ }),
+ );
+ });
+
+ it("keeps the delete button disabled while the store holds another project", () => {
+ render(
+ <ProjectDangerZone
+ project={project}
+ isCurrentProject={false}
+ workspaceId="w1"
+ />,
+ );
+
+ expect(
+ screen.getByRole("button", {
+ name: "settings:projectGeneral.deleteProject",
+ }),
+ ).toBeDisabled();
+ });
+
+ it("shows the error and does not navigate when deleting fails", async () => {
+ m.deleteProject.mockRejectedValue(new Error("Nope"));
+ render(
+ <ProjectDangerZone project={project} isCurrentProject workspaceId="w1" />,
+ );
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:projectGeneral.deleteProject",
+ }),
+ );
+ fireEvent.click(
+ await screen.findByRole("button", {
+ name: "settings:projectGeneral.deleteModalConfirm",
+ }),
+ );
+
+ await waitFor(() => expect(m.error).toHaveBeenCalledWith("Nope"));
+ expect(m.navigate).not.toHaveBeenCalled();
+ });
+});
diff --git a/apps/web/src/components/settings/project-general/project-danger-zone.tsx b/apps/web/src/components/settings/project-general/project-danger-zone.tsx
new file mode 100644
index 000000000..4782ccb25
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-danger-zone.tsx
@@ -0,0 +1,90 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { useNavigate } from "@tanstack/react-router";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useDeleteProject from "@/hooks/mutations/project/use-delete-project";
+import { toast } from "@/lib/toast";
+import type { ProjectWithTasks } from "@/types/project";
+
+type ProjectDangerZoneProps = {
+ project: ProjectWithTasks | undefined;
+ isCurrentProject: boolean;
+ workspaceId: string | undefined;
+};
+
+export function ProjectDangerZone({
+ project,
+ isCurrentProject,
+ workspaceId,
+}: ProjectDangerZoneProps) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const navigate = useNavigate();
+ const [open, setOpen] = useState(false);
+ const { mutateAsync: deleteProject, isPending } = useDeleteProject();
+ const name = project?.name ?? "";
+
+ const handleDelete = async () => {
+ if (!isCurrentProject || !project?.id) return;
+
+ try {
+ await deleteProject({ id: project.id });
+ toast.success(t("settings:projectGeneral.toastDeleted"));
+ setOpen(false);
+
+ await queryClient.invalidateQueries({ queryKey: ["projects"] });
+
+ navigate({
+ to: "/dashboard/workspace/$workspaceId",
+ params: { workspaceId: workspaceId || "" },
+ });
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:projectGeneral.toastDeleteError"),
+ );
+ }
+ };
+
+ return (
+ <SettingsSection title={t("settings:projectGeneral.dangerZone")}>
+ <SettingsCard tone="danger">
+ <SettingsRow
+ stack
+ title={t("settings:projectGeneral.deleteProject")}
+ description={t("settings:projectGeneral.deleteProjectDescription", {
+ name,
+ })}
+ >
+ <Button
+ type="button"
+ variant="destructive-outline"
+ size="sm"
+ disabled={!project || !isCurrentProject}
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:projectGeneral.deleteProject")}
+ </Button>
+ </SettingsRow>
+ </SettingsCard>
+ <ConfirmDialog
+ open={open}
+ onOpenChange={setOpen}
+ title={t("settings:projectGeneral.deleteModalTitle")}
+ description={t("settings:projectGeneral.deleteModalDescription", {
+ name,
+ })}
+ confirmLabel={t("settings:projectGeneral.deleteModalConfirm")}
+ pendingLabel={t("common:actions.deleting")}
+ pending={isPending}
+ onConfirm={handleDelete}
+ />
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/project-general/project-details-section.tsx b/apps/web/src/components/settings/project-general/project-details-section.tsx
new file mode 100644
index 000000000..8af89260e
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-details-section.tsx
@@ -0,0 +1,113 @@
+import { type UseFormReturn, useWatch } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { ProjectBackgroundRow } from "@/components/settings/project-general/project-background-row";
+import type { ProjectFormValues } from "@/components/settings/project-general/project-form-values";
+import { ProjectIconPicker } from "@/components/settings/project-general/project-icon-picker";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsFormRow } from "@/components/settings/settings-form-row";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Form, FormField } from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+import type { ProjectWithTasks } from "@/types/project";
+
+type ProjectDetailsSectionProps = {
+ form: UseFormReturn<ProjectFormValues>;
+ project: ProjectWithTasks | undefined;
+ canEdit: boolean;
+};
+
+export function ProjectDetailsSection({
+ form,
+ project,
+ canEdit,
+}: ProjectDetailsSectionProps) {
+ const { t } = useTranslation();
+ const slug = useWatch({ control: form.control, name: "slug" });
+ const icon = useWatch({ control: form.control, name: "icon" });
+
+ return (
+ <SettingsSection title={t("settings:projectGeneral.projectInfoTitle")}>
+ <Form {...form}>
+ <form onSubmit={(event) => event.preventDefault()}>
+ <SettingsCard>
+ <FormField
+ control={form.control}
+ name="name"
+ render={({ field }) => (
+ <SettingsFormRow
+ label={t("settings:projectGeneral.projectNameLabel")}
+ >
+ <Input
+ size="sm"
+ className="sm:w-64"
+ placeholder={t(
+ "settings:projectGeneral.projectNamePlaceholder",
+ )}
+ disabled={!canEdit}
+ {...field}
+ />
+ </SettingsFormRow>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="slug"
+ render={({ field }) => (
+ <SettingsFormRow
+ label={t("settings:projectGeneral.keyLabel")}
+ description={t("settings:projectGeneral.keyHint", {
+ slug: slug?.trim() || "ABC",
+ })}
+ >
+ <Input
+ size="sm"
+ className="font-mono sm:w-64"
+ placeholder={t("settings:projectGeneral.keyPlaceholder")}
+ disabled={!canEdit}
+ {...field}
+ />
+ </SettingsFormRow>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="description"
+ render={({ field }) => (
+ <SettingsFormRow
+ label={t("settings:projectGeneral.descriptionLabel")}
+ >
+ <Input
+ size="sm"
+ className="sm:w-64"
+ placeholder={t(
+ "settings:projectGeneral.descriptionPlaceholder",
+ )}
+ disabled={!canEdit}
+ {...field}
+ />
+ </SettingsFormRow>
+ )}
+ />
+ <SettingsRow
+ title={t("settings:projectGeneral.iconLabel")}
+ description={t("settings:projectGeneral.iconHint")}
+ >
+ <ProjectIconPicker
+ value={icon}
+ disabled={!canEdit}
+ onChange={(next) =>
+ form.setValue("icon", next, {
+ shouldDirty: true,
+ shouldValidate: true,
+ })
+ }
+ />
+ </SettingsRow>
+ <ProjectBackgroundRow project={project} canEdit={canEdit} />
+ </SettingsCard>
+ </form>
+ </Form>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/project-general/project-form-values.test.ts b/apps/web/src/components/settings/project-general/project-form-values.test.ts
new file mode 100644
index 000000000..12df61a09
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-form-values.test.ts
@@ -0,0 +1,53 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ getProjectFieldChanges,
+ hasProjectFieldChanges,
+ normalizeProjectValues,
+} from "./project-form-values";
+
+describe("normalizeProjectValues", () => {
+ it("trims text fields and falls back to the default icon", () => {
+ expect(
+ normalizeProjectValues({
+ name: " Website ",
+ slug: " WEB ",
+ description: undefined,
+ icon: "",
+ }),
+ ).toEqual({
+ name: "Website",
+ slug: "WEB",
+ description: "",
+ icon: "Layout",
+ });
+ });
+});
+
+describe("getProjectFieldChanges", () => {
+ const saved = {
+ name: "Website",
+ slug: "WEB",
+ description: "",
+ icon: "Layout",
+ };
+
+ it("reports no changes for identical values", () => {
+ const changes = getProjectFieldChanges(saved, { ...saved });
+ expect(hasProjectFieldChanges(changes)).toBe(false);
+ });
+
+ it("flags only the fields that differ", () => {
+ expect(getProjectFieldChanges(saved, { ...saved, slug: "SITE" })).toEqual({
+ name: false,
+ slug: true,
+ description: false,
+ icon: false,
+ });
+ });
+
+ it("treats every field as changed before anything was saved", () => {
+ expect(hasProjectFieldChanges(getProjectFieldChanges(null, saved))).toBe(
+ true,
+ );
+ });
+});
diff --git a/apps/web/src/components/settings/project-general/project-form-values.ts b/apps/web/src/components/settings/project-general/project-form-values.ts
new file mode 100644
index 000000000..30689c749
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-form-values.ts
@@ -0,0 +1,45 @@
+export type ProjectFormValues = {
+ name: string;
+ slug: string;
+ description?: string;
+ icon: string;
+};
+
+export type NormalizedProjectValues = {
+ name: string;
+ slug: string;
+ description: string;
+ icon: string;
+};
+
+export type ProjectFieldChanges = Record<
+ keyof NormalizedProjectValues,
+ boolean
+>;
+
+export function normalizeProjectValues(
+ data: ProjectFormValues,
+): NormalizedProjectValues {
+ return {
+ name: data.name.trim(),
+ slug: data.slug.trim(),
+ description: (data.description ?? "").trim(),
+ icon: data.icon || "Layout",
+ };
+}
+
+export function getProjectFieldChanges(
+ last: NormalizedProjectValues | null,
+ next: NormalizedProjectValues,
+): ProjectFieldChanges {
+ return {
+ name: last?.name !== next.name,
+ slug: last?.slug !== next.slug,
+ description: last?.description !== next.description,
+ icon: last?.icon !== next.icon,
+ };
+}
+
+export function hasProjectFieldChanges(changes: ProjectFieldChanges) {
+ return Object.values(changes).some(Boolean);
+}
diff --git a/apps/web/src/components/settings/project-general/project-general-page.tsx b/apps/web/src/components/settings/project-general/project-general-page.tsx
new file mode 100644
index 000000000..9f0817589
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-general-page.tsx
@@ -0,0 +1,73 @@
+import { useParams } from "@tanstack/react-router";
+import { useEffect } from "react";
+import { useTranslation } from "react-i18next";
+import PageTitle from "@/components/page-title";
+import { AutosaveNote } from "@/components/settings/autosave-note";
+import { ProjectDangerZone } from "@/components/settings/project-general/project-danger-zone";
+import { ProjectDetailsSection } from "@/components/settings/project-general/project-details-section";
+import { ProjectTasksSection } from "@/components/settings/project-general/project-tasks-section";
+import { useProjectAutosave } from "@/components/settings/project-general/use-project-autosave";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { useGetTasks } from "@/hooks/queries/task/use-get-tasks";
+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+import useProjectStore from "@/store/project";
+
+export function ProjectGeneralPage() {
+ const { t } = useTranslation();
+ const { data: workspace } = useActiveWorkspace();
+ const { projectId: rawProjectId } = useParams({ strict: false });
+ const projectId = rawProjectId ?? "";
+ const { data: fetchedProject } = useGetTasks(projectId);
+ const { project, setProject } = useProjectStore();
+ const isCurrentProject = project?.id === projectId;
+ const { canManageProjects, canDeleteProjects } = useWorkspacePermission();
+ const canEdit = canManageProjects();
+ const canDelete = canDeleteProjects();
+ const { form, flushPendingSave } = useProjectAutosave({
+ project,
+ workspaceId: workspace?.id,
+ canEdit,
+ });
+
+ useEffect(() => {
+ if (fetchedProject) {
+ setProject(fetchedProject);
+ }
+ }, [fetchedProject, setProject]);
+
+ return (
+ <>
+ <PageTitle title={t("settings:projectGeneral.pageTitle")} />
+ <SettingsPage
+ title={t("settings:projectGeneral.title")}
+ description={
+ isCurrentProject && project?.name
+ ? t("settings:projectGeneral.subtitle", { name: project.name })
+ : undefined
+ }
+ actions={canEdit ? <AutosaveNote /> : undefined}
+ >
+ <ProjectDetailsSection
+ form={form}
+ project={project}
+ canEdit={canEdit}
+ />
+ {project ? (
+ <ProjectTasksSection
+ project={project}
+ isCurrentProject={isCurrentProject}
+ flushPendingSave={flushPendingSave}
+ />
+ ) : null}
+ {canDelete ? (
+ <ProjectDangerZone
+ project={project}
+ isCurrentProject={isCurrentProject}
+ workspaceId={workspace?.id}
+ />
+ ) : null}
+ </SettingsPage>
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/project-general/project-icon-picker.tsx b/apps/web/src/components/settings/project-general/project-icon-picker.tsx
new file mode 100644
index 000000000..22859011b
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-icon-picker.tsx
@@ -0,0 +1,97 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import {
+ Popover,
+ PopoverContent,
+ PopoverTrigger,
+} from "@/components/ui/popover";
+import { SelectButton } from "@/components/ui/select";
+import icons from "@/constants/project-icons";
+import { cn } from "@/lib/cn";
+
+type ProjectIconPickerProps = {
+ value: string;
+ onChange: (icon: string) => void;
+ disabled?: boolean;
+};
+
+export function ProjectIconPicker({
+ value,
+ onChange,
+ disabled,
+}: ProjectIconPickerProps) {
+ const { t } = useTranslation();
+ const [open, setOpen] = useState(false);
+ const [search, setSearch] = useState("");
+ const selectedName = value || "Layout";
+ const SelectedIcon =
+ icons[selectedName as keyof typeof icons] ?? icons.Layout;
+ const query = search.trim().toLowerCase();
+ const matches = Object.entries(icons).filter(([name]) =>
+ name.toLowerCase().includes(query),
+ );
+
+ const handleOpenChange = (next: boolean) => {
+ setOpen(next);
+ if (!next) setSearch("");
+ };
+
+ return (
+ <Popover open={open} onOpenChange={handleOpenChange} modal>
+ <PopoverTrigger
+ render={
+ <SelectButton
+ size="sm"
+ className="sm:w-64"
+ disabled={disabled}
+ title={t("settings:projectGeneral.pickIconTitle")}
+ />
+ }
+ >
+ <span className="flex min-w-0 items-center gap-2">
+ <SelectedIcon aria-hidden="true" className="size-4 shrink-0" />
+ <span className="truncate">{selectedName}</span>
+ </span>
+ </PopoverTrigger>
+ <PopoverContent className="w-80" align="end">
+ <div className="space-y-2">
+ <Input
+ size="sm"
+ value={search}
+ onChange={(event) => setSearch(event.target.value)}
+ placeholder={t("settings:projectGeneral.searchIconsPlaceholder")}
+ aria-label={t("settings:projectGeneral.searchIconsPlaceholder")}
+ />
+ <div className="max-h-[280px] overflow-y-auto pr-1">
+ <div className="grid grid-cols-6 gap-1.5">
+ {matches.map(([name, Icon]) => (
+ <Button
+ key={name}
+ type="button"
+ variant="ghost"
+ size="sm"
+ aria-label={name}
+ aria-pressed={name === selectedName}
+ title={name}
+ onClick={() => {
+ onChange(name);
+ handleOpenChange(false);
+ }}
+ className={cn(
+ "h-10 items-center justify-center rounded-md p-0",
+ name === selectedName &&
+ "bg-sidebar-accent text-sidebar-accent-foreground",
+ )}
+ >
+ <Icon className="size-4" />
+ </Button>
+ ))}
+ </div>
+ </div>
+ </div>
+ </PopoverContent>
+ </Popover>
+ );
+}
diff --git a/apps/web/src/components/settings/project-general/project-tasks-section.tsx b/apps/web/src/components/settings/project-general/project-tasks-section.tsx
new file mode 100644
index 000000000..a44dc2d43
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/project-tasks-section.tsx
@@ -0,0 +1,43 @@
+import { useTranslation } from "react-i18next";
+import { ExportTasksRow } from "@/components/project/tasks-import-export/export-tasks-row";
+import { ImportTasksRow } from "@/components/project/tasks-import-export/import-tasks-row";
+import { MoveProjectRow } from "@/components/settings/project-general/move-project-row";
+import { useProjectMoveTargets } from "@/components/settings/project-general/use-project-move-targets";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
+import type { ProjectWithTasks } from "@/types/project";
+
+type ProjectTasksSectionProps = {
+ project: ProjectWithTasks;
+ isCurrentProject: boolean;
+ flushPendingSave: () => Promise<boolean>;
+};
+
+export function ProjectTasksSection({
+ project,
+ isCurrentProject,
+ flushPendingSave,
+}: ProjectTasksSectionProps) {
+ const { t } = useTranslation();
+ const { moveTargets, moveTargetsFailed, canShowMove } = useProjectMoveTargets(
+ project,
+ isCurrentProject,
+ );
+
+ return (
+ <SettingsSection title={t("settings:projectGeneral.tasksTitle")}>
+ <SettingsCard>
+ <ExportTasksRow project={project} />
+ <ImportTasksRow project={project} />
+ {canShowMove ? (
+ <MoveProjectRow
+ projectId={project.id}
+ targets={moveTargets}
+ targetsFailed={moveTargetsFailed}
+ flushPendingSave={flushPendingSave}
+ />
+ ) : null}
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/project-general/use-project-autosave.ts b/apps/web/src/components/settings/project-general/use-project-autosave.ts
new file mode 100644
index 000000000..fde6ebee7
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/use-project-autosave.ts
@@ -0,0 +1,218 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import { useQueryClient } from "@tanstack/react-query";
+import { useCallback, useEffect, useMemo, useRef } from "react";
+import { useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { createProjectFormSchema } from "@/components/settings/project-general/create-project-form-schema";
+import {
+ getProjectFieldChanges,
+ hasProjectFieldChanges,
+ type NormalizedProjectValues,
+ normalizeProjectValues,
+ type ProjectFormValues,
+} from "@/components/settings/project-general/project-form-values";
+import useUpdateProject from "@/hooks/mutations/project/use-update-project";
+import { toast } from "@/lib/toast";
+import type { ProjectWithTasks } from "@/types/project";
+
+type UseProjectAutosaveOptions = {
+ project: ProjectWithTasks | undefined;
+ workspaceId: string | undefined;
+ canEdit: boolean;
+};
+
+export function useProjectAutosave({
+ project,
+ workspaceId,
+ canEdit,
+}: UseProjectAutosaveOptions) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const { mutateAsync: updateProject } = useUpdateProject();
+ const schema = useMemo(() => createProjectFormSchema(t), [t]);
+ const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);
+ const isSavingRef = useRef(false);
+ const queuedSaveRef = useRef<ProjectFormValues | null>(null);
+ const inFlightSaveRef = useRef<Promise<boolean> | null>(null);
+ const lastSavedRef = useRef<NormalizedProjectValues | null>(null);
+
+ const form = useForm<ProjectFormValues>({
+ resolver: standardSchemaResolver(schema),
+ mode: "onChange",
+ defaultValues: {
+ name: project?.name || "",
+ slug: project?.slug || "",
+ description: project?.description || "",
+ icon: project?.icon || "Layout",
+ },
+ });
+
+ useEffect(() => {
+ if (!project) return;
+
+ const nextValues = {
+ name: project.name || "",
+ slug: project.slug || "",
+ description: project.description || "",
+ icon: project.icon || "Layout",
+ };
+ lastSavedRef.current = normalizeProjectValues(nextValues);
+
+ if (form.formState.isDirty) return;
+
+ form.reset(nextValues, {
+ keepDirty: false,
+ keepTouched: false,
+ keepIsValid: true,
+ });
+ }, [project, form]);
+
+ const saveProject = useCallback(
+ async (data: ProjectFormValues): Promise<boolean> => {
+ if (!project?.id) return false;
+
+ const normalizedData = normalizeProjectValues(data);
+ const changes = getProjectFieldChanges(
+ lastSavedRef.current,
+ normalizedData,
+ );
+
+ if (!hasProjectFieldChanges(changes)) return true;
+
+ if (isSavingRef.current) {
+ queuedSaveRef.current = data;
+ return inFlightSaveRef.current ?? false;
+ }
+
+ isSavingRef.current = true;
+
+ const runSave = async (): Promise<boolean> => {
+ let succeeded = false;
+
+ try {
+ await updateProject({
+ id: project.id,
+ name: changes.name ? normalizedData.name : project.name,
+ slug: changes.slug ? normalizedData.slug : project.slug,
+ description: changes.description
+ ? normalizedData.description
+ : (project.description ?? ""),
+ icon: changes.icon
+ ? normalizedData.icon
+ : (project.icon ?? "Layout"),
+ isPublic: !!project.isPublic,
+ });
+
+ form.reset(normalizedData, { keepDirty: false });
+ lastSavedRef.current = normalizedData;
+ queuedSaveRef.current = null;
+
+ await Promise.all([
+ queryClient.invalidateQueries({ queryKey: ["projects"] }),
+ queryClient.invalidateQueries({
+ queryKey: ["projects", workspaceId],
+ }),
+ queryClient.invalidateQueries({
+ queryKey: ["projects", workspaceId, project.id],
+ }),
+ ]);
+ succeeded = true;
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:projectGeneral.toastUpdateError"),
+ );
+ } finally {
+ isSavingRef.current = false;
+
+ if (queuedSaveRef.current) {
+ const queuedData = queuedSaveRef.current;
+ queuedSaveRef.current = null;
+ succeeded = await saveProject(queuedData);
+ }
+ }
+
+ return succeeded;
+ };
+
+ const pendingSave = runSave();
+ inFlightSaveRef.current = pendingSave;
+
+ try {
+ return await pendingSave;
+ } finally {
+ if (inFlightSaveRef.current === pendingSave) {
+ inFlightSaveRef.current = null;
+ }
+ }
+ },
+ [
+ project?.id,
+ project?.isPublic,
+ project?.name,
+ project?.slug,
+ project?.description,
+ project?.icon,
+ updateProject,
+ queryClient,
+ workspaceId,
+ form,
+ t,
+ ],
+ );
+
+ const saveProjectRef = useRef(saveProject);
+ const formRef = useRef(form);
+ saveProjectRef.current = saveProject;
+ formRef.current = form;
+
+ const debouncedSave = useCallback(() => {
+ if (debounceTimeoutRef.current) {
+ clearTimeout(debounceTimeoutRef.current);
+ }
+
+ debounceTimeoutRef.current = setTimeout(async () => {
+ const isValid = await form.trigger();
+ if (isValid) {
+ saveProject(form.getValues());
+ }
+ }, 800);
+ }, [form, saveProject]);
+
+ useEffect(() => {
+ if (!canEdit) return;
+ const subscription = form.watch(() => {
+ debouncedSave();
+ });
+
+ return () => subscription.unsubscribe();
+ }, [form, debouncedSave, canEdit]);
+
+ const flushPendingSave = useCallback(async () => {
+ if (debounceTimeoutRef.current) {
+ clearTimeout(debounceTimeoutRef.current);
+ debounceTimeoutRef.current = null;
+ }
+
+ const latest = formRef.current.getValues();
+ const changes = getProjectFieldChanges(
+ lastSavedRef.current,
+ normalizeProjectValues(latest),
+ );
+ if (!hasProjectFieldChanges(changes)) return true;
+
+ const isValid = await formRef.current.trigger();
+ if (!isValid) return false;
+
+ return saveProjectRef.current(latest);
+ }, []);
+
+ useEffect(() => {
+ return () => {
+ void flushPendingSave();
+ };
+ }, [flushPendingSave]);
+
+ return { form, flushPendingSave };
+}
diff --git a/apps/web/src/components/settings/project-general/use-project-move-targets.ts b/apps/web/src/components/settings/project-general/use-project-move-targets.ts
new file mode 100644
index 000000000..f91cce8fb
--- /dev/null
+++ b/apps/web/src/components/settings/project-general/use-project-move-targets.ts
@@ -0,0 +1,48 @@
+import { useMemo } from "react";
+import useGetWorkspaces from "@/hooks/queries/workspace/use-get-workspaces";
+import { useWorkspacesWithPermission } from "@/hooks/queries/workspace/use-workspaces-with-permission";
+import type { ProjectWithTasks } from "@/types/project";
+
+const PROJECT_MOVE_TARGET = {
+ project: ["create"],
+ workspace: ["manage_settings"],
+};
+const PROJECT_UPDATE_AND_DELETE = { project: ["update", "delete"] };
+
+export function useProjectMoveTargets(
+ project: ProjectWithTasks | undefined,
+ isCurrentProject: boolean,
+) {
+ const { data: workspaces } = useGetWorkspaces();
+ const moveCandidates = useMemo(
+ () => (workspaces ?? []).filter((item) => item.id !== project?.workspaceId),
+ [workspaces, project?.workspaceId],
+ );
+ const moveCandidateIds = useMemo(
+ () => moveCandidates.map((item) => item.id),
+ [moveCandidates],
+ );
+ const { allowed: canMoveInto, isError: moveTargetsFailed } =
+ useWorkspacesWithPermission(moveCandidateIds, PROJECT_MOVE_TARGET);
+ const moveTargets = useMemo(
+ () => moveCandidates.filter((item) => canMoveInto.has(item.id)),
+ [moveCandidates, canMoveInto],
+ );
+ const sourceWorkspaceIds = useMemo(
+ () => (project?.workspaceId ? [project.workspaceId] : []),
+ [project?.workspaceId],
+ );
+ const { allowed: canMoveOutOfSource } = useWorkspacesWithPermission(
+ sourceWorkspaceIds,
+ PROJECT_UPDATE_AND_DELETE,
+ );
+ const canMoveFromSource = Boolean(
+ project?.workspaceId && canMoveOutOfSource.has(project.workspaceId),
+ );
+ const canShowMove =
+ canMoveFromSource &&
+ isCurrentProject &&
+ (moveTargets.length > 0 || moveTargetsFailed);
+
+ return { moveTargets, moveTargetsFailed, canShowMove };
+}
diff --git a/apps/web/src/components/settings/project-visibility/project-visibility-page.test.tsx b/apps/web/src/components/settings/project-visibility/project-visibility-page.test.tsx
new file mode 100644
index 000000000..fbf006815
--- /dev/null
+++ b/apps/web/src/components/settings/project-visibility/project-visibility-page.test.tsx
@@ -0,0 +1,93 @@
+import { cleanup, render, screen, waitFor } from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { ProjectVisibilityPage } from "./project-visibility-page";
+
+const m = vi.hoisted(() => ({
+ project: { id: "p1", name: "Website", isPublic: false } as {
+ id: string;
+ name: string;
+ isPublic: boolean;
+ },
+ canShare: false,
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@tanstack/react-router", () => ({
+ useParams: () => ({ projectId: "p1" }),
+}));
+vi.mock("@/components/page-title", () => ({ default: () => null }));
+vi.mock("@/hooks/queries/workspace/use-active-workspace", () => ({
+ default: () => ({ data: { id: "w1", name: "Studio" } }),
+}));
+vi.mock("@/hooks/queries/project/use-get-project", () => ({
+ default: () => ({ data: m.project }),
+}));
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({
+ hasPermission: async () => m.canShare,
+ }),
+}));
+vi.mock("@/hooks/mutations/project/use-update-project", () => ({
+ default: () => ({ mutateAsync: vi.fn() }),
+}));
+vi.mock("@tanstack/react-query", () => ({
+ useQueryClient: () => ({ invalidateQueries: vi.fn() }),
+}));
+vi.mock("@/lib/toast", () => ({ toast: { success: vi.fn(), error: vi.fn() } }));
+
+describe("ProjectVisibilityPage", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ m.project = { id: "p1", name: "Website", isPublic: false };
+ m.canShare = false;
+ });
+
+ it("hides the link while the project is private", () => {
+ render(<ProjectVisibilityPage />);
+
+ expect(
+ screen.queryByLabelText("settings:projectVisibility.publicUrl"),
+ ).toBeNull();
+ expect(screen.queryByText("settings:projectVisibility.on")).toBeNull();
+ });
+
+ it("shows the badge and the link while the project is public", () => {
+ m.project = { ...m.project, isPublic: true };
+ render(<ProjectVisibilityPage />);
+
+ expect(screen.getByText("settings:projectVisibility.on")).toBeTruthy();
+ expect(
+ screen.getByLabelText("settings:projectVisibility.publicUrl"),
+ ).toHaveValue(`${window.location.origin}/public-project/p1`);
+ });
+
+ it("keeps the switch disabled until sharing is allowed", async () => {
+ const { unmount } = render(<ProjectVisibilityPage />);
+ expect(
+ screen.getByRole("switch", {
+ name: "settings:projectVisibility.publicAccess",
+ }),
+ ).toHaveAttribute("aria-disabled", "true");
+ unmount();
+
+ m.canShare = true;
+ render(<ProjectVisibilityPage />);
+ await waitFor(() =>
+ expect(
+ screen.getByRole("switch", {
+ name: "settings:projectVisibility.publicAccess",
+ }),
+ ).not.toHaveAttribute("aria-disabled", "true"),
+ );
+ });
+});
diff --git a/apps/web/src/components/settings/project-visibility/project-visibility-page.tsx b/apps/web/src/components/settings/project-visibility/project-visibility-page.tsx
new file mode 100644
index 000000000..23283d4dd
--- /dev/null
+++ b/apps/web/src/components/settings/project-visibility/project-visibility-page.tsx
@@ -0,0 +1,90 @@
+import { useParams } from "@tanstack/react-router";
+import { Globe, Users } from "lucide-react";
+import { useTranslation } from "react-i18next";
+import PageTitle from "@/components/page-title";
+import { PublicLinkUrlRow } from "@/components/settings/project-visibility/public-link-url-row";
+import { useCanShareProject } from "@/components/settings/project-visibility/use-can-share-project";
+import { useToggleProjectPublic } from "@/components/settings/project-visibility/use-toggle-project-public";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsNote } from "@/components/settings/settings-note";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { StatusBadge } from "@/components/settings/status-badge";
+import { Switch } from "@/components/ui/switch";
+import useGetProject from "@/hooks/queries/project/use-get-project";
+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";
+
+export function ProjectVisibilityPage() {
+ const { t } = useTranslation();
+ const { projectId } = useParams({ strict: false });
+ const { data: workspace } = useActiveWorkspace();
+ const { data: project } = useGetProject({
+ id: projectId || "",
+ workspaceId: workspace?.id || "",
+ });
+ const canShare = useCanShareProject();
+ const togglePublic = useToggleProjectPublic(project, workspace?.id);
+ const isPublic = Boolean(project?.isPublic);
+ const publicUrl = project?.id
+ ? `${window.location.origin}/public-project/${project.id}`
+ : "";
+ const workspaceName =
+ workspace?.name ?? t("settings:projectVisibility.thisWorkspace");
+
+ return (
+ <>
+ <PageTitle title={t("settings:projectVisibility.pageTitle")} />
+ <SettingsPage
+ title={t("settings:projectVisibility.title")}
+ description={
+ project?.name
+ ? t("settings:projectVisibility.subtitle", {
+ project: project.name,
+ workspace: workspaceName,
+ })
+ : undefined
+ }
+ >
+ <SettingsSection title={t("settings:projectVisibility.sectionTitle")}>
+ <SettingsCard>
+ <SettingsRow
+ icon={<Users />}
+ title={t("settings:projectVisibility.membersTitle", {
+ workspace: workspaceName,
+ })}
+ description={t("settings:projectVisibility.membersDescription")}
+ >
+ <span className="text-xs text-muted-foreground">
+ {t("settings:projectVisibility.always")}
+ </span>
+ </SettingsRow>
+ <SettingsRow
+ icon={<Globe />}
+ title={t("settings:projectVisibility.publicAccess")}
+ badge={
+ isPublic ? (
+ <StatusBadge tone="success">
+ {t("settings:projectVisibility.on")}
+ </StatusBadge>
+ ) : null
+ }
+ description={t("settings:projectVisibility.publicAccessHint")}
+ >
+ <Switch
+ aria-label={t("settings:projectVisibility.publicAccess")}
+ checked={isPublic}
+ onCheckedChange={canShare ? togglePublic : undefined}
+ disabled={!canShare}
+ />
+ </SettingsRow>
+ {isPublic && publicUrl ? (
+ <PublicLinkUrlRow url={publicUrl} />
+ ) : null}
+ </SettingsCard>
+ <SettingsNote>{t("settings:projectVisibility.offNote")}</SettingsNote>
+ </SettingsSection>
+ </SettingsPage>
+ </>
+ );
+}
diff --git a/apps/web/src/components/settings/project-visibility/public-link-url-row.test.tsx b/apps/web/src/components/settings/project-visibility/public-link-url-row.test.tsx
new file mode 100644
index 000000000..c12a801d7
--- /dev/null
+++ b/apps/web/src/components/settings/project-visibility/public-link-url-row.test.tsx
@@ -0,0 +1,76 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { PublicLinkUrlRow } from "./public-link-url-row";
+
+const m = vi.hoisted(() => ({ copy: vi.fn(), error: vi.fn() }));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@/lib/copy-to-clipboard", () => ({ copyToClipboard: m.copy }));
+vi.mock("@/lib/toast", () => ({ toast: { error: m.error } }));
+
+const url = "https://kaneo.test/public-project/p1";
+
+describe("PublicLinkUrlRow", () => {
+ afterEach(cleanup);
+ beforeEach(() => vi.clearAllMocks());
+
+ it("shows the link and opens the public page in a new tab", () => {
+ render(<PublicLinkUrlRow url={url} />);
+
+ expect(
+ screen.getByLabelText("settings:projectVisibility.publicUrl"),
+ ).toHaveValue(url);
+ const open = screen.getByRole("link", {
+ name: "settings:projectVisibility.openPublicPage",
+ });
+ expect(open).toHaveAttribute("href", url);
+ expect(open).toHaveAttribute("target", "_blank");
+ });
+
+ it("switches to a copied state after copying", async () => {
+ m.copy.mockResolvedValue(true);
+ render(<PublicLinkUrlRow url={url} />);
+
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:projectVisibility.copy" }),
+ );
+
+ expect(
+ await screen.findByRole("button", {
+ name: "settings:projectVisibility.copied",
+ }),
+ ).toBeTruthy();
+ expect(m.copy).toHaveBeenCalledWith(url);
+ expect(m.error).not.toHaveBeenCalled();
+ });
+
+ it("shows an error when the copy fails", async () => {
+ m.copy.mockResolvedValue(false);
+ render(<PublicLinkUrlRow url={url} />);
+
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:projectVisibility.copy" }),
+ );
+
+ await waitFor(() =>
+ expect(m.error).toHaveBeenCalledWith(
+ "settings:projectVisibility.copyError",
+ ),
+ );
+ });
+});
diff --git a/apps/web/src/components/settings/project-visibility/public-link-url-row.tsx b/apps/web/src/components/settings/project-visibility/public-link-url-row.tsx
new file mode 100644
index 000000000..cd2387186
--- /dev/null
+++ b/apps/web/src/components/settings/project-visibility/public-link-url-row.tsx
@@ -0,0 +1,65 @@
+import { Check, Copy, ExternalLink } from "lucide-react";
+import { useEffect, useState } from "react";
+import { useTranslation } from "react-i18next";
+import { Button } from "@/components/ui/button";
+import { Input } from "@/components/ui/input";
+import { copyToClipboard } from "@/lib/copy-to-clipboard";
+import { toast } from "@/lib/toast";
+
+type PublicLinkUrlRowProps = {
+ url: string;
+};
+
+export function PublicLinkUrlRow({ url }: PublicLinkUrlRowProps) {
+ const { t } = useTranslation();
+ const [copied, setCopied] = useState(false);
+
+ useEffect(() => {
+ if (!copied) return;
+ const timeout = setTimeout(() => setCopied(false), 2000);
+ return () => clearTimeout(timeout);
+ }, [copied]);
+
+ const handleCopy = async () => {
+ if (await copyToClipboard(url)) {
+ setCopied(true);
+ return;
+ }
+ toast.error(t("settings:projectVisibility.copyError"));
+ };
+
+ return (
+ <div className="flex flex-col gap-2 bg-muted/30 px-4 py-3 sm:flex-row sm:items-center">
+ <Input
+ size="sm"
+ readOnly
+ value={url}
+ aria-label={t("settings:projectVisibility.publicUrl")}
+ className="min-w-0 flex-1 font-mono text-xs sm:text-xs"
+ onFocus={(event) => event.currentTarget.select()}
+ />
+ <div className="flex items-center gap-2">
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ className="min-w-24 flex-1 sm:flex-none"
+ onClick={handleCopy}
+ >
+ {copied ? <Check aria-hidden="true" /> : <Copy aria-hidden="true" />}
+ {copied
+ ? t("settings:projectVisibility.copied")
+ : t("settings:projectVisibility.copy")}
+ </Button>
+ <Button
+ variant="outline"
+ size="icon-sm"
+ aria-label={t("settings:projectVisibility.openPublicPage")}
+ render={<a href={url} target="_blank" rel="noopener noreferrer" />}
+ >
+ <ExternalLink aria-hidden="true" />
+ </Button>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/project-visibility/use-can-share-project.ts b/apps/web/src/components/settings/project-visibility/use-can-share-project.ts
new file mode 100644
index 000000000..74cdc90d2
--- /dev/null
+++ b/apps/web/src/components/settings/project-visibility/use-can-share-project.ts
@@ -0,0 +1,19 @@
+import { useEffect, useState } from "react";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+
+export function useCanShareProject() {
+ const { hasPermission } = useWorkspacePermission();
+ const [canShare, setCanShare] = useState(false);
+
+ useEffect(() => {
+ let cancelled = false;
+ void hasPermission({ project: ["share"] }).then((ok) => {
+ if (!cancelled) setCanShare(ok);
+ });
+ return () => {
+ cancelled = true;
+ };
+ }, [hasPermission]);
+
+ return canShare;
+}
diff --git a/apps/web/src/components/settings/project-visibility/use-toggle-project-public.ts b/apps/web/src/components/settings/project-visibility/use-toggle-project-public.ts
new file mode 100644
index 000000000..930be7622
--- /dev/null
+++ b/apps/web/src/components/settings/project-visibility/use-toggle-project-public.ts
@@ -0,0 +1,48 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { useCallback, useRef } from "react";
+import { useTranslation } from "react-i18next";
+import useUpdateProject from "@/hooks/mutations/project/use-update-project";
+import { toast } from "@/lib/toast";
+import type { Project } from "@/types/project";
+
+export function useToggleProjectPublic(
+ project: Project | undefined,
+ workspaceId: string | undefined,
+) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const { mutateAsync: updateProject } = useUpdateProject();
+ const savingRef = useRef(false);
+
+ return useCallback(async () => {
+ if (!project || savingRef.current) return;
+ savingRef.current = true;
+
+ try {
+ await updateProject({
+ id: project.id,
+ name: project.name,
+ slug: project.slug,
+ description: project.description || "",
+ icon: project.icon || "Layout",
+ isPublic: !project.isPublic,
+ });
+ await Promise.all([
+ queryClient.invalidateQueries({ queryKey: ["projects"] }),
+ queryClient.invalidateQueries({ queryKey: ["projects", workspaceId] }),
+ queryClient.invalidateQueries({
+ queryKey: ["projects", workspaceId, project.id],
+ }),
+ ]);
+ toast.success(t("settings:projectVisibility.toastUpdated"));
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:projectVisibility.toastUpdateError"),
+ );
+ } finally {
+ savingRef.current = false;
+ }
+ }, [project, updateProject, queryClient, workspaceId, t]);
+}
diff --git a/apps/web/src/components/settings/row-actions-menu.tsx b/apps/web/src/components/settings/row-actions-menu.tsx
new file mode 100644
index 000000000..82e6fbc9d
--- /dev/null
+++ b/apps/web/src/components/settings/row-actions-menu.tsx
@@ -0,0 +1,66 @@
+import { EllipsisIcon, type LucideIcon } from "lucide-react";
+import { Fragment } from "react";
+import { Button } from "@/components/ui/button";
+import {
+ Menu,
+ MenuItem,
+ MenuPopup,
+ MenuSeparator,
+ MenuTrigger,
+} from "@/components/ui/menu";
+
+export type RowAction = {
+ id: string;
+ label: string;
+ icon: LucideIcon;
+ onSelect: () => void;
+ destructive?: boolean;
+ disabled?: boolean;
+};
+
+type RowActionsMenuProps = {
+ label: string;
+ actions: RowAction[];
+};
+
+export function RowActionsMenu({ label, actions }: RowActionsMenuProps) {
+ return (
+ <Menu>
+ <MenuTrigger
+ render={
+ <Button
+ type="button"
+ variant="ghost"
+ size="icon-sm"
+ aria-label={label}
+ className="text-muted-foreground"
+ />
+ }
+ >
+ <EllipsisIcon aria-hidden="true" />
+ </MenuTrigger>
+ <MenuPopup align="end">
+ {actions.map((action, index) => {
+ const Icon = action.icon;
+ const startsDestructive =
+ action.destructive && index > 0 && !actions[index - 1]?.destructive;
+
+ return (
+ <Fragment key={action.id}>
+ {startsDestructive ? <MenuSeparator /> : null}
+ <MenuItem
+ closeOnClick
+ disabled={action.disabled}
+ variant={action.destructive ? "destructive" : undefined}
+ onClick={action.onSelect}
+ >
+ <Icon aria-hidden="true" />
+ {action.label}
+ </MenuItem>
+ </Fragment>
+ );
+ })}
+ </MenuPopup>
+ </Menu>
+ );
+}
diff --git a/apps/web/src/components/settings/settings-card.tsx b/apps/web/src/components/settings/settings-card.tsx
new file mode 100644
index 000000000..9ba214209
--- /dev/null
+++ b/apps/web/src/components/settings/settings-card.tsx
@@ -0,0 +1,23 @@
+import type { ComponentProps } from "react";
+import { cn } from "@/lib/cn";
+
+type SettingsCardProps = ComponentProps<"div"> & {
+ tone?: "default" | "danger";
+};
+
+export function SettingsCard({
+ tone = "default",
+ className,
+ ...props
+}: SettingsCardProps) {
+ return (
+ <div
+ className={cn(
+ "divide-y divide-border overflow-hidden rounded-xl border bg-card",
+ tone === "danger" ? "border-destructive/20" : "border-border",
+ className,
+ )}
+ {...props}
+ />
+ );
+}
diff --git a/apps/web/src/components/settings/settings-empty.tsx b/apps/web/src/components/settings/settings-empty.tsx
new file mode 100644
index 000000000..ea4780ec2
--- /dev/null
+++ b/apps/web/src/components/settings/settings-empty.tsx
@@ -0,0 +1,33 @@
+import type { ReactNode } from "react";
+
+type SettingsEmptyProps = {
+ icon: ReactNode;
+ title: ReactNode;
+ description?: ReactNode;
+ action?: ReactNode;
+};
+
+export function SettingsEmpty({
+ icon,
+ title,
+ description,
+ action,
+}: SettingsEmptyProps) {
+ return (
+ <div className="flex flex-col items-center gap-3 px-6 py-9 text-center">
+ <div
+ aria-hidden="true"
+ className="flex size-10 items-center justify-center rounded-lg border border-border bg-background text-muted-foreground [&_svg]:size-[18px]"
+ >
+ {icon}
+ </div>
+ <div className="space-y-1">
+ <p className="text-sm font-medium">{title}</p>
+ {description ? (
+ <p className="text-xs text-muted-foreground">{description}</p>
+ ) : null}
+ </div>
+ {action}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/settings-form-row.tsx b/apps/web/src/components/settings/settings-form-row.tsx
new file mode 100644
index 000000000..1367cdf65
--- /dev/null
+++ b/apps/web/src/components/settings/settings-form-row.tsx
@@ -0,0 +1,33 @@
+import type { ReactNode } from "react";
+import { SettingsRow } from "@/components/settings/settings-row";
+import {
+ FormControl,
+ FormItem,
+ FormLabel,
+ FormMessage,
+} from "@/components/ui/form";
+
+type SettingsFormRowProps = {
+ label: ReactNode;
+ description?: ReactNode;
+ children: ReactNode;
+};
+
+export function SettingsFormRow({
+ label,
+ description,
+ children,
+}: SettingsFormRowProps) {
+ return (
+ <FormItem className="space-y-0">
+ <SettingsRow
+ stack
+ title={<FormLabel>{label}</FormLabel>}
+ description={description}
+ >
+ <FormControl>{children}</FormControl>
+ </SettingsRow>
+ <FormMessage className="-mt-1.5 px-4 pb-3 text-xs" />
+ </FormItem>
+ );
+}
diff --git a/apps/web/src/components/settings/settings-icon-tile.tsx b/apps/web/src/components/settings/settings-icon-tile.tsx
new file mode 100644
index 000000000..beb3d8707
--- /dev/null
+++ b/apps/web/src/components/settings/settings-icon-tile.tsx
@@ -0,0 +1,24 @@
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type SettingsIconTileProps = {
+ children: ReactNode;
+ className?: string;
+};
+
+export function SettingsIconTile({
+ children,
+ className,
+}: SettingsIconTileProps) {
+ return (
+ <div
+ aria-hidden="true"
+ className={cn(
+ "flex size-8 shrink-0 items-center justify-center rounded-lg border border-border bg-background text-muted-foreground [&_svg]:size-4",
+ className,
+ )}
+ >
+ {children}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/settings-note.tsx b/apps/web/src/components/settings/settings-note.tsx
new file mode 100644
index 000000000..69ce9df42
--- /dev/null
+++ b/apps/web/src/components/settings/settings-note.tsx
@@ -0,0 +1,27 @@
+import { InfoIcon, type LucideIcon } from "lucide-react";
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+type SettingsNoteProps = {
+ children: ReactNode;
+ icon?: LucideIcon;
+ className?: string;
+};
+
+export function SettingsNote({
+ children,
+ icon: Icon = InfoIcon,
+ className,
+}: SettingsNoteProps) {
+ return (
+ <p
+ className={cn(
+ "flex items-start gap-2 px-0.5 text-xs text-muted-foreground",
+ className,
+ )}
+ >
+ <Icon aria-hidden="true" className="mt-px size-3.5 shrink-0" />
+ <span>{children}</span>
+ </p>
+ );
+}
diff --git a/apps/web/src/components/settings/settings-row.tsx b/apps/web/src/components/settings/settings-row.tsx
new file mode 100644
index 000000000..cdc61a0de
--- /dev/null
+++ b/apps/web/src/components/settings/settings-row.tsx
@@ -0,0 +1,57 @@
+import type { ReactNode } from "react";
+import { SettingsIconTile } from "@/components/settings/settings-icon-tile";
+import { cn } from "@/lib/cn";
+
+type SettingsRowProps = {
+ title: ReactNode;
+ description?: ReactNode;
+ icon?: ReactNode;
+ iconClassName?: string;
+ badge?: ReactNode;
+ children?: ReactNode;
+ className?: string;
+ titleClassName?: string;
+ stack?: boolean;
+};
+
+export function SettingsRow({
+ title,
+ description,
+ icon,
+ iconClassName,
+ badge,
+ children,
+ className,
+ titleClassName,
+ stack = false,
+}: SettingsRowProps) {
+ return (
+ <div
+ className={cn(
+ "flex gap-3.5 px-4 py-3.5 sm:gap-6",
+ stack ? "flex-col gap-3 sm:flex-row sm:items-center" : "items-center",
+ className,
+ )}
+ >
+ <div className="flex min-w-0 flex-1 items-center gap-3.5">
+ {icon ? (
+ <SettingsIconTile className={iconClassName}>{icon}</SettingsIconTile>
+ ) : null}
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <div className="flex min-w-0 flex-wrap items-center gap-2">
+ <div className={cn("truncate text-sm font-medium", titleClassName)}>
+ {title}
+ </div>
+ {badge}
+ </div>
+ {description ? (
+ <div className="text-xs text-muted-foreground">{description}</div>
+ ) : null}
+ </div>
+ </div>
+ {children ? (
+ <div className="flex shrink-0 items-center gap-2">{children}</div>
+ ) : null}
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/settings-rows-skeleton.tsx b/apps/web/src/components/settings/settings-rows-skeleton.tsx
new file mode 100644
index 000000000..eacc139cc
--- /dev/null
+++ b/apps/web/src/components/settings/settings-rows-skeleton.tsx
@@ -0,0 +1,26 @@
+import { Skeleton } from "@/components/ui/skeleton";
+
+type SettingsRowsSkeletonProps = {
+ rows?: number;
+ withDescription?: boolean;
+};
+
+export function SettingsRowsSkeleton({
+ rows = 3,
+ withDescription = false,
+}: SettingsRowsSkeletonProps) {
+ return Array.from({ length: rows }, (_, index) => (
+ <div
+ key={index}
+ aria-hidden="true"
+ data-testid="settings-row-skeleton"
+ className="flex items-center gap-3.5 px-4 py-3.5"
+ >
+ <Skeleton className="size-8 shrink-0 rounded-lg" />
+ <div className="min-w-0 flex-1 space-y-1.5">
+ <Skeleton className="h-3.5 w-32" />
+ {withDescription ? <Skeleton className="h-3 w-56 max-w-full" /> : null}
+ </div>
+ </div>
+ ));
+}
diff --git a/apps/web/src/components/settings/settings-section.tsx b/apps/web/src/components/settings/settings-section.tsx
new file mode 100644
index 000000000..1d14f9c9a
--- /dev/null
+++ b/apps/web/src/components/settings/settings-section.tsx
@@ -0,0 +1,32 @@
+import type { ReactNode } from "react";
+import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { cn } from "@/lib/cn";
+
+type SettingsSectionProps = {
+ title?: ReactNode;
+ description?: ReactNode;
+ action?: ReactNode;
+ children: ReactNode;
+ className?: string;
+};
+
+export function SettingsSection({
+ title,
+ description,
+ action,
+ children,
+ className,
+}: SettingsSectionProps) {
+ return (
+ <section className={cn("space-y-3", className)}>
+ {title ? (
+ <SettingsSectionHeader
+ title={title}
+ description={description}
+ action={action}
+ />
+ ) : null}
+ {children}
+ </section>
+ );
+}
diff --git a/apps/web/src/components/settings/status-badge.tsx b/apps/web/src/components/settings/status-badge.tsx
new file mode 100644
index 000000000..7c29920b9
--- /dev/null
+++ b/apps/web/src/components/settings/status-badge.tsx
@@ -0,0 +1,49 @@
+import type { ReactNode } from "react";
+import { cn } from "@/lib/cn";
+
+export type StatusTone = "success" | "warning" | "destructive" | "neutral";
+
+const toneClasses: Record<StatusTone, { badge: string; dot: string }> = {
+ success: {
+ badge: "bg-success/10 text-success-foreground",
+ dot: "bg-success",
+ },
+ warning: {
+ badge: "bg-warning/10 text-warning-foreground",
+ dot: "bg-warning",
+ },
+ destructive: {
+ badge: "bg-destructive/10 text-destructive-foreground",
+ dot: "bg-destructive",
+ },
+ neutral: {
+ badge: "bg-muted text-muted-foreground",
+ dot: "bg-muted-foreground",
+ },
+};
+
+type StatusBadgeProps = {
+ tone: StatusTone;
+ children: ReactNode;
+ className?: string;
+};
+
+export function StatusBadge({ tone, children, className }: StatusBadgeProps) {
+ const classes = toneClasses[tone];
+
+ return (
+ <span
+ className={cn(
+ "inline-flex h-5 shrink-0 items-center gap-1.5 rounded-full px-2 text-xs font-medium",
+ classes.badge,
+ className,
+ )}
+ >
+ <span
+ aria-hidden="true"
+ className={cn("size-1.5 rounded-full", classes.dot)}
+ />
+ {children}
+ </span>
+ );
+}
diff --git a/apps/web/src/components/settings/workspace-general/create-workspace-form-schema.ts b/apps/web/src/components/settings/workspace-general/create-workspace-form-schema.ts
new file mode 100644
index 000000000..f817588fb
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/create-workspace-form-schema.ts
@@ -0,0 +1,12 @@
+import type { TFunction } from "i18next";
+import { z } from "zod";
+
+export function createWorkspaceFormSchema(t: TFunction) {
+ return z.object({
+ name: z
+ .string()
+ .min(1, t("settings:workspaceGeneral.validation.nameRequired"))
+ .min(2, t("settings:workspaceGeneral.validation.nameShort")),
+ description: z.string().optional(),
+ });
+}
diff --git a/apps/web/src/components/settings/workspace-general/current-owner-row.tsx b/apps/web/src/components/settings/workspace-general/current-owner-row.tsx
new file mode 100644
index 000000000..c9ccd3d1e
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/current-owner-row.tsx
@@ -0,0 +1,32 @@
+import { useTranslation } from "react-i18next";
+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
+import { Badge } from "@/components/ui/badge";
+import { getInitials } from "@/lib/get-initials";
+
+type CurrentOwnerRowProps = {
+ name: string;
+ email: string;
+ image?: string | null;
+};
+
+export function CurrentOwnerRow({ name, email, image }: CurrentOwnerRowProps) {
+ const { t } = useTranslation();
+
+ return (
+ <div className="flex items-center gap-3.5 px-4 py-3.5">
+ <Avatar className="size-8">
+ <AvatarImage src={image ?? ""} alt="" />
+ <AvatarFallback className="border border-border/30 text-xs font-medium">
+ {getInitials(name || email)}
+ </AvatarFallback>
+ </Avatar>
+ <div className="min-w-0 flex-1 space-y-0.5">
+ <p className="truncate text-sm font-medium">{name || email}</p>
+ <p className="truncate text-xs text-muted-foreground">{email}</p>
+ </div>
+ <Badge variant="outline" className="shrink-0">
+ {t("team:roles.owner")}
+ </Badge>
+ </div>
+ );
+}
diff --git a/apps/web/src/components/settings/workspace-general/get-ownership-candidates.test.ts b/apps/web/src/components/settings/workspace-general/get-ownership-candidates.test.ts
new file mode 100644
index 000000000..fd52c78a5
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/get-ownership-candidates.test.ts
@@ -0,0 +1,30 @@
+import { describe, expect, it } from "vite-plus/test";
+import { getOwnershipCandidates } from "./get-ownership-candidates";
+
+const members = [
+ { id: "m1", role: "owner", userId: "u1" },
+ { id: "m2", role: "admin", userId: "u2" },
+ { id: "m3", role: "member", userId: "u3" },
+];
+
+describe("getOwnershipCandidates", () => {
+ it("finds the owner and everyone else as candidates", () => {
+ const result = getOwnershipCandidates(members, "u1");
+ expect(result.currentOwner?.id).toBe("m1");
+ expect(result.eligibleNewOwners.map((member) => member.id)).toEqual([
+ "m2",
+ "m3",
+ ]);
+ });
+
+ it("never offers the current user", () => {
+ const result = getOwnershipCandidates(members, "u2");
+ expect(result.eligibleNewOwners.map((member) => member.id)).toEqual(["m3"]);
+ });
+
+ it("returns no candidates for a workspace with only the owner", () => {
+ expect(
+ getOwnershipCandidates([members[0]], "u1").eligibleNewOwners,
+ ).toEqual([]);
+ });
+});
diff --git a/apps/web/src/components/settings/workspace-general/get-ownership-candidates.ts b/apps/web/src/components/settings/workspace-general/get-ownership-candidates.ts
new file mode 100644
index 000000000..858f97e70
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/get-ownership-candidates.ts
@@ -0,0 +1,17 @@
+type OwnershipMember = {
+ id: string;
+ role: string;
+ userId: string;
+};
+
+export function getOwnershipCandidates<T extends OwnershipMember>(
+ members: T[],
+ currentUserId: string | undefined,
+) {
+ return {
+ currentOwner: members.find((member) => member.role === "owner"),
+ eligibleNewOwners: members.filter(
+ (member) => member.role !== "owner" && member.userId !== currentUserId,
+ ),
+ };
+}
diff --git a/apps/web/src/components/settings/workspace-general/ownership-section.tsx b/apps/web/src/components/settings/workspace-general/ownership-section.tsx
new file mode 100644
index 000000000..7e14b3c58
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/ownership-section.tsx
@@ -0,0 +1,56 @@
+import { useTranslation } from "react-i18next";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { CurrentOwnerRow } from "@/components/settings/workspace-general/current-owner-row";
+import { getOwnershipCandidates } from "@/components/settings/workspace-general/get-ownership-candidates";
+import { TransferOwnershipRow } from "@/components/settings/workspace-general/transfer-ownership-row";
+
+type OwnershipMember = {
+ id: string;
+ role: string;
+ userId: string;
+ user: { name: string; email: string; image?: string | null };
+};
+
+type OwnershipSectionProps = {
+ workspaceId: string | undefined;
+ workspaceName: string;
+ members: OwnershipMember[];
+ currentUserId: string | undefined;
+};
+
+export function OwnershipSection({
+ workspaceId,
+ workspaceName,
+ members,
+ currentUserId,
+}: OwnershipSectionProps) {
+ const { t } = useTranslation();
+ const { currentOwner, eligibleNewOwners } = getOwnershipCandidates(
+ members,
+ currentUserId,
+ );
+
+ return (
+ <SettingsSection
+ title={t("settings:workspaceGeneral.ownershipTitle")}
+ description={t("settings:workspaceGeneral.ownershipSubtitle")}
+ >
+ <SettingsCard>
+ {currentOwner ? (
+ <CurrentOwnerRow
+ name={currentOwner.user.name}
+ email={currentOwner.user.email}
+ image={currentOwner.user.image}
+ />
+ ) : null}
+ <TransferOwnershipRow
+ workspaceId={workspaceId}
+ workspaceName={workspaceName}
+ currentOwnerMemberId={currentOwner?.id}
+ candidates={eligibleNewOwners}
+ />
+ </SettingsCard>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/workspace-general/transfer-ownership-row.tsx b/apps/web/src/components/settings/workspace-general/transfer-ownership-row.tsx
new file mode 100644
index 000000000..44f39188f
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/transfer-ownership-row.tsx
@@ -0,0 +1,136 @@
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { Button } from "@/components/ui/button";
+import {
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+} from "@/components/ui/select";
+import useTransferWorkspaceOwnership from "@/hooks/mutations/workspace/use-transfer-workspace-ownership";
+import { toast } from "@/lib/toast";
+
+type OwnershipCandidate = {
+ id: string;
+ user: { name: string; email: string };
+};
+
+type TransferOwnershipRowProps = {
+ workspaceId: string | undefined;
+ workspaceName: string;
+ currentOwnerMemberId: string | undefined;
+ candidates: OwnershipCandidate[];
+};
+
+export function TransferOwnershipRow({
+ workspaceId,
+ workspaceName,
+ currentOwnerMemberId,
+ candidates,
+}: TransferOwnershipRowProps) {
+ const { t } = useTranslation();
+ const [selectedId, setSelectedId] = useState("");
+ const [open, setOpen] = useState(false);
+ const { mutateAsync: transferOwnership, isPending } =
+ useTransferWorkspaceOwnership();
+ const selected = candidates.find((member) => member.id === selectedId);
+ const selectedName = selected
+ ? selected.user.name || selected.user.email
+ : "";
+ const hasCandidates = candidates.length > 0;
+
+ const handleTransfer = async () => {
+ if (!workspaceId || !currentOwnerMemberId || !selected) return;
+
+ try {
+ await transferOwnership({
+ workspaceId,
+ newOwnerMemberId: selected.id,
+ currentOwnerMemberId,
+ });
+ toast.success(
+ t("settings:workspaceGeneral.transferOwnership.toastSuccess"),
+ );
+ setOpen(false);
+ setSelectedId("");
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:workspaceGeneral.transferOwnership.toastError"),
+ );
+ }
+ };
+
+ return (
+ <SettingsRow
+ stack
+ title={t("settings:workspaceGeneral.transferOwnership.title")}
+ description={
+ hasCandidates
+ ? t("settings:workspaceGeneral.transferOwnership.pickerHint")
+ : t("settings:workspaceGeneral.transferOwnership.noEligibleMembers")
+ }
+ >
+ <Select
+ value={selectedId}
+ onValueChange={(value) => {
+ if (typeof value === "string") setSelectedId(value);
+ }}
+ disabled={!hasCandidates}
+ >
+ <SelectTrigger
+ size="sm"
+ className="sm:w-48"
+ aria-label={t(
+ "settings:workspaceGeneral.transferOwnership.pickerLabel",
+ )}
+ >
+ <SelectValue
+ placeholder={t(
+ "settings:workspaceGeneral.transferOwnership.pickerPlaceholder",
+ )}
+ >
+ {selected ? selectedName : null}
+ </SelectValue>
+ </SelectTrigger>
+ <SelectContent>
+ {candidates.map((member) => (
+ <SelectItem key={member.id} value={member.id}>
+ {member.user.name} ({member.user.email})
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
+ <Button
+ type="button"
+ variant="outline"
+ size="sm"
+ disabled={!selected || isPending}
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:workspaceGeneral.transferOwnership.button")}
+ </Button>
+ <ConfirmDialog
+ open={open}
+ onOpenChange={setOpen}
+ destructive={false}
+ title={t("settings:workspaceGeneral.transferOwnership.dialogTitle")}
+ description={t(
+ "settings:workspaceGeneral.transferOwnership.dialogDescription",
+ { name: selectedName, workspace: workspaceName },
+ )}
+ confirmLabel={t("settings:workspaceGeneral.transferOwnership.confirm")}
+ pendingLabel={t(
+ "settings:workspaceGeneral.transferOwnership.transferring",
+ )}
+ pending={isPending}
+ confirmDisabled={!selected}
+ onConfirm={handleTransfer}
+ />
+ </SettingsRow>
+ );
+}
diff --git a/apps/web/src/components/settings/workspace-general/use-workspace-autosave.ts b/apps/web/src/components/settings/workspace-general/use-workspace-autosave.ts
new file mode 100644
index 000000000..4bbeea24c
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/use-workspace-autosave.ts
@@ -0,0 +1,138 @@
+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
+import { useQueryClient } from "@tanstack/react-query";
+import { useCallback, useEffect, useMemo, useRef } from "react";
+import { useForm } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { createWorkspaceFormSchema } from "@/components/settings/workspace-general/create-workspace-form-schema";
+import {
+ type NormalizedWorkspaceValues,
+ normalizeWorkspaceValues,
+ type WorkspaceFormValues,
+} from "@/components/settings/workspace-general/workspace-form-values";
+import useUpdateWorkspace from "@/hooks/mutations/workspace/use-update-workspace";
+import { toast } from "@/lib/toast";
+
+type UseWorkspaceAutosaveOptions = {
+ workspaceId: string | undefined;
+ name: string | undefined;
+ description: string;
+ canEdit: boolean;
+};
+
+export function useWorkspaceAutosave({
+ workspaceId,
+ name,
+ description,
+ canEdit,
+}: UseWorkspaceAutosaveOptions) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const { mutateAsync: updateWorkspace } = useUpdateWorkspace();
+ const schema = useMemo(() => createWorkspaceFormSchema(t), [t]);
+ const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);
+ const isSavingRef = useRef(false);
+ const queuedSaveRef = useRef<WorkspaceFormValues | null>(null);
+ const lastSavedRef = useRef<NormalizedWorkspaceValues | null>(null);
+
+ const form = useForm<WorkspaceFormValues>({
+ resolver: standardSchemaResolver(schema),
+ mode: "onChange",
+ defaultValues: { name: name || "", description },
+ });
+
+ useEffect(() => {
+ if (!workspaceId) return;
+
+ const nextValues = { name: name || "", description };
+ lastSavedRef.current = normalizeWorkspaceValues(nextValues);
+
+ if (!form.formState.isDirty) {
+ form.reset(nextValues);
+ }
+ }, [workspaceId, name, description, form]);
+
+ const saveWorkspace = useCallback(
+ async (data: WorkspaceFormValues) => {
+ if (!workspaceId) return;
+
+ const normalizedData = normalizeWorkspaceValues(data);
+ const nameChanged = lastSavedRef.current?.name !== normalizedData.name;
+ const descriptionChanged =
+ lastSavedRef.current?.description !== normalizedData.description;
+
+ if (!nameChanged && !descriptionChanged) return;
+
+ if (isSavingRef.current) {
+ queuedSaveRef.current = data;
+ return;
+ }
+
+ isSavingRef.current = true;
+
+ try {
+ await updateWorkspace({
+ workspaceId,
+ ...(nameChanged ? { name: normalizedData.name } : {}),
+ ...(descriptionChanged
+ ? { description: normalizedData.description }
+ : {}),
+ });
+
+ form.reset(normalizedData, { keepDirty: false });
+ lastSavedRef.current = normalizedData;
+ queuedSaveRef.current = null;
+
+ await queryClient.invalidateQueries({
+ queryKey: ["active-organization"],
+ });
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:workspaceGeneral.toastUpdateError"),
+ );
+ } finally {
+ isSavingRef.current = false;
+
+ if (queuedSaveRef.current) {
+ const queuedData = queuedSaveRef.current;
+ queuedSaveRef.current = null;
+ await saveWorkspace(queuedData);
+ }
+ }
+ },
+ [workspaceId, updateWorkspace, queryClient, form, t],
+ );
+
+ const debouncedSave = useCallback(() => {
+ if (debounceTimeoutRef.current) {
+ clearTimeout(debounceTimeoutRef.current);
+ }
+
+ debounceTimeoutRef.current = setTimeout(async () => {
+ if (!form.formState.isDirty) return;
+ if (await form.trigger()) {
+ saveWorkspace(form.getValues());
+ }
+ }, 1000);
+ }, [form, saveWorkspace]);
+
+ useEffect(() => {
+ if (!canEdit) return;
+ const subscription = form.watch(() => {
+ debouncedSave();
+ });
+
+ return () => subscription.unsubscribe();
+ }, [form, debouncedSave, canEdit]);
+
+ useEffect(() => {
+ return () => {
+ if (debounceTimeoutRef.current) {
+ clearTimeout(debounceTimeoutRef.current);
+ }
+ };
+ }, []);
+
+ return form;
+}
diff --git a/apps/web/src/components/settings/workspace-general/workspace-danger-zone.tsx b/apps/web/src/components/settings/workspace-general/workspace-danger-zone.tsx
new file mode 100644
index 000000000..88e10d0b3
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/workspace-danger-zone.tsx
@@ -0,0 +1,89 @@
+import { useQueryClient } from "@tanstack/react-query";
+import { useNavigate } from "@tanstack/react-router";
+import { useState } from "react";
+import { useTranslation } from "react-i18next";
+import { ConfirmDialog } from "@/components/settings/confirm-dialog";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsRow } from "@/components/settings/settings-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import { Button } from "@/components/ui/button";
+import useDeleteWorkspace from "@/hooks/mutations/workspace/use-delete-workspace";
+import { toast } from "@/lib/toast";
+
+type WorkspaceDangerZoneProps = {
+ workspaceId: string | undefined;
+ workspaceName: string;
+};
+
+export function WorkspaceDangerZone({
+ workspaceId,
+ workspaceName,
+}: WorkspaceDangerZoneProps) {
+ const { t } = useTranslation();
+ const queryClient = useQueryClient();
+ const navigate = useNavigate();
+ const [open, setOpen] = useState(false);
+ const { mutateAsync: deleteWorkspace, isPending } = useDeleteWorkspace();
+
+ const handleDelete = async () => {
+ if (!workspaceId) return;
+
+ try {
+ await deleteWorkspace({ workspaceId });
+ toast.success(t("settings:workspaceGeneral.toastDeleted"));
+ setOpen(false);
+
+ await queryClient.invalidateQueries({ queryKey: ["workspaces"] });
+ await queryClient.invalidateQueries({
+ queryKey: ["active-organization"],
+ });
+
+ navigate({ to: "/dashboard" });
+ } catch (error) {
+ toast.error(
+ error instanceof Error
+ ? error.message
+ : t("settings:workspaceGeneral.toastDeleteError"),
+ );
+ }
+ };
+
+ return (
+ <SettingsSection title={t("settings:workspaceGeneral.dangerZone")}>
+ <SettingsCard tone="danger">
+ <SettingsRow
+ stack
+ title={t("settings:workspaceGeneral.deleteWorkspace")}
+ description={t(
+ "settings:workspaceGeneral.deleteWorkspaceDescription",
+ {
+ name: workspaceName,
+ },
+ )}
+ >
+ <Button
+ type="button"
+ variant="destructive-outline"
+ size="sm"
+ disabled={!workspaceId}
+ onClick={() => setOpen(true)}
+ >
+ {t("settings:workspaceGeneral.deleteWorkspace")}
+ </Button>
+ </SettingsRow>
+ </SettingsCard>
+ <ConfirmDialog
+ open={open}
+ onOpenChange={setOpen}
+ title={t("settings:workspaceGeneral.deleteModalTitle")}
+ description={t("settings:workspaceGeneral.deleteModalDescription", {
+ name: workspaceName,
+ })}
+ confirmLabel={t("settings:workspaceGeneral.deleteModalConfirm")}
+ pendingLabel={t("common:actions.deleting")}
+ pending={isPending}
+ onConfirm={handleDelete}
+ />
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/workspace-general/workspace-details-section.tsx b/apps/web/src/components/settings/workspace-general/workspace-details-section.tsx
new file mode 100644
index 000000000..2fd1375aa
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/workspace-details-section.tsx
@@ -0,0 +1,67 @@
+import type { UseFormReturn } from "react-hook-form";
+import { useTranslation } from "react-i18next";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsFormRow } from "@/components/settings/settings-form-row";
+import { SettingsSection } from "@/components/settings/settings-section";
+import type { WorkspaceFormValues } from "@/components/settings/workspace-general/workspace-form-values";
+import { Form, FormField } from "@/components/ui/form";
+import { Input } from "@/components/ui/input";
+
+type WorkspaceDetailsSectionProps = {
+ form: UseFormReturn<WorkspaceFormValues>;
+ canEdit: boolean;
+};
+
+export function WorkspaceDetailsSection({
+ form,
+ canEdit,
+}: WorkspaceDetailsSectionProps) {
+ const { t } = useTranslation();
+
+ return (
+ <SettingsSection title={t("settings:workspaceGeneral.workspaceInfoTitle")}>
+ <Form {...form}>
+ <form onSubmit={(event) => event.preventDefault()}>
+ <SettingsCard>
+ <FormField
+ control={form.control}
+ name="name"
+ render={({ field }) => (
+ <SettingsFormRow
+ label={t("settings:workspaceGeneral.nameLabel")}
+ >
+ <Input
+ size="sm"
+ className="sm:w-64"
+ placeholder={t("settings:workspaceGeneral.namePlaceholder")}
+ disabled={!canEdit}
+ {...field}
+ />
+ </SettingsFormRow>
+ )}
+ />
+ <FormField
+ control={form.control}
+ name="description"
+ render={({ field }) => (
+ <SettingsFormRow
+ label={t("settings:workspaceGeneral.descriptionLabel")}
+ >
+ <Input
+ size="sm"
+ className="sm:w-64"
+ placeholder={t(
+ "settings:workspaceGeneral.descriptionPlaceholder",
+ )}
+ disabled={!canEdit}
+ {...field}
+ />
+ </SettingsFormRow>
+ )}
+ />
+ </SettingsCard>
+ </form>
+ </Form>
+ </SettingsSection>
+ );
+}
diff --git a/apps/web/src/components/settings/workspace-general/workspace-form-values.test.ts b/apps/web/src/components/settings/workspace-general/workspace-form-values.test.ts
new file mode 100644
index 000000000..450374487
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/workspace-form-values.test.ts
@@ -0,0 +1,35 @@
+import { describe, expect, it } from "vite-plus/test";
+import {
+ getWorkspaceDescription,
+ normalizeWorkspaceValues,
+} from "./workspace-form-values";
+
+describe("normalizeWorkspaceValues", () => {
+ it("trims the name and description", () => {
+ expect(
+ normalizeWorkspaceValues({ name: " Studio ", description: undefined }),
+ ).toEqual({ name: "Studio", description: "" });
+ });
+});
+
+describe("getWorkspaceDescription", () => {
+ it("prefers the description column", () => {
+ expect(
+ getWorkspaceDescription({
+ description: "Column",
+ metadata: { description: "Metadata" },
+ }),
+ ).toBe("Column");
+ });
+
+ it("falls back to the metadata description", () => {
+ expect(
+ getWorkspaceDescription({ metadata: { description: "Metadata" } }),
+ ).toBe("Metadata");
+ });
+
+ it("returns an empty string when nothing is set", () => {
+ expect(getWorkspaceDescription(undefined)).toBe("");
+ expect(getWorkspaceDescription({ metadata: null })).toBe("");
+ });
+});
diff --git a/apps/web/src/components/settings/workspace-general/workspace-form-values.ts b/apps/web/src/components/settings/workspace-general/workspace-form-values.ts
new file mode 100644
index 000000000..d3dcaffa3
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/workspace-form-values.ts
@@ -0,0 +1,40 @@
+export type WorkspaceFormValues = {
+ name: string;
+ description?: string;
+};
+
+export type NormalizedWorkspaceValues = {
+ name: string;
+ description: string;
+};
+
+export function normalizeWorkspaceValues(
+ data: WorkspaceFormValues,
+): NormalizedWorkspaceValues {
+ return {
+ name: data.name.trim(),
+ description: (data.description ?? "").trim(),
+ };
+}
+
+export function getWorkspaceDescription(
+ workspace:
+ | { description?: string | null; metadata?: unknown }
+ | null
+ | undefined,
+): string {
+ if (!workspace) return "";
+ if (typeof workspace.description === "string") {
+ return workspace.description;
+ }
+ if (
+ typeof workspace.metadata === "object" &&
+ workspace.metadata &&
+ "description" in workspace.metadata
+ ) {
+ return String(
+ (workspace.metadata as { description?: unknown }).description ?? "",
+ );
+ }
+ return "";
+}
diff --git a/apps/web/src/components/settings/workspace-general/workspace-general-page.test.tsx b/apps/web/src/components/settings/workspace-general/workspace-general-page.test.tsx
new file mode 100644
index 000000000..8d3efcdef
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/workspace-general-page.test.tsx
@@ -0,0 +1,142 @@
+import {
+ cleanup,
+ fireEvent,
+ render,
+ screen,
+ waitFor,
+} from "@testing-library/react";
+import {
+ afterEach,
+ beforeEach,
+ describe,
+ expect,
+ it,
+ vi,
+} from "vite-plus/test";
+import { WorkspaceGeneralPage } from "./workspace-general-page";
+
+const m = vi.hoisted(() => ({
+ update: vi.fn(),
+ success: vi.fn(),
+ error: vi.fn(),
+ isOwner: true,
+ canDelete: true,
+ members: [] as Array<{
+ id: string;
+ role: string;
+ userId: string;
+ user: { name: string; email: string; image: string | null };
+ }>,
+}));
+
+vi.mock("react-i18next", () => ({
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+vi.mock("@tanstack/react-router", () => ({ useNavigate: () => vi.fn() }));
+vi.mock("@tanstack/react-query", () => ({
+ useQueryClient: () => ({ invalidateQueries: vi.fn() }),
+}));
+vi.mock("@/components/page-title", () => ({ default: () => null }));
+vi.mock("@/components/providers/auth-provider/hooks/use-auth", () => ({
+ default: () => ({ user: { id: "u1" } }),
+}));
+vi.mock("@/hooks/queries/workspace/use-active-workspace", () => ({
+ default: () => ({
+ data: { id: "w1", name: "Studio", description: "", metadata: null },
+ }),
+}));
+vi.mock("@/hooks/queries/workspace/use-get-full-workspace", () => ({
+ default: () => ({ data: { members: m.members } }),
+}));
+vi.mock("@/hooks/use-workspace-permission", () => ({
+ useWorkspacePermission: () => ({
+ canManageWorkspace: () => true,
+ canDeleteWorkspace: () => m.canDelete,
+ isOwner: m.isOwner,
+ }),
+}));
+vi.mock("@/hooks/mutations/workspace/use-update-workspace", () => ({
+ default: () => ({ mutateAsync: m.update }),
+}));
+vi.mock("@/hooks/mutations/workspace/use-delete-workspace", () => ({
+ default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+}));
+vi.mock("@/hooks/mutations/workspace/use-transfer-workspace-ownership", () => ({
+ default: () => ({ mutateAsync: vi.fn(), isPending: false }),
+}));
+vi.mock("@/lib/toast", () => ({
+ toast: { success: m.success, error: m.error },
+}));
+
+const owner = {
+ id: "m1",
+ role: "owner",
+ userId: "u1",
+ user: { name: "Owner Person", email: "[email protected]", image: null },
+};
+
+describe("WorkspaceGeneralPage", () => {
+ afterEach(cleanup);
+
+ beforeEach(() => {
+ vi.clearAllMocks();
+ m.update.mockResolvedValue(undefined);
+ m.isOwner = true;
+ m.canDelete = true;
+ m.members = [owner];
+ });
+
+ it("shows the owner and the invite hint when nobody else can take over", () => {
+ render(<WorkspaceGeneralPage />);
+
+ expect(screen.getByText("Owner Person")).toBeTruthy();
+ expect(
+ screen.getByText(
+ "settings:workspaceGeneral.transferOwnership.noEligibleMembers",
+ ),
+ ).toBeTruthy();
+ expect(
+ screen.getByRole("button", {
+ name: "settings:workspaceGeneral.transferOwnership.button",
+ }),
+ ).toBeDisabled();
+ });
+
+ it("hides ownership and the danger zone from people without access", () => {
+ m.isOwner = false;
+ m.canDelete = false;
+ render(<WorkspaceGeneralPage />);
+
+ expect(
+ screen.queryByText("settings:workspaceGeneral.ownershipTitle"),
+ ).toBeNull();
+ expect(
+ screen.queryByText("settings:workspaceGeneral.dangerZone"),
+ ).toBeNull();
+ });
+
+ it("no longer carries the advanced settings switch", () => {
+ render(<WorkspaceGeneralPage />);
+
+ expect(screen.queryByText("settings:advancedSettings")).toBeNull();
+ });
+
+ it("saves the name without a success toast", async () => {
+ render(<WorkspaceGeneralPage />);
+
+ fireEvent.change(
+ screen.getByLabelText("settings:workspaceGeneral.nameLabel"),
+ { target: { value: "Studio North" } },
+ );
+
+ await waitFor(
+ () =>
+ expect(m.update).toHaveBeenCalledWith({
+ workspaceId: "w1",
+ name: "Studio North",
+ }),
+ { timeout: 3000 },
+ );
+ expect(m.success).not.toHaveBeenCalled();
+ });
+});
diff --git a/apps/web/src/components/settings/workspace-general/workspace-general-page.tsx b/apps/web/src/components/settings/workspace-general/workspace-general-page.tsx
new file mode 100644
index 000000000..2bce1a508
--- /dev/null
+++ b/apps/web/src/components/settings/workspace-general/workspace-general-page.tsx
@@ -0,0 +1,64 @@
+import { useTranslation } from "react-i18next";
+import PageTitle from "@/components/page-title";
+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
+import { AutosaveNote } from "@/components/settings/autosave-note";
+import { SettingsPage } from "@/components/settings/settings-page";
+import { OwnershipSection } from "@/components/settings/workspace-general/ownership-section";
+import { useWorkspaceAutosave } from "@/components/settings/workspace-general/use-workspace-autosave";
+import { WorkspaceDangerZone } from "@/components/settings/workspace-general/workspace-danger-zone";
+import { WorkspaceDetailsSection } from "@/components/settings/workspace-general/workspace-details-section";
+import { getWorkspaceDescription } from "@/components/settings/workspace-general/workspace-form-values";
+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";
+import useGetFullWorkspace from "@/hooks/queries/workspace/use-get-full-workspace";
+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
+
+export function WorkspaceGeneralPage() {
+ const { t } = useTranslation();
+ const { user: currentUser } = useAuth();
+ const { data: workspace } = useActiveWorkspace();
+ const { data: fullWorkspace } = useGetFullWorkspace({
+ workspaceId: workspace?.id,
+ });
+ const { canManageWorkspace, canDeleteWorkspace, isOwner } =
+ useWorkspacePermission();
+ const canEdit = canManageWorkspace();
+ const canDelete = canDeleteWorkspace();
+ const workspaceName = workspace?.name ?? "";
+ const form = useWorkspaceAutosave({
+ workspaceId: workspace?.id,
+ name: workspace?.name,
+ description: getWorkspaceDescription(workspace),
+ canEdit,
+ });
+
+ return (
+ <>
+ <PageTitle title={t("settings:workspaceGeneral.pageTitle")} />
+ <SettingsPage
+ title={t("settings:workspaceGeneral.title")}
+ description={
+ workspaceName
+ ? t("settings:workspaceGeneral.subtitle", { name: workspaceName })
+ : undefined
+ }
+ actions={canEdit ? <AutosaveNote /> : undefined}
+ >
+ <WorkspaceDetailsSection form={form} canEdit={canEdit} />
+ {isOwner ? (
+ <OwnershipSection
+ workspaceId={workspace?.id}
+ workspaceName={workspaceName}
+ members={fullWorkspace?.members ?? []}
+ currentUserId={currentUser?.id}
+ />
+ ) : null}
+ {canDelete ? (
+ <WorkspaceDangerZone
+ workspaceId={workspace?.id}
+ workspaceName={workspaceName}
+ />
+ ) : null}
+ </SettingsPage>
+ </>
+ );
+}
diff --git a/apps/web/src/components/ui/input-group.tsx b/apps/web/src/components/ui/input-group.tsx
index b8b9691ae..1c3bbe707 100644
--- a/apps/web/src/components/ui/input-group.tsx
+++ b/apps/web/src/components/ui/input-group.tsx
@@ -10,7 +10,7 @@ function InputGroup({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
className={cn(
- "relative inline-flex w-full min-w-0 items-center rounded-lg border border-input bg-background not-dark:bg-clip-padding text-base text-foreground shadow-xs/5 ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-[input:disabled,textarea:disabled]:not-has-[input:focus-visible,textarea:focus-visible]:not-has-[input[aria-invalid],textarea[aria-invalid]]:before:shadow-[0_1px_--theme(--color-black/4%)] has-[input:focus-visible,textarea:focus-visible]:has-[input[aria-invalid],textarea[aria-invalid]]:border-destructive/64 has-[input:focus-visible,textarea:focus-visible]:has-[input[aria-invalid],textarea[aria-invalid]]:ring-destructive/16 has-[textarea]:h-auto has-data-[align=block-end]:h-auto has-data-[align=block-start]:h-auto has-data-[align=block-end]:flex-col has-data-[align=block-start]:flex-col has-[input:focus-visible,textarea:focus-visible]:border-ring has-[input[aria-invalid],textarea[aria-invalid]]:border-destructive/36 has-autofill:bg-foreground/4 has-[input:disabled,textarea:disabled]:opacity-64 has-[input:disabled,textarea:disabled,input:focus-visible,textarea:focus-visible,input[aria-invalid],textarea[aria-invalid]]:shadow-none has-[input:focus-visible,textarea:focus-visible]:ring-[3px] sm:text-sm dark:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-[input[aria-invalid],textarea[aria-invalid]]:ring-destructive/24 dark:not-has-[input:disabled,textarea:disabled]:not-has-[input:focus-visible,textarea:focus-visible]:not-has-[input[aria-invalid],textarea[aria-invalid]]:before:shadow-[0_-1px_--theme(--color-white/6%)] has-data-[align=inline-start]:**:[[data-size=sm]_input]:ps-1.5 has-data-[align=inline-end]:**:[[data-size=sm]_input]:pe-1.5 *:[[data-slot=input-control],[data-slot=textarea-control]]:contents *:[[data-slot=input-control],[data-slot=textarea-control]]:before:hidden has-[[data-align=block-start],[data-align=block-end]]:**:[input]:h-auto has-data-[align=inline-start]:**:[input]:ps-2 has-data-[align=inline-end]:**:[input]:pe-2 has-data-[align=block-end]:**:[input]:pt-1.5 has-data-[align=block-start]:**:[input]:pb-1.5 **:[textarea]:min-h-20.5 **:[textarea]:resize-none **:[textarea]:py-[calc(--spacing(3)-1px)] **:[textarea]:max-sm:min-h-23.5 **:[textarea_button]:rounded-[calc(var(--radius-md)-1px)]",
+ "relative inline-flex w-full min-w-0 items-center rounded-lg border border-input bg-background not-dark:bg-clip-padding text-base text-foreground shadow-xs/5 ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-has-[input:disabled,textarea:disabled]:not-has-[input:focus-visible,textarea:focus-visible]:not-has-[input[aria-invalid=true],textarea[aria-invalid=true]]:before:shadow-[0_1px_--theme(--color-black/4%)] has-[input:focus-visible,textarea:focus-visible]:has-[input[aria-invalid=true],textarea[aria-invalid=true]]:border-destructive/64 has-[input:focus-visible,textarea:focus-visible]:has-[input[aria-invalid=true],textarea[aria-invalid=true]]:ring-destructive/16 has-[textarea]:h-auto has-data-[align=block-end]:h-auto has-data-[align=block-start]:h-auto has-data-[align=block-end]:flex-col has-data-[align=block-start]:flex-col has-[input:focus-visible,textarea:focus-visible]:border-ring has-[input[aria-invalid=true],textarea[aria-invalid=true]]:border-destructive/36 has-autofill:bg-foreground/4 has-[input:disabled,textarea:disabled]:opacity-64 has-[input:disabled,textarea:disabled,input:focus-visible,textarea:focus-visible,input[aria-invalid=true],textarea[aria-invalid=true]]:shadow-none has-[input:focus-visible,textarea:focus-visible]:ring-[3px] sm:text-sm dark:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-[input[aria-invalid=true],textarea[aria-invalid=true]]:ring-destructive/24 dark:not-has-[input:disabled,textarea:disabled]:not-has-[input:focus-visible,textarea:focus-visible]:not-has-[input[aria-invalid=true],textarea[aria-invalid=true]]:before:shadow-[0_-1px_--theme(--color-white/6%)] has-data-[align=inline-start]:**:[[data-size=sm]_input]:ps-1.5 has-data-[align=inline-end]:**:[[data-size=sm]_input]:pe-1.5 *:[[data-slot=input-control],[data-slot=textarea-control]]:contents *:[[data-slot=input-control],[data-slot=textarea-control]]:before:hidden has-[[data-align=block-start],[data-align=block-end]]:**:[input]:h-auto has-data-[align=inline-start]:**:[input]:ps-2 has-data-[align=inline-end]:**:[input]:pe-2 has-data-[align=block-end]:**:[input]:pt-1.5 has-data-[align=block-start]:**:[input]:pb-1.5 **:[textarea]:min-h-20.5 **:[textarea]:resize-none **:[textarea]:py-[calc(--spacing(3)-1px)] **:[textarea]:max-sm:min-h-23.5 **:[textarea_button]:rounded-[calc(var(--radius-md)-1px)]",
className,
)}
data-slot="input-group"
diff --git a/apps/web/src/fetchers/custom-field/update-custom-field.ts b/apps/web/src/fetchers/custom-field/update-custom-field.ts
new file mode 100644
index 000000000..22d1cf85e
--- /dev/null
+++ b/apps/web/src/fetchers/custom-field/update-custom-field.ts
@@ -0,0 +1,22 @@
+import { client } from "@kaneo/libs";
+import type { InferRequestType } from "hono/client";
+import { HttpError } from "@/lib/http-error";
+
+export type UpdateCustomFieldRequest = InferRequestType<
+ (typeof client)["custom-field"][":id"]["$put"]
+>["json"];
+
+async function updateCustomField(id: string, json: UpdateCustomFieldRequest) {
+ const response = await client["custom-field"][":id"].$put({
+ param: { id },
+ json,
+ });
+
+ if (!response.ok) {
+ throw await HttpError.fromResponse(response);
+ }
+
+ return response.json();
+}
+
+export default updateCustomField;
diff --git a/apps/web/src/fetchers/gitea-integration/get-gitea-integration.ts b/apps/web/src/fetchers/gitea-integration/get-gitea-integration.ts
index 0ca0ffde4..e574afc3d 100644
--- a/apps/web/src/fetchers/gitea-integration/get-gitea-integration.ts
+++ b/apps/web/src/fetchers/gitea-integration/get-gitea-integration.ts
@@ -17,4 +17,8 @@ async function getGiteaIntegration(projectId: string) {
return data;
}
+export type GiteaIntegration = NonNullable<
+ Awaited<ReturnType<typeof getGiteaIntegration>>
+>;
+
export default getGiteaIntegration;
diff --git a/apps/web/src/fetchers/github-integration/get-github-integration.ts b/apps/web/src/fetchers/github-integration/get-github-integration.ts
index 5b79b3462..359f69754 100644
--- a/apps/web/src/fetchers/github-integration/get-github-integration.ts
+++ b/apps/web/src/fetchers/github-integration/get-github-integration.ts
@@ -17,4 +17,8 @@ async function getGithubIntegration(projectId: string) {
return data;
}
+export type GithubIntegration = NonNullable<
+ Awaited<ReturnType<typeof getGithubIntegration>>
+>;
+
export default getGithubIntegration;
diff --git a/apps/web/src/fetchers/github-integration/list-repositories.ts b/apps/web/src/fetchers/github-integration/list-repositories.ts
index 16eb8cef2..aaa357d41 100644
--- a/apps/web/src/fetchers/github-integration/list-repositories.ts
+++ b/apps/web/src/fetchers/github-integration/list-repositories.ts
@@ -7,15 +7,24 @@ export type ListRepositoriesResponse = InferResponseType<
200
>;
+export type GithubRepository = ListRepositoriesResponse["repositories"][number];
+
export type RepositoryPage = {
installationPage: number;
repositoryPage: number;
};
+export const FIRST_REPOSITORY_PAGE: RepositoryPage = {
+ installationPage: 1,
+ repositoryPage: 1,
+};
+
async function listRepositories(
projectId: string,
- page: RepositoryPage = { installationPage: 1, repositoryPage: 1 },
+ page: RepositoryPage = FIRST_REPOSITORY_PAGE,
+ search?: string,
): Promise<ListRepositoriesResponse> {
+ const term = search?.trim();
const response = await client["github-integration"].repositories[
":projectId"
].$get({
@@ -23,6 +32,7 @@ async function listRepositories(
query: {
installationPage: String(page.installationPage),
repositoryPage: String(page.repositoryPage),
+ ...(term ? { search: term } : {}),
},
});
@@ -30,8 +40,7 @@ async function listRepositories(
throw await HttpError.fromResponse(response);
}
- const result = await response.json();
- return result;
+ return response.json();
}
export default listRepositories;
diff --git a/apps/web/src/fetchers/gitlab-integration/get-gitlab-integration.ts b/apps/web/src/fetchers/gitlab-integration/get-gitlab-integration.ts
index 06121eeb7..18a41c0c7 100644
--- a/apps/web/src/fetchers/gitlab-integration/get-gitlab-integration.ts
+++ b/apps/web/src/fetchers/gitlab-integration/get-gitlab-integration.ts
@@ -16,4 +16,8 @@ async function getGitlabIntegration(projectId: string) {
return data;
}
+export type GitlabIntegration = NonNullable<
+ Awaited<ReturnType<typeof getGitlabIntegration>>
+>;
+
export default getGitlabIntegration;
diff --git a/apps/web/src/hooks/mutations/custom-field/use-reorder-custom-field.ts b/apps/web/src/hooks/mutations/custom-field/use-reorder-custom-field.ts
index e679acb02..b94d36d66 100644
--- a/apps/web/src/hooks/mutations/custom-field/use-reorder-custom-field.ts
+++ b/apps/web/src/hooks/mutations/custom-field/use-reorder-custom-field.ts
@@ -12,8 +12,6 @@ export function useReorderCustomFields() {
projectId: string;
fields: Array<{ id: string; position: number }>;
}) => reorderCustomFields(projectId, fields),
- onSuccess: () => {
- void queryClient.invalidateQueries({ refetchType: "all" });
- },
+ onSuccess: () => queryClient.invalidateQueries({ refetchType: "all" }),
});
}
diff --git a/apps/web/src/hooks/mutations/custom-field/use-update-custom-field.ts b/apps/web/src/hooks/mutations/custom-field/use-update-custom-field.ts
new file mode 100644
index 000000000..4f8033775
--- /dev/null
+++ b/apps/web/src/hooks/mutations/custom-field/use-update-custom-field.ts
@@ -0,0 +1,39 @@
+import { useMutation, useQueryClient } from "@tanstack/react-query";
+import updateCustomField, {
+ type UpdateCustomFieldRequest,
+} from "@/fetchers/custom-field/update-custom-field";
+
+function useUpdateCustomField(projectId: string) {
+ const queryClient = useQueryClient();
+
+ return useMutation({
+ mutationFn: ({
+ id,
+ data,
+ }: {
+ id: string;
+ data: UpdateCustomFieldRequest;
+ }) => updateCustomField(id, data),
+ onSuccess: (updated) => {
+ queryClient.setQueryData(
+ ["custom-fields", projectId],
+ (existing: Array<typeof updated> | undefined) =>
+ existing?.map((field) => (field.id === updated.id ? updated : field)),
+ );
+
+ return Promise.all([
+ queryClient.invalidateQueries({
+ queryKey: ["custom-fields", projectId],
+ }),
+ queryClient.invalidateQueries({ queryKey: ["custom-field-values"] }),
+ queryClient.invalidateQueries({
+ queryKey: ["custom-field-filter-values", projectId],
+ }),
+ queryClient.invalidateQueries({ queryKey: ["tasks", projectId] }),
+ queryClient.invalidateQueries({ queryKey: ["task"] }),
+ ]);
+ },
+ });
+}
+
+export default useUpdateCustomField;
diff --git a/apps/web/src/hooks/mutations/notification-preferences/use-notification-preferences.ts b/apps/web/src/hooks/mutations/notification-preferences/use-notification-preferences.ts
index 57087b443..d8f71227b 100644
--- a/apps/web/src/hooks/mutations/notification-preferences/use-notification-preferences.ts
+++ b/apps/web/src/hooks/mutations/notification-preferences/use-notification-preferences.ts
@@ -9,17 +9,24 @@ import upsertNotificationWorkspaceRule, {
} from "@/fetchers/notification-preferences/upsert-notification-workspace-rule";
import { toast } from "@/lib/toast";
-export function useUpdateNotificationPreferences() {
+export function useUpdateNotificationPreferences({
+ silent = false,
+}: { silent?: boolean } = {}) {
const queryClient = useQueryClient();
return useMutation({
mutationFn: (json: UpdateNotificationPreferencesRequest) =>
updateNotificationPreferences(json),
- onSuccess: () => {
+ onSuccess: (preferences) => {
+ queryClient.setQueryData(["notification-preferences"], preferences);
void queryClient.invalidateQueries({
queryKey: ["notification-preferences"],
});
- toast.success(i18n.t("settings:notificationsPage.toastPreferencesSaved"));
+ if (!silent) {
+ toast.success(
+ i18n.t("settings:notificationsPage.toastPreferencesSaved"),
+ );
+ }
},
onError: (error) => {
toast.error(
@@ -42,7 +49,8 @@ export function useUpsertNotificationWorkspaceRule() {
workspaceId: string;
json: UpsertNotificationWorkspaceRuleRequest;
}) => upsertNotificationWorkspaceRule(workspaceId, json),
- onSuccess: () => {
+ onSuccess: (preferences) => {
+ queryClient.setQueryData(["notification-preferences"], preferences);
void queryClient.invalidateQueries({
queryKey: ["notification-preferences"],
});
@@ -64,7 +72,8 @@ export function useDeleteNotificationWorkspaceRule() {
return useMutation({
mutationFn: (workspaceId: string) =>
deleteNotificationWorkspaceRule(workspaceId),
- onSuccess: () => {
+ onSuccess: (preferences) => {
+ queryClient.setQueryData(["notification-preferences"], preferences);
void queryClient.invalidateQueries({
queryKey: ["notification-preferences"],
});
diff --git a/apps/web/src/hooks/mutations/workflow-rule/use-delete-workflow-rule.ts b/apps/web/src/hooks/mutations/workflow-rule/use-delete-workflow-rule.ts
index 578b2940c..2ca39ab73 100644
--- a/apps/web/src/hooks/mutations/workflow-rule/use-delete-workflow-rule.ts
+++ b/apps/web/src/hooks/mutations/workflow-rule/use-delete-workflow-rule.ts
@@ -7,10 +7,9 @@ export function useDeleteWorkflowRule() {
return useMutation({
mutationFn: ({ id }: { id: string; projectId: string }) =>
deleteWorkflowRule(id),
- onSuccess: (_, variables) => {
+ onSuccess: (_, variables) =>
queryClient.invalidateQueries({
queryKey: ["workflow-rules", variables.projectId],
- });
- },
+ }),
});
}
diff --git a/apps/web/src/hooks/mutations/workflow-rule/use-upsert-workflow-rule.ts b/apps/web/src/hooks/mutations/workflow-rule/use-upsert-workflow-rule.ts
index c30956b68..401eaff3a 100644
--- a/apps/web/src/hooks/mutations/workflow-rule/use-upsert-workflow-rule.ts
+++ b/apps/web/src/hooks/mutations/workflow-rule/use-upsert-workflow-rule.ts
@@ -12,10 +12,9 @@ export function useUpsertWorkflowRule() {
projectId: string;
data: { integrationType: string; eventType: string; columnId: string };
}) => upsertWorkflowRule(projectId, data),
- onSuccess: (_, variables) => {
+ onSuccess: (_, variables) =>
queryClient.invalidateQueries({
queryKey: ["workflow-rules", variables.projectId],
- });
- },
+ }),
});
}
diff --git a/apps/web/src/routeTree.gen.ts b/apps/web/src/routeTree.gen.ts
index 166156d6f..799334048 100644
--- a/apps/web/src/routeTree.gen.ts
+++ b/apps/web/src/routeTree.gen.ts
@@ -59,6 +59,7 @@ import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMyTasksRouteIm
import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectsRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/projects'
import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar'
+import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields'
import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general'
import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'
import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility'
@@ -356,6 +357,14 @@ const LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute =
getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,
} as any,
)
+const LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute =
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRouteImport.update(
+ {
+ id: '/$projectId/custom-fields',
+ path: '/$projectId/custom-fields',
+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,
+ } as any,
+ )
const LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute =
LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport.update(
{
@@ -492,6 +501,7 @@ export interface FileRoutesByFullPath {
'/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute
'/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute
'/dashboard/settings/projects/$projectId/calendar': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute
+ '/dashboard/settings/projects/$projectId/custom-fields': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute
'/dashboard/settings/projects/$projectId/general': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute
'/dashboard/settings/projects/$projectId/integrations': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute
'/dashboard/settings/projects/$projectId/visibility': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute
@@ -549,6 +559,7 @@ export interface FileRoutesByTo {
'/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute
'/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute
'/dashboard/settings/projects/$projectId/calendar': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute
+ '/dashboard/settings/projects/$projectId/custom-fields': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute
'/dashboard/settings/projects/$projectId/general': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute
'/dashboard/settings/projects/$projectId/integrations': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute
'/dashboard/settings/projects/$projectId/visibility': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute
@@ -612,6 +623,7 @@ export interface FileRoutesById {
'/_layout/_authenticated/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute
'/_layout/_authenticated/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute
'/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute
+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute
'/_layout/_authenticated/dashboard/settings/projects/$projectId/general': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute
'/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute
'/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute
@@ -674,6 +686,7 @@ export interface FileRouteTypes {
| '/dashboard/workspace/$workspaceId/search'
| '/dashboard/workspace/$workspaceId/'
| '/dashboard/settings/projects/$projectId/calendar'
+ | '/dashboard/settings/projects/$projectId/custom-fields'
| '/dashboard/settings/projects/$projectId/general'
| '/dashboard/settings/projects/$projectId/integrations'
| '/dashboard/settings/projects/$projectId/visibility'
@@ -731,6 +744,7 @@ export interface FileRouteTypes {
| '/dashboard/workspace/$workspaceId/search'
| '/dashboard/workspace/$workspaceId'
| '/dashboard/settings/projects/$projectId/calendar'
+ | '/dashboard/settings/projects/$projectId/custom-fields'
| '/dashboard/settings/projects/$projectId/general'
| '/dashboard/settings/projects/$projectId/integrations'
| '/dashboard/settings/projects/$projectId/visibility'
@@ -793,6 +807,7 @@ export interface FileRouteTypes {
| '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'
| '/_layout/_authenticated/dashboard/workspace/$workspaceId/'
| '/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar'
+ | '/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields'
| '/_layout/_authenticated/dashboard/settings/projects/$projectId/general'
| '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'
| '/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility'
@@ -1168,6 +1183,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRouteImport
parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute
}
+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields': {
+ id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields'
+ path: '/$projectId/custom-fields'
+ fullPath: '/dashboard/settings/projects/$projectId/custom-fields'
+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRouteImport
+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute
+ }
'/_layout/_authenticated/dashboard/settings/projects/$projectId/general': {
id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/general'
path: '/$projectId/general'
@@ -1288,6 +1310,7 @@ const LayoutAuthenticatedDashboardSettingsAdminRouteWithChildren =
interface LayoutAuthenticatedDashboardSettingsProjectsRouteChildren {
LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute
LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute
LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute
LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute
@@ -1298,6 +1321,8 @@ const LayoutAuthenticatedDashboardSettingsProjectsRouteChildren: LayoutAuthentic
{
LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute:
LayoutAuthenticatedDashboardSettingsProjectsProjectIdCalendarRoute,
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute:
+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdCustomFieldsRoute,
LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute:
LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute,
LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute:
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/developer.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/developer.tsx
index 3e61abed4..df136f239 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/developer.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/developer.tsx
@@ -1,24 +1,7 @@
import { createFileRoute } from "@tanstack/react-router";
-import { KeyRound, Plus } from "lucide-react";
-import { useState } from "react";
import { useTranslation } from "react-i18next";
import PageTitle from "@/components/page-title";
-import { ApiKeyCreatedModal } from "@/components/settings/api-key-created-modal";
-import { ApiKeyTable } from "@/components/settings/api-key-table";
-import { CreateApiKeyDialog } from "@/components/settings/create-api-key-dialog";
-import { Button } from "@/components/ui/button";
-import {
- Card,
- CardAction,
- CardDescription,
- CardFrame,
- CardHeader,
- CardPanel,
- CardTitle,
-} from "@/components/ui/card";
-import useGetApiKeys from "@/hooks/queries/use-get-api-keys";
-import type { CreateApiKeyResponse } from "@/types/api-key";
-import { SettingsPage } from "@/components/settings/settings-page";
+import { ApiKeysSettings } from "@/components/settings/api-keys/api-keys-settings";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/account/developer",
@@ -28,75 +11,11 @@ export const Route = createFileRoute(
function RouteComponent() {
const { t } = useTranslation();
- const { data: apiKeys = [], isLoading } = useGetApiKeys();
- const [createDialogOpen, setCreateDialogOpen] = useState(false);
- const [createdKey, setCreatedKey] = useState<{
- key: string;
- name: string;
- } | null>(null);
-
- const handleCreateSuccess = (data: CreateApiKeyResponse) => {
- setCreatedKey({
- key: data.key,
- name: data.name || t("settings:developerPage.unnamedKey"),
- });
- };
-
- const handleCreatedModalClose = () => {
- setCreatedKey(null);
- };
return (
<>
<PageTitle title={t("settings:developerPage.pageTitle")} />
- <SettingsPage
- title={t("settings:developerPage.title")}
- description={t("settings:developerPage.subtitle")}
- >
- <CardFrame>
- <Card className="!rounded-none !border-t-0">
- <CardHeader>
- <CardTitle className="inline-flex items-center gap-2 text-base">
- <KeyRound className="size-4" />
- {t("settings:developerPage.apiKeysCardTitle")}
- </CardTitle>
- <CardDescription>
- {t("settings:developerPage.apiKeysCardDescription")}
- </CardDescription>
- <CardAction>
- <Button
- onClick={() => setCreateDialogOpen(true)}
- className="gap-2"
- >
- <Plus className="size-4" />
- {t("settings:developerPage.createApiKey")}
- </Button>
- </CardAction>
- </CardHeader>
- </Card>
-
- <Card className="!rounded-none">
- <CardPanel className="p-4">
- <ApiKeyTable apiKeys={apiKeys} isLoading={isLoading} />
- </CardPanel>
- </Card>
- </CardFrame>
- </SettingsPage>
-
- <CreateApiKeyDialog
- open={createDialogOpen}
- onClose={() => setCreateDialogOpen(false)}
- onSuccess={handleCreateSuccess}
- />
-
- {createdKey && (
- <ApiKeyCreatedModal
- apiKey={createdKey.key}
- keyName={createdKey.name}
- open={true}
- onClose={handleCreatedModalClose}
- />
- )}
+ <ApiKeysSettings />
</>
);
}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/information.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/information.tsx
index aeea4ddb4..bcfec9c86 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/information.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/information.tsx
@@ -1,500 +1,8 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { useQueryClient } from "@tanstack/react-query";
-import { createFileRoute, useNavigate } from "@tanstack/react-router";
-import { Loader2, Pencil, X } from "lucide-react";
-import { useCallback, useEffect, useRef, useState } from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod";
-import PageTitle from "@/components/page-title";
-import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
-import {
- AlertDialog,
- AlertDialogClose,
- AlertDialogContent,
- AlertDialogDescription,
- AlertDialogFooter,
- AlertDialogHeader,
- AlertDialogTitle,
-} from "@/components/ui/alert-dialog";
-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import {
- DropdownMenu,
- DropdownMenuContent,
- DropdownMenuItem,
- DropdownMenuTrigger,
-} from "@/components/ui/menu";
-import { Separator } from "@/components/ui/separator";
-import useDeleteAccount, {
- SESSION_TOO_OLD,
-} from "@/hooks/mutations/use-delete-account";
-import useRemoveUserAvatar from "@/hooks/mutations/use-remove-user-avatar";
-import useUpdateUserAvatar from "@/hooks/mutations/use-update-user-avatar";
-import useUpdateUserProfile from "@/hooks/mutations/use-update-user-profile";
-import { getInitials } from "@/lib/get-initials";
-import { ACCEPTED_AVATAR_TYPES } from "@/lib/prepare-avatar-image";
-import { toast } from "@/lib/toast";
-import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { createFileRoute } from "@tanstack/react-router";
+import { ProfilePage } from "@/components/settings/profile/profile-page";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/account/information",
)({
- component: RouteComponent,
+ component: ProfilePage,
});
-
-type ProfileFormValues = {
- name: string;
- email: string;
-};
-
-type NormalizedProfileValues = {
- name: string;
- email: string;
-};
-
-function normalizeProfileValues(
- data: ProfileFormValues,
-): NormalizedProfileValues {
- return {
- name: data.name.trim(),
- email: data.email,
- };
-}
-
-function RouteComponent() {
- const { t } = useTranslation();
- const { user, refetchUser } = useAuth();
- const queryClient = useQueryClient();
- const navigate = useNavigate();
- const { mutateAsync: updateProfile } = useUpdateUserProfile();
- const { mutateAsync: updateAvatar, isPending: isUploadingAvatar } =
- useUpdateUserAvatar();
- const { mutateAsync: removeAvatar, isPending: isRemovingAvatar } =
- useRemoveUserAvatar();
- const { mutateAsync: deleteAccount, isPending: isDeletingAccount } =
- useDeleteAccount();
- const avatarInputRef = useRef<HTMLInputElement>(null);
- const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);
- const [deleteConfirmation, setDeleteConfirmation] = useState("");
- const canConfirmDelete =
- Boolean(user?.email) &&
- deleteConfirmation.trim().toLowerCase() === user?.email.toLowerCase();
- const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);
- const isSavingRef = useRef(false);
- const queuedSaveRef = useRef<ProfileFormValues | null>(null);
- const lastSavedRef = useRef<NormalizedProfileValues | null>(null);
- const profileSchema = z.object({
- name: z
- .string()
- .min(1, t("settings:informationPage.validation.nameRequired"))
- .min(2, t("settings:informationPage.validation.nameShort")),
- email: z
- .string()
- .email(t("settings:informationPage.validation.invalidEmail")),
- });
-
- const profileForm = useForm<ProfileFormValues>({
- resolver: standardSchemaResolver(profileSchema),
- mode: "onChange",
- defaultValues: {
- name: user?.name || "",
- email: user?.email || "",
- },
- });
-
- useEffect(() => {
- if (!user) return;
-
- const nextValues = {
- name: user.name || "",
- email: user.email || "",
- };
- lastSavedRef.current = normalizeProfileValues(nextValues);
-
- if (!profileForm.formState.isDirty) {
- profileForm.reset(nextValues);
- }
- }, [user, profileForm]);
-
- const saveProfile = useCallback(
- async (data: ProfileFormValues) => {
- const normalizedData = normalizeProfileValues(data);
-
- if (lastSavedRef.current?.name === normalizedData.name) {
- return;
- }
-
- if (isSavingRef.current) {
- queuedSaveRef.current = data;
- return;
- }
-
- isSavingRef.current = true;
-
- try {
- await updateProfile({
- name: normalizedData.name,
- });
-
- profileForm.reset(normalizedData, { keepDirty: false });
- lastSavedRef.current = normalizedData;
- queuedSaveRef.current = null;
-
- await refetchUser();
- toast.success(t("settings:informationPage.updateSuccess"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:informationPage.updateError"),
- );
- } finally {
- isSavingRef.current = false;
-
- if (queuedSaveRef.current) {
- const queuedData = queuedSaveRef.current;
- queuedSaveRef.current = null;
- await saveProfile(queuedData);
- }
- }
- },
- [t, updateProfile, refetchUser, profileForm],
- );
-
- const handleAvatarSelected = useCallback(
- async (event: React.ChangeEvent<HTMLInputElement>) => {
- const file = event.target.files?.[0];
- event.target.value = "";
-
- if (!file) return;
-
- try {
- await updateAvatar(file);
- await refetchUser();
- toast.success(t("settings:informationPage.avatar.updateSuccess"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:informationPage.avatar.updateError"),
- );
- }
- },
- [updateAvatar, refetchUser, t],
- );
-
- const handleAvatarRemoved = useCallback(async () => {
- try {
- await removeAvatar();
- await refetchUser();
- toast.success(t("settings:informationPage.avatar.removeSuccess"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:informationPage.avatar.removeError"),
- );
- }
- }, [removeAvatar, refetchUser, t]);
-
- const handleDeleteAccount = useCallback(async () => {
- try {
- await deleteAccount();
- setIsDeleteModalOpen(false);
- queryClient.clear();
- toast.success(t("settings:informationPage.deleteAccount.success"));
- navigate({ to: "/auth/sign-in" });
- } catch (error) {
- if (error instanceof Error && error.message === SESSION_TOO_OLD) {
- toast.error(t("settings:informationPage.deleteAccount.sessionTooOld"));
- return;
- }
-
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:informationPage.deleteAccount.error"),
- );
- }
- }, [deleteAccount, queryClient, navigate, t]);
-
- const debouncedSave = useCallback(
- (data: ProfileFormValues) => {
- if (debounceTimeoutRef.current) {
- clearTimeout(debounceTimeoutRef.current);
- }
-
- debounceTimeoutRef.current = setTimeout(() => {
- saveProfile(data);
- }, 1000);
- },
- [saveProfile],
- );
-
- useEffect(() => {
- const subscription = profileForm.watch(() => {
- if (profileForm.formState.isDirty && profileForm.formState.isValid) {
- debouncedSave(profileForm.getValues());
- }
- });
-
- return () => subscription.unsubscribe();
- }, [profileForm, debouncedSave]);
-
- useEffect(() => {
- return () => {
- if (debounceTimeoutRef.current) {
- clearTimeout(debounceTimeoutRef.current);
- }
- };
- }, []);
-
- return (
- <>
- <PageTitle title={t("settings:informationPage.pageTitle")} />
- <SettingsPage
- title={t("settings:informationPage.title")}
- description={t("settings:informationPage.subtitle")}
- >
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:informationPage.sectionTitle")}
- description={t("settings:informationPage.sectionSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:informationPage.profilePicture")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:informationPage.avatar.hint")}
- </p>
- </div>
- <div className="flex items-center gap-3">
- <input
- ref={avatarInputRef}
- type="file"
- accept={ACCEPTED_AVATAR_TYPES}
- className="hidden"
- onChange={handleAvatarSelected}
- />
- <DropdownMenu>
- <DropdownMenuTrigger
- render={
- <button
- type="button"
- aria-label={t("settings:informationPage.avatar.edit")}
- disabled={isUploadingAvatar || isRemovingAvatar}
- className="group relative rounded-full outline-none transition-transform duration-150 ease-out active:scale-97 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-sidebar"
- />
- }
- >
- <Avatar className="h-10 w-10">
- <AvatarImage
- src={user?.image ?? ""}
- alt={user?.name || ""}
- />
- <AvatarFallback className="text-xs font-medium border border-border/30">
- {getInitials(user?.name)}
- </AvatarFallback>
- </Avatar>
- <span className="pointer-events-none absolute inset-0 flex items-center justify-center rounded-full bg-black/55 text-white opacity-0 transition-opacity duration-150 ease-out group-hover:opacity-100 group-focus-visible:opacity-100 group-data-[popup-open]:opacity-100 group-disabled:opacity-100">
- {isUploadingAvatar || isRemovingAvatar ? (
- <Loader2 className="size-4 animate-spin" />
- ) : (
- <Pencil className="size-3.5" />
- )}
- </span>
- </DropdownMenuTrigger>
- <DropdownMenuContent align="end" side="bottom">
- <DropdownMenuItem
- onClick={() => avatarInputRef.current?.click()}
- >
- <Pencil />
- {t("settings:informationPage.avatar.change")}
- </DropdownMenuItem>
- {user?.image ? (
- <DropdownMenuItem onClick={handleAvatarRemoved}>
- <X />
- {t("settings:informationPage.avatar.remove")}
- </DropdownMenuItem>
- ) : null}
- </DropdownMenuContent>
- </DropdownMenu>
- </div>
- </div>
-
- <Separator />
-
- <Form {...profileForm}>
- <form className="space-y-4">
- <FormField
- control={profileForm.control}
- name="name"
- render={({ field }) => (
- <FormItem>
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:informationPage.fullName")}
- </FormLabel>
- </div>
- <FormControl>
- <Input
- className="w-full sm:w-48"
- placeholder={t(
- "settings:informationPage.fullNamePlaceholder",
- )}
- {...field}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={profileForm.control}
- name="email"
- render={({ field }) => (
- <FormItem>
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:informationPage.email")}
- </FormLabel>
- </div>
- <FormControl>
- <Input
- className="w-full sm:w-48"
- placeholder={t(
- "settings:informationPage.emailPlaceholder",
- )}
- {...field}
- disabled
- value={user?.email || ""}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
- </form>
- </Form>
- </div>
- </div>
-
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:informationPage.deleteAccount.sectionTitle")}
- description={t(
- "settings:informationPage.deleteAccount.sectionSubtitle",
- )}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col items-start gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:informationPage.deleteAccount.title")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:informationPage.deleteAccount.description")}
- </p>
- </div>
- <Button
- variant="ghost"
- size="sm"
- className="text-destructive hover:text-destructive transition-colors shrink-0"
- type="button"
- onClick={() => setIsDeleteModalOpen(true)}
- >
- {t("settings:informationPage.deleteAccount.title")}
- </Button>
- </div>
- </div>
- </div>
-
- <AlertDialog
- open={isDeleteModalOpen}
- onOpenChange={(open) => {
- setIsDeleteModalOpen(open);
- if (!open) setDeleteConfirmation("");
- }}
- >
- <AlertDialogContent>
- <AlertDialogHeader>
- <AlertDialogTitle>
- {t("settings:informationPage.deleteAccount.modalTitle")}
- </AlertDialogTitle>
- <AlertDialogDescription>
- {t("settings:informationPage.deleteAccount.modalDescription", {
- email: user?.email ?? "",
- })}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <div className="space-y-2 px-6 pb-5">
- <Label htmlFor="delete-account-confirmation">
- {t("settings:informationPage.deleteAccount.confirmLabel", {
- email: user?.email ?? "",
- })}
- </Label>
- <Input
- id="delete-account-confirmation"
- autoComplete="off"
- autoCapitalize="none"
- spellCheck={false}
- disabled={isDeletingAccount}
- value={deleteConfirmation}
- onChange={(event) => setDeleteConfirmation(event.target.value)}
- placeholder={user?.email ?? ""}
- />
- </div>
- <AlertDialogFooter>
- <AlertDialogClose
- render={
- <Button
- variant="outline"
- size="sm"
- disabled={isDeletingAccount}
- />
- }
- >
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <Button
- variant="destructive"
- size="sm"
- type="button"
- disabled={isDeletingAccount || !canConfirmDelete}
- onClick={handleDeleteAccount}
- >
- {isDeletingAccount
- ? t("common:actions.deleting")
- : t("settings:informationPage.deleteAccount.confirm")}
- </Button>
- </AlertDialogFooter>
- </AlertDialogContent>
- </AlertDialog>
- </SettingsPage>
- </>
- );
-}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/notifications.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/notifications.tsx
index af4fcf2ad..3b329e447 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/notifications.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/notifications.tsx
@@ -1,7 +1,7 @@
import { createFileRoute } from "@tanstack/react-router";
import { useTranslation } from "react-i18next";
-import { NotificationPreferencesSettings } from "@/components/account/notification-preferences-settings";
import PageTitle from "@/components/page-title";
+import { NotificationSettings } from "@/components/settings/notifications/notification-settings";
import { SettingsPage } from "@/components/settings/settings-page";
export const Route = createFileRoute(
@@ -20,7 +20,7 @@ function RouteComponent() {
title={t("settings:notificationsPage.title")}
description={t("settings:notificationsPage.subtitle")}
>
- <NotificationPreferencesSettings />
+ <NotificationSettings />
</SettingsPage>
</>
);
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/preferences.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/preferences.tsx
index ca9fdc6a8..36f0d495a 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/preferences.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/preferences.tsx
@@ -1,365 +1,8 @@
-import {
- type AppLocale,
- defaultLocale,
- supportedLocales,
-} from "@i18n/resources";
import { createFileRoute } from "@tanstack/react-router";
-import { List, RotateCcw, SquareKanban } from "lucide-react";
-import { useTranslation } from "react-i18next";
-import { ThemePicker } from "@/components/account/theme-picker";
-import { Button } from "@/components/ui/button";
-import { Label } from "@/components/ui/label";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import { Separator } from "@/components/ui/separator";
-import { Switch } from "@/components/ui/switch";
-import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group";
-import { useLocale } from "@/hooks/use-locale";
-import { getLocaleLabel } from "@/lib/i18n/get-locale-label";
-import {
- isWeekStartDay,
- useUserPreferencesStore,
- WEEK_START_DAYS,
- type WeekStartDay,
-} from "@/store/user-preferences";
-import { AdvancedSettingsSwitch } from "@/components/settings/advanced-settings-switch";
-import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { PreferencesPage } from "@/components/settings/preferences/preferences-page";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/account/preferences",
)({
- component: RouteComponent,
+ component: PreferencesPage,
});
-
-function RouteComponent() {
- const { t } = useTranslation();
- const { locale, setLocale } = useLocale();
- const {
- theme,
- setTheme,
- weekStartsOn,
- setWeekStartsOn,
- viewMode,
- setViewMode,
- showTaskNumbers,
- setShowTaskNumbers,
- showAssignees,
- setShowAssignees,
- showDueDates,
- setShowDueDates,
- showLabels,
- setShowLabels,
- showPriority,
- setShowPriority,
- showProjectBackgrounds,
- setShowProjectBackgrounds,
- resetDisplayPreferences,
- sidebarDefaultOpen,
- setSidebarDefaultOpen,
- } = useUserPreferencesStore();
-
- const weekStartLabels: Record<WeekStartDay, string> = {
- 0: t("settings:preferencesPage.weekStartsOnSunday"),
- 1: t("settings:preferencesPage.weekStartsOnMonday"),
- 6: t("settings:preferencesPage.weekStartsOnSaturday"),
- };
-
- const selectedLocale: AppLocale = locale ?? defaultLocale;
-
- return (
- <SettingsPage
- title={t("settings:preferencesPage.title")}
- description={t("settings:preferencesPage.subtitle")}
- >
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:preferencesPage.theme")}
- description={t("settings:preferencesPage.themeDescription")}
- />
- <ThemePicker value={theme} onChange={setTheme} />
- </div>
-
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:preferencesPage.appearanceTitle")}
- description={t("settings:preferencesPage.appearanceSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium">
- {t("settings:preferencesPage.language")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.languageDescription")}
- </p>
- </div>
- <Select
- value={selectedLocale}
- onValueChange={(value) => {
- if (value) {
- void setLocale(value as AppLocale);
- }
- }}
- >
- <SelectTrigger size="sm" className="w-full sm:w-40">
- <SelectValue
- placeholder={t("settings:preferencesPage.selectLanguage")}
- >
- {getLocaleLabel(selectedLocale)}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- {supportedLocales.map((supportedLocale) => (
- <SelectItem key={supportedLocale} value={supportedLocale}>
- {getLocaleLabel(supportedLocale)}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- <Separator />
-
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium">
- {t("settings:preferencesPage.firstDayOfWeek")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.firstDayOfWeekDescription")}
- </p>
- </div>
- <Select
- value={String(weekStartsOn)}
- onValueChange={(value) => {
- if (!value) {
- return;
- }
-
- const parsedWeekStart = Number(value);
-
- if (isWeekStartDay(parsedWeekStart)) {
- setWeekStartsOn(parsedWeekStart);
- }
- }}
- >
- <SelectTrigger size="sm" className="w-full sm:w-40">
- <SelectValue
- placeholder={t(
- "settings:preferencesPage.selectFirstDayOfWeek",
- )}
- >
- {weekStartLabels[weekStartsOn]}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- {WEEK_START_DAYS.map((day) => (
- <SelectItem key={day} value={String(day)}>
- {weekStartLabels[day]}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- </div>
-
- <Separator />
-
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium">
- {t("settings:preferencesPage.defaultView")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.defaultViewDescription")}
- </p>
- </div>
- <ToggleGroup
- value={[viewMode]}
- onValueChange={(values) => {
- const next = values[0];
- if (next === "board" || next === "list") setViewMode(next);
- }}
- variant="outline"
- size="sm"
- aria-label={t("settings:preferencesPage.defaultView")}
- >
- <ToggleGroupItem value="board" className="gap-1.5 px-2.5">
- <SquareKanban aria-hidden="true" />
- {t("settings:preferencesPage.board")}
- </ToggleGroupItem>
- <ToggleGroupItem value="list" className="gap-1.5 px-2.5">
- <List aria-hidden="true" />
- {t("settings:preferencesPage.list")}
- </ToggleGroupItem>
- </ToggleGroup>
- </div>
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label
- className="text-sm font-medium"
- htmlFor="show-project-backgrounds"
- >
- {t("settings:preferencesPage.projectBackgrounds")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.projectBackgroundsDescription")}
- </p>
- </div>
- <Switch
- id="show-project-backgrounds"
- checked={showProjectBackgrounds}
- onCheckedChange={setShowProjectBackgrounds}
- />
- </div>
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label
- className="text-sm font-medium"
- htmlFor="sidebar-default-open"
- >
- {t("settings:preferencesPage.sidebarDefault")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.sidebarDefaultDescription")}
- </p>
- </div>
- <Switch
- id="sidebar-default-open"
- checked={sidebarDefaultOpen}
- onCheckedChange={setSidebarDefaultOpen}
- />
- </div>
- </div>
- </div>
-
- <div className="space-y-6">
- <div className="flex flex-col items-start gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <SettingsSectionHeader
- title={t("settings:preferencesPage.displayOptions")}
- description={t(
- "settings:preferencesPage.displayOptionsDescription",
- )}
- />
- <Button
- variant="outline"
- size="xs"
- onClick={resetDisplayPreferences}
- className="flex items-center gap-2"
- >
- <RotateCcw className="h-4 w-4" />
- {t("common:actions.reset")}
- </Button>
- </div>
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label
- className="text-sm font-medium"
- htmlFor="show-task-numbers"
- >
- {t("settings:preferencesPage.taskNumbers")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.taskNumbersDescription")}
- </p>
- </div>
- <Switch
- id="show-task-numbers"
- checked={showTaskNumbers}
- onCheckedChange={setShowTaskNumbers}
- />
- </div>
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium" htmlFor="show-asignees">
- {t("settings:preferencesPage.assignees")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.assigneesDescription")}
- </p>
- </div>
- <Switch
- id="show-asignees"
- checked={showAssignees}
- onCheckedChange={setShowAssignees}
- />
- </div>
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium" htmlFor="show-due-dates">
- {t("settings:preferencesPage.dueDates")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.dueDatesDescription")}
- </p>
- </div>
- <Switch
- id="show-due-dates"
- checked={showDueDates}
- onCheckedChange={setShowDueDates}
- />
- </div>
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium" htmlFor="show-labels">
- {t("settings:preferencesPage.labels")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.labelsDescription")}
- </p>
- </div>
- <Switch
- id="show-labels"
- checked={showLabels}
- onCheckedChange={setShowLabels}
- />
- </div>
-
- <Separator />
-
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium" htmlFor="show-priority">
- {t("settings:preferencesPage.priority")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:preferencesPage.priorityDescription")}
- </p>
- </div>
- <Switch
- id="show-priority"
- checked={showPriority}
- onCheckedChange={setShowPriority}
- />
- </div>
- </div>
- </div>
-
- <AdvancedSettingsSwitch />
- </SettingsPage>
- );
-}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/security.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/security.tsx
index c05dbe60e..eaf7760e0 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/security.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/security.tsx
@@ -1,6 +1,6 @@
import { createFileRoute } from "@tanstack/react-router";
import { useTranslation } from "react-i18next";
-import { ChangePasswordSettings } from "@/components/account/change-password-settings";
+import { ChangePasswordSettings } from "@/components/account/change-password/change-password-settings";
import PageTitle from "@/components/page-title";
import { SettingsPage } from "@/components/settings/settings-page";
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/admin/users.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/admin/users.tsx
index 88283d94a..746e70f74 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/admin/users.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/admin/users.tsx
@@ -1,6 +1,6 @@
import { createFileRoute } from "@tanstack/react-router";
import { useTranslation } from "react-i18next";
-import UserManagementPanel from "@/components/admin/user-management-panel";
+import UserManagementPanel from "@/components/admin/user-management/user-management-panel";
import PageTitle from "@/components/page-title";
export const Route = createFileRoute(
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar.tsx
index c824a76be..6e2ce5da2 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar.tsx
@@ -1,8 +1,7 @@
import { createFileRoute } from "@tanstack/react-router";
import { useTranslation } from "react-i18next";
import PageTitle from "@/components/page-title";
-import { CalendarFeedSettings } from "@/components/project/calendar-feed-settings";
-import { SettingsPage } from "@/components/settings/settings-page";
+import { CalendarFeedSettings } from "@/components/project/calendar-feeds/calendar-feed-settings";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/projects/$projectId/calendar",
@@ -11,15 +10,11 @@ export const Route = createFileRoute(
function CalendarSettings() {
const { t } = useTranslation();
const { projectId } = Route.useParams();
+
return (
<>
<PageTitle title={t("settings:calendarFeeds.title")} />
- <SettingsPage
- title={t("settings:calendarFeeds.title")}
- description={t("settings:calendarFeeds.subtitle")}
- >
- <CalendarFeedSettings key={projectId} projectId={projectId} />
- </SettingsPage>
+ <CalendarFeedSettings key={projectId} projectId={projectId} />
</>
);
}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields.tsx
new file mode 100644
index 000000000..442f4f0bf
--- /dev/null
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields.tsx
@@ -0,0 +1,22 @@
+import { createFileRoute } from "@tanstack/react-router";
+import { useTranslation } from "react-i18next";
+import PageTitle from "@/components/page-title";
+import { CustomFieldsPage } from "@/components/project/custom-fields/custom-fields-page";
+
+export const Route = createFileRoute(
+ "/_layout/_authenticated/dashboard/settings/projects/$projectId/custom-fields",
+)({
+ component: RouteComponent,
+});
+
+function RouteComponent() {
+ const { t } = useTranslation();
+ const { projectId } = Route.useParams();
+
+ return (
+ <>
+ <PageTitle title={t("settings:projectCustomFields.pageTitle")} />
+ <CustomFieldsPage projectId={projectId} />
+ </>
+ );
+}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general.tsx
index 830ba8bb8..dc9f8784b 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general.tsx
@@ -1,963 +1,8 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { useQueryClient } from "@tanstack/react-query";
-import {
- createFileRoute,
- useNavigate,
- useParams,
-} from "@tanstack/react-router";
-import { ImageUp, Trash2 } from "lucide-react";
-import {
- type ChangeEvent,
- useCallback,
- useEffect,
- useMemo,
- useRef,
- useState,
-} from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod";
-import PageTitle from "@/components/page-title";
-import { TasksImportExport } from "@/components/project/tasks-import-export.tsx";
-import {
- AlertDialog,
- AlertDialogClose,
- AlertDialogContent,
- AlertDialogDescription,
- AlertDialogFooter,
- AlertDialogHeader,
- AlertDialogTitle,
-} from "@/components/ui/alert-dialog";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import {
- Popover,
- PopoverContent,
- PopoverTrigger,
-} from "@/components/ui/popover";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import { Separator } from "@/components/ui/separator";
-import icons from "@/constants/project-icons";
-import { getApiUrl } from "@/fetchers/get-api-url";
-import useDeleteProject from "@/hooks/mutations/project/use-delete-project";
-import useMoveProject from "@/hooks/mutations/project/use-move-project";
-import useRemoveProjectBackground from "@/hooks/mutations/project/use-remove-project-background";
-import useUpdateProject from "@/hooks/mutations/project/use-update-project";
-import useUploadProjectBackground from "@/hooks/mutations/project/use-upload-project-background";
-import { useGetTasks } from "@/hooks/queries/task/use-get-tasks";
-import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";
-import useGetWorkspaces from "@/hooks/queries/workspace/use-get-workspaces";
-import { useWorkspacesWithPermission } from "@/hooks/queries/workspace/use-workspaces-with-permission";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { cn } from "@/lib/cn";
-import { toast } from "@/lib/toast";
-import useProjectStore from "@/store/project.ts";
-import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { createFileRoute } from "@tanstack/react-router";
+import { ProjectGeneralPage } from "@/components/settings/project-general/project-general-page";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/projects/$projectId/general",
)({
- component: RouteComponent,
+ component: ProjectGeneralPage,
});
-
-// Module-level so their identity stays stable across renders.
-const PROJECT_MOVE_TARGET = {
- project: ["create"],
- workspace: ["manage_settings"],
-};
-// Asked as one check: the endpoint requires both in the source workspace.
-const PROJECT_UPDATE_AND_DELETE = { project: ["update", "delete"] };
-
-type ProjectFormValues = {
- name: string;
- slug: string;
- description?: string;
- icon: string;
-};
-
-type NormalizedProjectValues = {
- name: string;
- slug: string;
- description: string;
- icon: string;
-};
-
-function normalizeProjectValues(
- data: ProjectFormValues,
-): NormalizedProjectValues {
- return {
- name: data.name.trim(),
- slug: data.slug.trim(),
- description: (data.description ?? "").trim(),
- icon: data.icon || "Layout",
- };
-}
-
-function RouteComponent() {
- const { t } = useTranslation();
- const projectSchema = useMemo(
- () =>
- z.object({
- name: z
- .string()
- .trim()
- .min(1, t("settings:projectGeneral.validation.nameRequired")),
- slug: z
- .string()
- .trim()
- .min(1, t("settings:projectGeneral.validation.keyRequired"))
- .max(8, t("settings:projectGeneral.validation.keyMax")),
- description: z.string().optional(),
- icon: z
- .string()
- .min(1, t("settings:projectGeneral.validation.iconRequired")),
- }),
- [t],
- );
-
- const queryClient = useQueryClient();
- const navigate = useNavigate();
- const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);
- const isSavingRef = useRef(false);
- const queuedSaveRef = useRef<ProjectFormValues | null>(null);
- // The save currently in flight, so a caller that lands mid-save can await the
- // real write instead of the queue hand-off returning immediately.
- const inFlightSaveRef = useRef<Promise<boolean> | null>(null);
- const lastSavedRef = useRef<NormalizedProjectValues | null>(null);
- const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);
- const [iconPopoverOpen, setIconPopoverOpen] = useState(false);
- const [iconSearch, setIconSearch] = useState("");
- const backgroundInputRef = useRef<HTMLInputElement>(null);
- // Deliberately outside `projectForm`: the form auto-saves on every change,
- // and the target workspace must only be applied from the confirm dialog.
- const [targetWorkspaceId, setTargetWorkspaceId] = useState("");
- const [isMoveModalOpen, setIsMoveModalOpen] = useState(false);
-
- const { data: workspace } = useActiveWorkspace();
- const { projectId: rawProjectId } = useParams({ strict: false });
- const projectId = rawProjectId ?? "";
- const { data: fetchedProject } = useGetTasks(projectId);
- const { project, setProject } = useProjectStore();
- // The store is populated asynchronously from `useGetTasks`, so during a route
- // transition it can still hold the previously viewed project.
- const isCurrentProject = project?.id === projectId;
-
- useEffect(() => {
- if (fetchedProject) {
- setProject(fetchedProject);
- }
- }, [fetchedProject, setProject]);
-
- const { mutateAsync: updateProject } = useUpdateProject();
- const { mutateAsync: deleteProject, isPending: isDeleting } =
- useDeleteProject();
- const { mutate: uploadProjectBackground, isPending: isUploadingBackground } =
- useUploadProjectBackground();
- const { mutate: removeProjectBackground, isPending: isRemovingBackground } =
- useRemoveProjectBackground();
- const isUpdatingBackground = isUploadingBackground || isRemovingBackground;
- const { mutateAsync: moveProject, isPending: isMoving } = useMoveProject();
- const { data: workspaces } = useGetWorkspaces();
- // Filtered against the project's own workspace rather than the active one:
- // this route has no `workspaceId` param, so `useActiveWorkspace` falls back
- // to the last-active organization, which can differ from where the project
- // actually lives (deep link, bookmark, back after a workspace switch).
- const moveCandidates = useMemo(
- () => (workspaces ?? []).filter((item) => item.id !== project?.workspaceId),
- [workspaces, project?.workspaceId],
- );
- // Moving retains project integrations, so the endpoint requires both project
- // creation and settings management in the target workspace.
- const moveCandidateIds = useMemo(
- () => moveCandidates.map((item) => item.id),
- [moveCandidates],
- );
- const { allowed: canMoveInto, isError: moveTargetsFailed } =
- useWorkspacesWithPermission(moveCandidateIds, PROJECT_MOVE_TARGET);
- const moveTargets = useMemo(
- () => moveCandidates.filter((item) => canMoveInto.has(item.id)),
- [moveCandidates, canMoveInto],
- );
- // The API authorizes the move against the project's own workspace, which
- // isn't necessarily the active one `useWorkspacePermission` answers for. It
- // requires `delete` there on top of `update`, since a move takes the project
- // out of that workspace.
- const sourceWorkspaceIds = useMemo(
- () => (project?.workspaceId ? [project.workspaceId] : []),
- [project?.workspaceId],
- );
- const { allowed: canMoveOutOfSource } = useWorkspacesWithPermission(
- sourceWorkspaceIds,
- PROJECT_UPDATE_AND_DELETE,
- );
- const canMoveFromSource = Boolean(
- project?.workspaceId && canMoveOutOfSource.has(project.workspaceId),
- );
- // Kept visible when the target lookup failed: an empty list would otherwise
- // read as "you have nowhere to move this", which is a different answer.
- const canShowMove =
- canMoveFromSource &&
- isCurrentProject &&
- (moveTargets.length > 0 || moveTargetsFailed);
- const { canManageProjects, canDeleteProjects } = useWorkspacePermission();
- const canEdit = canManageProjects();
- const canDelete = canDeleteProjects();
-
- const projectForm = useForm<ProjectFormValues>({
- resolver: standardSchemaResolver(projectSchema),
- mode: "onChange",
- defaultValues: {
- name: project?.name || "",
- slug: project?.slug || "",
- description: project?.description || "",
- icon: project?.icon || "Layout",
- },
- });
-
- useEffect(() => {
- if (!project) return;
-
- const nextValues = {
- name: project.name || "",
- slug: project.slug || "",
- description: project.description || "",
- icon: project.icon || "Layout",
- };
- lastSavedRef.current = normalizeProjectValues(nextValues);
-
- if (projectForm.formState.isDirty) return;
-
- projectForm.reset(nextValues, {
- keepDirty: false,
- keepTouched: false,
- keepIsValid: true,
- });
- }, [project, projectForm]);
-
- const saveProject = useCallback(
- async (data: ProjectFormValues): Promise<boolean> => {
- if (!project?.id) return false;
-
- const normalizedData = normalizeProjectValues(data);
- const nameChanged = lastSavedRef.current?.name !== normalizedData.name;
- const slugChanged = lastSavedRef.current?.slug !== normalizedData.slug;
- const descriptionChanged =
- lastSavedRef.current?.description !== normalizedData.description;
- const iconChanged = lastSavedRef.current?.icon !== normalizedData.icon;
- const hasChanges =
- nameChanged || slugChanged || descriptionChanged || iconChanged;
-
- if (!hasChanges) return true;
-
- if (isSavingRef.current) {
- queuedSaveRef.current = data;
- // The in-flight save drains the queue before it resolves, so its
- // outcome covers this data too. Reporting success here instead would
- // tell the caller the edit is persisted while it is still queued.
- return inFlightSaveRef.current ?? false;
- }
-
- isSavingRef.current = true;
-
- const runSave = async (): Promise<boolean> => {
- let succeeded = false;
-
- try {
- const updatePayload = {
- id: project.id,
- name: nameChanged ? normalizedData.name : project.name,
- slug: slugChanged ? normalizedData.slug : project.slug,
- description: descriptionChanged
- ? normalizedData.description
- : (project.description ?? ""),
- icon: iconChanged
- ? normalizedData.icon
- : (project.icon ?? "Layout"),
- isPublic: !!project.isPublic,
- };
-
- await updateProject(updatePayload);
-
- projectForm.reset(normalizedData, { keepDirty: false });
- lastSavedRef.current = normalizedData;
- queuedSaveRef.current = null;
-
- await Promise.all([
- queryClient.invalidateQueries({ queryKey: ["projects"] }),
- queryClient.invalidateQueries({
- queryKey: ["projects", workspace?.id],
- }),
- queryClient.invalidateQueries({
- queryKey: ["projects", workspace?.id, project.id],
- }),
- ]);
- toast.success(t("settings:projectGeneral.toastUpdated"));
- succeeded = true;
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:projectGeneral.toastUpdateError"),
- );
- } finally {
- isSavingRef.current = false;
-
- if (queuedSaveRef.current) {
- const queuedData = queuedSaveRef.current;
- queuedSaveRef.current = null;
- // The queue holds newer values than this save wrote, so its
- // outcome is the one that describes the form's current state.
- succeeded = await saveProject(queuedData);
- }
- }
-
- return succeeded;
- };
-
- const pendingSave = runSave();
- inFlightSaveRef.current = pendingSave;
-
- try {
- return await pendingSave;
- } finally {
- if (inFlightSaveRef.current === pendingSave) {
- inFlightSaveRef.current = null;
- }
- }
- },
- [
- project?.id,
- project?.isPublic,
- project?.name,
- project?.slug,
- project?.description,
- project?.icon,
- updateProject,
- queryClient,
- workspace?.id,
- projectForm,
- t,
- ],
- );
-
- const saveProjectRef = useRef(saveProject);
- const projectFormRef = useRef(projectForm);
- saveProjectRef.current = saveProject;
- projectFormRef.current = projectForm;
-
- const debouncedSave = useCallback(() => {
- if (debounceTimeoutRef.current) {
- clearTimeout(debounceTimeoutRef.current);
- }
-
- debounceTimeoutRef.current = setTimeout(async () => {
- const isValid = await projectForm.trigger();
- if (isValid) {
- // Always save latest values to avoid staleness while typing
- const latest = projectForm.getValues();
- saveProject(latest as ProjectFormValues);
- }
- }, 800);
- }, [projectForm, saveProject]);
-
- useEffect(() => {
- if (!canEdit) return;
- // Do not gate on formState.isDirty here: after setValue (e.g. icon pick), the
- // watch callback can run before RHF updates isDirty, so the debounced save never runs.
- const subscription = projectForm.watch(() => {
- debouncedSave();
- });
-
- return () => subscription.unsubscribe();
- }, [projectForm, debouncedSave, canEdit]);
-
- // Reads through the refs so its identity stays stable: the unmount effect
- // below depends on it while keeping an empty dependency array.
- // Resolves false when the pending edits were not persisted: either they are
- // invalid, or the update they triggered failed.
- const flushPendingSave = useCallback(async () => {
- if (debounceTimeoutRef.current) {
- clearTimeout(debounceTimeoutRef.current);
- debounceTimeoutRef.current = null;
- }
-
- const latest = projectFormRef.current.getValues() as ProjectFormValues;
- const normalized = normalizeProjectValues(latest);
- const last = lastSavedRef.current;
- const hasPendingChanges =
- !last ||
- last.name !== normalized.name ||
- last.slug !== normalized.slug ||
- last.description !== normalized.description ||
- last.icon !== normalized.icon;
- if (!hasPendingChanges) return true;
-
- const isValid = await projectFormRef.current.trigger();
- if (!isValid) return false;
-
- return saveProjectRef.current(latest);
- }, []);
-
- useEffect(() => {
- return () => {
- // Flush pending edits if the user navigates away before the debounce fires.
- void flushPendingSave();
- };
- }, [flushPendingSave]);
-
- const handleMoveProject = useCallback(async () => {
- if (!isCurrentProject || !project?.id || !targetWorkspaceId) return;
-
- // The key doubles as the ticket-id prefix, and the server checks it for
- // collisions in the target. Moving on a debounced edit would check the
- // stale key and then persist the new one after navigation.
- const flushed = await flushPendingSave();
- // The dialog has already closed, so say why nothing happened. `trigger()`
- // has surfaced the offending field errors in the form itself.
- if (!flushed) {
- toast.error(t("settings:projectGeneral.toastMoveError"));
- return;
- }
-
- try {
- const moved = await moveProject({
- id: project.id,
- workspaceId: targetWorkspaceId,
- });
-
- toast.success(
- moved.unassignedTaskCount > 0
- ? t("settings:projectGeneral.toastMovedWithUnassigned", {
- taskCount: moved.unassignedTaskCount,
- })
- : t("settings:projectGeneral.toastMoved"),
- );
-
- // The current URL still carries the old workspace id.
- navigate({
- to: "/dashboard/workspace/$workspaceId/project/$projectId",
- params: { workspaceId: targetWorkspaceId, projectId: project.id },
- });
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:projectGeneral.toastMoveError"),
- );
- }
- }, [
- isCurrentProject,
- project?.id,
- targetWorkspaceId,
- flushPendingSave,
- moveProject,
- navigate,
- t,
- ]);
-
- const handleDeleteProject = useCallback(async () => {
- if (!isCurrentProject || !project?.id) return;
-
- try {
- await deleteProject({ id: project.id });
- toast.success(t("settings:projectGeneral.toastDeleted"));
-
- await queryClient.invalidateQueries({ queryKey: ["projects"] });
-
- navigate({
- to: "/dashboard/workspace/$workspaceId",
- params: { workspaceId: workspace?.id || "" },
- });
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:projectGeneral.toastDeleteError"),
- );
- }
- }, [
- isCurrentProject,
- project?.id,
- deleteProject,
- queryClient,
- navigate,
- workspace?.id,
- t,
- ]);
-
- const handleBackgroundChange = useCallback(
- (event: ChangeEvent<HTMLInputElement>) => {
- const file = event.target.files?.[0];
- event.target.value = "";
- if (!file || !project?.id) return;
-
- uploadProjectBackground({ projectId: project.id, file });
- },
- [project?.id, uploadProjectBackground],
- );
-
- const handleRemoveBackground = useCallback(() => {
- if (!project?.id) return;
-
- removeProjectBackground(project.id);
- }, [project?.id, removeProjectBackground]);
-
- return (
- <>
- <PageTitle title={t("settings:projectGeneral.pageTitle")} />
- <SettingsPage
- title={t("settings:projectGeneral.title")}
- description={t("settings:projectGeneral.subtitle")}
- >
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:projectGeneral.projectInfoTitle")}
- description={t("settings:projectGeneral.projectInfoSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:projectGeneral.iconLabel")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.iconHint")}
- </p>
- </div>
- <div className="flex items-center gap-3">
- <Popover
- open={iconPopoverOpen}
- onOpenChange={(open) => {
- setIconPopoverOpen(open);
- if (!open) setIconSearch("");
- }}
- modal={true}
- >
- <PopoverTrigger asChild>
- <Button
- type="button"
- variant="outline"
- size="sm"
- className="h-8 w-auto justify-start gap-2 font-normal"
- title={t("settings:projectGeneral.pickIconTitle")}
- disabled={!canEdit}
- >
- {(() => {
- const selectedKey =
- (projectForm.watch("icon") as keyof typeof icons) ||
- "Layout";
- const SelectedIcon = icons[selectedKey] || icons.Layout;
- return <SelectedIcon className="h-4 w-4" />;
- })()}
- <span className="truncate text-xs">
- {projectForm.watch("icon") || "Layout"}
- </span>
- </Button>
- </PopoverTrigger>
- <PopoverContent className="w-80" align="end">
- <div className="space-y-2">
- <Input
- value={iconSearch}
- onChange={(e) => setIconSearch(e.target.value)}
- placeholder={t(
- "settings:projectGeneral.searchIconsPlaceholder",
- )}
- className="h-8 text-base sm:text-xs"
- />
- <div className="max-h-[280px] overflow-y-auto pr-1">
- <div className="grid grid-cols-6 gap-1.5">
- {Object.entries(icons)
- .filter(([iconName]) =>
- iconName
- .toLowerCase()
- .includes(iconSearch.trim().toLowerCase()),
- )
- .map(([iconName, Icon]) => {
- const isSelected =
- projectForm.getValues("icon") === iconName;
- return (
- <Button
- key={iconName}
- type="button"
- variant="ghost"
- size="sm"
- onClick={() => {
- projectForm.setValue("icon", iconName, {
- shouldDirty: true,
- shouldValidate: true,
- });
- setIconPopoverOpen(false);
- setIconSearch("");
- }}
- className={cn(
- "h-10 items-center justify-center rounded-md p-0",
- isSelected &&
- "bg-sidebar-accent text-sidebar-accent-foreground",
- )}
- title={iconName}
- >
- <Icon className="h-4 w-4" />
- </Button>
- );
- })}
- </div>
- </div>
- </div>
- </PopoverContent>
- </Popover>
- </div>
- </div>
-
- <Separator />
-
- <Form {...projectForm}>
- <form className="space-y-4">
- <FormField
- control={projectForm.control}
- name="name"
- render={({ field }) => (
- <FormItem>
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:projectGeneral.projectNameLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.projectNameHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-full sm:w-64"
- placeholder={t(
- "settings:projectGeneral.projectNamePlaceholder",
- )}
- disabled={!canEdit}
- {...field}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={projectForm.control}
- name="slug"
- render={({ field }) => (
- <FormItem>
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:projectGeneral.keyLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.keyHint", {
- slug: projectForm.watch("slug") || "ABC",
- })}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-full sm:w-64"
- placeholder={t(
- "settings:projectGeneral.keyPlaceholder",
- )}
- disabled={!canEdit}
- {...field}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={projectForm.control}
- name="description"
- render={({ field }) => (
- <FormItem>
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:projectGeneral.descriptionLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.descriptionHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-full sm:w-64"
- placeholder={t(
- "settings:projectGeneral.descriptionPlaceholder",
- )}
- disabled={!canEdit}
- {...field}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
- </form>
- </Form>
- <Separator />
- <div className="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:projectGeneral.backgroundLabel")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.backgroundHint")}
- </p>
- </div>
- <div className="flex items-center gap-2">
- {project?.backgroundVersion && (
- <img
- src={getApiUrl(
- `project/${project.id}/background?v=${encodeURIComponent(project.backgroundVersion)}`,
- )}
- alt=""
- className="h-9 w-16 rounded border border-border object-cover"
- />
- )}
- <input
- ref={backgroundInputRef}
- type="file"
- accept="image/apng,image/avif,image/gif,image/heic,image/heif,image/jpeg,image/jpg,image/png,image/webp"
- className="hidden"
- onChange={handleBackgroundChange}
- />
- <Button
- type="button"
- variant="outline"
- size="sm"
- disabled={!canEdit || isUpdatingBackground}
- onClick={() => backgroundInputRef.current?.click()}
- >
- <ImageUp className="size-4" />
- {project?.backgroundVersion
- ? t("settings:projectGeneral.backgroundReplace")
- : t("settings:projectGeneral.backgroundUpload")}
- </Button>
- {project?.backgroundVersion && (
- <Button
- type="button"
- variant="ghost"
- size="sm"
- disabled={!canEdit || isUpdatingBackground}
- onClick={handleRemoveBackground}
- aria-label={t("settings:projectGeneral.backgroundRemove")}
- >
- <Trash2 className="size-4" />
- </Button>
- )}
- </div>
- </div>
-
- <Separator />
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:projectGeneral.importExportTasks")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.importExportTasksDescription")}
- </p>
- </div>
- {project && <TasksImportExport project={project} />}
- </div>
-
- {canShowMove && (
- <>
- <Separator />
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:projectGeneral.moveProject")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.moveProjectDescription")}
- </p>
- </div>
- {moveTargetsFailed ? (
- <p className="text-xs text-destructive">
- {t("settings:projectGeneral.moveTargetsError")}
- </p>
- ) : (
- <div className="flex items-center gap-2">
- <Select
- value={targetWorkspaceId}
- onValueChange={(value) =>
- setTargetWorkspaceId(value ?? "")
- }
- >
- <SelectTrigger className="w-48 h-8 text-sm">
- <SelectValue
- placeholder={t(
- "settings:projectGeneral.moveProjectPlaceholder",
- )}
- >
- {moveTargets.find(
- (item) => item.id === targetWorkspaceId,
- )?.name ??
- t(
- "settings:projectGeneral.moveProjectPlaceholder",
- )}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- {moveTargets.map((item) => (
- <SelectItem key={item.id} value={item.id}>
- {item.name}
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- <Button
- variant="outline"
- size="sm"
- type="button"
- disabled={!targetWorkspaceId || !project || isMoving}
- onClick={() => setIsMoveModalOpen(true)}
- >
- {t("settings:projectGeneral.moveProjectAction")}
- </Button>
- </div>
- )}
- </div>
- </>
- )}
- </div>
- </div>
-
- {canDelete && (
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:projectGeneral.dangerZone")}
- description={t("settings:projectGeneral.dangerZoneSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col items-start gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:projectGeneral.deleteProject")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectGeneral.deleteProjectDescription")}
- </p>
- </div>
- <Button
- variant="ghost"
- size="sm"
- className="text-destructive hover:text-destructive transition-colors"
- type="button"
- onClick={() => setIsDeleteModalOpen(true)}
- disabled={!project || !isCurrentProject}
- >
- {t("settings:projectGeneral.deleteProject")}
- </Button>
- </div>
- </div>
- </div>
- )}
-
- <AlertDialog open={isMoveModalOpen} onOpenChange={setIsMoveModalOpen}>
- <AlertDialogContent>
- <AlertDialogHeader>
- <AlertDialogTitle>
- {t("settings:projectGeneral.moveModalTitle")}
- </AlertDialogTitle>
- <AlertDialogDescription>
- {t("settings:projectGeneral.moveModalDescription", {
- name: project?.name ?? "",
- workspace:
- moveTargets.find((item) => item.id === targetWorkspaceId)
- ?.name ?? "",
- })}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <AlertDialogClose render={<Button variant="outline" size="sm" />}>
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <AlertDialogClose
- render={
- <Button
- size="sm"
- disabled={isMoving}
- onClick={handleMoveProject}
- />
- }
- >
- {t("settings:projectGeneral.moveModalConfirm")}
- </AlertDialogClose>
- </AlertDialogFooter>
- </AlertDialogContent>
- </AlertDialog>
-
- <AlertDialog
- open={isDeleteModalOpen}
- onOpenChange={setIsDeleteModalOpen}
- >
- <AlertDialogContent>
- <AlertDialogHeader>
- <AlertDialogTitle>
- {t("settings:projectGeneral.deleteModalTitle")}
- </AlertDialogTitle>
- <AlertDialogDescription>
- {t("settings:projectGeneral.deleteModalDescription", {
- name: project?.name ?? "",
- })}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <AlertDialogClose render={<Button variant="outline" size="sm" />}>
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <AlertDialogClose
- render={
- <Button
- variant="destructive"
- size="sm"
- disabled={isDeleting}
- onClick={handleDeleteProject}
- />
- }
- >
- {isDeleting
- ? t("common:actions.deleting")
- : t("settings:projectGeneral.deleteModalConfirm")}
- </AlertDialogClose>
- </AlertDialogFooter>
- </AlertDialogContent>
- </AlertDialog>
- </SettingsPage>
- </>
- );
-}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility.tsx
index 52457a03a..8521a6439 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility.tsx
@@ -1,155 +1,8 @@
-import { useQueryClient } from "@tanstack/react-query";
-import { createFileRoute, useParams } from "@tanstack/react-router";
-import { useCallback, useEffect, useRef, useState } from "react";
-import { useTranslation } from "react-i18next";
-import PageTitle from "@/components/page-title";
-import { Button } from "@/components/ui/button";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import { Separator } from "@/components/ui/separator";
-import { Switch } from "@/components/ui/switch";
-import useUpdateProject from "@/hooks/mutations/project/use-update-project";
-import useGetProject from "@/hooks/queries/project/use-get-project";
-import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { toast } from "@/lib/toast";
-import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { createFileRoute } from "@tanstack/react-router";
+import { ProjectVisibilityPage } from "@/components/settings/project-visibility/project-visibility-page";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility",
)({
- component: RouteComponent,
+ component: ProjectVisibilityPage,
});
-
-function RouteComponent() {
- const { t } = useTranslation();
- const { projectId } = useParams({ strict: false });
- const { data: workspace } = useActiveWorkspace();
- const { data: project } = useGetProject({
- id: projectId || "",
- workspaceId: workspace?.id || "",
- });
-
- const queryClient = useQueryClient();
- const { mutateAsync: updateProject } = useUpdateProject();
- const { hasPermission } = useWorkspacePermission();
- const savingRef = useRef(false);
- // `project:share` isn't in CAPABILITIES (only admin/owner/custom roles
- // with it can flip visibility), so use the generic server check. Result
- // isn't cached, but visibility is a rarely-toggled setting page.
- const [canShare, setCanShare] = useState(false);
- useEffect(() => {
- let cancelled = false;
- void hasPermission({ project: ["share"] }).then((ok) => {
- if (!cancelled) setCanShare(ok);
- });
- return () => {
- cancelled = true;
- };
- }, [hasPermission]);
-
- const handleToggle = useCallback(async () => {
- if (!project) return;
- if (savingRef.current) return;
- savingRef.current = true;
- try {
- await updateProject({
- id: project.id,
- name: project.name,
- slug: project.slug,
- description: project.description || "",
- icon: project.icon || "Layout",
- isPublic: !project.isPublic,
- });
- await Promise.all([
- queryClient.invalidateQueries({ queryKey: ["projects"] }),
- queryClient.invalidateQueries({
- queryKey: ["projects", workspace?.id],
- }),
- queryClient.invalidateQueries({
- queryKey: ["projects", workspace?.id, project.id],
- }),
- ]);
- toast.success(t("settings:projectVisibility.toastUpdated"));
- } catch (e) {
- toast.error(
- e instanceof Error
- ? e.message
- : t("settings:projectVisibility.toastUpdateError"),
- );
- } finally {
- savingRef.current = false;
- }
- }, [project, updateProject, queryClient, workspace?.id, t]);
-
- const origin = window.location.origin;
-
- const publicUrl = project?.id ? `${origin}/public-project/${project.id}` : "";
-
- return (
- <>
- <PageTitle title={t("settings:projectVisibility.pageTitle")} />
- <SettingsPage
- title={t("settings:projectVisibility.title")}
- description={t("settings:projectVisibility.subtitle")}
- >
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:projectVisibility.sectionTitle")}
- description={t("settings:projectVisibility.sectionSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex items-center justify-between">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium">
- {t("settings:projectVisibility.publicAccess")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectVisibility.publicAccessHint")}
- </p>
- </div>
- <Switch
- checked={!!project?.isPublic}
- onCheckedChange={canShare ? handleToggle : undefined}
- disabled={!canShare}
- />
- </div>
-
- <Separator />
-
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <Label className="text-sm font-medium">
- {t("settings:projectVisibility.publicUrl")}
- </Label>
- <p className="text-xs text-muted-foreground">
- {t("settings:projectVisibility.publicUrlHint")}
- </p>
- </div>
- <div className="flex w-full min-w-0 items-center gap-2 sm:w-auto">
- <Input readOnly value={publicUrl} className="w-full sm:w-96" />
- <Button
- size="sm"
- onClick={() => {
- if (!publicUrl) return;
- navigator.clipboard
- .writeText(publicUrl)
- .then(() =>
- toast.success(
- t("settings:projectVisibility.copiedToast"),
- ),
- );
- }}
- >
- {t("settings:projectVisibility.copy")}
- </Button>
- </div>
- </div>
- </div>
- </div>
- </SettingsPage>
- </>
- );
-}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow.tsx
index 22c74faae..14c269be4 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow.tsx
@@ -1,11 +1,11 @@
import { createFileRoute } from "@tanstack/react-router";
import { useTranslation } from "react-i18next";
import PageTitle from "@/components/page-title";
-import ColumnEditor from "@/components/project/column-editor";
-import CustomFieldEditor from "@/components/project/custom-field-editor";
-import WorkflowEditor from "@/components/project/workflow-editor";
+import { AutomationsSection } from "@/components/project/automations/automations-section";
+import { ColumnList } from "@/components/project/columns/column-list";
+import { AutosaveNote } from "@/components/settings/autosave-note";
import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { SettingsSection } from "@/components/settings/settings-section";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/projects/$projectId/workflow",
@@ -23,30 +23,20 @@ function RouteComponent() {
<SettingsPage
title={t("settings:projectWorkflow.title")}
description={t("settings:projectWorkflow.subtitle")}
+ actions={<AutosaveNote />}
>
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:projectWorkflow.columnsTitle")}
- description={t("settings:projectWorkflow.columnsDescription")}
- />
- <ColumnEditor projectId={projectId} />
- </div>
-
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:projectWorkflow.customFieldsTitle")}
- description={t("settings:projectWorkflow.customFieldsDescription")}
- />
- <CustomFieldEditor projectId={projectId} />
- </div>
-
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:projectWorkflow.automationTitle")}
- description={t("settings:projectWorkflow.automationDescription")}
- />
- <WorkflowEditor projectId={projectId} />
- </div>
+ <SettingsSection
+ title={t("settings:projectWorkflow.columnsTitle")}
+ description={t("settings:projectWorkflow.columnsDescription")}
+ >
+ <ColumnList projectId={projectId} />
+ </SettingsSection>
+ <SettingsSection
+ title={t("settings:projectWorkflow.automationTitle")}
+ description={t("settings:projectWorkflow.automationDescription")}
+ >
+ <AutomationsSection projectId={projectId} />
+ </SettingsSection>
</SettingsPage>
</>
);
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/billing.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/billing.tsx
index ad59e0003..4f09eb74c 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/billing.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/billing.tsx
@@ -1,16 +1,5 @@
import { createFileRoute } from "@tanstack/react-router";
-import { useTranslation } from "react-i18next";
-import { FoundingFreeCard } from "@/components/billing/founding-free-card";
-import { PlanPicker } from "@/components/billing/plan-picker";
-import { SubscriptionCard } from "@/components/billing/subscription-card";
-import { TrialStatusCard } from "@/components/billing/trial-status-card";
-import PageTitle from "@/components/page-title";
-import { Spinner } from "@/components/ui/spinner";
-import { useGetBilling } from "@/hooks/queries/billing/use-get-billing";
-import { useTrackSubscription } from "@/hooks/use-track-subscription";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { BillingSettingsPage } from "@/components/billing/billing-settings-page";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/workspace/billing",
@@ -22,70 +11,7 @@ export const Route = createFileRoute(
});
function RouteComponent() {
- const { t } = useTranslation();
- const { workspace, isAdmin } = useWorkspacePermission();
- const workspaceId = workspace?.id;
- const { data: billing, isLoading } = useGetBilling(workspaceId);
const { checkout } = Route.useSearch();
- useTrackSubscription(checkout, billing?.seats);
- if (isLoading) {
- return (
- <div className="flex h-40 items-center justify-center">
- <Spinner />
- </div>
- );
- }
-
- if (!billing?.billingEnabled) {
- return (
- <>
- <PageTitle title={t("settings:billing.pageTitle")} />
- <SettingsPage
- title={t("settings:billing.pageTitle")}
- description={t("settings:billing.disabled")}
- />
- </>
- );
- }
-
- const hasSubscription = Boolean(billing.plan && billing.status);
-
- return (
- <>
- <PageTitle title={t("settings:billing.pageTitle")} />
- <SettingsPage
- title={t("settings:billing.pageTitle")}
- description={t("settings:billing.subtitle")}
- >
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:billing.currentPlan.title")}
- description={t("settings:billing.currentPlan.subtitle")}
- />
- {billing.foundingFree ? (
- <FoundingFreeCard />
- ) : hasSubscription ? (
- <SubscriptionCard
- billing={billing}
- workspaceId={workspaceId}
- canManage={isAdmin}
- />
- ) : (
- <TrialStatusCard billing={billing} />
- )}
- </div>
-
- {!billing.foundingFree && !hasSubscription ? (
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:billing.choosePlan.title")}
- description={t("settings:billing.choosePlan.subtitle")}
- />
- <PlanPicker workspaceId={workspaceId} canManage={isAdmin} />
- </div>
- ) : null}
- </SettingsPage>
- </>
- );
+ return <BillingSettingsPage checkout={checkout} />;
}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/general.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/general.tsx
index 66f6400f3..eab901cf1 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/general.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/general.tsx
@@ -1,615 +1,8 @@
-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";
-import { useQueryClient } from "@tanstack/react-query";
-import { createFileRoute, useNavigate } from "@tanstack/react-router";
-import { useCallback, useEffect, useMemo, useRef, useState } from "react";
-import { useForm } from "react-hook-form";
-import { useTranslation } from "react-i18next";
-import { z } from "zod";
-import PageTitle from "@/components/page-title";
-import useAuth from "@/components/providers/auth-provider/hooks/use-auth";
-import {
- AlertDialog,
- AlertDialogClose,
- AlertDialogContent,
- AlertDialogDescription,
- AlertDialogFooter,
- AlertDialogHeader,
- AlertDialogTitle,
-} from "@/components/ui/alert-dialog";
-import { Button } from "@/components/ui/button";
-import {
- Form,
- FormControl,
- FormField,
- FormItem,
- FormLabel,
- FormMessage,
-} from "@/components/ui/form";
-import { Input } from "@/components/ui/input";
-import {
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
-} from "@/components/ui/select";
-import { Separator } from "@/components/ui/separator";
-import useDeleteWorkspace from "@/hooks/mutations/workspace/use-delete-workspace";
-import useTransferWorkspaceOwnership from "@/hooks/mutations/workspace/use-transfer-workspace-ownership";
-import useUpdateWorkspace from "@/hooks/mutations/workspace/use-update-workspace";
-import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";
-import useGetFullWorkspace from "@/hooks/queries/workspace/use-get-full-workspace";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { toast } from "@/lib/toast";
-import { AdvancedSettingsSwitch } from "@/components/settings/advanced-settings-switch";
-import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { createFileRoute } from "@tanstack/react-router";
+import { WorkspaceGeneralPage } from "@/components/settings/workspace-general/workspace-general-page";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/workspace/general",
)({
- component: RouteComponent,
+ component: WorkspaceGeneralPage,
});
-
-type WorkspaceFormValues = {
- name: string;
- description?: string;
-};
-
-type NormalizedWorkspaceValues = {
- name: string;
- description: string;
-};
-
-function normalizeWorkspaceValues(
- data: WorkspaceFormValues,
-): NormalizedWorkspaceValues {
- return {
- name: data.name.trim(),
- description: (data.description ?? "").trim(),
- };
-}
-
-/** Better Auth persists description as an organization additional field (DB column), not only inside metadata. */
-function getWorkspaceDescription(
- workspace:
- | { description?: string | null; metadata?: unknown }
- | null
- | undefined,
-): string {
- if (!workspace) return "";
- if (typeof workspace.description === "string") {
- return workspace.description;
- }
- if (
- typeof workspace.metadata === "object" &&
- workspace.metadata &&
- "description" in workspace.metadata
- ) {
- return String(
- (workspace.metadata as { description?: unknown }).description ?? "",
- );
- }
- return "";
-}
-
-function RouteComponent() {
- const { t } = useTranslation();
- const workspaceSchema = useMemo(
- () =>
- z.object({
- name: z
- .string()
- .min(1, t("settings:workspaceGeneral.validation.nameRequired"))
- .min(2, t("settings:workspaceGeneral.validation.nameShort")),
- description: z.string().optional(),
- }),
- [t],
- );
-
- const queryClient = useQueryClient();
- const navigate = useNavigate();
- const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);
- const isSavingRef = useRef(false);
- const queuedSaveRef = useRef<WorkspaceFormValues | null>(null);
- const lastSavedRef = useRef<NormalizedWorkspaceValues | null>(null);
- const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);
- const [isTransferModalOpen, setIsTransferModalOpen] = useState(false);
- const [selectedNewOwnerId, setSelectedNewOwnerId] = useState<string>("");
-
- const { user: currentUser } = useAuth();
- const { data: workspace } = useActiveWorkspace();
- const { data: fullWorkspace } = useGetFullWorkspace({
- workspaceId: workspace?.id,
- });
- const { mutateAsync: updateWorkspace } = useUpdateWorkspace();
- const { mutateAsync: deleteWorkspace, isPending: isDeleting } =
- useDeleteWorkspace();
- const { mutateAsync: transferOwnership, isPending: isTransferring } =
- useTransferWorkspaceOwnership();
- const { canManageWorkspace, canDeleteWorkspace, isOwner } =
- useWorkspacePermission();
- const canEdit = canManageWorkspace();
- const canDelete = canDeleteWorkspace();
- const workspaceDescription = getWorkspaceDescription(workspace);
-
- // Ownership transfer is owner-only. Eligible recipients are any current
- // member who isn't the owner themselves.
- const members = fullWorkspace?.members ?? [];
- const currentOwnerMember = members.find((m) => m.role === "owner");
- const eligibleNewOwners = members.filter(
- (m) => m.role !== "owner" && m.userId !== currentUser?.id,
- );
- const selectedMember = eligibleNewOwners.find(
- (m) => m.id === selectedNewOwnerId,
- );
-
- const workspaceForm = useForm<WorkspaceFormValues>({
- resolver: standardSchemaResolver(workspaceSchema),
- mode: "onChange",
- defaultValues: {
- name: workspace?.name || "",
- description: workspaceDescription,
- },
- });
-
- useEffect(() => {
- if (!workspace) return;
-
- const nextValues = {
- name: workspace.name || "",
- description: workspaceDescription,
- };
- lastSavedRef.current = normalizeWorkspaceValues(nextValues);
-
- if (!workspaceForm.formState.isDirty) {
- workspaceForm.reset(nextValues);
- }
- }, [workspace, workspaceDescription, workspaceForm]);
-
- const saveWorkspace = useCallback(
- async (data: WorkspaceFormValues) => {
- if (!workspace?.id) return;
-
- const normalizedData = normalizeWorkspaceValues(data);
- const nameChanged = lastSavedRef.current?.name !== normalizedData.name;
- const descriptionChanged =
- lastSavedRef.current?.description !== normalizedData.description;
- const hasChanges = nameChanged || descriptionChanged;
-
- if (!hasChanges) return;
-
- if (isSavingRef.current) {
- queuedSaveRef.current = data;
- return;
- }
-
- isSavingRef.current = true;
-
- try {
- const updatePayload: {
- workspaceId: string;
- name?: string;
- description?: string;
- } = {
- workspaceId: workspace.id,
- };
-
- if (nameChanged) {
- updatePayload.name = normalizedData.name;
- }
-
- if (descriptionChanged) {
- updatePayload.description = normalizedData.description;
- }
-
- await updateWorkspace(updatePayload);
-
- workspaceForm.reset(normalizedData, { keepDirty: false });
- lastSavedRef.current = normalizedData;
- queuedSaveRef.current = null;
-
- await queryClient.invalidateQueries({
- queryKey: ["active-organization"],
- });
- toast.success(t("settings:workspaceGeneral.toastUpdated"));
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:workspaceGeneral.toastUpdateError"),
- );
- } finally {
- isSavingRef.current = false;
-
- if (queuedSaveRef.current) {
- const queuedData = queuedSaveRef.current;
- queuedSaveRef.current = null;
- await saveWorkspace(queuedData);
- }
- }
- },
- [workspace, updateWorkspace, queryClient, workspaceForm, t],
- );
-
- const handleTransferOwnership = useCallback(async () => {
- if (!workspace?.id || !currentOwnerMember || !selectedMember) return;
-
- try {
- await transferOwnership({
- workspaceId: workspace.id,
- newOwnerMemberId: selectedMember.id,
- currentOwnerMemberId: currentOwnerMember.id,
- });
- toast.success(
- t("settings:workspaceGeneral.transferOwnership.toastSuccess", {
- defaultValue: "Ownership transferred",
- }),
- );
- setIsTransferModalOpen(false);
- setSelectedNewOwnerId("");
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:workspaceGeneral.transferOwnership.toastError", {
- defaultValue: "Failed to transfer ownership",
- }),
- );
- }
- }, [workspace?.id, currentOwnerMember, selectedMember, transferOwnership, t]);
-
- const handleDeleteWorkspace = useCallback(async () => {
- if (!workspace?.id) return;
-
- try {
- await deleteWorkspace({ workspaceId: workspace.id });
- toast.success(t("settings:workspaceGeneral.toastDeleted"));
-
- // Invalidate all workspace-related queries
- await queryClient.invalidateQueries({ queryKey: ["workspaces"] });
- await queryClient.invalidateQueries({
- queryKey: ["active-organization"],
- });
-
- navigate({ to: "/dashboard" });
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:workspaceGeneral.toastDeleteError"),
- );
- }
- }, [workspace?.id, deleteWorkspace, queryClient, navigate, t]);
-
- const debouncedSave = useCallback(
- (data: WorkspaceFormValues) => {
- if (debounceTimeoutRef.current) {
- clearTimeout(debounceTimeoutRef.current);
- }
-
- debounceTimeoutRef.current = setTimeout(() => {
- saveWorkspace(data);
- }, 1000);
- },
- [saveWorkspace],
- );
-
- useEffect(() => {
- if (!canEdit) return;
- const subscription = workspaceForm.watch(() => {
- if (workspaceForm.formState.isDirty && workspaceForm.formState.isValid) {
- debouncedSave(workspaceForm.getValues());
- }
- });
-
- return () => subscription.unsubscribe();
- }, [workspaceForm, debouncedSave, canEdit]);
-
- useEffect(() => {
- return () => {
- if (debounceTimeoutRef.current) {
- clearTimeout(debounceTimeoutRef.current);
- }
- };
- }, []);
-
- return (
- <>
- <PageTitle title={t("settings:workspaceGeneral.pageTitle")} />
- <SettingsPage
- title={t("settings:workspaceGeneral.title")}
- description={t("settings:workspaceGeneral.subtitle")}
- >
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:workspaceGeneral.workspaceInfoTitle")}
- description={t("settings:workspaceGeneral.workspaceInfoSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <Form {...workspaceForm}>
- <form className="space-y-4">
- <FormField
- control={workspaceForm.control}
- name="name"
- render={({ field }) => (
- <FormItem>
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:workspaceGeneral.nameLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:workspaceGeneral.nameHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-full sm:w-64"
- placeholder={t(
- "settings:workspaceGeneral.namePlaceholder",
- )}
- disabled={!canEdit}
- {...field}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
-
- <Separator />
-
- <FormField
- control={workspaceForm.control}
- name="description"
- render={({ field }) => (
- <FormItem>
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <FormLabel className="text-sm font-medium">
- {t("settings:workspaceGeneral.descriptionLabel")}
- </FormLabel>
- <p className="text-xs text-muted-foreground">
- {t("settings:workspaceGeneral.descriptionHint")}
- </p>
- </div>
- <FormControl>
- <Input
- className="w-full sm:w-64"
- placeholder={t(
- "settings:workspaceGeneral.descriptionPlaceholder",
- )}
- disabled={!canEdit}
- {...field}
- />
- </FormControl>
- </div>
- <FormMessage />
- </FormItem>
- )}
- />
- </form>
- </Form>
- </div>
- </div>
-
- {isOwner ? (
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:workspaceGeneral.transferOwnership.title")}
- description={t(
- "settings:workspaceGeneral.transferOwnership.subtitle",
- )}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5 min-w-0">
- <p className="text-sm font-medium">
- {t(
- "settings:workspaceGeneral.transferOwnership.pickerLabel",
- { defaultValue: "New owner" },
- )}
- </p>
- <p className="text-xs text-muted-foreground">
- {eligibleNewOwners.length === 0
- ? t(
- "settings:workspaceGeneral.transferOwnership.noEligibleMembers",
- {
- defaultValue:
- "Invite at least one other member before you can transfer ownership.",
- },
- )
- : t(
- "settings:workspaceGeneral.transferOwnership.pickerHint",
- {
- defaultValue:
- "They become the sole owner of this workspace.",
- },
- )}
- </p>
- </div>
- <div className="flex w-full items-center gap-2 sm:w-auto">
- <Select
- value={selectedNewOwnerId}
- onValueChange={(value) => {
- if (typeof value === "string") {
- setSelectedNewOwnerId(value);
- }
- }}
- disabled={eligibleNewOwners.length === 0}
- >
- <SelectTrigger size="sm" className="w-full sm:w-56">
- <SelectValue
- placeholder={t(
- "settings:workspaceGeneral.transferOwnership.pickerPlaceholder",
- { defaultValue: "Select a member" },
- )}
- >
- {selectedMember
- ? selectedMember.user.name ||
- selectedMember.user.email
- : null}
- </SelectValue>
- </SelectTrigger>
- <SelectContent>
- {eligibleNewOwners.map((m) => (
- <SelectItem key={m.id} value={m.id}>
- {m.user.name} ({m.user.email})
- </SelectItem>
- ))}
- </SelectContent>
- </Select>
- <Button
- variant="outline"
- size="sm"
- type="button"
- disabled={!selectedNewOwnerId || isTransferring}
- onClick={() => setIsTransferModalOpen(true)}
- >
- {t("settings:workspaceGeneral.transferOwnership.button", {
- defaultValue: "Transfer",
- })}
- </Button>
- </div>
- </div>
- </div>
- </div>
- ) : null}
-
- {canDelete && (
- <div className="space-y-3">
- <SettingsSectionHeader
- title={t("settings:workspaceGeneral.dangerZone")}
- description={t("settings:workspaceGeneral.dangerZoneSubtitle")}
- />
-
- <div className="space-y-4 rounded-xl border border-border bg-card p-4">
- <div className="flex flex-col items-start gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-4">
- <div className="space-y-0.5">
- <p className="text-sm font-medium">
- {t("settings:workspaceGeneral.deleteWorkspace")}
- </p>
- <p className="text-xs text-muted-foreground">
- {t("settings:workspaceGeneral.deleteWorkspaceDescription")}
- </p>
- </div>
- <Button
- variant="ghost"
- size="sm"
- className="text-destructive hover:text-destructive transition-colors"
- type="button"
- onClick={() => setIsDeleteModalOpen(true)}
- >
- {t("settings:workspaceGeneral.deleteWorkspace")}
- </Button>
- </div>
- </div>
- </div>
- )}
-
- <AdvancedSettingsSwitch />
-
- <AlertDialog
- open={isTransferModalOpen}
- onOpenChange={setIsTransferModalOpen}
- >
- <AlertDialogContent>
- <AlertDialogHeader>
- <AlertDialogTitle>
- {t("settings:workspaceGeneral.transferOwnership.dialogTitle", {
- defaultValue: "Transfer ownership?",
- })}
- </AlertDialogTitle>
- <AlertDialogDescription>
- {t(
- "settings:workspaceGeneral.transferOwnership.dialogDescription",
- {
- defaultValue:
- "{{name}} will become the sole owner of {{workspace}}. You'll keep admin access but lose owner-only abilities like deleting the workspace or transferring it again.",
- name:
- selectedMember?.user.name ||
- selectedMember?.user.email ||
- "",
- workspace: workspace?.name ?? "",
- },
- )}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <AlertDialogClose
- render={
- <Button
- variant="outline"
- size="sm"
- disabled={isTransferring}
- />
- }
- >
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <AlertDialogClose
- render={
- <Button
- size="sm"
- disabled={isTransferring}
- onClick={handleTransferOwnership}
- />
- }
- >
- {isTransferring
- ? t(
- "settings:workspaceGeneral.transferOwnership.transferring",
- { defaultValue: "Transferring…" },
- )
- : t("settings:workspaceGeneral.transferOwnership.confirm", {
- defaultValue: "Transfer ownership",
- })}
- </AlertDialogClose>
- </AlertDialogFooter>
- </AlertDialogContent>
- </AlertDialog>
-
- <AlertDialog
- open={isDeleteModalOpen}
- onOpenChange={setIsDeleteModalOpen}
- >
- <AlertDialogContent>
- <AlertDialogHeader>
- <AlertDialogTitle>
- {t("settings:workspaceGeneral.deleteModalTitle")}
- </AlertDialogTitle>
- <AlertDialogDescription>
- {t("settings:workspaceGeneral.deleteModalDescription", {
- name: workspace?.name ?? "",
- })}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <AlertDialogClose render={<Button variant="outline" size="sm" />}>
- {t("common:actions.cancel")}
- </AlertDialogClose>
- <AlertDialogClose
- render={
- <Button
- variant="destructive"
- size="sm"
- disabled={isDeleting}
- onClick={handleDeleteWorkspace}
- />
- }
- >
- {isDeleting
- ? t("common:actions.deleting")
- : t("settings:workspaceGeneral.deleteModalConfirm")}
- </AlertDialogClose>
- </AlertDialogFooter>
- </AlertDialogContent>
- </AlertDialog>
- </SettingsPage>
- </>
- );
-}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.test.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.test.tsx
index e48b30a56..73f121a05 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.test.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.test.tsx
@@ -19,75 +19,273 @@ import { Route } from "./labels";
vi.mock("@/lib/i18n", () => ({ i18n: { t: (key: string) => key } }));
+type TestLabel = {
+ id: string;
+ name: string;
+ color: string;
+ taskId: string | null;
+ deletionStartedAt: string | null;
+};
+
const m = vi.hoisted(() => ({
+ create: vi.fn(),
+ update: vi.fn(),
remove: vi.fn(),
success: vi.fn(),
error: vi.fn(),
- pending: false,
+ labels: [] as TestLabel[],
+ isPending: false,
+ canCreate: true,
+ canUpdate: true,
+ canDelete: true,
}));
vi.mock("@tanstack/react-router", () => ({
createFileRoute: () => (options: unknown) => ({ options }),
}));
vi.mock("@/components/page-title", () => ({ default: () => null }));
vi.mock("react-i18next", () => ({
- useTranslation: () => ({
- t: (key: string, options?: { defaultValue?: string }) =>
- options?.defaultValue ?? key,
- }),
+ useTranslation: () => ({ t: (key: string) => key }),
}));
vi.mock("@/hooks/use-workspace-permission", () => ({
useWorkspacePermission: () => ({
- workspace: { id: "workspace" },
- canCreateLabels: () => true,
- canUpdateLabels: () => true,
- canDeleteLabels: () => true,
+ workspace: { id: "workspace", name: "Workspace" },
+ canCreateLabels: () => m.canCreate,
+ canUpdateLabels: () => m.canUpdate,
+ canDeleteLabels: () => m.canDelete,
}),
}));
vi.mock("@/hooks/queries/label/use-get-labels-by-workspace", () => ({
default: () => ({
- data: [
- {
- id: "root",
- name: "bug",
- color: "red",
- taskId: null,
- deletionStartedAt: "2026-09-19T12:00:00Z",
- },
- ],
+ data: m.isPending ? undefined : m.labels,
+ isPending: m.isPending,
+ isError: false,
}),
}));
vi.mock("@/hooks/mutations/label/use-create-label", () => ({
- default: () => ({}),
+ default: () => ({ mutateAsync: m.create, isPending: false }),
}));
vi.mock("@/hooks/mutations/label/use-update-label", () => ({
- default: () => ({}),
+ default: () => ({ mutateAsync: m.update, isPending: false }),
}));
vi.mock("@/hooks/mutations/label/use-delete-label", () => ({
- default: () => ({ mutateAsync: m.remove, isPending: m.pending }),
+ default: () => ({ mutateAsync: m.remove, isPending: false }),
}));
vi.mock("@/lib/toast", () => ({
toast: { success: m.success, error: m.error },
}));
+
const Component = Route.options.component as ComponentType;
+
+const bug: TestLabel = {
+ id: "bug",
+ name: "Bug",
+ color: "red",
+ taskId: null,
+ deletionStartedAt: null,
+};
+const removing: TestLabel = {
+ id: "root",
+ name: "Old",
+ color: "gray",
+ taskId: null,
+ deletionStartedAt: "2026-09-19T12:00:00Z",
+};
+
afterEach(cleanup);
beforeEach(() => {
vi.clearAllMocks();
- m.pending = false;
+ m.labels = [bug];
+ m.isPending = false;
+ m.canCreate = true;
+ m.canUpdate = true;
+ m.canDelete = true;
+ Object.defineProperty(Element.prototype, "getAnimations", {
+ configurable: true,
+ value: () => [],
+ });
+ vi.stubGlobal(
+ "ResizeObserver",
+ class {
+ observe() {}
+ unobserve() {}
+ disconnect() {}
+ },
+ );
+});
+
+function openRowMenu(name: string) {
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:workspaceLabels.rowActions" }),
+ );
+ return screen.findByRole("menuitem", { name });
+}
+
+describe("workspace labels list", () => {
+ it("shows skeleton rows instead of the empty state while loading", () => {
+ m.isPending = true;
+ render(<Component />);
+ expect(screen.getAllByTestId("settings-row-skeleton")).toHaveLength(3);
+ expect(
+ screen.queryByText("settings:workspaceLabels.emptyTitle"),
+ ).not.toBeInTheDocument();
+ });
+
+ it("shows the empty state with a create action only when allowed", () => {
+ m.labels = [];
+ const { unmount } = render(<Component />);
+ expect(
+ screen.getByText("settings:workspaceLabels.emptyTitle"),
+ ).toBeInTheDocument();
+ expect(
+ screen.getAllByRole("button", {
+ name: "settings:workspaceLabels.newLabel",
+ }),
+ ).toHaveLength(2);
+ unmount();
+
+ m.canCreate = false;
+ render(<Component />);
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:workspaceLabels.newLabel",
+ }),
+ ).not.toBeInTheDocument();
+ });
+
+ it("hides task-level label copies and the row menu without permissions", () => {
+ m.labels = [bug, { ...bug, id: "copy", taskId: "task-1" }];
+ m.canUpdate = false;
+ m.canDelete = false;
+ render(<Component />);
+ expect(screen.getAllByText("Bug")).toHaveLength(1);
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:workspaceLabels.rowActions",
+ }),
+ ).not.toBeInTheDocument();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:workspaceLabels.editNamed",
+ }),
+ ).not.toBeInTheDocument();
+ });
+});
+
+describe("creating and editing labels", () => {
+ it("requires a name and creates the label with the chosen color", async () => {
+ m.create.mockResolvedValue({ id: "new" });
+ render(<Component />);
+ fireEvent.click(
+ screen.getByRole("button", { name: "settings:workspaceLabels.newLabel" }),
+ );
+ const dialog = await screen.findByRole("dialog");
+ const form = dialog.querySelector("form") as HTMLFormElement;
+ fireEvent.submit(form);
+ expect(
+ within(dialog).getByText("settings:workspaceLabels.nameRequired"),
+ ).toBeInTheDocument();
+ expect(m.create).not.toHaveBeenCalled();
+
+ fireEvent.change(
+ within(dialog).getByLabelText("settings:workspaceLabels.nameLabel"),
+ { target: { value: " Design " } },
+ );
+ fireEvent.click(within(dialog).getByRole("button", { name: "Lavender" }));
+ expect(
+ within(dialog).getByRole("button", { name: "Lavender" }),
+ ).toHaveAttribute("aria-pressed", "true");
+ expect(within(dialog).getByText("Design")).toBeInTheDocument();
+ fireEvent.submit(form);
+
+ await waitFor(() =>
+ expect(m.create).toHaveBeenCalledWith({
+ name: "Design",
+ color: "purple",
+ workspaceId: "workspace",
+ }),
+ );
+ expect(m.success).toHaveBeenCalledWith(
+ "settings:workspaceLabels.createSuccess",
+ );
+ });
+
+ it("opens the edit dialog from the row menu and from the row itself", async () => {
+ m.update.mockResolvedValue({ id: "bug" });
+ render(<Component />);
+ fireEvent.click(await openRowMenu("settings:workspaceLabels.editLabel"));
+ let dialog = await screen.findByRole("dialog");
+ expect(
+ within(dialog).getByLabelText("settings:workspaceLabels.nameLabel"),
+ ).toHaveValue("Bug");
+ fireEvent.click(
+ within(dialog).getByRole("button", { name: "common:actions.cancel" }),
+ );
+ await waitFor(() =>
+ expect(screen.queryByRole("dialog")).not.toBeInTheDocument(),
+ );
+
+ fireEvent.click(
+ screen.getByRole("button", {
+ name: "settings:workspaceLabels.editNamed",
+ }),
+ );
+ dialog = await screen.findByRole("dialog");
+ fireEvent.change(
+ within(dialog).getByLabelText("settings:workspaceLabels.nameLabel"),
+ { target: { value: "Defect" } },
+ );
+ fireEvent.submit(dialog.querySelector("form") as HTMLFormElement);
+ await waitFor(() =>
+ expect(m.update).toHaveBeenCalledWith({
+ id: "bug",
+ name: "Defect",
+ color: "red",
+ }),
+ );
+ });
});
-describe("resuming workspace label deletion", () => {
+
+describe("deleting workspace labels", () => {
+ it("asks for confirmation before deleting from the row menu", async () => {
+ m.remove.mockResolvedValue({ id: "bug" });
+ render(<Component />);
+ fireEvent.click(await openRowMenu("settings:workspaceLabels.deleteLabel"));
+ const dialog = await screen.findByRole("alertdialog");
+ expect(m.remove).not.toHaveBeenCalled();
+ fireEvent.click(
+ within(dialog).getByRole("button", {
+ name: "settings:workspaceLabels.deleteLabel",
+ }),
+ );
+ await waitFor(() => expect(m.remove).toHaveBeenCalledWith({ id: "bug" }));
+ expect(m.success).toHaveBeenCalledWith(
+ "settings:workspaceLabels.deleteSuccess",
+ );
+ });
+
it("shows persisted deletion state, prevents editing and resumes after confirmation", async () => {
+ m.labels = [removing];
m.remove.mockResolvedValue({ id: "root" });
render(<Component />);
expect(
screen.getByText("settings:workspaceLabels.deletionPending"),
).toBeInTheDocument();
- expect(screen.getByRole("button", { name: "Edit Label" })).toBeDisabled();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:workspaceLabels.rowActions",
+ }),
+ ).not.toBeInTheDocument();
+ expect(
+ screen.queryByRole("button", {
+ name: "settings:workspaceLabels.editNamed",
+ }),
+ ).not.toBeInTheDocument();
fireEvent.click(
screen.getByRole("button", {
name: "settings:workspaceLabels.resumeDeletion",
}),
);
- const dialog = screen.getByRole("alertdialog");
+ const dialog = await screen.findByRole("alertdialog");
fireEvent.click(
within(dialog).getByRole("button", {
name: "settings:workspaceLabels.resumeDeletion",
@@ -95,10 +293,14 @@ describe("resuming workspace label deletion", () => {
);
await waitFor(() => expect(m.remove).toHaveBeenCalledWith({ id: "root" }));
await waitFor(() =>
- expect(m.success).toHaveBeenCalledWith("Label deleted"),
+ expect(m.success).toHaveBeenCalledWith(
+ "settings:workspaceLabels.deleteSuccess",
+ ),
);
});
+
it("keeps the confirmation available and never reports success on another connection failure", async () => {
+ m.labels = [removing];
m.remove.mockRejectedValue(new Error("Connection lost"));
render(<Component />);
fireEvent.click(
@@ -107,7 +309,7 @@ describe("resuming workspace label deletion", () => {
}),
);
fireEvent.click(
- within(screen.getByRole("alertdialog")).getByRole("button", {
+ within(await screen.findByRole("alertdialog")).getByRole("button", {
name: "settings:workspaceLabels.resumeDeletion",
}),
);
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.tsx
index d9607194a..cb9d6f0a2 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/labels.tsx
@@ -1,52 +1,7 @@
import { createFileRoute } from "@tanstack/react-router";
-import { Pencil, Plus, Tag, Trash2 } from "lucide-react";
-import { useState } from "react";
import { useTranslation } from "react-i18next";
import PageTitle from "@/components/page-title";
-import {
- AlertDialog,
- AlertDialogContent,
- AlertDialogDescription,
- AlertDialogFooter,
- AlertDialogHeader,
- AlertDialogTitle,
-} from "@/components/ui/alert-dialog";
-import { Button } from "@/components/ui/button";
-import {
- Card,
- CardAction,
- CardDescription,
- CardFrame,
- CardHeader,
- CardPanel,
- CardTitle,
-} from "@/components/ui/card";
-import {
- Dialog,
- DialogContent,
- DialogDescription,
- DialogFooter,
- DialogHeader,
- DialogTitle,
-} from "@/components/ui/dialog";
-import {
- Empty,
- EmptyDescription,
- EmptyHeader,
- EmptyMedia,
-} from "@/components/ui/empty";
-import { Input } from "@/components/ui/input";
-import { Label } from "@/components/ui/label";
-import labelColors from "@/constants/label-colors";
-import useCreateLabel from "@/hooks/mutations/label/use-create-label";
-import useDeleteLabel from "@/hooks/mutations/label/use-delete-label";
-import useUpdateLabel from "@/hooks/mutations/label/use-update-label";
-import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";
-import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
-import { cn } from "@/lib/cn";
-import { resolveLabelColor } from "@/lib/label-color";
-import { toast } from "@/lib/toast";
-import { SettingsPage } from "@/components/settings/settings-page";
+import { LabelsSettings } from "@/components/settings/labels/labels-settings";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/workspace/labels",
@@ -56,532 +11,11 @@ export const Route = createFileRoute(
function RouteComponent() {
const { t } = useTranslation();
- const { workspace, canCreateLabels, canUpdateLabels, canDeleteLabels } =
- useWorkspacePermission();
- const canCreate = canCreateLabels();
- const canUpdate = canUpdateLabels();
- const canDelete = canDeleteLabels();
-
- const workspaceId = workspace?.id ?? "";
-
- const { data: labels = [] } = useGetLabelsByWorkspace(workspaceId);
- const workspaceLabels = labels.filter((label) => !label.taskId);
-
- const createLabel = useCreateLabel();
- const updateLabel = useUpdateLabel();
- const deleteLabel = useDeleteLabel();
-
- // Create dialog state
- const [createOpen, setCreateOpen] = useState(false);
- const [newName, setNewName] = useState("");
- const [newColor, setNewColor] = useState("gray");
- const [createError, setCreateError] = useState("");
-
- // Edit dialog state
- const [editOpen, setEditOpen] = useState(false);
- const [editingLabel, setEditingLabel] = useState<{
- id: string;
- name: string;
- color: string;
- } | null>(null);
- const [editName, setEditName] = useState("");
- const [editColor, setEditColor] = useState("gray");
- const [editError, setEditError] = useState("");
-
- // Delete dialog state
- const [deleteOpen, setDeleteOpen] = useState(false);
- const [deletingLabel, setDeletingLabel] = useState<{
- id: string;
- name: string;
- deletionStartedAt?: string | null;
- } | null>(null);
-
- const resetCreate = () => {
- setNewName("");
- setNewColor("gray");
- setCreateError("");
- };
-
- const openCreate = () => {
- resetCreate();
- setCreateOpen(true);
- };
-
- const handleCreate = async () => {
- const trimmed = newName.trim();
- if (!trimmed) {
- setCreateError(
- t("settings:workspaceLabels.nameRequired", {
- defaultValue: "Label name is required",
- }),
- );
- return;
- }
-
- try {
- await createLabel.mutateAsync({
- name: trimmed,
- color: newColor,
- workspaceId,
- });
- toast.success(
- t("settings:workspaceLabels.createSuccess", {
- defaultValue: "Label created",
- }),
- );
- setCreateOpen(false);
- resetCreate();
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:workspaceLabels.createError", {
- defaultValue: "Failed to create label",
- }),
- );
- }
- };
-
- const openEdit = (label: { id: string; name: string; color: string }) => {
- setEditingLabel(label);
- setEditName(label.name);
- setEditColor(label.color);
- setEditError("");
- setEditOpen(true);
- };
-
- const handleEdit = async () => {
- if (!editingLabel) return;
-
- const trimmed = editName.trim();
- if (!trimmed) {
- setEditError(
- t("settings:workspaceLabels.nameRequired", {
- defaultValue: "Label name is required",
- }),
- );
- return;
- }
-
- try {
- await updateLabel.mutateAsync({
- id: editingLabel.id,
- name: trimmed,
- color: editColor,
- });
- toast.success(
- t("settings:workspaceLabels.updateSuccess", {
- defaultValue: "Label updated",
- }),
- );
- setEditOpen(false);
- setEditingLabel(null);
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:workspaceLabels.updateError", {
- defaultValue: "Failed to update label",
- }),
- );
- }
- };
-
- const openDelete = (label: {
- id: string;
- name: string;
- deletionStartedAt?: string | null;
- }) => {
- setDeletingLabel(label);
- setDeleteOpen(true);
- };
-
- const handleDelete = async () => {
- if (!deletingLabel) return;
-
- try {
- await deleteLabel.mutateAsync({ id: deletingLabel.id });
- toast.success(
- t("settings:workspaceLabels.deleteSuccess", {
- defaultValue: "Label deleted",
- }),
- );
- setDeleteOpen(false);
- setDeletingLabel(null);
- } catch (error) {
- toast.error(
- error instanceof Error
- ? error.message
- : t("settings:workspaceLabels.deleteError", {
- defaultValue: "Failed to delete label",
- }),
- );
- }
- };
return (
<>
<PageTitle title={t("settings:workspaceLabels.pageTitle")} />
- <SettingsPage
- title={t("settings:workspaceLabels.title")}
- description={t("settings:workspaceLabels.subtitle")}
- >
- <CardFrame>
- <Card className="!rounded-none !border-t-0">
- <CardHeader>
- <CardTitle className="inline-flex items-center gap-2 text-base">
- <Tag className="size-4" />
- {t("settings:workspaceLabels.title", {
- defaultValue: "Labels",
- })}
- </CardTitle>
- <CardDescription>
- {t("settings:workspaceLabels.cardDescription", {
- defaultValue: "Manage labels that can be assigned to tasks.",
- })}
- </CardDescription>
- {canCreate && (
- <CardAction>
- <Button onClick={openCreate} className="gap-2">
- <Plus className="size-4" />
- {t("settings:workspaceLabels.createLabel", {
- defaultValue: "Create Label",
- })}
- </Button>
- </CardAction>
- )}
- </CardHeader>
- </Card>
-
- <Card className="!rounded-none">
- <CardPanel className="p-4">
- {workspaceLabels.length === 0 ? (
- <Empty>
- <EmptyHeader>
- <EmptyMedia>
- <Tag className="size-8 text-muted-foreground" />
- </EmptyMedia>
- <EmptyDescription>
- {t("settings:workspaceLabels.empty", {
- defaultValue:
- "No labels yet. Create your first label to get started.",
- })}
- </EmptyDescription>
- </EmptyHeader>
- </Empty>
- ) : (
- <div className="divide-y divide-border">
- {workspaceLabels.map((label) => (
- <div
- key={label.id}
- className="flex items-center justify-between py-2.5 px-1"
- >
- <div className="flex items-center gap-2.5 min-w-0">
- <span
- className="w-3 h-3 rounded-full flex-shrink-0"
- style={{
- backgroundColor: resolveLabelColor(label.color),
- }}
- />
- <span className="text-sm truncate">{label.name}</span>
- {label.deletionStartedAt && (
- <span className="text-xs text-muted-foreground">
- {t("settings:workspaceLabels.deletionPending")}
- </span>
- )}
- </div>
- {(canUpdate || canDelete) && (
- <div className="flex items-center gap-1 flex-shrink-0">
- {canUpdate && (
- <Button
- variant="ghost"
- size="icon"
- aria-label={t(
- "settings:workspaceLabels.editLabel",
- { defaultValue: "Edit Label" },
- )}
- className="h-8 w-8"
- disabled={
- !!label.deletionStartedAt ||
- deleteLabel.isPending
- }
- onClick={() =>
- openEdit({
- id: label.id,
- name: label.name,
- color: label.color,
- })
- }
- >
- <Pencil className="size-3.5" />
- </Button>
- )}
- {canDelete && (
- <Button
- variant="ghost"
- size="icon"
- aria-label={
- label.deletionStartedAt
- ? t("settings:workspaceLabels.resumeDeletion")
- : t("settings:workspaceLabels.deleteLabel", {
- defaultValue: "Delete",
- })
- }
- disabled={deleteLabel.isPending}
- className="h-8 w-8 text-destructive hover:text-destructive"
- onClick={() =>
- openDelete({
- id: label.id,
- name: label.name,
- deletionStartedAt: label.deletionStartedAt,
- })
- }
- >
- <Trash2 className="size-3.5" />
- </Button>
- )}
- </div>
- )}
- </div>
- ))}
- </div>
- )}
- </CardPanel>
- </Card>
- </CardFrame>
- </SettingsPage>
-
- {/* Create Dialog */}
- <Dialog
- open={createOpen}
- onOpenChange={(open) => !open && setCreateOpen(false)}
- >
- <DialogContent className="sm:max-w-md">
- <DialogHeader>
- <DialogTitle>
- {t("settings:workspaceLabels.createLabel", {
- defaultValue: "Create Label",
- })}
- </DialogTitle>
- <DialogDescription>
- {t("settings:workspaceLabels.createDescription", {
- defaultValue:
- "Create a new label that can be used across tasks in this workspace.",
- })}
- </DialogDescription>
- </DialogHeader>
-
- <div className="p-6 pt-1 space-y-4">
- <div className="space-y-2">
- <Label htmlFor="new-label-name">
- {t("settings:workspaceLabels.nameLabel", {
- defaultValue: "Label name",
- })}
- </Label>
- <Input
- id="new-label-name"
- value={newName}
- onChange={(e) => {
- setNewName(e.target.value);
- setCreateError("");
- }}
- placeholder={t("settings:workspaceLabels.namePlaceholder", {
- defaultValue: "Enter label name",
- })}
- onKeyDown={(e) => {
- if (e.key === "Enter" && !createLabel.isPending)
- handleCreate();
- }}
- />
- {createError && (
- <p className="text-sm text-destructive">{createError}</p>
- )}
- </div>
-
- <div className="space-y-2">
- <Label>
- {t("settings:workspaceLabels.colorLabel", {
- defaultValue: "Color",
- })}
- </Label>
- <div className="flex flex-wrap gap-2">
- {labelColors.map((c) => (
- <button
- key={c.value}
- type="button"
- title={c.label}
- className={cn(
- "w-8 h-8 rounded-full border-2 transition-[scale,border-color]",
- newColor === c.value
- ? "border-foreground scale-110"
- : "border-transparent hover:scale-110",
- )}
- style={{ backgroundColor: c.color }}
- onClick={() => setNewColor(c.value)}
- />
- ))}
- </div>
- </div>
- </div>
-
- <DialogFooter>
- <Button variant="outline" onClick={() => setCreateOpen(false)}>
- {t("common:actions.cancel", { defaultValue: "Cancel" })}
- </Button>
- <Button onClick={handleCreate} disabled={createLabel.isPending}>
- {t("settings:workspaceLabels.createLabel", {
- defaultValue: "Create Label",
- })}
- </Button>
- </DialogFooter>
- </DialogContent>
- </Dialog>
-
- {/* Edit Dialog */}
- <Dialog
- open={editOpen}
- onOpenChange={(open) => {
- if (!open) {
- setEditOpen(false);
- setEditingLabel(null);
- }
- }}
- >
- <DialogContent className="sm:max-w-md">
- <DialogHeader>
- <DialogTitle>
- {t("settings:workspaceLabels.editLabel", {
- defaultValue: "Edit Label",
- })}
- </DialogTitle>
- <DialogDescription>
- {t("settings:workspaceLabels.editDescription", {
- defaultValue: "Update the name or color of this label.",
- })}
- </DialogDescription>
- </DialogHeader>
-
- <div className="p-6 pt-1 space-y-4">
- <div className="space-y-2">
- <Label htmlFor="edit-label-name">
- {t("settings:workspaceLabels.nameLabel", {
- defaultValue: "Label name",
- })}
- </Label>
- <Input
- id="edit-label-name"
- value={editName}
- onChange={(e) => {
- setEditName(e.target.value);
- setEditError("");
- }}
- placeholder={t("settings:workspaceLabels.namePlaceholder", {
- defaultValue: "Enter label name",
- })}
- onKeyDown={(e) => {
- if (e.key === "Enter" && !updateLabel.isPending) handleEdit();
- }}
- />
- {editError && (
- <p className="text-sm text-destructive">{editError}</p>
- )}
- </div>
-
- <div className="space-y-2">
- <Label>
- {t("settings:workspaceLabels.colorLabel", {
- defaultValue: "Color",
- })}
- </Label>
- <div className="flex flex-wrap gap-2">
- {labelColors.map((c) => (
- <button
- key={c.value}
- type="button"
- title={c.label}
- className={cn(
- "w-8 h-8 rounded-full border-2 transition-[scale,border-color]",
- editColor === c.value
- ? "border-foreground scale-110"
- : "border-transparent hover:scale-110",
- )}
- style={{ backgroundColor: c.color }}
- onClick={() => setEditColor(c.value)}
- />
- ))}
- </div>
- </div>
- </div>
-
- <DialogFooter>
- <Button
- variant="outline"
- onClick={() => {
- setEditOpen(false);
- setEditingLabel(null);
- }}
- >
- {t("common:actions.cancel", { defaultValue: "Cancel" })}
- </Button>
- <Button onClick={handleEdit} disabled={updateLabel.isPending}>
- {t("settings:workspaceLabels.saveLabel", {
- defaultValue: "Save",
- })}
- </Button>
- </DialogFooter>
- </DialogContent>
- </Dialog>
-
- {/* Delete Confirmation */}
- <AlertDialog
- open={deleteOpen}
- onOpenChange={(open) => {
- if (!open) {
- setDeleteOpen(false);
- setDeletingLabel(null);
- }
- }}
- >
- <AlertDialogContent>
- <AlertDialogHeader>
- <AlertDialogTitle>
- {t("settings:workspaceLabels.deleteConfirmTitle", {
- defaultValue: "Delete this label?",
- })}
- </AlertDialogTitle>
- <AlertDialogDescription>
- {t("settings:workspaceLabels.deleteConfirmDescription", {
- defaultValue:
- "Any tasks using this label will have it removed. This action cannot be undone.",
- })}
- </AlertDialogDescription>
- </AlertDialogHeader>
- <AlertDialogFooter>
- <Button
- variant="outline"
- onClick={() => {
- setDeleteOpen(false);
- setDeletingLabel(null);
- }}
- >
- {t("common:actions.cancel", { defaultValue: "Cancel" })}
- </Button>
- <Button
- variant="destructive"
- onClick={handleDelete}
- disabled={deleteLabel.isPending}
- >
- {deleteLabel.isPending
- ? t("common:actions.deleting")
- : deletingLabel?.deletionStartedAt
- ? t("settings:workspaceLabels.resumeDeletion")
- : t("settings:workspaceLabels.deleteLabel", {
- defaultValue: "Delete",
- })}
- </Button>
- </AlertDialogFooter>
- </AlertDialogContent>
- </AlertDialog>
+ <LabelsSettings />
</>
);
}
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/roles.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/roles.tsx
index 13e270593..a42b7b018 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/roles.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/roles.tsx
@@ -39,8 +39,10 @@ import useWorkspaceRoles, {
} from "@/hooks/queries/workspace/use-workspace-roles";
import { useWorkspacePermission } from "@/hooks/use-workspace-permission";
import { toast } from "@/lib/toast";
+import { SettingsCard } from "@/components/settings/settings-card";
+import { SettingsIconTile } from "@/components/settings/settings-icon-tile";
import { SettingsPage } from "@/components/settings/settings-page";
-import { SettingsSectionHeader } from "@/components/settings/settings-section-header";
+import { SettingsSection } from "@/components/settings/settings-section";
export const Route = createFileRoute(
"/_layout/_authenticated/dashboard/settings/workspace/roles",
@@ -293,15 +295,14 @@ function RouteComponent() {
workspace?.name ?? t("settings:workspaceRoles.thisWorkspace"),
})}
>
- <div className="space-y-6">
- <div className="flex items-start justify-between gap-4">
- <SettingsSectionHeader
- title={t("settings:workspaceRoles.sectionTitle")}
- description={t("settings:workspaceRoles.sectionSubtitle")}
- />
+ <SettingsSection
+ title={t("settings:workspaceRoles.sectionTitle")}
+ description={t("settings:workspaceRoles.sectionSubtitle")}
+ action={
<Button
+ type="button"
+ variant="outline"
size="sm"
- className="gap-1.5"
onClick={() => {
setDraftActive(true);
setOpenCustom((prev) =>
@@ -310,11 +311,12 @@ function RouteComponent() {
}}
disabled={draftActive}
>
- <Plus className="w-3.5 h-3.5" />
+ <Plus aria-hidden="true" />
{t("settings:workspaceRoles.newRole")}
</Button>
- </div>
- <div className="overflow-hidden rounded-xl border border-border bg-card">
+ }
+ >
+ <SettingsCard>
{isLoading && !draftActive ? (
<p className="text-xs text-muted-foreground px-4 py-6">
{t("settings:workspaceRoles.loading")}
@@ -353,8 +355,10 @@ function RouteComponent() {
className="border-b border-border last:border-b-0"
>
<AccordionTrigger className="px-4">
- <div className="flex items-center gap-3 min-w-0">
- <Shield className="w-3.5 h-3.5 text-muted-foreground shrink-0" />
+ <div className="flex items-center gap-3.5 min-w-0">
+ <SettingsIconTile>
+ <Shield />
+ </SettingsIconTile>
<p className="text-sm font-medium italic">
{t("settings:workspaceRoles.newRole")}
</p>
@@ -408,8 +412,10 @@ function RouteComponent() {
>
<AccordionTrigger className="px-4">
<div className="flex items-center justify-between gap-4 flex-1 min-w-0">
- <div className="flex items-center gap-3 min-w-0">
- <Shield className="w-3.5 h-3.5 text-muted-foreground shrink-0" />
+ <div className="flex items-center gap-3.5 min-w-0">
+ <SettingsIconTile>
+ <Shield />
+ </SettingsIconTile>
<div className="min-w-0">
<div className="flex items-center gap-2">
<p
@@ -453,8 +459,8 @@ function RouteComponent() {
})}
</Accordion>
)}
- </div>
- </div>
+ </SettingsCard>
+ </SettingsSection>
</SettingsPage>
<AlertDialog
diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
index bc2a1fb3e..f31f10f8c 100644
--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx
@@ -7,7 +7,7 @@ import ProjectLayout from "@/components/common/project-layout";
import KanbanBoard from "@/components/kanban-board";
import ListView from "@/components/list-view";
import PageTitle from "@/components/page-title";
-import type { CustomFieldDefinition } from "@/components/project/custom-field-editor";
+import type { CustomFieldDefinition } from "@/components/project/custom-fields/types";
import CreateTaskModal from "@/components/shared/modals/create-task-modal";
import TaskDetailsSheet from "@/components/task/task-details-sheet";
import { Input } from "@/components/ui/input";
diff --git a/i18n/az-AZ.json b/i18n/az-AZ.json
index 25893e95d..160df0452 100644
--- a/i18n/az-AZ.json
+++ b/i18n/az-AZ.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Heç vaxt"
- },
"modals": {
"createProject": {
"title": "Yeni layihə yarat",
@@ -566,41 +563,35 @@
"advancedSettings": "Ətraflı parametrlər",
"account": "Hesab",
"developer": "Proqramçı",
- "information": "Məlumat",
+ "information": "Profil",
"notifications": "Bildirişlər",
"preferences": "Tərcihlər",
"apiKeys": "API açarları",
"informationPage": {
- "pageTitle": "Şəxsi məlumatlar",
- "title": "Şəxsi məlumatlar",
- "subtitle": "Şəxsi təfərrüatlarınızı və hesab məlumatlarınızı idarə edin.",
- "sectionTitle": "Hesab məlumatları",
- "sectionSubtitle": "Profil və hesab təfərrüatlarınızı idarə edin.",
+ "pageTitle": "Profil",
+ "title": "Profil",
+ "subtitle": "Komanda yoldaşlarınız sizi necə görür.",
+ "sectionTitle": "Məlumatlar",
"profilePicture": "Profil şəkli",
- "fullName": "Tam ad",
+ "fullName": "Ad",
"fullNamePlaceholder": "Adınızı daxil edin",
"email": "E-poçt",
- "emailPlaceholder": "E-poçtunuzu daxil edin",
- "updateSuccess": "Profil uğurla yeniləndi",
"updateError": "Profili yeniləmək alınmadı",
"validation": {
"nameRequired": "Ad tələb olunur",
- "nameShort": "Ad ən azı 2 simvoldan ibarət olmalıdır",
- "invalidEmail": "Yanlış e-poçt ünvanı"
+ "nameShort": "Ad ən azı 2 simvoldan ibarət olmalıdır"
},
"avatar": {
- "hint": "Şəklinizi dəyişmək və ya silmək üçün üzərinə klikləyin. Kvadrat şəklində kəsilir və ölçüsü 256x256 olur.",
- "remove": "Avatarı çıxar",
+ "hint": "Kvadrat şəkillər daha yaxşı görünür.",
+ "remove": "Çıxar",
"updateSuccess": "Profil şəkli yeniləndi",
"updateError": "Profil şəklini yeniləmək alınmadı",
"removeSuccess": "Profil şəkli çıxarıldı",
"removeError": "Profil şəklini çıxarmaq alınmadı",
- "edit": "Profil şəklinizi dəyişin",
- "change": "Avatarı dəyiş"
+ "upload": "Yüklə"
},
"deleteAccount": {
"sectionTitle": "Təhlükəli bölmə",
- "sectionSubtitle": "Bütün hesabınıza təsir edən geri dönməz əməliyyatlar.",
"title": "Hesabı sil",
"description": "Yalnız sizin üzv olduğunuz iş sahələri hesabınızla birlikdə silinir. Digər iş sahələrində tapşırıqlarınız qalır və icraçısız olur, şərhləriniz isə silinir.",
"modalTitle": "Hesabınız silinsin?",
@@ -610,34 +601,32 @@
"success": "Hesabınız silindi",
"error": "Hesabı silmək alınmadı",
"sessionTooOld": "Təhlükəsizlik üçün hesabınızı silməzdən əvvəl çıxış edib yenidən daxil olun."
- }
+ },
+ "emailHint": "Bu ünvanla daxil olursunuz."
},
"notificationsPage": {
"pageTitle": "Bildirişlər",
"title": "Bildirişlər",
- "subtitle": "Kaneo-nun hesab bildirişlərinizi necə çatdıracağını və hansı kanallardan istifadə edəcəyini seçin.",
+ "subtitle": "Kaneo sizə nə barədə bildiriş göndərir və onlar sizə harada çatır.",
"statusConnected": "Qoşulub",
"statusPaused": "Dayandırılıb",
"emailTitle": "E-poçt",
- "emailDescription": "Bildirişlər üçün hesabınızın e-poçt ünvanından istifadə edin.",
- "accountEmailLabel": "Hesabın e-poçtu",
"accountEmailNoAddress": "Hesabın e-poçt ünvanı yoxdur",
- "accountEmailHint": "E-poçt həmişə daxil olunmuş hesabın e-poçt ünvanına göndərilir.",
"saveChanges": "Dəyişiklikləri yadda saxla",
"disconnect": "Ayır",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Hesab bildirişlərini ntfy mövzusunda yayımlayın.",
+ "ntfyDescription": "Bildirişləri telefonunuzda və ya kompüterinizdə ntfy mövzusunda yayımlayın.",
"serverUrl": "Server URL-i",
"topic": "Mövzu",
"token": "Giriş nişanı",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "komanda-bildirisleri",
- "ntfyTokenPlaceholder": "İstəyə bağlı daşıyıcı giriş nişanı",
+ "ntfyTokenPlaceholder": "Yalnız serveriniz tələb edirsə",
"ntfyTokenHintConfigured": "Giriş nişanı artıq təyin edilib ({{masked}}). Əvəzləmək üçün yeni giriş nişanı daxil edin.",
- "ntfyTokenHintOptional": "İstəyə bağlıdır. ntfy serveriniz kimlik doğrulaması tələb edirsə, giriş nişanı daxil edin.",
+ "ntfyTokenHintOptional": "ntfy serveriniz kimlik doğrulaması tələb edirsə, giriş nişanından istifadə edin.",
"connectNtfy": "ntfy-yə qoşul",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Hesab bildirişlərini Gotify serverinizə göndərin.",
+ "gotifyDescription": "Bildirişləri Gotify serverinizə göndərin.",
"gotifyTokenLabel": "Tətbiqin giriş nişanı",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify tətbiqinin giriş nişanı",
@@ -645,52 +634,26 @@
"gotifyTokenHintRequired": "Tələb olunur. Gotify serverinizdəki tətbiqin giriş nişanından istifadə edin.",
"connectGotify": "Gotify-a qoşul",
"webhookTitle": "Fərdi Webhook",
- "webhookDescription": "Hesab bildirişlərini JSON kimi öz son nöqtənizə göndərin.",
+ "webhookDescription": "Hər bildirişi JSON kimi öz son nöqtənizə göndərin.",
"endpointUrl": "Son nöqtənin URL-i",
"signingSecret": "İmzalama sirri",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "İstəyə bağlı ortaq sirr",
"webhookSecretHintConfigured": "İmzalama sirri artıq təyin edilib ({{masked}}). Əvəzləmək üçün yenisini daxil edin.",
- "webhookSecretHintOptional": "İstəyə bağlıdır. Sirr təyin edildikdə Kaneo sorğunun gövdəsini imzalayır.",
+ "webhookSecretHintOptional": "Sirr təyin edildikdə Kaneo sorğunun gövdəsini imzalayır.",
"connectWebhook": "Webhook-a qoşul",
- "workspaceRulesTitle": "İş sahəsi üzrə çatdırılma qaydaları",
- "workspaceRulesDescription": "Ümumi kanallarınızdan yenidən istifadə edin, sonra hansı iş sahələrinin və layihələrin hesab bildirişləri göndərə biləcəyini seçin.",
- "workspaceCardHint": "Bu iş sahəsinin hesab bildirişləri üçün hansı kanallardan istifadə edə biləcəyini seçin.",
- "workspaceEnabledLabel": "{{workspaceName}} üçün bildirişləri aktivləşdir",
"eventPreferencesTitle": "Mənə bunlar barədə bildir",
- "eventPreferencesDescription": "Hansı tapşırıq hadisələrinin tətbiqdaxili bildiriş yaratdığını və qoşulmuş kanallarınıza çatdırıla biləcəyini seçin.",
- "eventTaskAssignments": "Tapşırıqların təyin edilməsi",
+ "eventPreferencesDescription": "Öz şərhləriniz, xatırlatmalarınız və etdiyiniz vəziyyət dəyişiklikləri barədə sizə bildiriş göndərilmir.",
+ "eventTaskAssignments": "Təyinatlar",
"eventComments": "Şərhlər və xatırlatmalar",
- "eventCommentsHint": "Sizə təyin olunmuş tapşırıqlara yeni şərhləri və birbaşa @xatırlatmaları əhatə edir.",
- "eventStatusChanges": "Tapşırıq vəziyyətinin dəyişməsi",
+ "eventCommentsHint": "Tapşırıqlarınızdakı yeni şərhlər və sizi @ ilə qeyd edən hər kəs.",
+ "eventStatusChanges": "Vəziyyət dəyişiklikləri",
"eventDueDateReminders": "Son tarix xatırlatmaları",
"reminderLeadTimeLabel": "Son tarixdən əvvəl mənə xatırlat",
- "reminderLeadTimeHint": "Son tarixə 1 saatdan 30 günədək qalmış. Vaxtı keçmiş tapşırıqların bildirişləri ayrıca göndərilir.",
- "reminderLeadTimeUnitHours": "Saat",
- "reminderLeadTimeUnitDays": "Gün",
"reminderLeadTimeInvalid": "1 ilə {{max}} arasında tam ədəd daxil edin.",
"saveEventPreferences": "Bildiriş növlərini yadda saxla",
- "workspaceCardLabelEmail": "E-poçt",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Fərdi Webhook",
- "emailChannelHintEnabled": "Uyğun iş sahəsi bildirişlərini e-poçtla göndər.",
- "emailChannelHintDisabled": "Əvvəlcə e-poçtu ümumi səviyyədə quraşdırıb aktivləşdirin.",
- "ntfyChannelHintEnabled": "Uyğun iş sahəsi bildirişlərini ntfy-yə göndər.",
- "ntfyChannelHintDisabled": "Əvvəlcə ntfy-ni ümumi səviyyədə quraşdırıb aktivləşdirin.",
- "gotifyChannelHintEnabled": "Uyğun iş sahəsi bildirişlərini Gotify-a göndər.",
- "gotifyChannelHintDisabled": "Əvvəlcə Gotify-ı ümumi səviyyədə quraşdırıb aktivləşdirin.",
- "webhookChannelHintEnabled": "Uyğun iş sahəsi bildirişlərini Webhook-unuza göndər.",
- "webhookChannelHintDisabled": "Əvvəlcə Webhook-u ümumi səviyyədə quraşdırıb aktivləşdirin.",
- "projectScope": "Layihələrin əhatə dairəsi",
- "projectScopeDescription": "Standart olaraq bütün layihələr daxildir. Bu iş sahəsi yalnız seçilmiş layihələrdən bildiriş göndərməlidirsə, əhatəni daraldın.",
"allProjects": "Bütün layihələr",
- "allProjectsDescription": "Bu iş sahəsindəki bütün layihələrin bildirişlərini çatdır.",
- "selectedProjects": "Seçilmiş layihələr",
- "selectedProjectsDescription": "Yalnız seçilmiş layihələrin bildirişlərini çatdır.",
"noProjectsInWorkspace": "Bu iş sahəsində hələ layihə yoxdur.",
- "createRule": "Qayda yarat",
- "removeRule": "Qaydanı çıxar",
"toastEmailSaved": "E-poçt bildiriş parametrləri yadda saxlanıldı",
"toastEmailSaveFailed": "E-poçt parametrlərini yadda saxlamaq alınmadı",
"toastNtfySaved": "ntfy parametrləri yadda saxlanıldı",
@@ -713,137 +676,164 @@
"toastPreferencesSaveFailed": "Bildiriş tərcihlərini yadda saxlamaq alınmadı",
"toastRuleSavedGeneric": "İş sahəsinin bildiriş qaydası yadda saxlanıldı",
"toastRuleRemovedGeneric": "İş sahəsinin bildiriş qaydası çıxarıldı",
- "recipientHint": "Şərhlər və status dəyişiklikləri sizə təyin edilmiş tapşırıqlar barədə bildiriş göndərir. Qeyd etmələr seçilmiş üzvə bildiriş göndərir. Öz şərhləriniz, qeyd etmələriniz və status dəyişiklikləriniz üçün bildiriş almırsınız."
+ "channelNotConnected": "Qoşulmayıb",
+ "channelOff": "Söndürülüb",
+ "channelsDescription": "Bildirişlər həmişə Kaneo-da göstərilir. Onları başqa yerdə də almaq üçün kanal qoşun.",
+ "channelsTitle": "Kanallar",
+ "configure": "Tənzimlə",
+ "configureChannel": "{{channel}} kanalını tənzimlə",
+ "configureWorkspace": "{{workspaceName}} üçün bildirişləri tənzimlə",
+ "connect": "Qoş",
+ "connectChannel": "{{channel}} kanalını qoş",
+ "disconnectDescription": "Bildirişlər artıq {{channel}} kanalına göndərilməyəcək və onun yadda saxlanılmış parametrləri silinəcək.",
+ "disconnecting": "Ayrılır...",
+ "disconnectTitle": "{{channel}} kanalı ayrılsın?",
+ "done": "Hazır",
+ "emailToggleLabel": "Bildirişləri e-poçtla göndər",
+ "eventDueDateRemindersHint": "Tapşırıqlarınızdan birinin son tarixindən əvvəl. Vaxtı keçmiş tapşırıqlar barədə ayrıca bildiriş gəlir.",
+ "eventStatusChangesHint": "Tapşırıqlarınızdan biri başqa sütuna keçdikdə.",
+ "eventTaskAssignmentsHint": "Kimsə sizə tapşırıq təyin etdikdə.",
+ "loadFailed": "Bildiriş parametrlərini yükləmək alınmadı.",
+ "onlyInKaneo": "Yalnız Kaneo-da",
+ "optional": "İstəyə bağlı",
+ "projectCount_one": "{{count}} layihə",
+ "projectCount_other": "{{count}} layihə",
+ "reminderLeadTimeUnitDaysBefore_one": "gün əvvəl",
+ "reminderLeadTimeUnitDaysBefore_other": "gün əvvəl",
+ "reminderLeadTimeUnitHoursBefore_one": "saat əvvəl",
+ "reminderLeadTimeUnitHoursBefore_other": "saat əvvəl",
+ "reminderLeadTimeUnitLabel": "Xatırlatma vahidi",
+ "ruleActiveDescription": "Parametrlərini saxlayaraq bu iş sahəsini dayandırmaq üçün söndürün.",
+ "ruleActiveLabel": "Göndərmə",
+ "ruleChannels": "Kanallar",
+ "ruleDialogDescription": "Bu iş sahəsindən gələn bildirişlərin hara göndərilə biləcəyi.",
+ "ruleDialogTitle": "{{workspaceName}} bildirişləri",
+ "ruleProjects": "Layihələr",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Yadda saxla",
+ "sendingDescription": "Parametrlərini saxlayaraq bu kanalı dayandırmaq üçün söndürün.",
+ "sendingLabel": "Göndərmə",
+ "setUp": "Qur",
+ "setUpWorkspace": "{{workspaceName}} üçün bildirişləri qur",
+ "someProjects": "Yalnız bəziləri",
+ "statusOn": "Aktiv",
+ "statusSending": "Göndərilir",
+ "stopping": "Dayandırılır...",
+ "stopSending": "Göndərməni dayandır",
+ "stopSendingDescription": "Bu iş sahəsindən gələn bildirişlər yalnız Kaneo-da göstəriləcək.",
+ "stopSendingTitle": "{{workspaceName}} üçün göndərmə dayandırılsın?",
+ "workspacesDescription": "Kanallarınızdan hansı iş sahələrinin və layihələrin istifadə edə biləcəyini seçin.",
+ "workspacesTitle": "İş sahələri"
},
"preferencesPage": {
"title": "Tərcihlər",
- "subtitle": "Kaneo təcrübənizi fərdiləşdirin.",
- "appearanceTitle": "Görünüş",
- "appearanceSubtitle": "Görünüş parametrləri və düzülüş tərcihləri.",
+ "subtitle": "Kaneo sizin üçün necə görünür və işləyir.",
+ "appearanceTitle": "Ümumi",
"theme": "Tema",
- "themeDescription": "İstədiyiniz rəng sxemini seçin",
"selectTheme": "Tema seçin",
"themeLight": "Açıq",
"themeDark": "Tünd",
- "themeSystem": "Sistem",
+ "themeSystem": "Sistemə uyğun",
"language": "Dil",
- "languageDescription": "İstədiyiniz interfeys dilini seçin",
"selectLanguage": "Dil seçin",
"firstDayOfWeek": "Həftənin ilk günü",
- "firstDayOfWeekDescription": "Təqvimlərin və həftəlik aralıqların hansı gündən başladığını seçin",
+ "firstDayOfWeekDescription": "Təqvimlərdə və tarix seçicilərində istifadə olunur.",
"selectFirstDayOfWeek": "İlk günü seçin",
"weekStartsOnSunday": "Bazar",
"weekStartsOnMonday": "Bazar ertəsi",
"weekStartsOnSaturday": "Şənbə",
"defaultView": "Standart görünüş",
- "defaultViewDescription": "İstədiyiniz tapşırıq görünüşünü seçin",
+ "defaultViewDescription": "Layihələrin açıldığı görünüş.",
"selectViewMode": "Görünüş rejimini seçin",
"board": "Lövhə",
"list": "Siyahı",
"gantt": "Qant diaqramı",
- "sidebarDefault": "Yan panelin standart vəziyyəti",
- "sidebarDefaultDescription": "Başlanğıcda yan paneli açıq saxla",
- "displayOptions": "Göstərmə seçimləri",
- "displayOptionsDescription": "Tapşırıq görünüşlərində hansı məlumatların göstəriləcəyini seçin",
+ "sidebarDefault": "Yan paneli açıq saxla",
+ "sidebarDefaultDescription": "Yan panel açıq vəziyyətdə başlasın.",
+ "displayOptions": "Tapşırıq təfərrüatları",
+ "displayOptionsDescription": "Lövhə və siyahılarınızdakı kartlarda və sətirlərdə nə göstərilir.",
"taskNumbers": "Tapşırıq nömrələri",
- "taskNumbersDescription": "Tapşırıq identifikatorlarını və nömrələrini göstər",
"assignees": "İcraçılar",
- "assigneesDescription": "Tapşırıqların kimə təyin olunduğunu göstər",
"dueDates": "Son tarixlər",
- "dueDatesDescription": "Tapşırıqların son tarixlərini göstər",
"labels": "Etiketlər",
- "labelsDescription": "Tapşırıq etiketlərini göstər",
"priority": "Prioritet",
- "priorityDescription": "Prioritet göstəricilərini göstər",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Layihənin öz lövhəsi üçün təyin etdiyi arxa fon şəklini göstər.",
+ "advancedTitle": "Qabaqcıl"
},
"developerPage": {
- "pageTitle": "Proqramçı parametrləri",
- "title": "Proqramçı parametrləri",
- "subtitle": "API açarlarınızı və proqramçı resurslarını idarə edin.",
- "apiKeysCardTitle": "API açarları",
- "apiKeysCardDescription": "Kaneo-ya proqram vasitəsilə giriş üçün API açarları yaradın və idarə edin.",
- "createApiKey": "API açarı yarat",
- "unnamedKey": "Adsız açar"
+ "pageTitle": "API açarları",
+ "title": "API açarları",
+ "subtitle": "Skriptlər, CLI və MCP klientləri Kaneo-dan sizin adınızdan istifadə etsin.",
+ "unnamedKey": "Adsız",
+ "emptyDescription": "CLI, MCP klienti və ya öz skriptlərinizdən istifadə etmək üçün açar yaradın.",
+ "emptyTitle": "Hələ API açarı yoxdur",
+ "keysNote": "Açar sizin edə bildiyiniz hər şeyi edə bilər. Artıq istifadə etmədiyiniz açarları silin.",
+ "keysTitle": "Açarlar",
+ "loadError": "API açarlarını yükləmək alınmadı. Yenidən cəhd edin.",
+ "newKey": "Yeni açar"
},
"apiKey": {
"createdModal": {
- "title": "API açarı yaradıldı",
- "description": "\"{{keyName}}\" API açarınız uğurla yaradıldı.",
- "yourApiKey": "API açarınız",
+ "title": "Açarınızı kopyalayın",
+ "description": "Bunu bağladıqdan sonra açarı bir daha görməyəcəksiniz.",
"copy": "Kopyala",
"copied": "Kopyalandı",
- "toastCopied": "API açarı mübadilə buferinə kopyalandı",
- "alertTitle": "Uğurludur! API açarınız yaradıldı",
- "alertDescription": "Bu açarı indi kopyalayın. Onu bir daha görə bilməyəcəksiniz.",
"done": "Hazırdır",
- "copyToContinue": "Davam etmək üçün açarı kopyalayın"
+ "copyError": "Açarı kopyalamaq alınmadı. Onu seçib əl ilə kopyalayın."
},
"table": {
- "loading": "API açarları yüklənir...",
- "empty": "Hələ API açarı yoxdur. Başlamaq üçün birini yaradın.",
- "columnName": "Ad",
- "columnKey": "Açar",
- "columnCreated": "Yaradılıb",
- "columnExpires": "Bitmə vaxtı",
- "columnActions": "Əməliyyatlar",
- "unnamedKey": "Adsız açar",
- "expiredBadge": "Vaxtı bitib: {{label}}",
- "deleteConfirmTitle": "API açarı silinsin?",
- "deleteConfirmDescription": "Bu əməliyyat geri qaytarıla bilməz. {{name}} həmişəlik silinəcək.",
- "deleteFallbackName": "bu API açarı",
- "delete": "Sil",
- "deleting": "Silinir...",
- "deleteAria": "Açarı sil: {{name}}",
- "deleteAriaFallback": "API açarı",
- "toastDeleted": "API açarı uğurla silindi",
+ "deleteConfirmTitle": "“{{name}}” silinsin?",
+ "deleteConfirmDescription": "Bu açardan istifadə edən hər şey işləməyi dayandıracaq. Bunu geri qaytarmaq olmaz.",
+ "delete": "Açarı sil",
+ "deleting": "Silinir…",
+ "toastDeleted": "API açarı silindi",
"toastDeleteError": "API açarını silmək alınmadı"
},
"createDialog": {
- "title": "API açarı yarat",
- "description": "Kaneo API-sinə proqram vasitəsilə giriş üçün yeni API açarı yaradın.",
+ "title": "Yeni API açarı",
+ "description": "Açar sizin edə bildiyiniz hər şeyi edə bilər.",
"nameLabel": "Ad",
"namePlaceholder": "API açarım",
- "nameDescription": "Bu API açarını təsvir edən ad",
- "expirationLabel": "Vaxtın bitməsi",
- "expirationPlaceholder": "Bitmə vaxtını seçin",
- "expirationDescription": "Bu API açarının nə qədər etibarlı qalacağını seçin. «Heç vaxt» seçimi avtomatik bitmə vaxtı olmayan açar yaradır.",
+ "nameDescription": "Harada istifadə olunduğunu xatırlamaq üçün.",
+ "expirationLabel": "Bitmə müddəti",
"expiration1d": "1 gün",
"expiration7d": "7 gün",
"expiration30d": "30 gün",
"expiration90d": "90 gün",
"expirationNever": "Heç vaxt",
- "create": "Yarat",
- "creating": "Yaradılır...",
+ "create": "Açar yarat",
+ "creating": "Yaradılır…",
"failedCreate": "API açarını yaratmaq alınmadı",
"validation": {
- "nameRequired": "Ad tələb olunur",
- "nameShort": "Ad ən azı 3 simvoldan ibarət olmalıdır",
- "expirationRequired": "Bitmə vaxtı tələb olunur"
+ "nameRequired": "Ad daxil edin",
+ "nameShort": "Ən azı 3 simvol istifadə edin"
}
+ },
+ "row": {
+ "actions": "{{name}} üçün əməliyyatlar",
+ "created": "Yaradılıb: {{date}}",
+ "expired": "Müddəti bitib: {{date}}",
+ "expiredBadge": "Müddəti bitib",
+ "expires": "Müddəti bitir: {{date}}",
+ "neverExpires": "Müddəti bitmir"
}
},
"workspaceGeneral": {
"pageTitle": "Ümumi parametrlər",
- "title": "Ümumi parametrlər",
- "subtitle": "İş sahənizin adını və təsvirini idarə edin.",
- "workspaceInfoTitle": "İş sahəsi məlumatları",
- "workspaceInfoSubtitle": "İş sahənizin təfərrüatlarını və tərcihlərini tənzimləyin.",
- "nameLabel": "İş sahəsinin adı",
- "nameHint": "İş sahənizin adı",
+ "title": "Ümumi",
+ "subtitle": "{{name}} iş sahəsinin adı və sahibi.",
+ "workspaceInfoTitle": "İş sahəsi",
+ "nameLabel": "Ad",
"namePlaceholder": "İş sahəsinin adını daxil edin",
"descriptionLabel": "Təsvir",
- "descriptionHint": "İş sahənizin qısa təsviri",
- "descriptionPlaceholder": "İş sahəsinin təsvirini daxil edin",
+ "descriptionPlaceholder": "Komandanız nə üzərində işləyir?",
"dangerZone": "Təhlükəli bölmə",
- "dangerZoneSubtitle": "Geri qaytarılmayan və məlumatları məhv edən əməliyyatlar.",
"deleteWorkspace": "İş sahəsini sil",
- "deleteWorkspaceDescription": "İş sahəsinin həmişəlik silinməsini planlaşdır",
+ "deleteWorkspaceDescription": "{{name}} iş sahəsini, onun layihələrini və tapşırıqlarını həmişəlik silir.",
"deleteModalTitle": "İş sahəsi silinsin?",
- "deleteModalDescription": "Bu, \"{{name}}\" iş sahəsini və bütün məlumatlarını həmişəlik siləcək. Bu əməliyyat geri qaytarıla bilməz.",
+ "deleteModalDescription": "Bu, {{name}} iş sahəsini və onun bütün layihələrini və tapşırıqlarını həmişəlik silir. Bunu geri qaytarmaq olmaz.",
"deleteModalConfirm": "İş sahəsini sil",
- "toastUpdated": "İş sahəsi uğurla yeniləndi",
"toastUpdateError": "İş sahəsini yeniləmək alınmadı",
"toastDeleted": "İş sahəsi uğurla silindi",
"toastDeleteError": "İş sahəsini silmək alınmadı",
@@ -855,17 +845,18 @@
"toastSuccess": "Sahiblik ötürüldü",
"toastError": "Sahibliyi ötürmək alınmadı",
"title": "Sahibliyi ötür",
- "subtitle": "Bu iş sahəsini başqa üzvə verin. Rolunuz inzibatçıya dəyişəcək və yalnız sahibə aid imkanları itirəcəksiniz.",
"pickerLabel": "Yeni sahib",
"noEligibleMembers": "Sahibliyi ötürməzdən əvvəl ən azı bir üzv dəvət edin.",
- "pickerHint": "Həmin şəxs bu iş sahəsinin yeganə sahibi olacaq.",
+ "pickerHint": "İdarəetməni yeni sahib götürür. Siz inzibatçı olaraq qalırsınız.",
"pickerPlaceholder": "Üzv seçin",
"button": "Ötür",
"dialogTitle": "Sahiblik ötürülsün?",
"dialogDescription": "{{name}} adlı şəxs {{workspace}} iş sahəsinin yeganə sahibi olacaq. İnzibatçı girişiniz qalacaq, lakin iş sahəsini silmək və ya yenidən ötürmək kimi yalnız sahibə aid imkanları itirəcəksiniz.",
"transferring": "Ötürülür…",
"confirm": "Sahibliyi ötür"
- }
+ },
+ "ownershipSubtitle": "Bunu yalnız sahib görür.",
+ "ownershipTitle": "Sahiblik"
},
"workspaceRoles": {
"pageTitle": "Rollar",
@@ -1076,22 +1067,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Etiket parametrləri",
+ "pageTitle": "Etiketlər",
"title": "Etiketlər",
- "subtitle": "İş sahəsi səviyyəsində etiketlər yaradın, onları redaktə edin və silin.",
- "cardDescription": "Tapşırıqlara təyin edilə bilən etiketləri idarə edin.",
+ "subtitle": "Etiketlər bu iş sahəsindəki bütün layihələr üçün ortaqdır.",
"createLabel": "Etiket yarat",
"editLabel": "Etiketi redaktə et",
- "deleteLabel": "Sil",
+ "deleteLabel": "Etiketi sil",
"saveLabel": "Yadda saxla",
- "nameLabel": "Etiketin adı",
- "namePlaceholder": "Etiketin adını daxil edin",
+ "nameLabel": "Ad",
+ "namePlaceholder": "Etiketin adı",
"colorLabel": "Rəng",
- "createDescription": "Bu iş sahəsindəki tapşırıqlarda istifadə oluna bilən yeni etiket yaradın.",
- "editDescription": "Bu etiketin adını və ya rəngini yeniləyin.",
- "deleteConfirmTitle": "Bu etiket silinsin?",
- "deleteConfirmDescription": "Bu, etiketi bütün tapşırıqlardan həmişəlik çıxaracaq. Bu əməliyyat geri qaytarıla bilməz.",
- "empty": "Hələ etiket yoxdur. Başlamaq üçün ilk etiketinizi yaradın.",
+ "createDescription": "Bu iş sahəsindəki layihələr onu öz tapşırıqlarına əlavə edə bilər.",
+ "editDescription": "Dəyişikliklər bu etiketli bütün tapşırıqlarda görünür.",
+ "deleteConfirmTitle": "“{{name}}” silinsin?",
+ "deleteConfirmDescription": "Etiket onu istifadə edən bütün tapşırıqlardan çıxarılır. Bunu geri qaytarmaq olmaz.",
"createSuccess": "Etiket yaradıldı",
"updateSuccess": "Etiket yeniləndi",
"deleteSuccess": "Etiket silindi",
@@ -1099,36 +1088,43 @@
"updateError": "Etiketi yeniləmək alınmadı",
"deleteError": "Etiketi silmək alınmadı",
"nameRequired": "Etiketin adı tələb olunur",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Tapşırıqlardan çıxarılır…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "{{name}} etiketini redaktə et",
+ "emptyDescription": "Layihələr üzrə tapşırıqları çeşidləmək və süzgəcdən keçirmək üçün etiketlər əlavə edin.",
+ "emptyTitle": "Hələ etiket yoxdur",
+ "loadError": "Etiketləri yükləmək alınmadı. Yenidən cəhd edin.",
+ "newLabel": "Yeni etiket",
+ "preview": "Tapşırıqda",
+ "previewPlaceholder": "Etiket",
+ "resume": "Davam et",
+ "rowActions": "{{name}} üçün əməliyyatlar",
+ "sectionDescription": "Etiketin adını və ya rəngini dəyişmək onu istifadə edən bütün tapşırıqları yeniləyir.",
+ "sectionTitle": "İş sahəsinin etiketləri",
+ "subtitleWithWorkspace": "Etiketlər {{workspaceName}} iş sahəsindəki bütün layihələr üçün ortaqdır."
},
"projectGeneral": {
"pageTitle": "Layihə parametrləri",
- "title": "Ümumi parametrlər",
- "subtitle": "Layihənizin adını, açarını, nişanını və təsvirini idarə edin.",
- "projectInfoTitle": "Layihə məlumatları",
- "projectInfoSubtitle": "Layihənizin təfərrüatlarını və tərcihlərini tənzimləyin.",
+ "title": "Ümumi",
+ "subtitle": "{{name}} layihəsinin adı, açarı və görünüşü.",
+ "projectInfoTitle": "Layihə",
"iconLabel": "Nişan",
- "iconHint": "Yan paneldə və layihə görünüşlərində göstərilir.",
+ "iconHint": "Yan paneldə və layihə siyahılarında göstərilir.",
"pickIconTitle": "Nişan seç",
"searchIconsPlaceholder": "Nişanları axtar...",
- "projectNameLabel": "Layihənin adı",
- "projectNameHint": "Layihənizin adı",
- "projectNamePlaceholder": "Layihənin adını daxil edin",
+ "projectNameLabel": "Ad",
+ "projectNamePlaceholder": "Layihənin adı",
"keyLabel": "Açar",
- "keyHint": "Tapşırıq identifikatorları üçün istifadə olunur (məs., {{slug}}-123)",
+ "keyHint": "Hər tapşırıq identifikatorunun əvvəlində olur, məs., {{slug}}-123.",
"keyPlaceholder": "LAY",
"descriptionLabel": "Təsvir",
- "descriptionHint": "Layihənizin qısa təsviri",
- "descriptionPlaceholder": "Layihənin təsvirini daxil edin",
+ "descriptionPlaceholder": "Bu layihə nə üçündür?",
"dangerZone": "Təhlükəli bölmə",
- "dangerZoneSubtitle": "Geri qaytarılmayan və məlumatları məhv edən əməliyyatlar.",
"deleteProject": "Layihəni sil",
- "deleteProjectDescription": "Layihənin həmişəlik silinməsini planlaşdır",
+ "deleteProjectDescription": "{{name}} layihəsini və onun bütün tapşırıqlarını həmişəlik silir.",
"deleteModalTitle": "Layihə silinsin?",
- "deleteModalDescription": "Bu, \"{{name}}\" layihəsini və bütün məlumatlarını həmişəlik siləcək. Bu əməliyyat geri qaytarıla bilməz.",
+ "deleteModalDescription": "Bu, {{name}} layihəsini və onun bütün tapşırıqlarını həmişəlik silir. Bunu geri qaytarmaq olmaz.",
"deleteModalConfirm": "Layihəni sil",
- "toastUpdated": "Layihə uğurla yeniləndi",
"toastUpdateError": "Layihəni yeniləmək alınmadı",
"toastDeleted": "Layihə uğurla silindi",
"toastDeleteError": "Layihəni silmək alınmadı",
@@ -1138,40 +1134,42 @@
"keyMax": "Açar ən çox 8 simvoldan ibarət olmalıdır",
"iconRequired": "Nişan tələb olunur"
},
- "importExportTasks": "İdxal/ixrac",
- "importExportTasksDescription": "Tapşırıqları idxal və ixrac edin.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Lövhənin arxasındakı şəkil. Hər kəs bunu özü üçün söndürə bilər.",
+ "backgroundUnavailable": "Bu serverdə şəkil yükləmələri qurulmayıb.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Əvəz et",
+ "backgroundUpload": "Yüklə",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
- "moveModalConfirm": "Move Project",
- "moveModalDescription": "This will move the project \"{{name}}\" and all of its tasks to \"{{workspace}}\". Tasks assigned to people who aren't members of that workspace will be unassigned, and notification subscriptions for this project will be cleared.",
- "moveModalTitle": "Move Project?",
- "moveProject": "Move to workspace",
+ "moveModalConfirm": "Layihəni köçür",
+ "moveProject": "Başqa iş sahəsinə köçür",
"moveProjectAction": "Move",
- "moveProjectDescription": "Move this project, with all of its tasks, to another workspace.",
- "moveProjectPlaceholder": "Select workspace",
+ "moveProjectDescription": "Tapşırıqlar, sütunlar və etiketlər onunla birlikdə köçürülür.",
+ "moveProjectPlaceholder": "İş sahəsi seçin",
"moveTargetsError": "Couldn't check which workspaces you can move this project to. Reload to try again.",
"toastMoved": "Project moved successfully",
"toastMovedWithUnassigned": "Project moved successfully. {{taskCount}} task(s) were unassigned.",
- "toastMoveError": "Failed to move project"
+ "toastMoveError": "Failed to move project",
+ "moveDialogDescription": "Yeni iş sahəsindən kənar şəxslərə təyin olunmuş tapşırıqların icraçısı çıxarılır və bu layihə üçün bildiriş abunəlikləri silinir.",
+ "moveDialogTitle": "Başqa iş sahəsinə köçürülsün?",
+ "moveTargetLabel": "İş sahəsi",
+ "moving": "Köçürülür...",
+ "tasksTitle": "Tapşırıqlar"
},
"projectIntegrations": {
- "pageTitle": "Layihə inteqrasiyaları",
- "title": "Layihə inteqrasiyaları",
- "subtitle": "İş axınınızı asanlaşdırmaq üçün layihənizi xarici alət və xidmətlərə qoşun.",
+ "pageTitle": "İnteqrasiyalar",
+ "title": "İnteqrasiyalar",
+ "subtitle": "Bu layihəni kod hostinqinizə və komandanızın çatına qoşun.",
"githubSectionTitle": "GitHub inteqrasiyası",
"githubSectionSubtitle": "Tapşırıqları GitHub məsələləri ilə sinxronlaşdırın və ikitərəfli sinxronlaşdırmanı aktivləşdirin.",
"giteaSectionTitle": "Gitea inteqrasiyası",
"giteaSectionSubtitle": "Tapşırıqları öz serverinizdəki Gitea ilə sinxronlaşdırın (məsələlər, birləşdirmə sorğuları, Webhook-lar).",
"discordSectionTitle": "Discord inteqrasiyası",
"discordSectionSubtitle": "Layihənin tapşırıq yeniləmələrini Webhook ilə Discord kanalına göndərin.",
- "genericWebhookSectionTitle": "Ümumi Webhook-lar",
+ "genericWebhookSectionTitle": "Webhook-lar",
"genericWebhookSectionSubtitle": "Layihənin tapşırıq hadisələrini JSON kimi istənilən HTTP son nöqtəsinə göndərin.",
"slackSectionTitle": "Slack inteqrasiyası",
"slackSectionSubtitle": "Layihənin tapşırıq yeniləmələrini daxil olan Webhook ilə Slack kanalına göndərin.",
@@ -1179,10 +1177,10 @@
"mattermostSectionSubtitle": "Layihənin tapşırıq yeniləmələrini daxil olan Webhook ilə Mattermost kanalına göndərin.",
"telegramSectionTitle": "Telegram inteqrasiyası",
"telegramSectionSubtitle": "Layihənin tapşırıq yeniləmələrini bot ilə Telegram söhbətinə və ya mövzusuna göndərin.",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Tapşırıqları GitLab.com və ya öz serverinizdəki GitLab ilə sinxronlaşdırın.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Kod hostinqi",
- "chatTitle": "Çat və vebhuklar",
+ "chatTitle": "Çat və Webhook-lar",
"statusConnected": "Qoşulub",
"statusPaused": "Dayandırılıb",
"connect": "Qoş",
@@ -1192,69 +1190,59 @@
"projectVisibility": {
"pageTitle": "Layihənin görünürlüğü",
"title": "Görünürlük",
- "subtitle": "Layihənizi kimin görə və ona daxil ola biləcəyini idarə edin.",
- "sectionTitle": "Görünürlük",
- "sectionSubtitle": "İctimai girişi açıb-bağlayın və ictimai URL-i paylaşın.",
- "publicAccess": "İctimai giriş",
- "publicAccessHint": "URL-i olan hər kəsin bu layihəyə baxmasına icazə ver",
+ "subtitle": "{{project}} layihəsini {{workspace}} xaricində kimin görə biləcəyini seçin.",
+ "sectionTitle": "Giriş",
+ "publicAccess": "İctimai keçid",
+ "publicAccessHint": "Keçidi olan hər kəs lövhəyə və onun tapşırıqlarına baxa bilər. Heç nəyi dəyişə bilməzlər.",
"publicUrl": "İctimai URL",
- "publicUrlHint": "Layihə ictimaidirsə, bu keçidi paylaşın",
- "copy": "Kopyala",
- "copiedToast": "Kopyalandı",
+ "copy": "Keçidi kopyala",
"toastUpdated": "Görünürlük yeniləndi",
- "toastUpdateError": "Görünürlüğü yeniləmək alınmadı"
+ "toastUpdateError": "Görünürlüğü yeniləmək alınmadı",
+ "always": "Həmişə",
+ "copied": "Kopyalandı",
+ "copyError": "Keçidi kopyalamaq alınmadı",
+ "membersDescription": "İş sahəsindəki hər kəs, rolunun icazə verdiyi qədər.",
+ "membersTitle": "{{workspace}} üzvləri",
+ "offNote": "İctimai keçidi söndürdükdə o dərhal işləməyi dayandırır.",
+ "on": "Aktiv",
+ "openPublicPage": "İctimai səhifəni aç",
+ "thisWorkspace": "bu iş sahəsi"
},
"projectWorkflow": {
"pageTitle": "İş axını parametrləri",
"title": "İş axını",
- "subtitle": "Bu layihə üçün lövhə sütunlarını və avtomatlaşdırma qaydalarını tənzimləyin.",
+ "subtitle": "Lövhənizdəki sütunlar və tapşırıqları onlar arasında nəyin köçürdüyü.",
"columnsTitle": "Sütunlar",
- "columnsDescription": "Lövhənizdə görünən sütunları idarə edin. Sıralamaq üçün sürükləyin. Tamamlanmış işi bildirən mərhələlər üçün «Tamamlanma sütunu» seçimini aktivləşdirin.",
- "automationTitle": "Avtomatlaşdırma qaydaları",
- "automationDescription": "İnteqrasiya hadisələrini sütunlarla əlaqələndirin. Hadisə baş verdikdə əlaqəli tapşırıq göstərilən sütuna keçir.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Sıralamaq üçün sürükləyin. Tamamlanma sütunundakı tapşırıqlar tamamlanmış sayılır.",
+ "automationTitle": "Avtomatlaşdırmalar",
+ "automationDescription": "Qoşulmuş repozitoriyada nəsə baş verdikdə əlaqəli tapşırığı köçürün."
},
"projectSwitcher": {
"selectProject": "Layihə seç",
"noProjects": "Layihə yoxdur"
},
"columnEditor": {
- "toastCreated": "Sütun yaradıldı",
"toastCreateError": "Sütunu yaratmaq alınmadı",
- "toastRenamed": "Sütunun adı dəyişdirildi",
"toastRenameError": "Sütunu yeniləmək alınmadı",
- "toastFinalOn": "Sütun yekun kimi işarələndi",
- "toastFinalOff": "Sütunun yekun işarəsi götürüldü",
"toastUpdateError": "Sütunu yeniləmək alınmadı",
- "toastIconUpdated": "Sütunun nişanı yeniləndi",
- "toastDeleted": "Sütun silindi",
"toastDeleteError": "Sütunu silmək alınmadı",
- "loading": "Sütunlar yüklənir...",
"pickIconTitle": "Sütun nişanını seç",
"searchIconsPlaceholder": "Nişanları axtar...",
- "doneColumnTooltip": "Bunu tamamlanma sütunu kimi qəbul et",
- "doneColumn": "Tamamlanma sütunu",
"markDoneAria": "{{name}} sütununu tamamlanma sütunu kimi işarələ",
- "on": "Aktiv",
- "off": "Sönülü",
- "newColumnPlaceholder": "Yeni sütunun adı...",
- "add": "Əlavə et",
+ "newColumnPlaceholder": "Sütunun adı",
"deleteAria": "{{name}} sütununu sil",
- "renameAria": "{{name}} sütununun adını dəyiş"
+ "renameAria": "{{name}} sütununun adını dəyiş",
+ "addColumn": "Sütun əlavə et",
+ "columnHeader": "Sütun",
+ "deleteConfirm": "Sütunu sil",
+ "deleteDescription": "İçində tapşırıq olan sütunlar silinə bilməz. Əvvəlcə həmin tapşırıqları köçürün.",
+ "deleteTitle": "“{{name}}” silinsin?",
+ "doneHeader": "Tamamlanıb",
+ "dragAria": "{{name}} sütununun sırasını dəyiş",
+ "reorderError": "Sütunların sırasını dəyişmək alınmadı"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Repozitoriyanın sahibi tələb olunur",
- "ownerInvalid": "Repozitoriya sahibinin formatı yanlışdır",
- "nameRequired": "Repozitoriyanın adı tələb olunur",
- "nameInvalid": "Repozitoriya adının formatı yanlışdır"
- },
"toast": {
- "installedOk": "GitHub tətbiqi düzgün quraşdırılıb!",
- "installedMissingPerms": "GitHub tətbiqi quraşdırılıb, lakin tələb olunan icazələr çatışmır",
- "needsInstallOnRepo": "GitHub tətbiqi bu repozitoriyada quraşdırılmalıdır",
- "repoNotFound": "Repozitoriya tapılmadı və ya əlçatan deyil",
"verifyError": "GitHub quraşdırmasını yoxlamaq alınmadı",
"installAppFirst": "Əvvəlcə bu repozitoriyada GitHub tətbiqini quraşdırın",
"missingPermsDetail": "GitHub tətbiqində tələb olunan icazələr çatışmır: {{list}}. Tətbiqin icazələrini yeniləyin.",
@@ -1268,66 +1256,36 @@
"commentOnDisabled": "Yeni məsələlərdə tapşırıq keçidi olan şərhlər söndürülüb",
"settingsUpdateError": "GitHub inteqrasiyasını yeniləmək alınmadı"
},
- "connectionStatus": "Qoşulma vəziyyəti",
- "connectedActive": "Repozitoriya qoşulub və aktivdir",
- "notConnectedHint": "Repozitoriya qoşulmayıb",
- "badgeConnected": "Qoşulub",
- "badgeNotConnected": "Qoşulmayıb",
- "repository": "Repozitoriya",
- "repositoryHint": "Qoşulmuş GitHub repozitoriyası",
"commentTaskLinkTitle": "Yeni məsələlərə Kaneo keçidi ilə şərh yaz",
- "commentTaskLinkHint": "Aktiv olduqda Kaneo hər yeni GitHub məsələsinə tapşırığa keçid olan şərh yazır.",
- "appStatusTitle": "GitHub tətbiqinin vəziyyəti",
- "appStatusHint": "Quraşdırma və icazələrin vəziyyəti",
- "statusProperlyConfigured": "Düzgün tənzimlənib",
- "statusMissingPermissions": "Çatışmayan icazələr",
- "statusNotInstalled": "Quraşdırılmayıb",
- "ownerLabel": "Repozitoriyanın sahibi",
- "ownerHint": "GitHub istifadəçi adı və ya təşkilat",
- "ownerPlaceholder": "Məs., octocat",
- "repoNameLabel": "Repozitoriyanın adı",
- "repoNameHint": "Repozitoriyanın adı",
- "repoNamePlaceholder": "Məs., layihəm",
- "actionsTitle": "Əməliyyatlar",
- "actionsHint": "Repozitoriyaya qoşulmanızı idarə edin",
- "browse": "Gözdən keçir",
- "verify": "Doğrula",
- "update": "Yenilə",
- "connect": "Qoşul",
- "disconnect": "Ayır",
- "missingPermissionsLabel": "Çatışmayan icazələr:",
+ "commentTaskLinkHint": "GitHub-da olanlar tapşırığa birbaşa keçə bilsin deyə.",
"updatePermissions": "İcazələri yenilə",
"installGithubApp": "GitHub tətbiqini quraşdır",
- "importSectionTitle": "GitHub məsələlərini idxal et",
- "importSectionHint": "GitHub repozitoriyanızdakı mövcud məsələləri tapşırıq kimi idxal edin",
- "importing": "İdxal edilir...",
- "importIssues": "Məsələləri idxal et",
- "importDisabledHint": "İdxalı aktivləşdirmək üçün yuxarıdakı repozitoriya parametrlərini tamamlayın",
+ "importSectionHint": "Repozitoriyanın açıq məsələlərini tapşırıq kimi idxal edin.",
+ "importDisabledHint": "İdxalı aktivləşdirmək üçün repozitoriyanı yenidən qoşun.",
"accountVerificationHint": "Connect your GitHub account to verify that you administer this repository.",
"enableGithubSignInHint": "Ask your instance administrator to enable GitHub sign-in.",
"reverifyHint": "Reconnect this repository to verify access and resume synchronization.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Oradakı məsələlər və birləşdirmə sorğuları buradakı tapşırıqlarla əlaqələndiriləcək.",
+ "linkAccountDescription": "Repozitoriyanı idarə edə bildiyinizi təsdiqləyir.",
+ "linkAccountTitle": "GitHub hesabınızı əlaqələndirin",
+ "linked": "Əlaqələndirilib",
+ "linkGithub": "GitHub-ı əlaqələndir",
+ "verifyMissingPermissions": "Kaneo GitHub tətbiqində icazələr çatışmır: {{list}}.",
+ "verifyNotInstalled": "Kaneo GitHub tətbiqi bu repozitoriyada quraşdırılmayıb.",
+ "verifyReady": "Kaneo GitHub tətbiqi lazımi icazələrlə quraşdırılıb.",
+ "workflowHint": "Birləşdirmə sorğuları açıldıqda və ya birləşdirildikdə tapşırıqların köçürülməsini burada tənzimləyin:",
+ "workflowLink": "İş axını"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea-nın əsas URL-i tələb olunur",
- "baseUrlInvalid": "Etibarlı URL daxil edin (məs., https://gitea.example.com)",
- "ownerRequired": "Repozitoriyanın sahibi tələb olunur",
- "ownerInvalid": "Repozitoriya sahibinin formatı yanlışdır",
- "nameRequired": "Repozitoriyanın adı tələb olunur",
- "nameInvalid": "Repozitoriya adının formatı yanlışdır"
+ "baseUrlInvalid": "Etibarlı URL daxil edin (məs., https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea giriş nişanının bu repozitoriyaya girişi var",
- "verifyWarning": "Giriş nişanının icazələrini və ya repozitoriyaya girişi yoxlayın",
- "repoNotFound": "Repozitoriya tapılmadı və ya əlçatan deyil",
- "redirected": "Gitea URL-i yönləndirildi (adətən HTTPS-ə). Birbaşa son URL-dən istifadə edin.",
- "notGiteaInstance": "URL Gitea quraşdırmasına aid deyil",
"verifyError": "Gitea girişini doğrulamaq alınmadı",
- "tokenRequired": "Şəxsi giriş nişanı tələb olunur",
- "tokenRequiredVerify": "Doğrulamaq üçün giriş nişanı daxil edin",
"verifyFirst": "Girişi doğrulamaq alınmadı. URL-i, giriş nişanını və repozitoriyanı yoxlayın",
"updated": "Gitea inteqrasiyası yadda saxlanıldı",
"updateError": "Gitea inteqrasiyasını yadda saxlamaq alınmadı",
@@ -1337,54 +1295,22 @@
"importError": "Məsələləri idxal etmək alınmadı",
"commentOnEnabled": "Kaneo yeni məsələlərə tapşırıq keçidi olan şərh yazacaq",
"commentOnDisabled": "Yeni məsələlərdə tapşırıq keçidi olan şərhlər söndürülüb",
- "settingsUpdateError": "Gitea inteqrasiyasını yeniləmək alınmadı",
- "secretCopied": "Kopyalandı",
- "unableToCopySecret": "Sirri kopyalamaq mümkün olmadı"
- },
- "webhookShow": "Göstər",
- "webhookHide": "Gizlət",
- "webhookCopy": "Kopyala",
- "connectionStatus": "Qoşulma vəziyyəti",
- "connectedActive": "Repozitoriya qoşulub və aktivdir",
- "notConnectedHint": "Gitea repozitoriyası qoşulmayıb",
- "badgeConnected": "Qoşulub",
- "badgeNotConnected": "Qoşulmayıb",
- "repository": "Repozitoriya",
- "repositoryHint": "Əlaqələndirilmiş Gitea repozitoriyası",
+ "settingsUpdateError": "Gitea inteqrasiyasını yeniləmək alınmadı"
+ },
"commentTaskLinkTitle": "Yeni məsələlərə Kaneo keçidi ilə şərh yaz",
- "commentTaskLinkHint": "Aktiv olduqda Kaneo hər yeni məsələyə tapşırığa keçid olan şərh yazır.",
- "webhookTitle": "Webhook",
- "webhookHint": "Gitea repozitoriyanızda bu URL və sirr ilə Webhook əlavə edin. Göndərmə, birləşdirmə sorğusu, məsələlər, məsələ şərhləri və yaratma (etiketlər üçün) hadisələrini aktivləşdirin.",
- "webhookSecretLabel": "Sirr (Gitea-dakı Webhook-un sirri ilə uyğun olmalıdır)",
+ "commentTaskLinkHint": "Gitea-da olanlar tapşırığa birbaşa keçə bilsin deyə.",
+ "webhookHint": "Dəyişikliklərin Kaneo-ya qayıtması üçün bu Webhook-u repozitoriya parametrlərində əlavə edin.",
"baseUrlLabel": "Gitea URL-i",
- "baseUrlHint": "Gitea quraşdırmanızın kök URL-i",
"tokenLabel": "Şəxsi giriş nişanı",
- "tokenHint": "Repozitoriyaya və məsələlərə giriş hüququ olan nişan",
"tokenPlaceholder": "Giriş nişanını yapışdırın",
"tokenPlaceholderUpdate": "Əvəzləmək üçün yeni giriş nişanını yapışdırın",
- "currentToken": "Saxlanılıb",
- "ownerLabel": "Sahib",
- "ownerHint": "İstifadəçi və ya təşkilat adı",
- "repoNameLabel": "Repozitoriyanın adı",
- "repoNameHint": "Yalnız repozitoriyanın adı (sahibsiz)",
- "actionsTitle": "Əməliyyatlar",
- "actionsHint": "Girişi doğrula və qoşul",
- "browse": "Gözdən keçir",
- "verify": "Doğrula",
- "update": "Yenilə",
- "connect": "Qoşul",
- "disconnect": "Ayır",
- "importSectionTitle": "Gitea məsələlərini idxal et",
- "importSectionHint": "Repozitoriyadan açıq məsələləri və birləşdirmə sorğularını idxal edin",
- "importing": "İdxal edilir…",
- "importIssues": "Məsələləri idxal et",
- "importDisabledHint": "İdxalı aktivləşdirmək üçün yuxarıdakı repozitoriyanı doğrulayın",
- "browseModalTitle": "Repozitoriyalarınız",
- "browseModalHint": "Giriş nişanınızın çata bildiyi repozitoriyalar",
- "searchRepos": "Axtar…",
- "browseNeedsCredentials": "Baxmaq üçün Gitea URL-ini və giriş nişanını daxil edin",
- "loadingRepos": "Repozitoriyalar yüklənir…",
- "retry": "Yenidən cəhd et"
+ "importSectionHint": "Açıq məsələləri və birləşdirmə sorğularını tapşırıq kimi idxal edin.",
+ "importDisabledHint": "İdxal üçün təsdiqlənmiş giriş lazımdır. Yuxarıda giriş nişanının vəziyyətini yoxlayın.",
+ "browseModalHint": "Giriş nişanınızın çata bildiyi repozitoriyalar.",
+ "browseNeedsCredentials": "Baxmaq üçün Gitea URL-ini və giriş nişanını daxil edin.",
+ "browseEmpty": "Bu giriş nişanı heç bir repozitoriyanı görmür.",
+ "chooseRepositoryDescription": "Repozitoriyanı owner/name kimi yazın və ya siyahıdan seçin.",
+ "webhookEvents": "Göndərmə (push), birləşdirmə sorğusu, məsələ, məsələ şərhi və yaratma (create) hadisələrini aktivləşdirin."
},
"slackIntegration": {
"validation": {
@@ -1399,30 +1325,10 @@
"removed": "Slack inteqrasiyası uğurla çıxarıldı",
"removeError": "Slack inteqrasiyasını çıxarmaq alınmadı"
},
- "connectionTitle": "Slack Webhook-una qoşulma",
- "connectionHint": "Slack üçün daxil olan Webhook-un URL-ini yapışdırın və hansı tapşırıq hadisələrinin göndəriləcəyini seçin.",
- "connected": "Qoşulub",
- "paused": "Dayandırılıb",
- "webhookLabel": "Daxil olan Webhook-un URL-i",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Slack-də daxil olan Webhook yaradın və yaradılmış URL-i buraya yapışdırın.",
- "channelLabel": "Kanalın adı",
- "channelPlaceholder": "#komanda-yenilikleri",
- "channelHint": "İstinad üçün istəyə bağlı etiket. Slack faktiki təyinat kanalını Webhook-un parametrlərindən idarə edir.",
- "eventsTitle": "Hadisə bildirişləri",
- "eventsHint": "Hansı layihə dəyişikliklərinin Slack-ə göndəriləcəyini seçin.",
- "events": {
- "taskCreated": "Yeni tapşırıqlar",
- "taskStatusChanged": "Vəziyyət dəyişiklikləri",
- "taskPriorityChanged": "Prioritet dəyişiklikləri",
- "taskTitleChanged": "Başlıq dəyişiklikləri",
- "taskDescriptionChanged": "Təsvir dəyişiklikləri",
- "taskCommentCreated": "Yeni şərhlər"
- },
+ "webhookHint": "Slack-də daxil olan Webhook yaradın və onu buraya yapışdırın.",
"connect": "Slack-ə qoşul",
- "saveChanges": "Dəyişiklikləri yadda saxla",
- "update": "Slack-i yenilə",
- "disconnect": "Ayır"
+ "update": "Slack-i yenilə"
},
"discordIntegration": {
"validation": {
@@ -1437,30 +1343,10 @@
"removed": "Discord inteqrasiyası uğurla çıxarıldı",
"removeError": "Discord inteqrasiyasını çıxarmaq alınmadı"
},
- "connectionTitle": "Discord Webhook-una qoşulma",
- "connectionHint": "Discord Webhook-unun URL-ini yapışdırın və hansı tapşırıq hadisələrinin göndəriləcəyini seçin.",
- "connected": "Qoşulub",
- "paused": "Dayandırılıb",
- "webhookLabel": "Webhook-un URL-i",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Discord kanalı üçün Webhook yaradın və yaradılmış URL-i buraya yapışdırın.",
- "channelLabel": "Kanalın adı",
- "channelPlaceholder": "#komanda-yenilikleri",
- "channelHint": "İstinad üçün istəyə bağlı etiket. Discord faktiki təyinat kanalını Webhook-un parametrlərindən idarə edir.",
- "eventsTitle": "Hadisə bildirişləri",
- "eventsHint": "Hansı layihə dəyişikliklərinin Discord-a göndəriləcəyini seçin.",
- "events": {
- "taskCreated": "Yeni tapşırıqlar",
- "taskStatusChanged": "Vəziyyət dəyişiklikləri",
- "taskPriorityChanged": "Prioritet dəyişiklikləri",
- "taskTitleChanged": "Başlıq dəyişiklikləri",
- "taskDescriptionChanged": "Təsvir dəyişiklikləri",
- "taskCommentCreated": "Yeni şərhlər"
- },
+ "webhookHint": "Discord-da kanal Webhook-u yaradın və onu buraya yapışdırın.",
"connect": "Discord-a qoşul",
- "saveChanges": "Dəyişiklikləri yadda saxla",
- "update": "Discord-u yenilə",
- "disconnect": "Ayır"
+ "update": "Discord-u yenilə"
},
"mattermostIntegration": {
"validation": {
@@ -1475,34 +1361,15 @@
"removed": "Mattermost inteqrasiyası uğurla çıxarıldı",
"removeError": "Mattermost inteqrasiyasını çıxarmaq alınmadı"
},
- "connectionTitle": "Mattermost Webhook-una qoşulma",
- "connectionHint": "Mattermost üçün daxil olan Webhook-un URL-ini yapışdırın və hansı tapşırıq hadisələrinin göndəriləcəyini seçin.",
- "connected": "Qoşulub",
- "paused": "Dayandırılıb",
- "webhookLabel": "Daxil olan Webhook-un URL-i",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/...",
- "webhookHint": "Mattermost-da daxil olan Webhook yaradın və yaradılmış URL-i buraya yapışdırın.",
- "channelLabel": "Kanalın adı",
- "channelPlaceholder": "#komanda-yenilikleri",
- "channelHint": "İstinad üçün istəyə bağlı etiket. Mattermost faktiki təyinat kanalını Webhook-un parametrlərindən idarə edir.",
- "eventsTitle": "Hadisə bildirişləri",
- "eventsHint": "Hansı layihə dəyişikliklərinin Mattermost-a göndəriləcəyini seçin.",
- "events": {
- "taskCreated": "Yeni tapşırıqlar",
- "taskStatusChanged": "Vəziyyət dəyişiklikləri",
- "taskPriorityChanged": "Prioritet dəyişiklikləri",
- "taskTitleChanged": "Başlıq dəyişiklikləri",
- "taskDescriptionChanged": "Təsvir dəyişiklikləri",
- "taskCommentCreated": "Yeni şərhlər"
- },
+ "webhookHint": "Mattermost-da daxil olan Webhook yaradın və onu buraya yapışdırın.",
"connect": "Mattermost-a qoşul",
- "saveChanges": "Dəyişiklikləri yadda saxla",
- "update": "Mattermost-u yenilə",
- "disconnect": "Ayır"
+ "update": "Mattermost-u yenilə"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Webhook üçün etibarlı URL daxil edin"
+ "webhookInvalid": "Webhook üçün etibarlı URL daxil edin",
+ "leadTimeRange": "5 dəqiqə ilə 720 saat arasında vaxt seçin."
},
"toast": {
"saved": "Ümumi Webhook inteqrasiyası uğurla yadda saxlanıldı",
@@ -1513,43 +1380,41 @@
"removed": "Ümumi Webhook inteqrasiyası uğurla çıxarıldı",
"removeError": "Ümumi Webhook inteqrasiyasını çıxarmaq alınmadı"
},
- "connectionTitle": "Gedən Webhook-a qoşulma",
- "connectionHint": "Tapşırıq hadisələrini JSON kimi öz son nöqtənizə göndərin. Sirr təyin edildikdə imzalanmış X-Kaneo-Signature başlığı əlavə olunur.",
- "connected": "Qoşulub",
- "paused": "Dayandırılıb",
"webhookLabel": "Son nöqtənin URL-i",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo hər aktiv hadisə üçün JSON məlumatları ilə POST sorğuları göndərir.",
"secretLabel": "İmzalama sirri",
- "secretPlaceholder": "İstəyə bağlı ortaq sirr",
- "secretHint": "İstəyə bağlıdır. Təyin edildikdə Kaneo sorğunun gövdəsini imzalayır və onaltılıq heş dəyərini X-Kaneo-Signature başlığında göndərir.",
- "secretHintConfigured": "İmzalama sirri artıq təyin edilib ({{secret}}). Əvəzləmək üçün yenisini daxil edin.",
- "eventsTitle": "Hadisə bildirişləri",
- "eventsHint": "Hansı layihə dəyişikliklərinin gedən Webhook-ları işə salacağını seçin.",
+ "secretPlaceholder": "Ortaq sirr",
+ "secretHint": "Kaneo hər sorğunu onunla imzalayır və heş dəyərini X-Kaneo-Signature başlığında göndərir.",
+ "secretHintConfigured": "Cari sirr: {{secret}}. Əvəzləmək üçün yenisini yapışdırın.",
+ "eventsTitle": "Bu hallarda göndər",
"events": {
- "taskCreated": "Yeni tapşırıqlar",
- "taskStatusChanged": "Vəziyyət dəyişiklikləri",
- "taskPriorityChanged": "Prioritet dəyişiklikləri",
- "taskTitleChanged": "Başlıq dəyişiklikləri",
- "taskDescriptionChanged": "Təsvir dəyişiklikləri",
- "taskCommentCreated": "Yeni şərhlər",
+ "taskCreated": "Tapşırıq yaradıldı",
+ "taskStatusChanged": "Vəziyyət dəyişdi",
+ "taskPriorityChanged": "Prioritet dəyişdi",
+ "taskTitleChanged": "Başlıq dəyişdi",
+ "taskDescriptionChanged": "Təsvir dəyişdi",
+ "taskCommentCreated": "Yeni şərh",
"taskDeleted": "Tapşırıq silindi",
"taskMoved": "Tapşırıq köçürüldü",
"taskDueDateChanged": "Son tarix dəyişdi",
"taskAssigneeChanged": "İcraçı dəyişdi",
"taskUnassigned": "Tapşırığın icraçısı çıxarıldı",
- "dueDateReminder": "Son tarix xatırlatmaları"
+ "dueDateReminder": "Son tarix xatırlatması"
},
- "reminderLeadTimeLabel": "Webhook-u bu qədər saat əvvəl göndər",
+ "reminderLeadTimeLabel": "Son tarixdən neçə saat əvvəl",
"connect": "Webhook-a qoşul",
- "saveChanges": "Dəyişiklikləri yadda saxla",
- "disconnect": "Ayır"
+ "activeTitle": "Hadisələr göndərilir",
+ "disconnectDescription": "Kaneo hadisələri göndərməyi dayandırır və yadda saxlanılmış son nöqtəni və sirri silir.",
+ "disconnectTitle": "Webhook ayrılsın?",
+ "reminderLeadTimeAfter": "saat əvvəl göndər",
+ "reminderLeadTimeBefore": "Xatırlatmaları tapşırığın son tarixindən"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Etibarlı Telegram bot giriş nişanı daxil edin",
"chatIdRequired": "Söhbət identifikatoru tələb olunur",
- "threadIdInvalid": "Etibarlı Telegram mövzu identifikatoru daxil edin"
+ "threadIdInvalid": "Etibarlı mövzu identifikatoru daxil edin"
},
"toast": {
"saved": "Telegram inteqrasiyası uğurla yadda saxlanıldı",
@@ -1560,55 +1425,38 @@
"removed": "Telegram inteqrasiyası uğurla çıxarıldı",
"removeError": "Telegram inteqrasiyasını çıxarmaq alınmadı"
},
- "connectionTitle": "Telegram botuna qoşulma",
- "connectionHint": "Layihənin tapşırıq yeniləmələrini söhbətə və ya mövzuya göndərmək üçün Telegram bot giriş nişanından və söhbət identifikatorundan istifadə edin.",
- "connected": "Qoşulub",
- "paused": "Dayandırılıb",
"botTokenLabel": "Botun giriş nişanı",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "BotFather ilə bot yaradın və giriş nişanını buraya yapışdırın.",
- "botTokenHintConfigured": "Botun giriş nişanı artıq təyin edilib ({{token}}). Əvəzləmək üçün yenisini daxil edin.",
+ "botTokenHintConfigured": "Cari giriş nişanı: {{token}}",
"chatIdLabel": "Söhbət identifikatoru",
"chatIdPlaceholder": "-1001234567890 və ya @komanda_yenilikleri",
- "chatIdHint": "Yeniləmələrin göndəriləcəyi Telegram söhbət identifikatorunu və ya kanal istifadəçi adını daxil edin.",
"threadIdLabel": "Mövzu identifikatoru",
- "threadIdPlaceholder": "İstəyə bağlı mövzu identifikatoru",
- "threadIdHint": "İstəyə bağlıdır. Telegram qruplarındakı forum mövzuları üçün istifadə edin.",
- "chatLabelLabel": "Söhbət etiketi",
+ "threadIdPlaceholder": "Forum mövzuları üçün",
+ "chatLabelLabel": "Söhbətin adı",
"chatLabelPlaceholder": "Mühəndislik yenilikləri",
- "chatLabelHint": "Kaneo daxilində istinad üçün istəyə bağlı etiket.",
- "eventsTitle": "Hadisə bildirişləri",
- "eventsHint": "Hansı layihə dəyişikliklərinin Telegram-a göndəriləcəyini seçin.",
- "events": {
- "taskCreated": "Yeni tapşırıqlar",
- "taskStatusChanged": "Vəziyyət dəyişiklikləri",
- "taskPriorityChanged": "Prioritet dəyişiklikləri",
- "taskTitleChanged": "Başlıq dəyişiklikləri",
- "taskDescriptionChanged": "Təsvir dəyişiklikləri",
- "taskCommentCreated": "Yeni şərhlər"
- },
"connect": "Telegram-a qoşul",
- "saveChanges": "Dəyişiklikləri yadda saxla",
- "disconnect": "Ayır"
+ "botTokenSavedPlaceholder": "Yadda saxlanılıb. Əvəzləmək üçün yeni giriş nişanı yapışdırın.",
+ "loadError": "Telegram parametrlərini yükləmək alınmadı."
},
"repositoryBrowser": {
- "title": "Repozitoriya seç",
- "description": "Məsələlərin sinxronlaşdırılmasını aktivləşdirmək üçün GitHub tətbiqinizin quraşdırıldığı repozitoriyanı seçin.",
- "searchPlaceholder": "Repozitoriyaları axtar...",
- "loadError": "Repozitoriyaları yükləmək alınmadı",
+ "title": "Repozitoriya seçin",
+ "description": "Kaneo GitHub tətbiqinin gördüyü repozitoriyalar.",
+ "searchPlaceholder": "Repozitoriyaları axtar",
+ "loadError": "Repozitoriyaları yükləmək alınmadı.",
"tryAgain": "Yenidən cəhd et",
- "emptyTitle": "Repozitoriya tapılmadı",
+ "emptyTitle": "Hələ repozitoriya yoxdur",
"emptyHint": "Repozitoriyalarınızı burada görmək üçün onlarda GitHub tətbiqini quraşdırın.",
"installGithubApp": "GitHub tətbiqini quraşdır",
- "noSearchMatchTitle": "Axtarışınıza uyğun repozitoriya yoxdur",
- "noSearchMatchHint": "Axtarış sözlərini dəyişin və ya bütün repozitoriyaları görmək üçün axtarışı təmizləyin.",
- "footerSummary": "{{installationCount}} quraşdırmada {{repoCount}} repozitoriya",
- "manageInstallations": "Quraşdırmaları idarə et",
- "updatedPrefix": "Yenilənib",
- "relativeJustNow": "İndicə",
- "relativeMinutesAgo": "{{count}} dəq. əvvəl",
- "relativeHoursAgo": "{{count}} saat əvvəl",
- "relativeDaysAgo": "{{count}} gün əvvəl"
+ "noSearchMatchTitle": "Uyğun repozitoriya yoxdur",
+ "noSearchMatchHint": "Başqa ad yoxlayın və ya axtarışı təmizləyin.",
+ "emptyPageHint": "Bu səhifədə yoxdur. Axtarmağa davam etmək üçün daha çox yükləyin.",
+ "loadMore": "Daha çox yüklə",
+ "manageAccess": "Tətbiqin girişini idarə et",
+ "missingOne": "Axtardığınız yoxdur?",
+ "searching": "Axtarılır…",
+ "updated": "Yeniləndi: {{time}}",
+ "useRepository": "Repozitoriyadan istifadə et"
},
"tasksImportExport": {
"exportTasks": "Tapşırıqları ixrac et",
@@ -1627,17 +1475,13 @@
"importError": "Tapşırıqları idxal etmək alınmadı",
"invalidFormat": "İdxal faylının formatı yanlışdır",
"noFileDropped": "Fayl buraxılmayıb",
- "notJsonFile": "JSON faylı yükləyin"
+ "notJsonFile": "JSON faylı yükləyin",
+ "export": "İxrac et",
+ "exportDescription": "Bu layihədəki bütün tapşırıqları fayl kimi endirin.",
+ "import": "İdxal et",
+ "importDescription": "Əvvəllər ixrac etdiyiniz fayldan tapşırıqlar əlavə edin."
},
"workflowEditor": {
- "loading": "Yüklənir...",
- "createColumnsFirst": "Avtomatlaşdırma qaydalarını tənzimləmək üçün əvvəlcə sütunlar yaradın.",
- "githubHeading": "GitHub",
- "githubHint": "GitHub hadisəsi baş verdikdə əlaqəli tapşırığı sütuna köçür.",
- "giteaHeading": "Gitea",
- "giteaHint": "Gitea Webhook-unun hadisəsi baş verdikdə əlaqəli tapşırığı sütuna köçür.",
- "selectColumnPlaceholder": "Sütun seç...",
- "toastUpdated": "İş axını qaydası yeniləndi",
"toastError": "Qaydanı yeniləmək alınmadı",
"events": {
"branch_push": "Budaq göndərildi",
@@ -1646,8 +1490,11 @@
"issue_opened": "Məsələ açıldı",
"issue_closed": "Məsələ bağlandı"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "{{providers}} üçün də avtomatlaşdırma istəyirsinizsə, onları <link>İnteqrasiyalar</link> bölməsində qoşun.",
+ "dontMove": "Köçürülməsin",
+ "emptyDescription": "Avtomatlaşdırmalar üçün qoşulmuş GitHub, Gitea və ya GitLab repozitoriyası lazımdır.",
+ "emptyTitle": "Qoşulmuş repozitoriya yoxdur",
+ "openIntegrations": "İnteqrasiyaları aç"
},
"externalLinks": {
"resources": "Resurslar",
@@ -1666,53 +1513,86 @@
"removeError": "Failed to remove the resource link."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Seçim qutusu",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Açılan siyahı, bir neçə seçim"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Standart dəyəri təmizlə",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "{{name}} üçün əməliyyatlar",
+ "addOption": "Seçim əlavə et",
+ "allowSeveral": "Bir neçəsinə icazə ver",
+ "allowSeveralDescription": "Tapşırıq üçün birdən çox seçim edilə bilər.",
+ "checked": "İşarələnib",
+ "createField": "Sahə yarat",
+ "defaultDescription": "Yeni tapşırıqlar bu dəyərlə başlayır.",
+ "deleteConfirm": "Sahəni sil",
+ "deleteDescription": "Sahə və onun bütün tapşırıqlardakı dəyəri silinir. Bunu geri qaytarmaq olmaz.",
+ "deleteTitle": "“{{name}}” silinsin?",
+ "dialogDescription": "{{project}} layihəsindəki hər tapşırıq bu sahəni alır.",
+ "dialogDescriptionFallback": "Bu layihədəki hər tapşırıq bu sahəni alır.",
+ "dragAria": "{{name}} sahəsinin sırasını dəyiş",
+ "dragOptionAria": "{{option}} seçiminin sırasını dəyiş",
+ "edit": "Redaktə et",
+ "editTitle": "Sahəni redaktə et",
+ "emptyDescription": "Hər tapşırıqda ölçü, müştəri və ya buraxılış tarixi kimi məlumatları izləyin.",
+ "emptyTitle": "Hələ fərdi sahə yoxdur",
+ "issues": {
+ "defaultRequired": "Tələb olunan sahələrin standart dəyəri olmalıdır.",
+ "moreOptionsRequired": "Bir neçə seçimə icazə vermək üçün ən azı iki seçim əlavə edin.",
+ "optionsRequired": "Ən azı bir seçim əlavə edin."
+ },
+ "nameLabel": "Ad",
+ "newTitle": "Yeni sahə",
+ "noDefault": "Standart dəyər yoxdur",
+ "optionsLabel": "Seçimlər",
+ "removeOptionAria": "{{option}} seçimini çıxar",
+ "renameOptionAria": "{{option}} seçiminin adını dəyiş",
+ "requiredDescription": "Hər tapşırığın həmişə dəyəri olur.",
+ "save": "Yadda saxla",
+ "saving": "Yadda saxlanılır...",
+ "startsAs": "Başlanğıc dəyəri: “{{value}}”",
+ "startsAt": "Başlanğıc dəyəri: {{value}}",
+ "startsChecked": "Başlanğıcda işarələnmiş",
+ "startsOn": "Başlanğıc tarixi: {{date}}",
+ "startsUnchecked": "Başlanğıcda işarələnməmiş",
+ "typeLabel": "Növ",
+ "typeLocked": "Sahə yaradıldıqdan sonra növü dəyişdirilə bilməz.",
+ "unchecked": "İşarələnməyib",
+ "updateError": "Fərdi sahəni yadda saxlamaq alınmadı.",
+ "updateSuccess": "Fərdi sahə yadda saxlanıldı."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Deaktiv et",
+ "edit": "Redaktə et",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Yenidən aktiv et"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Rol",
"status": "Status",
"user": "User"
},
@@ -1734,7 +1614,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Bütün istifadəçilər",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1747,7 +1627,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1755,19 +1634,19 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "İnzibatçı",
"user": "User"
},
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Ad və ya e-poçt ilə axtar",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Bu Kaneo serverində hesabı olan hər kəs.",
+ "title": "İstifadəçilər",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1776,9 +1655,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Siz"
},
"security": "Security",
"securityPage": {
@@ -1793,11 +1670,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Giriş",
+ "submit": "Parolu dəyiş",
+ "submitting": "Dəyişdirilir...",
+ "subtitle": "Kaneo-ya necə daxil olursunuz.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1807,94 +1683,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Parolu dəyiş",
+ "dialogDescription": "Ən azı 8 simvol, cari paroldan fərqli.",
+ "dialogTitle": "Parolu dəyiş",
+ "passwordHint": "Başqa heç yerdə istifadə etmədiyiniz ən azı 8 simvol istifadə edin.",
+ "passwordTitle": "Parol"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Giriş nişanınızın üzv olduğu layihələr.",
+ "browseNeedsCredentials": "Baxmaq üçün GitLab URL-ini və giriş nişanını daxil edin.",
+ "commentTaskLinkHint": "GitLab-da olanlar tapşırığa birbaşa keçə bilsin deyə.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Açıq məsələləri və birləşdirmə sorğularını tapşırıq kimi idxal edin.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Layihələri axtar",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Dəyişikliklərin Kaneo-ya qayıtması üçün bu Webhook-u layihə parametrlərində əlavə edin.",
+ "loadProjectsError": "Layihələri yükləmək alınmadı.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Bu giriş nişanı heç bir layihənin üzvü deyil.",
+ "chooseProjectDescription": "Layihənin yolunu yazın və ya siyahıdan seçin.",
+ "noSearchMatchTitle": "Uyğun layihə yoxdur",
+ "useProject": "Layihədən istifadə et",
+ "webhookEvents": "Göndərmə (push), məsələ, şərh və birləşdirmə sorğusu hadisələrini aktivləşdirin."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Yalnız bu etiketləri daxil et",
+ "selectLabels": "Etiket əlavə et",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1902,20 +1745,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Lentlər",
+ "allScheduledTasks": "Tarixi təyin edilmiş bütün tapşırıqlar",
+ "subscribeHint": "Keçidi təqvim tətbiqinizə abunəlik kimi əlavə edin. Yeniliklər tətbiq lenti yenilədikdə görünür.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Kopyalandı",
+ "dialogDescription": "Başlama və ya son tarixi olan tapşırıqlar lentdə görünür.",
+ "dialogTitle": "Yeni təqvim lenti",
+ "emptyDescription": "Tarixi təyin edilmiş tapşırıqları təqvim tətbiqinizdə görmək üçün lent yaradın.",
+ "emptyTitle": "Hələ təqvim lenti yoxdur",
+ "feedActions": "Lent əməliyyatları",
+ "labelsHint": "Tarixi təyin edilmiş bütün tapşırıqları daxil etmək üçün boş saxlayın.",
+ "newFeed": "Yeni lent",
+ "revokeConfirm": "Lenti ləğv et",
+ "revokeConfirmDescription": "Bu keçiddən istifadə edən təqvim tətbiqləri artıq yenilik almayacaq. Bunu geri qaytarmaq olmaz.",
+ "revokeConfirmTitle": "Bu lent ləğv edilsin?",
+ "revoking": "Ləğv edilir…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1927,7 +1779,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1960,7 +1811,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1971,7 +1821,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Hesab-fakturalar, ödəniş üsulu və ləğvetmə Creem-də idarə olunur.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1995,14 +1845,14 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "{{workspace}} üçün planınız.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "{{count}} gün qalıb",
+ "badgeDaysLeft_other": "{{count}} gün qalıb"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2021,15 +1871,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2046,8 +1893,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2066,16 +1911,29 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Nə sinxronlaşdırılır",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Bütün məsələlər",
+ "allTasks": "Bütün tapşırıqlar",
+ "edit": "Redaktə et",
+ "hidePaused": "Gizlət",
+ "issuesLabelled": "Etiketi olan məsələlər:",
+ "joinAnd": "və",
+ "joinOr": "və ya",
+ "kaneoToProvider": "Kaneo-dan {{provider}} xidmətinə",
+ "pausedSummary_one": "{{count}} tapşırığın sinxronlaşdırılması dayandı, çünki o artıq sinxronlaşdırma qaydalarına uyğun gəlmir.",
+ "pausedSummary_other": "{{count}} tapşırığın sinxronlaşdırılması dayandı, çünki onlar artıq sinxronlaşdırma qaydalarına uyğun gəlmir.",
+ "providerToKaneo": "{{provider}} xidmətindən Kaneo-ya",
+ "reviewPaused": "Nəzərdən keçir",
+ "tasksLabelled": "Etiketi olan tapşırıqlar:"
+ },
+ "advancedSettingsDescription": "İnteqrasiya sinxronlaşdırma qaydaları kimi əlavə idarəetmə elementlərini göstərir. Yalnız bu brauzerdə.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2112,23 +1970,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Bütün iş sahələri",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_one": "{{count}} member",
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
@@ -2149,9 +1999,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Ad və ya slug ilə axtar",
+ "subtitle": "Bu Kaneo serverindəki bütün iş sahələri, üzv olmadıqlarınız da daxil olmaqla.",
+ "title": "İş sahələri",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2161,9 +2011,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2428,6 +2276,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Parametrləri itirmədən dayandırmaq üçün söndürün.",
+ "activeTitle": "{{provider}} üçün paylaşım",
+ "channelHint": "Sadəcə bu siyahıda göstərilən ad.",
+ "channelLabel": "Kanal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Ayır",
+ "disconnectDescription": "Kaneo {{provider}} xidmətinə paylaşımı dayandırır və yadda saxlanılmış parametrləri silir.",
+ "disconnecting": "Ayrılır…",
+ "disconnectTitle": "{{provider}} ayrılsın?",
+ "events": {
+ "taskCommentCreated": "Kimsə şərh yazdıqda",
+ "taskCreated": "Tapşırıq yaradıldıqda",
+ "taskDescriptionChanged": "Təsvir dəyişdikdə",
+ "taskPriorityChanged": "Prioritet dəyişdikdə",
+ "taskStatusChanged": "Vəziyyət dəyişdikdə",
+ "taskTitleChanged": "Başlıq dəyişdikdə"
+ },
+ "optional": "İstəyə bağlı",
+ "postWhen": "Bu hallarda paylaş",
+ "retry": "Yenidən cəhd et",
+ "saveChanges": "Dəyişiklikləri yadda saxla",
+ "savedUrlPlaceholder": "Yadda saxlanılıb. Əvəzləmək üçün yeni URL yapışdırın.",
+ "webhookUrlLabel": "Webhook URL-i"
+ },
+ "codeHosting": {
+ "browse": "Gözdən keçir",
+ "changeToken": "Giriş nişanını dəyiş",
+ "checking": "Giriş yoxlanılır…",
+ "chooseProjectTitle": "Layihə seçin",
+ "chooseRepositoryTitle": "Repozitoriya seçin",
+ "connectProject": "Layihəni qoş",
+ "connectRepository": "Repozitoriyanı qoş",
+ "copied": "Kopyalandı",
+ "copyFailed": "Mübadilə buferinə kopyalamaq alınmadı.",
+ "copySecret": "Sirri kopyala",
+ "copyUrl": "Webhook URL-ini kopyala",
+ "disconnect": "Ayır",
+ "disconnectDescription": "Tapşırıqların {{target}} ilə sinxronlaşdırılması dayanır. Onu sonra yenidən qoşa bilərsiniz.",
+ "disconnecting": "Ayrılır…",
+ "disconnectTitle": "{{provider}} ayrılsın?",
+ "hideSecret": "Sirri gizlət",
+ "importing": "İdxal edilir…",
+ "importIssues": "Məsələləri idxal et",
+ "importNeedsReconnect": "İdxalı aktivləşdirmək üçün yenidən qoşun.",
+ "importTitle": "Açıq məsələləri idxal et",
+ "issuesSection": "Məsələlər",
+ "lastImport": "Son idxal: {{imported}} yaradıldı, {{updated}} yeniləndi, {{skipped}} buraxıldı.",
+ "loadError": "Bu inteqrasiyanı yükləmək alınmadı.",
+ "pausedHint": "Sinxronlaşdırma dayandırılıb. Davam etdirmək üçün yenidən qoşun.",
+ "projectSection": "Layihə",
+ "reconnect": "Yenidən qoş",
+ "repositoryPathInvalid": "Repozitoriyanı owner/name formatında daxil edin.",
+ "repositoryPathLabel": "Repozitoriya",
+ "repositorySection": "Repozitoriya",
+ "retry": "Yenidən cəhd et",
+ "saveToken": "Giriş nişanını yadda saxla",
+ "showSecret": "Sirri göstər",
+ "signInDescription": "Layihəni və onun məsələlərini oxuya bilən giriş nişanından istifadə edin.",
+ "signInTitle": "Serverinizə daxil olun",
+ "tokenStored": "Saxlanılmış giriş nişanı",
+ "tokenTitle": "Giriş nişanı",
+ "webhookSecret": "Sirr",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Tapşırıqda göstərilmə sırasını dəyişmək üçün sürükləyin.",
+ "fieldsTitle": "Sahələr",
+ "newField": "Yeni sahə",
+ "pageTitle": "Fərdi sahələr",
+ "subtitle": "{{project}} layihəsindəki hər tapşırığın izləyə biləcəyi əlavə məlumatlar, məsələn, ölçü və ya müştəri.",
+ "subtitleFallback": "Bu layihədəki hər tapşırığın izləyə biləcəyi əlavə məlumatlar, məsələn, ölçü və ya müştəri.",
+ "title": "Fərdi sahələr"
+ },
+ "shared": {
+ "autosave": "Dəyişikliklər avtomatik yadda saxlanılır"
}
},
"navigation": {
diff --git a/i18n/de-DE.json b/i18n/de-DE.json
index c77996114..fdb225129 100644
--- a/i18n/de-DE.json
+++ b/i18n/de-DE.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Nie"
- },
"modals": {
"createProject": {
"title": "Neues Projekt erstellen",
@@ -567,40 +564,37 @@
"account": "Konto",
"administration": "Administration",
"developer": "Entwicklung",
- "information": "Informationen",
+ "information": "Profil",
"notifications": "Benachrichtigungen",
"preferences": "Einstellungen",
"apiKeys": "API-Schlüssel",
"adminUsers": {
- "title": "Benutzerverwaltung",
- "subtitle": "Verwalte alle Konten, die auf dieser Kaneo-Instanz registriert sind.",
- "instanceBadge": "Instanz",
- "directoryTitle": "Benutzerverzeichnis",
- "userCount_one": "{{count}} registrierter Benutzer",
- "userCount_other": "{{count}} registrierte Benutzer",
+ "title": "Benutzer",
+ "subtitle": "Alle mit einem Konto auf dieser Kaneo-Instanz.",
+ "directoryTitle": "Alle Benutzer",
"searchCount_one": "{{count}} passender Benutzer",
"searchCount_other": "{{count}} passende Benutzer",
"refreshing": "Benutzer werden aktualisiert",
- "searchPlaceholder": "Name oder E-Mail suchen…",
+ "searchPlaceholder": "Nach Name oder E-Mail suchen",
"searchLabel": "Benutzer suchen",
"loadError": "Benutzer konnten nicht geladen werden.",
"retry": "Erneut versuchen",
"emptyTitle": "Keine Benutzer gefunden",
"emptyDescription": "Versuche einen anderen Namen oder eine andere E-Mail-Adresse.",
"clearSearch": "Suche löschen",
- "you": "(du)",
+ "you": "Du",
"previous": "Zurück",
"next": "Weiter",
"pagination": "Seite {{current}} von {{total}}",
"columns": {
"user": "Benutzer",
- "role": "Globale Rolle",
+ "role": "Rolle",
"status": "Status",
"joined": "Registriert",
"actions": "Aktionen"
},
"roles": {
- "admin": "Instanzadministrator",
+ "admin": "Administrator",
"user": "Benutzer"
},
"status": {
@@ -609,9 +603,9 @@
},
"actions": {
"open": "Aktionen für {{name}}",
- "edit": "Konto bearbeiten",
- "deactivate": "Konto deaktivieren",
- "reactivate": "Konto reaktivieren"
+ "edit": "Bearbeiten",
+ "deactivate": "Deaktivieren",
+ "reactivate": "Reaktivieren"
},
"edit": {
"title": "Benutzer bearbeiten",
@@ -651,32 +645,27 @@
}
},
"informationPage": {
- "pageTitle": "Persönliche Informationen",
- "title": "Persönliche Informationen",
- "subtitle": "Verwalte deine persönlichen Daten und Kontoinformationen.",
- "sectionTitle": "Kontoinformationen",
- "sectionSubtitle": "Verwalte dein Profil und deine Kontodetails.",
+ "pageTitle": "Profil",
+ "title": "Profil",
+ "subtitle": "So sehen dich deine Teammitglieder.",
+ "sectionTitle": "Angaben",
"profilePicture": "Profilbild",
- "fullName": "Vollständiger Name",
+ "fullName": "Name",
"fullNamePlaceholder": "Gib deinen Namen ein",
"email": "E-Mail",
- "emailPlaceholder": "Gib deine E-Mail ein",
- "updateSuccess": "Profil erfolgreich aktualisiert",
"updateError": "Profil konnte nicht aktualisiert werden",
"validation": {
"nameRequired": "Name ist erforderlich",
- "nameShort": "Der Name muss mindestens 2 Zeichen lang sein",
- "invalidEmail": "Ungültige E-Mail-Adresse"
+ "nameShort": "Der Name muss mindestens 2 Zeichen lang sein"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Quadratische Bilder sehen am besten aus.",
+ "remove": "Entfernen",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Hochladen"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -685,39 +674,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Mit dieser Adresse meldest du dich an."
},
"notificationsPage": {
"pageTitle": "Benachrichtigungen",
"title": "Benachrichtigungen",
- "subtitle": "Lege fest, wie Kaneo deine Kontobenachrichtigungen zustellt und welche Kanäle du nutzt.",
+ "subtitle": "Worüber Kaneo dich informiert und wo es dich erreicht.",
"statusConnected": "Verbunden",
"statusPaused": "Pausiert",
"emailTitle": "E-Mail",
- "emailDescription": "Nutze deine Konten-E-Mail als Ziel für Benachrichtigungen.",
- "accountEmailLabel": "Konten-E-Mail",
"accountEmailNoAddress": "Keine Konten-E-Mail vorhanden",
- "accountEmailHint": "E-Mail-Zustellung erfolgt immer an die E-Mail des angemeldeten Kontos.",
"saveChanges": "Änderungen speichern",
"disconnect": "Trennen",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Kontobenachrichtigungen an ein ntfy-Thema senden.",
+ "ntfyDescription": "Veröffentliche in einem ntfy-Thema auf deinem Handy oder Desktop.",
"serverUrl": "Server-URL",
"topic": "Thema",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Optionaler Bearer-Token",
+ "ntfyTokenPlaceholder": "Nur falls dein Server einen benötigt",
"ntfyTokenHintConfigured": "Ein Token ist bereits konfiguriert ({{masked}}). Gib einen neuen Token ein, um ihn zu ersetzen.",
- "ntfyTokenHintOptional": "Optional. Gib einen Token an, wenn dein ntfy-Server eine Authentifizierung verlangt.",
+ "ntfyTokenHintOptional": "Verwende einen, wenn dein ntfy-Server eine Authentifizierung verlangt.",
"connectNtfy": "ntfy verbinden",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Sende Kontobenachrichtigungen an deinen Gotify-Server.",
+ "gotifyDescription": "Sende Benachrichtigungen an deinen Gotify-Server.",
"gotifyTokenLabel": "App-Token",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify-App-Token",
@@ -725,52 +711,26 @@
"gotifyTokenHintRequired": "Erforderlich. Verwende ein Anwendungstoken von deinem Gotify-Server.",
"connectGotify": "Gotify verbinden",
"webhookTitle": "Benutzerdefinierter Webhook",
- "webhookDescription": "Kontobenachrichtigungen als JSON an deinen eigenen Endpunkt senden.",
+ "webhookDescription": "Sende jede Benachrichtigung als JSON an deinen eigenen Endpunkt.",
"endpointUrl": "Endpunkt-URL",
"signingSecret": "Signatur-Geheimnis",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Optionales gemeinsames Geheimnis",
"webhookSecretHintConfigured": "Ein Signatur-Geheimnis ist bereits konfiguriert ({{masked}}). Gib ein neues ein, um es zu ersetzen.",
- "webhookSecretHintOptional": "Optional. Kaneo signiert den Anfragetext, wenn ein Geheimnis gesetzt ist.",
+ "webhookSecretHintOptional": "Kaneo signiert den Anfragetext, wenn ein Geheimnis gesetzt ist.",
"connectWebhook": "Webhook verbinden",
- "workspaceRulesTitle": "Zustellregeln für Arbeitsbereiche",
- "workspaceRulesDescription": "Nutze deine globalen Kanäle erneut und lege fest, welche Arbeitsbereiche und Projekte Kontobenachrichtigungen senden dürfen.",
- "workspaceCardHint": "Wähle, welche Kanäle dieser Arbeitsbereich für Kontobenachrichtigungen nutzen darf.",
- "workspaceEnabledLabel": "Benachrichtigungen für {{workspaceName}} aktivieren",
"eventPreferencesTitle": "Benachrichtige mich über",
- "eventPreferencesDescription": "Wähle aus, welche Aufgabenereignisse Benachrichtigungen in Kaneo erstellen und über verbundene Kanäle zugestellt werden können.",
- "eventTaskAssignments": "Aufgabenzuweisungen",
+ "eventPreferencesDescription": "Über deine eigenen Kommentare, Erwähnungen und Statusänderungen wirst du nie benachrichtigt.",
+ "eventTaskAssignments": "Zuweisungen",
"eventComments": "Kommentare und Erwähnungen",
- "eventCommentsHint": "Umfasst neue Kommentare zu dir zugewiesenen Aufgaben und direkte @Erwähnungen.",
- "eventStatusChanges": "Statusänderungen von Aufgaben",
- "eventDueDateReminders": "Erinnerungen an Fälligkeitstermine",
+ "eventCommentsHint": "Neue Kommentare zu deinen Aufgaben und wenn dich jemand @erwähnt.",
+ "eventStatusChanges": "Statusänderungen",
+ "eventDueDateReminders": "Fälligkeitserinnerungen",
"reminderLeadTimeLabel": "Vor dem Fälligkeitsdatum erinnern",
- "reminderLeadTimeHint": "Zwischen 1 Stunde und 30 Tagen vorher. Überfällige Aufgaben werden separat gemeldet.",
- "reminderLeadTimeUnitHours": "Stunden",
- "reminderLeadTimeUnitDays": "Tage",
"reminderLeadTimeInvalid": "Gib eine ganze Zahl zwischen 1 und {{max}} ein.",
"saveEventPreferences": "Benachrichtigungstypen speichern",
- "workspaceCardLabelEmail": "E-Mail",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Benutzerdefinierter Webhook",
- "emailChannelHintEnabled": "Passende Arbeitsbereichs-Benachrichtigungen per E-Mail senden.",
- "emailChannelHintDisabled": "E-Mail zuerst global konfigurieren und aktivieren.",
- "ntfyChannelHintEnabled": "Passende Arbeitsbereichs-Benachrichtigungen an ntfy senden.",
- "ntfyChannelHintDisabled": "ntfy zuerst global konfigurieren und aktivieren.",
- "gotifyChannelHintEnabled": "Passende Arbeitsbereichs-Benachrichtigungen an Gotify senden.",
- "gotifyChannelHintDisabled": "Gotify zuerst global konfigurieren und aktivieren.",
- "webhookChannelHintEnabled": "Passende Arbeitsbereichs-Benachrichtigungen an deinen Webhook senden.",
- "webhookChannelHintDisabled": "Webhook zuerst global konfigurieren und aktivieren.",
- "projectScope": "Projektbereich",
- "projectScopeDescription": "Standardmäßig sind alle Projekte enthalten. Schränke ein, wenn dieser Arbeitsbereich nur ausgewählte Projekte benachrichtigen soll.",
"allProjects": "Alle Projekte",
- "allProjectsDescription": "Benachrichtigungen aus jedem Projekt in diesem Arbeitsbereich zustellen.",
- "selectedProjects": "Ausgewählte Projekte",
- "selectedProjectsDescription": "Nur Benachrichtigungen aus gewählten Projekten zustellen.",
"noProjectsInWorkspace": "Für diesen Arbeitsbereich sind noch keine Projekte vorhanden.",
- "createRule": "Regel erstellen",
- "removeRule": "Regel entfernen",
"toastEmailSaved": "E-Mail-Benachrichtigungseinstellungen gespeichert",
"toastEmailSaveFailed": "E-Mail-Einstellungen konnten nicht gespeichert werden",
"toastNtfySaved": "ntfy-Einstellungen gespeichert",
@@ -793,137 +753,164 @@
"toastPreferencesSaveFailed": "Benachrichtigungseinstellungen konnten nicht gespeichert werden",
"toastRuleSavedGeneric": "Arbeitsbereichs-Benachrichtigungsregel gespeichert",
"toastRuleRemovedGeneric": "Arbeitsbereichs-Benachrichtigungsregel entfernt",
- "recipientHint": "Kommentare und Statusänderungen benachrichtigen dich über dir zugewiesene Aufgaben. Erwähnungen benachrichtigen das ausgewählte Mitglied. Deine eigenen Kommentare, Erwähnungen und Statusänderungen lösen keine Benachrichtigung an dich aus."
+ "channelNotConnected": "Nicht verbunden",
+ "channelOff": "Aus",
+ "channelsDescription": "Benachrichtigungen erscheinen immer in Kaneo. Verbinde einen Kanal, um sie zusätzlich woanders zu erhalten.",
+ "channelsTitle": "Kanäle",
+ "configure": "Konfigurieren",
+ "configureChannel": "{{channel}} konfigurieren",
+ "configureWorkspace": "Benachrichtigungen für {{workspaceName}} konfigurieren",
+ "connect": "Verbinden",
+ "connectChannel": "{{channel}} verbinden",
+ "disconnectDescription": "Benachrichtigungen werden nicht mehr an {{channel}} gesendet und die gespeicherten Einstellungen werden entfernt.",
+ "disconnecting": "Wird getrennt...",
+ "disconnectTitle": "{{channel}} trennen?",
+ "done": "Fertig",
+ "emailToggleLabel": "Benachrichtigungen per E-Mail senden",
+ "eventDueDateRemindersHint": "Bevor eine deiner Aufgaben fällig ist. Über überfällige Aufgaben wirst du separat benachrichtigt.",
+ "eventStatusChangesHint": "Wenn eine deiner Aufgaben in eine andere Spalte verschoben wird.",
+ "eventTaskAssignmentsHint": "Wenn dir jemand eine Aufgabe zuweist.",
+ "loadFailed": "Benachrichtigungseinstellungen konnten nicht geladen werden.",
+ "onlyInKaneo": "Nur in Kaneo",
+ "optional": "Optional",
+ "projectCount_one": "{{count}} Projekt",
+ "projectCount_other": "{{count}} Projekte",
+ "reminderLeadTimeUnitDaysBefore_one": "Tag vorher",
+ "reminderLeadTimeUnitDaysBefore_other": "Tage vorher",
+ "reminderLeadTimeUnitHoursBefore_one": "Stunde vorher",
+ "reminderLeadTimeUnitHoursBefore_other": "Stunden vorher",
+ "reminderLeadTimeUnitLabel": "Zeiteinheit für Erinnerungen",
+ "ruleActiveDescription": "Ausschalten, um diesen Workspace zu pausieren und die Einrichtung zu behalten.",
+ "ruleActiveLabel": "Senden",
+ "ruleChannels": "Kanäle",
+ "ruleDialogDescription": "Wohin Benachrichtigungen aus diesem Workspace gesendet werden dürfen.",
+ "ruleDialogTitle": "Benachrichtigungen für {{workspaceName}}",
+ "ruleProjects": "Projekte",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Speichern",
+ "sendingDescription": "Ausschalten, um diesen Kanal zu pausieren und seine Einstellungen zu behalten.",
+ "sendingLabel": "Senden",
+ "setUp": "Einrichten",
+ "setUpWorkspace": "Benachrichtigungen für {{workspaceName}} einrichten",
+ "someProjects": "Nur ausgewählte",
+ "statusOn": "An",
+ "statusSending": "Sendet",
+ "stopping": "Wird beendet...",
+ "stopSending": "Senden beenden",
+ "stopSendingDescription": "Benachrichtigungen aus diesem Workspace erscheinen dann nur noch in Kaneo.",
+ "stopSendingTitle": "Senden aus {{workspaceName}} beenden?",
+ "workspacesDescription": "Wähle, welche Workspaces und Projekte deine Kanäle nutzen dürfen.",
+ "workspacesTitle": "Workspaces"
},
"preferencesPage": {
"title": "Einstellungen",
- "subtitle": "Passe dein Kaneo-Erlebnis an.",
- "appearanceTitle": "Darstellung",
- "appearanceSubtitle": "Visuelle Einstellungen und Layout-Präferenzen.",
+ "subtitle": "Wie Kaneo für dich aussieht und funktioniert.",
+ "appearanceTitle": "Allgemein",
"theme": "Design",
- "themeDescription": "Wähle dein bevorzugtes Farbschema",
"selectTheme": "Design auswählen",
"themeLight": "Hell",
"themeDark": "Dunkel",
- "themeSystem": "System",
+ "themeSystem": "Systemeinstellung",
"language": "Sprache",
- "languageDescription": "Wähle deine bevorzugte Oberflächensprache",
"selectLanguage": "Sprache auswählen",
"firstDayOfWeek": "Erster Wochentag",
- "firstDayOfWeekDescription": "Lege fest, an welchem Tag Kalender und Wochenbereiche beginnen",
+ "firstDayOfWeekDescription": "Für Kalender und Datumsauswahl.",
"selectFirstDayOfWeek": "Ersten Tag auswählen",
"weekStartsOnSunday": "Sonntag",
"weekStartsOnMonday": "Montag",
"weekStartsOnSaturday": "Samstag",
"defaultView": "Standardansicht",
- "defaultViewDescription": "Wähle deine bevorzugte Aufgabenansicht",
+ "defaultViewDescription": "Die Ansicht, in der sich Projekte öffnen.",
"selectViewMode": "Ansicht auswählen",
"board": "Board",
"list": "Liste",
"gantt": "Gantt",
- "sidebarDefault": "Standard-Sidebar",
- "sidebarDefaultDescription": "Sidebar beim Start erweitert geöffnet halten",
- "displayOptions": "Anzeigeoptionen",
- "displayOptionsDescription": "Wähle, welche Informationen in Aufgabenansichten sichtbar sind",
+ "sidebarDefault": "Sidebar geöffnet lassen",
+ "sidebarDefaultDescription": "Mit ausgeklappter Sidebar starten.",
+ "displayOptions": "Aufgabendetails",
+ "displayOptionsDescription": "Was auf Karten und Zeilen in deinen Boards und Listen angezeigt wird.",
"taskNumbers": "Aufgabennummern",
- "taskNumbersDescription": "Aufgaben-IDs und -Nummern anzeigen",
"assignees": "Zugewiesene",
- "assigneesDescription": "Anzeigen, wem Aufgaben zugewiesen sind",
"dueDates": "Fälligkeitsdaten",
- "dueDatesDescription": "Aufgabenfristen anzeigen",
"labels": "Labels",
- "labelsDescription": "Aufgabenlabels und Tags anzeigen",
"priority": "Priorität",
- "priorityDescription": "Prioritätsindikatoren anzeigen",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Das Hintergrundbild eines Projekts hinter seinem Board anzeigen.",
+ "advancedTitle": "Erweitert"
},
"developerPage": {
- "pageTitle": "Entwicklereinstellungen",
- "title": "Entwicklereinstellungen",
- "subtitle": "Verwalte deine API-Schlüssel und Entwicklerressourcen.",
- "apiKeysCardTitle": "API-Schlüssel",
- "apiKeysCardDescription": "Erstelle und verwalte API-Schlüssel für den programmgesteuerten Zugriff auf Kaneo.",
- "createApiKey": "API-Schlüssel erstellen",
- "unnamedKey": "Unbenannter Schlüssel"
+ "pageTitle": "API-Schlüssel",
+ "title": "API-Schlüssel",
+ "subtitle": "Lass Skripte, die CLI und MCP-Clients Kaneo in deinem Namen nutzen.",
+ "unnamedKey": "Unbenannt",
+ "emptyDescription": "Erstelle einen Schlüssel, um die CLI, einen MCP-Client oder eigene Skripte zu nutzen.",
+ "emptyTitle": "Noch keine API-Schlüssel",
+ "keysNote": "Ein Schlüssel kann alles, was du kannst. Lösche Schlüssel, die du nicht mehr verwendest.",
+ "keysTitle": "Schlüssel",
+ "loadError": "API-Schlüssel konnten nicht geladen werden. Bitte versuche es erneut.",
+ "newKey": "Neuer Schlüssel"
},
"apiKey": {
"createdModal": {
- "title": "API-Schlüssel erstellt",
- "description": "Dein API-Schlüssel \"{{keyName}}\" wurde erfolgreich erstellt.",
- "yourApiKey": "Dein API-Schlüssel",
+ "title": "Kopiere deinen Schlüssel",
+ "description": "Nach dem Schließen siehst du ihn nicht mehr.",
"copy": "Kopieren",
"copied": "Kopiert",
- "toastCopied": "API-Schlüssel in die Zwischenablage kopiert",
- "alertTitle": "Erfolg! Dein API-Schlüssel wurde erstellt",
- "alertDescription": "Kopiere diesen Schlüssel jetzt. Du wirst ihn später nicht mehr sehen können.",
"done": "Fertig",
- "copyToContinue": "Schlüssel kopieren, um fortzufahren"
+ "copyError": "Der Schlüssel konnte nicht kopiert werden. Markiere ihn und kopiere ihn manuell."
},
"table": {
- "loading": "API-Schlüssel werden geladen...",
- "empty": "Noch keine API-Schlüssel. Erstelle einen, um loszulegen.",
- "columnName": "Name",
- "columnKey": "Schlüssel",
- "columnCreated": "Erstellt",
- "columnExpires": "Läuft ab",
- "columnActions": "Aktionen",
- "unnamedKey": "Unbenannter Schlüssel",
- "expiredBadge": "Abgelaufen {{label}}",
- "deleteConfirmTitle": "API-Schlüssel löschen?",
- "deleteConfirmDescription": "Diese Aktion kann nicht rückgängig gemacht werden. {{name}} wird dauerhaft gelöscht.",
- "deleteFallbackName": "diesen API-Schlüssel",
- "delete": "Löschen",
- "deleting": "Wird gelöscht...",
- "deleteAria": "{{name}} löschen",
- "deleteAriaFallback": "API-Schlüssel",
- "toastDeleted": "API-Schlüssel erfolgreich gelöscht",
+ "deleteConfirmTitle": "„{{name}}“ löschen?",
+ "deleteConfirmDescription": "Alles, was diesen Schlüssel verwendet, funktioniert dann nicht mehr. Das kann nicht rückgängig gemacht werden.",
+ "delete": "Schlüssel löschen",
+ "deleting": "Wird gelöscht…",
+ "toastDeleted": "API-Schlüssel gelöscht",
"toastDeleteError": "API-Schlüssel konnte nicht gelöscht werden"
},
"createDialog": {
- "title": "API-Schlüssel erstellen",
- "description": "Erstelle einen neuen API-Schlüssel, um programmgesteuert auf die Kaneo-API zuzugreifen.",
+ "title": "Neuer API-Schlüssel",
+ "description": "Der Schlüssel kann alles, was du kannst.",
"nameLabel": "Name",
"namePlaceholder": "Mein API-Schlüssel",
- "nameDescription": "Ein beschreibender Name für diesen API-Schlüssel",
- "expirationLabel": "Ablauf",
- "expirationPlaceholder": "Ablauf auswählen",
- "expirationDescription": "Wähle, wie lange dieser API-Schlüssel gültig bleiben soll. Nie erstellt einen Schlüssel ohne automatisches Ablaufdatum.",
+ "nameDescription": "Damit du weißt, wo er verwendet wird.",
+ "expirationLabel": "Läuft ab",
"expiration1d": "1 Tag",
"expiration7d": "7 Tage",
"expiration30d": "30 Tage",
"expiration90d": "90 Tage",
"expirationNever": "Nie",
- "create": "Erstellen",
- "creating": "Wird erstellt...",
+ "create": "Schlüssel erstellen",
+ "creating": "Wird erstellt…",
"failedCreate": "API-Schlüssel konnte nicht erstellt werden",
"validation": {
- "nameRequired": "Name ist erforderlich",
- "nameShort": "Der Name muss mindestens 3 Zeichen lang sein",
- "expirationRequired": "Ablauf ist erforderlich"
+ "nameRequired": "Gib einen Namen ein",
+ "nameShort": "Verwende mindestens 3 Zeichen"
}
+ },
+ "row": {
+ "actions": "Aktionen für {{name}}",
+ "created": "Erstellt am {{date}}",
+ "expired": "Abgelaufen am {{date}}",
+ "expiredBadge": "Abgelaufen",
+ "expires": "Läuft am {{date}} ab",
+ "neverExpires": "Läuft nie ab"
}
},
"workspaceGeneral": {
"pageTitle": "Allgemeine Einstellungen",
- "title": "Allgemeine Einstellungen",
- "subtitle": "Verwalte den Namen und die Beschreibung deines Workspaces.",
- "workspaceInfoTitle": "Workspace-Informationen",
- "workspaceInfoSubtitle": "Konfiguriere Details und Einstellungen deines Workspaces.",
- "nameLabel": "Workspace-Name",
- "nameHint": "Der Name deines Workspaces",
+ "title": "Allgemein",
+ "subtitle": "Der Name von {{name}} und wem der Workspace gehört.",
+ "workspaceInfoTitle": "Workspace",
+ "nameLabel": "Name",
"namePlaceholder": "Workspace-Name eingeben",
"descriptionLabel": "Beschreibung",
- "descriptionHint": "Eine kurze Beschreibung deines Workspaces",
- "descriptionPlaceholder": "Workspace-Beschreibung eingeben",
+ "descriptionPlaceholder": "Woran arbeitet dein Team?",
"dangerZone": "Gefahrenbereich",
- "dangerZoneSubtitle": "Unumkehrbare und destruktive Aktionen.",
"deleteWorkspace": "Workspace löschen",
- "deleteWorkspaceDescription": "Plane die dauerhafte Löschung des Workspaces",
+ "deleteWorkspaceDescription": "Löscht {{name}} mit allen Projekten und Aufgaben dauerhaft.",
"deleteModalTitle": "Workspace löschen?",
- "deleteModalDescription": "Dadurch wird der Workspace \"{{name}}\" und alle zugehörigen Daten dauerhaft gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.",
+ "deleteModalDescription": "Dadurch werden {{name}} und alle zugehörigen Projekte und Aufgaben dauerhaft gelöscht. Das kann nicht rückgängig gemacht werden.",
"deleteModalConfirm": "Workspace löschen",
- "toastUpdated": "Workspace erfolgreich aktualisiert",
"toastUpdateError": "Workspace konnte nicht aktualisiert werden",
"toastDeleted": "Workspace erfolgreich gelöscht",
"toastDeleteError": "Workspace konnte nicht gelöscht werden",
@@ -935,45 +922,41 @@
"toastSuccess": "Eigentümerschaft übertragen",
"toastError": "Eigentümerschaft konnte nicht übertragen werden",
"title": "Eigentümerschaft übertragen",
- "subtitle": "Übergib diesen Workspace an ein anderes Mitglied. Du wirst zum Admin herabgestuft und verlierst die Rechte, die nur Eigentümern vorbehalten sind.",
"pickerLabel": "Neuer Eigentümer",
"noEligibleMembers": "Lade mindestens ein weiteres Mitglied ein, bevor du die Eigentümerschaft übertragen kannst.",
- "pickerHint": "Diese Person wird alleiniger Eigentümer dieses Workspaces.",
+ "pickerHint": "Der neue Eigentümer übernimmt. Du bleibst als Admin dabei.",
"pickerPlaceholder": "Mitglied auswählen",
"button": "Übertragen",
"dialogTitle": "Eigentümerschaft übertragen?",
"dialogDescription": "{{name}} wird alleiniger Eigentümer von {{workspace}}. Du behältst Admin-Zugriff, verlierst aber Rechte, die nur Eigentümern vorbehalten sind, etwa das Löschen des Workspaces oder eine erneute Übertragung.",
"transferring": "Wird übertragen…",
"confirm": "Eigentümerschaft übertragen"
- }
+ },
+ "ownershipSubtitle": "Nur der Eigentümer sieht das.",
+ "ownershipTitle": "Eigentümerschaft"
},
"projectGeneral": {
"pageTitle": "Projekteinstellungen",
- "title": "Allgemeine Einstellungen",
- "subtitle": "Verwalte deinen Projektnamen, Schlüssel, dein Symbol und die Beschreibung.",
- "projectInfoTitle": "Projektinformationen",
- "projectInfoSubtitle": "Konfiguriere deine Projektdetails und Einstellungen.",
+ "title": "Allgemein",
+ "subtitle": "Name, Schlüssel und Aussehen von {{name}}.",
+ "projectInfoTitle": "Projekt",
"iconLabel": "Symbol",
- "iconHint": "Wird in der Sidebar und auf Projektflächen angezeigt.",
+ "iconHint": "Wird in der Sidebar und in Projektlisten angezeigt.",
"pickIconTitle": "Symbol auswählen",
"searchIconsPlaceholder": "Symbole suchen...",
- "projectNameLabel": "Projektname",
- "projectNameHint": "Der Name deines Projekts",
- "projectNamePlaceholder": "Projektnamen eingeben",
+ "projectNameLabel": "Name",
+ "projectNamePlaceholder": "Projektname",
"keyLabel": "Schlüssel",
- "keyHint": "Wird für Ticket-IDs verwendet (z. B. {{slug}}-123)",
+ "keyHint": "Steht am Anfang jeder Aufgaben-ID, z. B. {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Beschreibung",
- "descriptionHint": "Eine kurze Beschreibung deines Projekts",
- "descriptionPlaceholder": "Projektbeschreibung eingeben",
+ "descriptionPlaceholder": "Wofür ist dieses Projekt?",
"dangerZone": "Gefahrenbereich",
- "dangerZoneSubtitle": "Unumkehrbare und destruktive Aktionen.",
"deleteProject": "Projekt löschen",
- "deleteProjectDescription": "Plane die dauerhafte Löschung des Projekts",
+ "deleteProjectDescription": "Löscht {{name}} und alle zugehörigen Aufgaben dauerhaft.",
"deleteModalTitle": "Projekt löschen?",
- "deleteModalDescription": "Dadurch wird das Projekt \"{{name}}\" und alle zugehörigen Daten dauerhaft gelöscht. Diese Aktion kann nicht rückgängig gemacht werden.",
+ "deleteModalDescription": "Dadurch werden {{name}} und alle zugehörigen Aufgaben dauerhaft gelöscht. Das kann nicht rückgängig gemacht werden.",
"deleteModalConfirm": "Projekt löschen",
- "toastUpdated": "Projekt erfolgreich aktualisiert",
"toastUpdateError": "Projekt konnte nicht aktualisiert werden",
"toastDeleted": "Projekt erfolgreich gelöscht",
"toastDeleteError": "Projekt konnte nicht gelöscht werden",
@@ -983,40 +966,42 @@
"keyMax": "Der Schlüssel darf höchstens 8 Zeichen lang sein",
"iconRequired": "Symbol ist erforderlich"
},
- "importExportTasks": "Import/Export",
- "importExportTasksDescription": "Importieren und Exportieren von Aufgaben.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Ein Bild hinter dem Board. Jede Person kann Hintergründe ausblenden.",
+ "backgroundUnavailable": "Bild-Uploads sind auf dieser Instanz nicht eingerichtet.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Ersetzen",
+ "backgroundUpload": "Hochladen",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Projekt verschieben",
- "moveModalDescription": "Dadurch werden das Projekt \"{{name}}\" und alle zugehörigen Aufgaben nach \"{{workspace}}\" verschoben. Bei Aufgaben, die Personen zugewiesen sind, die kein Mitglied dieses Workspaces sind, wird die Zuweisung aufgehoben, und Benachrichtigungs-Abonnements für dieses Projekt werden entfernt.",
- "moveModalTitle": "Projekt verschieben?",
- "moveProject": "In Workspace verschieben",
+ "moveProject": "In anderen Workspace verschieben",
"moveProjectAction": "Verschieben",
- "moveProjectDescription": "Verschiebe dieses Projekt mit allen zugehörigen Aufgaben in einen anderen Workspace.",
+ "moveProjectDescription": "Aufgaben, Spalten und Labels werden mit verschoben.",
"moveProjectPlaceholder": "Workspace auswählen",
"toastMoved": "Projekt erfolgreich verschoben",
"toastMovedWithUnassigned": "Projekt erfolgreich verschoben. Bei {{taskCount}} Aufgabe(n) wurde die Zuweisung aufgehoben.",
"toastMoveError": "Projekt konnte nicht verschoben werden",
- "moveTargetsError": "Es konnte nicht geprüft werden, in welche Workspaces du dieses Projekt verschieben kannst. Lade die Seite neu, um es erneut zu versuchen."
+ "moveTargetsError": "Es konnte nicht geprüft werden, in welche Workspaces du dieses Projekt verschieben kannst. Lade die Seite neu, um es erneut zu versuchen.",
+ "moveDialogDescription": "Aufgaben, die Personen außerhalb des neuen Workspaces zugewiesen sind, verlieren ihre Zuweisung, und Benachrichtigungsabos für dieses Projekt werden entfernt.",
+ "moveDialogTitle": "In anderen Workspace verschieben?",
+ "moveTargetLabel": "Workspace",
+ "moving": "Wird verschoben...",
+ "tasksTitle": "Aufgaben"
},
"projectIntegrations": {
- "pageTitle": "Projektintegrationen",
- "title": "Projektintegrationen",
- "subtitle": "Verbinde dein Projekt mit externen Tools und Diensten, um deinen Workflow zu optimieren.",
+ "pageTitle": "Integrationen",
+ "title": "Integrationen",
+ "subtitle": "Verbinde dieses Projekt mit deinem Code-Hosting und dem Chat deines Teams.",
"githubSectionTitle": "GitHub-Integration",
"githubSectionSubtitle": "Synchronisiere Aufgaben mit GitHub-Issues und aktiviere die bidirektionale Synchronisierung.",
"giteaSectionTitle": "Gitea-Integration",
"giteaSectionSubtitle": "Synchronisiere Aufgaben mit einer selbst gehosteten Gitea-Instanz (Issues, PRs, Webhooks).",
"discordSectionTitle": "Discord-Integration",
"discordSectionSubtitle": "Sende Projektaktualisierungen per Webhook in einen Discord-Kanal.",
- "genericWebhookSectionTitle": "Generische Webhooks",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Sende Projektaufgabenereignisse als JSON an einen beliebigen HTTP-Endpunkt.",
"slackSectionTitle": "Slack-Integration",
"slackSectionSubtitle": "Sende Projektaktualisierungen per Incoming Webhook in einen Slack-Kanal.",
@@ -1024,10 +1009,10 @@
"telegramSectionSubtitle": "Sende Projektaktualisierungen mit einem Bot in einen Telegram-Chat oder ein Thema.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Synchronisiere Aufgaben mit GitLab.com oder einer selbst verwalteten Instanz.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Code-Hosting",
- "chatTitle": "Chat & Webhooks",
+ "chatTitle": "Chat und Webhooks",
"statusConnected": "Verbunden",
"statusPaused": "Pausiert",
"connect": "Verbinden",
@@ -1037,69 +1022,59 @@
"projectVisibility": {
"pageTitle": "Projektsichtbarkeit",
"title": "Sichtbarkeit",
- "subtitle": "Steuere, wer dein Projekt sehen und darauf zugreifen kann.",
- "sectionTitle": "Sichtbarkeit",
- "sectionSubtitle": "Aktiviere öffentlichen Zugriff und teile die öffentliche URL.",
- "publicAccess": "Öffentlicher Zugriff",
- "publicAccessHint": "Erlaube allen mit der URL, dieses Projekt anzusehen",
+ "subtitle": "Lege fest, wer {{project}} außerhalb von {{workspace}} sehen kann.",
+ "sectionTitle": "Zugriff",
+ "publicAccess": "Öffentlicher Link",
+ "publicAccessHint": "Alle mit dem Link können das Board und seine Aufgaben ansehen, aber nichts ändern.",
"publicUrl": "Öffentliche URL",
- "publicUrlHint": "Teile diesen Link, wenn das Projekt öffentlich ist",
- "copy": "Kopieren",
- "copiedToast": "Kopiert",
+ "copy": "Link kopieren",
"toastUpdated": "Sichtbarkeit aktualisiert",
- "toastUpdateError": "Sichtbarkeit konnte nicht aktualisiert werden"
+ "toastUpdateError": "Sichtbarkeit konnte nicht aktualisiert werden",
+ "always": "Immer",
+ "copied": "Kopiert",
+ "copyError": "Link konnte nicht kopiert werden",
+ "membersDescription": "Alle im Workspace, mit den Rechten ihrer Rolle.",
+ "membersTitle": "Mitglieder von {{workspace}}",
+ "offNote": "Wenn du den öffentlichen Link deaktivierst, funktioniert er sofort nicht mehr.",
+ "on": "An",
+ "openPublicPage": "Öffentliche Seite öffnen",
+ "thisWorkspace": "diesem Workspace"
},
"projectWorkflow": {
"pageTitle": "Workflow-Einstellungen",
"title": "Workflow",
- "subtitle": "Konfiguriere Board-Spalten und Automatisierungsregeln für dieses Projekt.",
+ "subtitle": "Die Spalten auf deinem Board und was Aufgaben zwischen ihnen verschiebt.",
"columnsTitle": "Spalten",
- "columnsDescription": "Verwalte die Spalten, die auf deinem Board erscheinen. Ziehe sie, um sie neu anzuordnen. Aktiviere „Fertige Spalte“ für Phasen, die abgeschlossene Arbeit darstellen.",
- "automationTitle": "Automatisierungsregeln",
- "automationDescription": "Ordne Integrationsereignisse Spalten zu. Wenn ein Ereignis eintritt, wird die verknüpfte Aufgabe in die angegebene Spalte verschoben.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Ziehen zum Neuordnen. Aufgaben in einer Erledigt-Spalte gelten als abgeschlossen.",
+ "automationTitle": "Automatisierungen",
+ "automationDescription": "Verschiebe eine verknüpfte Aufgabe, wenn in einem verbundenen Repository etwas passiert."
},
"projectSwitcher": {
"selectProject": "Projekt auswählen",
"noProjects": "Keine Projekte"
},
"columnEditor": {
- "toastCreated": "Spalte erstellt",
"toastCreateError": "Spalte konnte nicht erstellt werden",
- "toastRenamed": "Spalte umbenannt",
"toastRenameError": "Spalte konnte nicht aktualisiert werden",
- "toastFinalOn": "Spalte als final markiert",
- "toastFinalOff": "Markierung der finalen Spalte entfernt",
"toastUpdateError": "Spalte konnte nicht aktualisiert werden",
- "toastIconUpdated": "Spaltenicon aktualisiert",
- "toastDeleted": "Spalte gelöscht",
"toastDeleteError": "Spalte konnte nicht gelöscht werden",
- "loading": "Spalten werden geladen...",
"pickIconTitle": "Spaltenicon auswählen",
"searchIconsPlaceholder": "Icons suchen...",
- "doneColumnTooltip": "Als fertige Spalte behandeln",
- "doneColumn": "Fertige Spalte",
"markDoneAria": "{{name}} als fertige Spalte markieren",
- "on": "Ein",
- "off": "Aus",
- "newColumnPlaceholder": "Neuer Spaltenname...",
- "add": "Hinzufügen",
+ "newColumnPlaceholder": "Spaltenname",
"deleteAria": "Spalte {{name}} löschen",
- "renameAria": "Spalte {{name}} umbenennen"
+ "renameAria": "Spalte {{name}} umbenennen",
+ "addColumn": "Spalte hinzufügen",
+ "columnHeader": "Spalte",
+ "deleteConfirm": "Spalte löschen",
+ "deleteDescription": "Spalten, die noch Aufgaben enthalten, können nicht gelöscht werden. Verschiebe diese Aufgaben zuerst.",
+ "deleteTitle": "„{{name}}“ löschen?",
+ "doneHeader": "Erledigt",
+ "dragAria": "{{name}} verschieben",
+ "reorderError": "Spalten konnten nicht neu angeordnet werden"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Repository-Eigentümer ist erforderlich",
- "ownerInvalid": "Ungültiges Format für den Repository-Eigentümer",
- "nameRequired": "Repository-Name ist erforderlich",
- "nameInvalid": "Ungültiges Format für den Repository-Namen"
- },
"toast": {
- "installedOk": "GitHub-App ist korrekt installiert!",
- "installedMissingPerms": "GitHub-App ist installiert, aber erforderliche Berechtigungen fehlen",
- "needsInstallOnRepo": "GitHub-App muss für dieses Repository installiert werden",
- "repoNotFound": "Repository nicht gefunden oder nicht zugänglich",
"verifyError": "GitHub-Installation konnte nicht überprüft werden",
"installAppFirst": "Bitte installiere zuerst die GitHub-App für dieses Repository",
"missingPermsDetail": "Der GitHub-App fehlen erforderliche Berechtigungen: {{list}}. Bitte aktualisiere die App-Berechtigungen.",
@@ -1113,64 +1088,36 @@
"commentOnDisabled": "Aufgabenlink-Kommentare bei neuen Issues sind deaktiviert",
"settingsUpdateError": "GitHub-Integration konnte nicht aktualisiert werden"
},
- "connectionStatus": "Verbindungsstatus",
- "connectedActive": "Repository verbunden und aktiv",
- "notConnectedHint": "Kein Repository verbunden",
- "badgeConnected": "Verbunden",
- "badgeNotConnected": "Nicht verbunden",
- "repository": "Repository",
- "repositoryHint": "Verbundenes GitHub-Repository",
"commentTaskLinkTitle": "Kaneo-Link bei neuen Issues kommentieren",
- "commentTaskLinkHint": "Wenn aktiviert, veröffentlicht Kaneo bei jedem neuen GitHub-Issue einen Kommentar mit einem Link zur Aufgabe.",
- "appStatusTitle": "GitHub-App-Status",
- "appStatusHint": "Installations- und Berechtigungsstatus",
- "statusProperlyConfigured": "Korrekt konfiguriert",
- "statusMissingPermissions": "Fehlende Berechtigungen",
- "statusNotInstalled": "Nicht installiert",
- "ownerLabel": "Repository-Eigentümer",
- "ownerHint": "GitHub-Benutzername oder Organisation",
- "ownerPlaceholder": "z. B. octocat",
- "repoNameLabel": "Repository-Name",
- "repoNameHint": "Der Name des Repositorys",
- "repoNamePlaceholder": "z. B. mein-projekt",
- "actionsTitle": "Aktionen",
- "actionsHint": "Verwalte deine Repository-Verbindung",
- "browse": "Durchsuchen",
- "verify": "Prüfen",
- "update": "Aktualisieren",
- "connect": "Verbinden",
- "disconnect": "Trennen",
- "missingPermissionsLabel": "Fehlende Berechtigungen:",
+ "commentTaskLinkHint": "Damit Leute auf GitHub direkt zur Aufgabe springen können.",
"updatePermissions": "Berechtigungen aktualisieren",
"installGithubApp": "GitHub-App installieren",
- "importSectionTitle": "GitHub-Issues importieren",
- "importSectionHint": "Importiere vorhandene Issues aus deinem GitHub-Repository als Aufgaben",
- "importing": "Wird importiert...",
- "importIssues": "Issues importieren",
- "importDisabledHint": "Vervollständige die Repository-Konfiguration oben, um den Import zu aktivieren",
+ "importSectionHint": "Importiere die offenen Issues des Repositorys als Aufgaben.",
+ "importDisabledHint": "Verbinde das Repository erneut, um den Import zu aktivieren.",
"accountVerificationHint": "Verbinde dein GitHub-Konto, damit deine Administrationsrechte für dieses Repository geprüft werden können.",
"enableGithubSignInHint": "Bitte die Administration deiner Instanz, die GitHub-Anmeldung zu aktivieren.",
"reverifyHint": "Verbinde dieses Repository erneut, um den Zugriff zu bestätigen und die Synchronisierung fortzusetzen.",
"resumeImport": "Import fortsetzen",
"importPaused": "Der Fortschritt dieses Imports ist gespeichert. Du kannst ihn fortsetzen.",
- "importSummary": "Erstellt: {{imported}} · Aktualisiert: {{updated}} · Übersprungen: {{skipped}}"
+ "importSummary": "Erstellt: {{imported}} · Aktualisiert: {{updated}} · Übersprungen: {{skipped}}",
+ "chooseRepositoryDescription": "Issues und Pull Requests daraus werden hier mit Aufgaben verknüpft.",
+ "linkAccountDescription": "Bestätigt, dass du das Repository verwalten darfst.",
+ "linkAccountTitle": "GitHub-Konto verknüpfen",
+ "linked": "Verknüpft",
+ "linkGithub": "GitHub verknüpfen",
+ "verifyMissingPermissions": "Der Kaneo GitHub App fehlen Berechtigungen: {{list}}.",
+ "verifyNotInstalled": "Die Kaneo GitHub App ist für dieses Repository nicht installiert.",
+ "verifyReady": "Die Kaneo GitHub App ist mit den benötigten Berechtigungen installiert.",
+ "workflowHint": "Aufgaben verschieben, wenn Pull Requests geöffnet oder gemergt werden, unter",
+ "workflowLink": "Workflow"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea-Basis-URL ist erforderlich",
- "baseUrlInvalid": "Gib eine gültige URL ein (z. B. https://gitea.example.com)",
- "ownerRequired": "Repository-Eigentümer ist erforderlich",
- "ownerInvalid": "Ungültiges Format für den Repository-Eigentümer",
- "nameRequired": "Repository-Name ist erforderlich",
- "nameInvalid": "Ungültiges Format für den Repository-Namen"
+ "baseUrlInvalid": "Gib eine gültige URL ein (z. B. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Der Gitea-Token kann auf dieses Repository zugreifen",
- "verifyWarning": "Prüfe die Token-Berechtigungen oder den Repository-Zugriff",
- "repoNotFound": "Repository nicht gefunden oder nicht zugänglich",
"verifyError": "Gitea-Zugriff konnte nicht überprüft werden",
- "tokenRequired": "Persönlicher Zugriffstoken ist erforderlich",
- "tokenRequiredVerify": "Gib einen Token ein, um ihn zu prüfen",
"verifyFirst": "Zugriffsprüfung fehlgeschlagen. Prüfe URL, Token und Repository",
"updated": "Gitea-Integration gespeichert",
"updateError": "Gitea-Integration konnte nicht gespeichert werden",
@@ -1180,56 +1127,22 @@
"importError": "Issues konnten nicht importiert werden",
"commentOnEnabled": "Kaneo kommentiert bei neuen Issues mit einem Aufgabenlink",
"commentOnDisabled": "Aufgabenlink-Kommentare bei neuen Issues sind deaktiviert",
- "settingsUpdateError": "Gitea-Integration konnte nicht aktualisiert werden",
- "secretCopied": "Kopiert",
- "unableToCopySecret": "Geheimnis konnte nicht kopiert werden",
- "notGiteaInstance": "Die URL verweist nicht auf eine Gitea-Instanz",
- "redirected": "Gitea-URL wurde weitergeleitet (normalerweise zu HTTPS). Verwende die endgültige URL direkt."
- },
- "webhookShow": "Anzeigen",
- "webhookHide": "Ausblenden",
- "webhookCopy": "Kopieren",
- "connectionStatus": "Verbindungsstatus",
- "connectedActive": "Repository verbunden und aktiv",
- "notConnectedHint": "Kein Gitea-Repository verbunden",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Nicht verbunden",
- "repository": "Repository",
- "repositoryHint": "Verbundenes Gitea-Repository",
+ "settingsUpdateError": "Gitea-Integration konnte nicht aktualisiert werden"
+ },
"commentTaskLinkTitle": "Kaneo-Link bei neuen Issues kommentieren",
- "commentTaskLinkHint": "Wenn aktiviert, veröffentlicht Kaneo bei jedem neuen Issue einen Kommentar mit einem Link zur Aufgabe.",
- "webhookTitle": "Webhook",
- "webhookHint": "Füge in deinem Gitea-Repository einen Webhook mit dieser URL und diesem Geheimnis hinzu. Aktiviere Push, Pull Request, Issues, Issue-Kommentare und Create (für Labels).",
- "webhookSecretLabel": "Geheimnis (muss mit dem Webhook-Geheimnis in Gitea übereinstimmen)",
+ "commentTaskLinkHint": "Damit Leute auf Gitea direkt zur Aufgabe springen können.",
+ "webhookHint": "Füge diesen Webhook in den Repository-Einstellungen hinzu, damit Änderungen zurück an Kaneo gehen.",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "Basis-URL deiner Gitea-Instanz",
"tokenLabel": "Persönlicher Zugriffstoken",
- "tokenHint": "Token mit Zugriff auf Repositorys und Issues",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Neuen Token einfügen, um ihn zu ersetzen",
- "currentToken": "stored",
- "ownerLabel": "Owner",
- "ownerHint": "Benutzer- oder Organisationsname",
- "repoNameLabel": "Repository-Name",
- "repoNameHint": "Nur der Repository-Name (ohne Eigentümer)",
- "actionsTitle": "Actions",
- "actionsHint": "Zugriff prüfen und verbinden",
- "browse": "Browse",
- "verify": "Verify",
- "update": "Update",
- "connect": "Connect",
- "disconnect": "Disconnect",
- "importSectionTitle": "Gitea-Issues importieren",
- "importSectionHint": "Importiere offene Issues und Pull Requests aus dem Repository",
- "importing": "Importing…",
- "importIssues": "Issues importieren",
- "importDisabledHint": "Prüfe das Repository oben, um den Import zu aktivieren",
- "browseModalTitle": "Deine Repositorys",
- "browseModalHint": "Repositorys, auf die dein Token zugreifen kann",
- "searchRepos": "Search…",
- "browseNeedsCredentials": "Gib Gitea-URL und Token ein, um zu durchsuchen",
- "loadingRepos": "Repositorys werden geladen…",
- "retry": "Retry"
+ "importSectionHint": "Importiere offene Issues und Pull Requests als Aufgaben.",
+ "importDisabledHint": "Der Import erfordert einen bestätigten Zugriff. Prüfe oben den Token-Status.",
+ "browseModalHint": "Repositories, auf die dein Token zugreifen kann.",
+ "browseNeedsCredentials": "Gib die Gitea-URL und einen Token ein, um zu durchsuchen.",
+ "browseEmpty": "Dieser Token sieht keine Repositories.",
+ "chooseRepositoryDescription": "Gib owner/name ein oder wähle eines aus der Liste.",
+ "webhookEvents": "Aktiviere die Ereignisse Push, Pull Request, Issue, Issue-Kommentar und Create."
},
"slackIntegration": {
"validation": {
@@ -1244,30 +1157,10 @@
"removed": "Slack-Integration erfolgreich entfernt",
"removeError": "Slack-Integration konnte nicht entfernt werden"
},
- "connectionTitle": "Slack-Webhook-Verbindung",
- "connectionHint": "Füge eine Slack-Incoming-Webhook-URL ein und wähle aus, welche Aufgabenereignisse gesendet werden sollen.",
- "connected": "Verbunden",
- "paused": "Pausiert",
- "webhookLabel": "Incoming-Webhook-URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Erstelle in Slack einen Incoming Webhook und füge die erzeugte URL hier ein.",
- "channelLabel": "Kanalname",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Optionales Label für dich. Der tatsächliche Zielkanal wird in Slack über den Webhook festgelegt.",
- "eventsTitle": "Ereignisbenachrichtigungen",
- "eventsHint": "Wähle aus, welche Projektänderungen an Slack gesendet werden sollen.",
- "events": {
- "taskCreated": "Neue Aufgaben",
- "taskStatusChanged": "Statusänderungen",
- "taskPriorityChanged": "Prioritätsänderungen",
- "taskTitleChanged": "Titeländerungen",
- "taskDescriptionChanged": "Beschreibungsänderungen",
- "taskCommentCreated": "Neue Kommentare"
- },
+ "webhookHint": "Erstelle in Slack einen Incoming Webhook und füge ihn hier ein.",
"connect": "Slack verbinden",
- "saveChanges": "Änderungen speichern",
- "update": "Slack aktualisieren",
- "disconnect": "Trennen"
+ "update": "Slack aktualisieren"
},
"discordIntegration": {
"validation": {
@@ -1282,34 +1175,15 @@
"removed": "Discord-Integration erfolgreich entfernt",
"removeError": "Discord-Integration konnte nicht entfernt werden"
},
- "connectionTitle": "Discord-Webhook-Verbindung",
- "connectionHint": "Füge eine Discord-Webhook-URL ein und wähle aus, welche Aufgabenereignisse gesendet werden sollen.",
- "connected": "Verbunden",
- "paused": "Pausiert",
- "webhookLabel": "Webhook-URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Erstelle in Discord einen Kanal-Webhook und füge die erzeugte URL hier ein.",
- "channelLabel": "Kanalname",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Optionales Label für dich. Der tatsächliche Zielkanal wird in Discord über den Webhook festgelegt.",
- "eventsTitle": "Ereignisbenachrichtigungen",
- "eventsHint": "Wähle aus, welche Projektänderungen an Discord gesendet werden sollen.",
- "events": {
- "taskCreated": "Neue Aufgaben",
- "taskStatusChanged": "Statusänderungen",
- "taskPriorityChanged": "Prioritätsänderungen",
- "taskTitleChanged": "Titeländerungen",
- "taskDescriptionChanged": "Beschreibungsänderungen",
- "taskCommentCreated": "Neue Kommentare"
- },
+ "webhookHint": "Erstelle in Discord einen Kanal-Webhook und füge ihn hier ein.",
"connect": "Discord verbinden",
- "saveChanges": "Änderungen speichern",
- "update": "Discord aktualisieren",
- "disconnect": "Trennen"
+ "update": "Discord aktualisieren"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Gib eine gültige Webhook-URL ein"
+ "webhookInvalid": "Gib eine gültige Webhook-URL ein",
+ "leadTimeRange": "Wähle eine Zeit zwischen 5 Minuten und 720 Stunden."
},
"toast": {
"saved": "Generische Webhook-Integration erfolgreich gespeichert",
@@ -1320,43 +1194,41 @@
"removed": "Generische Webhook-Integration erfolgreich entfernt",
"removeError": "Generische Webhook-Integration konnte nicht entfernt werden"
},
- "connectionTitle": "Ausgehende Webhook-Verbindung",
- "connectionHint": "Sende Aufgabenereignisse als JSON an deinen eigenen Endpunkt. Wenn ein Secret konfiguriert ist, wird ein signierter X-Kaneo-Signature-Header mitgesendet.",
- "connected": "Verbunden",
- "paused": "Pausiert",
"webhookLabel": "Endpunkt-URL",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo sendet POST-Anfragen mit einer JSON-Nutzlast für jedes aktivierte Ereignis.",
"secretLabel": "Signatur-Secret",
- "secretPlaceholder": "Optionales gemeinsames Secret",
- "secretHint": "Optional. Wenn gesetzt, signiert Kaneo den Request-Body und sendet den Hex-Digest im Header X-Kaneo-Signature.",
- "secretHintConfigured": "Ein Signatur-Secret ist bereits konfiguriert ({{secret}}). Gib ein neues ein, um es zu ersetzen.",
- "eventsTitle": "Ereignisbenachrichtigungen",
- "eventsHint": "Wähle aus, welche Projektänderungen ausgehende Webhooks auslösen sollen.",
+ "secretPlaceholder": "Gemeinsames Secret",
+ "secretHint": "Kaneo signiert damit jede Anfrage und sendet den Digest im Header X-Kaneo-Signature.",
+ "secretHintConfigured": "Aktuelles Secret: {{secret}}. Füge ein neues ein, um es zu ersetzen.",
+ "eventsTitle": "Senden bei",
"events": {
- "taskCreated": "Neue Aufgaben",
- "taskStatusChanged": "Statusänderungen",
- "taskPriorityChanged": "Prioritätsänderungen",
- "taskTitleChanged": "Titeländerungen",
- "taskDescriptionChanged": "Beschreibungsänderungen",
- "taskCommentCreated": "Neue Kommentare",
+ "taskCreated": "Aufgabe erstellt",
+ "taskStatusChanged": "Status geändert",
+ "taskPriorityChanged": "Priorität geändert",
+ "taskTitleChanged": "Titel geändert",
+ "taskDescriptionChanged": "Beschreibung geändert",
+ "taskCommentCreated": "Neuer Kommentar",
"taskDeleted": "Aufgabe gelöscht",
"taskMoved": "Aufgabe verschoben",
"taskDueDateChanged": "Fälligkeitsdatum geändert",
"taskAssigneeChanged": "Zuweisung geändert",
"taskUnassigned": "Zuweisung entfernt",
- "dueDateReminder": "Erinnerungen an Fälligkeitstermine"
+ "dueDateReminder": "Fälligkeitserinnerung"
},
- "reminderLeadTimeLabel": "Webhook so viele Stunden vorher senden",
+ "reminderLeadTimeLabel": "Stunden vor Fälligkeit einer Aufgabe",
"connect": "Webhook verbinden",
- "saveChanges": "Änderungen speichern",
- "disconnect": "Trennen"
+ "activeTitle": "Ereignisse senden",
+ "disconnectDescription": "Kaneo sendet keine Ereignisse mehr und entfernt den gespeicherten Endpunkt und das Secret.",
+ "disconnectTitle": "Webhook trennen?",
+ "reminderLeadTimeAfter": "Stunden vor Fälligkeit einer Aufgabe senden",
+ "reminderLeadTimeBefore": "Erinnerungen"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Gib einen gültigen Telegram-Bot-Token ein",
"chatIdRequired": "Chat-ID ist erforderlich",
- "threadIdInvalid": "Gib eine gültige Telegram-Themen-ID ein"
+ "threadIdInvalid": "Gib eine gültige Themen-ID ein"
},
"toast": {
"saved": "Telegram-Integration erfolgreich gespeichert",
@@ -1367,55 +1239,38 @@
"removed": "Telegram-Integration erfolgreich entfernt",
"removeError": "Telegram-Integration konnte nicht entfernt werden"
},
- "connectionTitle": "Telegram-Bot-Verbindung",
- "connectionHint": "Verwende einen Telegram-Bot-Token und eine Chat-ID, um Projektaktualisierungen in einen Chat oder ein Thema zu senden.",
- "connected": "Verbunden",
- "paused": "Pausiert",
"botTokenLabel": "Bot-Token",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Erstelle mit BotFather einen Bot und füge seinen Token hier ein.",
- "botTokenHintConfigured": "Ein Bot-Token ist bereits konfiguriert ({{token}}). Gib einen neuen ein, um ihn zu ersetzen.",
+ "botTokenHintConfigured": "Aktueller Token: {{token}}",
"chatIdLabel": "Chat-ID",
"chatIdPlaceholder": "-1001234567890 oder @team_updates",
- "chatIdHint": "Gib die Telegram-Chat-ID oder den Kanalnamen ein, in dem Updates gepostet werden sollen.",
"threadIdLabel": "Themen-ID",
- "threadIdPlaceholder": "Optionale Themen-ID",
- "threadIdHint": "Optional. Verwende dies für Forenthemen in Telegram-Gruppen.",
- "chatLabelLabel": "Chat-Label",
+ "threadIdPlaceholder": "Für Forenthemen",
+ "chatLabelLabel": "Chatname",
"chatLabelPlaceholder": "Engineering Updates",
- "chatLabelHint": "Optionales Label für deine Referenz in Kaneo.",
- "eventsTitle": "Ereignisbenachrichtigungen",
- "eventsHint": "Wähle aus, welche Projektänderungen an Telegram gesendet werden sollen.",
- "events": {
- "taskCreated": "Neue Aufgaben",
- "taskStatusChanged": "Statusänderungen",
- "taskPriorityChanged": "Prioritätsänderungen",
- "taskTitleChanged": "Titeländerungen",
- "taskDescriptionChanged": "Beschreibungsänderungen",
- "taskCommentCreated": "Neue Kommentare"
- },
"connect": "Telegram verbinden",
- "saveChanges": "Änderungen speichern",
- "disconnect": "Trennen"
+ "botTokenSavedPlaceholder": "Gespeichert. Füge einen neuen Token ein, um ihn zu ersetzen.",
+ "loadError": "Die Telegram-Einstellungen konnten nicht geladen werden."
},
"repositoryBrowser": {
"title": "Repository auswählen",
- "description": "Wähle ein Repository aus, in dem deine GitHub-App installiert ist, um die Issue-Synchronisierung zu aktivieren.",
- "searchPlaceholder": "Repositories suchen...",
- "loadError": "Repositories konnten nicht geladen werden",
+ "description": "Repositories, auf die die Kaneo GitHub App zugreifen kann.",
+ "searchPlaceholder": "Repositories suchen",
+ "loadError": "Repositories konnten nicht geladen werden.",
"tryAgain": "Erneut versuchen",
- "emptyTitle": "Keine Repositories gefunden",
+ "emptyTitle": "Noch keine Repositories",
"emptyHint": "Installiere die GitHub-App in deinen Repositories, damit sie hier angezeigt werden.",
"installGithubApp": "GitHub-App installieren",
- "noSearchMatchTitle": "Keine Repositories entsprechen deiner Suche",
- "noSearchMatchHint": "Passe deine Suchbegriffe an oder lösche die Suche, um alle Repositories zu sehen.",
- "footerSummary": "{{repoCount}} Repositories über {{installationCount}} Installationen",
- "manageInstallations": "Installationen verwalten",
- "updatedPrefix": "Aktualisiert",
- "relativeJustNow": "gerade eben",
- "relativeMinutesAgo": "vor {{count}} Min.",
- "relativeHoursAgo": "vor {{count}} Std.",
- "relativeDaysAgo": "vor {{count}} Tg."
+ "noSearchMatchTitle": "Keine passenden Repositories",
+ "noSearchMatchHint": "Versuche einen anderen Namen oder lösche die Suche.",
+ "emptyPageHint": "Keine auf dieser Seite. Lade mehr, um weiterzusuchen.",
+ "loadMore": "Mehr laden",
+ "manageAccess": "App-Zugriff verwalten",
+ "missingOne": "Fehlt eines?",
+ "searching": "Wird gesucht…",
+ "updated": "Aktualisiert {{time}}",
+ "useRepository": "Repository verwenden"
},
"tasksImportExport": {
"exportTasks": "Aufgaben exportieren",
@@ -1434,27 +1289,26 @@
"importError": "Aufgaben konnten nicht importiert werden",
"invalidFormat": "Ungültiges Importdateiformat",
"noFileDropped": "Keine Datei abgelegt",
- "notJsonFile": "Bitte lade eine JSON-Datei hoch"
+ "notJsonFile": "Bitte lade eine JSON-Datei hoch",
+ "export": "Exportieren",
+ "exportDescription": "Lade alle Aufgaben dieses Projekts als Datei herunter.",
+ "import": "Importieren",
+ "importDescription": "Füge Aufgaben aus einer zuvor exportierten Datei hinzu."
},
"workflowEditor": {
- "loading": "Lädt...",
- "createColumnsFirst": "Erstelle zuerst Spalten, um Automatisierungsregeln zu konfigurieren.",
- "githubHeading": "GitHub",
- "githubHint": "Wenn ein GitHub-Ereignis eintritt, verschiebe die verknüpfte Aufgabe in eine Spalte.",
- "giteaHeading": "Gitea",
- "giteaHint": "Wenn ein Gitea-Webhook-Ereignis eintritt, verschiebe die verknüpfte Aufgabe in eine Spalte.",
- "selectColumnPlaceholder": "Spalte auswählen...",
- "toastUpdated": "Workflow-Regel aktualisiert",
"toastError": "Workflow-Regel konnte nicht aktualisiert werden",
"events": {
- "branch_push": "Branch-Push",
- "pr_opened": "PR geöffnet",
- "pr_merged": "PR zusammengeführt",
+ "branch_push": "Branch gepusht",
+ "pr_opened": "Pull Request geöffnet",
+ "pr_merged": "Pull Request gemergt",
"issue_opened": "Issue geöffnet",
"issue_closed": "Issue geschlossen"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "Verbinde {{providers}} unter <link>Integrationen</link>, um sie ebenfalls zu automatisieren.",
+ "dontMove": "Nicht verschieben",
+ "emptyDescription": "Automatisierungen benötigen ein verbundenes GitHub-, Gitea- oder GitLab-Repository.",
+ "emptyTitle": "Keine verbundenen Repositories",
+ "openIntegrations": "Integrationen öffnen"
},
"externalLinks": {
"resources": "Ressourcen",
@@ -1681,22 +1535,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Label-Einstellungen",
+ "pageTitle": "Labels",
"title": "Labels",
- "subtitle": "Erstelle, bearbeite und lösche Labels auf Workspace-Ebene.",
- "cardDescription": "Verwalte Labels, die Aufgaben zugewiesen werden können.",
+ "subtitle": "Labels gelten für alle Projekte in diesem Workspace.",
"createLabel": "Label erstellen",
"editLabel": "Label bearbeiten",
- "deleteLabel": "Löschen",
+ "deleteLabel": "Label löschen",
"saveLabel": "Speichern",
- "nameLabel": "Label-Name",
- "namePlaceholder": "Label-Namen eingeben",
+ "nameLabel": "Name",
+ "namePlaceholder": "Label-Name",
"colorLabel": "Farbe",
- "createDescription": "Erstelle ein neues Label, das für Aufgaben in diesem Workspace verwendet werden kann.",
- "editDescription": "Aktualisiere den Namen oder die Farbe dieses Labels.",
- "deleteConfirmTitle": "Dieses Label löschen?",
- "deleteConfirmDescription": "Dadurch wird dieses Label dauerhaft von allen Aufgaben entfernt. Diese Aktion kann nicht rückgängig gemacht werden.",
- "empty": "Noch keine Labels. Erstelle dein erstes Label, um loszulegen.",
+ "createDescription": "Projekte in diesem Workspace können es ihren Aufgaben hinzufügen.",
+ "editDescription": "Änderungen erscheinen bei jeder Aufgabe mit diesem Label.",
+ "deleteConfirmTitle": "„{{name}}“ löschen?",
+ "deleteConfirmDescription": "Das Label wird von allen Aufgaben entfernt, die es verwenden. Das kann nicht rückgängig gemacht werden.",
"createSuccess": "Label erstellt",
"updateSuccess": "Label aktualisiert",
"deleteSuccess": "Label gelöscht",
@@ -1704,30 +1556,23 @@
"updateError": "Label konnte nicht aktualisiert werden",
"deleteError": "Label konnte nicht gelöscht werden",
"nameRequired": "Label-Name ist erforderlich",
- "deletionPending": "Löschung ausstehend",
- "resumeDeletion": "Löschung fortsetzen"
+ "deletionPending": "Wird von Aufgaben entfernt…",
+ "resumeDeletion": "Löschung fortsetzen",
+ "editNamed": "{{name}} bearbeiten",
+ "emptyDescription": "Füge Labels hinzu, um Aufgaben projektübergreifend zu sortieren und zu filtern.",
+ "emptyTitle": "Noch keine Labels",
+ "loadError": "Labels konnten nicht geladen werden. Bitte versuche es erneut.",
+ "newLabel": "Neues Label",
+ "preview": "Auf einer Aufgabe",
+ "previewPlaceholder": "Label",
+ "resume": "Fortsetzen",
+ "rowActions": "Aktionen für {{name}}",
+ "sectionDescription": "Wenn du ein Label umbenennst oder seine Farbe änderst, wird jede Aufgabe mit diesem Label aktualisiert.",
+ "sectionTitle": "Workspace-Labels",
+ "subtitleWithWorkspace": "Labels gelten für alle Projekte in {{workspaceName}}."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1741,44 +1586,76 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Erstelle in Mattermost einen Incoming Webhook und füge ihn hier ein.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Kontrollkästchen",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Dropdown, Mehrfachauswahl"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Standardwert entfernen",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Aktionen für {{name}}",
+ "addOption": "Option hinzufügen",
+ "allowSeveral": "Mehrfachauswahl erlauben",
+ "allowSeveralDescription": "Eine Aufgabe kann mehr als eine Option wählen.",
+ "checked": "Aktiviert",
+ "createField": "Feld erstellen",
+ "defaultDescription": "Neue Aufgaben beginnen mit diesem Wert.",
+ "deleteConfirm": "Feld löschen",
+ "deleteDescription": "Das Feld und sein Wert werden aus allen Aufgaben entfernt. Das kann nicht rückgängig gemacht werden.",
+ "deleteTitle": "„{{name}}“ löschen?",
+ "dialogDescription": "Jede Aufgabe in {{project}} erhält dieses Feld.",
+ "dialogDescriptionFallback": "Jede Aufgabe in diesem Projekt erhält dieses Feld.",
+ "dragAria": "{{name}} verschieben",
+ "dragOptionAria": "{{option}} verschieben",
+ "edit": "Bearbeiten",
+ "editTitle": "Feld bearbeiten",
+ "emptyDescription": "Erfasse für jede Aufgabe Angaben wie Größe, Kunde oder Starttermin.",
+ "emptyTitle": "Noch keine benutzerdefinierten Felder",
+ "issues": {
+ "defaultRequired": "Pflichtfelder benötigen einen Standardwert.",
+ "moreOptionsRequired": "Füge mindestens zwei Optionen hinzu, um Mehrfachauswahl zu erlauben.",
+ "optionsRequired": "Füge mindestens eine Option hinzu."
+ },
+ "nameLabel": "Name",
+ "newTitle": "Neues Feld",
+ "noDefault": "Kein Standardwert",
+ "optionsLabel": "Optionen",
+ "removeOptionAria": "{{option}} entfernen",
+ "renameOptionAria": "{{option}} umbenennen",
+ "requiredDescription": "Jede Aufgabe hat immer einen Wert.",
+ "save": "Speichern",
+ "saving": "Wird gespeichert...",
+ "startsAs": "Standard: „{{value}}“",
+ "startsAt": "Standard: {{value}}",
+ "startsChecked": "Standardmäßig aktiviert",
+ "startsOn": "Standard: {{date}}",
+ "startsUnchecked": "Standardmäßig deaktiviert",
+ "typeLabel": "Typ",
+ "typeLocked": "Der Typ kann nach dem Erstellen eines Felds nicht mehr geändert werden.",
+ "unchecked": "Deaktiviert",
+ "updateError": "Benutzerdefiniertes Feld konnte nicht gespeichert werden.",
+ "updateSuccess": "Benutzerdefiniertes Feld gespeichert."
},
"security": "Security",
"securityPage": {
@@ -1793,11 +1670,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Anmeldung",
+ "submit": "Passwort ändern",
+ "submitting": "Wird geändert...",
+ "subtitle": "Wie du dich bei Kaneo anmeldest.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1807,94 +1683,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Passwort ändern",
+ "dialogDescription": "Mindestens 8 Zeichen, anders als das aktuelle Passwort.",
+ "dialogTitle": "Passwort ändern",
+ "passwordHint": "Verwende mindestens 8 Zeichen und ein Passwort, das du sonst nirgends nutzt.",
+ "passwordTitle": "Passwort"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Projekte, in denen dein Token Mitglied ist.",
+ "browseNeedsCredentials": "Gib die GitLab-URL und einen Token ein, um zu durchsuchen.",
+ "commentTaskLinkHint": "Damit Leute auf GitLab direkt zur Aufgabe springen können.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Importiere offene Issues und Merge Requests als Aufgaben.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Projekte suchen",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Füge diesen Webhook in den Projekteinstellungen hinzu, damit Änderungen zurück an Kaneo gehen.",
+ "loadProjectsError": "Projekte konnten nicht geladen werden.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Dieser Token ist in keinem Projekt Mitglied.",
+ "chooseProjectDescription": "Gib den Pfad ein oder wähle eines aus der Liste.",
+ "noSearchMatchTitle": "Keine passenden Projekte",
+ "useProject": "Projekt verwenden",
+ "webhookEvents": "Aktiviere die Ereignisse Push, Issue, Kommentar und Merge Request."
},
"calendarFeeds": {
"title": "Kalender-Feeds",
"subtitle": "Abonniere geplante Projektaufgaben in deiner Kalender-App.",
- "createTitle": "Kalender-Feed erstellen",
- "filterHint": "Enthält Aufgaben mit einem Start- oder Fälligkeitsdatum. Wähle Labels, um nur Aufgaben mit mindestens einem davon einzubeziehen, oder lasse die Auswahl leer, um alle geplanten Projektaufgaben einzubeziehen.",
- "labels": "Labels",
- "selectLabels": "Labels suchen und auswählen…",
+ "labels": "Nur diese Labels einbeziehen",
+ "selectLabels": "Label hinzufügen",
"noLabels": "Keine Labels gefunden.",
"timeZoneHint": "Ganztägige Termine verwenden {{timeZone}}.",
"accessHint": "Jeder mit einem Feed-Link kann die Titel, Beschreibungen und Termine der passenden Aufgaben lesen. Widerrufe einen Link, um den künftigen Zugriff zu beenden.",
@@ -1902,20 +1745,29 @@
"creating": "Wird erstellt…",
"created": "Kalender-Feed erstellt.",
"createError": "Kalender-Feed konnte nicht erstellt werden.",
- "activeFeeds": "Aktive Feeds",
- "allScheduledTasks": "Alle geplanten Projektaufgaben",
- "subscribeHint": "Kopiere einen Link und füge ihn als Kalenderabonnement hinzu. Änderungen erscheinen, sobald deine Kalender-App den Feed aktualisiert.",
- "empty": "Noch keine Kalender-Feeds.",
- "feedUrl": "Kalender-Feed-URL",
+ "activeFeeds": "Feeds",
+ "allScheduledTasks": "Alle geplanten Aufgaben",
+ "subscribeHint": "Füge einen Link in deiner Kalender-App als Abonnement hinzu. Änderungen erscheinen, sobald die App den Feed aktualisiert.",
"copy": "Link kopieren",
- "copied": "Kalender-Feed-Link kopiert.",
"copyError": "Link konnte nicht kopiert werden. Wähle die URL aus und kopiere sie manuell.",
"revoke": "Widerrufen",
"revoked": "Kalender-Feed widerrufen.",
"revokeError": "Kalender-Feed konnte nicht widerrufen werden.",
"loadError": "Kalender-Feeds oder Labels konnten nicht geladen werden. Bitte versuche es erneut.",
"deletedLabel": "Gelöschtes Label",
- "permissionRequired": "Du benötigst die Berechtigung zum Teilen von Projekten, um Kalender-Feeds zu verwalten."
+ "permissionRequired": "Du benötigst die Berechtigung zum Teilen von Projekten, um Kalender-Feeds zu verwalten.",
+ "copiedLabel": "Kopiert",
+ "dialogDescription": "Aufgaben mit Start- oder Fälligkeitsdatum erscheinen im Feed.",
+ "dialogTitle": "Neuer Kalender-Feed",
+ "emptyDescription": "Erstelle einen Feed, um geplante Aufgaben in deiner Kalender-App zu sehen.",
+ "emptyTitle": "Noch keine Kalender-Feeds",
+ "feedActions": "Feed-Aktionen",
+ "labelsHint": "Leer lassen, um alle geplanten Aufgaben einzubeziehen.",
+ "newFeed": "Neuer Feed",
+ "revokeConfirm": "Feed widerrufen",
+ "revokeConfirmDescription": "Kalender-Apps mit diesem Link erhalten keine Aktualisierungen mehr. Das kann nicht rückgängig gemacht werden.",
+ "revokeConfirmTitle": "Diesen Feed widerrufen?",
+ "revoking": "Wird widerrufen…"
},
"invitationEmailFailed": "Einladung gespeichert, aber der E-Mail-Versand ist fehlgeschlagen. Prüfe die SMTP-Einstellungen und sende die Einladung erneut.",
"billing": {
@@ -1927,7 +1779,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1960,7 +1811,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1971,7 +1821,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Rechnungen, Zahlungsmethode und Kündigung werden über Creem verwaltet.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1995,14 +1845,14 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Dein Plan für {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "Noch {{count}} Tag",
+ "badgeDaysLeft_other": "Noch {{count}} Tage"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2021,15 +1871,12 @@
"addLabel": "Label hinzufügen",
"advancedHint": "Aktiviere die erweiterten Einstellungen unter Präferenzen, um diese Regeln zu bearbeiten.",
"all": "Alle Aufgaben und Issues",
- "allSummary": "Alle von: {{labels}}",
"any": "Mindestens ein ausgewähltes Label",
- "anySummary": "Mindestens eines von: {{labels}}",
"apply": "Synchronisierungsregeln anwenden",
"closed": "Geschlossen",
"every": "Alle ausgewählten Labels",
"excluded": "Außerhalb der aktuellen Regel",
"filtered": "Nur passende Labels",
- "filteredBadge": "Nach Labels gefiltert",
"impact": "Passende Aufgaben: {{matching}} / {{total}} · Neue Exporte: {{create}} · Zu pausieren: {{pause}} · Zu prüfen: {{review}}",
"impactTitle": "Was sich ändern wird",
"incoming": "Repository → Kaneo",
@@ -2046,8 +1893,6 @@
"outgoing": "Kaneo → Repository",
"outgoingHint": "Wähle, welche Kaneo-Aufgaben synchronisiert werden dürfen. Verliert eine verknüpfte Aufgabe ein erforderliches Label, pausieren beide Richtungen.",
"paused": "Synchronisierung pausiert",
- "pausedCount_one": "{{count}} pausierte Verknüpfung",
- "pausedCount_other": "{{count}} pausierte Verknüpfungen",
"pausedHint": "Einträge und Verknüpfungen bleiben erhalten. Aufgaben, die wieder passen, müssen vor dem Fortsetzen geprüft werden.",
"preserveHint": "Beim Pausieren bleiben beide Einträge und ihre Verknüpfung erhalten. Das Fortsetzen erfordert einen Vergleich; alte Kommentare werden nicht erneut übertragen.",
"previewing": "Synchronisierungsumfang wird geprüft…",
@@ -2066,16 +1911,29 @@
"saveError": "Diese Regeln konnten nicht angewendet werden. Die Integration oder der Aufgabenumfang könnte sich geändert haben. Aktualisiere die Vorschau und versuche es erneut.",
"selectLabel": "Wähle mindestens ein Label für die Vorschau.",
"sharedHint": "Diese Regeln gelten für alle im Projekt. Das Ausblenden erweiterter Einstellungen deaktiviert sie nicht.",
- "title": "Synchronisierungsumfang",
+ "title": "Was synchronisiert wird",
"unavailableLabel": "Nicht verfügbares Label",
"useKaneo": "Kaneo-Werte übernehmen",
"useRepository": "Repository-Werte übernehmen",
"exportPending": "Passende Aufgaben exportieren",
"inactiveHint": "Diese Integration ist pausiert. Aufgaben werden erst nach ihrer Reaktivierung exportiert.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Alle Issues",
+ "allTasks": "Alle Aufgaben",
+ "edit": "Bearbeiten",
+ "hidePaused": "Ausblenden",
+ "issuesLabelled": "Issues mit Label",
+ "joinAnd": "und",
+ "joinOr": "oder",
+ "kaneoToProvider": "Von Kaneo nach {{provider}}",
+ "pausedSummary_one": "{{count}} Aufgabe wird nicht mehr synchronisiert, weil sie nicht mehr zu den Synchronisierungsregeln passt.",
+ "pausedSummary_other": "{{count}} Aufgaben werden nicht mehr synchronisiert, weil sie nicht mehr zu den Synchronisierungsregeln passen.",
+ "providerToKaneo": "Von {{provider}} nach Kaneo",
+ "reviewPaused": "Prüfen",
+ "tasksLabelled": "Aufgaben mit Label"
+ },
+ "advancedSettingsDescription": "Zeigt zusätzliche Optionen wie Synchronisierungsregeln für Integrationen. Gilt nur für diesen Browser.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2112,23 +1970,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Alle Workspaces",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_one": "{{count}} member",
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
@@ -2149,9 +1999,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Nach Name oder Slug suchen",
+ "subtitle": "Alle Workspaces auf dieser Kaneo-Instanz, auch die, in denen du kein Mitglied bist.",
+ "title": "Workspaces",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2161,9 +2011,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2428,6 +2276,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Ausschalten, um zu pausieren, ohne die Einrichtung zu verlieren.",
+ "activeTitle": "Nachrichten an {{provider}} senden",
+ "channelHint": "Nur eine Bezeichnung für diese Liste.",
+ "channelLabel": "Kanal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Trennen",
+ "disconnectDescription": "Kaneo postet nicht mehr in {{provider}} und entfernt die gespeicherten Einstellungen.",
+ "disconnecting": "Wird getrennt…",
+ "disconnectTitle": "{{provider}} trennen?",
+ "events": {
+ "taskCommentCreated": "Neuen Kommentaren",
+ "taskCreated": "Neuen Aufgaben",
+ "taskDescriptionChanged": "Beschreibungsänderungen",
+ "taskPriorityChanged": "Prioritätsänderungen",
+ "taskStatusChanged": "Statusänderungen",
+ "taskTitleChanged": "Titeländerungen"
+ },
+ "optional": "Optional",
+ "postWhen": "Posten bei",
+ "retry": "Erneut versuchen",
+ "saveChanges": "Änderungen speichern",
+ "savedUrlPlaceholder": "Gespeichert. Füge eine neue URL ein, um sie zu ersetzen.",
+ "webhookUrlLabel": "Webhook-URL"
+ },
+ "codeHosting": {
+ "browse": "Durchsuchen",
+ "changeToken": "Token ändern",
+ "checking": "Zugriff wird geprüft…",
+ "chooseProjectTitle": "Projekt auswählen",
+ "chooseRepositoryTitle": "Repository auswählen",
+ "connectProject": "Projekt verbinden",
+ "connectRepository": "Repository verbinden",
+ "copied": "Kopiert",
+ "copyFailed": "Kopieren in die Zwischenablage fehlgeschlagen.",
+ "copySecret": "Secret kopieren",
+ "copyUrl": "Webhook-URL kopieren",
+ "disconnect": "Trennen",
+ "disconnectDescription": "Aufgaben werden nicht mehr mit {{target}} synchronisiert. Du kannst die Verbindung später wiederherstellen.",
+ "disconnecting": "Wird getrennt…",
+ "disconnectTitle": "{{provider}} trennen?",
+ "hideSecret": "Secret ausblenden",
+ "importing": "Wird importiert…",
+ "importIssues": "Issues importieren",
+ "importNeedsReconnect": "Verbinde erneut, um den Import zu aktivieren.",
+ "importTitle": "Offene Issues importieren",
+ "issuesSection": "Issues",
+ "lastImport": "Letzter Import: {{imported}} erstellt, {{updated}} aktualisiert, {{skipped}} übersprungen.",
+ "loadError": "Diese Integration konnte nicht geladen werden.",
+ "pausedHint": "Die Synchronisierung ist pausiert. Verbinde erneut, um sie fortzusetzen.",
+ "projectSection": "Projekt",
+ "reconnect": "Erneut verbinden",
+ "repositoryPathInvalid": "Gib das Repository als owner/name ein.",
+ "repositoryPathLabel": "Repository",
+ "repositorySection": "Repository",
+ "retry": "Erneut versuchen",
+ "saveToken": "Token speichern",
+ "showSecret": "Secret anzeigen",
+ "signInDescription": "Verwende einen Token, der das Projekt und seine Issues lesen kann.",
+ "signInTitle": "Bei deiner Instanz anmelden",
+ "tokenStored": "Gespeicherter Token",
+ "tokenTitle": "Zugriffstoken",
+ "webhookSecret": "Secret",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Ziehe die Felder, um ihre Reihenfolge in einer Aufgabe zu ändern.",
+ "fieldsTitle": "Felder",
+ "newField": "Neues Feld",
+ "pageTitle": "Benutzerdefinierte Felder",
+ "subtitle": "Zusätzliche Angaben, die jede Aufgabe in {{project}} erfassen kann, etwa Größe oder Kunde.",
+ "subtitleFallback": "Zusätzliche Angaben, die jede Aufgabe in diesem Projekt erfassen kann, etwa Größe oder Kunde.",
+ "title": "Benutzerdefinierte Felder"
+ },
+ "shared": {
+ "autosave": "Änderungen werden automatisch gespeichert"
}
},
"navigation": {
diff --git a/i18n/el-GR.json b/i18n/el-GR.json
index 7a3c40d63..05bcd830a 100644
--- a/i18n/el-GR.json
+++ b/i18n/el-GR.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Ποτέ"
- },
"modals": {
"createProject": {
"title": "Δημιουργία νέου έργου",
@@ -566,37 +563,32 @@
"advancedSettings": "Σύνθετες ρυθμίσεις",
"account": "Λογαριασμός",
"developer": "Προγραμματιστής",
- "information": "Πληροφορίες",
+ "information": "Προφίλ",
"notifications": "Ειδοποιήσεις",
"preferences": "Προτιμήσεις",
"apiKeys": "Κλειδιά API",
"informationPage": {
- "pageTitle": "Προσωπικές πληροφορίες",
- "title": "Προσωπικές πληροφορίες",
- "subtitle": "Διαχειριστείτε τα προσωπικά σας στοιχεία και τις πληροφορίες του λογαριασμού σας.",
- "sectionTitle": "Πληροφορίες λογαριασμού",
- "sectionSubtitle": "Διαχειριστείτε το προφίλ και τα στοιχεία του λογαριασμού σας.",
+ "pageTitle": "Προφίλ",
+ "title": "Προφίλ",
+ "subtitle": "Πώς σας βλέπουν οι συνεργάτες σας.",
+ "sectionTitle": "Στοιχεία",
"profilePicture": "Εικόνα προφίλ",
- "fullName": "Ονοματεπώνυμο",
+ "fullName": "Όνομα",
"fullNamePlaceholder": "Εισαγάγετε το όνομά σας",
"email": "Email",
- "emailPlaceholder": "Εισαγάγετε το email σας",
- "updateSuccess": "Το προφίλ ενημερώθηκε με επιτυχία",
"updateError": "Αποτυχία ενημέρωσης προφίλ",
"validation": {
"nameRequired": "Το όνομα είναι υποχρεωτικό",
- "nameShort": "Το όνομα πρέπει να έχει τουλάχιστον 2 χαρακτήρες",
- "invalidEmail": "Μη έγκυρη διεύθυνση email"
+ "nameShort": "Το όνομα πρέπει να έχει τουλάχιστον 2 χαρακτήρες"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Οι τετράγωνες εικόνες δείχνουν καλύτερα.",
+ "remove": "Αφαίρεση",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Μεταφόρτωση"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -605,39 +597,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Συνδέεστε με αυτήν τη διεύθυνση."
},
"notificationsPage": {
"pageTitle": "Ειδοποιήσεις",
"title": "Ειδοποιήσεις",
- "subtitle": "Επιλέξτε πώς παραδίδει το Kaneo τις ειδοποιήσεις του λογαριασμού σας και ποια κανάλια θα χρησιμοποιούνται.",
+ "subtitle": "Για τι σας ειδοποιεί το Kaneo και πού.",
"statusConnected": "Connected",
"statusPaused": "Paused",
"emailTitle": "Email",
- "emailDescription": "Χρησιμοποιήστε το email του λογαριασμού σας ως προορισμό για τις ειδοποιήσεις.",
- "accountEmailLabel": "Email λογαριασμού",
"accountEmailNoAddress": "Δεν υπάρχει διαθέσιμο email λογαριασμού",
- "accountEmailHint": "Η παράδοση email γίνεται πάντα στο email του συνδεδεμένου λογαριασμού.",
"saveChanges": "Save changes",
"disconnect": "Disconnect",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Δημοσιεύστε τις ειδοποιήσεις λογαριασμού σε ένα θέμα ntfy.",
+ "ntfyDescription": "Δημοσιεύστε σε ένα θέμα ntfy στο κινητό ή στον υπολογιστή σας.",
"serverUrl": "Server URL",
"topic": "Topic",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Προαιρετικό bearer token",
+ "ntfyTokenPlaceholder": "Μόνο αν το απαιτεί ο διακομιστής σας",
"ntfyTokenHintConfigured": "Ένα token έχει ήδη ρυθμιστεί ({{masked}}). Εισαγάγετε νέο token για να το αντικαταστήσετε.",
- "ntfyTokenHintOptional": "Προαιρετικό. Δώστε token αν ο διακομιστής ntfy σας απαιτεί έλεγχο ταυτότητας.",
+ "ntfyTokenHintOptional": "Χρησιμοποιήστε token αν ο διακομιστής ntfy σας απαιτεί έλεγχο ταυτότητας.",
"connectNtfy": "Connect ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Στείλτε τις ειδοποιήσεις λογαριασμού στον διακομιστή Gotify σας.",
+ "gotifyDescription": "Στείλτε τις ειδοποιήσεις στον διακομιστή Gotify σας.",
"gotifyTokenLabel": "App token",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Token εφαρμογής Gotify",
@@ -645,38 +634,16 @@
"gotifyTokenHintRequired": "Υποχρεωτικό. Χρησιμοποιήστε token εφαρμογής από τον διακομιστή Gotify σας.",
"connectGotify": "Σύνδεση Gotify",
"webhookTitle": "Προσαρμοσμένο webhook",
- "webhookDescription": "Στείλτε τις ειδοποιήσεις λογαριασμού στο δικό σας endpoint ως JSON.",
+ "webhookDescription": "Στείλτε κάθε ειδοποίηση στο δικό σας endpoint ως JSON.",
"endpointUrl": "Endpoint URL",
"signingSecret": "Μυστικό υπογραφής",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Προαιρετικό κοινόχρηστο μυστικό",
"webhookSecretHintConfigured": "Ένα μυστικό υπογραφής έχει ήδη ρυθμιστεί ({{masked}}). Εισαγάγετε νέο για να το αντικαταστήσετε.",
- "webhookSecretHintOptional": "Προαιρετικό. Το Kaneo υπογράφει το σώμα του αιτήματος όταν έχει οριστεί μυστικό.",
+ "webhookSecretHintOptional": "Το Kaneo υπογράφει το σώμα του αιτήματος όταν έχει οριστεί μυστικό.",
"connectWebhook": "Σύνδεση webhook",
- "workspaceRulesTitle": "Κανόνες παράδοσης χώρων εργασίας",
- "workspaceRulesDescription": "Επαναχρησιμοποιήστε τα καθολικά σας κανάλια και έπειτα αποφασίστε ποιοι χώροι εργασίας και ποια έργα επιτρέπεται να στέλνουν ειδοποιήσεις λογαριασμού.",
- "workspaceCardHint": "Επιλέξτε ποια κανάλια μπορεί να χρησιμοποιεί αυτός ο χώρος εργασίας για ειδοποιήσεις λογαριασμού.",
- "workspaceCardLabelEmail": "Email",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Προσαρμοσμένο webhook",
- "emailChannelHintEnabled": "Αποστολή των αντίστοιχων ειδοποιήσεων χώρου εργασίας μέσω email.",
- "emailChannelHintDisabled": "Ρυθμίστε και ενεργοποιήστε πρώτα το email καθολικά.",
- "ntfyChannelHintEnabled": "Αποστολή των αντίστοιχων ειδοποιήσεων χώρου εργασίας στο ntfy.",
- "ntfyChannelHintDisabled": "Ρυθμίστε και ενεργοποιήστε πρώτα το ntfy καθολικά.",
- "gotifyChannelHintEnabled": "Αποστολή των αντίστοιχων ειδοποιήσεων χώρου εργασίας στο Gotify.",
- "gotifyChannelHintDisabled": "Ρυθμίστε και ενεργοποιήστε πρώτα το Gotify καθολικά.",
- "webhookChannelHintEnabled": "Αποστολή των αντίστοιχων ειδοποιήσεων χώρου εργασίας στο webhook σας.",
- "webhookChannelHintDisabled": "Ρυθμίστε και ενεργοποιήστε πρώτα το webhook καθολικά.",
- "projectScope": "Εύρος έργων",
- "projectScopeDescription": "Όλα τα έργα περιλαμβάνονται από προεπιλογή. Περιορίστε το αν αυτός ο χώρος εργασίας πρέπει να στέλνει ειδοποιήσεις μόνο από επιλεγμένα έργα.",
"allProjects": "All projects",
- "allProjectsDescription": "Παράδοση ειδοποιήσεων από κάθε έργο αυτού του χώρου εργασίας.",
- "selectedProjects": "Επιλεγμένα έργα",
- "selectedProjectsDescription": "Παράδοση ειδοποιήσεων μόνο από τα επιλεγμένα έργα.",
"noProjectsInWorkspace": "Δεν υπάρχουν ακόμα διαθέσιμα έργα για αυτόν τον χώρο εργασίας.",
- "createRule": "Create rule",
- "removeRule": "Remove rule",
"toastEmailSaved": "Οι ρυθμίσεις ειδοποιήσεων email αποθηκεύτηκαν",
"toastEmailSaveFailed": "Αποτυχία αποθήκευσης ρυθμίσεων email",
"toastNtfySaved": "Οι ρυθμίσεις ntfy αποθηκεύτηκαν",
@@ -699,151 +666,174 @@
"toastPreferencesSaveFailed": "Αποτυχία αποθήκευσης προτιμήσεων ειδοποιήσεων",
"toastRuleSavedGeneric": "Ο κανόνας ειδοποιήσεων χώρου εργασίας αποθηκεύτηκε",
"toastRuleRemovedGeneric": "Ο κανόνας ειδοποιήσεων χώρου εργασίας αφαιρέθηκε",
- "workspaceEnabledLabel": "Ενεργοποίηση ειδοποιήσεων για {{workspaceName}}",
"eventPreferencesTitle": "Να ειδοποιούμαι για",
- "eventPreferencesDescription": "Επιλέξτε ποια γεγονότα εργασιών δημιουργούν ειδοποιήσεις εντός εφαρμογής και μπορούν να παραδίδονται στα συνδεδεμένα κανάλια σας.",
- "eventTaskAssignments": "Αναθέσεις εργασιών",
+ "eventPreferencesDescription": "Τα δικά σας σχόλια, οι αναφορές και οι αλλαγές κατάστασης δεν σας ειδοποιούν ποτέ.",
+ "eventTaskAssignments": "Αναθέσεις",
"eventComments": "Σχόλια και αναφορές",
- "eventCommentsHint": "Περιλαμβάνει νέα σχόλια σε εργασίες που σας έχουν ανατεθεί και άμεσες @αναφορές.",
- "eventStatusChanges": "Αλλαγές κατάστασης εργασιών",
+ "eventCommentsHint": "Νέα σχόλια στις εργασίες σας και όποτε κάποιος σας αναφέρει με @.",
+ "eventStatusChanges": "Αλλαγές κατάστασης",
"eventDueDateReminders": "Υπενθυμίσεις ημερομηνίας λήξης",
"reminderLeadTimeLabel": "Υπενθύμιση πριν από την ημερομηνία λήξης",
- "reminderLeadTimeHint": "Από 1 ώρα έως 30 ημέρες πριν. Οι ειδοποιήσεις εκπρόθεσμων εργασιών αποστέλλονται ξεχωριστά.",
- "reminderLeadTimeUnitHours": "Ώρες",
- "reminderLeadTimeUnitDays": "Ημέρες",
"reminderLeadTimeInvalid": "Εισαγάγετε ακέραιο αριθμό μεταξύ 1 και {{max}}.",
"saveEventPreferences": "Αποθήκευση τύπων ειδοποιήσεων",
- "recipientHint": "Τα σχόλια και οι αλλαγές κατάστασης σας ειδοποιούν για εργασίες που σας έχουν ανατεθεί. Οι αναφορές ειδοποιούν το επιλεγμένο μέλος. Τα δικά σας σχόλια, οι αναφορές και οι αλλαγές κατάστασης δεν σας στέλνουν ειδοποιήσεις."
+ "channelNotConnected": "Μη συνδεδεμένο",
+ "channelOff": "Ανενεργό",
+ "channelsDescription": "Οι ειδοποιήσεις εμφανίζονται πάντα στο Kaneo. Συνδέστε ένα κανάλι για να τις λαμβάνετε και αλλού.",
+ "channelsTitle": "Κανάλια",
+ "configure": "Ρύθμιση",
+ "configureChannel": "Ρύθμιση {{channel}}",
+ "configureWorkspace": "Ρύθμιση ειδοποιήσεων για το {{workspaceName}}",
+ "connect": "Σύνδεση",
+ "connectChannel": "Σύνδεση {{channel}}",
+ "disconnectDescription": "Οι ειδοποιήσεις σταματούν να στέλνονται στο {{channel}} και οι αποθηκευμένες ρυθμίσεις του αφαιρούνται.",
+ "disconnecting": "Γίνεται αποσύνδεση...",
+ "disconnectTitle": "Αποσύνδεση του {{channel}};",
+ "done": "Τέλος",
+ "emailToggleLabel": "Αποστολή ειδοποιήσεων μέσω email",
+ "eventDueDateRemindersHint": "Πριν λήξει μια εργασία σας. Για τις εκπρόθεσμες εργασίες ειδοποιείστε ξεχωριστά.",
+ "eventStatusChangesHint": "Όταν μια εργασία σας μετακινείται σε άλλη στήλη.",
+ "eventTaskAssignmentsHint": "Όταν κάποιος σας αναθέτει μια εργασία.",
+ "loadFailed": "Δεν ήταν δυνατή η φόρτωση των ρυθμίσεων ειδοποιήσεων.",
+ "onlyInKaneo": "Μόνο στο Kaneo",
+ "optional": "Προαιρετικό",
+ "projectCount_one": "{{count}} έργο",
+ "projectCount_other": "{{count}} έργα",
+ "reminderLeadTimeUnitDaysBefore_one": "ημέρα πριν",
+ "reminderLeadTimeUnitDaysBefore_other": "ημέρες πριν",
+ "reminderLeadTimeUnitHoursBefore_one": "ώρα πριν",
+ "reminderLeadTimeUnitHoursBefore_other": "ώρες πριν",
+ "reminderLeadTimeUnitLabel": "Μονάδα υπενθύμισης",
+ "ruleActiveDescription": "Απενεργοποιήστε για παύση αυτού του χώρου εργασίας χωρίς να χαθούν οι ρυθμίσεις του.",
+ "ruleActiveLabel": "Αποστολή",
+ "ruleChannels": "Κανάλια",
+ "ruleDialogDescription": "Πού μπορούν να στέλνονται οι ειδοποιήσεις από αυτόν τον χώρο εργασίας.",
+ "ruleDialogTitle": "Ειδοποιήσεις για το {{workspaceName}}",
+ "ruleProjects": "Έργα",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Αποθήκευση",
+ "sendingDescription": "Απενεργοποιήστε για παύση αυτού του καναλιού χωρίς να χαθούν οι ρυθμίσεις του.",
+ "sendingLabel": "Αποστολή",
+ "setUp": "Ρύθμιση",
+ "setUpWorkspace": "Ρύθμιση ειδοποιήσεων για το {{workspaceName}}",
+ "someProjects": "Μόνο ορισμένα",
+ "statusOn": "Ενεργό",
+ "statusSending": "Ενεργό",
+ "stopping": "Γίνεται διακοπή...",
+ "stopSending": "Διακοπή αποστολής",
+ "stopSendingDescription": "Οι ειδοποιήσεις από αυτόν τον χώρο εργασίας θα εμφανίζονται μόνο στο Kaneo.",
+ "stopSendingTitle": "Διακοπή αποστολής από το {{workspaceName}};",
+ "workspacesDescription": "Επιλέξτε ποιοι χώροι εργασίας και ποια έργα μπορούν να χρησιμοποιούν τα κανάλια σας.",
+ "workspacesTitle": "Χώροι εργασίας"
},
"preferencesPage": {
"title": "Προτιμήσεις",
- "subtitle": "Προσαρμόστε την εμπειρία σας στο Kaneo.",
- "appearanceTitle": "Εμφάνιση",
- "appearanceSubtitle": "Οπτικές ρυθμίσεις και προτιμήσεις διάταξης.",
+ "subtitle": "Πώς φαίνεται και λειτουργεί το Kaneo για εσάς.",
+ "appearanceTitle": "Γενικά",
"theme": "Θέμα",
- "themeDescription": "Επιλέξτε το χρωματικό σχήμα που προτιμάτε",
"selectTheme": "Επιλέξτε θέμα",
"themeLight": "Ανοιχτό",
"themeDark": "Σκούρο",
- "themeSystem": "Σύστημα",
+ "themeSystem": "Όπως το σύστημα",
"language": "Γλώσσα",
- "languageDescription": "Επιλέξτε τη γλώσσα διεπαφής που προτιμάτε",
"selectLanguage": "Επιλέξτε γλώσσα",
"firstDayOfWeek": "Πρώτη ημέρα της εβδομάδας",
- "firstDayOfWeekDescription": "Επιλέξτε ποια ημέρα ξεκινούν τα ημερολόγια και οι εβδομάδες",
+ "firstDayOfWeekDescription": "Χρησιμοποιείται στα ημερολόγια και στους επιλογείς ημερομηνίας.",
"selectFirstDayOfWeek": "Επιλέξτε την πρώτη ημέρα",
"weekStartsOnSunday": "Κυριακή",
"weekStartsOnMonday": "Δευτέρα",
"weekStartsOnSaturday": "Σάββατο",
"defaultView": "Προεπιλεγμένη προβολή",
- "defaultViewDescription": "Επιλέξτε τον προτιμώμενο τρόπο προβολής εργασιών",
+ "defaultViewDescription": "Η προβολή με την οποία ανοίγουν τα έργα.",
"selectViewMode": "Επιλέξτε τρόπο προβολής",
"board": "Πίνακας",
"list": "Λίστα",
"gantt": "Gantt",
- "sidebarDefault": "Προεπιλογή πλαϊνής μπάρας",
- "sidebarDefaultDescription": "Διατήρηση της πλαϊνής μπάρας ανεπτυγμένης κατά την εκκίνηση",
- "displayOptions": "Επιλογές εμφάνισης",
- "displayOptionsDescription": "Επιλέξτε ποιες πληροφορίες θα εμφανίζονται στις προβολές εργασιών",
+ "sidebarDefault": "Πλαϊνή μπάρα πάντα ανοιχτή",
+ "sidebarDefaultDescription": "Εκκίνηση με την πλαϊνή μπάρα ανεπτυγμένη.",
+ "displayOptions": "Στοιχεία εργασιών",
+ "displayOptionsDescription": "Τι εμφανίζεται στις κάρτες και στις γραμμές των πινάκων και των λιστών σας.",
"taskNumbers": "Αριθμοί εργασιών",
- "taskNumbersDescription": "Εμφάνιση IDs και αριθμών εργασιών",
"assignees": "Ανατεθειμένοι",
- "assigneesDescription": "Εμφάνιση του ποιος έχει ανατεθεί στις εργασίες",
"dueDates": "Ημερομηνίες λήξης",
- "dueDatesDescription": "Εμφάνιση προθεσμιών εργασιών",
"labels": "Ετικέτες",
- "labelsDescription": "Εμφάνιση ετικετών και tags εργασιών",
"priority": "Προτεραιότητα",
- "priorityDescription": "Εμφάνιση ενδείξεων προτεραιότητας",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Εμφάνιση της εικόνας που ορίζει ένα έργο πίσω από τον πίνακά του.",
+ "advancedTitle": "Σύνθετα"
},
"developerPage": {
- "pageTitle": "Ρυθμίσεις προγραμματιστή",
- "title": "Ρυθμίσεις προγραμματιστή",
- "subtitle": "Διαχειριστείτε τα API keys και τους πόρους προγραμματιστή.",
- "apiKeysCardTitle": "Κλειδιά API",
- "apiKeysCardDescription": "Δημιουργήστε και διαχειριστείτε κλειδιά API για προγραμματιστική πρόσβαση στο Kaneo.",
- "createApiKey": "Δημιουργία κλειδιού API",
- "unnamedKey": "Κλειδί χωρίς όνομα"
+ "pageTitle": "Κλειδιά API",
+ "title": "Κλειδιά API",
+ "subtitle": "Επιτρέψτε σε scripts, στο CLI και σε clients MCP να χρησιμοποιούν το Kaneo εκ μέρους σας.",
+ "unnamedKey": "Χωρίς όνομα",
+ "emptyDescription": "Δημιουργήστε ένα κλειδί για να χρησιμοποιήσετε το CLI, έναν client MCP ή τα δικά σας scripts.",
+ "emptyTitle": "Δεν υπάρχουν ακόμη κλειδιά API",
+ "keysNote": "Ένα κλειδί μπορεί να κάνει ό,τι μπορείτε κι εσείς. Διαγράψτε τα κλειδιά που δεν χρησιμοποιείτε πλέον.",
+ "keysTitle": "Κλειδιά",
+ "loadError": "Δεν ήταν δυνατή η φόρτωση των κλειδιών API. Δοκιμάστε ξανά.",
+ "newKey": "Νέο κλειδί"
},
"apiKey": {
"createdModal": {
- "title": "Το κλειδί API δημιουργήθηκε",
- "description": "Το κλειδί API \"{{keyName}}\" δημιουργήθηκε με επιτυχία.",
- "yourApiKey": "Το κλειδί API σας",
+ "title": "Αντιγράψτε το κλειδί σας",
+ "description": "Δεν θα μπορείτε να το δείτε ξανά μόλις κλείσετε αυτό το παράθυρο.",
"copy": "Αντιγραφή",
"copied": "Αντιγράφηκε",
- "toastCopied": "Το κλειδί API αντιγράφηκε στο πρόχειρο",
- "alertTitle": "Επιτυχία! Το κλειδί API σας δημιουργήθηκε",
- "alertDescription": "Αντιγράψτε αυτό το κλειδί τώρα. Δεν θα μπορείτε να το δείτε ξανά.",
"done": "Ολοκλήρωση",
- "copyToContinue": "Αντιγράψτε το κλειδί για να συνεχίσετε"
+ "copyError": "Δεν ήταν δυνατή η αντιγραφή του κλειδιού. Επιλέξτε το και αντιγράψτε το χειροκίνητα."
},
"table": {
- "loading": "Φόρτωση κλειδιών API...",
- "empty": "Δεν υπάρχουν ακόμα κλειδιά API. Δημιουργήστε ένα για να ξεκινήσετε.",
- "columnName": "Όνομα",
- "columnKey": "Κλειδί",
- "columnCreated": "Δημιουργήθηκε",
- "columnExpires": "Λήγει",
- "columnActions": "Ενέργειες",
- "unnamedKey": "Κλειδί χωρίς όνομα",
- "expiredBadge": "Έληξε {{label}}",
- "deleteConfirmTitle": "Διαγραφή κλειδιού API;",
- "deleteConfirmDescription": "Αυτή η ενέργεια δεν μπορεί να αναιρεθεί. Αυτό θα διαγράψει οριστικά το {{name}}.",
- "deleteFallbackName": "αυτό το κλειδί API",
- "delete": "Διαγραφή",
- "deleting": "Γίνεται διαγραφή...",
- "deleteAria": "Διαγραφή {{name}}",
- "deleteAriaFallback": "Κλειδί API",
- "toastDeleted": "Το κλειδί API διαγράφηκε με επιτυχία",
- "toastDeleteError": "Αποτυχία διαγραφής κλειδιού API"
+ "deleteConfirmTitle": "Διαγραφή «{{name}}»;",
+ "deleteConfirmDescription": "Οτιδήποτε χρησιμοποιεί αυτό το κλειδί θα σταματήσει να λειτουργεί. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
+ "delete": "Διαγραφή κλειδιού",
+ "deleting": "Γίνεται διαγραφή…",
+ "toastDeleted": "Το κλειδί API διαγράφηκε",
+ "toastDeleteError": "Δεν ήταν δυνατή η διαγραφή του κλειδιού API"
},
"createDialog": {
- "title": "Δημιουργία κλειδιού API",
- "description": "Δημιουργήστε ένα νέο κλειδί API για πρόσβαση στο Kaneo API προγραμματιστικά.",
+ "title": "Νέο κλειδί API",
+ "description": "Το κλειδί μπορεί να κάνει ό,τι μπορείτε κι εσείς.",
"nameLabel": "Όνομα",
"namePlaceholder": "Το κλειδί API μου",
- "nameDescription": "Ένα περιγραφικό όνομα για αυτό το κλειδί API",
+ "nameDescription": "Για να θυμάστε πού χρησιμοποιείται.",
"expirationLabel": "Λήξη",
- "expirationPlaceholder": "Επιλέξτε λήξη",
- "expirationDescription": "Επιλέξτε για πόσο θα παραμείνει έγκυρο αυτό το κλειδί API. Η επιλογή Ποτέ θα δημιουργήσει ένα κλειδί χωρίς αυτόματη λήξη.",
"expiration1d": "1 ημέρα",
"expiration7d": "7 ημέρες",
"expiration30d": "30 ημέρες",
"expiration90d": "90 ημέρες",
"expirationNever": "Ποτέ",
- "create": "Δημιουργία",
- "creating": "Γίνεται δημιουργία...",
- "failedCreate": "Αποτυχία δημιουργίας κλειδιού API",
+ "create": "Δημιουργία κλειδιού",
+ "creating": "Γίνεται δημιουργία…",
+ "failedCreate": "Δεν ήταν δυνατή η δημιουργία του κλειδιού API",
"validation": {
- "nameRequired": "Το όνομα είναι υποχρεωτικό",
- "nameShort": "Το όνομα πρέπει να έχει τουλάχιστον 3 χαρακτήρες",
- "expirationRequired": "Η λήξη είναι υποχρεωτική"
+ "nameRequired": "Εισαγάγετε όνομα",
+ "nameShort": "Χρησιμοποιήστε τουλάχιστον 3 χαρακτήρες"
}
+ },
+ "row": {
+ "actions": "Ενέργειες για {{name}}",
+ "created": "Δημιουργήθηκε {{date}}",
+ "expired": "Έληξε {{date}}",
+ "expiredBadge": "Έληξε",
+ "expires": "Λήγει {{date}}",
+ "neverExpires": "Δεν λήγει ποτέ"
}
},
"workspaceGeneral": {
"pageTitle": "Γενικές ρυθμίσεις",
- "title": "Γενικές ρυθμίσεις",
- "subtitle": "Διαχειριστείτε το όνομα και την περιγραφή του χώρου εργασίας σας.",
- "workspaceInfoTitle": "Πληροφορίες χώρου εργασίας",
- "workspaceInfoSubtitle": "Ρυθμίστε τα στοιχεία και τις προτιμήσεις του χώρου εργασίας σας.",
- "nameLabel": "Όνομα χώρου εργασίας",
- "nameHint": "Το όνομα του χώρου εργασίας σας",
+ "title": "Γενικά",
+ "subtitle": "Το όνομα του {{name}} και ποιος είναι ο ιδιοκτήτης του.",
+ "workspaceInfoTitle": "Χώρος εργασίας",
+ "nameLabel": "Όνομα",
"namePlaceholder": "Εισαγάγετε όνομα χώρου εργασίας",
"descriptionLabel": "Περιγραφή",
- "descriptionHint": "Μια σύντομη περιγραφή του χώρου εργασίας σας",
- "descriptionPlaceholder": "Εισαγάγετε περιγραφή χώρου εργασίας",
+ "descriptionPlaceholder": "Σε τι δουλεύει η ομάδα σας;",
"dangerZone": "Ζώνη κινδύνου",
- "dangerZoneSubtitle": "Μη αναστρέψιμες και καταστροφικές ενέργειες.",
"deleteWorkspace": "Διαγραφή χώρου εργασίας",
- "deleteWorkspaceDescription": "Προγραμματισμός οριστικής διαγραφής του χώρου εργασίας",
+ "deleteWorkspaceDescription": "Διαγράφει οριστικά το {{name}}, τα έργα και τις εργασίες του.",
"deleteModalTitle": "Διαγραφή χώρου εργασίας;",
- "deleteModalDescription": "Αυτό θα διαγράψει οριστικά τον χώρο εργασίας \"{{name}}\" και όλα τα δεδομένα του. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
+ "deleteModalDescription": "Αυτό διαγράφει οριστικά το {{name}} και όλα τα έργα και τις εργασίες του. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
"deleteModalConfirm": "Διαγραφή χώρου εργασίας",
- "toastUpdated": "Ο χώρος εργασίας ενημερώθηκε με επιτυχία",
"toastUpdateError": "Αποτυχία ενημέρωσης χώρου εργασίας",
"toastDeleted": "Ο χώρος εργασίας διαγράφηκε με επιτυχία",
"toastDeleteError": "Αποτυχία διαγραφής χώρου εργασίας",
@@ -855,45 +845,41 @@
"toastSuccess": "Η ιδιοκτησία μεταβιβάστηκε",
"toastError": "Αποτυχία μεταβίβασης ιδιοκτησίας",
"title": "Μεταβίβαση ιδιοκτησίας",
- "subtitle": "Παραδώστε αυτόν τον χώρο εργασίας σε άλλο μέλος. Θα υποβιβαστείτε σε διαχειριστή και θα χάσετε τις δυνατότητες που έχει μόνο ο ιδιοκτήτης.",
"pickerLabel": "Νέος ιδιοκτήτης",
"noEligibleMembers": "Προσκαλέστε τουλάχιστον ένα ακόμα μέλος πριν μπορέσετε να μεταβιβάσετε την ιδιοκτησία.",
- "pickerHint": "Θα γίνει ο μοναδικός ιδιοκτήτης αυτού του χώρου εργασίας.",
+ "pickerHint": "Ο νέος ιδιοκτήτης αναλαμβάνει. Εσείς παραμένετε διαχειριστής.",
"pickerPlaceholder": "Επιλέξτε μέλος",
"button": "Μεταβίβαση",
"dialogTitle": "Μεταβίβαση ιδιοκτησίας;",
"dialogDescription": "Ο/Η {{name}} θα γίνει ο μοναδικός ιδιοκτήτης του {{workspace}}. Θα διατηρήσετε πρόσβαση διαχειριστή αλλά θα χάσετε τις δυνατότητες ιδιοκτήτη, όπως τη διαγραφή του χώρου εργασίας ή τη νέα μεταβίβασή του.",
"transferring": "Γίνεται μεταβίβαση…",
"confirm": "Μεταβίβαση ιδιοκτησίας"
- }
+ },
+ "ownershipSubtitle": "Αυτό το βλέπει μόνο ο ιδιοκτήτης.",
+ "ownershipTitle": "Ιδιοκτησία"
},
"projectGeneral": {
"pageTitle": "Ρυθμίσεις έργου",
- "title": "Γενικές ρυθμίσεις",
- "subtitle": "Διαχειριστείτε το όνομα, το κλειδί, το εικονίδιο και την περιγραφή του έργου σας.",
- "projectInfoTitle": "Πληροφορίες έργου",
- "projectInfoSubtitle": "Ρυθμίστε τα στοιχεία και τις προτιμήσεις του έργου σας.",
+ "title": "Γενικά",
+ "subtitle": "Το όνομα, το κλειδί και η εμφάνιση του {{name}}.",
+ "projectInfoTitle": "Έργο",
"iconLabel": "Εικονίδιο",
- "iconHint": "Εμφανίζεται στην πλαϊνή μπάρα και στις επιφάνειες του έργου.",
+ "iconHint": "Εμφανίζεται στην πλαϊνή μπάρα και στις λίστες έργων.",
"pickIconTitle": "Επιλογή εικονιδίου",
"searchIconsPlaceholder": "Αναζήτηση εικονιδίων...",
- "projectNameLabel": "Όνομα έργου",
- "projectNameHint": "Το όνομα του έργου σας",
- "projectNamePlaceholder": "Εισαγάγετε όνομα έργου",
+ "projectNameLabel": "Όνομα",
+ "projectNamePlaceholder": "Όνομα έργου",
"keyLabel": "Κλειδί",
- "keyHint": "Χρησιμοποιείται για IDs αιτημάτων (π.χ. {{slug}}-123)",
+ "keyHint": "Το πρόθεμα κάθε ID εργασίας, π.χ. {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Περιγραφή",
- "descriptionHint": "Μια σύντομη περιγραφή του έργου σας",
- "descriptionPlaceholder": "Εισαγάγετε περιγραφή έργου",
+ "descriptionPlaceholder": "Ποιος είναι ο σκοπός αυτού του έργου;",
"dangerZone": "Ζώνη κινδύνου",
- "dangerZoneSubtitle": "Μη αναστρέψιμες και καταστροφικές ενέργειες.",
"deleteProject": "Διαγραφή έργου",
- "deleteProjectDescription": "Προγραμματισμός οριστικής διαγραφής του έργου",
+ "deleteProjectDescription": "Διαγράφει οριστικά το {{name}} και όλες τις εργασίες του.",
"deleteModalTitle": "Διαγραφή έργου;",
- "deleteModalDescription": "Αυτό θα διαγράψει οριστικά το έργο \"{{name}}\" και όλα τα δεδομένα του. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
+ "deleteModalDescription": "Αυτό διαγράφει οριστικά το {{name}} και όλες τις εργασίες του. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
"deleteModalConfirm": "Διαγραφή έργου",
- "toastUpdated": "Το έργο ενημερώθηκε με επιτυχία",
"toastUpdateError": "Αποτυχία ενημέρωσης έργου",
"toastDeleted": "Το έργο διαγράφηκε με επιτυχία",
"toastDeleteError": "Αποτυχία διαγραφής έργου",
@@ -903,33 +889,35 @@
"keyMax": "Το κλειδί πρέπει να έχει το πολύ 8 χαρακτήρες",
"iconRequired": "Το εικονίδιο είναι υποχρεωτικό"
},
- "importExportTasks": "Εισαγωγή/Εξαγωγή",
- "importExportTasksDescription": "Εισαγωγή/Εξαγωγή Εργασιών",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Μια εικόνα πίσω από τον πίνακα. Κάθε χρήστης μπορεί να απενεργοποιήσει τις εικόνες φόντου.",
+ "backgroundUnavailable": "Οι μεταφορτώσεις εικόνων δεν έχουν ρυθμιστεί σε αυτήν την εγκατάσταση.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Αντικατάσταση",
+ "backgroundUpload": "Μεταφόρτωση",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Μετακίνηση έργου",
- "moveModalDescription": "Αυτό θα μετακινήσει το έργο \"{{name}}\" και όλες τις εργασίες του στο \"{{workspace}}\". Οι εργασίες που έχουν ανατεθεί σε άτομα που δεν είναι μέλη αυτού του χώρου εργασίας θα αποδεσμευτούν και οι συνδρομές ειδοποιήσεων για αυτό το έργο θα διαγραφούν.",
- "moveModalTitle": "Μετακίνηση έργου;",
- "moveProject": "Μετακίνηση σε χώρο εργασίας",
+ "moveProject": "Μετακίνηση σε άλλο χώρο εργασίας",
"moveProjectAction": "Μετακίνηση",
- "moveProjectDescription": "Μετακινήστε αυτό το έργο, μαζί με όλες τις εργασίες του, σε άλλο χώρο εργασίας.",
+ "moveProjectDescription": "Οι εργασίες, οι στήλες και οι ετικέτες μετακινούνται μαζί του.",
"moveProjectPlaceholder": "Επιλέξτε χώρο εργασίας",
"toastMoved": "Το έργο μετακινήθηκε με επιτυχία",
"toastMovedWithUnassigned": "Το έργο μετακινήθηκε με επιτυχία. Αφαιρέθηκε η ανάθεση από {{taskCount}} εργασίες.",
"toastMoveError": "Αποτυχία μετακίνησης του έργου",
- "moveTargetsError": "Δεν ήταν δυνατός ο έλεγχος των χώρων εργασίας στους οποίους μπορείτε να μετακινήσετε αυτό το έργο. Ανανεώστε τη σελίδα για να δοκιμάσετε ξανά."
+ "moveTargetsError": "Δεν ήταν δυνατός ο έλεγχος των χώρων εργασίας στους οποίους μπορείτε να μετακινήσετε αυτό το έργο. Ανανεώστε τη σελίδα για να δοκιμάσετε ξανά.",
+ "moveDialogDescription": "Οι εργασίες που έχουν ανατεθεί σε άτομα εκτός του νέου χώρου εργασίας μένουν χωρίς ανάθεση και οι συνδρομές ειδοποιήσεων για αυτό το έργο διαγράφονται.",
+ "moveDialogTitle": "Μετακίνηση σε άλλο χώρο εργασίας;",
+ "moveTargetLabel": "Χώρος εργασίας",
+ "moving": "Γίνεται μετακίνηση...",
+ "tasksTitle": "Εργασίες"
},
"projectIntegrations": {
- "pageTitle": "Ενσωματώσεις έργου",
- "title": "Ενσωματώσεις έργου",
- "subtitle": "Συνδέστε το έργο σας με εξωτερικά εργαλεία και υπηρεσίες για πιο ομαλή ροή εργασίας.",
+ "pageTitle": "Ενσωματώσεις",
+ "title": "Ενσωματώσεις",
+ "subtitle": "Συνδέστε αυτό το έργο με την υπηρεσία φιλοξενίας κώδικα και τη συνομιλία της ομάδας σας.",
"githubSectionTitle": "Ενσωμάτωση GitHub",
"githubSectionSubtitle": "Συγχρονίστε εργασίες με GitHub issues και ενεργοποιήστε αμφίδρομο συγχρονισμό.",
"giteaSectionTitle": "Ενσωμάτωση Gitea",
@@ -938,16 +926,16 @@
"telegramSectionSubtitle": "Στείλτε ενημερώσεις εργασιών έργου σε συνομιλία ή θέμα Telegram με bot.",
"discordSectionTitle": "Ενσωμάτωση Discord",
"discordSectionSubtitle": "Στείλτε ενημερώσεις εργασιών έργου σε κανάλι Discord μέσω webhook.",
- "genericWebhookSectionTitle": "Γενικά Webhooks",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Στείλτε γεγονότα εργασιών έργου σε οποιοδήποτε HTTP endpoint ως JSON.",
"slackSectionTitle": "Ενσωμάτωση Slack",
"slackSectionSubtitle": "Στείλτε ενημερώσεις εργασιών έργου σε κανάλι Slack μέσω εισερχόμενου webhook.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Συγχρονίστε εργασίες με το GitLab.com ή με μια αυτοδιαχειριζόμενη εγκατάσταση.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Φιλοξενία κώδικα",
- "chatTitle": "Συνομιλία & webhooks",
+ "chatTitle": "Συνομιλία και webhooks",
"statusConnected": "Συνδεδεμένο",
"statusPaused": "Σε παύση",
"connect": "Σύνδεση",
@@ -957,69 +945,59 @@
"projectVisibility": {
"pageTitle": "Ορατότητα έργου",
"title": "Ορατότητα",
- "subtitle": "Ελέγξτε ποιος μπορεί να δει και να έχει πρόσβαση στο έργο σας.",
- "sectionTitle": "Ορατότητα",
- "sectionSubtitle": "Ενεργοποιήστε τη δημόσια πρόσβαση και κοινοποιήστε το δημόσιο URL.",
- "publicAccess": "Δημόσια πρόσβαση",
- "publicAccessHint": "Επιτρέψτε σε οποιονδήποτε έχει το URL να δει αυτό το έργο",
+ "subtitle": "Επιλέξτε ποιος μπορεί να βλέπει το {{project}} εκτός {{workspace}}.",
+ "sectionTitle": "Πρόσβαση",
+ "publicAccess": "Δημόσιος σύνδεσμος",
+ "publicAccessHint": "Όποιος έχει τον σύνδεσμο μπορεί να δει τον πίνακα και τις εργασίες του. Δεν μπορεί να αλλάξει τίποτα.",
"publicUrl": "Δημόσιο URL",
- "publicUrlHint": "Κοινοποιήστε αυτόν τον σύνδεσμο αν το έργο είναι δημόσιο",
- "copy": "Αντιγραφή",
- "copiedToast": "Αντιγράφηκε",
+ "copy": "Αντιγραφή συνδέσμου",
"toastUpdated": "Η ορατότητα ενημερώθηκε",
- "toastUpdateError": "Αποτυχία ενημέρωσης ορατότητας"
+ "toastUpdateError": "Αποτυχία ενημέρωσης ορατότητας",
+ "always": "Πάντα",
+ "copied": "Αντιγράφηκε",
+ "copyError": "Δεν ήταν δυνατή η αντιγραφή του συνδέσμου",
+ "membersDescription": "Όλοι στον χώρο εργασίας, με ό,τι επιτρέπει ο ρόλος τους.",
+ "membersTitle": "Μέλη {{workspace}}",
+ "offNote": "Αν απενεργοποιήσετε τον δημόσιο σύνδεσμο, παύει να λειτουργεί αμέσως.",
+ "on": "Ενεργό",
+ "openPublicPage": "Άνοιγμα δημόσιας σελίδας",
+ "thisWorkspace": "αυτού του χώρου εργασίας"
},
"projectWorkflow": {
"pageTitle": "Ρυθμίσεις ροής εργασίας",
"title": "Ροή εργασίας",
- "subtitle": "Ρυθμίστε τις στήλες του πίνακα και τους κανόνες αυτοματοποίησης για αυτό το έργο.",
+ "subtitle": "Οι στήλες του πίνακά σας και τι μετακινεί τις εργασίες ανάμεσά τους.",
"columnsTitle": "Στήλες",
- "columnsDescription": "Διαχειριστείτε τις στήλες που εμφανίζονται στον πίνακά σας. Σύρετε για αναδιάταξη. Ενεργοποιήστε τη \"Στήλη ολοκλήρωσης\" για στάδια που αντιπροσωπεύουν ολοκληρωμένη εργασία.",
- "automationTitle": "Κανόνες αυτοματοποίησης",
- "automationDescription": "Αντιστοιχίστε γεγονότα ενσωμάτωσης σε στήλες. Όταν συμβαίνει ένα γεγονός, η συνδεδεμένη εργασία μετακινείται στην καθορισμένη στήλη.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Σύρετε για αναδιάταξη. Οι εργασίες σε στήλη ολοκλήρωσης θεωρούνται ολοκληρωμένες.",
+ "automationTitle": "Αυτοματισμοί",
+ "automationDescription": "Μετακινήστε μια συνδεδεμένη εργασία όταν συμβαίνει κάτι σε ένα συνδεδεμένο αποθετήριο."
},
"projectSwitcher": {
"selectProject": "Επιλέξτε έργο",
"noProjects": "Δεν υπάρχουν έργα"
},
"columnEditor": {
- "toastCreated": "Η στήλη δημιουργήθηκε",
"toastCreateError": "Αποτυχία δημιουργίας στήλης",
- "toastRenamed": "Η στήλη μετονομάστηκε",
"toastRenameError": "Αποτυχία ενημέρωσης στήλης",
- "toastFinalOn": "Η στήλη επισημάνθηκε ως τελική",
- "toastFinalOff": "Η στήλη αποεπισημάνθηκε ως τελική",
"toastUpdateError": "Αποτυχία ενημέρωσης στήλης",
- "toastIconUpdated": "Το εικονίδιο στήλης ενημερώθηκε",
- "toastDeleted": "Η στήλη διαγράφηκε",
"toastDeleteError": "Αποτυχία διαγραφής στήλης",
- "loading": "Φόρτωση στηλών...",
"pickIconTitle": "Επιλογή εικονιδίου στήλης",
"searchIconsPlaceholder": "Αναζήτηση εικονιδίων...",
- "doneColumnTooltip": "Αντιμετώπιση αυτής ως στήλη ολοκλήρωσης",
- "doneColumn": "Στήλη ολοκλήρωσης",
"markDoneAria": "Επισήμανση του {{name}} ως στήλη ολοκλήρωσης",
- "on": "Ενεργό",
- "off": "Ανενεργό",
- "newColumnPlaceholder": "Όνομα νέας στήλης...",
- "add": "Προσθήκη",
+ "newColumnPlaceholder": "Όνομα στήλης",
"deleteAria": "Διαγραφή στήλης {{name}}",
- "renameAria": "Μετονομασία στήλης {{name}}"
+ "renameAria": "Μετονομασία στήλης {{name}}",
+ "addColumn": "Προσθήκη στήλης",
+ "columnHeader": "Στήλη",
+ "deleteConfirm": "Διαγραφή στήλης",
+ "deleteDescription": "Οι στήλες που έχουν ακόμη εργασίες δεν μπορούν να διαγραφούν. Μετακινήστε πρώτα αυτές τις εργασίες.",
+ "deleteTitle": "Διαγραφή «{{name}}»;",
+ "doneHeader": "Ολοκλήρωση",
+ "dragAria": "Αναδιάταξη {{name}}",
+ "reorderError": "Αποτυχία αναδιάταξης στηλών"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Ο κάτοχος του αποθετηρίου είναι υποχρεωτικός",
- "ownerInvalid": "Μη έγκυρη μορφή κατόχου αποθετηρίου",
- "nameRequired": "Το όνομα του αποθετηρίου είναι υποχρεωτικό",
- "nameInvalid": "Μη έγκυρη μορφή ονόματος αποθετηρίου"
- },
"toast": {
- "installedOk": "Η εφαρμογή GitHub έχει εγκατασταθεί σωστά!",
- "installedMissingPerms": "Η εφαρμογή GitHub είναι εγκατεστημένη αλλά λείπουν τα απαιτούμενα δικαιώματα",
- "needsInstallOnRepo": "Η εφαρμογή GitHub πρέπει να εγκατασταθεί σε αυτό το αποθετήριο",
- "repoNotFound": "Το αποθετήριο δεν βρέθηκε ή δεν είναι προσβάσιμο",
"verifyError": "Αποτυχία επαλήθευσης εγκατάστασης GitHub",
"installAppFirst": "Παρακαλώ εγκαταστήστε πρώτα την εφαρμογή GitHub σε αυτό το αποθετήριο",
"missingPermsDetail": "Λείπουν τα απαιτούμενα δικαιώματα από την εφαρμογή GitHub: {{list}}. Παρακαλώ ενημερώστε τα δικαιώματα της εφαρμογής.",
@@ -1033,64 +1011,36 @@
"commentOnDisabled": "Τα σχόλια με σύνδεσμο εργασίας στα νέα issues είναι απενεργοποιημένα",
"settingsUpdateError": "Αποτυχία ενημέρωσης ενσωμάτωσης GitHub"
},
- "connectionStatus": "Κατάσταση σύνδεσης",
- "connectedActive": "Το αποθετήριο είναι συνδεδεμένο και ενεργό",
- "notConnectedHint": "Δεν έχει συνδεθεί αποθετήριο",
- "badgeConnected": "Συνδεδεμένο",
- "badgeNotConnected": "Μη συνδεδεμένο",
- "repository": "Αποθετήριο",
- "repositoryHint": "Συνδεδεμένο αποθετήριο GitHub",
- "commentTaskLinkTitle": "Σχολιασμός με σύνδεσμο Kaneo σε νέα issues",
- "commentTaskLinkHint": "Όταν είναι ενεργό, το Kaneo δημοσιεύει σχόλιο σε κάθε νέο GitHub issue με σύνδεσμο προς την εργασία.",
- "appStatusTitle": "Κατάσταση εφαρμογής GitHub",
- "appStatusHint": "Κατάσταση εγκατάστασης και δικαιωμάτων",
- "statusProperlyConfigured": "Σωστά ρυθμισμένο",
- "statusMissingPermissions": "Λείπουν δικαιώματα",
- "statusNotInstalled": "Δεν έχει εγκατασταθεί",
- "ownerLabel": "Κάτοχος αποθετηρίου",
- "ownerHint": "Όνομα χρήστη ή οργανισμός GitHub",
- "ownerPlaceholder": "π.χ. octocat",
- "repoNameLabel": "Όνομα αποθετηρίου",
- "repoNameHint": "Το όνομα του αποθετηρίου",
- "repoNamePlaceholder": "π.χ. my-project",
- "actionsTitle": "Ενέργειες",
- "actionsHint": "Διαχειριστείτε τη σύνδεση του αποθετηρίου σας",
- "browse": "Περιήγηση",
- "verify": "Επαλήθευση",
- "update": "Ενημέρωση",
- "connect": "Σύνδεση",
- "disconnect": "Αποσύνδεση",
- "missingPermissionsLabel": "Δικαιώματα που λείπουν:",
+ "commentTaskLinkTitle": "Σχόλιο με σύνδεσμο Kaneo σε νέα issues",
+ "commentTaskLinkHint": "Για να μπορούν όσοι είναι στο GitHub να μεταβαίνουν στην εργασία.",
"updatePermissions": "Ενημέρωση δικαιωμάτων",
"installGithubApp": "Εγκατάσταση εφαρμογής GitHub",
- "importSectionTitle": "Εισαγωγή GitHub Issues",
- "importSectionHint": "Εισαγάγετε υπάρχοντα issues από το αποθετήριο GitHub ως εργασίες",
- "importing": "Γίνεται εισαγωγή...",
- "importIssues": "Εισαγωγή issues",
- "importDisabledHint": "Ολοκληρώστε τη ρύθμιση του αποθετηρίου παραπάνω για να ενεργοποιήσετε την εισαγωγή",
+ "importSectionHint": "Εισαγάγετε τα ανοιχτά issues του αποθετηρίου ως εργασίες.",
+ "importDisabledHint": "Συνδέστε ξανά το αποθετήριο για να ενεργοποιήσετε την εισαγωγή.",
"accountVerificationHint": "Συνδέστε τον λογαριασμό σας στο GitHub για να επαληθεύσετε ότι διαχειρίζεστε αυτό το αποθετήριο.",
"enableGithubSignInHint": "Ζητήστε από τον διαχειριστή της εγκατάστασής σας να ενεργοποιήσει τη σύνδεση μέσω GitHub.",
"reverifyHint": "Συνδέστε ξανά αυτό το αποθετήριο για να επαληθεύσετε την πρόσβαση και να συνεχίσετε τον συγχρονισμό.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Τα issues και τα pull requests του θα συνδέονται με εργασίες εδώ.",
+ "linkAccountDescription": "Επιβεβαιώνει ότι μπορείτε να διαχειριστείτε το αποθετήριο.",
+ "linkAccountTitle": "Σύνδεση του λογαριασμού σας GitHub",
+ "linked": "Συνδέθηκε",
+ "linkGithub": "Σύνδεση GitHub",
+ "verifyMissingPermissions": "Λείπουν δικαιώματα από την εφαρμογή Kaneo GitHub: {{list}}.",
+ "verifyNotInstalled": "Η εφαρμογή Kaneo GitHub δεν είναι εγκατεστημένη σε αυτό το αποθετήριο.",
+ "verifyReady": "Η εφαρμογή Kaneo GitHub είναι εγκατεστημένη με τα δικαιώματα που χρειάζεται.",
+ "workflowHint": "Μετακινήστε εργασίες όταν ανοίγουν ή συγχωνεύονται pull requests στη",
+ "workflowLink": "Ροή εργασίας"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Το βασικό URL του Gitea είναι υποχρεωτικό",
- "baseUrlInvalid": "Εισαγάγετε έγκυρο URL (π.χ. https://gitea.example.com)",
- "ownerRequired": "Ο κάτοχος του αποθετηρίου είναι υποχρεωτικός",
- "ownerInvalid": "Μη έγκυρη μορφή κατόχου αποθετηρίου",
- "nameRequired": "Το όνομα του αποθετηρίου είναι υποχρεωτικό",
- "nameInvalid": "Μη έγκυρη μορφή ονόματος αποθετηρίου"
+ "baseUrlInvalid": "Εισαγάγετε έγκυρο URL (π.χ. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Το token Gitea έχει πρόσβαση σε αυτό το αποθετήριο",
- "verifyWarning": "Ελέγξτε τα δικαιώματα του token ή την πρόσβαση στο αποθετήριο",
- "repoNotFound": "Το αποθετήριο δεν βρέθηκε ή δεν είναι προσβάσιμο",
"verifyError": "Αποτυχία επαλήθευσης πρόσβασης Gitea",
- "tokenRequired": "Το προσωπικό token πρόσβασης είναι υποχρεωτικό",
- "tokenRequiredVerify": "Εισαγάγετε token για επαλήθευση",
"verifyFirst": "Η επαλήθευση πρόσβασης απέτυχε. Ελέγξτε το URL, το token και το αποθετήριο",
"updated": "Η ενσωμάτωση Gitea αποθηκεύτηκε",
"updateError": "Αποτυχία αποθήκευσης ενσωμάτωσης Gitea",
@@ -1100,78 +1050,25 @@
"importError": "Αποτυχία εισαγωγής issues",
"commentOnEnabled": "Το Kaneo θα δημοσιεύει σχόλιο με σύνδεσμο εργασίας στα νέα issues",
"commentOnDisabled": "Τα σχόλια με σύνδεσμο εργασίας στα νέα issues είναι απενεργοποιημένα",
- "settingsUpdateError": "Αποτυχία ενημέρωσης ενσωμάτωσης Gitea",
- "secretCopied": "Copied",
- "unableToCopySecret": "Δεν ήταν δυνατή η αντιγραφή του μυστικού",
- "notGiteaInstance": "Η διεύθυνση URL δεν οδηγεί σε παρουσία Gitea",
- "redirected": "Η διεύθυνση URL του Gitea ανακατευθύνθηκε (συνήθως σε HTTPS). Χρησιμοποιήστε απευθείας την τελική διεύθυνση."
- },
- "webhookShow": "Show",
- "webhookHide": "Hide",
- "webhookCopy": "Copy",
- "connectionStatus": "Κατάσταση σύνδεσης",
- "connectedActive": "Το αποθετήριο είναι συνδεδεμένο και ενεργό",
- "notConnectedHint": "Δεν έχει συνδεθεί αποθετήριο Gitea",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Μη συνδεδεμένο",
- "repository": "Repository",
- "repositoryHint": "Συνδεδεμένο αποθετήριο Gitea",
- "commentTaskLinkTitle": "Σχολιασμός με σύνδεσμο Kaneo σε νέα issues",
- "commentTaskLinkHint": "Όταν είναι ενεργό, το Kaneo δημοσιεύει σχόλιο σε κάθε νέο issue με σύνδεσμο προς την εργασία.",
- "webhookTitle": "Webhook",
- "webhookHint": "Στο αποθετήριό σας στο Gitea, προσθέστε ένα webhook με αυτό το URL και το μυστικό. Ενεργοποιήστε push, pull request, issues, σχόλια issues και create (για ετικέτες).",
- "webhookSecretLabel": "Μυστικό (πρέπει να ταιριάζει με το μυστικό του webhook στο Gitea)",
+ "settingsUpdateError": "Αποτυχία ενημέρωσης ενσωμάτωσης Gitea"
+ },
+ "commentTaskLinkTitle": "Σχόλιο με σύνδεσμο Kaneo σε νέα issues",
+ "commentTaskLinkHint": "Για να μπορούν όσοι είναι στο Gitea να μεταβαίνουν στην εργασία.",
+ "webhookHint": "Προσθέστε αυτό το webhook στις ρυθμίσεις του αποθετηρίου, ώστε οι αλλαγές να επιστρέφουν στο Kaneo.",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "Το ριζικό URL της εγκατάστασης Gitea σας",
"tokenLabel": "Προσωπικό token πρόσβασης",
- "tokenHint": "Token με πρόσβαση σε αποθετήρια και issues",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Επικολλήστε νέο token για αντικατάσταση",
- "currentToken": "stored",
- "ownerLabel": "Owner",
- "ownerHint": "Όνομα χρήστη ή οργανισμού",
- "repoNameLabel": "Όνομα αποθετηρίου",
- "repoNameHint": "Μόνο το όνομα του αποθετηρίου (χωρίς κάτοχο)",
- "actionsTitle": "Actions",
- "actionsHint": "Επαληθεύστε την πρόσβαση και συνδεθείτε",
- "browse": "Browse",
- "verify": "Verify",
- "update": "Update",
- "connect": "Connect",
- "disconnect": "Disconnect",
- "importSectionTitle": "Εισαγωγή issues Gitea",
- "importSectionHint": "Εισαγάγετε ανοιχτά issues και pull requests από το αποθετήριο",
- "importing": "Importing…",
- "importIssues": "Εισαγωγή issues",
- "importDisabledHint": "Επαληθεύστε το αποθετήριο παραπάνω για να ενεργοποιήσετε την εισαγωγή",
- "browseModalTitle": "Τα αποθετήριά σας",
- "browseModalHint": "Αποθετήρια στα οποία έχει πρόσβαση το token σας",
- "searchRepos": "Search…",
- "browseNeedsCredentials": "Εισαγάγετε URL και token Gitea για περιήγηση",
- "loadingRepos": "Φόρτωση αποθετηρίων…",
- "retry": "Retry"
+ "importSectionHint": "Εισαγάγετε ανοιχτά issues και pull requests ως εργασίες.",
+ "importDisabledHint": "Η εισαγωγή απαιτεί επαληθευμένη πρόσβαση. Ελέγξτε την κατάσταση του token παραπάνω.",
+ "browseModalHint": "Αποθετήρια στα οποία έχει πρόσβαση το token σας.",
+ "browseNeedsCredentials": "Εισαγάγετε το URL του Gitea και ένα token για περιήγηση.",
+ "browseEmpty": "Αυτό το token δεν έχει πρόσβαση σε κανένα αποθετήριο.",
+ "chooseRepositoryDescription": "Πληκτρολογήστε owner/name ή επιλέξτε ένα από τη λίστα.",
+ "webhookEvents": "Ενεργοποιήστε τα γεγονότα push, pull request, issue, issue comment και create."
},
"slackIntegration": {
- "channelHint": "Προαιρετική ετικέτα για τη δική σας αναφορά. Το Slack ελέγχει το πραγματικό κανάλι προορισμού από τη ρύθμιση του webhook.",
- "channelLabel": "Όνομα καναλιού",
- "channelPlaceholder": "#team-updates",
"connect": "Σύνδεση Slack",
- "connected": "Συνδεδεμένο",
- "connectionHint": "Επικολλήστε ένα URL εισερχόμενου webhook του Slack και επιλέξτε ποια γεγονότα εργασιών θα δημοσιεύονται.",
- "connectionTitle": "Σύνδεση webhook Slack",
- "disconnect": "Αποσύνδεση",
- "events": {
- "taskCommentCreated": "Νέα σχόλια",
- "taskCreated": "Νέες εργασίες",
- "taskDescriptionChanged": "Αλλαγές περιγραφής",
- "taskPriorityChanged": "Αλλαγές προτεραιότητας",
- "taskStatusChanged": "Αλλαγές κατάστασης",
- "taskTitleChanged": "Αλλαγές τίτλου"
- },
- "eventsHint": "Επιλέξτε ποιες αλλαγές έργου θα δημοσιεύονται στο Slack.",
- "eventsTitle": "Ειδοποιήσεις γεγονότων",
- "paused": "Σε παύση",
- "saveChanges": "Αποθήκευση αλλαγών",
"toast": {
"disabled": "Οι ειδοποιήσεις Slack τέθηκαν σε παύση",
"enabled": "Οι ειδοποιήσεις Slack ενεργοποιήθηκαν",
@@ -1185,31 +1082,11 @@
"validation": {
"webhookInvalid": "Εισαγάγετε ένα έγκυρο URL webhook Slack"
},
- "webhookHint": "Δημιουργήστε ένα Incoming Webhook στο Slack και επικολλήστε εδώ το παραγόμενο URL.",
- "webhookLabel": "URL εισερχόμενου webhook",
+ "webhookHint": "Δημιουργήστε ένα εισερχόμενο webhook στο Slack και επικολλήστε το εδώ.",
"webhookPlaceholder": "https://hooks.slack.com/services/..."
},
"discordIntegration": {
- "channelHint": "Προαιρετική ετικέτα για τη δική σας αναφορά. Το Discord ελέγχει το πραγματικό κανάλι προορισμού από τη ρύθμιση του webhook.",
- "channelLabel": "Όνομα καναλιού",
- "channelPlaceholder": "#team-updates",
"connect": "Σύνδεση Discord",
- "connected": "Συνδεδεμένο",
- "connectionHint": "Επικολλήστε ένα URL webhook του Discord και επιλέξτε ποια γεγονότα εργασιών θα δημοσιεύονται.",
- "connectionTitle": "Σύνδεση webhook Discord",
- "disconnect": "Αποσύνδεση",
- "events": {
- "taskCommentCreated": "Νέα σχόλια",
- "taskCreated": "Νέες εργασίες",
- "taskDescriptionChanged": "Αλλαγές περιγραφής",
- "taskPriorityChanged": "Αλλαγές προτεραιότητας",
- "taskStatusChanged": "Αλλαγές κατάστασης",
- "taskTitleChanged": "Αλλαγές τίτλου"
- },
- "eventsHint": "Επιλέξτε ποιες αλλαγές έργου θα δημοσιεύονται στο Discord.",
- "eventsTitle": "Ειδοποιήσεις γεγονότων",
- "paused": "Σε παύση",
- "saveChanges": "Αποθήκευση αλλαγών",
"toast": {
"disabled": "Οι ειδοποιήσεις Discord τέθηκαν σε παύση",
"enabled": "Οι ειδοποιήσεις Discord ενεργοποιήθηκαν",
@@ -1223,38 +1100,30 @@
"validation": {
"webhookInvalid": "Εισαγάγετε ένα έγκυρο URL webhook Discord"
},
- "webhookHint": "Δημιουργήστε ένα webhook καναλιού Discord και επικολλήστε εδώ το παραγόμενο URL.",
- "webhookLabel": "URL webhook",
+ "webhookHint": "Δημιουργήστε ένα webhook καναλιού στο Discord και επικολλήστε το εδώ.",
"webhookPlaceholder": "https://discord.com/api/webhooks/..."
},
"genericWebhookIntegration": {
"connect": "Σύνδεση webhook",
- "connected": "Συνδεδεμένο",
- "connectionHint": "Στείλτε γεγονότα εργασιών στο δικό σας endpoint ως JSON. Περιλαμβάνεται υπογεγραμμένη κεφαλίδα X-Kaneo-Signature όταν έχει ρυθμιστεί μυστικό.",
- "connectionTitle": "Σύνδεση εξερχόμενου webhook",
- "disconnect": "Αποσύνδεση",
"events": {
"taskAssigneeChanged": "Αλλαγή ανάθεσης",
- "taskCommentCreated": "Νέα σχόλια",
- "taskCreated": "Νέες εργασίες",
+ "taskCommentCreated": "Νέο σχόλιο",
+ "taskCreated": "Δημιουργία εργασίας",
"taskDeleted": "Διαγραφή εργασίας",
- "taskDescriptionChanged": "Αλλαγές περιγραφής",
+ "taskDescriptionChanged": "Αλλαγή περιγραφής",
"taskDueDateChanged": "Αλλαγή ημερομηνίας λήξης",
"taskMoved": "Μετακίνηση εργασίας",
- "taskPriorityChanged": "Αλλαγές προτεραιότητας",
- "taskStatusChanged": "Αλλαγές κατάστασης",
- "taskTitleChanged": "Αλλαγές τίτλου",
+ "taskPriorityChanged": "Αλλαγή προτεραιότητας",
+ "taskStatusChanged": "Αλλαγή κατάστασης",
+ "taskTitleChanged": "Αλλαγή τίτλου",
"taskUnassigned": "Αφαίρεση ανάθεσης",
- "dueDateReminder": "Υπενθυμίσεις ημερομηνίας λήξης"
+ "dueDateReminder": "Υπενθύμιση ημερομηνίας λήξης"
},
- "eventsHint": "Επιλέξτε ποιες αλλαγές έργου θα ενεργοποιούν εξερχόμενα webhooks.",
- "eventsTitle": "Ειδοποιήσεις γεγονότων",
- "paused": "Σε παύση",
- "saveChanges": "Αποθήκευση αλλαγών",
- "secretHint": "Προαιρετικό. Αν δοθεί, το Kaneo υπογράφει το σώμα του αιτήματος και στέλνει το hex digest στην κεφαλίδα X-Kaneo-Signature.",
- "secretHintConfigured": "Έχει ήδη ρυθμιστεί ένα μυστικό υπογραφής ({{secret}}). Εισαγάγετε ένα νέο για να το αντικαταστήσετε.",
+ "eventsTitle": "Αποστολή όταν",
+ "secretHint": "Το Kaneo υπογράφει κάθε αίτημα με αυτό και στέλνει το digest στην κεφαλίδα X-Kaneo-Signature.",
+ "secretHintConfigured": "Τρέχον μυστικό: {{secret}}. Επικολλήστε νέο για να το αντικαταστήσετε.",
"secretLabel": "Μυστικό υπογραφής",
- "secretPlaceholder": "Προαιρετικό κοινόχρηστο μυστικό",
+ "secretPlaceholder": "Κοινόχρηστο μυστικό",
"toast": {
"disabled": "Οι ειδοποιήσεις γενικού webhook τέθηκαν σε παύση",
"enabled": "Οι ειδοποιήσεις γενικού webhook ενεργοποιήθηκαν",
@@ -1265,18 +1134,24 @@
"updateError": "Αποτυχία ενημέρωσης της ενσωμάτωσης γενικού webhook"
},
"validation": {
- "webhookInvalid": "Εισαγάγετε ένα έγκυρο URL webhook"
+ "webhookInvalid": "Εισαγάγετε ένα έγκυρο URL webhook",
+ "leadTimeRange": "Επιλέξτε χρόνο μεταξύ 5 λεπτών και 720 ωρών."
},
"webhookHint": "Το Kaneo στέλνει αιτήματα POST με JSON payload για κάθε ενεργοποιημένο γεγονός.",
"webhookLabel": "URL endpoint",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
- "reminderLeadTimeLabel": "Αποστολή του webhook τόσες ώρες πριν από τη λήξη"
+ "reminderLeadTimeLabel": "Ώρες πριν από τη λήξη μιας εργασίας",
+ "activeTitle": "Αποστολή γεγονότων",
+ "disconnectDescription": "Το Kaneo σταματά να στέλνει γεγονότα και αφαιρεί το αποθηκευμένο endpoint και το μυστικό.",
+ "disconnectTitle": "Αποσύνδεση webhook;",
+ "reminderLeadTimeAfter": "ώρες πριν από τη λήξη μιας εργασίας",
+ "reminderLeadTimeBefore": "Αποστολή υπενθυμίσεων"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Εισαγάγετε έγκυρο token bot Telegram",
"chatIdRequired": "Το αναγνωριστικό συνομιλίας είναι υποχρεωτικό",
- "threadIdInvalid": "Εισαγάγετε έγκυρο αναγνωριστικό θέματος Telegram"
+ "threadIdInvalid": "Εισαγάγετε έγκυρο αναγνωριστικό θέματος"
},
"toast": {
"saved": "Η ενσωμάτωση Telegram αποθηκεύτηκε με επιτυχία",
@@ -1287,55 +1162,38 @@
"removed": "Η ενσωμάτωση Telegram αφαιρέθηκε με επιτυχία",
"removeError": "Αποτυχία αφαίρεσης της ενσωμάτωσης Telegram"
},
- "connectionTitle": "Σύνδεση bot Telegram",
- "connectionHint": "Χρησιμοποιήστε token bot Telegram και αναγνωριστικό συνομιλίας για να στέλνετε ενημερώσεις έργου σε συνομιλία ή θέμα.",
- "connected": "Συνδεδεμένο",
- "paused": "Σε παύση",
"botTokenLabel": "Token bot",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Δημιουργήστε bot με το BotFather και επικολλήστε εδώ το token του.",
- "botTokenHintConfigured": "Ένα token bot έχει ήδη ρυθμιστεί ({{token}}). Εισαγάγετε νέο για να το αντικαταστήσετε.",
+ "botTokenHintConfigured": "Τρέχον token: {{token}}",
"chatIdLabel": "Αναγνωριστικό συνομιλίας",
"chatIdPlaceholder": "-1001234567890 ή @team_updates",
- "chatIdHint": "Εισαγάγετε το αναγνωριστικό συνομιλίας Telegram ή το όνομα καναλιού όπου θα δημοσιεύονται οι ενημερώσεις.",
"threadIdLabel": "Αναγνωριστικό θέματος",
- "threadIdPlaceholder": "Προαιρετικό αναγνωριστικό θέματος",
- "threadIdHint": "Προαιρετικό. Χρησιμοποιήστε το για θέματα forum μέσα σε ομάδες Telegram.",
- "chatLabelLabel": "Ετικέτα συνομιλίας",
+ "threadIdPlaceholder": "Για θέματα φόρουμ",
+ "chatLabelLabel": "Όνομα συνομιλίας",
"chatLabelPlaceholder": "Ενημερώσεις ομάδας μηχανικών",
- "chatLabelHint": "Προαιρετική ετικέτα για δική σας αναφορά μέσα στο Kaneo.",
- "eventsTitle": "Ειδοποιήσεις συμβάντων",
- "eventsHint": "Επιλέξτε ποιες αλλαγές έργου θα δημοσιεύονται στο Telegram.",
- "events": {
- "taskCreated": "Νέες εργασίες",
- "taskStatusChanged": "Αλλαγές κατάστασης",
- "taskPriorityChanged": "Αλλαγές προτεραιότητας",
- "taskTitleChanged": "Αλλαγές τίτλου",
- "taskDescriptionChanged": "Αλλαγές περιγραφής",
- "taskCommentCreated": "Νέα σχόλια"
- },
"connect": "Σύνδεση Telegram",
- "saveChanges": "Αποθήκευση αλλαγών",
- "disconnect": "Αποσύνδεση"
+ "botTokenSavedPlaceholder": "Αποθηκεύτηκε. Επικολλήστε νέο token για να το αντικαταστήσετε.",
+ "loadError": "Δεν ήταν δυνατή η φόρτωση των ρυθμίσεων Telegram."
},
"repositoryBrowser": {
- "title": "Επιλογή αποθετηρίου",
- "description": "Επιλέξτε ένα αποθετήριο στο οποίο είναι εγκατεστημένη η εφαρμογή GitHub για να ενεργοποιήσετε τον συγχρονισμό issues.",
- "searchPlaceholder": "Αναζήτηση αποθετηρίων...",
- "loadError": "Αποτυχία φόρτωσης αποθετηρίων",
- "tryAgain": "Δοκιμάστε ξανά",
- "emptyTitle": "Δεν βρέθηκαν αποθετήρια",
+ "title": "Επιλέξτε αποθετήριο",
+ "description": "Αποθετήρια στα οποία έχει πρόσβαση η εφαρμογή Kaneo GitHub.",
+ "searchPlaceholder": "Αναζήτηση αποθετηρίων",
+ "loadError": "Δεν ήταν δυνατή η φόρτωση των αποθετηρίων.",
+ "tryAgain": "Επανάληψη",
+ "emptyTitle": "Δεν υπάρχουν ακόμη αποθετήρια",
"emptyHint": "Εγκαταστήστε την εφαρμογή GitHub στα αποθετήριά σας για να τα δείτε εδώ.",
"installGithubApp": "Εγκατάσταση εφαρμογής GitHub",
- "noSearchMatchTitle": "Κανένα αποθετήριο δεν ταιριάζει με την αναζήτησή σας",
- "noSearchMatchHint": "Δοκιμάστε να προσαρμόσετε τους όρους αναζήτησης ή καθαρίστε την αναζήτηση για να δείτε όλα τα αποθετήρια.",
- "footerSummary": "{{repoCount}} αποθετήρια σε {{installationCount}} εγκαταστάσεις",
- "manageInstallations": "Διαχείριση εγκαταστάσεων",
- "updatedPrefix": "Ενημερώθηκε",
- "relativeJustNow": "μόλις τώρα",
- "relativeMinutesAgo": "πριν από {{count}}λ",
- "relativeHoursAgo": "πριν από {{count}}ω",
- "relativeDaysAgo": "πριν από {{count}}η"
+ "noSearchMatchTitle": "Κανένα αποθετήριο δεν ταιριάζει",
+ "noSearchMatchHint": "Δοκιμάστε άλλο όνομα ή καθαρίστε την αναζήτηση.",
+ "emptyPageHint": "Κανένα σε αυτήν τη σελίδα. Φορτώστε περισσότερα για να συνεχίσετε την αναζήτηση.",
+ "loadMore": "Φόρτωση περισσότερων",
+ "manageAccess": "Διαχείριση πρόσβασης εφαρμογής",
+ "missingOne": "Λείπει κάποιο;",
+ "searching": "Γίνεται αναζήτηση…",
+ "updated": "Ενημερώθηκε {{time}}",
+ "useRepository": "Χρήση αποθετηρίου"
},
"tasksImportExport": {
"exportTasks": "Εξαγωγή εργασιών",
@@ -1354,27 +1212,26 @@
"importError": "Αποτυχία εισαγωγής εργασιών",
"invalidFormat": "Μη έγκυρη μορφή αρχείου εισαγωγής",
"noFileDropped": "Δεν αποθέσατε κανένα αρχείο",
- "notJsonFile": "Παρακαλώ ανεβάστε αρχείο JSON"
+ "notJsonFile": "Παρακαλώ ανεβάστε αρχείο JSON",
+ "export": "Εξαγωγή",
+ "exportDescription": "Κατεβάστε όλες τις εργασίες αυτού του έργου σε ένα αρχείο.",
+ "import": "Εισαγωγή",
+ "importDescription": "Προσθέστε εργασίες από ένα αρχείο που εξαγάγατε νωρίτερα."
},
"workflowEditor": {
- "loading": "Φόρτωση...",
- "createColumnsFirst": "Δημιουργήστε πρώτα στήλες για να ρυθμίσετε τους κανόνες αυτοματοποίησης.",
- "githubHeading": "GitHub",
- "githubHint": "Όταν συμβαίνει ένα γεγονός στο GitHub, μετακινήστε τη συνδεδεμένη εργασία σε μια στήλη.",
- "selectColumnPlaceholder": "Επιλέξτε στήλη...",
- "toastUpdated": "Ο κανόνας ροής εργασίας ενημερώθηκε",
"toastError": "Αποτυχία ενημέρωσης κανόνα",
"events": {
- "branch_push": "Push κλάδου",
- "pr_opened": "Άνοιγμα PR",
- "pr_merged": "Συγχώνευση PR",
+ "branch_push": "Push σε κλάδο",
+ "pr_opened": "Άνοιγμα pull request",
+ "pr_merged": "Συγχώνευση pull request",
"issue_opened": "Άνοιγμα issue",
"issue_closed": "Κλείσιμο issue"
},
- "giteaHeading": "Gitea",
- "giteaHint": "Όταν συμβαίνει ένα γεγονός webhook του Gitea, μετακινήστε τη συνδεδεμένη εργασία σε μια στήλη.",
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "Συνδέστε {{providers}} στις <link>Ενσωματώσεις</link> για να τα αυτοματοποιήσετε κι αυτά.",
+ "dontMove": "Χωρίς μετακίνηση",
+ "emptyDescription": "Οι αυτοματισμοί απαιτούν συνδεδεμένο αποθετήριο GitHub, Gitea ή GitLab.",
+ "emptyTitle": "Δεν υπάρχουν συνδεδεμένα αποθετήρια",
+ "openIntegrations": "Άνοιγμα ενσωματώσεων"
},
"externalLinks": {
"resources": "Πόροι",
@@ -1601,22 +1458,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Ρυθμίσεις ετικετών",
+ "pageTitle": "Ετικέτες",
"title": "Ετικέτες",
- "subtitle": "Δημιουργήστε, επεξεργαστείτε και διαγράψτε ετικέτες σε επίπεδο χώρου εργασίας.",
- "cardDescription": "Διαχειριστείτε τις ετικέτες που μπορούν να ανατεθούν σε εργασίες.",
+ "subtitle": "Οι ετικέτες είναι κοινές για όλα τα έργα αυτού του χώρου εργασίας.",
"createLabel": "Δημιουργία ετικέτας",
"editLabel": "Επεξεργασία ετικέτας",
- "deleteLabel": "Διαγραφή",
+ "deleteLabel": "Διαγραφή ετικέτας",
"saveLabel": "Αποθήκευση",
- "nameLabel": "Όνομα ετικέτας",
- "namePlaceholder": "Εισαγάγετε όνομα ετικέτας",
+ "nameLabel": "Όνομα",
+ "namePlaceholder": "Όνομα ετικέτας",
"colorLabel": "Χρώμα",
- "createDescription": "Δημιουργήστε μια νέα ετικέτα που μπορεί να χρησιμοποιείται στις εργασίες αυτού του χώρου εργασίας.",
- "editDescription": "Ενημερώστε το όνομα ή το χρώμα αυτής της ετικέτας.",
- "deleteConfirmTitle": "Διαγραφή αυτής της ετικέτας;",
- "deleteConfirmDescription": "Αυτό θα αφαιρέσει οριστικά την ετικέτα από όλες τις εργασίες. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
- "empty": "Δεν υπάρχουν ακόμα ετικέτες. Δημιουργήστε την πρώτη σας ετικέτα για να ξεκινήσετε.",
+ "createDescription": "Τα έργα αυτού του χώρου εργασίας μπορούν να την προσθέτουν στις εργασίες τους.",
+ "editDescription": "Οι αλλαγές εμφανίζονται σε κάθε εργασία με αυτήν την ετικέτα.",
+ "deleteConfirmTitle": "Διαγραφή «{{name}}»;",
+ "deleteConfirmDescription": "Η ετικέτα αφαιρείται από κάθε εργασία που τη χρησιμοποιεί. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
"createSuccess": "Η ετικέτα δημιουργήθηκε",
"updateSuccess": "Η ετικέτα ενημερώθηκε",
"deleteSuccess": "Η ετικέτα διαγράφηκε",
@@ -1624,30 +1479,23 @@
"updateError": "Αποτυχία ενημέρωσης ετικέτας",
"deleteError": "Αποτυχία διαγραφής ετικέτας",
"nameRequired": "Το όνομα ετικέτας είναι υποχρεωτικό",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Γίνεται αφαίρεση από τις εργασίες…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Επεξεργασία {{name}}",
+ "emptyDescription": "Προσθέστε ετικέτες για να ταξινομείτε και να φιλτράρετε εργασίες σε όλα τα έργα.",
+ "emptyTitle": "Δεν υπάρχουν ακόμη ετικέτες",
+ "loadError": "Δεν ήταν δυνατή η φόρτωση των ετικετών. Δοκιμάστε ξανά.",
+ "newLabel": "Νέα ετικέτα",
+ "preview": "Σε μια εργασία",
+ "previewPlaceholder": "Ετικέτα",
+ "resume": "Συνέχιση",
+ "rowActions": "Ενέργειες για {{name}}",
+ "sectionDescription": "Η μετονομασία μιας ετικέτας ή η αλλαγή του χρώματός της ενημερώνει κάθε εργασία που τη χρησιμοποιεί.",
+ "sectionTitle": "Ετικέτες χώρου εργασίας",
+ "subtitleWithWorkspace": "Οι ετικέτες είναι κοινές για όλα τα έργα του {{workspaceName}}."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1661,58 +1509,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Δημιουργήστε ένα εισερχόμενο webhook στο Mattermost και επικολλήστε το εδώ.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Πλαίσιο ελέγχου",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Λίστα, πολλαπλή επιλογή"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Καθαρισμός προεπιλογής",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Ενέργειες για {{name}}",
+ "addOption": "Προσθήκη επιλογής",
+ "allowSeveral": "Πολλαπλή επιλογή",
+ "allowSeveralDescription": "Μια εργασία μπορεί να έχει περισσότερες από μία επιλογές.",
+ "checked": "Επιλεγμένο",
+ "createField": "Δημιουργία πεδίου",
+ "defaultDescription": "Οι νέες εργασίες ξεκινούν με αυτήν την τιμή.",
+ "deleteConfirm": "Διαγραφή πεδίου",
+ "deleteDescription": "Το πεδίο και η τιμή του σε κάθε εργασία αφαιρούνται. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
+ "deleteTitle": "Διαγραφή «{{name}}»;",
+ "dialogDescription": "Κάθε εργασία του {{project}} αποκτά αυτό το πεδίο.",
+ "dialogDescriptionFallback": "Κάθε εργασία αυτού του έργου αποκτά αυτό το πεδίο.",
+ "dragAria": "Αναδιάταξη {{name}}",
+ "dragOptionAria": "Αναδιάταξη {{option}}",
+ "edit": "Επεξεργασία",
+ "editTitle": "Επεξεργασία πεδίου",
+ "emptyDescription": "Καταγράψτε στοιχεία όπως μέγεθος, πελάτη ή ημερομηνία κυκλοφορίας σε κάθε εργασία.",
+ "emptyTitle": "Δεν υπάρχουν ακόμη προσαρμοσμένα πεδία",
+ "issues": {
+ "defaultRequired": "Τα υποχρεωτικά πεδία χρειάζονται προεπιλεγμένη τιμή.",
+ "moreOptionsRequired": "Προσθέστε τουλάχιστον δύο επιλογές για πολλαπλή επιλογή.",
+ "optionsRequired": "Προσθέστε τουλάχιστον μία επιλογή."
+ },
+ "nameLabel": "Όνομα",
+ "newTitle": "Νέο πεδίο",
+ "noDefault": "Χωρίς προεπιλογή",
+ "optionsLabel": "Επιλογές",
+ "removeOptionAria": "Αφαίρεση {{option}}",
+ "renameOptionAria": "Μετονομασία {{option}}",
+ "requiredDescription": "Κάθε εργασία έχει πάντα τιμή.",
+ "save": "Αποθήκευση",
+ "saving": "Γίνεται αποθήκευση...",
+ "startsAs": "Αρχική τιμή «{{value}}»",
+ "startsAt": "Αρχική τιμή {{value}}",
+ "startsChecked": "Αρχικά επιλεγμένο",
+ "startsOn": "Αρχική ημερομηνία {{date}}",
+ "startsUnchecked": "Αρχικά μη επιλεγμένο",
+ "typeLabel": "Τύπος",
+ "typeLocked": "Ο τύπος δεν μπορεί να αλλάξει μετά τη δημιουργία του πεδίου.",
+ "unchecked": "Μη επιλεγμένο",
+ "updateError": "Αποτυχία αποθήκευσης προσαρμοσμένου πεδίου.",
+ "updateSuccess": "Το προσαρμοσμένο πεδίο αποθηκεύτηκε."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Απενεργοποίηση",
+ "edit": "Επεξεργασία",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Επανενεργοποίηση"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Ρόλος",
"status": "Status",
"user": "User"
},
@@ -1734,7 +1614,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Όλοι οι χρήστες",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1747,7 +1627,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1755,19 +1634,19 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Διαχειριστής",
"user": "User"
},
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Αναζήτηση με όνομα ή email",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Όλοι όσοι έχουν λογαριασμό σε αυτήν την εγκατάσταση Kaneo.",
+ "title": "Χρήστες",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1776,9 +1655,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Εσείς"
},
"security": "Security",
"securityPage": {
@@ -1793,11 +1670,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Σύνδεση",
+ "submit": "Αλλαγή κωδικού πρόσβασης",
+ "submitting": "Γίνεται αλλαγή...",
+ "subtitle": "Πώς συνδέεστε στο Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1807,94 +1683,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Αλλαγή κωδικού πρόσβασης",
+ "dialogDescription": "Τουλάχιστον 8 χαρακτήρες, διαφορετικός από τον τρέχοντα.",
+ "dialogTitle": "Αλλαγή κωδικού πρόσβασης",
+ "passwordHint": "Χρησιμοποιήστε τουλάχιστον 8 χαρακτήρες που δεν χρησιμοποιείτε πουθενά αλλού.",
+ "passwordTitle": "Κωδικός πρόσβασης"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Έργα στα οποία είναι μέλος το token σας.",
+ "browseNeedsCredentials": "Εισαγάγετε το URL του GitLab και ένα token για περιήγηση.",
+ "commentTaskLinkHint": "Για να μπορούν όσοι είναι στο GitLab να μεταβαίνουν στην εργασία.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Εισαγάγετε ανοιχτά issues και merge requests ως εργασίες.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Αναζήτηση έργων",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Προσθέστε αυτό το webhook στις ρυθμίσεις του έργου, ώστε οι αλλαγές να επιστρέφουν στο Kaneo.",
+ "loadProjectsError": "Δεν ήταν δυνατή η φόρτωση των έργων.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Αυτό το token δεν είναι μέλος σε κανένα έργο.",
+ "chooseProjectDescription": "Πληκτρολογήστε τη διαδρομή του ή επιλέξτε ένα από τη λίστα.",
+ "noSearchMatchTitle": "Κανένα έργο δεν ταιριάζει",
+ "useProject": "Χρήση έργου",
+ "webhookEvents": "Ενεργοποιήστε τα γεγονότα push, issue, comment και merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Μόνο με ετικέτες",
+ "selectLabels": "Προσθήκη ετικέτας",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1902,20 +1745,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Ροές",
+ "allScheduledTasks": "Όλες οι προγραμματισμένες εργασίες",
+ "subscribeHint": "Προσθέστε έναν σύνδεσμο ως συνδρομή στην εφαρμογή ημερολογίου σας. Οι ενημερώσεις εμφανίζονται όταν η εφαρμογή ανανεώνει τη ροή.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Αντιγράφηκε",
+ "dialogDescription": "Οι εργασίες με ημερομηνία έναρξης ή λήξης εμφανίζονται στη ροή.",
+ "dialogTitle": "Νέα ροή ημερολογίου",
+ "emptyDescription": "Δημιουργήστε μια ροή για να βλέπετε τις προγραμματισμένες εργασίες στην εφαρμογή ημερολογίου σας.",
+ "emptyTitle": "Δεν υπάρχουν ακόμη ροές ημερολογίου",
+ "feedActions": "Ενέργειες ροής",
+ "labelsHint": "Αφήστε το κενό για να συμπεριληφθούν όλες οι προγραμματισμένες εργασίες.",
+ "newFeed": "Νέα ροή",
+ "revokeConfirm": "Ανάκληση ροής",
+ "revokeConfirmDescription": "Οι εφαρμογές ημερολογίου που χρησιμοποιούν αυτόν τον σύνδεσμο σταματούν να λαμβάνουν ενημερώσεις. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί.",
+ "revokeConfirmTitle": "Ανάκληση αυτής της ροής;",
+ "revoking": "Γίνεται ανάκληση…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1927,7 +1779,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1960,7 +1811,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1971,7 +1821,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Τα τιμολόγια, ο τρόπος πληρωμής και η ακύρωση διαχειρίζονται στο Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1995,14 +1845,14 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Το πρόγραμμά σας για το {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "Απομένει {{count}} ημέρα",
+ "badgeDaysLeft_other": "Απομένουν {{count}} ημέρες"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2021,15 +1871,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2046,8 +1893,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2066,16 +1911,29 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Τι συγχρονίζεται",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Όλα τα issues",
+ "allTasks": "Όλες οι εργασίες",
+ "edit": "Επεξεργασία",
+ "hidePaused": "Απόκρυψη",
+ "issuesLabelled": "Issues με ετικέτα",
+ "joinAnd": "και",
+ "joinOr": "ή",
+ "kaneoToProvider": "Από το Kaneo στο {{provider}}",
+ "pausedSummary_one": "{{count}} εργασία σταμάτησε να συγχρονίζεται επειδή δεν ταιριάζει πλέον με τους κανόνες συγχρονισμού.",
+ "pausedSummary_other": "{{count}} εργασίες σταμάτησαν να συγχρονίζονται επειδή δεν ταιριάζουν πλέον με τους κανόνες συγχρονισμού.",
+ "providerToKaneo": "Από το {{provider}} στο Kaneo",
+ "reviewPaused": "Έλεγχος",
+ "tasksLabelled": "Εργασίες με ετικέτα"
+ },
+ "advancedSettingsDescription": "Εμφανίζει επιπλέον επιλογές, όπως κανόνες συγχρονισμού ενσωματώσεων. Μόνο σε αυτό το πρόγραμμα περιήγησης.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2112,23 +1970,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Όλοι οι χώροι εργασίας",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_one": "{{count}} member",
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
@@ -2149,9 +1999,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Αναζήτηση με όνομα ή slug",
+ "subtitle": "Όλοι οι χώροι εργασίας σε αυτήν την εγκατάσταση Kaneo, ακόμη και αυτοί στους οποίους δεν ανήκετε.",
+ "title": "Χώροι εργασίας",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2161,9 +2011,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2428,6 +2276,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Απενεργοποιήστε για παύση χωρίς να χαθούν οι ρυθμίσεις.",
+ "activeTitle": "Δημοσίευση στο {{provider}}",
+ "channelHint": "Απλώς μια ονομασία για αυτήν τη λίστα.",
+ "channelLabel": "Κανάλι",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Αποσύνδεση",
+ "disconnectDescription": "Το Kaneo σταματά να δημοσιεύει στο {{provider}} και αφαιρεί τις αποθηκευμένες ρυθμίσεις.",
+ "disconnecting": "Γίνεται αποσύνδεση…",
+ "disconnectTitle": "Αποσύνδεση του {{provider}};",
+ "events": {
+ "taskCommentCreated": "Κάποιος σχολιάζει",
+ "taskCreated": "Δημιουργείται εργασία",
+ "taskDescriptionChanged": "Αλλάζει η περιγραφή",
+ "taskPriorityChanged": "Αλλάζει η προτεραιότητα",
+ "taskStatusChanged": "Αλλάζει η κατάσταση",
+ "taskTitleChanged": "Αλλάζει ο τίτλος"
+ },
+ "optional": "Προαιρετικό",
+ "postWhen": "Δημοσίευση όταν",
+ "retry": "Επανάληψη",
+ "saveChanges": "Αποθήκευση αλλαγών",
+ "savedUrlPlaceholder": "Αποθηκεύτηκε. Επικολλήστε νέο URL για να το αντικαταστήσετε.",
+ "webhookUrlLabel": "URL webhook"
+ },
+ "codeHosting": {
+ "browse": "Περιήγηση",
+ "changeToken": "Αλλαγή token",
+ "checking": "Γίνεται έλεγχος πρόσβασης…",
+ "chooseProjectTitle": "Επιλέξτε έργο",
+ "chooseRepositoryTitle": "Επιλέξτε αποθετήριο",
+ "connectProject": "Σύνδεση έργου",
+ "connectRepository": "Σύνδεση αποθετηρίου",
+ "copied": "Αντιγράφηκε",
+ "copyFailed": "Δεν ήταν δυνατή η αντιγραφή στο πρόχειρο.",
+ "copySecret": "Αντιγραφή μυστικού",
+ "copyUrl": "Αντιγραφή URL webhook",
+ "disconnect": "Αποσύνδεση",
+ "disconnectDescription": "Οι εργασίες σταματούν να συγχρονίζονται με το {{target}}. Μπορείτε να το συνδέσετε ξανά αργότερα.",
+ "disconnecting": "Γίνεται αποσύνδεση…",
+ "disconnectTitle": "Αποσύνδεση του {{provider}};",
+ "hideSecret": "Απόκρυψη μυστικού",
+ "importing": "Γίνεται εισαγωγή…",
+ "importIssues": "Εισαγωγή issues",
+ "importNeedsReconnect": "Συνδέστε ξανά για να ενεργοποιήσετε την εισαγωγή.",
+ "importTitle": "Εισαγωγή ανοιχτών issues",
+ "issuesSection": "Issues",
+ "lastImport": "Τελευταία εισαγωγή: {{imported}} δημιουργήθηκαν, {{updated}} ενημερώθηκαν, {{skipped}} παραλείφθηκαν.",
+ "loadError": "Δεν ήταν δυνατή η φόρτωση αυτής της ενσωμάτωσης.",
+ "pausedHint": "Ο συγχρονισμός είναι σε παύση. Συνδέστε ξανά για να συνεχιστεί.",
+ "projectSection": "Έργο",
+ "reconnect": "Επανασύνδεση",
+ "repositoryPathInvalid": "Εισαγάγετε το αποθετήριο ως owner/name.",
+ "repositoryPathLabel": "Αποθετήριο",
+ "repositorySection": "Αποθετήριο",
+ "retry": "Επανάληψη",
+ "saveToken": "Αποθήκευση token",
+ "showSecret": "Εμφάνιση μυστικού",
+ "signInDescription": "Χρησιμοποιήστε ένα token που μπορεί να διαβάζει το έργο και τα issues του.",
+ "signInTitle": "Σύνδεση στην εγκατάστασή σας",
+ "tokenStored": "Αποθηκευμένο token",
+ "tokenTitle": "Token πρόσβασης",
+ "webhookSecret": "Μυστικό",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Σύρετε για να αλλάξετε τη σειρά με την οποία εμφανίζονται σε μια εργασία.",
+ "fieldsTitle": "Πεδία",
+ "newField": "Νέο πεδίο",
+ "pageTitle": "Προσαρμοσμένα πεδία",
+ "subtitle": "Επιπλέον στοιχεία που μπορεί να καταγράφει κάθε εργασία του {{project}}, όπως μέγεθος ή πελάτης.",
+ "subtitleFallback": "Επιπλέον στοιχεία που μπορεί να καταγράφει κάθε εργασία αυτού του έργου, όπως μέγεθος ή πελάτης.",
+ "title": "Προσαρμοσμένα πεδία"
+ },
+ "shared": {
+ "autosave": "Οι αλλαγές αποθηκεύονται αυτόματα"
}
},
"navigation": {
diff --git a/i18n/en-US.json b/i18n/en-US.json
index 10507cd87..cf324fbbc 100644
--- a/i18n/en-US.json
+++ b/i18n/en-US.json
@@ -61,7 +61,7 @@
"title": "Something went wrong",
"description": "The page crashed unexpectedly. Refreshing usually fixes it.",
"troubleshooting": "Troubleshooting steps:",
- "tryAgain": "Try Again",
+ "tryAgain": "Try again",
"viewDeploymentGuide": "View Deployment Guide",
"refreshPage": "Refresh Page",
"messages": {
@@ -87,9 +87,6 @@
}
}
},
- "formats": {
- "never": "Never"
- },
"modals": {
"createProject": {
"title": "Create a new project",
@@ -564,10 +561,9 @@
},
"settings": {
"advancedSettings": "Advanced settings",
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "advancedSettingsDescription": "Shows extra controls, like integration sync rules. Only on this browser.",
"syncRules": {
- "title": "Sync scope",
- "filteredBadge": "Filtered by labels",
+ "title": "What syncs",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
"outgoing": "Kaneo → repository",
"incoming": "Repository → Kaneo",
@@ -583,8 +579,6 @@
"removeLabel": "Remove {{name}}",
"noLabels": "Create workspace labels before configuring a task filter.",
"selectLabel": "Select at least one label to preview this rule.",
- "anySummary": "Any of: {{labels}}",
- "allSummary": "All of: {{labels}}",
"unavailableLabel": "Unavailable label",
"impactTitle": "What will change",
"impact": "Matching tasks: {{matching}} / {{total}} · New exports: {{create}} · Links to pause: {{pause}} · Links to review: {{review}}",
@@ -602,8 +596,6 @@
"loadError": "Sync rules could not be loaded.",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"paused": "Sync paused",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"reviewRequired": "Matches the rule · review required",
"excluded": "Outside the current rule",
@@ -621,45 +613,55 @@
"useRepository": "Keep repository values",
"useKaneo": "Keep Kaneo values",
"exportPending": "Export matching tasks",
- "inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated."
+ "inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
+ "allIssues": "All issues",
+ "allTasks": "All tasks",
+ "edit": "Edit",
+ "hidePaused": "Hide",
+ "issuesLabelled": "Issues labelled",
+ "joinAnd": "and",
+ "joinOr": "or",
+ "kaneoToProvider": "Kaneo to {{provider}}",
+ "pausedSummary_one": "{{count}} task stopped syncing because it no longer matched the sync rules.",
+ "pausedSummary_other": "{{count}} tasks stopped syncing because they no longer matched the sync rules.",
+ "providerToKaneo": "{{provider}} to Kaneo",
+ "reviewPaused": "Review",
+ "tasksLabelled": "Tasks labelled"
},
"account": "Account",
"administration": "Administration",
"developer": "Developer",
- "information": "Information",
+ "information": "Profile",
"notifications": "Notifications",
"preferences": "Preferences",
- "apiKeys": "API Keys",
+ "apiKeys": "API keys",
"adminUsers": {
- "title": "User management",
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "instanceBadge": "Instance",
- "directoryTitle": "User directory",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
+ "title": "Users",
+ "subtitle": "Everyone with an account on this Kaneo instance.",
+ "directoryTitle": "All users",
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"refreshing": "Refreshing users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Search by name or email",
"searchLabel": "Search users",
"loadError": "Users could not be loaded.",
"retry": "Retry",
"emptyTitle": "No users found",
"emptyDescription": "Try another name or email address.",
"clearSearch": "Clear search",
- "you": "(you)",
+ "you": "You",
"previous": "Previous",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
"columns": {
"user": "User",
- "role": "Global role",
+ "role": "Role",
"status": "Status",
"joined": "Joined",
"actions": "Actions"
},
"roles": {
- "admin": "Instance admin",
+ "admin": "Admin",
"user": "User"
},
"status": {
@@ -668,9 +670,9 @@
},
"actions": {
"open": "Actions for {{name}}",
- "edit": "Edit account",
- "deactivate": "Deactivate account",
- "reactivate": "Reactivate account"
+ "edit": "Edit",
+ "deactivate": "Deactivate",
+ "reactivate": "Reactivate"
},
"edit": {
"title": "Edit user",
@@ -710,16 +712,13 @@
}
},
"adminWorkspaces": {
- "title": "Workspace management",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "instanceBadge": "Instance",
- "directoryTitle": "Workspace directory",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces",
+ "title": "Workspaces",
+ "subtitle": "Every workspace on this Kaneo instance, including ones you don't belong to.",
+ "directoryTitle": "All workspaces",
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"refreshing": "Refreshing workspaces",
- "searchPlaceholder": "Search name or slug…",
+ "searchPlaceholder": "Search by name or slug",
"searchLabel": "Search workspaces",
"loadError": "Workspaces could not be loaded.",
"retry": "Retry",
@@ -748,13 +747,6 @@
"add": "Add member",
"loadError": "Members could not be loaded.",
"empty": "This workspace has no members.",
- "columns": {
- "member": "Member",
- "role": "Role",
- "projects": "Projects",
- "joined": "Joined",
- "actions": "Actions"
- },
"roleLabel": "Role for {{name}}",
"editAccess": "Change project access for {{name}} ({{access}})",
"actions": "Actions for {{name}}",
@@ -799,36 +791,30 @@
}
},
"informationPage": {
- "pageTitle": "Personal Information",
- "title": "Personal Information",
- "subtitle": "Manage your personal details and account information.",
- "sectionTitle": "Account Information",
- "sectionSubtitle": "Manage your profile and account details.",
+ "pageTitle": "Profile",
+ "title": "Profile",
+ "subtitle": "How you show up to your teammates.",
+ "sectionTitle": "Details",
"profilePicture": "Profile picture",
- "fullName": "Full name",
+ "fullName": "Name",
"fullNamePlaceholder": "Enter your name",
"email": "Email",
- "emailPlaceholder": "Enter your email",
- "updateSuccess": "Profile updated successfully",
"updateError": "Failed to update profile",
"validation": {
"nameRequired": "Name is required",
- "nameShort": "Name must be at least 2 characters",
- "invalidEmail": "Invalid email address"
+ "nameShort": "Name must be at least 2 characters"
},
"avatar": {
- "hint": "Click your picture to change or remove it. Cropped to a square and resized to 256x256.",
- "remove": "Remove avatar",
+ "hint": "Square images look best.",
+ "remove": "Remove",
"updateSuccess": "Profile picture updated",
"updateError": "Failed to update profile picture",
"removeSuccess": "Profile picture removed",
"removeError": "Failed to remove profile picture",
- "edit": "Change your profile picture",
- "change": "Change avatar"
+ "upload": "Upload"
},
"deleteAccount": {
"sectionTitle": "Danger zone",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"title": "Delete account",
"description": "Workspaces only you belong to are deleted with your account. Elsewhere, your tasks stay and become unassigned, and your comments are removed.",
"modalTitle": "Delete your account?",
@@ -838,34 +824,32 @@
"success": "Your account has been deleted",
"error": "Failed to delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "You sign in with this address."
},
"notificationsPage": {
"pageTitle": "Notifications",
"title": "Notifications",
- "subtitle": "Choose how Kaneo delivers your account notifications and which channels to use.",
+ "subtitle": "What Kaneo tells you about, and where it reaches you.",
"statusConnected": "Connected",
"statusPaused": "Paused",
"emailTitle": "Email",
- "emailDescription": "Use your account email as the destination for notifications.",
- "accountEmailLabel": "Account email",
"accountEmailNoAddress": "No account email available",
- "accountEmailHint": "Email delivery always goes to the signed-in account email.",
"saveChanges": "Save changes",
"disconnect": "Disconnect",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Publish account notifications to an ntfy topic.",
+ "ntfyDescription": "Publish to an ntfy topic on your phone or desktop.",
"serverUrl": "Server URL",
"topic": "Topic",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Optional bearer token",
+ "ntfyTokenPlaceholder": "Only if your server needs one",
"ntfyTokenHintConfigured": "A token is already configured ({{masked}}). Enter a new token to replace it.",
- "ntfyTokenHintOptional": "Optional. Provide a token if your ntfy server requires authentication.",
+ "ntfyTokenHintOptional": "Use one if your ntfy server requires authentication.",
"connectNtfy": "Connect ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Send account notifications to your Gotify server.",
+ "gotifyDescription": "Send notifications to your Gotify server.",
"gotifyTokenLabel": "App token",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify app token",
@@ -873,52 +857,26 @@
"gotifyTokenHintRequired": "Required. Use an application token from your Gotify server.",
"connectGotify": "Connect Gotify",
"webhookTitle": "Custom webhook",
- "webhookDescription": "Send account notifications to your own endpoint as JSON.",
+ "webhookDescription": "Send each notification to your own endpoint as JSON.",
"endpointUrl": "Endpoint URL",
"signingSecret": "Signing secret",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Optional shared secret",
"webhookSecretHintConfigured": "A signing secret is already configured ({{masked}}). Enter a new one to replace it.",
- "webhookSecretHintOptional": "Optional. Kaneo signs the request body when a secret is set.",
+ "webhookSecretHintOptional": "Kaneo signs the request body when a secret is set.",
"connectWebhook": "Connect webhook",
- "workspaceRulesTitle": "Workspace delivery rules",
- "workspaceRulesDescription": "Reuse your global channels, then decide which workspaces and projects are allowed to send account notifications.",
- "workspaceCardHint": "Choose which channels this workspace can use for account notifications.",
- "workspaceEnabledLabel": "Enable notifications for {{workspaceName}}",
"eventPreferencesTitle": "Notify me about",
- "eventPreferencesDescription": "Choose which task events create in-app notifications and can be delivered to your connected channels.",
- "eventTaskAssignments": "Task assignments",
+ "eventPreferencesDescription": "Your own comments, mentions, and status changes never notify you.",
+ "eventTaskAssignments": "Assignments",
"eventComments": "Comments and mentions",
- "eventCommentsHint": "Includes new comments on tasks assigned to you and direct @mentions.",
- "eventStatusChanges": "Task status changes",
- "eventDueDateReminders": "Due-date reminders",
+ "eventCommentsHint": "New comments on your tasks, and anyone who @mentions you.",
+ "eventStatusChanges": "Status changes",
+ "eventDueDateReminders": "Due date reminders",
"reminderLeadTimeLabel": "Remind me before the due date",
- "reminderLeadTimeHint": "Between 1 hour and 30 days before. Overdue notifications are sent separately.",
- "reminderLeadTimeUnitHours": "Hours",
- "reminderLeadTimeUnitDays": "Days",
"reminderLeadTimeInvalid": "Enter a whole number between 1 and {{max}}.",
"saveEventPreferences": "Save notification types",
- "workspaceCardLabelEmail": "Email",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Custom webhook",
- "emailChannelHintEnabled": "Send matching workspace notifications by email.",
- "emailChannelHintDisabled": "Configure and enable email globally first.",
- "ntfyChannelHintEnabled": "Send matching workspace notifications to ntfy.",
- "ntfyChannelHintDisabled": "Configure and enable ntfy globally first.",
- "gotifyChannelHintEnabled": "Send matching workspace notifications to Gotify.",
- "gotifyChannelHintDisabled": "Configure and enable Gotify globally first.",
- "webhookChannelHintEnabled": "Send matching workspace notifications to your webhook.",
- "webhookChannelHintDisabled": "Configure and enable the webhook globally first.",
- "projectScope": "Project scope",
- "projectScopeDescription": "All projects are included by default. Narrow it down if this workspace should only send notifications from selected projects.",
"allProjects": "All projects",
- "allProjectsDescription": "Deliver notifications from every project in this workspace.",
- "selectedProjects": "Selected projects",
- "selectedProjectsDescription": "Only deliver notifications from chosen projects.",
"noProjectsInWorkspace": "No projects available for this workspace yet.",
- "createRule": "Create rule",
- "removeRule": "Remove rule",
"toastEmailSaved": "Email notification settings saved",
"toastEmailSaveFailed": "Failed to save email settings",
"toastNtfySaved": "ntfy settings saved",
@@ -941,137 +899,164 @@
"toastPreferencesSaveFailed": "Failed to save notification preferences",
"toastRuleSavedGeneric": "Workspace notification rule saved",
"toastRuleRemovedGeneric": "Workspace notification rule removed",
- "recipientHint": "Comments and status changes notify you about tasks assigned to you. Mentions notify the selected member. Your own comments, mentions, and status changes do not notify you."
+ "loadFailed": "Notification settings could not be loaded.",
+ "eventTaskAssignmentsHint": "When someone assigns a task to you.",
+ "eventStatusChangesHint": "When one of your tasks moves to another column.",
+ "eventDueDateRemindersHint": "Before one of your tasks is due. Overdue tasks notify you separately.",
+ "reminderLeadTimeUnitLabel": "Reminder unit",
+ "reminderLeadTimeUnitHoursBefore_one": "hour before",
+ "reminderLeadTimeUnitHoursBefore_other": "hours before",
+ "reminderLeadTimeUnitDaysBefore_one": "day before",
+ "reminderLeadTimeUnitDaysBefore_other": "days before",
+ "channelsTitle": "Channels",
+ "channelsDescription": "Notifications always show in Kaneo. Connect a channel to get them somewhere else too.",
+ "statusOn": "On",
+ "emailToggleLabel": "Send notifications by email",
+ "connect": "Connect",
+ "configure": "Configure",
+ "done": "Done",
+ "connectChannel": "Connect {{channel}}",
+ "configureChannel": "Configure {{channel}}",
+ "optional": "Optional",
+ "sendingLabel": "Sending",
+ "sendingDescription": "Turn off to pause this channel and keep its settings.",
+ "disconnectTitle": "Disconnect {{channel}}?",
+ "disconnectDescription": "Notifications stop going to {{channel}}, and its saved settings are removed.",
+ "disconnecting": "Disconnecting...",
+ "workspacesTitle": "Workspaces",
+ "workspacesDescription": "Choose which workspaces and projects can use your channels.",
+ "statusSending": "Sending",
+ "onlyInKaneo": "Only in Kaneo",
+ "projectCount_one": "{{count}} project",
+ "projectCount_other": "{{count}} projects",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "setUp": "Set up",
+ "configureWorkspace": "Configure notifications for {{workspaceName}}",
+ "setUpWorkspace": "Set up notifications for {{workspaceName}}",
+ "ruleDialogTitle": "{{workspaceName}} notifications",
+ "ruleDialogDescription": "Where notifications from this workspace can go.",
+ "ruleActiveLabel": "Sending",
+ "ruleActiveDescription": "Turn off to pause this workspace and keep its setup.",
+ "ruleChannels": "Channels",
+ "channelNotConnected": "Not connected",
+ "channelOff": "Off",
+ "ruleProjects": "Projects",
+ "someProjects": "Only some",
+ "save": "Save",
+ "stopSending": "Stop sending",
+ "stopSendingTitle": "Stop sending from {{workspaceName}}?",
+ "stopSendingDescription": "Notifications from this workspace will only show in Kaneo.",
+ "stopping": "Stopping..."
},
"preferencesPage": {
"title": "Preferences",
- "subtitle": "Customize your Kaneo experience.",
- "appearanceTitle": "Appearance",
- "appearanceSubtitle": "Visual settings and layout preferences.",
+ "subtitle": "How Kaneo looks and works for you.",
+ "appearanceTitle": "General",
"theme": "Theme",
- "themeDescription": "Choose your preferred color scheme",
"selectTheme": "Select a theme",
"themeLight": "Light",
"themeDark": "Dark",
- "themeSystem": "System",
+ "themeSystem": "Match system",
"language": "Language",
- "languageDescription": "Choose your preferred interface language",
"selectLanguage": "Select a language",
- "firstDayOfWeek": "First Day of Week",
- "firstDayOfWeekDescription": "Choose which day calendars and weekly ranges start on",
+ "firstDayOfWeek": "First day of the week",
+ "firstDayOfWeekDescription": "Used by calendars and date pickers.",
"selectFirstDayOfWeek": "Select first day",
"weekStartsOnSunday": "Sunday",
"weekStartsOnMonday": "Monday",
"weekStartsOnSaturday": "Saturday",
- "defaultView": "Default View",
- "defaultViewDescription": "Choose your preferred task view mode",
+ "defaultView": "Default view",
+ "defaultViewDescription": "The view projects open in.",
"selectViewMode": "Select a view mode",
"board": "Board",
"list": "List",
"gantt": "Gantt",
- "sidebarDefault": "Sidebar Default",
- "sidebarDefaultDescription": "Keep sidebar expanded on startup",
- "displayOptions": "Display options",
- "displayOptionsDescription": "Choose which information to show in task views",
- "taskNumbers": "Task Numbers",
- "taskNumbersDescription": "Show task IDs and numbers",
+ "sidebarDefault": "Keep the sidebar open",
+ "sidebarDefaultDescription": "Start with the sidebar expanded.",
+ "displayOptions": "Task details",
+ "displayOptionsDescription": "What shows on cards and rows in your boards and lists.",
+ "taskNumbers": "Task numbers",
"assignees": "Assignees",
- "assigneesDescription": "Show who is assigned to tasks",
- "dueDates": "Due Dates",
- "dueDatesDescription": "Display task deadlines",
+ "dueDates": "Due dates",
"labels": "Labels",
- "labelsDescription": "Show task labels and tags",
"priority": "Priority",
- "priorityDescription": "Display priority indicators",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Show the image a project sets behind its board.",
+ "advancedTitle": "Advanced"
},
"developerPage": {
- "pageTitle": "Developer Settings",
- "title": "Developer Settings",
- "subtitle": "Manage your API keys and developer resources.",
- "apiKeysCardTitle": "API Keys",
- "apiKeysCardDescription": "Create and manage API keys for programmatic access to Kaneo.",
- "createApiKey": "Create API Key",
- "unnamedKey": "Unnamed Key"
+ "pageTitle": "API keys",
+ "title": "API keys",
+ "subtitle": "Let scripts, the CLI, and MCP clients use Kaneo as you.",
+ "unnamedKey": "Unnamed",
+ "newKey": "New key",
+ "keysTitle": "Keys",
+ "keysNote": "A key can do anything you can. Delete keys you no longer use.",
+ "emptyTitle": "No API keys yet",
+ "emptyDescription": "Create a key to use the CLI, an MCP client, or your own scripts.",
+ "loadError": "Could not load API keys. Please try again."
},
"apiKey": {
"createdModal": {
- "title": "API Key Created",
- "description": "Your API key \"{{keyName}}\" has been created successfully.",
- "yourApiKey": "Your API Key",
+ "title": "Copy your key",
+ "description": "You won't see it again after you close this.",
"copy": "Copy",
"copied": "Copied",
- "toastCopied": "API key copied to clipboard",
- "alertTitle": "Success! Your API key has been created",
- "alertDescription": "Copy this key now. You won't be able to see it again.",
"done": "Done",
- "copyToContinue": "Copy key to continue"
+ "copyError": "Could not copy the key. Select it and copy it manually."
},
"table": {
- "loading": "Loading API keys...",
- "empty": "No API keys yet. Create one to get started.",
- "columnName": "Name",
- "columnKey": "Key",
- "columnCreated": "Created",
- "columnExpires": "Expires",
- "columnActions": "Actions",
- "unnamedKey": "Unnamed Key",
- "expiredBadge": "Expired {{label}}",
- "deleteConfirmTitle": "Delete API key?",
- "deleteConfirmDescription": "This action cannot be undone. This will permanently delete {{name}}.",
- "deleteFallbackName": "this API key",
- "delete": "Delete",
- "deleting": "Deleting...",
- "deleteAria": "Delete {{name}}",
- "deleteAriaFallback": "API key",
- "toastDeleted": "API key deleted successfully",
- "toastDeleteError": "Failed to delete API key"
+ "deleteConfirmTitle": "Delete “{{name}}”?",
+ "deleteConfirmDescription": "Anything using this key stops working. This can't be undone.",
+ "delete": "Delete key",
+ "deleting": "Deleting…",
+ "toastDeleted": "API key deleted",
+ "toastDeleteError": "Could not delete the API key"
},
"createDialog": {
- "title": "Create API Key",
- "description": "Create a new API key to access the Kaneo API programmatically.",
+ "title": "New API key",
+ "description": "The key can do anything you can.",
"nameLabel": "Name",
- "namePlaceholder": "My API Key",
- "nameDescription": "A descriptive name for this API key",
- "expirationLabel": "Expiration",
- "expirationPlaceholder": "Select expiration",
- "expirationDescription": "Choose how long this API key should remain valid. Never will create a key without an automatic expiry.",
+ "namePlaceholder": "My API key",
+ "nameDescription": "So you remember where it's used.",
+ "expirationLabel": "Expires",
"expiration1d": "1 day",
"expiration7d": "7 days",
"expiration30d": "30 days",
"expiration90d": "90 days",
"expirationNever": "Never",
- "create": "Create",
- "creating": "Creating...",
- "failedCreate": "Failed to create API key",
+ "create": "Create key",
+ "creating": "Creating…",
+ "failedCreate": "Could not create the API key",
"validation": {
- "nameRequired": "Name is required",
- "nameShort": "Name must be at least 3 characters",
- "expirationRequired": "Expiration is required"
+ "nameRequired": "Enter a name",
+ "nameShort": "Use at least 3 characters"
}
+ },
+ "row": {
+ "created": "Created {{date}}",
+ "expires": "Expires {{date}}",
+ "expired": "Expired {{date}}",
+ "neverExpires": "Never expires",
+ "expiredBadge": "Expired",
+ "actions": "Actions for {{name}}"
}
},
"workspaceGeneral": {
"pageTitle": "General Settings",
- "title": "General Settings",
- "subtitle": "Manage your workspace name and description.",
- "workspaceInfoTitle": "Workspace Information",
- "workspaceInfoSubtitle": "Configure your workspace details and preferences.",
- "nameLabel": "Workspace name",
- "nameHint": "The name of your workspace",
+ "title": "General",
+ "subtitle": "The name of {{name}} and who owns it.",
+ "workspaceInfoTitle": "Workspace",
+ "nameLabel": "Name",
"namePlaceholder": "Enter workspace name",
"descriptionLabel": "Description",
- "descriptionHint": "A brief description of your workspace",
- "descriptionPlaceholder": "Enter workspace description",
+ "descriptionPlaceholder": "What does your team work on?",
"dangerZone": "Danger zone",
- "dangerZoneSubtitle": "Irreversible and destructive actions.",
"deleteWorkspace": "Delete workspace",
- "deleteWorkspaceDescription": "Schedule workspace to be permanently deleted",
- "deleteModalTitle": "Delete Workspace?",
- "deleteModalDescription": "This will permanently delete the workspace \"{{name}}\" and all its data. This action cannot be undone.",
- "deleteModalConfirm": "Delete Workspace",
- "toastUpdated": "Workspace updated successfully",
+ "deleteWorkspaceDescription": "Permanently deletes {{name}}, its projects, and tasks.",
+ "deleteModalTitle": "Delete workspace?",
+ "deleteModalDescription": "This permanently deletes {{name}} and all of its projects and tasks. You can't undo this.",
+ "deleteModalConfirm": "Delete workspace",
"toastUpdateError": "Failed to update workspace",
"toastDeleted": "Workspace deleted successfully",
"toastDeleteError": "Failed to delete workspace",
@@ -1083,17 +1068,18 @@
"toastSuccess": "Ownership transferred",
"toastError": "Failed to transfer ownership",
"title": "Transfer ownership",
- "subtitle": "Hand this workspace over to another member. You'll be demoted to admin and lose owner-only abilities.",
"pickerLabel": "New owner",
"noEligibleMembers": "Invite at least one other member before you can transfer ownership.",
- "pickerHint": "They become the sole owner of this workspace.",
- "pickerPlaceholder": "Select a member",
+ "pickerHint": "The new owner takes over. You stay on as an admin.",
+ "pickerPlaceholder": "Choose a member",
"button": "Transfer",
"dialogTitle": "Transfer ownership?",
"dialogDescription": "{{name}} will become the sole owner of {{workspace}}. You'll keep admin access but lose owner-only abilities like deleting the workspace or transferring it again.",
"transferring": "Transferring…",
"confirm": "Transfer ownership"
- }
+ },
+ "ownershipTitle": "Ownership",
+ "ownershipSubtitle": "Only the owner sees this."
},
"workspaceRoles": {
"pageTitle": "Roles",
@@ -1304,22 +1290,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Label Settings",
+ "pageTitle": "Labels",
"title": "Labels",
- "subtitle": "Create, edit, and delete workspace-level labels.",
- "cardDescription": "Manage labels that can be assigned to tasks.",
- "createLabel": "Create Label",
- "editLabel": "Edit Label",
- "deleteLabel": "Delete",
+ "subtitle": "Labels are shared by every project in this workspace.",
+ "createLabel": "Create label",
+ "editLabel": "Edit label",
+ "deleteLabel": "Delete label",
"saveLabel": "Save",
- "nameLabel": "Label name",
- "namePlaceholder": "Enter label name",
+ "nameLabel": "Name",
+ "namePlaceholder": "Label name",
"colorLabel": "Color",
- "createDescription": "Create a new label that can be used across tasks in this workspace.",
- "editDescription": "Update the name or color of this label.",
- "deleteConfirmTitle": "Delete this label?",
- "deleteConfirmDescription": "This will permanently remove this label from all tasks. This action cannot be undone.",
- "empty": "No labels yet. Create your first label to get started.",
+ "createDescription": "Projects in this workspace can add it to their tasks.",
+ "editDescription": "Changes show up on every task with this label.",
+ "deleteConfirmTitle": "Delete “{{name}}”?",
+ "deleteConfirmDescription": "The label is removed from every task that uses it. This can't be undone.",
"createSuccess": "Label created",
"updateSuccess": "Label updated",
"deleteSuccess": "Label deleted",
@@ -1327,8 +1311,20 @@
"updateError": "Failed to update label",
"deleteError": "Failed to delete label",
"nameRequired": "Label name is required",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Removing from tasks…",
+ "resumeDeletion": "Resume deletion",
+ "subtitleWithWorkspace": "Labels are shared by every project in {{workspaceName}}.",
+ "newLabel": "New label",
+ "sectionTitle": "Workspace labels",
+ "sectionDescription": "Renaming a label or changing its color updates every task that uses it.",
+ "editNamed": "Edit {{name}}",
+ "rowActions": "Actions for {{name}}",
+ "preview": "On a task",
+ "previewPlaceholder": "Label",
+ "resume": "Resume",
+ "emptyTitle": "No labels yet",
+ "emptyDescription": "Add labels to sort and filter tasks across projects.",
+ "loadError": "Could not load labels. Please try again."
},
"workspaceImport": {
"pageTitle": "Import",
@@ -1596,40 +1592,36 @@
},
"projectGeneral": {
"pageTitle": "Project Settings",
- "title": "General Settings",
- "subtitle": "Manage your project name, key, icon and description.",
- "projectInfoTitle": "Project Information",
- "projectInfoSubtitle": "Configure your project details and preferences.",
+ "title": "General",
+ "subtitle": "The name, key, and look of {{name}}.",
+ "projectInfoTitle": "Project",
"iconLabel": "Icon",
- "iconHint": "Displayed in the sidebar and project surfaces.",
+ "iconHint": "Shown in the sidebar and project lists.",
"pickIconTitle": "Pick icon",
"searchIconsPlaceholder": "Search icons...",
- "projectNameLabel": "Project name",
- "projectNameHint": "The name of your project",
- "projectNamePlaceholder": "Enter project name",
+ "projectNameLabel": "Name",
+ "projectNamePlaceholder": "Project name",
"keyLabel": "Key",
- "keyHint": "Used for ticket IDs (e.g., {{slug}}-123)",
+ "keyHint": "Starts every task ID, like {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Description",
- "descriptionHint": "A brief description of your project",
- "descriptionPlaceholder": "Enter project description",
+ "descriptionPlaceholder": "What is this project for?",
"backgroundLabel": "Board background",
- "backgroundHint": "Choose an image shown behind this project's board.",
- "backgroundUpload": "Upload image",
- "backgroundReplace": "Replace image",
+ "backgroundHint": "An image behind the board. Each person can turn these off.",
+ "backgroundUnavailable": "Image uploads aren't set up on this instance.",
+ "backgroundUpload": "Upload",
+ "backgroundReplace": "Replace",
"backgroundRemove": "Remove image",
"backgroundUploadSuccess": "Project background updated",
"backgroundUploadError": "Failed to update project background",
"backgroundRemoveSuccess": "Project background removed",
"backgroundRemoveError": "Failed to remove project background",
"dangerZone": "Danger zone",
- "dangerZoneSubtitle": "Irreversible and destructive actions.",
"deleteProject": "Delete project",
- "deleteProjectDescription": "Schedule project to be permanently deleted",
- "deleteModalTitle": "Delete Project?",
- "deleteModalDescription": "This will permanently delete the project \"{{name}}\" and all its data. This action cannot be undone.",
- "deleteModalConfirm": "Delete Project",
- "toastUpdated": "Project updated successfully",
+ "deleteProjectDescription": "Permanently deletes {{name}} and all of its tasks.",
+ "deleteModalTitle": "Delete project?",
+ "deleteModalDescription": "This permanently deletes {{name}} and all of its tasks. You can't undo this.",
+ "deleteModalConfirm": "Delete project",
"toastUpdateError": "Failed to update project",
"toastDeleted": "Project deleted successfully",
"toastDeleteError": "Failed to delete project",
@@ -1639,33 +1631,34 @@
"keyMax": "Key must be at most 8 characters",
"iconRequired": "Icon is required"
},
- "importExportTasks": "Import/Export",
- "importExportTasksDescription": "Import and export tasks.",
- "moveProject": "Move to workspace",
- "moveProjectDescription": "Move this project, with all of its tasks, to another workspace.",
- "moveProjectPlaceholder": "Select workspace",
+ "moveProject": "Move to another workspace",
+ "moveProjectDescription": "Tasks, columns, and labels move with it.",
+ "moveProjectPlaceholder": "Choose a workspace",
"moveTargetsError": "Couldn't check which workspaces you can move this project to. Reload to try again.",
"moveProjectAction": "Move",
- "moveModalTitle": "Move Project?",
- "moveModalDescription": "This will move the project \"{{name}}\" and all of its tasks to \"{{workspace}}\". Tasks assigned to people who aren't members of that workspace will be unassigned, and notification subscriptions for this project will be cleared.",
- "moveModalConfirm": "Move Project",
+ "moveModalConfirm": "Move project",
"toastMoved": "Project moved successfully",
"toastMovedWithUnassigned": "Project moved successfully. {{taskCount}} task(s) were unassigned.",
- "toastMoveError": "Failed to move project"
+ "toastMoveError": "Failed to move project",
+ "tasksTitle": "Tasks",
+ "moveTargetLabel": "Workspace",
+ "moveDialogTitle": "Move to another workspace?",
+ "moveDialogDescription": "Tasks assigned to people outside the new workspace become unassigned, and notification subscriptions for this project are cleared.",
+ "moving": "Moving..."
},
"projectIntegrations": {
- "pageTitle": "Project Integrations",
- "title": "Project Integrations",
- "subtitle": "Connect your project with external tools and services to streamline your workflow.",
+ "pageTitle": "Integrations",
+ "title": "Integrations",
+ "subtitle": "Connect this project to your code host and your team's chat.",
"githubSectionTitle": "GitHub Integration",
"githubSectionSubtitle": "Synchronize tasks with GitHub issues and enable two-way sync.",
"giteaSectionTitle": "Gitea Integration",
"giteaSectionSubtitle": "Synchronize tasks with a self-hosted Gitea instance (issues, PRs, webhooks).",
"gitlabSectionTitle": "GitLab Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance.",
"discordSectionTitle": "Discord Integration",
"discordSectionSubtitle": "Send project task updates into a Discord channel with a webhook.",
- "genericWebhookSectionTitle": "Generic Webhooks",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Send project task events to any HTTP endpoint as JSON.",
"slackSectionTitle": "Slack Integration",
"slackSectionSubtitle": "Send project task updates into a Slack channel with an incoming webhook.",
@@ -1674,7 +1667,7 @@
"telegramSectionTitle": "Telegram Integration",
"telegramSectionSubtitle": "Send project task updates into a Telegram chat or topic with a bot.",
"codeHostingTitle": "Code hosting",
- "chatTitle": "Chat & webhooks",
+ "chatTitle": "Chat and webhooks",
"statusConnected": "Connected",
"statusPaused": "Paused",
"connect": "Connect",
@@ -1684,104 +1677,127 @@
"projectVisibility": {
"pageTitle": "Project Visibility",
"title": "Visibility",
- "subtitle": "Control who can view and access your project.",
- "sectionTitle": "Visibility",
- "sectionSubtitle": "Toggle public access and share the public URL.",
- "publicAccess": "Public access",
- "publicAccessHint": "Allow anyone with the URL to view this project",
+ "subtitle": "Choose who can see {{project}} outside {{workspace}}.",
+ "sectionTitle": "Access",
+ "publicAccess": "Public link",
+ "publicAccessHint": "Anyone with the link can view the board and its tasks. They can't change anything.",
"publicUrl": "Public URL",
- "publicUrlHint": "Share this link if the project is public",
- "copy": "Copy",
- "copiedToast": "Copied",
+ "copy": "Copy link",
"toastUpdated": "Visibility updated",
- "toastUpdateError": "Failed to update visibility"
+ "toastUpdateError": "Failed to update visibility",
+ "thisWorkspace": "this workspace",
+ "membersTitle": "{{workspace}} members",
+ "membersDescription": "Everyone in the workspace, with what their role allows.",
+ "always": "Always",
+ "on": "On",
+ "copied": "Copied",
+ "copyError": "Couldn't copy the link",
+ "openPublicPage": "Open public page",
+ "offNote": "Turning the public link off stops it working right away."
},
"projectWorkflow": {
- "pageTitle": "Workflow Settings",
+ "pageTitle": "Workflow settings",
"title": "Workflow",
- "subtitle": "Configure board columns and automation rules for this project.",
+ "subtitle": "The columns on your board, and what moves tasks between them.",
"columnsTitle": "Columns",
- "columnsDescription": "Manage the columns that appear on your board. Drag to reorder. Turn on \"Done column\" for stages that represent completed work.",
- "customFieldsTitle": "Custom Fields",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "automationTitle": "Automation Rules",
- "automationDescription": "Map integration events to columns. When an event occurs, the linked task moves to the specified column."
+ "columnsDescription": "Drag to reorder. Tasks in a done column count as completed.",
+ "automationTitle": "Automations",
+ "automationDescription": "Move a linked task when something happens in a connected repository."
},
"projectSwitcher": {
"selectProject": "Select project",
"noProjects": "No projects"
},
"columnEditor": {
- "toastCreated": "Column created",
"toastCreateError": "Failed to create column",
- "toastRenamed": "Column renamed",
"toastRenameError": "Failed to update column",
- "toastFinalOn": "Column marked as final",
- "toastFinalOff": "Column unmarked as final",
"toastUpdateError": "Failed to update column",
- "toastIconUpdated": "Column icon updated",
- "toastDeleted": "Column deleted",
"toastDeleteError": "Failed to delete column",
- "loading": "Loading columns...",
"pickIconTitle": "Pick column icon",
"searchIconsPlaceholder": "Search icons...",
- "doneColumnTooltip": "Treat this as a done column",
- "doneColumn": "Done column",
"markDoneAria": "Mark {{name}} as done column",
- "on": "On",
- "off": "Off",
- "newColumnPlaceholder": "New column name...",
- "add": "Add",
+ "newColumnPlaceholder": "Column name",
"deleteAria": "Delete {{name}} column",
- "renameAria": "Rename {{name}} column"
+ "renameAria": "Rename {{name}} column",
+ "columnHeader": "Column",
+ "doneHeader": "Done",
+ "addColumn": "Add column",
+ "dragAria": "Reorder {{name}}",
+ "deleteTitle": "Delete “{{name}}”?",
+ "deleteDescription": "Columns that still have tasks can't be deleted. Move those tasks first.",
+ "deleteConfirm": "Delete column",
+ "reorderError": "Failed to reorder columns"
},
"customFields": {
"namePlaceholder": "Field name",
- "typePlaceholder": "Select field type",
"noOptionsPlaceholder": "No options",
"defaultValuePlaceholder": "Default value",
- "optionsPlaceholder": "Options separated by commas",
"selectPlaceholder": "Select option(s)",
- "defaultValues": "{{count}} default(s)",
"required": "Required",
- "addButton": "Add",
"creating": "Creating...",
- "loading": "Loading custom fields...",
- "empty": "No custom fields configured yet.",
"defaultLabel": "Default",
"createSuccess": "Custom field created.",
"createError": "Failed to create custom field.",
- "deleteButton": "Delete",
"deleting": "Deleting...",
"deleteSuccess": "Custom field deleted.",
"deleteError": "Failed to delete custom field.",
"reorderError": "Failed to reorder fields",
"moreOptions": "+{{hiddenCount}} more",
- "clearDefault": "Clear",
- "options": "{{count}} option(s)",
+ "clearDefault": "Clear default",
"availableOptions": "Available options",
"types": {
"text": "Text",
"number": "Number",
"date": "Date",
"dropdown": "Dropdown",
- "boolean": "Boolean",
- "multiselect": "Multi-Select"
- },
- "multiple": "Multiple"
+ "boolean": "Checkbox",
+ "multiselect": "Dropdown, pick several"
+ },
+ "startsAs": "Starts as “{{value}}”",
+ "startsAt": "Starts at {{value}}",
+ "startsOn": "Starts on {{date}}",
+ "startsChecked": "Starts checked",
+ "startsUnchecked": "Starts unchecked",
+ "dragAria": "Reorder {{name}}",
+ "actionsAria": "Actions for {{name}}",
+ "edit": "Edit",
+ "emptyTitle": "No custom fields yet",
+ "emptyDescription": "Track things like size, customer, or launch date on every task.",
+ "deleteTitle": "Delete “{{name}}”?",
+ "deleteDescription": "The field and its value on every task are removed. This can't be undone.",
+ "deleteConfirm": "Delete field",
+ "newTitle": "New field",
+ "editTitle": "Edit field",
+ "dialogDescription": "Every task in {{project}} gets this field.",
+ "dialogDescriptionFallback": "Every task in this project gets this field.",
+ "typeLabel": "Type",
+ "typeLocked": "The type can't change after a field is created.",
+ "nameLabel": "Name",
+ "optionsLabel": "Options",
+ "addOption": "Add an option",
+ "dragOptionAria": "Reorder {{option}}",
+ "renameOptionAria": "Rename {{option}}",
+ "removeOptionAria": "Remove {{option}}",
+ "allowSeveral": "Allow several",
+ "allowSeveralDescription": "A task can pick more than one option.",
+ "requiredDescription": "Every task always has a value.",
+ "defaultDescription": "New tasks start with this.",
+ "noDefault": "No default",
+ "checked": "Checked",
+ "unchecked": "Unchecked",
+ "issues": {
+ "optionsRequired": "Add at least one option.",
+ "moreOptionsRequired": "Add at least two options to allow several.",
+ "defaultRequired": "Required fields need a default."
+ },
+ "createField": "Create field",
+ "save": "Save",
+ "saving": "Saving...",
+ "updateSuccess": "Custom field saved.",
+ "updateError": "Failed to save custom field."
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Repository owner is required",
- "ownerInvalid": "Invalid repository owner format",
- "nameRequired": "Repository name is required",
- "nameInvalid": "Invalid repository name format"
- },
"toast": {
- "installedOk": "GitHub App is properly installed!",
- "installedMissingPerms": "GitHub App is installed but missing required permissions",
- "needsInstallOnRepo": "GitHub App needs to be installed on this repository",
- "repoNotFound": "Repository not found or not accessible",
"verifyError": "Failed to verify GitHub installation",
"installAppFirst": "Please install the GitHub App on this repository first",
"missingPermsDetail": "GitHub App is missing required permissions: {{list}}. Please update the app permissions.",
@@ -1795,66 +1811,36 @@
"commentOnDisabled": "Task link comments on new issues are turned off",
"settingsUpdateError": "Failed to update GitHub integration"
},
- "connectionStatus": "Connection Status",
- "connectedActive": "Repository connected and active",
- "notConnectedHint": "No repository connected",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not Connected",
- "repository": "Repository",
- "repositoryHint": "Connected GitHub repository",
- "commentTaskLinkTitle": "Comment Kaneo link on new issues",
- "commentTaskLinkHint": "When enabled, Kaneo posts a comment on each new GitHub issue with a link to the task.",
- "appStatusTitle": "GitHub App Status",
- "appStatusHint": "Installation and permissions status",
- "statusProperlyConfigured": "Properly configured",
- "statusMissingPermissions": "Missing permissions",
- "statusNotInstalled": "Not installed",
- "ownerLabel": "Repository Owner",
- "ownerHint": "GitHub username or organization",
- "ownerPlaceholder": "e.g., octocat",
- "repoNameLabel": "Repository Name",
- "repoNameHint": "The repository name",
- "repoNamePlaceholder": "e.g., my-project",
- "actionsTitle": "Actions",
- "actionsHint": "Manage your repository connection",
- "browse": "Browse",
- "verify": "Verify",
- "update": "Update",
- "connect": "Connect",
- "disconnect": "Disconnect",
- "missingPermissionsLabel": "Missing permissions:",
- "updatePermissions": "Update Permissions",
+ "commentTaskLinkTitle": "Comment a Kaneo link on new issues",
+ "commentTaskLinkHint": "So people on GitHub can jump to the task.",
+ "updatePermissions": "Update permissions",
"installGithubApp": "Install GitHub App",
- "importSectionTitle": "Import GitHub Issues",
- "importSectionHint": "Import existing issues from your GitHub repository as tasks",
- "importing": "Importing...",
- "importIssues": "Import Issues",
- "importDisabledHint": "Complete the repository configuration above to enable importing",
+ "importSectionHint": "Import the repository's open issues as tasks.",
+ "importDisabledHint": "Reconnect the repository to enable importing.",
"accountVerificationHint": "Connect your GitHub account to verify that you administer this repository.",
"enableGithubSignInHint": "Ask your instance administrator to enable GitHub sign-in.",
"reverifyHint": "Reconnect this repository to verify access and resume synchronization.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Issues and pull requests from it will link to tasks here.",
+ "linkAccountDescription": "Proves you can administer the repository.",
+ "linkAccountTitle": "Link your GitHub account",
+ "linkGithub": "Link GitHub",
+ "linked": "Linked",
+ "verifyMissingPermissions": "The Kaneo GitHub App is missing permissions: {{list}}.",
+ "verifyNotInstalled": "The Kaneo GitHub App isn't installed on this repository.",
+ "verifyReady": "The Kaneo GitHub App is installed with the permissions it needs.",
+ "workflowHint": "Move tasks when pull requests open or merge in",
+ "workflowLink": "Workflow"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea base URL is required",
- "baseUrlInvalid": "Enter a valid URL (e.g. https://gitea.example.com)",
- "ownerRequired": "Repository owner is required",
- "ownerInvalid": "Invalid repository owner format",
- "nameRequired": "Repository name is required",
- "nameInvalid": "Invalid repository name format"
+ "baseUrlInvalid": "Enter a valid URL (e.g. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea token can access this repository",
- "verifyWarning": "Check token permissions or repository access",
- "repoNotFound": "Repository not found or not accessible",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly.",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
"verifyError": "Failed to verify Gitea access",
- "tokenRequired": "Personal access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
"verifyFirst": "Verify access failed. Check URL, token, and repository",
"updated": "Gitea integration saved",
"updateError": "Failed to save Gitea integration",
@@ -1864,71 +1850,31 @@
"importError": "Failed to import issues",
"commentOnEnabled": "Kaneo will comment with a task link on new issues",
"commentOnDisabled": "Task link comments on new issues are turned off",
- "settingsUpdateError": "Failed to update Gitea integration",
- "secretCopied": "Copied",
- "unableToCopySecret": "Unable to copy secret"
- },
- "webhookShow": "Show",
- "webhookHide": "Hide",
- "webhookCopy": "Copy",
- "connectionStatus": "Connection status",
- "connectedActive": "Repository connected and active",
- "notConnectedHint": "No Gitea repository connected",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "repository": "Repository",
- "repositoryHint": "Linked Gitea repository",
- "commentTaskLinkTitle": "Comment Kaneo link on new issues",
- "commentTaskLinkHint": "When enabled, Kaneo posts a comment on each new issue with a link to the task.",
- "webhookTitle": "Webhook",
- "webhookHint": "In your Gitea repository, add a webhook with this URL and secret. Enable push, pull request, issues, issue comments, and create (for labels).",
- "webhookSecretLabel": "Secret (must match the webhook secret in Gitea)",
+ "settingsUpdateError": "Failed to update Gitea integration"
+ },
+ "commentTaskLinkTitle": "Comment a Kaneo link on new issues",
+ "commentTaskLinkHint": "So people on Gitea can jump to the task.",
+ "webhookHint": "Add this webhook in the repository settings so changes come back to Kaneo.",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "Root URL of your Gitea instance",
"tokenLabel": "Personal access token",
- "tokenHint": "Token with repo and issues access",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
- "currentToken": "stored",
- "ownerLabel": "Owner",
- "ownerHint": "User or organization name",
- "repoNameLabel": "Repository name",
- "repoNameHint": "Repository name only (no owner)",
- "actionsTitle": "Actions",
- "actionsHint": "Verify access and connect",
- "browse": "Browse",
- "verify": "Verify",
- "update": "Update",
- "connect": "Connect",
- "disconnect": "Disconnect",
- "importSectionTitle": "Import Gitea issues",
- "importSectionHint": "Import open issues and pull requests from the repository",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importDisabledHint": "Verify the repository above to enable importing",
- "browseModalTitle": "Your repositories",
- "browseModalHint": "Repositories your token can access",
- "searchRepos": "Search…",
- "browseNeedsCredentials": "Enter Gitea URL and token to browse",
- "loadingRepos": "Loading repositories…",
- "retry": "Retry"
+ "importSectionHint": "Import open issues and pull requests as tasks.",
+ "importDisabledHint": "Importing needs verified access. Check the token status above.",
+ "browseModalHint": "Repositories your token can access.",
+ "browseNeedsCredentials": "Enter the Gitea URL and a token to browse.",
+ "browseEmpty": "This token can't see any repositories.",
+ "chooseRepositoryDescription": "Type owner/name or pick one from the list.",
+ "webhookEvents": "Turn on push, pull request, issue, issue comment, and create events."
},
"gitlabIntegration": {
"validation": {
"baseUrlRequired": "GitLab base URL is required",
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
- "pathRequired": "Project path is required",
"pathInvalid": "Enter the full path, e.g. group/project"
},
"toast": {
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
"verifyError": "Failed to verify GitLab access",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
"verifyFirst": "Verify access failed. Check URL, token, and project path",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
@@ -1938,59 +1884,31 @@
"importError": "Failed to import issues",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
- "settingsUpdateError": "Failed to update GitLab integration",
- "secretCopied": "Copied",
- "unableToCopySecret": "Unable to copy secret"
- },
- "webhookShow": "Show",
- "webhookHide": "Hide",
- "webhookCopy": "Copy",
- "connectionStatus": "Connection status",
- "connectedActive": "Project connected and active",
- "notConnectedHint": "No GitLab project connected",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "project": "Project",
- "projectHint": "Linked GitLab project",
+ "settingsUpdateError": "Failed to update GitLab integration"
+ },
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
- "webhookTitle": "Webhook",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
+ "commentTaskLinkHint": "So people on GitLab can jump to the task.",
+ "webhookHint": "Add this webhook in the project settings so changes come back to Kaneo.",
"baseUrlLabel": "GitLab URL",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"tokenTypeLabel": "Token type",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypePrivate": "Personal, project or group access token",
"tokenTypeBearer": "OAuth2 token",
"tokenLabel": "Access token",
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
- "currentToken": "stored",
"projectPathLabel": "Project path",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
- "actionsTitle": "Actions",
- "actionsHint": "Verify access and connect",
- "browse": "Browse",
- "verify": "Verify",
- "update": "Update",
- "connect": "Connect",
- "disconnect": "Disconnect",
- "importSectionTitle": "Import GitLab issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importDisabledHint": "Verify the project above to enable importing",
- "browseModalTitle": "Your projects",
- "browseModalHint": "Projects your token is a member of",
- "searchProjects": "Search…",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "loadingProjects": "Loading projects…",
- "loadProjectsError": "Failed to load projects",
+ "importSectionHint": "Import open issues and merge requests as tasks.",
+ "browseModalHint": "Projects your token is a member of.",
+ "searchProjects": "Search projects",
+ "browseNeedsCredentials": "Enter the GitLab URL and a token to browse.",
+ "loadProjectsError": "Couldn't load projects.",
"openInGitlab": "Open {{project}} in GitLab",
- "retry": "Retry",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "This token isn't a member of any projects.",
+ "chooseProjectDescription": "Type its path or pick one from the list.",
+ "noSearchMatchTitle": "No matching projects",
+ "useProject": "Use project",
+ "webhookEvents": "Turn on push, issue, comment, and merge request events."
},
"slackIntegration": {
"validation": {
@@ -2005,30 +1923,10 @@
"removed": "Slack integration removed successfully",
"removeError": "Failed to remove Slack integration"
},
- "connectionTitle": "Slack webhook connection",
- "connectionHint": "Paste a Slack incoming webhook URL and choose which task events should be posted.",
- "connected": "Connected",
- "paused": "Paused",
- "webhookLabel": "Incoming webhook URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Create an Incoming Webhook in Slack and paste the generated URL here.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Optional label for your reference. Slack controls the actual destination channel from the webhook setup.",
- "eventsTitle": "Event notifications",
- "eventsHint": "Choose which project changes should post to Slack.",
- "events": {
- "taskCreated": "New tasks",
- "taskStatusChanged": "Status changes",
- "taskPriorityChanged": "Priority changes",
- "taskTitleChanged": "Title changes",
- "taskDescriptionChanged": "Description changes",
- "taskCommentCreated": "New comments"
- },
+ "webhookHint": "Create an incoming webhook in Slack and paste it here.",
"connect": "Connect Slack",
- "saveChanges": "Save changes",
- "update": "Update Slack",
- "disconnect": "Disconnect"
+ "update": "Update Slack"
},
"discordIntegration": {
"validation": {
@@ -2043,30 +1941,10 @@
"removed": "Discord integration removed successfully",
"removeError": "Failed to remove Discord integration"
},
- "connectionTitle": "Discord webhook connection",
- "connectionHint": "Paste a Discord webhook URL and choose which task events should be posted.",
- "connected": "Connected",
- "paused": "Paused",
- "webhookLabel": "Webhook URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Create a Discord channel webhook and paste the generated URL here.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Optional label for your reference. Discord controls the actual destination channel from the webhook setup.",
- "eventsTitle": "Event notifications",
- "eventsHint": "Choose which project changes should post to Discord.",
- "events": {
- "taskCreated": "New tasks",
- "taskStatusChanged": "Status changes",
- "taskPriorityChanged": "Priority changes",
- "taskTitleChanged": "Title changes",
- "taskDescriptionChanged": "Description changes",
- "taskCommentCreated": "New comments"
- },
+ "webhookHint": "Create a channel webhook in Discord and paste it here.",
"connect": "Connect Discord",
- "saveChanges": "Save changes",
- "update": "Update Discord",
- "disconnect": "Disconnect"
+ "update": "Update Discord"
},
"mattermostIntegration": {
"validation": {
@@ -2081,34 +1959,15 @@
"removed": "Mattermost integration removed successfully",
"removeError": "Failed to remove Mattermost integration"
},
- "connectionTitle": "Mattermost webhook connection",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connected": "Connected",
- "paused": "Paused",
- "webhookLabel": "Incoming webhook URL",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/...",
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "eventsTitle": "Event notifications",
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "events": {
- "taskCreated": "New tasks",
- "taskStatusChanged": "Status changes",
- "taskPriorityChanged": "Priority changes",
- "taskTitleChanged": "Title changes",
- "taskDescriptionChanged": "Description changes",
- "taskCommentCreated": "New comments"
- },
+ "webhookHint": "Create an incoming webhook in Mattermost and paste it here.",
"connect": "Connect Mattermost",
- "saveChanges": "Save changes",
- "update": "Update Mattermost",
- "disconnect": "Disconnect"
+ "update": "Update Mattermost"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Enter a valid webhook URL"
+ "webhookInvalid": "Enter a valid webhook URL",
+ "leadTimeRange": "Choose a time between 5 minutes and 720 hours."
},
"toast": {
"saved": "Generic webhook integration saved successfully",
@@ -2119,43 +1978,41 @@
"removed": "Generic webhook integration removed successfully",
"removeError": "Failed to remove generic webhook integration"
},
- "connectionTitle": "Outgoing webhook connection",
- "connectionHint": "Send task events to your own endpoint as JSON. A signed X-Kaneo-Signature header is included when a secret is configured.",
- "connected": "Connected",
- "paused": "Paused",
"webhookLabel": "Endpoint URL",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo sends POST requests with a JSON payload for each enabled event.",
"secretLabel": "Signing secret",
- "secretPlaceholder": "Optional shared secret",
- "secretHint": "Optional. If provided, Kaneo signs the request body and sends the hex digest in the X-Kaneo-Signature header.",
- "secretHintConfigured": "A signing secret is already configured ({{secret}}). Enter a new one to replace it.",
- "eventsTitle": "Event notifications",
- "eventsHint": "Choose which project changes should trigger outgoing webhooks.",
+ "secretPlaceholder": "Shared secret",
+ "secretHint": "Kaneo signs each request with it and sends the digest in the X-Kaneo-Signature header.",
+ "secretHintConfigured": "Current secret: {{secret}}. Paste a new one to replace it.",
+ "eventsTitle": "Send when",
"events": {
- "taskCreated": "New tasks",
- "taskStatusChanged": "Status changes",
- "taskPriorityChanged": "Priority changes",
- "taskTitleChanged": "Title changes",
- "taskDescriptionChanged": "Description changes",
- "taskCommentCreated": "New comments",
+ "taskCreated": "Task created",
+ "taskStatusChanged": "Status changed",
+ "taskPriorityChanged": "Priority changed",
+ "taskTitleChanged": "Title changed",
+ "taskDescriptionChanged": "Description changed",
+ "taskCommentCreated": "New comment",
"taskDeleted": "Task deleted",
"taskMoved": "Task moved",
"taskDueDateChanged": "Due date changed",
"taskAssigneeChanged": "Assignee changed",
"taskUnassigned": "Task unassigned",
- "dueDateReminder": "Due-date reminders"
+ "dueDateReminder": "Due date reminder"
},
- "reminderLeadTimeLabel": "Send the webhook this many hours before",
+ "reminderLeadTimeLabel": "Hours before a task is due",
"connect": "Connect webhook",
- "saveChanges": "Save changes",
- "disconnect": "Disconnect"
+ "activeTitle": "Sending events",
+ "reminderLeadTimeBefore": "Send reminders",
+ "reminderLeadTimeAfter": "hours before a task is due",
+ "disconnectTitle": "Disconnect webhook?",
+ "disconnectDescription": "Kaneo stops sending events and removes the saved endpoint and secret."
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Enter a valid Telegram bot token",
"chatIdRequired": "Chat ID is required",
- "threadIdInvalid": "Enter a valid Telegram topic thread ID"
+ "threadIdInvalid": "Enter a valid topic ID"
},
"toast": {
"saved": "Telegram integration saved successfully",
@@ -2166,64 +2023,47 @@
"removed": "Telegram integration removed successfully",
"removeError": "Failed to remove Telegram integration"
},
- "connectionTitle": "Telegram bot connection",
- "connectionHint": "Use a Telegram bot token and chat ID to send project task updates into a chat or topic.",
- "connected": "Connected",
- "paused": "Paused",
"botTokenLabel": "Bot token",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Create a bot with BotFather and paste its token here.",
- "botTokenHintConfigured": "A bot token is already configured ({{token}}). Enter a new one to replace it.",
+ "botTokenHintConfigured": "Current token: {{token}}",
"chatIdLabel": "Chat ID",
"chatIdPlaceholder": "-1001234567890 or @team_updates",
- "chatIdHint": "Enter the Telegram chat ID or channel username where updates should be posted.",
- "threadIdLabel": "Topic thread ID",
- "threadIdPlaceholder": "Optional topic ID",
- "threadIdHint": "Optional. Use this for forum topics inside Telegram groups.",
- "chatLabelLabel": "Chat label",
+ "threadIdLabel": "Topic ID",
+ "threadIdPlaceholder": "For forum topics",
+ "chatLabelLabel": "Chat name",
"chatLabelPlaceholder": "Engineering Updates",
- "chatLabelHint": "Optional label for your reference inside Kaneo.",
- "eventsTitle": "Event notifications",
- "eventsHint": "Choose which project changes should post to Telegram.",
- "events": {
- "taskCreated": "New tasks",
- "taskStatusChanged": "Status changes",
- "taskPriorityChanged": "Priority changes",
- "taskTitleChanged": "Title changes",
- "taskDescriptionChanged": "Description changes",
- "taskCommentCreated": "New comments"
- },
"connect": "Connect Telegram",
- "saveChanges": "Save changes",
- "disconnect": "Disconnect"
+ "loadError": "Couldn't load the Telegram settings.",
+ "botTokenSavedPlaceholder": "Saved. Paste a new token to replace it."
},
"repositoryBrowser": {
- "title": "Select Repository",
- "description": "Choose a repository where your GitHub App is installed to enable issue synchronization.",
- "searchPlaceholder": "Search repositories...",
- "loadError": "Failed to load repositories",
- "tryAgain": "Try Again",
- "emptyTitle": "No repositories found",
+ "title": "Choose a repository",
+ "description": "Repositories the Kaneo GitHub App can see.",
+ "searchPlaceholder": "Search repositories",
+ "loadError": "Couldn't load repositories.",
+ "tryAgain": "Retry",
+ "emptyTitle": "No repositories yet",
"emptyHint": "Install the GitHub App on your repositories to see them here.",
"installGithubApp": "Install GitHub App",
- "noSearchMatchTitle": "No repositories match your search",
- "noSearchMatchHint": "Try adjusting your search terms or clear the search to see all repositories.",
- "footerSummary": "{{repoCount}} repositories across {{installationCount}} installations",
- "manageInstallations": "Manage Installations",
- "updatedPrefix": "Updated",
- "relativeJustNow": "just now",
- "relativeMinutesAgo": "{{count}}m ago",
- "relativeHoursAgo": "{{count}}h ago",
- "relativeDaysAgo": "{{count}}d ago"
+ "noSearchMatchTitle": "No matching repositories",
+ "noSearchMatchHint": "Try a different name or clear the search.",
+ "emptyPageHint": "None on this page. Load more to keep looking.",
+ "loadMore": "Load more",
+ "manageAccess": "Manage app access",
+ "missingOne": "Missing one?",
+ "searching": "Searching…",
+ "updated": "Updated {{time}}",
+ "useRepository": "Use repository"
},
"tasksImportExport": {
- "exportTasks": "Export Tasks",
- "importTasks": "Import Tasks",
- "dialogTitle": "Import Tasks",
+ "exportTasks": "Export tasks",
+ "importTasks": "Import tasks",
+ "dialogTitle": "Import tasks",
"dialogDescription": "Upload a JSON file containing tasks to import into this project.",
"expectedFormat": "Expected format:",
"dropHint": "Drag and drop your JSON file here",
- "selectFile": "Select File",
+ "selectFile": "Select file",
"exporting": "Exporting tasks...",
"exportSuccess": "Tasks exported successfully",
"exportError": "Failed to export tasks",
@@ -2233,27 +2073,26 @@
"importError": "Failed to import tasks",
"invalidFormat": "Invalid import file format",
"noFileDropped": "No file was dropped",
- "notJsonFile": "Please upload a JSON file"
+ "notJsonFile": "Please upload a JSON file",
+ "exportDescription": "Download every task in this project as a file.",
+ "export": "Export",
+ "importDescription": "Add tasks from a file you exported earlier.",
+ "import": "Import"
},
"workflowEditor": {
- "loading": "Loading...",
- "createColumnsFirst": "Create columns first to configure automation rules.",
- "githubHeading": "GitHub",
- "githubHint": "When a GitHub event occurs, move the linked task to a column.",
- "giteaHeading": "Gitea",
- "giteaHint": "When a Gitea webhook event occurs, move the linked task to a column.",
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column.",
- "selectColumnPlaceholder": "Select column...",
- "toastUpdated": "Workflow rule updated",
"toastError": "Failed to update rule",
"events": {
- "branch_push": "Branch Push",
- "pr_opened": "PR Opened",
- "pr_merged": "PR Merged",
- "issue_opened": "Issue Opened",
- "issue_closed": "Issue Closed"
- }
+ "branch_push": "Branch pushed",
+ "pr_opened": "Pull request opened",
+ "pr_merged": "Pull request merged",
+ "issue_opened": "Issue opened",
+ "issue_closed": "Issue closed"
+ },
+ "dontMove": "Don't move",
+ "emptyTitle": "No connected repositories",
+ "emptyDescription": "Automations need a connected GitHub, Gitea, or GitLab repository.",
+ "openIntegrations": "Open integrations",
+ "connectMore": "Connect {{providers}} in <link>Integrations</link> to automate them too."
},
"externalLinks": {
"resources": "Resources",
@@ -2275,17 +2114,16 @@
"securityPage": {
"pageTitle": "Security",
"title": "Security",
- "subtitle": "Manage your password and account security.",
- "sectionTitle": "Password",
- "sectionSubtitle": "Change the password you use to sign in.",
+ "subtitle": "How you sign in to Kaneo.",
+ "sectionTitle": "Sign-in",
"currentPassword": "Current password",
"newPassword": "New password",
"confirmPassword": "Confirm new password",
"currentPasswordPlaceholder": "Enter your current password",
"newPasswordPlaceholder": "Enter a new password",
"confirmPasswordPlaceholder": "Re-enter your new password",
- "submit": "Update password",
- "submitting": "Updating...",
+ "submit": "Change password",
+ "submitting": "Changing...",
"updateSuccess": "Password updated.",
"updateError": "Failed to update password.",
"noPassword": {
@@ -2298,15 +2136,18 @@
"confirmRequired": "Confirm your new password.",
"mismatch": "Passwords do not match.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "passwordTitle": "Password",
+ "passwordHint": "Use at least 8 characters you don't use anywhere else.",
+ "changePassword": "Change password",
+ "dialogTitle": "Change password",
+ "dialogDescription": "At least 8 characters, different from the current one."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Only include labels",
+ "selectLabels": "Add label",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -2314,50 +2155,57 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Feeds",
+ "allScheduledTasks": "All scheduled tasks",
+ "subscribeHint": "Add a link to your calendar app as a subscription. Updates appear when the app refreshes the feed.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "newFeed": "New feed",
+ "dialogTitle": "New calendar feed",
+ "dialogDescription": "Tasks with a start or due date show up in the feed.",
+ "labelsHint": "Leave empty to include every scheduled task.",
+ "copiedLabel": "Copied",
+ "feedActions": "Feed actions",
+ "revokeConfirmTitle": "Revoke this feed?",
+ "revokeConfirmDescription": "Calendar apps using this link stop getting updates. This can't be undone.",
+ "revokeConfirm": "Revoke feed",
+ "revoking": "Revoking…",
+ "emptyTitle": "No calendar feeds yet",
+ "emptyDescription": "Create a feed to see scheduled tasks in your calendar app."
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
"pageTitle": "Billing",
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Your plan for {{workspace}}.",
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
"currentPlan": {
- "title": "Current plan",
- "subtitle": "Your workspace's active plan and billing status."
+ "title": "Current plan"
},
"foundingFree": {
"title": "Founding Free",
"badge": "Free",
"description": "This workspace has free access to Kaneo Cloud as an early supporter. Thank you for being here from the start."
},
- "planName": "Kaneo Cloud {{plan}}",
"seats_one": "{{count}} seat",
"seats_other": "{{count}} seats",
"accessEnds": "Access ends",
"renews": "Renews",
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Invoices, payment method, and cancelling are handled in Creem.",
"manage": "Manage billing",
"opening": "Opening...",
"trial": {
"activeTitle": "Free trial",
"expiredTitle": "Your trial has ended",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "{{count}} day left",
+ "badgeDaysLeft_other": "{{count}} days left"
},
"choosePlan": {
"title": "Choose a plan",
@@ -2428,6 +2276,84 @@
"action": "Choose a plan"
},
"openFailed": "Couldn't open billing for this workspace"
+ },
+ "chatIntegrations": {
+ "optional": "Optional",
+ "webhookUrlLabel": "Webhook URL",
+ "savedUrlPlaceholder": "Saved. Paste a new URL to replace it.",
+ "channelLabel": "Channel",
+ "channelPlaceholder": "#team-updates",
+ "channelHint": "Just a label for this list.",
+ "postWhen": "Post when",
+ "events": {
+ "taskCreated": "A task is created",
+ "taskStatusChanged": "Status changes",
+ "taskPriorityChanged": "Priority changes",
+ "taskTitleChanged": "Title changes",
+ "taskDescriptionChanged": "Description changes",
+ "taskCommentCreated": "Someone comments"
+ },
+ "activeTitle": "Posting to {{provider}}",
+ "activeDescription": "Turn off to pause without losing the setup.",
+ "saveChanges": "Save changes",
+ "disconnect": "Disconnect",
+ "disconnecting": "Disconnecting…",
+ "disconnectTitle": "Disconnect {{provider}}?",
+ "disconnectDescription": "Kaneo stops posting to {{provider}} and removes the saved settings.",
+ "retry": "Retry"
+ },
+ "codeHosting": {
+ "browse": "Browse",
+ "changeToken": "Change token",
+ "checking": "Checking access…",
+ "chooseProjectTitle": "Choose a project",
+ "chooseRepositoryTitle": "Choose a repository",
+ "connectProject": "Connect project",
+ "connectRepository": "Connect repository",
+ "copied": "Copied",
+ "copyFailed": "Couldn't copy to the clipboard.",
+ "copySecret": "Copy secret",
+ "copyUrl": "Copy webhook URL",
+ "disconnect": "Disconnect",
+ "disconnectDescription": "Tasks stop syncing with {{target}}. You can connect it again later.",
+ "disconnectTitle": "Disconnect {{provider}}?",
+ "disconnecting": "Disconnecting…",
+ "hideSecret": "Hide secret",
+ "importIssues": "Import issues",
+ "importNeedsReconnect": "Reconnect to enable importing.",
+ "importTitle": "Import open issues",
+ "importing": "Importing…",
+ "issuesSection": "Issues",
+ "lastImport": "Last import: {{imported}} created, {{updated}} updated, {{skipped}} skipped.",
+ "loadError": "Couldn't load this integration.",
+ "pausedHint": "Syncing is paused. Reconnect to resume.",
+ "projectSection": "Project",
+ "reconnect": "Reconnect",
+ "repositoryPathInvalid": "Enter the repository as owner/name.",
+ "repositoryPathLabel": "Repository",
+ "repositorySection": "Repository",
+ "retry": "Retry",
+ "saveToken": "Save token",
+ "showSecret": "Show secret",
+ "signInDescription": "Use a token that can read the project and its issues.",
+ "signInTitle": "Sign in to your instance",
+ "tokenStored": "Stored token",
+ "tokenTitle": "Access token",
+ "webhookSecret": "Secret",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "shared": {
+ "autosave": "Changes save automatically"
+ },
+ "projectCustomFields": {
+ "pageTitle": "Custom fields",
+ "title": "Custom fields",
+ "subtitle": "Extra details every task in {{project}} can track, like size or customer.",
+ "subtitleFallback": "Extra details every task in this project can track, like size or customer.",
+ "newField": "New field",
+ "fieldsTitle": "Fields",
+ "fieldsDescription": "Drag to change the order they appear in on a task."
}
},
"navigation": {
diff --git a/i18n/es-ES.json b/i18n/es-ES.json
index e945ec06c..f11d26ca8 100644
--- a/i18n/es-ES.json
+++ b/i18n/es-ES.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Nunca"
- },
"modals": {
"createProject": {
"title": "Crear un nuevo proyecto",
@@ -571,36 +568,31 @@
"advancedSettings": "Configuración avanzada",
"account": "Cuenta",
"developer": "Desarrollador",
- "information": "Información",
+ "information": "Perfil",
"preferences": "Ajustes",
- "apiKeys": "Claves de APIs",
+ "apiKeys": "Claves de API",
"informationPage": {
- "pageTitle": "Información Personal",
- "title": "Información Personal",
- "subtitle": "Gestiona los detalles e información de tu cuenta.",
- "sectionTitle": "Información de la cuenta",
- "sectionSubtitle": "Gestiona tu perfil y detalles de tu cuenta.",
+ "pageTitle": "Perfil",
+ "title": "Perfil",
+ "subtitle": "Cómo te ven tus compañeros de equipo.",
+ "sectionTitle": "Detalles",
"profilePicture": "Foto de perfil",
- "fullName": "Nombre completo",
+ "fullName": "Nombre",
"fullNamePlaceholder": "Introduce tu nombre",
"email": "Email",
- "emailPlaceholder": "Introduce tu correo electrónico",
- "updateSuccess": "Perfil actualizado correctamente",
"updateError": "Error al actualizar tu perfil",
"validation": {
"nameRequired": "El nombre es obligatorio",
- "nameShort": "Tu nombre debe tener al menos 2 caracteres",
- "invalidEmail": "Dirección de correo electrónico no válida"
+ "nameShort": "Tu nombre debe tener al menos 2 caracteres"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Las imágenes cuadradas quedan mejor.",
+ "remove": "Quitar",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Subir"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -609,142 +601,122 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Inicias sesión con esta dirección."
},
"preferencesPage": {
"title": "Preferencias",
- "subtitle": "Personaliza tu experiencia Kaneo.",
- "appearanceTitle": "Apariencia",
- "appearanceSubtitle": "Ajustes visuales y de diseño.",
+ "subtitle": "Cómo se ve y funciona Kaneo para ti.",
+ "appearanceTitle": "General",
"theme": "Tema",
- "themeDescription": "Elige tu tema preferido",
"selectTheme": "Selecciona un tema",
"themeLight": "Día",
"themeDark": "Noche",
- "themeSystem": "Sistema",
+ "themeSystem": "Según el sistema",
"language": "Idioma",
- "languageDescription": "Elige el idioma de la interfaz",
"selectLanguage": "Seleccionar un idioma",
"firstDayOfWeek": "Primer día de la semana",
- "firstDayOfWeekDescription": "Elige qué día comienzan los calendarios y las semanas",
+ "firstDayOfWeekDescription": "Se usa en los calendarios y selectores de fecha.",
"selectFirstDayOfWeek": "Selecciona el primer día",
"weekStartsOnSunday": "Domingo",
"weekStartsOnMonday": "Lunes",
"weekStartsOnSaturday": "Sábado",
"defaultView": "Vista por defecto",
- "defaultViewDescription": "Elige la vista por defecto para las tareas",
+ "defaultViewDescription": "La vista con la que se abren los proyectos.",
"selectViewMode": "Elige una vista por defecto",
"board": "Tablero",
"list": "Lista",
"gantt": "Gantt",
- "sidebarDefault": "Barra lateral por defecto",
- "sidebarDefaultDescription": "Mantener la barra lateral al iniciar",
- "displayOptions": "Ver opciones",
- "displayOptionsDescription": "Elige qué información ver en las tareas",
- "taskNumbers": "Número de tarea",
- "taskNumbersDescription": "Mostrar el ID y el número de las tareas",
+ "sidebarDefault": "Mantener la barra lateral abierta",
+ "sidebarDefaultDescription": "Empezar con la barra lateral desplegada.",
+ "displayOptions": "Detalles de las tareas",
+ "displayOptionsDescription": "Qué se muestra en las tarjetas y filas de tus tableros y listas.",
+ "taskNumbers": "Números de tarea",
"assignees": "Asignados",
- "assigneesDescription": "Mostrar quién tiene asignadas las tareas",
"dueDates": "Fechas de vencimiento",
- "dueDatesDescription": "Mostrar el vencimiento de las tareas",
"labels": "Etiquetas",
- "labelsDescription": "Mostrar descripción y etiquetas de las tareas",
"priority": "Prioridad",
- "priorityDescription": "Mostrar indicador de prioridad",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Muestra la imagen que un proyecto pone detrás de su tablero.",
+ "advancedTitle": "Avanzado"
},
"developerPage": {
- "pageTitle": "Ajustes de Desarrollador",
- "title": "Ajustes de Desarrollador",
- "subtitle": "Gestiona tus claves de API y recursos de desarrollo.",
- "apiKeysCardTitle": "Claves de API",
- "apiKeysCardDescription": "Crea y gestiona las claves de API para acceder a Kaneo.",
- "createApiKey": "Crear clave de API",
- "unnamedKey": "Clave sin nombre"
+ "pageTitle": "Claves de API",
+ "title": "Claves de API",
+ "subtitle": "Permite que scripts, la CLI y clientes MCP usen Kaneo en tu nombre.",
+ "unnamedKey": "Sin nombre",
+ "emptyDescription": "Crea una clave para usar la CLI, un cliente MCP o tus propios scripts.",
+ "emptyTitle": "Todavía no hay claves de API",
+ "keysNote": "Una clave puede hacer todo lo que puedes hacer tú. Elimina las claves que ya no uses.",
+ "keysTitle": "Claves",
+ "loadError": "No se han podido cargar las claves de API. Inténtalo de nuevo.",
+ "newKey": "Nueva clave"
},
"apiKey": {
"createdModal": {
- "title": "Clave de API creada",
- "description": "Tu clave de API \"{{keyName}}\" ha sido creada correctamente.",
- "yourApiKey": "Tu clave de API",
+ "title": "Copia tu clave",
+ "description": "No volverás a verla después de cerrar esto.",
"copy": "Copiar",
"copied": "Copiada",
- "toastCopied": "Clave de API copiada al portapapeles",
- "alertTitle": "¡Éxito! Tu clave de API ha sido creada",
- "alertDescription": "Copia esta clave ahora. No podrás verla de nuevo en el futuro.",
"done": "Hecho",
- "copyToContinue": "Copia la clave para continuar"
+ "copyError": "No se ha podido copiar la clave. Selecciónala y cópiala manualmente."
},
"table": {
- "loading": "Cargando claves de API...",
- "empty": "No hay ninguna clave de API aún. Crea una para comenzar.",
- "columnName": "Nombre",
- "columnKey": "Clave",
- "columnCreated": "Fecha de creación",
- "columnExpires": "Fecha de expiración",
- "columnActions": "Acciones",
- "unnamedKey": "Clave sin nombre",
- "expiredBadge": "Expirada {{label}}",
- "deleteConfirmTitle": "¿Borrar clave de API?",
- "deleteConfirmDescription": "Esta acción no puede deshacerse. Esto borrará {{name}} permanentemente.",
- "deleteFallbackName": "esta clave de API",
- "delete": "Eliminar",
- "deleting": "Eliminando...",
- "deleteAria": "Eliminar {{name}}",
- "deleteAriaFallback": "Clave de API",
- "toastDeleted": "Clave de API eliminada correctamente",
- "toastDeleteError": "Error al eliminar clave de API"
+ "deleteConfirmTitle": "¿Eliminar “{{name}}”?",
+ "deleteConfirmDescription": "Todo lo que use esta clave dejará de funcionar. No se puede deshacer.",
+ "delete": "Eliminar clave",
+ "deleting": "Eliminando…",
+ "toastDeleted": "Clave de API eliminada",
+ "toastDeleteError": "No se ha podido eliminar la clave de API"
},
"createDialog": {
- "title": "Crear clave de API",
- "description": "Create una nueva clave de API para acceder a la API de Kaneo.",
+ "title": "Nueva clave de API",
+ "description": "La clave puede hacer todo lo que puedes hacer tú.",
"nameLabel": "Nombre",
- "namePlaceholder": "Mi API Key",
- "nameDescription": "Un nombre descriptivo para esta clave de API",
- "expirationLabel": "Expiración",
- "expirationPlaceholder": "Seleccionar fecha de expiración",
- "expirationDescription": "Elige cuánto tiempo debe ser válida esta clave. Nunca crees una clave sin expiración automática.",
+ "namePlaceholder": "Mi clave de API",
+ "nameDescription": "Para que recuerdes dónde se usa.",
+ "expirationLabel": "Caduca",
"expiration1d": "1 día",
"expiration7d": "7 días",
"expiration30d": "30 días",
"expiration90d": "90 días",
"expirationNever": "Nunca",
- "create": "Crear",
- "creating": "Creando...",
- "failedCreate": "Error al crear clave de API",
+ "create": "Crear clave",
+ "creating": "Creando…",
+ "failedCreate": "No se ha podido crear la clave de API",
"validation": {
- "nameRequired": "El nombre es obligatorio",
- "nameShort": "El nombre debe tener al menos 3 caracteres",
- "expirationRequired": "La fecha de expiración es obligatoria"
+ "nameRequired": "Introduce un nombre",
+ "nameShort": "Usa al menos 3 caracteres"
}
+ },
+ "row": {
+ "actions": "Acciones para {{name}}",
+ "created": "Creada el {{date}}",
+ "expired": "Caducó el {{date}}",
+ "expiredBadge": "Caducada",
+ "expires": "Caduca el {{date}}",
+ "neverExpires": "No caduca nunca"
}
},
"workspaceGeneral": {
"pageTitle": "Ajustes Generales",
- "title": "Ajustes Generales",
- "subtitle": "Gestiona el nombre y la descripción de tu espacio de trabajo.",
- "workspaceInfoTitle": "Información del espacio de trabajo",
- "workspaceInfoSubtitle": "Configura los detalles y preferencias de tu espacio de trabajo.",
- "nameLabel": "Nombre del espacio de trabajo",
- "nameHint": "El nombre de tu espacio de trabajo",
+ "title": "General",
+ "subtitle": "El nombre de {{name}} y quién es su propietario.",
+ "workspaceInfoTitle": "Espacio de trabajo",
+ "nameLabel": "Nombre",
"namePlaceholder": "Introduce el nombre de tu espacio de trabajo",
"descriptionLabel": "Descripción",
- "descriptionHint": "Una breve descripción de tu espacio de trabajo",
- "descriptionPlaceholder": "Introduce la descripción de tu espacio de trabajo",
+ "descriptionPlaceholder": "¿En qué trabaja tu equipo?",
"dangerZone": "Zona peligrosa",
- "dangerZoneSubtitle": "Acciones irreversibles y destructivas.",
"deleteWorkspace": "Eliminar espacio de trabajo",
- "deleteWorkspaceDescription": "El espacio de trabajo será permanentemente destruido",
- "deleteModalTitle": "¿Eliminar espacio de trabajo?",
- "deleteModalDescription": "Esto eliminará permanentemente el espacio de trabajo \"{{name}}\" y todos sus datos. Esta acción no puede deshacerse.",
+ "deleteWorkspaceDescription": "Elimina permanentemente {{name}}, sus proyectos y sus tareas.",
+ "deleteModalTitle": "¿Eliminar el espacio de trabajo?",
+ "deleteModalDescription": "Esto eliminará permanentemente {{name}} y todos sus proyectos y tareas. No se puede deshacer.",
"deleteModalConfirm": "Eliminar espacio de trabajo",
- "toastUpdated": "Espacio de trabajo actualizado correctamente",
"toastUpdateError": "Error al actualizar espacio de trabajo",
"toastDeleted": "Espacio de trabajo eliminado correctamente",
"toastDeleteError": "Error al eliminar espacio de trabajo",
@@ -756,45 +728,41 @@
"toastSuccess": "Propiedad transferida",
"toastError": "Error al transferir la propiedad",
"title": "Transferir propiedad",
- "subtitle": "Cede este espacio de trabajo a otro miembro. Pasarás a ser admin y perderás las capacidades exclusivas del propietario.",
"pickerLabel": "Nuevo propietario",
"noEligibleMembers": "Invita al menos a otro miembro antes de poder transferir la propiedad.",
- "pickerHint": "Se convertirá en el único propietario de este espacio de trabajo.",
- "pickerPlaceholder": "Selecciona un miembro",
+ "pickerHint": "El nuevo propietario asume el control. Tú sigues como admin.",
+ "pickerPlaceholder": "Elige un miembro",
"button": "Transferir",
"dialogTitle": "¿Transferir la propiedad?",
"dialogDescription": "{{name}} se convertirá en el único propietario de {{workspace}}. Mantendrás acceso de admin, pero perderás las capacidades exclusivas del propietario, como eliminar el espacio de trabajo o volver a transferirlo.",
"transferring": "Transfiriendo…",
"confirm": "Transferir propiedad"
- }
+ },
+ "ownershipSubtitle": "Solo el propietario ve esto.",
+ "ownershipTitle": "Propiedad"
},
"projectGeneral": {
"pageTitle": "Ajustes del Proyecto",
- "title": "Ajustes del Proyecto",
- "subtitle": "Gestiona el nombre, identificador, icono y descripción del proyecto.",
- "projectInfoTitle": "Información del proyecto",
- "projectInfoSubtitle": "Configura los detalles y preferencias de tu proyecto.",
+ "title": "General",
+ "subtitle": "El nombre, el identificador y el aspecto de {{name}}.",
+ "projectInfoTitle": "Proyecto",
"iconLabel": "Icono",
- "iconHint": "Se muestra en la barra lateral y en las vistas del proyecto.",
+ "iconHint": "Se muestra en la barra lateral y en las listas de proyectos.",
"pickIconTitle": "Elegir icono",
"searchIconsPlaceholder": "Buscar iconos...",
- "projectNameLabel": "Nombre del proyecto",
- "projectNameHint": "El nombre de tu proyecto",
- "projectNamePlaceholder": "Introduce el nombre del proyecto",
+ "projectNameLabel": "Nombre",
+ "projectNamePlaceholder": "Nombre del proyecto",
"keyLabel": "Identificador",
- "keyHint": "Utilizado en los IDs de los tickets (e.g., {{slug}}-123)",
+ "keyHint": "Encabeza el ID de cada tarea, como {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Descripción",
- "descriptionHint": "Una breve descripción de tu proyecto",
- "descriptionPlaceholder": "Introduce la descripción de tu proyecto",
+ "descriptionPlaceholder": "¿Para qué es este proyecto?",
"dangerZone": "Zona peligrosa",
- "dangerZoneSubtitle": "Acciones irreversibles y destructivas.",
"deleteProject": "Eliminar proyecto",
- "deleteProjectDescription": "Marcar el proyecto para ser eliminado completamente",
- "deleteModalTitle": "¿Elimar proyecto?",
- "deleteModalDescription": "Esto eliminará permanentemente el proyecto \"{{name}}\" y todos sus datos. Esta acción no puede deshacerse.",
+ "deleteProjectDescription": "Elimina permanentemente {{name}} y todas sus tareas.",
+ "deleteModalTitle": "¿Eliminar el proyecto?",
+ "deleteModalDescription": "Esto eliminará permanentemente {{name}} y todas sus tareas. No se puede deshacer.",
"deleteModalConfirm": "Eliminar proyecto",
- "toastUpdated": "Proyecto actualizado correctamente",
"toastUpdateError": "Error al actualizar proyecto",
"toastDeleted": "Proyecto eliminado correctamente",
"toastDeleteError": "Error al eliminar proyecto",
@@ -804,38 +772,40 @@
"keyMax": "El identificador debe contener como máximo 8 caracteres",
"iconRequired": "El icono es obligatorio"
},
- "importExportTasks": "Importar/Exportar",
- "importExportTasksDescription": "Importar/Exportar Tareas",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Una imagen detrás del tablero. Cada persona puede desactivarlas.",
+ "backgroundUnavailable": "La subida de imágenes no está configurada en esta instancia.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Reemplazar",
+ "backgroundUpload": "Subir",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Mover proyecto",
- "moveModalDescription": "Esto moverá el proyecto \"{{name}}\" y todas sus tareas a \"{{workspace}}\". Las tareas asignadas a personas que no son miembros de ese espacio de trabajo quedarán sin asignar, y se eliminarán las suscripciones de notificaciones de este proyecto.",
- "moveModalTitle": "¿Mover proyecto?",
"moveProject": "Mover a otro espacio de trabajo",
"moveProjectAction": "Mover",
- "moveProjectDescription": "Mueve este proyecto, con todas sus tareas, a otro espacio de trabajo.",
- "moveProjectPlaceholder": "Selecciona un espacio de trabajo",
+ "moveProjectDescription": "Las tareas, columnas y etiquetas se mueven con él.",
+ "moveProjectPlaceholder": "Elige un espacio de trabajo",
"toastMoved": "Proyecto movido correctamente",
"toastMovedWithUnassigned": "Proyecto movido correctamente. {{taskCount}} tarea(s) quedaron sin asignar.",
"toastMoveError": "No se pudo mover el proyecto",
- "moveTargetsError": "No se pudo comprobar a qué espacios de trabajo puedes mover este proyecto. Vuelve a cargar la página para intentarlo de nuevo."
+ "moveTargetsError": "No se pudo comprobar a qué espacios de trabajo puedes mover este proyecto. Vuelve a cargar la página para intentarlo de nuevo.",
+ "moveDialogDescription": "Las tareas asignadas a personas que no están en el nuevo espacio de trabajo quedarán sin asignar, y se eliminarán las suscripciones a notificaciones de este proyecto.",
+ "moveDialogTitle": "¿Mover a otro espacio de trabajo?",
+ "moveTargetLabel": "Espacio de trabajo",
+ "moving": "Moviendo...",
+ "tasksTitle": "Tareas"
},
"projectIntegrations": {
- "pageTitle": "Integraciones del Proyecto",
- "title": "Integraciones del Proyecto",
- "subtitle": "Conecta tu proyecto con herramientas y servicios externos para coordinar tus flujos de trabajo.",
+ "pageTitle": "Integraciones",
+ "title": "Integraciones",
+ "subtitle": "Conecta este proyecto con tu plataforma de código y el chat de tu equipo.",
"githubSectionTitle": "Integración con GitHub",
"githubSectionSubtitle": "Sincroniza tareas con GitHub issues y permite la sincronización cruzada.",
"discordSectionTitle": "Integración con Discord",
"discordSectionSubtitle": "Envía actualizaciones de tareas a un canal de Discord mediante webhook.",
- "genericWebhookSectionTitle": "Webhooks generales",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Envía los eventos de las tareas a cualquier endpoint HTTP como JSON.",
"slackSectionTitle": "Integración con Slack",
"slackSectionSubtitle": "Envía los eventos de las tareas a un canal de Slack con un webhook.",
@@ -845,7 +815,7 @@
"telegramSectionSubtitle": "Envía actualizaciones de las tareas del proyecto a un chat o tema de Telegram mediante un bot.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Sincroniza tareas con GitLab.com o con una instancia autogestionada.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Alojamiento de código",
"chatTitle": "Chat y webhooks",
@@ -858,69 +828,59 @@
"projectVisibility": {
"pageTitle": "Visibilidad del Proyecto",
"title": "Visibilidad",
- "subtitle": "Controla quién puede ver y acceder a tu proyecto.",
- "sectionTitle": "Visibilidad",
- "sectionSubtitle": "Activar acceso público y comparte la URL pública.",
- "publicAccess": "Acceso público",
- "publicAccessHint": "Permite a cualquiera con la URL ver este proyecto",
+ "subtitle": "Elige quién puede ver {{project}} fuera de {{workspace}}.",
+ "sectionTitle": "Acceso",
+ "publicAccess": "Enlace público",
+ "publicAccessHint": "Cualquiera con el enlace puede ver el tablero y sus tareas, pero no puede cambiar nada.",
"publicUrl": "URL pública",
- "publicUrlHint": "Comparte este enlace si el proyecto es público",
- "copy": "Copiar",
- "copiedToast": "URL copiada",
+ "copy": "Copiar enlace",
"toastUpdated": "Visibilidad actualizada",
- "toastUpdateError": "Error al actualizar espacio la visibilidad del proyecto"
+ "toastUpdateError": "Error al actualizar espacio la visibilidad del proyecto",
+ "always": "Siempre",
+ "copied": "Copiado",
+ "copyError": "No se ha podido copiar el enlace",
+ "membersDescription": "Todos los miembros del espacio de trabajo, con lo que les permita su rol.",
+ "membersTitle": "Miembros de {{workspace}}",
+ "offNote": "Si desactivas el enlace público, dejará de funcionar al instante.",
+ "on": "Activado",
+ "openPublicPage": "Abrir página pública",
+ "thisWorkspace": "este espacio de trabajo"
},
"projectWorkflow": {
- "pageTitle": "Ajustes del Flujo de trabajo",
+ "pageTitle": "Ajustes del flujo de trabajo",
"title": "Flujo de trabajo",
- "subtitle": "Configura las columnas del tablero y las reglas de automatización para este proyecto.",
+ "subtitle": "Las columnas de tu tablero y lo que mueve las tareas entre ellas.",
"columnsTitle": "Columnas",
- "columnsDescription": "Gestiona las columnas de tu tablero. Arrastra para reordenar. Activa la columna \"Hecho\" para representar el trabajo completado.",
- "automationTitle": "Reglas de automatización",
- "automationDescription": "Mapea eventos de integración y columnas integration. Cuando un evento ocurre, la tarea vinculada se moverá a la columna especificada.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Arrastra para reordenar. Las tareas de una columna marcada como hecha cuentan como completadas.",
+ "automationTitle": "Automatizaciones",
+ "automationDescription": "Mueve una tarea vinculada cuando ocurre algo en un repositorio conectado."
},
"projectSwitcher": {
"selectProject": "Selecciona proyecto",
"noProjects": "No hay proyectos"
},
"columnEditor": {
- "toastCreated": "Columna creada",
"toastCreateError": "Error al crear la columna",
- "toastRenamed": "Columna renombrada",
"toastRenameError": "Error al actualizar la columna",
- "toastFinalOn": "Columna marcada como final",
- "toastFinalOff": "Marca de columna final eliminada",
"toastUpdateError": "Error al actualizar la columna",
- "toastIconUpdated": "Icono de columna actualizado",
- "toastDeleted": "Columna eliminada",
"toastDeleteError": "Error al eliminar la columna",
- "loading": "Cargando columnas...",
"pickIconTitle": "Elegir icono de columna",
"searchIconsPlaceholder": "Buscar iconos...",
- "doneColumnTooltip": "Tratar esta como una columna finalizada",
- "doneColumn": "Columna finalizada",
"markDoneAria": "Marcar columna {{name}} como finalizada",
- "on": "Activado",
- "off": "Desactivado",
- "newColumnPlaceholder": "Nombre de la nueva columna...",
- "add": "Añadir",
+ "newColumnPlaceholder": "Nombre de la columna",
"deleteAria": "Borrar la columna {{name}}",
- "renameAria": "Renombrar la columna {{name}}"
+ "renameAria": "Renombrar la columna {{name}}",
+ "addColumn": "Añadir columna",
+ "columnHeader": "Columna",
+ "deleteConfirm": "Eliminar columna",
+ "deleteDescription": "No se pueden eliminar las columnas que aún tienen tareas. Mueve primero esas tareas.",
+ "deleteTitle": "¿Eliminar “{{name}}”?",
+ "doneHeader": "Hecho",
+ "dragAria": "Reordenar {{name}}",
+ "reorderError": "Error al reordenar las columnas"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "El propietario del repositorio es obligatorio",
- "ownerInvalid": "Formato de propietario del repositorio no válido",
- "nameRequired": "El nombre del repositorio es obligatorio",
- "nameInvalid": "Formato de nombre del repositorio no válido"
- },
"toast": {
- "installedOk": "¡La aplicación de GitHub está correctamente instalada!",
- "installedMissingPerms": "La aplicación de GitHub está instalada pero le faltan permisos necesarios",
- "needsInstallOnRepo": "La aplicación de GitHub debe instalarse en este repositorio",
- "repoNotFound": "Repositorio no encontrado o no accesible",
"verifyError": "Error al verificar la instalación de GitHub",
"installAppFirst": "Por favor, instala primero la aplicación de GitHub en este repositorio",
"missingPermsDetail": "A la aplicación de GitHub le faltan los siguientes permisos: {{list}}. Por favor, actualiza los permisos de la aplicación.",
@@ -934,47 +894,28 @@
"commentOnDisabled": "Los comentarios con enlaces a tareas en nuevos issues están desactivados",
"settingsUpdateError": "Error al actualizar la integración de GitHub"
},
- "connectionStatus": "Estado de la conexión",
- "connectedActive": "Repositorio conectado y activo",
- "notConnectedHint": "Ningún repositorio conectado",
- "badgeConnected": "Conectado",
- "badgeNotConnected": "No connectado",
- "repository": "Repositorio",
- "repositoryHint": "Repositorio de GitHub conectado",
- "commentTaskLinkTitle": "Comenta Kaneo link en issues nuevos",
- "commentTaskLinkHint": "Si está activado, Kaneo añade un comentario en cada nuevo issue de GitHub vinculado con la tarea.",
- "appStatusTitle": "Estado de la App de GitHub",
- "appStatusHint": "Estado de instalación y permisos",
- "statusProperlyConfigured": "Correctamente configurado",
- "statusMissingPermissions": "Faltan permisos",
- "statusNotInstalled": "No instalado",
- "ownerLabel": "Propietario del repositorio",
- "ownerHint": "Nombre de usuario u organización de GitHub",
- "ownerPlaceholder": "p. ej., octocat",
- "repoNameLabel": "Nombre del repositorio",
- "repoNameHint": "El nombre del repositorio",
- "repoNamePlaceholder": "e.g., mi-proyecto",
- "actionsTitle": "Acciones",
- "actionsHint": "Gestiona la conexión con tu repositorio",
- "browse": "Buscar",
- "verify": "Verificar",
- "update": "Actualizar",
- "connect": "Conectar",
- "disconnect": "Desconectar",
- "missingPermissionsLabel": "Faltan permisos:",
+ "commentTaskLinkTitle": "Comentar un enlace de Kaneo en los issues nuevos",
+ "commentTaskLinkHint": "Para que quien esté en GitHub pueda ir directamente a la tarea.",
"updatePermissions": "Actualizar permisos",
"installGithubApp": "Instalar la App de GitHub",
- "importSectionTitle": "Importar issues de GitHub",
- "importSectionHint": "Importar issues existentes de GitHub como tareas",
- "importing": "Importando...",
- "importIssues": "Importar Issues",
- "importDisabledHint": "Completa la configuración del repositorio para activar la importación",
+ "importSectionHint": "Importa los issues abiertos del repositorio como tareas.",
+ "importDisabledHint": "Vuelve a conectar el repositorio para activar la importación.",
"accountVerificationHint": "Conecta tu cuenta de GitHub para verificar que administras este repositorio.",
"enableGithubSignInHint": "Pide al administrador de tu instancia que habilite el inicio de sesión con GitHub.",
"reverifyHint": "Vuelve a conectar este repositorio para verificar el acceso y reanudar la sincronización.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Sus issues y pull requests se vincularán con las tareas de este proyecto.",
+ "linkAccountDescription": "Demuestra que puedes administrar el repositorio.",
+ "linkAccountTitle": "Vincula tu cuenta de GitHub",
+ "linked": "Vinculada",
+ "linkGithub": "Vincular GitHub",
+ "verifyMissingPermissions": "A la Kaneo GitHub App le faltan permisos: {{list}}.",
+ "verifyNotInstalled": "La Kaneo GitHub App no está instalada en este repositorio.",
+ "verifyReady": "La Kaneo GitHub App está instalada con los permisos que necesita.",
+ "workflowHint": "Mueve tareas cuando se abren o se fusionan pull requests en",
+ "workflowLink": "Flujo de trabajo"
},
"slackIntegration": {
"validation": {
@@ -989,30 +930,10 @@
"removed": "Integración con Slack eliminada correctamente",
"removeError": "Error al eliminar la integración con Slack"
},
- "connectionTitle": "Conexión al webhook de Slack",
- "connectionHint": "Pega la URL del webhook de Slack y elige qué eventos deben ser notificados.",
- "connected": "Conectado",
- "paused": "Pausado",
- "webhookLabel": "URL del webhook de entrada",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Crea un webhook de entrada en Slack y pega la URL generada aquí.",
- "channelLabel": "Nombre del canal",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Etiqueta opcional para tu referencia. Slack controla el canal de destino desde la configuración del webhook.",
- "eventsTitle": "Notificaciones de eventos",
- "eventsHint": "Elige qué cambios en el proyecto deben ser notificados en Slack.",
- "events": {
- "taskCreated": "Nuevas tareas",
- "taskStatusChanged": "Cambios en el estado",
- "taskPriorityChanged": "Cambios de prioridad",
- "taskTitleChanged": "Cambios en el título",
- "taskDescriptionChanged": "Cambios en la descripción",
- "taskCommentCreated": "Nuevos comentarios"
- },
+ "webhookHint": "Crea un webhook de entrada en Slack y pégalo aquí.",
"connect": "Conectar con Slack",
- "saveChanges": "Guardar cambios",
- "update": "Actualizar Slack",
- "disconnect": "Desconectar"
+ "update": "Actualizar Slack"
},
"discordIntegration": {
"validation": {
@@ -1027,34 +948,15 @@
"removed": "Integración con Discord eliminada correctamente",
"removeError": "Error al eliminar la integración con Discord"
},
- "connectionTitle": "Conexión al webhook de Discord",
- "connectionHint": "Pega la URL del webhook de Discord y elige qué eventos deben ser notificados.",
- "connected": "Conectado",
- "paused": "Pausado",
- "webhookLabel": "URL del webhook de entrada",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Crea un webhook de entrada en Discord y pega la URL generada aquí.",
- "channelLabel": "Nombre del canal",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Etiqueta opcional para tu referencia. Discord controla el canal de destino desde la configuración del webhook.",
- "eventsTitle": "Notificaciones de eventos",
- "eventsHint": "Elige qué cambios en el proyecto deben ser notificados en Discord.",
- "events": {
- "taskCreated": "Nuevas tareas",
- "taskStatusChanged": "Cambios en el estado",
- "taskPriorityChanged": "Cambios de prioridad",
- "taskTitleChanged": "Cambios en el título",
- "taskDescriptionChanged": "Cambios en la descripción",
- "taskCommentCreated": "Nuevos comentarios"
- },
+ "webhookHint": "Crea un webhook de canal en Discord y pégalo aquí.",
"connect": "Conectar con Discord",
- "saveChanges": "Guardar cambios",
- "update": "Actualizar Discord",
- "disconnect": "Desconectar"
+ "update": "Actualizar Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Introduce una URL de webhook válida"
+ "webhookInvalid": "Introduce una URL de webhook válida",
+ "leadTimeRange": "Elige un tiempo entre 5 minutos y 720 horas."
},
"toast": {
"saved": "Integración con webhook genérico guardada correctamente",
@@ -1065,56 +967,54 @@
"removed": "Integración con webhook eliminada correctamente",
"removeError": "Error al eliminar la integración con webhook"
},
- "connectionTitle": "Conexión de sálida a un webhook",
- "connectionHint": "Envía eventos de las tareas a tu propio webhook como JSON. Una cabecera X-Kaneo-Signature se incluye si el secreto está configurado.",
- "connected": "Conectado",
- "paused": "Pausado",
"webhookLabel": "URL del webhook",
"webhookPlaceholder": "https://ejemplo.com/webhooks/kaneo",
"webhookHint": "Kaneo envía requests POST como JSON para cada evento activo.",
"secretLabel": "Secreto para la firma",
- "secretPlaceholder": "Secreto opcional",
- "secretHint": "Opcional. Si está configurado, Kaneo envía el cuerpo de la petición y añade la cabecera X-Kaneo-Signature.",
- "secretHintConfigured": "Ya hay un secreto configurado ({{secret}}). Introduce uno nuevo para reemplazarlo.",
- "eventsTitle": "Notificaciones de eventos",
- "eventsHint": "Elige qué cambios en el proyecto deben ser notificados a través de webhooks.",
+ "secretPlaceholder": "Secreto compartido",
+ "secretHint": "Kaneo firma cada petición con él y envía el resultado en la cabecera X-Kaneo-Signature.",
+ "secretHintConfigured": "Secreto actual: {{secret}}. Pega uno nuevo para reemplazarlo.",
+ "eventsTitle": "Enviar cuando",
"events": {
- "taskCreated": "Nuevas tareas",
- "taskStatusChanged": "Cambios en el estado",
- "taskPriorityChanged": "Cambios de prioridad",
- "taskTitleChanged": "Cambios en el título",
- "taskDescriptionChanged": "Cambios en la descripción",
- "taskCommentCreated": "Nuevos comentarios",
+ "taskCreated": "Tarea creada",
+ "taskStatusChanged": "Cambio de estado",
+ "taskPriorityChanged": "Cambio de prioridad",
+ "taskTitleChanged": "Cambio de título",
+ "taskDescriptionChanged": "Cambio de descripción",
+ "taskCommentCreated": "Nuevo comentario",
"taskDeleted": "Tarea eliminada",
"taskMoved": "Tarea movida",
"taskDueDateChanged": "Cambio de fecha de vencimiento",
"taskAssigneeChanged": "Cambio de asignado",
"taskUnassigned": "Tarea desasignada",
- "dueDateReminder": "Recordatorios de fecha de vencimiento"
+ "dueDateReminder": "Recordatorio de fecha de vencimiento"
},
"connect": "Conectar al webhook",
- "saveChanges": "Guardar cambios",
- "disconnect": "Desconectar",
- "reminderLeadTimeLabel": "Enviar el webhook estas horas antes"
+ "reminderLeadTimeLabel": "Horas antes del vencimiento de una tarea",
+ "activeTitle": "Enviando eventos",
+ "disconnectDescription": "Kaneo dejará de enviar eventos y eliminará el endpoint y el secreto guardados.",
+ "disconnectTitle": "¿Desconectar el webhook?",
+ "reminderLeadTimeAfter": "horas antes del vencimiento de una tarea",
+ "reminderLeadTimeBefore": "Enviar recordatorios"
},
"repositoryBrowser": {
- "title": "Seleccionar repositorio",
- "description": "Elige un repositorio donde esté instalada la App de GitHub para activar la sincronización.",
- "searchPlaceholder": "Buscar repositorios...",
- "loadError": "Error al cargar los repositorios",
- "tryAgain": "Intentar de nuevo",
- "emptyTitle": "No se han encontrado repositorios",
+ "title": "Elige un repositorio",
+ "description": "Repositorios que puede ver la Kaneo GitHub App.",
+ "searchPlaceholder": "Buscar repositorios",
+ "loadError": "No se han podido cargar los repositorios.",
+ "tryAgain": "Reintentar",
+ "emptyTitle": "Todavía no hay repositorios",
"emptyHint": "Instala la App de GitHub en tus repositorios para verlos aquí.",
"installGithubApp": "Instalar la App de GitHub",
- "noSearchMatchTitle": "Ningún repositorio encaja con tu búsqueda",
- "noSearchMatchHint": "Intenta ajustar los términos de búsqueda o elimina el campo para ver todos los repositorios.",
- "footerSummary": "{{repoCount}} repositorios en {{installationCount}} instalaciones",
- "manageInstallations": "Gestionar instalaciones",
- "updatedPrefix": "Actualizado",
- "relativeJustNow": "ahora mismo",
- "relativeMinutesAgo": "hace {{count}}m",
- "relativeHoursAgo": "hace {{count}}h",
- "relativeDaysAgo": "hace {{count}}d"
+ "noSearchMatchTitle": "No hay repositorios que coincidan",
+ "noSearchMatchHint": "Prueba con otro nombre o borra la búsqueda.",
+ "emptyPageHint": "No hay ninguno en esta página. Carga más para seguir buscando.",
+ "loadMore": "Cargar más",
+ "manageAccess": "Gestionar el acceso de la app",
+ "missingOne": "¿Falta alguno?",
+ "searching": "Buscando…",
+ "updated": "Actualizado {{time}}",
+ "useRepository": "Usar repositorio"
},
"tasksImportExport": {
"exportTasks": "Exportar tareas",
@@ -1133,27 +1033,26 @@
"importError": "Error al importar tareas",
"invalidFormat": "Formato de fichero inválido",
"noFileDropped": "No se ha añadido ningún fichero",
- "notJsonFile": "Por favor, sube un fichero JSON"
+ "notJsonFile": "Por favor, sube un fichero JSON",
+ "export": "Exportar",
+ "exportDescription": "Descarga todas las tareas de este proyecto en un fichero.",
+ "import": "Importar",
+ "importDescription": "Añade tareas desde un fichero que hayas exportado antes."
},
"workflowEditor": {
- "loading": "Cargando...",
- "createColumnsFirst": "Crea columnas antes de configurar reglas de automatización.",
- "githubHeading": "GitHub",
- "githubHint": "Cuando ocurre un evento de GitHub, mueve las tareas vinculadas a una columna.",
- "selectColumnPlaceholder": "Selecciona una columna...",
- "toastUpdated": "Regla del flujo de trabajo actualizada",
"toastError": "Error al actualizar regla",
"events": {
"branch_push": "Push a una rama",
- "pr_opened": "PR abierta",
- "pr_merged": "PR mergeada",
+ "pr_opened": "Pull request abierta",
+ "pr_merged": "Pull request fusionada",
"issue_opened": "Issue abierto",
"issue_closed": "Issue cerrado"
},
- "giteaHeading": "Gitea",
- "giteaHint": "Cuando ocurre un evento de webhook de Gitea, mueve la tarea vinculada a una columna.",
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "Conecta {{providers}} en <link>Integraciones</link> para automatizarlos también.",
+ "dontMove": "No mover",
+ "emptyDescription": "Las automatizaciones necesitan un repositorio conectado de GitHub, Gitea o GitLab.",
+ "emptyTitle": "No hay repositorios conectados",
+ "openIntegrations": "Abrir integraciones"
},
"externalLinks": {
"resources": "Recursos",
@@ -1175,29 +1074,26 @@
"notificationsPage": {
"pageTitle": "Notificaciones",
"title": "Notificaciones",
- "subtitle": "Elige cómo Kaneo entrega las notificaciones de tu cuenta y qué canales usar.",
+ "subtitle": "De qué te avisa Kaneo y por dónde te llegan los avisos.",
"statusConnected": "Conectado",
"statusPaused": "Pausado",
"emailTitle": "Correo electrónico",
- "emailDescription": "Usa el correo electrónico de tu cuenta como destino de las notificaciones.",
- "accountEmailLabel": "Correo de la cuenta",
"accountEmailNoAddress": "No hay ningún correo de cuenta disponible",
- "accountEmailHint": "La entrega por correo siempre va al correo de la cuenta con la que has iniciado sesión.",
"saveChanges": "Guardar cambios",
"disconnect": "Desconectar",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Publica las notificaciones de tu cuenta en un tema de ntfy.",
+ "ntfyDescription": "Publica en un tema de ntfy en tu móvil o tu ordenador.",
"serverUrl": "URL del servidor",
"topic": "Tema",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "alertas-equipo",
- "ntfyTokenPlaceholder": "Token bearer opcional",
+ "ntfyTokenPlaceholder": "Solo si tu servidor lo necesita",
"ntfyTokenHintConfigured": "Ya hay un token configurado ({{masked}}). Introduce un token nuevo para reemplazarlo.",
- "ntfyTokenHintOptional": "Opcional. Proporciona un token si tu servidor ntfy requiere autenticación.",
+ "ntfyTokenHintOptional": "Úsalo si tu servidor ntfy requiere autenticación.",
"connectNtfy": "Conectar ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Envía las notificaciones de tu cuenta a tu servidor Gotify.",
+ "gotifyDescription": "Envía las notificaciones a tu servidor Gotify.",
"gotifyTokenLabel": "Token de aplicación",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Token de aplicación de Gotify",
@@ -1205,52 +1101,26 @@
"gotifyTokenHintRequired": "Obligatorio. Usa un token de aplicación de tu servidor Gotify.",
"connectGotify": "Conectar Gotify",
"webhookTitle": "Webhook personalizado",
- "webhookDescription": "Envía las notificaciones de tu cuenta a tu propio endpoint como JSON.",
+ "webhookDescription": "Envía cada notificación a tu propio endpoint como JSON.",
"endpointUrl": "URL del endpoint",
"signingSecret": "Secreto de firma",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Secreto compartido opcional",
"webhookSecretHintConfigured": "Ya hay un secreto de firma configurado ({{masked}}). Introduce uno nuevo para reemplazarlo.",
- "webhookSecretHintOptional": "Opcional. Kaneo firma el cuerpo de la petición cuando hay un secreto configurado.",
+ "webhookSecretHintOptional": "Kaneo firma el cuerpo de la petición cuando hay un secreto configurado.",
"connectWebhook": "Conectar webhook",
- "workspaceRulesTitle": "Reglas de entrega por espacio de trabajo",
- "workspaceRulesDescription": "Reutiliza tus canales globales y decide qué espacios de trabajo y proyectos pueden enviar notificaciones a tu cuenta.",
- "workspaceCardHint": "Elige qué canales puede usar este espacio de trabajo para las notificaciones de tu cuenta.",
- "workspaceEnabledLabel": "Activar notificaciones para {{workspaceName}}",
"eventPreferencesTitle": "Notificarme sobre",
- "eventPreferencesDescription": "Elige qué eventos de tareas crean notificaciones en la aplicación y pueden entregarse a tus canales conectados.",
- "eventTaskAssignments": "Asignaciones de tareas",
+ "eventPreferencesDescription": "Nunca recibirás notificaciones de tus propios comentarios, menciones y cambios de estado.",
+ "eventTaskAssignments": "Asignaciones",
"eventComments": "Comentarios y menciones",
- "eventCommentsHint": "Incluye nuevos comentarios en tareas asignadas a ti y @menciones directas.",
- "eventStatusChanges": "Cambios de estado de tareas",
+ "eventCommentsHint": "Comentarios nuevos en tus tareas y cuando alguien te @menciona.",
+ "eventStatusChanges": "Cambios de estado",
"eventDueDateReminders": "Recordatorios de fecha de vencimiento",
"reminderLeadTimeLabel": "Recordármelo antes de la fecha de vencimiento",
- "reminderLeadTimeHint": "Entre 1 hora y 30 días antes. Las notificaciones de tareas vencidas se envían por separado.",
- "reminderLeadTimeUnitHours": "Horas",
- "reminderLeadTimeUnitDays": "Días",
"reminderLeadTimeInvalid": "Introduce un número entero entre 1 y {{max}}.",
"saveEventPreferences": "Guardar tipos de notificación",
- "workspaceCardLabelEmail": "Correo electrónico",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Webhook personalizado",
- "emailChannelHintEnabled": "Enviar por correo las notificaciones coincidentes del espacio de trabajo.",
- "emailChannelHintDisabled": "Configura y activa primero el correo de forma global.",
- "ntfyChannelHintEnabled": "Enviar a ntfy las notificaciones coincidentes del espacio de trabajo.",
- "ntfyChannelHintDisabled": "Configura y activa primero ntfy de forma global.",
- "gotifyChannelHintEnabled": "Enviar a Gotify las notificaciones coincidentes del espacio de trabajo.",
- "gotifyChannelHintDisabled": "Configura y activa primero Gotify de forma global.",
- "webhookChannelHintEnabled": "Enviar a tu webhook las notificaciones coincidentes del espacio de trabajo.",
- "webhookChannelHintDisabled": "Configura y activa primero el webhook de forma global.",
- "projectScope": "Alcance de proyectos",
- "projectScopeDescription": "Todos los proyectos están incluidos por defecto. Restríngelo si este espacio de trabajo solo debe enviar notificaciones de proyectos seleccionados.",
"allProjects": "Todos los proyectos",
- "allProjectsDescription": "Entregar notificaciones de todos los proyectos de este espacio de trabajo.",
- "selectedProjects": "Proyectos seleccionados",
- "selectedProjectsDescription": "Entregar solo notificaciones de los proyectos elegidos.",
"noProjectsInWorkspace": "Todavía no hay proyectos disponibles en este espacio de trabajo.",
- "createRule": "Crear regla",
- "removeRule": "Eliminar regla",
"toastEmailSaved": "Ajustes de notificaciones por correo guardados",
"toastEmailSaveFailed": "Error al guardar los ajustes de correo",
"toastNtfySaved": "Ajustes de ntfy guardados",
@@ -1273,7 +1143,57 @@
"toastPreferencesSaveFailed": "Error al guardar las preferencias de notificación",
"toastRuleSavedGeneric": "Regla de notificación del espacio de trabajo guardada",
"toastRuleRemovedGeneric": "Regla de notificación del espacio de trabajo eliminada",
- "recipientHint": "Los comentarios y los cambios de estado te notifican sobre las tareas que tienes asignadas. Las menciones notifican al miembro seleccionado. Tus propios comentarios, menciones y cambios de estado no te envían notificaciones."
+ "channelNotConnected": "Sin conectar",
+ "channelOff": "Desactivado",
+ "channelsDescription": "Las notificaciones siempre aparecen en Kaneo. Conecta un canal para recibirlas también en otro sitio.",
+ "channelsTitle": "Canales",
+ "configure": "Configurar",
+ "configureChannel": "Configurar {{channel}}",
+ "configureWorkspace": "Configurar las notificaciones de {{workspaceName}}",
+ "connect": "Conectar",
+ "connectChannel": "Conectar {{channel}}",
+ "disconnectDescription": "Las notificaciones dejarán de llegar a {{channel}} y se eliminarán sus ajustes guardados.",
+ "disconnecting": "Desconectando...",
+ "disconnectTitle": "¿Desconectar {{channel}}?",
+ "done": "Listo",
+ "emailToggleLabel": "Enviar notificaciones por correo",
+ "eventDueDateRemindersHint": "Antes de que venza una de tus tareas. Las tareas vencidas se notifican aparte.",
+ "eventStatusChangesHint": "Cuando una de tus tareas pasa a otra columna.",
+ "eventTaskAssignmentsHint": "Cuando alguien te asigna una tarea.",
+ "loadFailed": "No se han podido cargar los ajustes de notificaciones.",
+ "onlyInKaneo": "Solo en Kaneo",
+ "optional": "Opcional",
+ "projectCount_many": "{{count}} proyectos",
+ "projectCount_one": "{{count}} proyecto",
+ "projectCount_other": "{{count}} proyectos",
+ "reminderLeadTimeUnitDaysBefore_many": "días antes",
+ "reminderLeadTimeUnitDaysBefore_one": "día antes",
+ "reminderLeadTimeUnitDaysBefore_other": "días antes",
+ "reminderLeadTimeUnitHoursBefore_many": "horas antes",
+ "reminderLeadTimeUnitHoursBefore_one": "hora antes",
+ "reminderLeadTimeUnitHoursBefore_other": "horas antes",
+ "reminderLeadTimeUnitLabel": "Unidad del recordatorio",
+ "ruleActiveDescription": "Desactívalo para pausar este espacio de trabajo y conservar su configuración.",
+ "ruleActiveLabel": "Enviando",
+ "ruleChannels": "Canales",
+ "ruleDialogDescription": "A dónde pueden enviarse las notificaciones de este espacio de trabajo.",
+ "ruleDialogTitle": "Notificaciones de {{workspaceName}}",
+ "ruleProjects": "Proyectos",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Guardar",
+ "sendingDescription": "Desactívalo para pausar este canal y conservar sus ajustes.",
+ "sendingLabel": "Enviando",
+ "setUp": "Configurar",
+ "setUpWorkspace": "Configurar las notificaciones de {{workspaceName}}",
+ "someProjects": "Solo algunos",
+ "statusOn": "Activado",
+ "statusSending": "Enviando",
+ "stopping": "Deteniendo...",
+ "stopSending": "Dejar de enviar",
+ "stopSendingDescription": "Las notificaciones de este espacio de trabajo solo se mostrarán en Kaneo.",
+ "stopSendingTitle": "¿Dejar de enviar desde {{workspaceName}}?",
+ "workspacesDescription": "Elige qué espacios de trabajo y proyectos pueden usar tus canales.",
+ "workspacesTitle": "Espacios de trabajo"
},
"workspaceRoles": {
"pageTitle": "Roles",
@@ -1485,22 +1405,20 @@
"permissionCount_many": "{{count}} permisos"
},
"workspaceLabels": {
- "pageTitle": "Ajustes de etiquetas",
+ "pageTitle": "Etiquetas",
"title": "Etiquetas",
- "subtitle": "Crea, edita y elimina etiquetas a nivel de espacio de trabajo.",
- "cardDescription": "Gestiona las etiquetas que se pueden asignar a las tareas.",
+ "subtitle": "Todos los proyectos de este espacio de trabajo comparten las etiquetas.",
"createLabel": "Crear etiqueta",
"editLabel": "Editar etiqueta",
- "deleteLabel": "Eliminar",
+ "deleteLabel": "Eliminar etiqueta",
"saveLabel": "Guardar",
- "nameLabel": "Nombre de la etiqueta",
- "namePlaceholder": "Introduce el nombre de la etiqueta",
+ "nameLabel": "Nombre",
+ "namePlaceholder": "Nombre de la etiqueta",
"colorLabel": "Color",
- "createDescription": "Crea una nueva etiqueta que se pueda usar en las tareas de este espacio de trabajo.",
- "editDescription": "Actualiza el nombre o el color de esta etiqueta.",
- "deleteConfirmTitle": "¿Eliminar esta etiqueta?",
- "deleteConfirmDescription": "Esto eliminará permanentemente esta etiqueta de todas las tareas. Esta acción no puede deshacerse.",
- "empty": "Todavía no hay etiquetas. Crea tu primera etiqueta para comenzar.",
+ "createDescription": "Los proyectos de este espacio de trabajo pueden añadirla a sus tareas.",
+ "editDescription": "Los cambios se muestran en todas las tareas con esta etiqueta.",
+ "deleteConfirmTitle": "¿Eliminar “{{name}}”?",
+ "deleteConfirmDescription": "La etiqueta se quitará de todas las tareas que la usan. No se puede deshacer.",
"createSuccess": "Etiqueta creada",
"updateSuccess": "Etiqueta actualizada",
"deleteSuccess": "Etiqueta eliminada",
@@ -1508,25 +1426,28 @@
"updateError": "Error al actualizar etiqueta",
"deleteError": "Error al eliminar etiqueta",
"nameRequired": "El nombre de la etiqueta es obligatorio",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Quitando de las tareas…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Editar {{name}}",
+ "emptyDescription": "Añade etiquetas para organizar y filtrar tareas en todos los proyectos.",
+ "emptyTitle": "Todavía no hay etiquetas",
+ "loadError": "No se han podido cargar las etiquetas. Inténtalo de nuevo.",
+ "newLabel": "Nueva etiqueta",
+ "preview": "En una tarea",
+ "previewPlaceholder": "Etiqueta",
+ "resume": "Reanudar",
+ "rowActions": "Acciones para {{name}}",
+ "sectionDescription": "Si cambias el nombre o el color de una etiqueta, se actualizan todas las tareas que la usan.",
+ "sectionTitle": "Etiquetas del espacio de trabajo",
+ "subtitleWithWorkspace": "Todos los proyectos de {{workspaceName}} comparten las etiquetas."
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "La URL base de Gitea es obligatoria",
- "baseUrlInvalid": "Introduce una URL válida (p. ej. https://gitea.example.com)",
- "ownerRequired": "El propietario del repositorio es obligatorio",
- "ownerInvalid": "Formato de propietario del repositorio no válido",
- "nameRequired": "El nombre del repositorio es obligatorio",
- "nameInvalid": "Formato de nombre del repositorio no válido"
+ "baseUrlInvalid": "Introduce una URL válida (p. ej. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "El token de Gitea puede acceder a este repositorio",
- "verifyWarning": "Comprueba los permisos del token o el acceso al repositorio",
- "repoNotFound": "Repositorio no encontrado o no accesible",
"verifyError": "Error al verificar el acceso a Gitea",
- "tokenRequired": "El token de acceso personal es obligatorio",
- "tokenRequiredVerify": "Introduce un token para verificar",
"verifyFirst": "La verificación de acceso ha fallado. Comprueba la URL, el token y el repositorio",
"updated": "Integración con Gitea guardada",
"updateError": "Error al guardar la integración con Gitea",
@@ -1536,62 +1457,28 @@
"importError": "Error al importar issues",
"commentOnEnabled": "Kaneo comentará con un enlace a la tarea en las nuevas issues",
"commentOnDisabled": "Los comentarios con enlace a la tarea en nuevas issues están desactivados",
- "settingsUpdateError": "Error al actualizar la integración con Gitea",
- "secretCopied": "Copiado",
- "unableToCopySecret": "No se pudo copiar el secreto",
- "notGiteaInstance": "La URL no apunta a una instancia de Gitea",
- "redirected": "La URL de Gitea se ha redirigido (normalmente a HTTPS). Usa la URL final directamente."
- },
- "webhookShow": "Mostrar",
- "webhookHide": "Ocultar",
- "webhookCopy": "Copiar",
- "connectionStatus": "Estado de la conexión",
- "connectedActive": "Repositorio conectado y activo",
- "notConnectedHint": "Ningún repositorio de Gitea conectado",
- "badgeConnected": "Conectado",
- "badgeNotConnected": "No conectado",
- "repository": "Repositorio",
- "repositoryHint": "Repositorio de Gitea vinculado",
- "commentTaskLinkTitle": "Comentar el enlace de Kaneo en nuevas issues",
- "commentTaskLinkHint": "Si está activado, Kaneo publica un comentario en cada nueva issue con un enlace a la tarea.",
- "webhookTitle": "Webhook",
- "webhookHint": "En tu repositorio de Gitea, añade un webhook con esta URL y secreto. Activa push, pull request, issues, comentarios de issues y create (para etiquetas).",
- "webhookSecretLabel": "Secreto (debe coincidir con el secreto del webhook en Gitea)",
+ "settingsUpdateError": "Error al actualizar la integración con Gitea"
+ },
+ "commentTaskLinkTitle": "Comentar un enlace de Kaneo en los issues nuevos",
+ "commentTaskLinkHint": "Para que quien esté en Gitea pueda ir directamente a la tarea.",
+ "webhookHint": "Añade este webhook en los ajustes del repositorio para que los cambios lleguen a Kaneo.",
"baseUrlLabel": "URL de Gitea",
- "baseUrlHint": "URL raíz de tu instancia de Gitea",
"tokenLabel": "Token de acceso personal",
- "tokenHint": "Token con acceso a repositorio e issues",
"tokenPlaceholder": "Pega el token",
"tokenPlaceholderUpdate": "Pega un nuevo token para rotarlo",
- "currentToken": "guardado",
- "ownerLabel": "Propietario",
- "ownerHint": "Nombre de usuario u organización",
- "repoNameLabel": "Nombre del repositorio",
- "repoNameHint": "Solo el nombre del repositorio (sin propietario)",
- "actionsTitle": "Acciones",
- "actionsHint": "Verifica el acceso y conecta",
- "browse": "Explorar",
- "verify": "Verificar",
- "update": "Actualizar",
- "connect": "Conectar",
- "disconnect": "Desconectar",
- "importSectionTitle": "Importar issues de Gitea",
- "importSectionHint": "Importa las issues abiertas y pull requests del repositorio",
- "importing": "Importando…",
- "importIssues": "Importar issues",
- "importDisabledHint": "Verifica el repositorio de arriba para activar la importación",
- "browseModalTitle": "Tus repositorios",
- "browseModalHint": "Repositorios a los que tu token puede acceder",
- "searchRepos": "Buscar…",
- "browseNeedsCredentials": "Introduce la URL de Gitea y el token para explorar",
- "loadingRepos": "Cargando repositorios…",
- "retry": "Reintentar"
+ "importSectionHint": "Importa los issues y pull requests abiertos como tareas.",
+ "importDisabledHint": "Para importar se necesita acceso verificado. Comprueba el estado del token arriba.",
+ "browseModalHint": "Repositorios a los que tu token puede acceder.",
+ "browseNeedsCredentials": "Introduce la URL de Gitea y un token para explorar.",
+ "browseEmpty": "Este token no puede ver ningún repositorio.",
+ "chooseRepositoryDescription": "Escribe owner/name o elige uno de la lista.",
+ "webhookEvents": "Activa los eventos de push, pull request, issues, comentarios de issues y create."
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Introduce un token de bot de Telegram válido",
"chatIdRequired": "El ID del chat es obligatorio",
- "threadIdInvalid": "Introduce un ID de hilo de tema de Telegram válido"
+ "threadIdInvalid": "Introduce un ID de tema válido"
},
"toast": {
"saved": "Integración con Telegram guardada correctamente",
@@ -1602,58 +1489,22 @@
"removed": "Integración con Telegram eliminada correctamente",
"removeError": "Error al eliminar la integración con Telegram"
},
- "connectionTitle": "Conexión del bot de Telegram",
- "connectionHint": "Usa un token de bot de Telegram y un ID de chat para enviar actualizaciones de las tareas del proyecto a un chat o tema.",
- "connected": "Conectado",
- "paused": "Pausado",
"botTokenLabel": "Token del bot",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Crea un bot con BotFather y pega aquí su token.",
- "botTokenHintConfigured": "Ya hay un token de bot configurado ({{token}}). Introduce uno nuevo para reemplazarlo.",
+ "botTokenHintConfigured": "Token actual: {{token}}",
"chatIdLabel": "ID del chat",
"chatIdPlaceholder": "-1001234567890 o @team_updates",
- "chatIdHint": "Introduce el ID del chat de Telegram o el nombre de usuario del canal donde deben publicarse las actualizaciones.",
- "threadIdLabel": "ID del hilo del tema",
- "threadIdPlaceholder": "ID de tema opcional",
- "threadIdHint": "Opcional. Úsalo para temas de foro dentro de grupos de Telegram.",
- "chatLabelLabel": "Etiqueta del chat",
+ "threadIdLabel": "ID del tema",
+ "threadIdPlaceholder": "Para temas de foros",
+ "chatLabelLabel": "Nombre del chat",
"chatLabelPlaceholder": "Actualizaciones de ingeniería",
- "chatLabelHint": "Etiqueta opcional para tu referencia dentro de Kaneo.",
- "eventsTitle": "Notificaciones de eventos",
- "eventsHint": "Elige qué cambios del proyecto deben publicarse en Telegram.",
- "events": {
- "taskCreated": "Nuevas tareas",
- "taskStatusChanged": "Cambios de estado",
- "taskPriorityChanged": "Cambios de prioridad",
- "taskTitleChanged": "Cambios de título",
- "taskDescriptionChanged": "Cambios de descripción",
- "taskCommentCreated": "Nuevos comentarios"
- },
"connect": "Conectar Telegram",
- "saveChanges": "Guardar cambios",
- "disconnect": "Desconectar"
+ "botTokenSavedPlaceholder": "Guardado. Pega un token nuevo para reemplazarlo.",
+ "loadError": "No se han podido cargar los ajustes de Telegram."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1667,58 +1518,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Crea un webhook de entrada en Mattermost y pégalo aquí.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Casilla de verificación",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Desplegable, selección múltiple"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Quitar valor por defecto",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Acciones para {{name}}",
+ "addOption": "Añadir una opción",
+ "allowSeveral": "Permitir varias",
+ "allowSeveralDescription": "Una tarea puede tener más de una opción.",
+ "checked": "Marcada",
+ "createField": "Crear campo",
+ "defaultDescription": "Las tareas nuevas empiezan con este valor.",
+ "deleteConfirm": "Eliminar campo",
+ "deleteDescription": "Se eliminarán el campo y su valor en todas las tareas. No se puede deshacer.",
+ "deleteTitle": "¿Eliminar “{{name}}”?",
+ "dialogDescription": "Todas las tareas de {{project}} tendrán este campo.",
+ "dialogDescriptionFallback": "Todas las tareas de este proyecto tendrán este campo.",
+ "dragAria": "Reordenar {{name}}",
+ "dragOptionAria": "Reordenar {{option}}",
+ "edit": "Editar",
+ "editTitle": "Editar campo",
+ "emptyDescription": "Registra cosas como el tamaño, el cliente o la fecha de lanzamiento en cada tarea.",
+ "emptyTitle": "Todavía no hay campos personalizados",
+ "issues": {
+ "defaultRequired": "Los campos obligatorios necesitan un valor por defecto.",
+ "moreOptionsRequired": "Añade al menos dos opciones para permitir varias.",
+ "optionsRequired": "Añade al menos una opción."
+ },
+ "nameLabel": "Nombre",
+ "newTitle": "Nuevo campo",
+ "noDefault": "Sin valor por defecto",
+ "optionsLabel": "Opciones",
+ "removeOptionAria": "Quitar {{option}}",
+ "renameOptionAria": "Renombrar {{option}}",
+ "requiredDescription": "Todas las tareas tienen siempre un valor.",
+ "save": "Guardar",
+ "saving": "Guardando...",
+ "startsAs": "Valor inicial: “{{value}}”",
+ "startsAt": "Valor inicial: {{value}}",
+ "startsChecked": "Marcada por defecto",
+ "startsOn": "Fecha inicial: {{date}}",
+ "startsUnchecked": "Sin marcar por defecto",
+ "typeLabel": "Tipo",
+ "typeLocked": "El tipo no se puede cambiar después de crear el campo.",
+ "unchecked": "Sin marcar",
+ "updateError": "Error al guardar el campo personalizado.",
+ "updateSuccess": "Campo personalizado guardado."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Desactivar",
+ "edit": "Editar",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Reactivar"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Rol",
"status": "Status",
"user": "User"
},
@@ -1740,7 +1623,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Todos los usuarios",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1753,7 +1636,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1761,20 +1643,20 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Administrador",
"user": "User"
},
"searchCount_many": "{{count}} matching users",
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Buscar por nombre o correo",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Todas las personas con una cuenta en esta instancia de Kaneo.",
+ "title": "Usuarios",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1783,10 +1665,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_many": "{{count}} registered users",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Tú"
},
"security": "Security",
"securityPage": {
@@ -1801,11 +1680,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Inicio de sesión",
+ "submit": "Cambiar contraseña",
+ "submitting": "Cambiando...",
+ "subtitle": "Cómo inicias sesión en Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1815,94 +1693,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Cambiar contraseña",
+ "dialogDescription": "Al menos 8 caracteres, distinta de la actual.",
+ "dialogTitle": "Cambiar contraseña",
+ "passwordHint": "Usa al menos 8 caracteres que no uses en ningún otro sitio.",
+ "passwordTitle": "Contraseña"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Proyectos de los que tu token es miembro.",
+ "browseNeedsCredentials": "Introduce la URL de GitLab y un token para explorar.",
+ "commentTaskLinkHint": "Para que quien esté en GitLab pueda ir directamente a la tarea.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Importa los issues y merge requests abiertos como tareas.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Buscar proyectos",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Añade este webhook en los ajustes del proyecto para que los cambios lleguen a Kaneo.",
+ "loadProjectsError": "No se han podido cargar los proyectos.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Este token no es miembro de ningún proyecto.",
+ "chooseProjectDescription": "Escribe su ruta o elige uno de la lista.",
+ "noSearchMatchTitle": "No hay proyectos que coincidan",
+ "useProject": "Usar proyecto",
+ "webhookEvents": "Activa los eventos de push, issues, comentarios y merge requests."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Incluir solo estas etiquetas",
+ "selectLabels": "Añadir etiqueta",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1910,20 +1755,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Feeds",
+ "allScheduledTasks": "Todas las tareas planificadas",
+ "subscribeHint": "Añade un enlace a tu aplicación de calendario como suscripción. Los cambios aparecen cuando la aplicación actualiza el feed.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Copiado",
+ "dialogDescription": "Las tareas con fecha de inicio o de vencimiento aparecen en el feed.",
+ "dialogTitle": "Nuevo feed de calendario",
+ "emptyDescription": "Crea un feed para ver las tareas planificadas en tu aplicación de calendario.",
+ "emptyTitle": "Todavía no hay feeds de calendario",
+ "feedActions": "Acciones del feed",
+ "labelsHint": "Déjalo vacío para incluir todas las tareas planificadas.",
+ "newFeed": "Nuevo feed",
+ "revokeConfirm": "Revocar feed",
+ "revokeConfirmDescription": "Las aplicaciones de calendario que usan este enlace dejarán de recibir cambios. No se puede deshacer.",
+ "revokeConfirmTitle": "¿Revocar este feed?",
+ "revoking": "Revocando…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1935,7 +1789,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1968,7 +1821,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1979,7 +1831,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Las facturas, el método de pago y la cancelación se gestionan en Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -2004,15 +1856,15 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Tu plan para {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_many": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_many": "Quedan {{count}} días",
+ "badgeDaysLeft_one": "Queda {{count}} día",
+ "badgeDaysLeft_other": "Quedan {{count}} días"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2032,15 +1884,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2057,9 +1906,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_many": "{{count}} paused links",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2078,16 +1924,30 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Qué se sincroniza",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Todos los issues",
+ "allTasks": "Todas las tareas",
+ "edit": "Editar",
+ "hidePaused": "Ocultar",
+ "issuesLabelled": "Issues etiquetados con",
+ "joinAnd": "y",
+ "joinOr": "o",
+ "kaneoToProvider": "De Kaneo a {{provider}}",
+ "pausedSummary_many": "{{count}} tareas han dejado de sincronizarse porque ya no cumplen las reglas de sincronización.",
+ "pausedSummary_one": "{{count}} tarea ha dejado de sincronizarse porque ya no cumple las reglas de sincronización.",
+ "pausedSummary_other": "{{count}} tareas han dejado de sincronizarse porque ya no cumplen las reglas de sincronización.",
+ "providerToKaneo": "De {{provider}} a Kaneo",
+ "reviewPaused": "Revisar",
+ "tasksLabelled": "Tareas etiquetadas con"
+ },
+ "advancedSettingsDescription": "Muestra controles adicionales, como las reglas de sincronización de las integraciones. Solo en este navegador.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2124,23 +1984,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Todos los espacios de trabajo",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_many": "{{count}} members",
"count_one": "{{count}} member",
"count_other": "{{count}} members",
@@ -2163,9 +2015,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Buscar por nombre o slug",
+ "subtitle": "Todos los espacios de trabajo de esta instancia de Kaneo, incluidos aquellos a los que no perteneces.",
+ "title": "Espacios de trabajo",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2175,10 +2027,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_many": "{{count}} workspaces",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2469,6 +2318,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Desactívalo para pausar sin perder la configuración.",
+ "activeTitle": "Publicando en {{provider}}",
+ "channelHint": "Solo se usa como nombre en esta lista.",
+ "channelLabel": "Canal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Desconectar",
+ "disconnectDescription": "Kaneo dejará de publicar en {{provider}} y eliminará los ajustes guardados.",
+ "disconnecting": "Desconectando…",
+ "disconnectTitle": "¿Desconectar {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Alguien comenta",
+ "taskCreated": "Se crea una tarea",
+ "taskDescriptionChanged": "Cambia la descripción",
+ "taskPriorityChanged": "Cambia la prioridad",
+ "taskStatusChanged": "Cambia el estado",
+ "taskTitleChanged": "Cambia el título"
+ },
+ "optional": "Opcional",
+ "postWhen": "Publicar cuando",
+ "retry": "Reintentar",
+ "saveChanges": "Guardar cambios",
+ "savedUrlPlaceholder": "Guardada. Pega una URL nueva para reemplazarla.",
+ "webhookUrlLabel": "URL del webhook"
+ },
+ "codeHosting": {
+ "browse": "Explorar",
+ "changeToken": "Cambiar token",
+ "checking": "Comprobando el acceso…",
+ "chooseProjectTitle": "Elige un proyecto",
+ "chooseRepositoryTitle": "Elige un repositorio",
+ "connectProject": "Conectar proyecto",
+ "connectRepository": "Conectar repositorio",
+ "copied": "Copiado",
+ "copyFailed": "No se ha podido copiar al portapapeles.",
+ "copySecret": "Copiar secreto",
+ "copyUrl": "Copiar URL del webhook",
+ "disconnect": "Desconectar",
+ "disconnectDescription": "Las tareas dejarán de sincronizarse con {{target}}. Puedes volver a conectarlo más tarde.",
+ "disconnecting": "Desconectando…",
+ "disconnectTitle": "¿Desconectar {{provider}}?",
+ "hideSecret": "Ocultar secreto",
+ "importing": "Importando…",
+ "importIssues": "Importar issues",
+ "importNeedsReconnect": "Vuelve a conectar para activar la importación.",
+ "importTitle": "Importar issues abiertos",
+ "issuesSection": "Issues",
+ "lastImport": "Última importación: {{imported}} creadas, {{updated}} actualizadas, {{skipped}} omitidas.",
+ "loadError": "No se ha podido cargar esta integración.",
+ "pausedHint": "La sincronización está en pausa. Vuelve a conectar para reanudarla.",
+ "projectSection": "Proyecto",
+ "reconnect": "Volver a conectar",
+ "repositoryPathInvalid": "Introduce el repositorio como owner/name.",
+ "repositoryPathLabel": "Repositorio",
+ "repositorySection": "Repositorio",
+ "retry": "Reintentar",
+ "saveToken": "Guardar token",
+ "showSecret": "Mostrar secreto",
+ "signInDescription": "Usa un token que pueda leer el proyecto y sus issues.",
+ "signInTitle": "Inicia sesión en tu instancia",
+ "tokenStored": "Token guardado",
+ "tokenTitle": "Token de acceso",
+ "webhookSecret": "Secreto",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Arrastra para cambiar el orden en que aparecen en una tarea.",
+ "fieldsTitle": "Campos",
+ "newField": "Nuevo campo",
+ "pageTitle": "Campos personalizados",
+ "subtitle": "Detalles adicionales que puede registrar cada tarea de {{project}}, como el tamaño o el cliente.",
+ "subtitleFallback": "Detalles adicionales que puede registrar cada tarea de este proyecto, como el tamaño o el cliente.",
+ "title": "Campos personalizados"
+ },
+ "shared": {
+ "autosave": "Los cambios se guardan automáticamente"
}
},
"navigation": {
diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json
index 91cfa768c..2f325934d 100644
--- a/i18n/fr-FR.json
+++ b/i18n/fr-FR.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Jamais"
- },
"modals": {
"createProject": {
"title": "Créer un nouveau projet",
@@ -571,37 +568,32 @@
"advancedSettings": "Paramètres avancés",
"account": "Compte",
"developer": "Développeur",
- "information": "Information",
+ "information": "Profil",
"notifications": "Notifications",
"preferences": "Préférences",
"apiKeys": "Clés API",
"informationPage": {
- "pageTitle": "Informations personnelles",
- "title": "Informations personnelles",
- "subtitle": "Gérez vos informations personnelles et les détails de votre compte.",
- "sectionTitle": "Informations sur le compte",
- "sectionSubtitle": "Gérez votre profil et les détails de votre compte.",
+ "pageTitle": "Profil",
+ "title": "Profil",
+ "subtitle": "Ce que vos coéquipiers voient de vous.",
+ "sectionTitle": "Informations",
"profilePicture": "Photo de profil",
- "fullName": "Nom complet",
+ "fullName": "Nom",
"fullNamePlaceholder": "Entrez votre nom",
"email": "Email",
- "emailPlaceholder": "Entrez votre email",
- "updateSuccess": "Profil mis à jour avec succès",
"updateError": "Échec de la mise à jour du profil",
"validation": {
"nameRequired": "Le nom est requis",
- "nameShort": "Le nom doit contenir au moins 2 caractères",
- "invalidEmail": "Adresse email invalide"
+ "nameShort": "Le nom doit contenir au moins 2 caractères"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Les images carrées rendent mieux.",
+ "remove": "Retirer",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Téléverser"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -610,39 +602,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Vous vous connectez avec cette adresse."
},
"notificationsPage": {
"pageTitle": "Notifications",
"title": "Notifications",
- "subtitle": "Choisissez comment Kaneo transmet les notifications de votre compte et quels canaux utiliser.",
+ "subtitle": "Ce dont Kaneo vous informe, et où vous le recevez.",
"statusConnected": "Connecté",
"statusPaused": "En pause",
"emailTitle": "Email",
- "emailDescription": "Utilisez l'email de votre compte comme destination pour les notifications.",
- "accountEmailLabel": "Email du compte",
"accountEmailNoAddress": "Aucune adresse email de compte disponible",
- "accountEmailHint": "Les emails sont toujours envoyés à l'adresse email associée au compte connecté.",
"saveChanges": "Enregistrer les modifications",
"disconnect": "Déconnecter",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Publier les notifications du compte sur un sujet ntfy.",
+ "ntfyDescription": "Publiez sur un sujet ntfy, sur votre téléphone ou votre ordinateur.",
"serverUrl": "URL du serveur",
"topic": "Sujet",
"token": "Jeton",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Jeton Bearer facultatif",
+ "ntfyTokenPlaceholder": "Seulement si votre serveur en exige un",
"ntfyTokenHintConfigured": "Un jeton est déjà configuré ({{masked}}). Saisissez-en un nouveau pour le remplacer.",
- "ntfyTokenHintOptional": "Facultatif. Fournissez un jeton si votre serveur ntfy nécessite une authentification.",
+ "ntfyTokenHintOptional": "Utilisez-en un si votre serveur ntfy exige une authentification.",
"connectNtfy": "Connecter ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Envoyer les notifications du compte vers votre serveur Gotify.",
+ "gotifyDescription": "Envoyez les notifications vers votre serveur Gotify.",
"gotifyTokenLabel": "Jeton d'application",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Jeton d'application Gotify",
@@ -650,38 +639,16 @@
"gotifyTokenHintRequired": "Obligatoire. Utilisez un jeton d'application provenant de votre serveur Gotify.",
"connectGotify": "Connecter Gotify",
"webhookTitle": "Webhook personnalisé",
- "webhookDescription": "Envoyer les notifications du compte vers votre propre point de terminaison au format JSON.",
+ "webhookDescription": "Envoyez chaque notification à votre propre point de terminaison au format JSON.",
"endpointUrl": "URL du point de terminaison",
"signingSecret": "Secret de signature",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Secret partagé facultatif",
"webhookSecretHintConfigured": "Un secret de signature est déjà configuré ({{masked}}). Saisissez-en un nouveau pour le remplacer.",
- "webhookSecretHintOptional": "Facultatif. Kaneo signe le corps de la requête lorsqu'un secret est défini.",
+ "webhookSecretHintOptional": "Kaneo signe le corps de la requête lorsqu'un secret est défini.",
"connectWebhook": "Connecter le webhook",
- "workspaceRulesTitle": "Règles d'envoi par espace de travail",
- "workspaceRulesDescription": "Réutilisez vos canaux globaux, puis choisissez quels espaces de travail et projets sont autorisés à envoyer des notifications de compte.",
- "workspaceCardHint": "Choisissez quels canaux cet espace de travail peut utiliser pour les notifications du compte.",
- "workspaceCardLabelEmail": "Email",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Webhook",
- "emailChannelHintEnabled": "Envoyer les notifications correspondantes de cet espace de travail par email.",
- "emailChannelHintDisabled": "Configurez et activez d'abord l'email au niveau global.",
- "ntfyChannelHintEnabled": "Envoyer les notifications correspondantes de cet espace de travail vers ntfy.",
- "ntfyChannelHintDisabled": "Configurez et activez d'abord ntfy au niveau global.",
- "gotifyChannelHintEnabled": "Envoyer les notifications correspondantes de cet espace de travail vers Gotify.",
- "gotifyChannelHintDisabled": "Configurez et activez d'abord Gotify au niveau global.",
- "webhookChannelHintEnabled": "Envoyer les notifications correspondantes de cet espace de travail vers votre webhook.",
- "webhookChannelHintDisabled": "Configurez et activez d'abord le webhook au niveau global.",
- "projectScope": "Portée des projets",
- "projectScopeDescription": "Tous les projets sont inclus par défaut. Limitez la portée si cet espace de travail ne doit envoyer des notifications que pour certains projets.",
"allProjects": "Tous les projets",
- "allProjectsDescription": "Envoyer les notifications de tous les projets de cet espace de travail.",
- "selectedProjects": "Projets sélectionnés",
- "selectedProjectsDescription": "N'envoyer les notifications que pour les projets choisis.",
"noProjectsInWorkspace": "Aucun projet n'est encore disponible dans cet espace de travail.",
- "createRule": "Créer une règle",
- "removeRule": "Supprimer la règle",
"toastEmailSaved": "Paramètres des notifications par email enregistrés",
"toastEmailSaveFailed": "Échec de l'enregistrement des paramètres email",
"toastNtfySaved": "Paramètres ntfy enregistrés",
@@ -704,151 +671,177 @@
"toastPreferencesSaveFailed": "Échec de l'enregistrement des préférences de notification",
"toastRuleSavedGeneric": "Règle de notification de l'espace de travail enregistrée",
"toastRuleRemovedGeneric": "Règle de notification de l'espace de travail supprimée",
- "workspaceEnabledLabel": "Activer les notifications pour {{workspaceName}}",
"eventPreferencesTitle": "Me notifier pour",
- "eventPreferencesDescription": "Choisissez quels événements de tâche créent des notifications dans l'application et peuvent être envoyés à vos canaux connectés.",
- "eventTaskAssignments": "Assignations de tâches",
+ "eventPreferencesDescription": "Vos propres commentaires, mentions et changements de statut ne vous notifient jamais.",
+ "eventTaskAssignments": "Assignations",
"eventComments": "Commentaires et mentions",
- "eventCommentsHint": "Inclut les nouveaux commentaires sur les tâches qui vous sont assignées et les @mentions directes.",
- "eventStatusChanges": "Changements de statut des tâches",
+ "eventCommentsHint": "Les nouveaux commentaires sur vos tâches, et toute personne qui vous @mentionne.",
+ "eventStatusChanges": "Changements de statut",
"eventDueDateReminders": "Rappels d'échéance",
"reminderLeadTimeLabel": "Me rappeler avant la date d'échéance",
- "reminderLeadTimeHint": "Entre 1 heure et 30 jours avant. Les notifications de retard sont envoyées séparément.",
- "reminderLeadTimeUnitHours": "Heures",
- "reminderLeadTimeUnitDays": "Jours",
"reminderLeadTimeInvalid": "Entrez un nombre entier entre 1 et {{max}}.",
"saveEventPreferences": "Enregistrer les types de notification",
- "recipientHint": "Les commentaires et les changements de statut vous notifient des tâches qui vous sont assignées. Les mentions notifient le membre sélectionné. Vos propres commentaires, mentions et changements de statut ne vous envoient pas de notifications."
+ "channelNotConnected": "Non connecté",
+ "channelOff": "Désactivé",
+ "channelsDescription": "Les notifications s'affichent toujours dans Kaneo. Connectez un canal pour les recevoir aussi ailleurs.",
+ "channelsTitle": "Canaux",
+ "configure": "Configurer",
+ "configureChannel": "Configurer {{channel}}",
+ "configureWorkspace": "Configurer les notifications pour {{workspaceName}}",
+ "connect": "Connecter",
+ "connectChannel": "Connecter {{channel}}",
+ "disconnectDescription": "Les notifications ne seront plus envoyées à {{channel}}, et ses paramètres enregistrés seront supprimés.",
+ "disconnecting": "Déconnexion...",
+ "disconnectTitle": "Déconnecter {{channel}} ?",
+ "done": "Terminé",
+ "emailToggleLabel": "Envoyer les notifications par email",
+ "eventDueDateRemindersHint": "Avant l'échéance de l'une de vos tâches. Les tâches en retard font l'objet d'une notification distincte.",
+ "eventStatusChangesHint": "Quand l'une de vos tâches passe dans une autre colonne.",
+ "eventTaskAssignmentsHint": "Quand quelqu'un vous assigne une tâche.",
+ "loadFailed": "Impossible de charger les paramètres de notification.",
+ "onlyInKaneo": "Uniquement dans Kaneo",
+ "optional": "Facultatif",
+ "projectCount_many": "{{count}} projets",
+ "projectCount_one": "{{count}} projet",
+ "projectCount_other": "{{count}} projets",
+ "reminderLeadTimeUnitDaysBefore_many": "jours avant",
+ "reminderLeadTimeUnitDaysBefore_one": "jour avant",
+ "reminderLeadTimeUnitDaysBefore_other": "jours avant",
+ "reminderLeadTimeUnitHoursBefore_many": "heures avant",
+ "reminderLeadTimeUnitHoursBefore_one": "heure avant",
+ "reminderLeadTimeUnitHoursBefore_other": "heures avant",
+ "reminderLeadTimeUnitLabel": "Unité du rappel",
+ "ruleActiveDescription": "Désactivez pour mettre cet espace de travail en pause et conserver sa configuration.",
+ "ruleActiveLabel": "Envoi",
+ "ruleChannels": "Canaux",
+ "ruleDialogDescription": "Où les notifications de cet espace de travail peuvent être envoyées.",
+ "ruleDialogTitle": "Notifications de {{workspaceName}}",
+ "ruleProjects": "Projets",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Enregistrer",
+ "sendingDescription": "Désactivez pour mettre ce canal en pause et conserver ses paramètres.",
+ "sendingLabel": "Envoi",
+ "setUp": "Configurer",
+ "setUpWorkspace": "Configurer les notifications pour {{workspaceName}}",
+ "someProjects": "Seulement certains",
+ "statusOn": "Activé",
+ "statusSending": "Actif",
+ "stopping": "Arrêt...",
+ "stopSending": "Arrêter l'envoi",
+ "stopSendingDescription": "Les notifications de cet espace de travail s'afficheront uniquement dans Kaneo.",
+ "stopSendingTitle": "Arrêter l'envoi depuis {{workspaceName}} ?",
+ "workspacesDescription": "Choisissez quels espaces de travail et projets peuvent utiliser vos canaux.",
+ "workspacesTitle": "Espaces de travail"
},
"preferencesPage": {
"title": "Préférences",
- "subtitle": "Personnalisez votre expérience Kaneo.",
- "appearanceTitle": "Apparence",
- "appearanceSubtitle": "Paramètres visuels et préférences de mise en page.",
+ "subtitle": "L'apparence et le fonctionnement de Kaneo pour vous.",
+ "appearanceTitle": "Général",
"theme": "Thème",
- "themeDescription": "Choisissez votre palette de couleurs préférée",
"selectTheme": "Sélectionnez un thème",
"themeLight": "Clair",
"themeDark": "Sombre",
- "themeSystem": "Système",
+ "themeSystem": "Suivre le système",
"language": "Langue",
- "languageDescription": "Choisissez la langue de l'interface",
"selectLanguage": "Sélectionnez une langue",
"firstDayOfWeek": "Premier jour de la semaine",
- "firstDayOfWeekDescription": "Choisissez le jour où commencent les calendriers et les semaines",
+ "firstDayOfWeekDescription": "Utilisé par les calendriers et les sélecteurs de date.",
"selectFirstDayOfWeek": "Sélectionnez le premier jour",
"weekStartsOnSunday": "Dimanche",
"weekStartsOnMonday": "Lundi",
"weekStartsOnSaturday": "Samedi",
"defaultView": "Vue par défaut",
- "defaultViewDescription": "Choisissez votre mode d'affichage des tâches préféré",
+ "defaultViewDescription": "La vue dans laquelle s'ouvrent les projets.",
"selectViewMode": "Sélectionnez un mode d'affichage",
"board": "Tableau",
"list": "Liste",
"gantt": "Gantt",
- "sidebarDefault": "Barre latérale par défaut",
- "sidebarDefaultDescription": "Garder la barre latérale ouverte au démarrage",
- "displayOptions": "Options d'affichage",
- "displayOptionsDescription": "Choisissez les informations à afficher dans les vues de tâches",
+ "sidebarDefault": "Garder la barre latérale ouverte",
+ "sidebarDefaultDescription": "Démarrer avec la barre latérale déployée.",
+ "displayOptions": "Détails des tâches",
+ "displayOptionsDescription": "Ce qui s'affiche sur les cartes et les lignes de vos tableaux et listes.",
"taskNumbers": "Numéros de tâches",
- "taskNumbersDescription": "Afficher les ID et numéros de tâches",
"assignees": "Assignés",
- "assigneesDescription": "Afficher les personnes assignées aux tâches",
"dueDates": "Dates d'échéance",
- "dueDatesDescription": "Afficher les dates d'échéance des tâches",
"labels": "Labels",
- "labelsDescription": "Afficher les labels et tags des tâches",
"priority": "Priorité",
- "priorityDescription": "Afficher les indicateurs de priorité",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Afficher l'image définie par un projet derrière son tableau.",
+ "advancedTitle": "Avancé"
},
"developerPage": {
- "pageTitle": "Paramètres développeur",
- "title": "Paramètres développeur",
- "subtitle": "Gérez vos clés API et vos ressources développeur.",
- "apiKeysCardTitle": "Clés API",
- "apiKeysCardDescription": "Créez et gérez des clés API pour un accès programmatique à Kaneo.",
- "createApiKey": "Créer une clé API",
- "unnamedKey": "Clé sans nom"
+ "pageTitle": "Clés API",
+ "title": "Clés API",
+ "subtitle": "Permettez aux scripts, à la CLI et aux clients MCP d'utiliser Kaneo en votre nom.",
+ "unnamedKey": "Sans nom",
+ "emptyDescription": "Créez une clé pour utiliser la CLI, un client MCP ou vos propres scripts.",
+ "emptyTitle": "Aucune clé API pour le moment",
+ "keysNote": "Une clé peut faire tout ce que vous pouvez faire. Supprimez les clés que vous n'utilisez plus.",
+ "keysTitle": "Clés",
+ "loadError": "Impossible de charger les clés API. Veuillez réessayer.",
+ "newKey": "Nouvelle clé"
},
"apiKey": {
"createdModal": {
- "title": "Clé API créée",
- "description": "Votre clé API \"{{keyName}}\" a été créée avec succès.",
- "yourApiKey": "Votre clé API",
+ "title": "Copiez votre clé",
+ "description": "Vous ne pourrez plus la voir après avoir fermé cette fenêtre.",
"copy": "Copier",
"copied": "Copié",
- "toastCopied": "Clé API copiée dans le presse-papiers",
- "alertTitle": "Succès! Votre clé API a été créée",
- "alertDescription": "Copiez cette clé maintenant. Vous ne pourrez plus la voir.",
"done": "Terminé",
- "copyToContinue": "Copier la clé pour continuer"
+ "copyError": "Impossible de copier la clé. Sélectionnez-la et copiez-la manuellement."
},
"table": {
- "loading": "Chargement des clés API...",
- "empty": "Aucune clé API pour le moment. Créez-en une pour commencer.",
- "columnName": "Nom",
- "columnKey": "Clé",
- "columnCreated": "Créé",
- "columnExpires": "Expiré",
- "columnActions": "Actions",
- "unnamedKey": "Clé sans nom",
- "expiredBadge": "Expiré {{label}}",
- "deleteConfirmTitle": "Supprimer la clé API?",
- "deleteConfirmDescription": "Cette action ne peut pas être annulée. Cela supprimera définitivement {{name}}.",
- "deleteFallbackName": "cette clé API",
- "delete": "Supprimer",
- "deleting": "Suppression...",
- "deleteAria": "Supprimer {{name}}",
- "deleteAriaFallback": "Clé API",
- "toastDeleted": "Clé API supprimée avec succès",
- "toastDeleteError": "Échec de la suppression de la clé API"
+ "deleteConfirmTitle": "Supprimer “{{name}}” ?",
+ "deleteConfirmDescription": "Tout ce qui utilise cette clé cessera de fonctionner. Cette action ne peut pas être annulée.",
+ "delete": "Supprimer la clé",
+ "deleting": "Suppression…",
+ "toastDeleted": "Clé API supprimée",
+ "toastDeleteError": "Impossible de supprimer la clé API"
},
"createDialog": {
- "title": "Créer une clé API",
- "description": "Créez une nouvelle clé API pour accéder à l'API Kaneo par programme.",
+ "title": "Nouvelle clé API",
+ "description": "La clé peut faire tout ce que vous pouvez faire.",
"nameLabel": "Nom",
"namePlaceholder": "Ma clé API",
- "nameDescription": "Un nom descriptif pour cette clé API",
+ "nameDescription": "Pour vous rappeler où elle est utilisée.",
"expirationLabel": "Expiration",
- "expirationPlaceholder": "Sélectionner une expiration",
- "expirationDescription": "Choisissez combien de temps cette clé API doit rester valide. \"Jamais\" créera une clé sans expiration automatique.",
"expiration1d": "1 jour",
"expiration7d": "7 jours",
"expiration30d": "30 jours",
"expiration90d": "90 jours",
"expirationNever": "Jamais",
- "create": "Créer",
- "creating": "Création...",
- "failedCreate": "Échec de la création de la clé API",
+ "create": "Créer la clé",
+ "creating": "Création…",
+ "failedCreate": "Impossible de créer la clé API",
"validation": {
- "nameRequired": "Le nom est requis",
- "nameShort": "Le nom doit contenir au moins 3 caractères",
- "expirationRequired": "Une date d'expiration est requise"
+ "nameRequired": "Entrez un nom",
+ "nameShort": "Utilisez au moins 3 caractères"
}
+ },
+ "row": {
+ "actions": "Actions pour {{name}}",
+ "created": "Créée le {{date}}",
+ "expired": "Expirée le {{date}}",
+ "expiredBadge": "Expirée",
+ "expires": "Expire le {{date}}",
+ "neverExpires": "N'expire jamais"
}
},
"workspaceGeneral": {
"pageTitle": "Paramètres Généraux",
- "title": "Paramètres Généraux",
- "subtitle": "Gérez le nom et la description de votre espace de travail.",
- "workspaceInfoTitle": "Informations sur l'espace de travail",
- "workspaceInfoSubtitle": "Configurez les détails et les préférences de votre espace de travail.",
- "nameLabel": "Nom de l'espace de travail",
- "nameHint": "Le nom de votre espace de travail",
+ "title": "Général",
+ "subtitle": "Le nom de {{name}} et son propriétaire.",
+ "workspaceInfoTitle": "Espace de travail",
+ "nameLabel": "Nom",
"namePlaceholder": "Entrez le nom de l'espace de travail",
"descriptionLabel": "Description",
- "descriptionHint": "Une brève description de votre espace de travail",
- "descriptionPlaceholder": "Entrez la description de l'espace de travail",
+ "descriptionPlaceholder": "Sur quoi travaille votre équipe ?",
"dangerZone": "Zone dangereuse",
- "dangerZoneSubtitle": "Actions irréversibles et destructrices.",
"deleteWorkspace": "Supprimer l'espace de travail",
- "deleteWorkspaceDescription": "Planifier la suppression définitive de l'espace de travail",
- "deleteModalTitle": "Supprimer l'espace de travail?",
- "deleteModalDescription": "Cela supprimera définitivement l'espace de travail \"{{name}}\" et toutes ses données. Cette action ne peut pas être annulée.",
+ "deleteWorkspaceDescription": "Supprime définitivement {{name}}, ses projets et ses tâches.",
+ "deleteModalTitle": "Supprimer l'espace de travail ?",
+ "deleteModalDescription": "Cela supprime définitivement {{name}} ainsi que tous ses projets et toutes ses tâches. Cette action ne peut pas être annulée.",
"deleteModalConfirm": "Supprimer l'espace de travail",
- "toastUpdated": "Espace de travail mis à jour avec succès",
"toastUpdateError": "Échec de la mise à jour de l'espace de travail",
"toastDeleted": "Espace de travail supprimé avec succès",
"toastDeleteError": "Échec de la suppression de l'espace de travail",
@@ -860,45 +853,41 @@
"toastSuccess": "Propriété transférée",
"toastError": "Échec du transfert de propriété",
"title": "Transférer la propriété",
- "subtitle": "Confiez cet espace de travail à un autre membre. Vous serez rétrogradé au rôle d'admin et perdrez les capacités réservées au propriétaire.",
"pickerLabel": "Nouveau propriétaire",
"noEligibleMembers": "Invitez au moins un autre membre avant de pouvoir transférer la propriété.",
- "pickerHint": "Il deviendra l'unique propriétaire de cet espace de travail.",
- "pickerPlaceholder": "Sélectionnez un membre",
+ "pickerHint": "Le nouveau propriétaire prend le relais. Vous conservez le rôle d'admin.",
+ "pickerPlaceholder": "Choisissez un membre",
"button": "Transférer",
"dialogTitle": "Transférer la propriété ?",
"dialogDescription": "{{name}} deviendra l'unique propriétaire de {{workspace}}. Vous conserverez l'accès admin mais perdrez les capacités réservées au propriétaire, comme supprimer l'espace de travail ou le transférer à nouveau.",
"transferring": "Transfert…",
"confirm": "Transférer la propriété"
- }
+ },
+ "ownershipSubtitle": "Seul le propriétaire voit cette section.",
+ "ownershipTitle": "Propriété"
},
"projectGeneral": {
"pageTitle": "Paramètres du projet",
- "title": "Paramètres Généraux",
- "subtitle": "Gérez le nom, la clé, l'icône et la description de votre projet.",
- "projectInfoTitle": "Informations sur le projet",
- "projectInfoSubtitle": "Configurez les détails et les préférences de votre projet.",
+ "title": "Général",
+ "subtitle": "Le nom, la clé et l'apparence de {{name}}.",
+ "projectInfoTitle": "Projet",
"iconLabel": "Icône",
- "iconHint": "S'affiche dans la barre latérale et les surfaces du projet.",
+ "iconHint": "Affichée dans la barre latérale et les listes de projets.",
"pickIconTitle": "Choisir une icône",
"searchIconsPlaceholder": "Rechercher des icônes...",
- "projectNameLabel": "Nom du projet",
- "projectNameHint": "Le nom de votre projet",
- "projectNamePlaceholder": "Entrez le nom du projet",
+ "projectNameLabel": "Nom",
+ "projectNamePlaceholder": "Nom du projet",
"keyLabel": "Clé",
- "keyHint": "Utilisé pour les ID de tickets (ex: {{slug}}-123)",
+ "keyHint": "Préfixe de chaque identifiant de tâche, comme {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Description",
- "descriptionHint": "Une brève description de votre projet",
- "descriptionPlaceholder": "Entrez la description du projet",
+ "descriptionPlaceholder": "À quoi sert ce projet ?",
"dangerZone": "Zone dangereuse",
- "dangerZoneSubtitle": "Actions irréversibles et destructrices.",
"deleteProject": "Supprimer le projet",
- "deleteProjectDescription": "Planifier la suppression définitive du projet",
- "deleteModalTitle": "Supprimer le projet?",
- "deleteModalDescription": "Cela supprimera définitivement le projet \"{{name}}\" et toutes ses données. Cette action ne peut pas être annulée.",
+ "deleteProjectDescription": "Supprime définitivement {{name}} et toutes ses tâches.",
+ "deleteModalTitle": "Supprimer le projet ?",
+ "deleteModalDescription": "Cela supprime définitivement {{name}} et toutes ses tâches. Cette action ne peut pas être annulée.",
"deleteModalConfirm": "Supprimer le projet",
- "toastUpdated": "Projet mis à jour avec succès",
"toastUpdateError": "Échec de la mise à jour du projet",
"toastDeleted": "Projet supprimé avec succès",
"toastDeleteError": "Échec de la suppression du projet",
@@ -908,33 +897,35 @@
"keyMax": "La clé doit contenir au plus 8 caractères",
"iconRequired": "L'icône est requise"
},
- "importExportTasks": "Importation/Exportation",
- "importExportTasksDescription": "Importation/Exportation des Tâches",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Une image derrière le tableau. Chacun peut désactiver ces images.",
+ "backgroundUnavailable": "Le téléversement d'images n'est pas configuré sur cette instance.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Remplacer",
+ "backgroundUpload": "Téléverser",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Déplacer le projet",
- "moveModalDescription": "Cette action déplacera le projet \"{{name}}\" et toutes ses tâches vers \"{{workspace}}\". Les tâches assignées à des personnes qui ne sont pas membres de cet espace de travail seront désassignées, et les abonnements aux notifications de ce projet seront supprimés.",
- "moveModalTitle": "Déplacer le projet ?",
- "moveProject": "Déplacer vers un espace de travail",
+ "moveProject": "Déplacer vers un autre espace de travail",
"moveProjectAction": "Déplacer",
- "moveProjectDescription": "Déplacez ce projet, avec toutes ses tâches, vers un autre espace de travail.",
- "moveProjectPlaceholder": "Sélectionner un espace de travail",
+ "moveProjectDescription": "Les tâches, colonnes et labels sont déplacés avec lui.",
+ "moveProjectPlaceholder": "Choisissez un espace de travail",
"toastMoved": "Projet déplacé avec succès",
"toastMovedWithUnassigned": "Projet déplacé avec succès. {{taskCount}} tâche(s) ont été désassignées.",
"toastMoveError": "Échec du déplacement du projet",
- "moveTargetsError": "Impossible de vérifier vers quels espaces de travail vous pouvez déplacer ce projet. Rechargez la page pour réessayer."
+ "moveTargetsError": "Impossible de vérifier vers quels espaces de travail vous pouvez déplacer ce projet. Rechargez la page pour réessayer.",
+ "moveDialogDescription": "Les tâches assignées à des personnes extérieures au nouvel espace de travail seront désassignées, et les abonnements aux notifications de ce projet seront supprimés.",
+ "moveDialogTitle": "Déplacer vers un autre espace de travail ?",
+ "moveTargetLabel": "Espace de travail",
+ "moving": "Déplacement...",
+ "tasksTitle": "Tâches"
},
"projectIntegrations": {
- "pageTitle": "Intégrations du projet",
- "title": "Intégrations du projet",
- "subtitle": "Connectez votre projet avec des outils et services externes pour rationaliser votre flux de travail.",
+ "pageTitle": "Intégrations",
+ "title": "Intégrations",
+ "subtitle": "Connectez ce projet à votre hébergeur de code et à la messagerie de votre équipe.",
"githubSectionTitle": "Intégration GitHub",
"githubSectionSubtitle": "Synchronisez les tâches avec les problèmes GitHub et activez la synchronisation bidirectionnelle.",
"giteaSectionTitle": "Intégration Gitea",
@@ -943,16 +934,16 @@
"telegramSectionSubtitle": "Envoyez les mises à jour des tâches du projet dans un chat ou un sujet Telegram avec un bot.",
"discordSectionTitle": "Intégration Discord",
"discordSectionSubtitle": "Envoyez les mises à jour des tâches du projet dans un canal Discord via un webhook.",
- "genericWebhookSectionTitle": "Webhooks génériques",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Envoyez les événements des tâches du projet vers n'importe quel point de terminaison HTTP au format JSON.",
"slackSectionTitle": "Intégration Slack",
"slackSectionSubtitle": "Envoyez les mises à jour des tâches du projet dans un canal Slack via un webhook entrant.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Synchronisez les tâches avec GitLab.com ou une instance autogérée.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Hébergement de code",
- "chatTitle": "Chat et webhooks",
+ "chatTitle": "Messagerie et webhooks",
"statusConnected": "Connecté",
"statusPaused": "En pause",
"connect": "Connecter",
@@ -962,69 +953,59 @@
"projectVisibility": {
"pageTitle": "Visibilité du projet",
"title": "Visibilité",
- "subtitle": "Contrôlez qui peut voir et accéder à votre projet.",
- "sectionTitle": "Visibilité",
- "sectionSubtitle": "Activez l'accès public et partagez l'URL publique.",
- "publicAccess": "Accès public",
- "publicAccessHint": "Permet à toute personne disposant de l'URL de visualiser ce projet",
+ "subtitle": "Choisissez qui peut voir {{project}} en dehors de {{workspace}}.",
+ "sectionTitle": "Accès",
+ "publicAccess": "Lien public",
+ "publicAccessHint": "Toute personne disposant du lien peut voir le tableau et ses tâches, sans rien pouvoir modifier.",
"publicUrl": "URL publique",
- "publicUrlHint": "Partagez ce lien si le projet est public",
- "copy": "Copier",
- "copiedToast": "Copié",
+ "copy": "Copier le lien",
"toastUpdated": "Visibilité mise à jour",
- "toastUpdateError": "Échec de la mise à jour de la visibilité"
+ "toastUpdateError": "Échec de la mise à jour de la visibilité",
+ "always": "Toujours",
+ "copied": "Copié",
+ "copyError": "Impossible de copier le lien",
+ "membersDescription": "Toutes les personnes de l'espace de travail, selon ce que leur rôle autorise.",
+ "membersTitle": "Membres de {{workspace}}",
+ "offNote": "Désactiver le lien public le rend immédiatement inutilisable.",
+ "on": "Activé",
+ "openPublicPage": "Ouvrir la page publique",
+ "thisWorkspace": "cet espace de travail"
},
"projectWorkflow": {
"pageTitle": "Paramètres du flux de travail",
"title": "Flux de travail",
- "subtitle": "Configurez les colonnes du tableau et les règles d'automatisation pour ce projet.",
+ "subtitle": "Les colonnes de votre tableau, et ce qui déplace les tâches de l'une à l'autre.",
"columnsTitle": "Colonnes",
- "columnsDescription": "Gérez les colonnes qui apparaissent sur votre tableau. Faites glisser pour réorganiser. Activez \"Colonne terminée\" pour les étapes qui représentent le travail terminé.",
- "automationTitle": "Règles d'automatisation",
- "automationDescription": "Mappez les événements d'intégration aux colonnes. Lorsqu'un événement se produit, la tâche liée se déplace vers la colonne spécifiée.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Faites glisser pour réorganiser. Les tâches d'une colonne terminée sont comptées comme achevées.",
+ "automationTitle": "Automatisations",
+ "automationDescription": "Déplacez une tâche liée quand un événement se produit dans un dépôt connecté."
},
"projectSwitcher": {
"selectProject": "Sélectionner un projet",
"noProjects": "Aucun projet"
},
"columnEditor": {
- "toastCreated": "Colonne créée",
"toastCreateError": "Échec de la création de la colonne",
- "toastRenamed": "Colonne renommée",
"toastRenameError": "Échec de la mise à jour de la colonne",
- "toastFinalOn": "Colonne marquée comme terminée",
- "toastFinalOff": "La colonne n'est plus marquée comme terminée",
"toastUpdateError": "Échec de la mise à jour de la colonne",
- "toastIconUpdated": "Icône de la colonne mise à jour",
- "toastDeleted": "Colonne supprimée",
"toastDeleteError": "Échec de la suppression de la colonne",
- "loading": "Chargement des colonnes...",
"pickIconTitle": "Choisir l'icône de la colonne",
"searchIconsPlaceholder": "Rechercher des icônes...",
- "doneColumnTooltip": "Considérer ceci comme une colonne terminée",
- "doneColumn": "Colonne terminée",
"markDoneAria": "Marquer {{name}} comme colonne terminée",
- "on": "On",
- "off": "Off",
- "newColumnPlaceholder": "Nouveau nom de colonne...",
- "add": "Ajouter",
+ "newColumnPlaceholder": "Nom de la colonne",
"deleteAria": "Supprimer la colonne {{name}}",
- "renameAria": "Renommer la colonne {{name}}"
+ "renameAria": "Renommer la colonne {{name}}",
+ "addColumn": "Ajouter une colonne",
+ "columnHeader": "Colonne",
+ "deleteConfirm": "Supprimer la colonne",
+ "deleteDescription": "Les colonnes qui contiennent encore des tâches ne peuvent pas être supprimées. Déplacez d'abord ces tâches.",
+ "deleteTitle": "Supprimer “{{name}}” ?",
+ "doneHeader": "Terminé",
+ "dragAria": "Réorganiser {{name}}",
+ "reorderError": "Échec de la réorganisation des colonnes"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Le propriétaire du dépôt est requis",
- "ownerInvalid": "Format de propriétaire de dépôt invalide",
- "nameRequired": "Le nom du dépôt est requis",
- "nameInvalid": "Format de nom de dépôt invalide"
- },
"toast": {
- "installedOk": "L'application GitHub est correctement installée!",
- "installedMissingPerms": "L'application GitHub est installée mais manque des permissions requises",
- "needsInstallOnRepo": "L'application GitHub doit être installée sur ce dépôt",
- "repoNotFound": "Dépôt non trouvé ou inaccessible",
"verifyError": "Échec de la vérification de l'installation GitHub",
"installAppFirst": "Veuillez installer l'application GitHub sur ce dépôt en premier",
"missingPermsDetail": "L'application GitHub manque des permissions requises: {{list}}. Veuillez mettre à jour les permissions de l'application.",
@@ -1038,64 +1019,36 @@
"commentOnDisabled": "Les commentaires de lien de tâche sur les nouveaux problèmes sont désactivés",
"settingsUpdateError": "Échec de la mise à jour de l'intégration GitHub"
},
- "connectionStatus": "Statut de la connexion",
- "connectedActive": "Dépôt connecté et actif",
- "notConnectedHint": "Aucun dépôt connecté",
- "badgeConnected": "Connecté",
- "badgeNotConnected": "Non connecté",
- "repository": "Dépôt",
- "repositoryHint": "Dépôt GitHub connecté",
- "commentTaskLinkTitle": "Commenter le lien Kaneo sur les nouveaux problèmes",
- "commentTaskLinkHint": "Lorsque cette option est activée, Kaneo publie un commentaire avec un lien de tâche sur chaque nouveau problème GitHub.",
- "appStatusTitle": "Statut de l'application GitHub",
- "appStatusHint": "Statut d'installation et de permissions",
- "statusProperlyConfigured": "Correctement configuré",
- "statusMissingPermissions": "Permissions manquantes",
- "statusNotInstalled": "Non installé",
- "ownerLabel": "Propriétaire du dépôt",
- "ownerHint": "Nom d'utilisateur ou organisation GitHub",
- "ownerPlaceholder": "ex. octocat",
- "repoNameLabel": "Nom du dépôt",
- "repoNameHint": "Le nom du dépôt",
- "repoNamePlaceholder": "ex. mon-projet",
- "actionsTitle": "Actions",
- "actionsHint": "Gérer la connexion de votre dépôt",
- "browse": "Parcourir",
- "verify": "Vérifier",
- "update": "Mettre à jour",
- "connect": "Connecter",
- "disconnect": "Déconnecter",
- "missingPermissionsLabel": "Permissions manquantes:",
+ "commentTaskLinkTitle": "Commenter avec un lien Kaneo sur les nouvelles issues",
+ "commentTaskLinkHint": "Pour que les personnes sur GitHub puissent accéder directement à la tâche.",
"updatePermissions": "Mettre à jour les permissions",
"installGithubApp": "Installer l'application GitHub",
- "importSectionTitle": "Importer les problèmes GitHub",
- "importSectionHint": "Importer les problèmes existants de votre dépôt GitHub en tant que tâches",
- "importing": "Importation...",
- "importIssues": "Importer les problèmes",
- "importDisabledHint": "Complétez la configuration du dépôt ci-dessus pour activer l'importation",
+ "importSectionHint": "Importez les issues ouvertes du dépôt en tant que tâches.",
+ "importDisabledHint": "Reconnectez le dépôt pour activer l'importation.",
"accountVerificationHint": "Connectez votre compte GitHub pour vérifier que vous administrez ce dépôt.",
"enableGithubSignInHint": "Demandez à l’administrateur de votre instance d’activer la connexion avec GitHub.",
"reverifyHint": "Reconnectez ce dépôt pour vérifier les accès et reprendre la synchronisation.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Ses issues et pull requests seront liées aux tâches de ce projet.",
+ "linkAccountDescription": "Prouve que vous pouvez administrer le dépôt.",
+ "linkAccountTitle": "Lier votre compte GitHub",
+ "linked": "Lié",
+ "linkGithub": "Lier GitHub",
+ "verifyMissingPermissions": "Il manque des permissions à la Kaneo GitHub App : {{list}}.",
+ "verifyNotInstalled": "La Kaneo GitHub App n'est pas installée sur ce dépôt.",
+ "verifyReady": "La Kaneo GitHub App est installée avec les permissions nécessaires.",
+ "workflowHint": "Déplacez les tâches à l'ouverture ou à la fusion des pull requests dans",
+ "workflowLink": "Flux de travail"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "L'URL de base Gitea est requise",
- "baseUrlInvalid": "Entrez une URL valide (ex. https://gitea.example.com)",
- "ownerRequired": "Le propriétaire du dépôt est requis",
- "ownerInvalid": "Format de propriétaire de dépôt invalide",
- "nameRequired": "Le nom du dépôt est requis",
- "nameInvalid": "Format de nom de dépôt invalide"
+ "baseUrlInvalid": "Entrez une URL valide (ex. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Le jeton Gitea peut accéder à ce dépôt",
- "verifyWarning": "Vérifiez les permissions du jeton ou l'accès au dépôt",
- "repoNotFound": "Dépôt non trouvé ou inaccessible",
"verifyError": "Échec de la vérification de l'accès Gitea",
- "tokenRequired": "Le jeton d'accès personnel est requis",
- "tokenRequiredVerify": "Entrez un jeton pour vérifier",
"verifyFirst": "Échec de la vérification de l'accès. Vérifiez l'URL, le jeton et le dépôt",
"updated": "Intégration Gitea enregistrée",
"updateError": "Échec de l'enregistrement de l'intégration Gitea",
@@ -1105,56 +1058,22 @@
"importError": "Échec de l'importation des issues",
"commentOnEnabled": "Kaneo commentera les nouvelles issues avec un lien vers la tâche",
"commentOnDisabled": "Les commentaires de lien de tâche sur les nouvelles issues sont désactivés",
- "settingsUpdateError": "Échec de la mise à jour de l'intégration Gitea",
- "secretCopied": "Copied",
- "unableToCopySecret": "Impossible de copier le secret",
- "notGiteaInstance": "L'URL ne pointe pas vers une instance Gitea",
- "redirected": "L'URL Gitea a été redirigée (généralement vers HTTPS). Utilisez directement l'URL finale."
- },
- "webhookShow": "Show",
- "webhookHide": "Hide",
- "webhookCopy": "Copy",
- "connectionStatus": "Statut de la connexion",
- "connectedActive": "Dépôt connecté et actif",
- "notConnectedHint": "Aucun dépôt Gitea connecté",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Non connecté",
- "repository": "Repository",
- "repositoryHint": "Dépôt Gitea lié",
- "commentTaskLinkTitle": "Commenter le lien Kaneo sur les nouvelles issues",
- "commentTaskLinkHint": "Lorsque cette option est activée, Kaneo publie un commentaire sur chaque nouvelle issue avec un lien vers la tâche.",
- "webhookTitle": "Webhook",
- "webhookHint": "Dans votre dépôt Gitea, ajoutez un webhook avec cette URL et ce secret. Activez push, pull request, issues, commentaires d'issues et create (pour les labels).",
- "webhookSecretLabel": "Secret (doit correspondre au secret du webhook dans Gitea)",
+ "settingsUpdateError": "Échec de la mise à jour de l'intégration Gitea"
+ },
+ "commentTaskLinkTitle": "Commenter avec un lien Kaneo sur les nouvelles issues",
+ "commentTaskLinkHint": "Pour que les personnes sur Gitea puissent accéder directement à la tâche.",
+ "webhookHint": "Ajoutez ce webhook dans les paramètres du dépôt pour que les modifications remontent dans Kaneo.",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "URL racine de votre instance Gitea",
"tokenLabel": "Jeton d'accès personnel",
- "tokenHint": "Jeton avec accès aux dépôts et aux issues",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Collez un nouveau jeton pour le remplacer",
- "currentToken": "stored",
- "ownerLabel": "Owner",
- "ownerHint": "Nom d'utilisateur ou d'organisation",
- "repoNameLabel": "Nom du dépôt",
- "repoNameHint": "Nom du dépôt uniquement (sans le propriétaire)",
- "actionsTitle": "Actions",
- "actionsHint": "Vérifier l'accès et connecter",
- "browse": "Browse",
- "verify": "Verify",
- "update": "Update",
- "connect": "Connect",
- "disconnect": "Disconnect",
- "importSectionTitle": "Importer des issues Gitea",
- "importSectionHint": "Importez les issues ouvertes et les pull requests depuis le dépôt",
- "importing": "Importing…",
- "importIssues": "Importer les issues",
- "importDisabledHint": "Vérifiez le dépôt ci-dessus pour activer l'importation",
- "browseModalTitle": "Vos dépôts",
- "browseModalHint": "Dépôts accessibles avec votre jeton",
- "searchRepos": "Search…",
- "browseNeedsCredentials": "Entrez l'URL Gitea et le jeton pour parcourir",
- "loadingRepos": "Chargement des dépôts…",
- "retry": "Retry"
+ "importSectionHint": "Importez les issues et pull requests ouvertes en tant que tâches.",
+ "importDisabledHint": "L'importation nécessite un accès vérifié. Vérifiez l'état du jeton ci-dessus.",
+ "browseModalHint": "Dépôts accessibles avec votre jeton.",
+ "browseNeedsCredentials": "Entrez l'URL Gitea et un jeton pour parcourir les dépôts.",
+ "browseEmpty": "Ce jeton n'a accès à aucun dépôt.",
+ "chooseRepositoryDescription": "Entrez owner/name ou choisissez-en un dans la liste.",
+ "webhookEvents": "Activez les événements push, pull request, issue, commentaire d'issue et create."
},
"slackIntegration": {
"validation": {
@@ -1169,30 +1088,10 @@
"removed": "Intégration Slack supprimée avec succès",
"removeError": "Échec de la suppression de l'intégration Slack"
},
- "connectionTitle": "Connexion webhook Slack",
- "connectionHint": "Collez une URL de webhook entrant Slack et choisissez les événements de tâche à publier.",
- "connected": "Connecté",
- "paused": "En pause",
- "webhookLabel": "URL du webhook entrant",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Créez un webhook entrant dans Slack et collez l'URL générée ici.",
- "channelLabel": "Nom du canal",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Libellé facultatif pour votre référence. Slack contrôle le canal réel via la configuration du webhook.",
- "eventsTitle": "Notifications d'événements",
- "eventsHint": "Choisissez les changements de projet à envoyer vers Slack.",
- "events": {
- "taskCreated": "Nouvelles tâches",
- "taskStatusChanged": "Changements de statut",
- "taskPriorityChanged": "Changements de priorité",
- "taskTitleChanged": "Changements de titre",
- "taskDescriptionChanged": "Changements de description",
- "taskCommentCreated": "Nouveaux commentaires"
- },
+ "webhookHint": "Créez un webhook entrant dans Slack et collez-le ici.",
"connect": "Connecter Slack",
- "saveChanges": "Enregistrer les modifications",
- "update": "Mettre à jour Slack",
- "disconnect": "Déconnecter"
+ "update": "Mettre à jour Slack"
},
"discordIntegration": {
"validation": {
@@ -1207,34 +1106,15 @@
"removed": "Intégration Discord supprimée avec succès",
"removeError": "Échec de la suppression de l'intégration Discord"
},
- "connectionTitle": "Connexion webhook Discord",
- "connectionHint": "Collez une URL de webhook Discord et choisissez les événements de tâche à publier.",
- "connected": "Connecté",
- "paused": "En pause",
- "webhookLabel": "URL du webhook",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Créez un webhook de canal dans Discord et collez l'URL générée ici.",
- "channelLabel": "Nom du canal",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Libellé facultatif pour votre référence. Discord contrôle le canal réel via la configuration du webhook.",
- "eventsTitle": "Notifications d'événements",
- "eventsHint": "Choisissez les changements de projet à envoyer vers Discord.",
- "events": {
- "taskCreated": "Nouvelles tâches",
- "taskStatusChanged": "Changements de statut",
- "taskPriorityChanged": "Changements de priorité",
- "taskTitleChanged": "Changements de titre",
- "taskDescriptionChanged": "Changements de description",
- "taskCommentCreated": "Nouveaux commentaires"
- },
+ "webhookHint": "Créez un webhook de canal dans Discord et collez-le ici.",
"connect": "Connecter Discord",
- "saveChanges": "Enregistrer les modifications",
- "update": "Mettre à jour Discord",
- "disconnect": "Déconnecter"
+ "update": "Mettre à jour Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Entrez une URL de webhook valide"
+ "webhookInvalid": "Entrez une URL de webhook valide",
+ "leadTimeRange": "Choisissez une durée entre 5 minutes et 720 heures."
},
"toast": {
"saved": "Intégration webhook générique enregistrée avec succès",
@@ -1245,43 +1125,41 @@
"removed": "Intégration webhook générique supprimée avec succès",
"removeError": "Échec de la suppression de l'intégration webhook générique"
},
- "connectionTitle": "Connexion webhook sortant",
- "connectionHint": "Envoyez les événements de tâche en JSON vers votre propre point de terminaison. Un en-tête signé X-Kaneo-Signature est inclus lorsqu'un secret est configuré.",
- "connected": "Connecté",
- "paused": "En pause",
"webhookLabel": "URL du point de terminaison",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo envoie des requêtes POST avec une charge JSON pour chaque événement activé.",
"secretLabel": "Secret de signature",
- "secretPlaceholder": "Secret partagé facultatif",
- "secretHint": "Facultatif. Si défini, Kaneo signe le corps de la requête et envoie le digest hexadécimal dans l'en-tête X-Kaneo-Signature.",
- "secretHintConfigured": "Un secret de signature est déjà configuré ({{secret}}). Entrez-en un nouveau pour le remplacer.",
- "eventsTitle": "Notifications d'événements",
- "eventsHint": "Choisissez les changements de projet qui déclenchent les webhooks sortants.",
+ "secretPlaceholder": "Secret partagé",
+ "secretHint": "Kaneo signe chaque requête avec ce secret et envoie le digest dans l'en-tête X-Kaneo-Signature.",
+ "secretHintConfigured": "Secret actuel : {{secret}}. Collez-en un nouveau pour le remplacer.",
+ "eventsTitle": "Envoyer quand",
"events": {
- "taskCreated": "Nouvelles tâches",
- "taskStatusChanged": "Changements de statut",
- "taskPriorityChanged": "Changements de priorité",
- "taskTitleChanged": "Changements de titre",
- "taskDescriptionChanged": "Changements de description",
- "taskCommentCreated": "Nouveaux commentaires",
+ "taskCreated": "Tâche créée",
+ "taskStatusChanged": "Statut modifié",
+ "taskPriorityChanged": "Priorité modifiée",
+ "taskTitleChanged": "Titre modifié",
+ "taskDescriptionChanged": "Description modifiée",
+ "taskCommentCreated": "Nouveau commentaire",
"taskDeleted": "Tâche supprimée",
"taskMoved": "Tâche déplacée",
"taskDueDateChanged": "Date d'échéance modifiée",
"taskAssigneeChanged": "Assigné modifié",
"taskUnassigned": "Tâche désassignée",
- "dueDateReminder": "Rappels d'échéance"
+ "dueDateReminder": "Rappel d'échéance"
},
"connect": "Connecter le webhook",
- "saveChanges": "Enregistrer les modifications",
- "disconnect": "Déconnecter",
- "reminderLeadTimeLabel": "Nombre d'heures avant l'échéance pour l'envoi du webhook"
+ "reminderLeadTimeLabel": "Heures avant l'échéance d'une tâche",
+ "activeTitle": "Envoi des événements",
+ "disconnectDescription": "Kaneo cessera d'envoyer des événements et supprimera le point de terminaison et le secret enregistrés.",
+ "disconnectTitle": "Déconnecter le webhook ?",
+ "reminderLeadTimeAfter": "heures avant l'échéance d'une tâche",
+ "reminderLeadTimeBefore": "Envoyer les rappels"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Entrez un jeton de bot Telegram valide",
"chatIdRequired": "L'identifiant du chat est requis",
- "threadIdInvalid": "Entrez un identifiant de sujet Telegram valide"
+ "threadIdInvalid": "Entrez un identifiant de sujet valide"
},
"toast": {
"saved": "Intégration Telegram enregistrée avec succès",
@@ -1292,60 +1170,43 @@
"removed": "Intégration Telegram supprimée avec succès",
"removeError": "Échec de la suppression de l'intégration Telegram"
},
- "connectionTitle": "Connexion du bot Telegram",
- "connectionHint": "Utilisez un jeton de bot Telegram et un identifiant de chat pour envoyer les mises à jour du projet dans un chat ou un sujet.",
- "connected": "Connecté",
- "paused": "En pause",
"botTokenLabel": "Jeton du bot",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Créez un bot avec BotFather et collez son jeton ici.",
- "botTokenHintConfigured": "Un jeton de bot est déjà configuré ({{token}}). Entrez-en un nouveau pour le remplacer.",
+ "botTokenHintConfigured": "Jeton actuel : {{token}}",
"chatIdLabel": "Identifiant du chat",
"chatIdPlaceholder": "-1001234567890 ou @team_updates",
- "chatIdHint": "Entrez l'identifiant du chat Telegram ou le nom d'utilisateur du canal où publier les mises à jour.",
"threadIdLabel": "Identifiant du sujet",
- "threadIdPlaceholder": "Identifiant de sujet facultatif",
- "threadIdHint": "Facultatif. Utilisez-le pour les sujets de forum dans les groupes Telegram.",
- "chatLabelLabel": "Libellé du chat",
+ "threadIdPlaceholder": "Pour les sujets de forum",
+ "chatLabelLabel": "Nom du chat",
"chatLabelPlaceholder": "Mises à jour engineering",
- "chatLabelHint": "Libellé facultatif pour votre référence dans Kaneo.",
- "eventsTitle": "Notifications d'événements",
- "eventsHint": "Choisissez les changements du projet à publier dans Telegram.",
- "events": {
- "taskCreated": "Nouvelles tâches",
- "taskStatusChanged": "Changements de statut",
- "taskPriorityChanged": "Changements de priorité",
- "taskTitleChanged": "Changements de titre",
- "taskDescriptionChanged": "Changements de description",
- "taskCommentCreated": "Nouveaux commentaires"
- },
"connect": "Connecter Telegram",
- "saveChanges": "Enregistrer les modifications",
- "disconnect": "Déconnecter"
+ "botTokenSavedPlaceholder": "Enregistré. Collez un nouveau jeton pour le remplacer.",
+ "loadError": "Impossible de charger les paramètres Telegram."
},
"repositoryBrowser": {
- "title": "Sélectionner un dépôt",
- "description": "Choisissez un dépôt où votre application GitHub est installée pour activer la synchronisation des problèmes.",
- "searchPlaceholder": "Rechercher des dépôts...",
- "loadError": "Échec du chargement des dépôts",
+ "title": "Choisissez un dépôt",
+ "description": "Dépôts auxquels la Kaneo GitHub App a accès.",
+ "searchPlaceholder": "Rechercher des dépôts",
+ "loadError": "Impossible de charger les dépôts.",
"tryAgain": "Réessayer",
- "emptyTitle": "Aucun dépôt trouvé",
+ "emptyTitle": "Aucun dépôt pour le moment",
"emptyHint": "Installez l'application GitHub sur vos dépôts pour les voir ici.",
"installGithubApp": "Installer l'application GitHub",
- "noSearchMatchTitle": "Aucun dépôt ne correspond à votre recherche",
- "noSearchMatchHint": "Essayez d'ajuster vos termes de recherche ou effacez la recherche pour voir tous les dépôts.",
- "footerSummary": "{{repoCount}} dépôts répartis sur {{installationCount}} installations",
- "manageInstallations": "Gérer les installations",
- "updatedPrefix": "Mis à jour",
- "relativeJustNow": "Maintenant",
- "relativeMinutesAgo": "il y a {{count}}m",
- "relativeHoursAgo": "il y a {{count}}h",
- "relativeDaysAgo": "il y a {{count}}j"
+ "noSearchMatchTitle": "Aucun dépôt correspondant",
+ "noSearchMatchHint": "Essayez un autre nom ou effacez la recherche.",
+ "emptyPageHint": "Aucun sur cette page. Chargez-en plus pour continuer à chercher.",
+ "loadMore": "Charger plus",
+ "manageAccess": "Gérer l'accès de l'application",
+ "missingOne": "Il en manque un ?",
+ "searching": "Recherche…",
+ "updated": "Mis à jour {{time}}",
+ "useRepository": "Utiliser ce dépôt"
},
"tasksImportExport": {
"exportTasks": "Exporter les tâches",
- "importTasks": "Importer les tâches",
- "dialogTitle": "Importer les tâches",
+ "importTasks": "Importer des tâches",
+ "dialogTitle": "Importer des tâches",
"dialogDescription": "Téléversez un fichier JSON contenant les tâches à importer dans ce projet.",
"expectedFormat": "Format attendu:",
"dropHint": "Glissez et déposez votre fichier JSON ici",
@@ -1359,27 +1220,26 @@
"importError": "Échec de l'importation des tâches",
"invalidFormat": "Format de fichier d'importation invalide",
"noFileDropped": "Aucun fichier n'a été déposé",
- "notJsonFile": "Veuillez importer un fichier JSON"
+ "notJsonFile": "Veuillez importer un fichier JSON",
+ "export": "Exporter",
+ "exportDescription": "Téléchargez toutes les tâches de ce projet dans un fichier.",
+ "import": "Importer",
+ "importDescription": "Ajoutez des tâches à partir d'un fichier exporté précédemment."
},
"workflowEditor": {
- "loading": "Chargement...",
- "createColumnsFirst": "Créez des colonnes d'abord pour configurer les règles d'automatisation.",
- "githubHeading": "GitHub",
- "githubHint": "Lorsqu'un événement GitHub se produit, déplacez la tâche liée vers une colonne.",
- "giteaHeading": "Gitea",
- "giteaHint": "Lorsqu'un événement Gitea se produit, déplacez la tâche liée vers une colonne.",
- "selectColumnPlaceholder": "Sélectionner une colonne...",
- "toastUpdated": "Règle de workflow mise à jour",
"toastError": "Échec de la mise à jour de la règle",
"events": {
- "branch_push": "Push de branche",
- "pr_opened": "PR Ouverte",
- "pr_merged": "PR Fusionné",
- "issue_opened": "Problème Ouvert",
- "issue_closed": "Problème Fermé"
- },
- "gitlabHeading": "GitLab",
- "gitlabHint": "Lorsqu'un événement de webhook GitLab survient, déplacez la tâche associée vers une colonne."
+ "branch_push": "Branche poussée",
+ "pr_opened": "Pull request ouverte",
+ "pr_merged": "Pull request fusionnée",
+ "issue_opened": "Issue ouverte",
+ "issue_closed": "Issue fermée"
+ },
+ "connectMore": "Connectez {{providers}} dans <link>Intégrations</link> pour les automatiser aussi.",
+ "dontMove": "Ne pas déplacer",
+ "emptyDescription": "Les automatisations nécessitent un dépôt GitHub, Gitea ou GitLab connecté.",
+ "emptyTitle": "Aucun dépôt connecté",
+ "openIntegrations": "Ouvrir les intégrations"
},
"externalLinks": {
"resources": "Ressources",
@@ -1607,22 +1467,20 @@
"permissionCount_many": "{{count}} permissions"
},
"workspaceLabels": {
- "pageTitle": "Paramètres des labels",
+ "pageTitle": "Labels",
"title": "Labels",
- "subtitle": "Créez, modifiez et supprimez des labels au niveau de l'espace de travail.",
- "cardDescription": "Gérez les labels pouvant être assignés aux tâches.",
+ "subtitle": "Les labels sont partagés par tous les projets de cet espace de travail.",
"createLabel": "Créer un label",
"editLabel": "Modifier le label",
- "deleteLabel": "Supprimer",
+ "deleteLabel": "Supprimer le label",
"saveLabel": "Enregistrer",
- "nameLabel": "Nom du label",
- "namePlaceholder": "Entrez le nom du label",
+ "nameLabel": "Nom",
+ "namePlaceholder": "Nom du label",
"colorLabel": "Couleur",
- "createDescription": "Créez un nouveau label utilisable dans les tâches de cet espace de travail.",
- "editDescription": "Mettez à jour le nom ou la couleur de ce label.",
- "deleteConfirmTitle": "Supprimer ce label ?",
- "deleteConfirmDescription": "Cela supprimera définitivement ce label de toutes les tâches. Cette action ne peut pas être annulée.",
- "empty": "Aucun label pour le moment. Créez votre premier label pour commencer.",
+ "createDescription": "Les projets de cet espace de travail peuvent l'ajouter à leurs tâches.",
+ "editDescription": "Les modifications s'appliquent à toutes les tâches ayant ce label.",
+ "deleteConfirmTitle": "Supprimer “{{name}}” ?",
+ "deleteConfirmDescription": "Le label est retiré de toutes les tâches qui l'utilisent. Cette action ne peut pas être annulée.",
"createSuccess": "Label créé",
"updateSuccess": "Label mis à jour",
"deleteSuccess": "Label supprimé",
@@ -1630,30 +1488,23 @@
"updateError": "Échec de la mise à jour du label",
"deleteError": "Échec de la suppression du label",
"nameRequired": "Le nom du label est requis",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Retrait des tâches…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Modifier {{name}}",
+ "emptyDescription": "Ajoutez des labels pour trier et filtrer les tâches de tous les projets.",
+ "emptyTitle": "Aucun label pour le moment",
+ "loadError": "Impossible de charger les labels. Veuillez réessayer.",
+ "newLabel": "Nouveau label",
+ "preview": "Sur une tâche",
+ "previewPlaceholder": "Label",
+ "resume": "Reprendre",
+ "rowActions": "Actions pour {{name}}",
+ "sectionDescription": "Renommer un label ou changer sa couleur met à jour toutes les tâches qui l'utilisent.",
+ "sectionTitle": "Labels de l'espace de travail",
+ "subtitleWithWorkspace": "Les labels sont partagés par tous les projets de {{workspaceName}}."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1667,58 +1518,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Créez un webhook entrant dans Mattermost et collez-le ici.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Ajouter",
"createError": "Échec de la création du champ personnalisé.",
"createSuccess": "Champ personnalisé créé.",
"creating": "Création...",
"defaultLabel": "Par défaut",
"defaultValuePlaceholder": "Valeur par défaut",
- "deleteButton": "Supprimer",
"deleteError": "Échec de la suppression du champ personnalisé.",
"deleteSuccess": "Champ personnalisé supprimé.",
"deleting": "Suppression...",
- "empty": "Aucun champ personnalisé configuré pour le moment.",
- "loading": "Chargement...",
"namePlaceholder": "Nom du champ",
"noOptionsPlaceholder": "Aucune option",
- "optionsPlaceholder": "Options séparées par des virgules",
"required": "Requis",
- "typePlaceholder": "Sélectionner un type de champ",
"types": {
- "boolean": "Booléen",
+ "boolean": "Case à cocher",
"date": "Date",
"dropdown": "Sélecteur",
"number": "Nombre",
"text": "Texte",
- "multiselect": "Sélection multiple"
+ "multiselect": "Sélecteur à choix multiples"
},
"availableOptions": "Options disponibles",
- "clearDefault": "Effacer",
- "defaultValues": "{{count}} par défaut",
+ "clearDefault": "Effacer la valeur par défaut",
"moreOptions": "+{{hiddenCount}} de plus",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Échec du réagencement des champs",
- "selectPlaceholder": "Sélectionner une option"
+ "selectPlaceholder": "Sélectionner une option",
+ "actionsAria": "Actions pour {{name}}",
+ "addOption": "Ajouter une option",
+ "allowSeveral": "Autoriser plusieurs choix",
+ "allowSeveralDescription": "Une tâche peut avoir plusieurs options.",
+ "checked": "Coché",
+ "createField": "Créer le champ",
+ "defaultDescription": "Les nouvelles tâches commencent avec cette valeur.",
+ "deleteConfirm": "Supprimer le champ",
+ "deleteDescription": "Le champ et sa valeur sont supprimés de toutes les tâches. Cette action ne peut pas être annulée.",
+ "deleteTitle": "Supprimer “{{name}}” ?",
+ "dialogDescription": "Toutes les tâches de {{project}} auront ce champ.",
+ "dialogDescriptionFallback": "Toutes les tâches de ce projet auront ce champ.",
+ "dragAria": "Réorganiser {{name}}",
+ "dragOptionAria": "Réorganiser {{option}}",
+ "edit": "Modifier",
+ "editTitle": "Modifier le champ",
+ "emptyDescription": "Suivez des informations comme la taille, le client ou la date de lancement sur chaque tâche.",
+ "emptyTitle": "Aucun champ personnalisé pour le moment",
+ "issues": {
+ "defaultRequired": "Les champs requis nécessitent une valeur par défaut.",
+ "moreOptionsRequired": "Ajoutez au moins deux options pour autoriser plusieurs choix.",
+ "optionsRequired": "Ajoutez au moins une option."
+ },
+ "nameLabel": "Nom",
+ "newTitle": "Nouveau champ",
+ "noDefault": "Aucune valeur par défaut",
+ "optionsLabel": "Options",
+ "removeOptionAria": "Retirer {{option}}",
+ "renameOptionAria": "Renommer {{option}}",
+ "requiredDescription": "Chaque tâche a toujours une valeur.",
+ "save": "Enregistrer",
+ "saving": "Enregistrement...",
+ "startsAs": "Valeur initiale : “{{value}}”",
+ "startsAt": "Valeur initiale : {{value}}",
+ "startsChecked": "Coché par défaut",
+ "startsOn": "Date initiale : {{date}}",
+ "startsUnchecked": "Non coché par défaut",
+ "typeLabel": "Type",
+ "typeLocked": "Le type ne peut plus être modifié après la création du champ.",
+ "unchecked": "Non coché",
+ "updateError": "Échec de l'enregistrement du champ personnalisé.",
+ "updateSuccess": "Champ personnalisé enregistré."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Désactiver",
+ "edit": "Modifier",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Réactiver"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Rôle",
"status": "Status",
"user": "User"
},
@@ -1740,7 +1623,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Tous les utilisateurs",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1753,7 +1636,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1761,20 +1643,20 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Administrateur",
"user": "User"
},
"searchCount_many": "{{count}} matching users",
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Rechercher par nom ou email",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Toutes les personnes ayant un compte sur cette instance Kaneo.",
+ "title": "Utilisateurs",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1783,10 +1665,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_many": "{{count}} registered users",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Vous"
},
"security": "Security",
"securityPage": {
@@ -1801,11 +1680,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Connexion",
+ "submit": "Changer le mot de passe",
+ "submitting": "Modification...",
+ "subtitle": "Comment vous vous connectez à Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1815,94 +1693,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Changer le mot de passe",
+ "dialogDescription": "Au moins 8 caractères, différent du mot de passe actuel.",
+ "dialogTitle": "Changer le mot de passe",
+ "passwordHint": "Utilisez au moins 8 caractères et un mot de passe que vous n'utilisez nulle part ailleurs.",
+ "passwordTitle": "Mot de passe"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Projets dont votre jeton est membre.",
+ "browseNeedsCredentials": "Entrez l'URL GitLab et un jeton pour parcourir les projets.",
+ "commentTaskLinkHint": "Pour que les personnes sur GitLab puissent accéder directement à la tâche.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Importez les issues et merge requests ouvertes en tant que tâches.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Rechercher des projets",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Ajoutez ce webhook dans les paramètres du projet pour que les modifications remontent dans Kaneo.",
+ "loadProjectsError": "Impossible de charger les projets.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Ce jeton n'est membre d'aucun projet.",
+ "chooseProjectDescription": "Entrez son chemin ou choisissez-en un dans la liste.",
+ "noSearchMatchTitle": "Aucun projet correspondant",
+ "useProject": "Utiliser ce projet",
+ "webhookEvents": "Activez les événements push, issue, commentaire et merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Inclure uniquement les labels",
+ "selectLabels": "Ajouter un label",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1910,20 +1755,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Flux",
+ "allScheduledTasks": "Toutes les tâches planifiées",
+ "subscribeHint": "Ajoutez un lien à votre application de calendrier en tant qu'abonnement. Les mises à jour apparaissent quand l'application actualise le flux.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Copié",
+ "dialogDescription": "Les tâches ayant une date de début ou d'échéance apparaissent dans le flux.",
+ "dialogTitle": "Nouveau flux de calendrier",
+ "emptyDescription": "Créez un flux pour voir les tâches planifiées dans votre application de calendrier.",
+ "emptyTitle": "Aucun flux de calendrier pour le moment",
+ "feedActions": "Actions du flux",
+ "labelsHint": "Laissez vide pour inclure toutes les tâches planifiées.",
+ "newFeed": "Nouveau flux",
+ "revokeConfirm": "Révoquer le flux",
+ "revokeConfirmDescription": "Les applications de calendrier qui utilisent ce lien ne recevront plus de mises à jour. Cette action ne peut pas être annulée.",
+ "revokeConfirmTitle": "Révoquer ce flux ?",
+ "revoking": "Révocation…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1935,7 +1789,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1968,7 +1821,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1979,7 +1831,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Les factures, le moyen de paiement et la résiliation sont gérés dans Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -2004,15 +1856,15 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Votre forfait pour {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_many": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_many": "{{count}} jours restants",
+ "badgeDaysLeft_one": "{{count}} jour restant",
+ "badgeDaysLeft_other": "{{count}} jours restants"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2032,15 +1884,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2057,9 +1906,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_many": "{{count}} paused links",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2078,16 +1924,30 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Ce qui est synchronisé",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Toutes les issues",
+ "allTasks": "Toutes les tâches",
+ "edit": "Modifier",
+ "hidePaused": "Masquer",
+ "issuesLabelled": "Issues avec le label",
+ "joinAnd": "et",
+ "joinOr": "ou",
+ "kaneoToProvider": "De Kaneo vers {{provider}}",
+ "pausedSummary_many": "{{count}} tâches ne sont plus synchronisées, car elles ne correspondent plus aux règles de synchronisation.",
+ "pausedSummary_one": "{{count}} tâche n'est plus synchronisée, car elle ne correspond plus aux règles de synchronisation.",
+ "pausedSummary_other": "{{count}} tâches ne sont plus synchronisées, car elles ne correspondent plus aux règles de synchronisation.",
+ "providerToKaneo": "De {{provider}} vers Kaneo",
+ "reviewPaused": "Examiner",
+ "tasksLabelled": "Tâches avec le label"
+ },
+ "advancedSettingsDescription": "Affiche des contrôles supplémentaires, comme les règles de synchronisation des intégrations. Uniquement sur ce navigateur.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2124,23 +1984,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Tous les espaces de travail",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_many": "{{count}} members",
"count_one": "{{count}} member",
"count_other": "{{count}} members",
@@ -2163,9 +2015,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Rechercher par nom ou slug",
+ "subtitle": "Tous les espaces de travail de cette instance Kaneo, y compris ceux dont vous n'êtes pas membre.",
+ "title": "Espaces de travail",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2175,10 +2027,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_many": "{{count}} workspaces",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2469,6 +2318,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Désactivez pour mettre en pause sans perdre la configuration.",
+ "activeTitle": "Publication sur {{provider}}",
+ "channelHint": "Un simple libellé affiché dans cette liste.",
+ "channelLabel": "Canal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Déconnecter",
+ "disconnectDescription": "Kaneo cessera de publier sur {{provider}} et supprimera les paramètres enregistrés.",
+ "disconnecting": "Déconnexion…",
+ "disconnectTitle": "Déconnecter {{provider}} ?",
+ "events": {
+ "taskCommentCreated": "Quelqu'un commente",
+ "taskCreated": "Une tâche est créée",
+ "taskDescriptionChanged": "La description change",
+ "taskPriorityChanged": "La priorité change",
+ "taskStatusChanged": "Le statut change",
+ "taskTitleChanged": "Le titre change"
+ },
+ "optional": "Facultatif",
+ "postWhen": "Publier quand",
+ "retry": "Réessayer",
+ "saveChanges": "Enregistrer les modifications",
+ "savedUrlPlaceholder": "Enregistrée. Collez une nouvelle URL pour la remplacer.",
+ "webhookUrlLabel": "URL du webhook"
+ },
+ "codeHosting": {
+ "browse": "Parcourir",
+ "changeToken": "Changer le jeton",
+ "checking": "Vérification de l'accès…",
+ "chooseProjectTitle": "Choisissez un projet",
+ "chooseRepositoryTitle": "Choisissez un dépôt",
+ "connectProject": "Connecter le projet",
+ "connectRepository": "Connecter le dépôt",
+ "copied": "Copié",
+ "copyFailed": "Impossible de copier dans le presse-papiers.",
+ "copySecret": "Copier le secret",
+ "copyUrl": "Copier l'URL du webhook",
+ "disconnect": "Déconnecter",
+ "disconnectDescription": "Les tâches ne seront plus synchronisées avec {{target}}. Vous pourrez le reconnecter plus tard.",
+ "disconnecting": "Déconnexion…",
+ "disconnectTitle": "Déconnecter {{provider}} ?",
+ "hideSecret": "Masquer le secret",
+ "importing": "Importation…",
+ "importIssues": "Importer les issues",
+ "importNeedsReconnect": "Reconnectez l'intégration pour activer l'importation.",
+ "importTitle": "Importer les issues ouvertes",
+ "issuesSection": "Issues",
+ "lastImport": "Dernière importation : {{imported}} créées, {{updated}} mises à jour, {{skipped}} ignorées.",
+ "loadError": "Impossible de charger cette intégration.",
+ "pausedHint": "La synchronisation est en pause. Reconnectez l'intégration pour la reprendre.",
+ "projectSection": "Projet",
+ "reconnect": "Reconnecter",
+ "repositoryPathInvalid": "Entrez le dépôt au format owner/name.",
+ "repositoryPathLabel": "Dépôt",
+ "repositorySection": "Dépôt",
+ "retry": "Réessayer",
+ "saveToken": "Enregistrer le jeton",
+ "showSecret": "Afficher le secret",
+ "signInDescription": "Utilisez un jeton qui peut lire le projet et ses issues.",
+ "signInTitle": "Connectez-vous à votre instance",
+ "tokenStored": "Jeton enregistré",
+ "tokenTitle": "Jeton d'accès",
+ "webhookSecret": "Secret",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Faites glisser pour changer leur ordre d'affichage sur une tâche.",
+ "fieldsTitle": "Champs",
+ "newField": "Nouveau champ",
+ "pageTitle": "Champs personnalisés",
+ "subtitle": "Des informations supplémentaires que chaque tâche de {{project}} peut suivre, comme la taille ou le client.",
+ "subtitleFallback": "Des informations supplémentaires que chaque tâche de ce projet peut suivre, comme la taille ou le client.",
+ "title": "Champs personnalisés"
+ },
+ "shared": {
+ "autosave": "Les modifications sont enregistrées automatiquement"
}
},
"navigation": {
diff --git a/i18n/hi-IN.json b/i18n/hi-IN.json
index efb2fff41..3e1f4989d 100644
--- a/i18n/hi-IN.json
+++ b/i18n/hi-IN.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "कभी नहीं"
- },
"modals": {
"createProject": {
"title": "नया प्रोजेक्ट बनाएँ",
@@ -566,37 +563,32 @@
"advancedSettings": "उन्नत सेटिंग्स",
"account": "खाता",
"developer": "डेवलपर",
- "information": "जानकारी",
+ "information": "प्रोफ़ाइल",
"notifications": "सूचनाएँ",
"preferences": "प्राथमिकताएँ",
"apiKeys": "API कुंजियाँ",
"informationPage": {
- "pageTitle": "व्यक्तिगत जानकारी",
- "title": "व्यक्तिगत जानकारी",
- "subtitle": "अपने व्यक्तिगत विवरण और खाता जानकारी प्रबंधित करें।",
- "sectionTitle": "खाता जानकारी",
- "sectionSubtitle": "अपनी प्रोफ़ाइल और खाता विवरण प्रबंधित करें।",
+ "pageTitle": "प्रोफ़ाइल",
+ "title": "प्रोफ़ाइल",
+ "subtitle": "आपके साथियों को आप कैसे दिखते हैं।",
+ "sectionTitle": "विवरण",
"profilePicture": "प्रोफ़ाइल चित्र",
- "fullName": "पूरा नाम",
+ "fullName": "नाम",
"fullNamePlaceholder": "अपना नाम दर्ज करें",
"email": "ईमेल",
- "emailPlaceholder": "अपना ईमेल दर्ज करें",
- "updateSuccess": "प्रोफ़ाइल सफलतापूर्वक अपडेट की गई",
"updateError": "प्रोफ़ाइल अपडेट करने में विफल",
"validation": {
"nameRequired": "नाम आवश्यक है",
- "nameShort": "नाम कम से कम 2 अक्षरों का होना चाहिए",
- "invalidEmail": "अमान्य ईमेल पता"
+ "nameShort": "नाम कम से कम 2 अक्षरों का होना चाहिए"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "चौकोर छवियाँ सबसे अच्छी दिखती हैं।",
+ "remove": "निकालें",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "अपलोड करें"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -605,39 +597,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "आप इसी पते से साइन इन करते हैं।"
},
"notificationsPage": {
"pageTitle": "सूचनाएँ",
"title": "सूचनाएँ",
- "subtitle": "चुनें कि Kaneo आपकी खाता सूचनाएँ कैसे वितरित करे और कौन से चैनल उपयोग करे।",
+ "subtitle": "Kaneo आपको किन बातों की सूचना देता है, और कहाँ।",
"statusConnected": "जुड़ा हुआ",
"statusPaused": "रुका हुआ",
"emailTitle": "ईमेल",
- "emailDescription": "सूचनाओं के लिए अपने खाते के ईमेल का उपयोग करें।",
- "accountEmailLabel": "खाते का ईमेल",
"accountEmailNoAddress": "कोई खाता ईमेल उपलब्ध नहीं",
- "accountEmailHint": "ईमेल डिलीवरी हमेशा साइन-इन खाते के ईमेल पर जाती है।",
"saveChanges": "परिवर्तन सहेजें",
"disconnect": "डिस्कनेक्ट करें",
"ntfyTitle": "ntfy",
- "ntfyDescription": "खाता सूचनाएँ ntfy टॉपिक पर प्रकाशित करें।",
+ "ntfyDescription": "अपने फ़ोन या डेस्कटॉप पर ntfy टॉपिक में प्रकाशित करें।",
"serverUrl": "सर्वर URL",
"topic": "टॉपिक",
"token": "टोकन",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "वैकल्पिक बेयरर टोकन",
+ "ntfyTokenPlaceholder": "केवल तभी जब आपके सर्वर को इसकी ज़रूरत हो",
"ntfyTokenHintConfigured": "टोकन पहले से कॉन्फ़िगर है ({{masked}})। बदलने के लिए नया टोकन दर्ज करें।",
- "ntfyTokenHintOptional": "वैकल्पिक। यदि आपके ntfy सर्वर को प्रमाणीकरण की आवश्यकता है तो टोकन प्रदान करें।",
+ "ntfyTokenHintOptional": "अगर आपके ntfy सर्वर को प्रमाणीकरण चाहिए, तो टोकन उपयोग करें।",
"connectNtfy": "ntfy कनेक्ट करें",
"gotifyTitle": "Gotify",
- "gotifyDescription": "खाता सूचनाएँ अपने Gotify सर्वर पर भेजें।",
+ "gotifyDescription": "अपने Gotify सर्वर पर सूचनाएँ भेजें।",
"gotifyTokenLabel": "ऐप टोकन",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify ऐप टोकन",
@@ -645,52 +634,26 @@
"gotifyTokenHintRequired": "आवश्यक। अपने Gotify सर्वर से एक एप्लिकेशन टोकन का उपयोग करें।",
"connectGotify": "Gotify कनेक्ट करें",
"webhookTitle": "कस्टम वेबहुक",
- "webhookDescription": "खाता सूचनाएँ JSON के रूप में अपने एंडपॉइंट पर भेजें।",
+ "webhookDescription": "हर सूचना JSON के रूप में अपने एंडपॉइंट पर भेजें।",
"endpointUrl": "एंडपॉइंट URL",
"signingSecret": "साइनिंग सीक्रेट",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "वैकल्पिक शेयर्ड सीक्रेट",
"webhookSecretHintConfigured": "साइनिंग सीक्रेट पहले से कॉन्फ़िगर है ({{masked}})। बदलने के लिए नया दर्ज करें।",
- "webhookSecretHintOptional": "वैकल्पिक। सीक्रेट सेट होने पर Kaneo अनुरोध बॉडी पर हस्ताक्षर करता है।",
+ "webhookSecretHintOptional": "सीक्रेट सेट होने पर Kaneo अनुरोध बॉडी पर हस्ताक्षर करता है।",
"connectWebhook": "वेबहुक कनेक्ट करें",
- "workspaceRulesTitle": "वर्कस्पेस डिलीवरी नियम",
- "workspaceRulesDescription": "अपने वैश्विक चैनल पुनः उपयोग करें, फिर तय करें कि कौन से वर्कस्पेस और प्रोजेक्ट खाता सूचनाएँ भेज सकते हैं।",
- "workspaceCardHint": "चुनें कि यह वर्कस्पेस खाता सूचनाओं के लिए कौन से चैनल उपयोग कर सकता है।",
- "workspaceEnabledLabel": "{{workspaceName}} के लिए सूचनाएँ सक्षम करें",
"eventPreferencesTitle": "इन विषयों पर सूचित करें",
- "eventPreferencesDescription": "चुनें कि कौन से कार्य इवेंट इन-ऐप सूचनाएँ बनाएँ और आपके जुड़े चैनलों पर वितरित किए जा सकें।",
- "eventTaskAssignments": "कार्य असाइनमेंट",
+ "eventPreferencesDescription": "आपकी अपनी टिप्पणियों, उल्लेखों और स्थिति परिवर्तनों की सूचना आपको कभी नहीं मिलती।",
+ "eventTaskAssignments": "असाइनमेंट",
"eventComments": "टिप्पणियाँ और उल्लेख",
- "eventCommentsHint": "आपको असाइन किए गए कार्यों पर नई टिप्पणियाँ और सीधे @उल्लेख शामिल हैं।",
- "eventStatusChanges": "कार्य स्थिति परिवर्तन",
+ "eventCommentsHint": "आपके कार्यों पर नई टिप्पणियाँ, और जब कोई आपको @mention करे।",
+ "eventStatusChanges": "स्थिति परिवर्तन",
"eventDueDateReminders": "नियत तारीख अनुस्मारक",
"reminderLeadTimeLabel": "नियत तारीख से पहले मुझे याद दिलाएँ",
- "reminderLeadTimeHint": "1 घंटे से 30 दिन पहले तक। अतिदेय सूचनाएँ अलग से भेजी जाती हैं।",
- "reminderLeadTimeUnitHours": "घंटे",
- "reminderLeadTimeUnitDays": "दिन",
"reminderLeadTimeInvalid": "1 से {{max}} के बीच पूर्ण संख्या दर्ज करें।",
"saveEventPreferences": "सूचना प्रकार सहेजें",
- "workspaceCardLabelEmail": "ईमेल",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "कस्टम वेबहुक",
- "emailChannelHintEnabled": "मिलान वर्कस्पेस सूचनाएँ ईमेल से भेजें।",
- "emailChannelHintDisabled": "पहले ईमेल को वैश्विक रूप से कॉन्फ़िगर और सक्षम करें।",
- "ntfyChannelHintEnabled": "मिलान वर्कस्पेस सूचनाएँ ntfy पर भेजें।",
- "ntfyChannelHintDisabled": "पहले ntfy को वैश्विक रूप से कॉन्फ़िगर और सक्षम करें।",
- "gotifyChannelHintEnabled": "मिलान वर्कस्पेस सूचनाएँ Gotify पर भेजें।",
- "gotifyChannelHintDisabled": "पहले Gotify को वैश्विक रूप से कॉन्फ़िगर और सक्षम करें।",
- "webhookChannelHintEnabled": "मिलान वर्कस्पेस सूचनाएँ अपने वेबहुक पर भेजें।",
- "webhookChannelHintDisabled": "पहले वेबहुक को वैश्विक रूप से कॉन्फ़िगर और सक्षम करें।",
- "projectScope": "प्रोजेक्ट स्कोप",
- "projectScopeDescription": "सभी प्रोजेक्ट डिफ़ॉल्ट रूप से शामिल हैं। यदि इस वर्कस्पेस को केवल चयनित प्रोजेक्ट से सूचनाएँ भेजनी चाहिए तो सीमित करें।",
"allProjects": "सभी प्रोजेक्ट",
- "allProjectsDescription": "इस वर्कस्पेस के हर प्रोजेक्ट से सूचनाएँ वितरित करें।",
- "selectedProjects": "चयनित प्रोजेक्ट",
- "selectedProjectsDescription": "केवल चुने गए प्रोजेक्ट से सूचनाएँ वितरित करें।",
"noProjectsInWorkspace": "इस वर्कस्पेस के लिए अभी तक कोई प्रोजेक्ट उपलब्ध नहीं।",
- "createRule": "नियम बनाएँ",
- "removeRule": "नियम हटाएँ",
"toastEmailSaved": "ईमेल सूचना सेटिंग सहेजी गई",
"toastEmailSaveFailed": "ईमेल सेटिंग सहेजने में विफल",
"toastNtfySaved": "ntfy सेटिंग सहेजी गई",
@@ -713,137 +676,164 @@
"toastPreferencesSaveFailed": "सूचना प्राथमिकताएँ सहेजने में विफल",
"toastRuleSavedGeneric": "वर्कस्पेस सूचना नियम सहेजा गया",
"toastRuleRemovedGeneric": "वर्कस्पेस सूचना नियम हटाया गया",
- "recipientHint": "टिप्पणियों और स्थिति में बदलाव की सूचनाएँ आपको सौंपे गए कार्यों के लिए मिलती हैं। उल्लेख की सूचना चुने गए सदस्य को मिलती है। अपनी टिप्पणियों, उल्लेखों और स्थिति में बदलाव की सूचनाएँ आपको नहीं मिलतीं।"
+ "channelNotConnected": "कनेक्ट नहीं है",
+ "channelOff": "बंद",
+ "channelsDescription": "सूचनाएँ हमेशा Kaneo में दिखती हैं। उन्हें कहीं और भी पाने के लिए कोई चैनल कनेक्ट करें।",
+ "channelsTitle": "चैनल",
+ "configure": "कॉन्फ़िगर करें",
+ "configureChannel": "{{channel}} कॉन्फ़िगर करें",
+ "configureWorkspace": "{{workspaceName}} के लिए सूचनाएँ कॉन्फ़िगर करें",
+ "connect": "कनेक्ट करें",
+ "connectChannel": "{{channel}} कनेक्ट करें",
+ "disconnectDescription": "सूचनाएँ {{channel}} पर जाना बंद हो जाएँगी, और उसकी सहेजी गई सेटिंग हटा दी जाएँगी।",
+ "disconnecting": "डिस्कनेक्ट हो रहा है...",
+ "disconnectTitle": "{{channel}} डिस्कनेक्ट करें?",
+ "done": "हो गया",
+ "emailToggleLabel": "ईमेल से सूचनाएँ भेजें",
+ "eventDueDateRemindersHint": "आपके किसी कार्य की नियत तारीख से पहले। अतिदेय कार्यों की सूचना अलग से मिलती है।",
+ "eventStatusChangesHint": "जब आपका कोई कार्य दूसरे कॉलम में जाता है।",
+ "eventTaskAssignmentsHint": "जब कोई आपको कार्य असाइन करता है।",
+ "loadFailed": "सूचना सेटिंग लोड नहीं हो सकीं।",
+ "onlyInKaneo": "केवल Kaneo में",
+ "optional": "वैकल्पिक",
+ "projectCount_one": "{{count}} प्रोजेक्ट",
+ "projectCount_other": "{{count}} प्रोजेक्ट",
+ "reminderLeadTimeUnitDaysBefore_one": "दिन पहले",
+ "reminderLeadTimeUnitDaysBefore_other": "दिन पहले",
+ "reminderLeadTimeUnitHoursBefore_one": "घंटा पहले",
+ "reminderLeadTimeUnitHoursBefore_other": "घंटे पहले",
+ "reminderLeadTimeUnitLabel": "अनुस्मारक इकाई",
+ "ruleActiveDescription": "इस वर्कस्पेस को रोकने और उसका सेटअप बनाए रखने के लिए बंद करें।",
+ "ruleActiveLabel": "भेजना",
+ "ruleChannels": "चैनल",
+ "ruleDialogDescription": "इस वर्कस्पेस की सूचनाएँ कहाँ जा सकती हैं।",
+ "ruleDialogTitle": "{{workspaceName}} की सूचनाएँ",
+ "ruleProjects": "प्रोजेक्ट",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "सहेजें",
+ "sendingDescription": "इस चैनल को रोकने और उसकी सेटिंग बनाए रखने के लिए बंद करें।",
+ "sendingLabel": "भेजना",
+ "setUp": "सेट अप करें",
+ "setUpWorkspace": "{{workspaceName}} के लिए सूचनाएँ सेट अप करें",
+ "someProjects": "केवल कुछ",
+ "statusOn": "चालू",
+ "statusSending": "भेज रहा है",
+ "stopping": "बंद किया जा रहा है...",
+ "stopSending": "भेजना बंद करें",
+ "stopSendingDescription": "इस वर्कस्पेस की सूचनाएँ केवल Kaneo में दिखेंगी।",
+ "stopSendingTitle": "{{workspaceName}} से भेजना बंद करें?",
+ "workspacesDescription": "चुनें कि कौन से वर्कस्पेस और प्रोजेक्ट आपके चैनल उपयोग कर सकते हैं।",
+ "workspacesTitle": "वर्कस्पेस"
},
"preferencesPage": {
"title": "प्राथमिकताएँ",
- "subtitle": "अपने Kaneo अनुभव को अनुकूलित करें।",
- "appearanceTitle": "दिखावट",
- "appearanceSubtitle": "दृश्य सेटिंग और लेआउट प्राथमिकताएँ।",
+ "subtitle": "Kaneo आपके लिए कैसा दिखता और काम करता है।",
+ "appearanceTitle": "सामान्य",
"theme": "थीम",
- "themeDescription": "अपनी पसंदीदा रंग योजना चुनें",
"selectTheme": "थीम चुनें",
"themeLight": "लाइट",
"themeDark": "डार्क",
- "themeSystem": "सिस्टम",
+ "themeSystem": "सिस्टम के अनुसार",
"language": "भाषा",
- "languageDescription": "अपनी पसंदीदा इंटरफ़ेस भाषा चुनें",
"selectLanguage": "भाषा चुनें",
"firstDayOfWeek": "सप्ताह का पहला दिन",
- "firstDayOfWeekDescription": "चुनें कि कैलेंडर और साप्ताहिक श्रेणियाँ किस दिन से शुरू हों",
+ "firstDayOfWeekDescription": "कैलेंडर और तारीख चयनकर्ता में उपयोग होता है।",
"selectFirstDayOfWeek": "पहला दिन चुनें",
"weekStartsOnSunday": "रविवार",
"weekStartsOnMonday": "सोमवार",
"weekStartsOnSaturday": "शनिवार",
"defaultView": "डिफ़ॉल्ट दृश्य",
- "defaultViewDescription": "अपना पसंदीदा कार्य दृश्य मोड चुनें",
+ "defaultViewDescription": "प्रोजेक्ट खुलने पर दिखने वाला दृश्य।",
"selectViewMode": "दृश्य मोड चुनें",
"board": "बोर्ड",
"list": "सूची",
"gantt": "गैंट",
- "sidebarDefault": "साइडबार डिफ़ॉल्ट",
- "sidebarDefaultDescription": "शुरुआत पर साइडबार विस्तारित रखें",
- "displayOptions": "प्रदर्शन विकल्प",
- "displayOptionsDescription": "चुनें कि कार्य दृश्यों में कौन सी जानकारी दिखाई जाए",
+ "sidebarDefault": "साइडबार खुला रखें",
+ "sidebarDefaultDescription": "साइडबार को विस्तारित रखकर शुरू करें।",
+ "displayOptions": "कार्य विवरण",
+ "displayOptionsDescription": "आपके बोर्ड और सूचियों के कार्ड और पंक्तियों में क्या दिखता है।",
"taskNumbers": "कार्य संख्याएँ",
- "taskNumbersDescription": "कार्य ID और संख्याएँ दिखाएँ",
"assignees": "सौंपे गए लोग",
- "assigneesDescription": "दिखाएँ कि कार्य किसे सौंपे गए हैं",
"dueDates": "नियत तारीखें",
- "dueDatesDescription": "कार्य की समय सीमा दिखाएँ",
"labels": "लेबल",
- "labelsDescription": "कार्य लेबल और टैग दिखाएँ",
"priority": "प्राथमिकता",
- "priorityDescription": "प्राथमिकता संकेतक दिखाएँ",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "प्रोजेक्ट द्वारा अपने बोर्ड के पीछे सेट की गई छवि दिखाएँ।",
+ "advancedTitle": "उन्नत"
},
"developerPage": {
- "pageTitle": "डेवलपर सेटिंग",
- "title": "डेवलपर सेटिंग",
- "subtitle": "अपनी API कुंजियाँ और डेवलपर संसाधन प्रबंधित करें।",
- "apiKeysCardTitle": "API कुंजियाँ",
- "apiKeysCardDescription": "Kaneo तक प्रोग्रामेटिक पहुँच के लिए API कुंजियाँ बनाएँ और प्रबंधित करें।",
- "createApiKey": "API कुंजी बनाएँ",
- "unnamedKey": "अनाम कुंजी"
+ "pageTitle": "API कुंजियाँ",
+ "title": "API कुंजियाँ",
+ "subtitle": "स्क्रिप्ट, CLI और MCP क्लाइंट को आपकी ओर से Kaneo उपयोग करने दें।",
+ "unnamedKey": "अनाम",
+ "emptyDescription": "CLI, MCP क्लाइंट या अपनी स्क्रिप्ट उपयोग करने के लिए एक कुंजी बनाएँ।",
+ "emptyTitle": "अभी कोई API कुंजी नहीं",
+ "keysNote": "कुंजी वह सब कर सकती है जो आप कर सकते हैं। जिन कुंजियों का अब उपयोग नहीं करते, उन्हें हटा दें।",
+ "keysTitle": "कुंजियाँ",
+ "loadError": "API कुंजियाँ लोड नहीं हो सकीं। कृपया पुनः प्रयास करें।",
+ "newKey": "नई कुंजी"
},
"apiKey": {
"createdModal": {
- "title": "API कुंजी बनाई गई",
- "description": "आपकी API कुंजी \"{{keyName}}\" सफलतापूर्वक बनाई गई है।",
- "yourApiKey": "आपकी API कुंजी",
+ "title": "अपनी कुंजी कॉपी करें",
+ "description": "इसे बंद करने के बाद आप यह कुंजी फिर नहीं देख पाएँगे।",
"copy": "कॉपी करें",
"copied": "कॉपी किया",
- "toastCopied": "API कुंजी क्लिपबोर्ड पर कॉपी की गई",
- "alertTitle": "सफल! आपकी API कुंजी बनाई गई है",
- "alertDescription": "इस कुंजी को अभी कॉपी करें। आप इसे दोबारा नहीं देख पाएँगे।",
"done": "हो गया",
- "copyToContinue": "जारी रखने के लिए कुंजी कॉपी करें"
+ "copyError": "कुंजी कॉपी नहीं हो सकी। इसे चुनें और मैन्युअल रूप से कॉपी करें।"
},
"table": {
- "loading": "API कुंजियाँ लोड हो रही हैं...",
- "empty": "अभी तक कोई API कुंजी नहीं। शुरू करने के लिए एक बनाएँ।",
- "columnName": "नाम",
- "columnKey": "कुंजी",
- "columnCreated": "बनाया गया",
- "columnExpires": "समाप्ति",
- "columnActions": "कार्रवाइयाँ",
- "unnamedKey": "अनाम कुंजी",
- "expiredBadge": "समाप्त {{label}}",
- "deleteConfirmTitle": "API कुंजी हटाएँ?",
- "deleteConfirmDescription": "यह कार्रवाई पूर्ववत नहीं की जा सकती। यह {{name}} को स्थायी रूप से हटा देगी।",
- "deleteFallbackName": "यह API कुंजी",
- "delete": "हटाएँ",
- "deleting": "हटा रहे हैं...",
- "deleteAria": "{{name}} हटाएँ",
- "deleteAriaFallback": "API कुंजी",
- "toastDeleted": "API कुंजी सफलतापूर्वक हटाई गई",
- "toastDeleteError": "API कुंजी हटाने में विफल"
+ "deleteConfirmTitle": "“{{name}}” हटाएँ?",
+ "deleteConfirmDescription": "इस कुंजी का उपयोग करने वाली हर चीज़ काम करना बंद कर देगी। इसे पूर्ववत नहीं किया जा सकता।",
+ "delete": "कुंजी हटाएँ",
+ "deleting": "हटाया जा रहा है…",
+ "toastDeleted": "API कुंजी हटाई गई",
+ "toastDeleteError": "API कुंजी हटाई नहीं जा सकी"
},
"createDialog": {
- "title": "API कुंजी बनाएँ",
- "description": "Kaneo API को प्रोग्रामेटिक रूप से एक्सेस करने के लिए नई API कुंजी बनाएँ।",
+ "title": "नई API कुंजी",
+ "description": "यह कुंजी वह सब कर सकती है जो आप कर सकते हैं।",
"nameLabel": "नाम",
"namePlaceholder": "मेरी API कुंजी",
- "nameDescription": "इस API कुंजी के लिए विवरणात्मक नाम",
+ "nameDescription": "ताकि आपको याद रहे कि इसका उपयोग कहाँ होता है।",
"expirationLabel": "समाप्ति",
- "expirationPlaceholder": "समाप्ति चुनें",
- "expirationDescription": "चुनें कि यह API कुंजी कितने समय तक वैध रहे। कभी नहीं एक बिना स्वचालित समाप्ति की कुंजी बनाएगा।",
"expiration1d": "1 दिन",
"expiration7d": "7 दिन",
"expiration30d": "30 दिन",
"expiration90d": "90 दिन",
"expirationNever": "कभी नहीं",
- "create": "बनाएँ",
- "creating": "बना रहे हैं...",
- "failedCreate": "API कुंजी बनाने में विफल",
+ "create": "कुंजी बनाएँ",
+ "creating": "बनाई जा रही है…",
+ "failedCreate": "API कुंजी नहीं बन सकी",
"validation": {
- "nameRequired": "नाम आवश्यक है",
- "nameShort": "नाम कम से कम 3 अक्षरों का होना चाहिए",
- "expirationRequired": "समाप्ति आवश्यक है"
+ "nameRequired": "नाम दर्ज करें",
+ "nameShort": "कम से कम 3 अक्षर उपयोग करें"
}
+ },
+ "row": {
+ "actions": "{{name}} के लिए कार्रवाइयाँ",
+ "created": "{{date}} को बनाई गई",
+ "expired": "{{date}} को समाप्त हुई",
+ "expiredBadge": "समाप्त",
+ "expires": "{{date}} को समाप्त होगी",
+ "neverExpires": "कभी समाप्त नहीं होगी"
}
},
"workspaceGeneral": {
"pageTitle": "सामान्य सेटिंग",
- "title": "सामान्य सेटिंग",
- "subtitle": "अपने वर्कस्पेस का नाम और विवरण प्रबंधित करें।",
- "workspaceInfoTitle": "वर्कस्पेस जानकारी",
- "workspaceInfoSubtitle": "अपने वर्कस्पेस का विवरण और प्राथमिकताएँ कॉन्फ़िगर करें।",
- "nameLabel": "वर्कस्पेस का नाम",
- "nameHint": "आपके वर्कस्पेस का नाम",
+ "title": "सामान्य",
+ "subtitle": "{{name}} का नाम और उसका मालिक कौन है।",
+ "workspaceInfoTitle": "वर्कस्पेस",
+ "nameLabel": "नाम",
"namePlaceholder": "वर्कस्पेस का नाम दर्ज करें",
"descriptionLabel": "विवरण",
- "descriptionHint": "आपके वर्कस्पेस का संक्षिप्त विवरण",
- "descriptionPlaceholder": "वर्कस्पेस विवरण दर्ज करें",
+ "descriptionPlaceholder": "आपकी टीम किस पर काम करती है?",
"dangerZone": "खतरनाक ज़ोन",
- "dangerZoneSubtitle": "अपरिवर्तनीय और विनाशकारी कार्रवाइयाँ।",
"deleteWorkspace": "वर्कस्पेस हटाएँ",
- "deleteWorkspaceDescription": "वर्कस्पेस को स्थायी रूप से हटाने के लिए शेड्यूल करें",
+ "deleteWorkspaceDescription": "{{name}}, उसके प्रोजेक्ट और कार्यों को स्थायी रूप से हटा देता है।",
"deleteModalTitle": "वर्कस्पेस हटाएँ?",
- "deleteModalDescription": "यह वर्कस्पेस \"{{name}}\" और इसके सभी डेटा को स्थायी रूप से हटा देगा। यह कार्रवाई पूर्ववत नहीं की जा सकती।",
+ "deleteModalDescription": "यह {{name}} और उसके सभी प्रोजेक्ट और कार्यों को स्थायी रूप से हटा देगा। इसे पूर्ववत नहीं किया जा सकता।",
"deleteModalConfirm": "वर्कस्पेस हटाएँ",
- "toastUpdated": "वर्कस्पेस सफलतापूर्वक अपडेट किया गया",
"toastUpdateError": "वर्कस्पेस अपडेट करने में विफल",
"toastDeleted": "वर्कस्पेस सफलतापूर्वक हटाया गया",
"toastDeleteError": "वर्कस्पेस हटाने में विफल",
@@ -855,17 +845,18 @@
"toastSuccess": "स्वामित्व स्थानांतरित किया गया",
"toastError": "स्वामित्व स्थानांतरित करने में विफल",
"title": "स्वामित्व स्थानांतरित करें",
- "subtitle": "यह वर्कस्पेस किसी अन्य सदस्य को सौंपें। आपकी भूमिका घटकर एडमिन हो जाएगी और आप केवल मालिक को उपलब्ध क्षमताएँ खो देंगे।",
"pickerLabel": "नया मालिक",
"noEligibleMembers": "स्वामित्व स्थानांतरित करने से पहले कम से कम एक अन्य सदस्य को आमंत्रित करें।",
- "pickerHint": "वे इस वर्कस्पेस के एकमात्र मालिक बन जाएँगे।",
+ "pickerHint": "नया मालिक ज़िम्मेदारी संभालेगा। आप व्यवस्थापक बने रहेंगे।",
"pickerPlaceholder": "सदस्य चुनें",
"button": "स्थानांतरित करें",
"dialogTitle": "स्वामित्व स्थानांतरित करें?",
"dialogDescription": "{{name}} {{workspace}} के एकमात्र मालिक बन जाएँगे। आपकी एडमिन पहुँच बनी रहेगी, लेकिन वर्कस्पेस हटाने या उसे फिर से स्थानांतरित करने जैसी केवल मालिक को उपलब्ध क्षमताएँ आप खो देंगे।",
"transferring": "स्थानांतरित हो रहा है…",
"confirm": "स्वामित्व स्थानांतरित करें"
- }
+ },
+ "ownershipSubtitle": "यह केवल मालिक को दिखता है।",
+ "ownershipTitle": "स्वामित्व"
},
"workspaceRoles": {
"pageTitle": "भूमिकाएँ",
@@ -1076,22 +1067,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "लेबल सेटिंग",
+ "pageTitle": "लेबल",
"title": "लेबल",
- "subtitle": "वर्कस्पेस-स्तरीय लेबल बनाएँ, संपादित करें और हटाएँ।",
- "cardDescription": "कार्यों को असाइन किए जा सकने वाले लेबल प्रबंधित करें।",
+ "subtitle": "लेबल इस वर्कस्पेस के सभी प्रोजेक्ट में साझा होते हैं।",
"createLabel": "लेबल बनाएँ",
"editLabel": "लेबल संपादित करें",
- "deleteLabel": "हटाएँ",
+ "deleteLabel": "लेबल हटाएँ",
"saveLabel": "सहेजें",
- "nameLabel": "लेबल का नाम",
- "namePlaceholder": "लेबल का नाम दर्ज करें",
+ "nameLabel": "नाम",
+ "namePlaceholder": "लेबल का नाम",
"colorLabel": "रंग",
- "createDescription": "एक नया लेबल बनाएँ जो इस वर्कस्पेस में सभी कार्यों में उपयोग किया जा सकता है।",
- "editDescription": "इस लेबल का नाम या रंग अपडेट करें।",
- "deleteConfirmTitle": "यह लेबल हटाएँ?",
- "deleteConfirmDescription": "यह सभी कार्यों से इस लेबल को स्थायी रूप से हटा देगा। यह कार्रवाई पूर्ववत नहीं की जा सकती।",
- "empty": "अभी तक कोई लेबल नहीं। शुरू करने के लिए अपना पहला लेबल बनाएँ।",
+ "createDescription": "इस वर्कस्पेस के प्रोजेक्ट इसे अपने कार्यों में जोड़ सकते हैं।",
+ "editDescription": "बदलाव इस लेबल वाले हर कार्य पर दिखते हैं।",
+ "deleteConfirmTitle": "“{{name}}” हटाएँ?",
+ "deleteConfirmDescription": "यह लेबल उन सभी कार्यों से हटा दिया जाएगा जो इसका उपयोग करते हैं। इसे पूर्ववत नहीं किया जा सकता।",
"createSuccess": "लेबल बनाया गया",
"updateSuccess": "लेबल अपडेट किया गया",
"deleteSuccess": "लेबल हटाया गया",
@@ -1099,36 +1088,43 @@
"updateError": "लेबल अपडेट करने में विफल",
"deleteError": "लेबल हटाने में विफल",
"nameRequired": "लेबल का नाम आवश्यक है",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "कार्यों से हटाया जा रहा है…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "{{name}} संपादित करें",
+ "emptyDescription": "सभी प्रोजेक्ट में कार्यों को छाँटने और फ़िल्टर करने के लिए लेबल जोड़ें।",
+ "emptyTitle": "अभी कोई लेबल नहीं",
+ "loadError": "लेबल लोड नहीं हो सके। कृपया पुनः प्रयास करें।",
+ "newLabel": "नया लेबल",
+ "preview": "कार्य पर",
+ "previewPlaceholder": "लेबल",
+ "resume": "फिर से शुरू करें",
+ "rowActions": "{{name}} के लिए कार्रवाइयाँ",
+ "sectionDescription": "किसी लेबल का नाम या रंग बदलने से उसका उपयोग करने वाले सभी कार्य अपडेट हो जाते हैं।",
+ "sectionTitle": "वर्कस्पेस लेबल",
+ "subtitleWithWorkspace": "लेबल {{workspaceName}} के सभी प्रोजेक्ट में साझा होते हैं।"
},
"projectGeneral": {
"pageTitle": "प्रोजेक्ट सेटिंग",
- "title": "सामान्य सेटिंग",
- "subtitle": "अपने प्रोजेक्ट का नाम, कुंजी, आइकन और विवरण प्रबंधित करें।",
- "projectInfoTitle": "प्रोजेक्ट जानकारी",
- "projectInfoSubtitle": "अपने प्रोजेक्ट का विवरण और प्राथमिकताएँ कॉन्फ़िगर करें।",
+ "title": "सामान्य",
+ "subtitle": "{{name}} का नाम, कुंजी और रूप।",
+ "projectInfoTitle": "प्रोजेक्ट",
"iconLabel": "आइकन",
- "iconHint": "साइडबार और प्रोजेक्ट सतहों में प्रदर्शित।",
+ "iconHint": "साइडबार और प्रोजेक्ट सूचियों में दिखता है।",
"pickIconTitle": "आइकन चुनें",
"searchIconsPlaceholder": "आइकन खोजें...",
- "projectNameLabel": "प्रोजेक्ट का नाम",
- "projectNameHint": "आपके प्रोजेक्ट का नाम",
- "projectNamePlaceholder": "प्रोजेक्ट का नाम दर्ज करें",
+ "projectNameLabel": "नाम",
+ "projectNamePlaceholder": "प्रोजेक्ट का नाम",
"keyLabel": "कुंजी",
- "keyHint": "टिकट ID के लिए उपयोग (जैसे, {{slug}}-123)",
+ "keyHint": "हर कार्य ID इसी से शुरू होती है, जैसे {{slug}}-123।",
"keyPlaceholder": "PRO",
"descriptionLabel": "विवरण",
- "descriptionHint": "आपके प्रोजेक्ट का संक्षिप्त विवरण",
- "descriptionPlaceholder": "प्रोजेक्ट विवरण दर्ज करें",
+ "descriptionPlaceholder": "यह प्रोजेक्ट किसलिए है?",
"dangerZone": "खतरनाक ज़ोन",
- "dangerZoneSubtitle": "अपरिवर्तनीय और विनाशकारी कार्रवाइयाँ।",
"deleteProject": "प्रोजेक्ट हटाएँ",
- "deleteProjectDescription": "प्रोजेक्ट को स्थायी रूप से हटाने के लिए शेड्यूल करें",
+ "deleteProjectDescription": "{{name}} और उसके सभी कार्यों को स्थायी रूप से हटा देता है।",
"deleteModalTitle": "प्रोजेक्ट हटाएँ?",
- "deleteModalDescription": "यह प्रोजेक्ट \"{{name}}\" और इसके सभी डेटा को स्थायी रूप से हटा देगा। यह कार्रवाई पूर्ववत नहीं की जा सकती।",
+ "deleteModalDescription": "यह {{name}} और उसके सभी कार्यों को स्थायी रूप से हटा देगा। इसे पूर्ववत नहीं किया जा सकता।",
"deleteModalConfirm": "प्रोजेक्ट हटाएँ",
- "toastUpdated": "प्रोजेक्ट सफलतापूर्वक अपडेट किया गया",
"toastUpdateError": "प्रोजेक्ट अपडेट करने में विफल",
"toastDeleted": "प्रोजेक्ट सफलतापूर्वक हटाया गया",
"toastDeleteError": "प्रोजेक्ट हटाने में विफल",
@@ -1138,40 +1134,42 @@
"keyMax": "कुंजी अधिकतम 8 अक्षरों की होनी चाहिए",
"iconRequired": "आइकन आवश्यक है"
},
- "importExportTasks": "आयात/निर्यात",
- "importExportTasksDescription": "कार्यों को आयात और निर्यात करें।",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "बोर्ड के पीछे दिखने वाली छवि। हर व्यक्ति इसे बंद कर सकता है।",
+ "backgroundUnavailable": "इस इंस्टेंस पर इमेज अपलोड सेट अप नहीं है।",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "बदलें",
+ "backgroundUpload": "अपलोड करें",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "प्रोजेक्ट ले जाएँ",
- "moveModalDescription": "इससे प्रोजेक्ट \"{{name}}\" और उसके सभी कार्य \"{{workspace}}\" में चले जाएँगे। जो कार्य उन लोगों को सौंपे गए हैं जो उस वर्कस्पेस के सदस्य नहीं हैं, उनका असाइनमेंट हटा दिया जाएगा, और इस प्रोजेक्ट की सूचना सदस्यताएँ हटा दी जाएँगी।",
- "moveModalTitle": "प्रोजेक्ट ले जाएँ?",
- "moveProject": "वर्कस्पेस में ले जाएँ",
+ "moveProject": "दूसरे वर्कस्पेस में ले जाएँ",
"moveProjectAction": "ले जाएँ",
- "moveProjectDescription": "इस प्रोजेक्ट को उसके सभी कार्यों सहित किसी अन्य वर्कस्पेस में ले जाएँ।",
+ "moveProjectDescription": "कार्य, कॉलम और लेबल भी साथ में जाते हैं।",
"moveProjectPlaceholder": "वर्कस्पेस चुनें",
"toastMoved": "प्रोजेक्ट सफलतापूर्वक ले जाया गया",
"toastMovedWithUnassigned": "प्रोजेक्ट सफलतापूर्वक ले जाया गया। {{taskCount}} कार्य का असाइनमेंट हटा दिया गया।",
"toastMoveError": "प्रोजेक्ट ले जाने में विफल",
- "moveTargetsError": "यह जाँचा नहीं जा सका कि आप इस प्रोजेक्ट को किन वर्कस्पेस में ले जा सकते हैं। पुनः प्रयास करने के लिए पेज रीलोड करें।"
+ "moveTargetsError": "यह जाँचा नहीं जा सका कि आप इस प्रोजेक्ट को किन वर्कस्पेस में ले जा सकते हैं। पुनः प्रयास करने के लिए पेज रीलोड करें।",
+ "moveDialogDescription": "नए वर्कस्पेस से बाहर के लोगों को असाइन किए गए कार्यों का असाइनमेंट हट जाएगा, और इस प्रोजेक्ट की सूचना सदस्यताएँ हटा दी जाएँगी।",
+ "moveDialogTitle": "दूसरे वर्कस्पेस में ले जाएँ?",
+ "moveTargetLabel": "वर्कस्पेस",
+ "moving": "ले जाया जा रहा है...",
+ "tasksTitle": "कार्य"
},
"projectIntegrations": {
- "pageTitle": "प्रोजेक्ट एकीकरण",
- "title": "प्रोजेक्ट एकीकरण",
- "subtitle": "अपने कार्यप्रवाह को सुगम बनाने के लिए अपने प्रोजेक्ट को बाहरी उपकरणों और सेवाओं से जोड़ें।",
+ "pageTitle": "एकीकरण",
+ "title": "एकीकरण",
+ "subtitle": "इस प्रोजेक्ट को अपने कोड होस्ट और अपनी टीम की चैट से जोड़ें।",
"githubSectionTitle": "GitHub एकीकरण",
"githubSectionSubtitle": "GitHub issues के साथ कार्यों को सिंक करें और दो-तरफ़ा सिंक सक्षम करें।",
"giteaSectionTitle": "Gitea एकीकरण",
"giteaSectionSubtitle": "स्व-होस्टेड Gitea इंस्टेंस के साथ कार्यों को सिंक करें (issues, PRs, webhooks)।",
"discordSectionTitle": "Discord एकीकरण",
"discordSectionSubtitle": "वेबहुक के साथ Discord चैनल में प्रोजेक्ट कार्य अपडेट भेजें।",
- "genericWebhookSectionTitle": "सामान्य वेबहुक",
+ "genericWebhookSectionTitle": "वेबहुक",
"genericWebhookSectionSubtitle": "प्रोजेक्ट कार्य इवेंट किसी भी HTTP एंडपॉइंट पर JSON के रूप में भेजें।",
"slackSectionTitle": "Slack एकीकरण",
"slackSectionSubtitle": "इनकमिंग वेबहुक के साथ Slack चैनल में प्रोजेक्ट कार्य अपडेट भेजें।",
@@ -1179,7 +1177,7 @@
"telegramSectionSubtitle": "बॉट के साथ Telegram चैट या टॉपिक में प्रोजेक्ट कार्य अपडेट भेजें।",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "GitLab.com या स्व-प्रबंधित इंस्टेंस के साथ कार्य सिंक करें।",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "कोड होस्टिंग",
"chatTitle": "चैट और वेबहुक",
@@ -1192,69 +1190,59 @@
"projectVisibility": {
"pageTitle": "प्रोजेक्ट दृश्यता",
"title": "दृश्यता",
- "subtitle": "नियंत्रित करें कि आपका प्रोजेक्ट कौन देख और एक्सेस कर सकता है।",
- "sectionTitle": "दृश्यता",
- "sectionSubtitle": "सार्वजनिक पहुँच टॉगल करें और सार्वजनिक URL साझा करें।",
- "publicAccess": "सार्वजनिक पहुँच",
- "publicAccessHint": "URL वाले किसी भी व्यक्ति को इस प्रोजेक्ट को देखने दें",
+ "subtitle": "चुनें कि {{workspace}} के बाहर {{project}} को कौन देख सकता है।",
+ "sectionTitle": "पहुँच",
+ "publicAccess": "सार्वजनिक लिंक",
+ "publicAccessHint": "लिंक वाला कोई भी व्यक्ति बोर्ड और उसके कार्य देख सकता है। वे कुछ भी बदल नहीं सकते।",
"publicUrl": "सार्वजनिक URL",
- "publicUrlHint": "प्रोजेक्ट सार्वजनिक होने पर यह लिंक साझा करें",
- "copy": "कॉपी करें",
- "copiedToast": "कॉपी किया",
+ "copy": "लिंक कॉपी करें",
"toastUpdated": "दृश्यता अपडेट की गई",
- "toastUpdateError": "दृश्यता अपडेट करने में विफल"
+ "toastUpdateError": "दृश्यता अपडेट करने में विफल",
+ "always": "हमेशा",
+ "copied": "कॉपी किया",
+ "copyError": "लिंक कॉपी नहीं हो सका",
+ "membersDescription": "वर्कस्पेस के सभी लोग, उनकी भूमिका की अनुमति के अनुसार।",
+ "membersTitle": "{{workspace}} के सदस्य",
+ "offNote": "सार्वजनिक लिंक बंद करने पर वह तुरंत काम करना बंद कर देता है।",
+ "on": "चालू",
+ "openPublicPage": "सार्वजनिक पेज खोलें",
+ "thisWorkspace": "इस वर्कस्पेस"
},
"projectWorkflow": {
"pageTitle": "वर्कफ़्लो सेटिंग",
"title": "वर्कफ़्लो",
- "subtitle": "इस प्रोजेक्ट के लिए बोर्ड कॉलम और ऑटोमेशन नियम कॉन्फ़िगर करें।",
+ "subtitle": "आपके बोर्ड के कॉलम, और कार्यों को उनके बीच क्या ले जाता है।",
"columnsTitle": "कॉलम",
- "columnsDescription": "अपने बोर्ड पर दिखाई देने वाले कॉलम प्रबंधित करें। पुनर्क्रम के लिए खींचें। पूर्ण कार्य को दर्शाने वाले चरणों के लिए \"Done column\" चालू करें।",
- "automationTitle": "ऑटोमेशन नियम",
- "automationDescription": "एकीकरण इवेंट को कॉलम से मैप करें। जब कोई इवेंट होता है, तो लिंक किया गया कार्य निर्दिष्ट कॉलम में चला जाता है।",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "क्रम बदलने के लिए खींचें। पूर्ण कॉलम के कार्य पूरे माने जाते हैं।",
+ "automationTitle": "ऑटोमेशन",
+ "automationDescription": "कनेक्ट की गई रिपॉज़िटरी में कुछ होने पर लिंक किया गया कार्य ले जाएँ।"
},
"projectSwitcher": {
"selectProject": "प्रोजेक्ट चुनें",
"noProjects": "कोई प्रोजेक्ट नहीं"
},
"columnEditor": {
- "toastCreated": "कॉलम बनाया गया",
"toastCreateError": "कॉलम बनाने में विफल",
- "toastRenamed": "कॉलम का नाम बदला गया",
"toastRenameError": "कॉलम अपडेट करने में विफल",
- "toastFinalOn": "कॉलम को अंतिम चिह्नित किया गया",
- "toastFinalOff": "कॉलम का अंतिम चिह्न हटाया गया",
"toastUpdateError": "कॉलम अपडेट करने में विफल",
- "toastIconUpdated": "कॉलम आइकन अपडेट किया गया",
- "toastDeleted": "कॉलम हटाया गया",
"toastDeleteError": "कॉलम हटाने में विफल",
- "loading": "कॉलम लोड हो रहे हैं...",
"pickIconTitle": "कॉलम आइकन चुनें",
"searchIconsPlaceholder": "आइकन खोजें...",
- "doneColumnTooltip": "इसे Done कॉलम मानें",
- "doneColumn": "Done कॉलम",
"markDoneAria": "{{name}} को Done कॉलम चिह्नित करें",
- "on": "चालू",
- "off": "बंद",
- "newColumnPlaceholder": "नया कॉलम नाम...",
- "add": "जोड़ें",
+ "newColumnPlaceholder": "कॉलम का नाम",
"deleteAria": "{{name}} कॉलम हटाएँ",
- "renameAria": "{{name}} कॉलम का नाम बदलें"
+ "renameAria": "{{name}} कॉलम का नाम बदलें",
+ "addColumn": "कॉलम जोड़ें",
+ "columnHeader": "कॉलम",
+ "deleteConfirm": "कॉलम हटाएँ",
+ "deleteDescription": "जिन कॉलम में अभी भी कार्य हैं, उन्हें हटाया नहीं जा सकता। पहले उन कार्यों को ले जाएँ।",
+ "deleteTitle": "“{{name}}” हटाएँ?",
+ "doneHeader": "पूर्ण",
+ "dragAria": "{{name}} का क्रम बदलें",
+ "reorderError": "कॉलम का क्रम बदलने में विफल"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "रिपॉज़िटरी मालिक आवश्यक है",
- "ownerInvalid": "अमान्य रिपॉज़िटरी मालिक प्रारूप",
- "nameRequired": "रिपॉज़िटरी नाम आवश्यक है",
- "nameInvalid": "अमान्य रिपॉज़िटरी नाम प्रारूप"
- },
"toast": {
- "installedOk": "GitHub App सही ढंग से इंस्टॉल है!",
- "installedMissingPerms": "GitHub App इंस्टॉल है लेकिन आवश्यक अनुमतियाँ नहीं हैं",
- "needsInstallOnRepo": "GitHub App को इस रिपॉज़िटरी पर इंस्टॉल करना होगा",
- "repoNotFound": "रिपॉज़िटरी नहीं मिली या पहुँच योग्य नहीं",
"verifyError": "GitHub इंस्टॉलेशन सत्यापित करने में विफल",
"installAppFirst": "कृपया पहले इस रिपॉज़िटरी पर GitHub App इंस्टॉल करें",
"missingPermsDetail": "GitHub App में आवश्यक अनुमतियाँ नहीं हैं: {{list}}। कृपया ऐप अनुमतियाँ अपडेट करें।",
@@ -1268,64 +1256,36 @@
"commentOnDisabled": "नई issues पर कार्य लिंक टिप्पणियाँ बंद हैं",
"settingsUpdateError": "GitHub एकीकरण अपडेट करने में विफल"
},
- "connectionStatus": "कनेक्शन स्थिति",
- "connectedActive": "रिपॉज़िटरी जुड़ी और सक्रिय",
- "notConnectedHint": "कोई रिपॉज़िटरी जुड़ी नहीं",
- "badgeConnected": "जुड़ा हुआ",
- "badgeNotConnected": "जुड़ा नहीं",
- "repository": "रिपॉज़िटरी",
- "repositoryHint": "जुड़ी GitHub रिपॉज़िटरी",
- "commentTaskLinkTitle": "नई issues पर Kaneo लिंक टिप्पणी करें",
- "commentTaskLinkHint": "सक्षम होने पर, Kaneo प्रत्येक नई GitHub issue पर कार्य लिंक के साथ टिप्पणी करता है।",
- "appStatusTitle": "GitHub App स्थिति",
- "appStatusHint": "इंस्टॉलेशन और अनुमतियाँ स्थिति",
- "statusProperlyConfigured": "सही ढंग से कॉन्फ़िगर किया गया",
- "statusMissingPermissions": "अनुमतियाँ नहीं हैं",
- "statusNotInstalled": "इंस्टॉल नहीं है",
- "ownerLabel": "रिपॉज़िटरी मालिक",
- "ownerHint": "GitHub उपयोगकर्ता नाम या संगठन",
- "ownerPlaceholder": "जैसे, octocat",
- "repoNameLabel": "रिपॉज़िटरी नाम",
- "repoNameHint": "रिपॉज़िटरी का नाम",
- "repoNamePlaceholder": "जैसे, my-project",
- "actionsTitle": "कार्रवाइयाँ",
- "actionsHint": "अपना रिपॉज़िटरी कनेक्शन प्रबंधित करें",
- "browse": "ब्राउज़ करें",
- "verify": "सत्यापित करें",
- "update": "अपडेट करें",
- "connect": "कनेक्ट करें",
- "disconnect": "डिस्कनेक्ट करें",
- "missingPermissionsLabel": "अनुपलब्ध अनुमतियाँ:",
+ "commentTaskLinkTitle": "नए इश्यू पर Kaneo लिंक की टिप्पणी करें",
+ "commentTaskLinkHint": "ताकि GitHub पर लोग सीधे कार्य तक पहुँच सकें।",
"updatePermissions": "अनुमतियाँ अपडेट करें",
"installGithubApp": "GitHub App इंस्टॉल करें",
- "importSectionTitle": "GitHub Issues आयात करें",
- "importSectionHint": "अपनी GitHub रिपॉज़िटरी से मौजूदा issues को कार्यों के रूप में आयात करें",
- "importing": "आयात हो रहा है...",
- "importIssues": "Issues आयात करें",
- "importDisabledHint": "आयात सक्षम करने के लिए ऊपर रिपॉज़िटरी कॉन्फ़िगरेशन पूरा करें",
+ "importSectionHint": "रिपॉज़िटरी के खुले इश्यू को कार्यों के रूप में आयात करें।",
+ "importDisabledHint": "आयात सक्षम करने के लिए रिपॉज़िटरी फिर से कनेक्ट करें।",
"accountVerificationHint": "इस रिपॉज़िटरी पर अपने व्यवस्थापक अधिकार सत्यापित करने के लिए अपना GitHub खाता कनेक्ट करें।",
"enableGithubSignInHint": "अपने इंस्टेंस के व्यवस्थापक से GitHub साइन-इन सक्षम करने को कहें।",
"reverifyHint": "पहुँच सत्यापित करने और सिंक्रोनाइज़ेशन फिर से शुरू करने के लिए इस रिपॉज़िटरी को दोबारा कनेक्ट करें।",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "इसके इश्यू और पुल रिक्वेस्ट यहाँ के कार्यों से लिंक होंगे।",
+ "linkAccountDescription": "इससे साबित होता है कि आप रिपॉज़िटरी का प्रबंधन कर सकते हैं।",
+ "linkAccountTitle": "अपना GitHub खाता लिंक करें",
+ "linked": "लिंक किया गया",
+ "linkGithub": "GitHub लिंक करें",
+ "verifyMissingPermissions": "Kaneo GitHub App में ये अनुमतियाँ नहीं हैं: {{list}}।",
+ "verifyNotInstalled": "Kaneo GitHub App इस रिपॉज़िटरी पर इंस्टॉल नहीं है।",
+ "verifyReady": "Kaneo GitHub App ज़रूरी अनुमतियों के साथ इंस्टॉल है।",
+ "workflowHint": "पुल रिक्वेस्ट खुलने या मर्ज होने पर कार्य आगे बढ़ाने के लिए देखें:",
+ "workflowLink": "वर्कफ़्लो"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea बेस URL आवश्यक है",
- "baseUrlInvalid": "एक वैध URL दर्ज करें (जैसे https://gitea.example.com)",
- "ownerRequired": "रिपॉज़िटरी मालिक आवश्यक है",
- "ownerInvalid": "अमान्य रिपॉज़िटरी मालिक प्रारूप",
- "nameRequired": "रिपॉज़िटरी नाम आवश्यक है",
- "nameInvalid": "अमान्य रिपॉज़िटरी नाम प्रारूप"
+ "baseUrlInvalid": "एक वैध URL दर्ज करें (जैसे https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea टोकन इस रिपॉज़िटरी तक पहुँच सकता है",
- "verifyWarning": "टोकन अनुमतियाँ या रिपॉज़िटरी पहुँच जाँचें",
- "repoNotFound": "रिपॉज़िटरी नहीं मिली या पहुँच योग्य नहीं",
"verifyError": "Gitea पहुँच सत्यापित करने में विफल",
- "tokenRequired": "व्यक्तिगत एक्सेस टोकन आवश्यक है",
- "tokenRequiredVerify": "सत्यापित करने के लिए टोकन दर्ज करें",
"verifyFirst": "पहुँच सत्यापन विफल। URL, टोकन और रिपॉज़िटरी जाँचें",
"updated": "Gitea एकीकरण सहेजा गया",
"updateError": "Gitea एकीकरण सहेजने में विफल",
@@ -1335,56 +1295,22 @@
"importError": "Issues आयात करने में विफल",
"commentOnEnabled": "Kaneo नई issues पर कार्य लिंक के साथ टिप्पणी करेगा",
"commentOnDisabled": "नई issues पर कार्य लिंक टिप्पणियाँ बंद हैं",
- "settingsUpdateError": "Gitea एकीकरण अपडेट करने में विफल",
- "secretCopied": "कॉपी किया",
- "unableToCopySecret": "सीक्रेट कॉपी करने में असमर्थ",
- "notGiteaInstance": "यह URL किसी Gitea इंस्टेंस की ओर इंगित नहीं करता",
- "redirected": "Gitea URL पुनः निर्देशित किया गया (आमतौर पर HTTPS पर). अंतिम URL सीधे उपयोग करें।"
- },
- "webhookShow": "दिखाएँ",
- "webhookHide": "छिपाएँ",
- "webhookCopy": "कॉपी करें",
- "connectionStatus": "कनेक्शन स्थिति",
- "connectedActive": "रिपॉज़िटरी जुड़ी और सक्रिय",
- "notConnectedHint": "कोई Gitea रिपॉज़िटरी जुड़ी नहीं",
- "badgeConnected": "जुड़ा हुआ",
- "badgeNotConnected": "जुड़ा नहीं",
- "repository": "रिपॉज़िटरी",
- "repositoryHint": "लिंक की गई Gitea रिपॉज़िटरी",
- "commentTaskLinkTitle": "नई issues पर Kaneo लिंक टिप्पणी करें",
- "commentTaskLinkHint": "सक्षम होने पर, Kaneo प्रत्येक नई issue पर कार्य लिंक के साथ टिप्पणी करता है।",
- "webhookTitle": "वेबहुक",
- "webhookHint": "अपनी Gitea रिपॉज़िटरी में, इस URL और सीक्रेट के साथ एक वेबहुक जोड़ें।",
- "webhookSecretLabel": "सीक्रेट (Gitea में वेबहुक सीक्रेट से मेल खाना चाहिए)",
+ "settingsUpdateError": "Gitea एकीकरण अपडेट करने में विफल"
+ },
+ "commentTaskLinkTitle": "नए इश्यू पर Kaneo लिंक की टिप्पणी करें",
+ "commentTaskLinkHint": "ताकि Gitea पर लोग सीधे कार्य तक पहुँच सकें।",
+ "webhookHint": "यह वेबहुक रिपॉज़िटरी सेटिंग में जोड़ें ताकि बदलाव Kaneo में वापस आएँ।",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "आपके Gitea इंस्टेंस का रूट URL",
"tokenLabel": "व्यक्तिगत एक्सेस टोकन",
- "tokenHint": "repo और issues एक्सेस वाला टोकन",
"tokenPlaceholder": "टोकन चिपकाएँ",
"tokenPlaceholderUpdate": "रोटेट करने के लिए नया टोकन चिपकाएँ",
- "currentToken": "संग्रहित",
- "ownerLabel": "मालिक",
- "ownerHint": "उपयोगकर्ता या संगठन का नाम",
- "repoNameLabel": "रिपॉज़िटरी नाम",
- "repoNameHint": "केवल रिपॉज़िटरी नाम (मालिक नहीं)",
- "actionsTitle": "कार्रवाइयाँ",
- "actionsHint": "पहुँच सत्यापित करें और कनेक्ट करें",
- "browse": "ब्राउज़ करें",
- "verify": "सत्यापित करें",
- "update": "अपडेट करें",
- "connect": "कनेक्ट करें",
- "disconnect": "डिस्कनेक्ट करें",
- "importSectionTitle": "Gitea issues आयात करें",
- "importSectionHint": "रिपॉज़िटरी से खुले issues और pull requests आयात करें",
- "importing": "आयात हो रहा है…",
- "importIssues": "Issues आयात करें",
- "importDisabledHint": "आयात सक्षम करने के लिए ऊपर रिपॉज़िटरी सत्यापित करें",
- "browseModalTitle": "आपकी रिपॉज़िटरीज़",
- "browseModalHint": "आपके टोकन से पहुँच योग्य रिपॉज़िटरीज़",
- "searchRepos": "खोजें…",
- "browseNeedsCredentials": "ब्राउज़ करने के लिए Gitea URL और टोकन दर्ज करें",
- "loadingRepos": "रिपॉज़िटरीज़ लोड हो रही हैं…",
- "retry": "पुनः प्रयास करें"
+ "importSectionHint": "खुले इश्यू और पुल रिक्वेस्ट को कार्यों के रूप में आयात करें।",
+ "importDisabledHint": "आयात के लिए सत्यापित पहुँच चाहिए। ऊपर टोकन की स्थिति जाँचें।",
+ "browseModalHint": "वे रिपॉज़िटरी जिन तक आपका टोकन पहुँच सकता है।",
+ "browseNeedsCredentials": "ब्राउज़ करने के लिए Gitea URL और टोकन दर्ज करें।",
+ "browseEmpty": "इस टोकन से कोई रिपॉज़िटरी नहीं दिखती।",
+ "chooseRepositoryDescription": "owner/name लिखें या सूची से चुनें।",
+ "webhookEvents": "पुश, पुल रिक्वेस्ट, इश्यू, इश्यू कमेंट और क्रिएट इवेंट चालू करें।"
},
"slackIntegration": {
"validation": {
@@ -1399,30 +1325,10 @@
"removed": "Slack एकीकरण सफलतापूर्वक हटाया गया",
"removeError": "Slack एकीकरण हटाने में विफल"
},
- "connectionTitle": "Slack वेबहुक कनेक्शन",
- "connectionHint": "Slack इनकमिंग वेबहुक URL चिपकाएँ और चुनें कि कौन से कार्य इवेंट पोस्ट होने चाहिए।",
- "connected": "जुड़ा हुआ",
- "paused": "रुका हुआ",
- "webhookLabel": "इनकमिंग वेबहुक URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Slack में एक Incoming Webhook बनाएँ और जनरेट किया गया URL यहाँ चिपकाएँ।",
- "channelLabel": "चैनल का नाम",
- "channelPlaceholder": "#team-updates",
- "channelHint": "आपके संदर्भ के लिए वैकल्पिक लेबल।",
- "eventsTitle": "इवेंट सूचनाएँ",
- "eventsHint": "चुनें कि कौन से प्रोजेक्ट परिवर्तन Slack पर पोस्ट होने चाहिए।",
- "events": {
- "taskCreated": "नए कार्य",
- "taskStatusChanged": "स्थिति परिवर्तन",
- "taskPriorityChanged": "प्राथमिकता परिवर्तन",
- "taskTitleChanged": "शीर्षक परिवर्तन",
- "taskDescriptionChanged": "विवरण परिवर्तन",
- "taskCommentCreated": "नई टिप्पणियाँ"
- },
+ "webhookHint": "Slack में एक इनकमिंग वेबहुक बनाएँ और उसे यहाँ चिपकाएँ।",
"connect": "Slack कनेक्ट करें",
- "saveChanges": "परिवर्तन सहेजें",
- "update": "Slack अपडेट करें",
- "disconnect": "डिस्कनेक्ट करें"
+ "update": "Slack अपडेट करें"
},
"discordIntegration": {
"validation": {
@@ -1437,34 +1343,15 @@
"removed": "Discord एकीकरण सफलतापूर्वक हटाया गया",
"removeError": "Discord एकीकरण हटाने में विफल"
},
- "connectionTitle": "Discord वेबहुक कनेक्शन",
- "connectionHint": "Discord वेबहुक URL चिपकाएँ और चुनें कि कौन से कार्य इवेंट पोस्ट होने चाहिए।",
- "connected": "जुड़ा हुआ",
- "paused": "रुका हुआ",
- "webhookLabel": "वेबहुक URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Discord चैनल वेबहुक बनाएँ और जनरेट किया गया URL यहाँ चिपकाएँ।",
- "channelLabel": "चैनल का नाम",
- "channelPlaceholder": "#team-updates",
- "channelHint": "आपके संदर्भ के लिए वैकल्पिक लेबल।",
- "eventsTitle": "इवेंट सूचनाएँ",
- "eventsHint": "चुनें कि कौन से प्रोजेक्ट परिवर्तन Discord पर पोस्ट होने चाहिए।",
- "events": {
- "taskCreated": "नए कार्य",
- "taskStatusChanged": "स्थिति परिवर्तन",
- "taskPriorityChanged": "प्राथमिकता परिवर्तन",
- "taskTitleChanged": "शीर्षक परिवर्तन",
- "taskDescriptionChanged": "विवरण परिवर्तन",
- "taskCommentCreated": "नई टिप्पणियाँ"
- },
+ "webhookHint": "Discord में एक चैनल वेबहुक बनाएँ और उसे यहाँ चिपकाएँ।",
"connect": "Discord कनेक्ट करें",
- "saveChanges": "परिवर्तन सहेजें",
- "update": "Discord अपडेट करें",
- "disconnect": "डिस्कनेक्ट करें"
+ "update": "Discord अपडेट करें"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "वैध वेबहुक URL दर्ज करें"
+ "webhookInvalid": "वैध वेबहुक URL दर्ज करें",
+ "leadTimeRange": "5 मिनट से 720 घंटे के बीच का समय चुनें।"
},
"toast": {
"saved": "सामान्य वेबहुक एकीकरण सफलतापूर्वक सहेजा गया",
@@ -1475,26 +1362,21 @@
"removed": "सामान्य वेबहुक एकीकरण सफलतापूर्वक हटाया गया",
"removeError": "सामान्य वेबहुक एकीकरण हटाने में विफल"
},
- "connectionTitle": "आउटगोइंग वेबहुक कनेक्शन",
- "connectionHint": "कार्य इवेंट JSON के रूप में अपने एंडपॉइंट पर भेजें।",
- "connected": "जुड़ा हुआ",
- "paused": "रुका हुआ",
"webhookLabel": "एंडपॉइंट URL",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo प्रत्येक सक्षम इवेंट के लिए JSON पेलोड के साथ POST अनुरोध भेजता है।",
"secretLabel": "साइनिंग सीक्रेट",
- "secretPlaceholder": "वैकल्पिक शेयर्ड सीक्रेट",
- "secretHint": "वैकल्पिक। यदि प्रदान किया गया, तो Kaneo अनुरोध बॉडी पर हस्ताक्षर करता है।",
- "secretHintConfigured": "साइनिंग सीक्रेट पहले से कॉन्फ़िगर है ({{secret}})। बदलने के लिए नया दर्ज करें।",
- "eventsTitle": "इवेंट सूचनाएँ",
- "eventsHint": "चुनें कि कौन से प्रोजेक्ट परिवर्तन आउटगोइंग वेबहुक ट्रिगर करें।",
+ "secretPlaceholder": "शेयर्ड सीक्रेट",
+ "secretHint": "Kaneo हर अनुरोध पर इससे हस्ताक्षर करता है और डाइजेस्ट को X-Kaneo-Signature हेडर में भेजता है।",
+ "secretHintConfigured": "मौजूदा सीक्रेट: {{secret}}। बदलने के लिए नया चिपकाएँ।",
+ "eventsTitle": "कब भेजें",
"events": {
- "taskCreated": "नए कार्य",
- "taskStatusChanged": "स्थिति परिवर्तन",
- "taskPriorityChanged": "प्राथमिकता परिवर्तन",
- "taskTitleChanged": "शीर्षक परिवर्तन",
- "taskDescriptionChanged": "विवरण परिवर्तन",
- "taskCommentCreated": "नई टिप्पणियाँ",
+ "taskCreated": "कार्य बनाया गया",
+ "taskStatusChanged": "स्थिति बदली",
+ "taskPriorityChanged": "प्राथमिकता बदली",
+ "taskTitleChanged": "शीर्षक बदला",
+ "taskDescriptionChanged": "विवरण बदला",
+ "taskCommentCreated": "नई टिप्पणी",
"taskDeleted": "कार्य हटाया गया",
"taskMoved": "कार्य ले जाया गया",
"taskDueDateChanged": "नियत तारीख बदली",
@@ -1502,16 +1384,19 @@
"taskUnassigned": "कार्य असाइन हटाया",
"dueDateReminder": "नियत तारीख अनुस्मारक"
},
- "reminderLeadTimeLabel": "इतने घंटे पहले वेबहुक भेजें",
+ "reminderLeadTimeLabel": "कार्य की नियत तारीख से पहले के घंटे",
"connect": "वेबहुक कनेक्ट करें",
- "saveChanges": "परिवर्तन सहेजें",
- "disconnect": "डिस्कनेक्ट करें"
+ "activeTitle": "इवेंट भेजना",
+ "disconnectDescription": "Kaneo इवेंट भेजना बंद कर देगा और सहेजा गया एंडपॉइंट और सीक्रेट हटा देगा।",
+ "disconnectTitle": "वेबहुक डिस्कनेक्ट करें?",
+ "reminderLeadTimeAfter": "घंटे पहले, कार्य की नियत तारीख से",
+ "reminderLeadTimeBefore": "अनुस्मारक भेजें"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "वैध Telegram बॉट टोकन दर्ज करें",
"chatIdRequired": "चैट ID आवश्यक है",
- "threadIdInvalid": "वैध Telegram टॉपिक थ्रेड ID दर्ज करें"
+ "threadIdInvalid": "वैध टॉपिक ID दर्ज करें"
},
"toast": {
"saved": "Telegram एकीकरण सफलतापूर्वक सहेजा गया",
@@ -1522,55 +1407,38 @@
"removed": "Telegram एकीकरण सफलतापूर्वक हटाया गया",
"removeError": "Telegram एकीकरण हटाने में विफल"
},
- "connectionTitle": "Telegram बॉट कनेक्शन",
- "connectionHint": "प्रोजेक्ट कार्य अपडेट चैट या टॉपिक में भेजने के लिए Telegram बॉट टोकन और चैट ID का उपयोग करें।",
- "connected": "जुड़ा हुआ",
- "paused": "रुका हुआ",
"botTokenLabel": "बॉट टोकन",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "BotFather के साथ बॉट बनाएँ और इसका टोकन यहाँ चिपकाएँ।",
- "botTokenHintConfigured": "बॉट टोकन पहले से कॉन्फ़िगर है ({{token}})। बदलने के लिए नया दर्ज करें।",
+ "botTokenHintConfigured": "मौजूदा टोकन: {{token}}",
"chatIdLabel": "चैट ID",
"chatIdPlaceholder": "-1001234567890 या @team_updates",
- "chatIdHint": "Telegram चैट ID या चैनल यूज़रनेम दर्ज करें।",
- "threadIdLabel": "टॉपिक थ्रेड ID",
- "threadIdPlaceholder": "वैकल्पिक टॉपिक ID",
- "threadIdHint": "वैकल्पिक। Telegram समूहों के अंदर फ़ोरम टॉपिक के लिए इसका उपयोग करें।",
- "chatLabelLabel": "चैट लेबल",
+ "threadIdLabel": "टॉपिक ID",
+ "threadIdPlaceholder": "फ़ोरम टॉपिक के लिए",
+ "chatLabelLabel": "चैट का नाम",
"chatLabelPlaceholder": "इंजीनियरिंग अपडेट",
- "chatLabelHint": "Kaneo के अंदर आपके संदर्भ के लिए वैकल्पिक लेबल।",
- "eventsTitle": "इवेंट सूचनाएँ",
- "eventsHint": "चुनें कि कौन से प्रोजेक्ट परिवर्तन Telegram पर पोस्ट होने चाहिए।",
- "events": {
- "taskCreated": "नए कार्य",
- "taskStatusChanged": "स्थिति परिवर्तन",
- "taskPriorityChanged": "प्राथमिकता परिवर्तन",
- "taskTitleChanged": "शीर्षक परिवर्तन",
- "taskDescriptionChanged": "विवरण परिवर्तन",
- "taskCommentCreated": "नई टिप्पणियाँ"
- },
"connect": "Telegram कनेक्ट करें",
- "saveChanges": "परिवर्तन सहेजें",
- "disconnect": "डिस्कनेक्ट करें"
+ "botTokenSavedPlaceholder": "सहेजा गया। बदलने के लिए नया टोकन चिपकाएँ।",
+ "loadError": "Telegram सेटिंग लोड नहीं हो सकीं।"
},
"repositoryBrowser": {
"title": "रिपॉज़िटरी चुनें",
- "description": "Issue सिंक्रोनाइज़ेशन सक्षम करने के लिए वह रिपॉज़िटरी चुनें जहाँ आपकी GitHub App इंस्टॉल है।",
- "searchPlaceholder": "रिपॉज़िटरीज़ खोजें...",
- "loadError": "रिपॉज़िटरीज़ लोड करने में विफल",
+ "description": "वे रिपॉज़िटरी जिन्हें Kaneo GitHub App देख सकता है।",
+ "searchPlaceholder": "रिपॉज़िटरी खोजें",
+ "loadError": "रिपॉज़िटरी लोड नहीं हो सकीं।",
"tryAgain": "पुनः प्रयास करें",
- "emptyTitle": "कोई रिपॉज़िटरी नहीं मिली",
+ "emptyTitle": "अभी कोई रिपॉज़िटरी नहीं",
"emptyHint": "उन्हें यहाँ देखने के लिए अपनी रिपॉज़िटरीज़ पर GitHub App इंस्टॉल करें।",
"installGithubApp": "GitHub App इंस्टॉल करें",
- "noSearchMatchTitle": "आपकी खोज से मेल खाने वाली कोई रिपॉज़िटरी नहीं",
- "noSearchMatchHint": "अपने खोज शब्दों को समायोजित करें या सभी रिपॉज़िटरीज़ देखने के लिए खोज साफ़ करें।",
- "footerSummary": "{{installationCount}} इंस्टॉलेशन में {{repoCount}} रिपॉज़िटरीज़",
- "manageInstallations": "इंस्टॉलेशन प्रबंधित करें",
- "updatedPrefix": "अपडेट किया गया",
- "relativeJustNow": "अभी",
- "relativeMinutesAgo": "{{count}} मिनट पहले",
- "relativeHoursAgo": "{{count}} घंटे पहले",
- "relativeDaysAgo": "{{count}} दिन पहले"
+ "noSearchMatchTitle": "कोई मेल खाती रिपॉज़िटरी नहीं",
+ "noSearchMatchHint": "कोई दूसरा नाम आज़माएँ या खोज साफ़ करें।",
+ "emptyPageHint": "इस पेज पर कोई नहीं। आगे देखने के लिए और लोड करें।",
+ "loadMore": "और लोड करें",
+ "manageAccess": "ऐप की पहुँच प्रबंधित करें",
+ "missingOne": "कोई नहीं दिख रही?",
+ "searching": "खोजा जा रहा है…",
+ "updated": "अपडेट: {{time}}",
+ "useRepository": "रिपॉज़िटरी उपयोग करें"
},
"tasksImportExport": {
"exportTasks": "कार्य निर्यात करें",
@@ -1589,27 +1457,26 @@
"importError": "कार्य आयात करने में विफल",
"invalidFormat": "अमान्य आयात फ़ाइल प्रारूप",
"noFileDropped": "कोई फ़ाइल नहीं छोड़ी गई",
- "notJsonFile": "कृपया JSON फ़ाइल अपलोड करें"
+ "notJsonFile": "कृपया JSON फ़ाइल अपलोड करें",
+ "export": "निर्यात करें",
+ "exportDescription": "इस प्रोजेक्ट के सभी कार्य एक फ़ाइल के रूप में डाउनलोड करें।",
+ "import": "आयात करें",
+ "importDescription": "पहले निर्यात की गई फ़ाइल से कार्य जोड़ें।"
},
"workflowEditor": {
- "loading": "लोड हो रहा है...",
- "createColumnsFirst": "ऑटोमेशन नियम कॉन्फ़िगर करने के लिए पहले कॉलम बनाएँ।",
- "githubHeading": "GitHub",
- "githubHint": "जब GitHub इवेंट होता है, तो लिंक किए गए कार्य को कॉलम में ले जाएँ।",
- "giteaHeading": "Gitea",
- "giteaHint": "जब Gitea वेबहुक इवेंट होता है, तो लिंक किए गए कार्य को कॉलम में ले जाएँ।",
- "selectColumnPlaceholder": "कॉलम चुनें...",
- "toastUpdated": "वर्कफ़्लो नियम अपडेट किया गया",
"toastError": "नियम अपडेट करने में विफल",
"events": {
- "branch_push": "Branch Push",
- "pr_opened": "PR खुला",
- "pr_merged": "PR मर्ज किया",
- "issue_opened": "Issue खुला",
- "issue_closed": "Issue बंद"
- },
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "branch_push": "ब्रांच पुश हुई",
+ "pr_opened": "पुल रिक्वेस्ट खोली गई",
+ "pr_merged": "पुल रिक्वेस्ट मर्ज हुई",
+ "issue_opened": "इश्यू खोला गया",
+ "issue_closed": "इश्यू बंद हुआ"
+ },
+ "connectMore": "{{providers}} को भी ऑटोमेट करने के लिए उन्हें <link>एकीकरण</link> में कनेक्ट करें।",
+ "dontMove": "न ले जाएँ",
+ "emptyDescription": "ऑटोमेशन के लिए कनेक्ट की गई GitHub, Gitea या GitLab रिपॉज़िटरी चाहिए।",
+ "emptyTitle": "कोई कनेक्ट की गई रिपॉज़िटरी नहीं",
+ "openIntegrations": "एकीकरण खोलें"
},
"externalLinks": {
"resources": "संसाधन",
@@ -1628,26 +1495,7 @@
"removeError": "Failed to remove the resource link."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1661,58 +1509,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Mattermost में एक इनकमिंग वेबहुक बनाएँ और उसे यहाँ चिपकाएँ।",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "चेकबॉक्स",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "ड्रॉपडाउन, कई चुनें"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "डिफ़ॉल्ट हटाएँ",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "{{name}} के लिए कार्रवाइयाँ",
+ "addOption": "विकल्प जोड़ें",
+ "allowSeveral": "कई की अनुमति दें",
+ "allowSeveralDescription": "कोई कार्य एक से अधिक विकल्प चुन सकता है।",
+ "checked": "चेक किया हुआ",
+ "createField": "फ़ील्ड बनाएँ",
+ "defaultDescription": "नए कार्य इसी से शुरू होते हैं।",
+ "deleteConfirm": "फ़ील्ड हटाएँ",
+ "deleteDescription": "यह फ़ील्ड और हर कार्य पर उसका मान हटा दिया जाएगा। इसे पूर्ववत नहीं किया जा सकता।",
+ "deleteTitle": "“{{name}}” हटाएँ?",
+ "dialogDescription": "{{project}} के हर कार्य में यह फ़ील्ड होगी।",
+ "dialogDescriptionFallback": "इस प्रोजेक्ट के हर कार्य में यह फ़ील्ड होगी।",
+ "dragAria": "{{name}} का क्रम बदलें",
+ "dragOptionAria": "{{option}} का क्रम बदलें",
+ "edit": "संपादित करें",
+ "editTitle": "फ़ील्ड संपादित करें",
+ "emptyDescription": "हर कार्य पर आकार, ग्राहक या लॉन्च तारीख जैसी चीज़ें ट्रैक करें।",
+ "emptyTitle": "अभी कोई कस्टम फ़ील्ड नहीं",
+ "issues": {
+ "defaultRequired": "आवश्यक फ़ील्ड के लिए डिफ़ॉल्ट ज़रूरी है।",
+ "moreOptionsRequired": "कई की अनुमति देने के लिए कम से कम दो विकल्प जोड़ें।",
+ "optionsRequired": "कम से कम एक विकल्प जोड़ें।"
+ },
+ "nameLabel": "नाम",
+ "newTitle": "नई फ़ील्ड",
+ "noDefault": "कोई डिफ़ॉल्ट नहीं",
+ "optionsLabel": "विकल्प",
+ "removeOptionAria": "{{option}} निकालें",
+ "renameOptionAria": "{{option}} का नाम बदलें",
+ "requiredDescription": "हर कार्य में हमेशा एक मान होता है।",
+ "save": "सहेजें",
+ "saving": "सहेजा जा रहा है...",
+ "startsAs": "शुरू में “{{value}}”",
+ "startsAt": "शुरू में {{value}}",
+ "startsChecked": "शुरू में चेक किया हुआ",
+ "startsOn": "शुरू में {{date}}",
+ "startsUnchecked": "शुरू में अनचेक",
+ "typeLabel": "प्रकार",
+ "typeLocked": "फ़ील्ड बनने के बाद उसका प्रकार नहीं बदला जा सकता।",
+ "unchecked": "अनचेक",
+ "updateError": "कस्टम फ़ील्ड सहेजने में विफल।",
+ "updateSuccess": "कस्टम फ़ील्ड सहेजी गई।"
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "निष्क्रिय करें",
+ "edit": "संपादित करें",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "फिर से सक्रिय करें"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "भूमिका",
"status": "Status",
"user": "User"
},
@@ -1734,7 +1614,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "सभी उपयोगकर्ता",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1747,7 +1627,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1755,19 +1634,19 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "व्यवस्थापक",
"user": "User"
},
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "नाम या ईमेल से खोजें",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "इस Kaneo इंस्टेंस पर खाता रखने वाले सभी लोग।",
+ "title": "उपयोगकर्ता",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1776,9 +1655,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "आप"
},
"security": "Security",
"securityPage": {
@@ -1793,11 +1670,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "साइन इन",
+ "submit": "पासवर्ड बदलें",
+ "submitting": "बदला जा रहा है...",
+ "subtitle": "आप Kaneo में कैसे साइन इन करते हैं।",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1807,94 +1683,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "पासवर्ड बदलें",
+ "dialogDescription": "कम से कम 8 अक्षर, मौजूदा पासवर्ड से अलग।",
+ "dialogTitle": "पासवर्ड बदलें",
+ "passwordHint": "कम से कम 8 अक्षरों का ऐसा पासवर्ड उपयोग करें जो आप कहीं और उपयोग नहीं करते।",
+ "passwordTitle": "पासवर्ड"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "वे प्रोजेक्ट जिनका आपका टोकन सदस्य है।",
+ "browseNeedsCredentials": "ब्राउज़ करने के लिए GitLab URL और टोकन दर्ज करें।",
+ "commentTaskLinkHint": "ताकि GitLab पर लोग सीधे कार्य तक पहुँच सकें।",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "खुले इश्यू और मर्ज रिक्वेस्ट को कार्यों के रूप में आयात करें।",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "प्रोजेक्ट खोजें",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "यह वेबहुक प्रोजेक्ट सेटिंग में जोड़ें ताकि बदलाव Kaneo में वापस आएँ।",
+ "loadProjectsError": "प्रोजेक्ट लोड नहीं हो सके।",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "यह टोकन किसी भी प्रोजेक्ट का सदस्य नहीं है।",
+ "chooseProjectDescription": "उसका पाथ लिखें या सूची से चुनें।",
+ "noSearchMatchTitle": "कोई मेल खाता प्रोजेक्ट नहीं",
+ "useProject": "प्रोजेक्ट उपयोग करें",
+ "webhookEvents": "पुश, इश्यू, कमेंट और मर्ज रिक्वेस्ट इवेंट चालू करें।"
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "केवल ये लेबल शामिल करें",
+ "selectLabels": "लेबल जोड़ें",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1902,20 +1745,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "फ़ीड",
+ "allScheduledTasks": "सभी निर्धारित कार्य",
+ "subscribeHint": "किसी लिंक को अपने कैलेंडर ऐप में सब्सक्रिप्शन के रूप में जोड़ें। ऐप के फ़ीड रीफ़्रेश करने पर अपडेट दिखते हैं।",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "कॉपी किया",
+ "dialogDescription": "जिन कार्यों में प्रारंभ या नियत तारीख है, वे फ़ीड में दिखते हैं।",
+ "dialogTitle": "नई कैलेंडर फ़ीड",
+ "emptyDescription": "अपने कैलेंडर ऐप में निर्धारित कार्य देखने के लिए फ़ीड बनाएँ।",
+ "emptyTitle": "अभी कोई कैलेंडर फ़ीड नहीं",
+ "feedActions": "फ़ीड कार्रवाइयाँ",
+ "labelsHint": "सभी निर्धारित कार्य शामिल करने के लिए खाली छोड़ें।",
+ "newFeed": "नई फ़ीड",
+ "revokeConfirm": "फ़ीड निरस्त करें",
+ "revokeConfirmDescription": "इस लिंक का उपयोग करने वाले कैलेंडर ऐप को अपडेट मिलना बंद हो जाएगा। इसे पूर्ववत नहीं किया जा सकता।",
+ "revokeConfirmTitle": "यह फ़ीड निरस्त करें?",
+ "revoking": "निरस्त किया जा रहा है…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1927,7 +1779,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1960,7 +1811,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1971,7 +1821,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "इनवॉइस, भुगतान का तरीका और रद्द करना Creem में होता है।",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1995,14 +1845,14 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "{{workspace}} के लिए आपका प्लान।",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "{{count}} दिन बचा",
+ "badgeDaysLeft_other": "{{count}} दिन बचे"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2021,15 +1871,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2046,8 +1893,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2066,16 +1911,29 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "क्या सिंक होता है",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "सभी इश्यू",
+ "allTasks": "सभी कार्य",
+ "edit": "संपादित करें",
+ "hidePaused": "छिपाएँ",
+ "issuesLabelled": "इन लेबल वाले इश्यू:",
+ "joinAnd": "और",
+ "joinOr": "या",
+ "kaneoToProvider": "Kaneo से {{provider}} में",
+ "pausedSummary_one": "{{count}} कार्य का सिंक रुक गया क्योंकि वह अब सिंक नियमों से मेल नहीं खाता।",
+ "pausedSummary_other": "{{count}} कार्यों का सिंक रुक गया क्योंकि वे अब सिंक नियमों से मेल नहीं खाते।",
+ "providerToKaneo": "{{provider}} से Kaneo में",
+ "reviewPaused": "समीक्षा करें",
+ "tasksLabelled": "इन लेबल वाले कार्य:"
+ },
+ "advancedSettingsDescription": "अतिरिक्त नियंत्रण दिखाता है, जैसे एकीकरण के सिंक नियम। केवल इस ब्राउज़र पर।",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2112,23 +1970,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "सभी वर्कस्पेस",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_one": "{{count}} member",
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
@@ -2149,9 +1999,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "नाम या स्लग से खोजें",
+ "subtitle": "इस Kaneo इंस्टेंस के सभी वर्कस्पेस, उनके सहित जिनके आप सदस्य नहीं हैं।",
+ "title": "वर्कस्पेस",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2161,9 +2011,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2428,6 +2276,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "सेटअप खोए बिना रोकने के लिए बंद करें।",
+ "activeTitle": "{{provider}} पर पोस्ट करना",
+ "channelHint": "केवल इस सूची में दिखने वाला नाम।",
+ "channelLabel": "चैनल",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "डिस्कनेक्ट करें",
+ "disconnectDescription": "Kaneo {{provider}} पर पोस्ट करना बंद कर देगा और सहेजी गई सेटिंग हटा देगा।",
+ "disconnecting": "डिस्कनेक्ट हो रहा है…",
+ "disconnectTitle": "{{provider}} डिस्कनेक्ट करें?",
+ "events": {
+ "taskCommentCreated": "कोई टिप्पणी करे",
+ "taskCreated": "कोई कार्य बनाया जाए",
+ "taskDescriptionChanged": "विवरण बदले",
+ "taskPriorityChanged": "प्राथमिकता बदले",
+ "taskStatusChanged": "स्थिति बदले",
+ "taskTitleChanged": "शीर्षक बदले"
+ },
+ "optional": "वैकल्पिक",
+ "postWhen": "कब पोस्ट करें",
+ "retry": "पुनः प्रयास करें",
+ "saveChanges": "परिवर्तन सहेजें",
+ "savedUrlPlaceholder": "सहेजा गया। बदलने के लिए नया URL चिपकाएँ।",
+ "webhookUrlLabel": "वेबहुक URL"
+ },
+ "codeHosting": {
+ "browse": "ब्राउज़ करें",
+ "changeToken": "टोकन बदलें",
+ "checking": "पहुँच जाँची जा रही है…",
+ "chooseProjectTitle": "प्रोजेक्ट चुनें",
+ "chooseRepositoryTitle": "रिपॉज़िटरी चुनें",
+ "connectProject": "प्रोजेक्ट कनेक्ट करें",
+ "connectRepository": "रिपॉज़िटरी कनेक्ट करें",
+ "copied": "कॉपी किया",
+ "copyFailed": "क्लिपबोर्ड पर कॉपी नहीं हो सका।",
+ "copySecret": "सीक्रेट कॉपी करें",
+ "copyUrl": "वेबहुक URL कॉपी करें",
+ "disconnect": "डिस्कनेक्ट करें",
+ "disconnectDescription": "कार्य {{target}} के साथ सिंक होना बंद कर देंगे। आप इसे बाद में फिर से कनेक्ट कर सकते हैं।",
+ "disconnecting": "डिस्कनेक्ट हो रहा है…",
+ "disconnectTitle": "{{provider}} डिस्कनेक्ट करें?",
+ "hideSecret": "सीक्रेट छिपाएँ",
+ "importing": "आयात हो रहा है…",
+ "importIssues": "इश्यू आयात करें",
+ "importNeedsReconnect": "आयात सक्षम करने के लिए फिर से कनेक्ट करें।",
+ "importTitle": "खुले इश्यू आयात करें",
+ "issuesSection": "इश्यू",
+ "lastImport": "पिछला आयात: {{imported}} बनाए गए, {{updated}} अपडेट किए गए, {{skipped}} छोड़े गए।",
+ "loadError": "यह एकीकरण लोड नहीं हो सका।",
+ "pausedHint": "सिंक रुका हुआ है। फिर से शुरू करने के लिए दोबारा कनेक्ट करें।",
+ "projectSection": "प्रोजेक्ट",
+ "reconnect": "फिर से कनेक्ट करें",
+ "repositoryPathInvalid": "रिपॉज़िटरी को owner/name के रूप में दर्ज करें।",
+ "repositoryPathLabel": "रिपॉज़िटरी",
+ "repositorySection": "रिपॉज़िटरी",
+ "retry": "पुनः प्रयास करें",
+ "saveToken": "टोकन सहेजें",
+ "showSecret": "सीक्रेट दिखाएँ",
+ "signInDescription": "ऐसा टोकन उपयोग करें जो प्रोजेक्ट और उसके इश्यू पढ़ सके।",
+ "signInTitle": "अपने इंस्टेंस में साइन इन करें",
+ "tokenStored": "सहेजा गया टोकन",
+ "tokenTitle": "एक्सेस टोकन",
+ "webhookSecret": "सीक्रेट",
+ "webhookSection": "वेबहुक",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "कार्य पर इनके दिखने का क्रम बदलने के लिए खींचें।",
+ "fieldsTitle": "फ़ील्ड",
+ "newField": "नई फ़ील्ड",
+ "pageTitle": "कस्टम फ़ील्ड",
+ "subtitle": "अतिरिक्त विवरण जिन्हें {{project}} का हर कार्य ट्रैक कर सकता है, जैसे आकार या ग्राहक।",
+ "subtitleFallback": "अतिरिक्त विवरण जिन्हें इस प्रोजेक्ट का हर कार्य ट्रैक कर सकता है, जैसे आकार या ग्राहक।",
+ "title": "कस्टम फ़ील्ड"
+ },
+ "shared": {
+ "autosave": "बदलाव अपने आप सहेजे जाते हैं"
}
},
"navigation": {
diff --git a/i18n/id-ID.json b/i18n/id-ID.json
index d9284e66c..da5b3e69c 100644
--- a/i18n/id-ID.json
+++ b/i18n/id-ID.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Tidak pernah"
- },
"modals": {
"createProject": {
"title": "Buat proyek baru",
@@ -561,37 +558,32 @@
"advancedSettings": "Pengaturan lanjutan",
"account": "Akun",
"developer": "Pengembang",
- "information": "Informasi",
+ "information": "Profil",
"notifications": "Notifikasi",
"preferences": "Preferensi",
- "apiKeys": "API Key",
+ "apiKeys": "API key",
"informationPage": {
- "pageTitle": "Informasi Pribadi",
- "title": "Informasi Pribadi",
- "subtitle": "Kelola detail pribadi dan informasi akun Anda.",
- "sectionTitle": "Informasi Akun",
- "sectionSubtitle": "Kelola profil dan detail akun Anda.",
+ "pageTitle": "Profil",
+ "title": "Profil",
+ "subtitle": "Bagaimana Anda terlihat oleh rekan tim.",
+ "sectionTitle": "Detail",
"profilePicture": "Foto profil",
- "fullName": "Nama lengkap",
+ "fullName": "Nama",
"fullNamePlaceholder": "Masukkan nama Anda",
"email": "Email",
- "emailPlaceholder": "Masukkan email Anda",
- "updateSuccess": "Profil berhasil diperbarui",
"updateError": "Gagal memperbarui profil",
"validation": {
"nameRequired": "Nama wajib diisi",
- "nameShort": "Nama harus minimal 2 karakter",
- "invalidEmail": "Alamat email tidak valid"
+ "nameShort": "Nama harus minimal 2 karakter"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Gambar persegi terlihat paling bagus.",
+ "remove": "Hapus",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Unggah"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -600,39 +592,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Anda masuk dengan alamat ini."
},
"notificationsPage": {
"pageTitle": "Notifikasi",
"title": "Notifikasi",
- "subtitle": "Pilih cara Kaneo mengirim notifikasi akun Anda dan kanal yang digunakan.",
+ "subtitle": "Apa yang diberitahukan Kaneo kepada Anda, dan ke mana notifikasi dikirim.",
"statusConnected": "Terhubung",
"statusPaused": "Dijeda",
"emailTitle": "Email",
- "emailDescription": "Gunakan email akun Anda sebagai tujuan notifikasi.",
- "accountEmailLabel": "Email akun",
"accountEmailNoAddress": "Email akun tidak tersedia",
- "accountEmailHint": "Pengiriman email selalu menuju email akun yang sedang masuk.",
"saveChanges": "Simpan perubahan",
"disconnect": "Putuskan",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Publikasikan notifikasi akun ke topik ntfy.",
+ "ntfyDescription": "Publikasikan ke topik ntfy di ponsel atau desktop Anda.",
"serverUrl": "URL server",
"topic": "Topik",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Token bearer opsional",
+ "ntfyTokenPlaceholder": "Hanya jika server Anda memerlukannya",
"ntfyTokenHintConfigured": "Token sudah dikonfigurasi ({{masked}}). Masukkan token baru untuk menggantinya.",
- "ntfyTokenHintOptional": "Opsional. Berikan token jika server ntfy Anda memerlukan autentikasi.",
+ "ntfyTokenHintOptional": "Gunakan jika server ntfy Anda memerlukan autentikasi.",
"connectNtfy": "Hubungkan ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Kirim notifikasi akun ke server Gotify Anda.",
+ "gotifyDescription": "Kirim notifikasi ke server Gotify Anda.",
"gotifyTokenLabel": "Token aplikasi",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Token aplikasi Gotify",
@@ -640,38 +629,16 @@
"gotifyTokenHintRequired": "Wajib. Gunakan token aplikasi dari server Gotify Anda.",
"connectGotify": "Hubungkan Gotify",
"webhookTitle": "Webhook kustom",
- "webhookDescription": "Kirim notifikasi akun ke endpoint Anda sendiri sebagai JSON.",
+ "webhookDescription": "Kirim setiap notifikasi ke endpoint Anda sendiri sebagai JSON.",
"endpointUrl": "URL endpoint",
"signingSecret": "Rahasia penandatanganan",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Kunci rahasia bersama (opsional)",
"webhookSecretHintConfigured": "Signing secret sudah dikonfigurasi ({{masked}}). Masukkan yang baru untuk menggantinya.",
- "webhookSecretHintOptional": "Opsional. Kaneo mendeteksi dan menandatangani isi request jika secret dikonfigurasi.",
+ "webhookSecretHintOptional": "Kaneo menandatangani body request jika rahasia diatur.",
"connectWebhook": "Hubungkan webhook",
- "workspaceRulesTitle": "Aturan pengiriman ruang kerja",
- "workspaceRulesDescription": "Gunakan ulang kanal global Anda, lalu tentukan ruang kerja dan proyek mana yang boleh mengirim notifikasi akun.",
- "workspaceCardHint": "Pilih kanal yang dapat digunakan ruang kerja ini untuk notifikasi akun.",
- "workspaceCardLabelEmail": "Email",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Webhook kustom",
- "emailChannelHintEnabled": "Kirim notifikasi ruang kerja yang sesuai melalui email.",
- "emailChannelHintDisabled": "Konfigurasikan dan aktifkan email secara global terlebih dahulu.",
- "ntfyChannelHintEnabled": "Kirim notifikasi ruang kerja yang sesuai ke ntfy.",
- "ntfyChannelHintDisabled": "Konfigurasikan dan aktifkan ntfy secara global terlebih dahulu.",
- "gotifyChannelHintEnabled": "Kirim notifikasi ruang kerja yang sesuai ke Gotify.",
- "gotifyChannelHintDisabled": "Konfigurasikan dan aktifkan Gotify secara global terlebih dahulu.",
- "webhookChannelHintEnabled": "Kirim notifikasi ruang kerja yang sesuai ke webhook Anda.",
- "webhookChannelHintDisabled": "Konfigurasikan dan aktifkan webhook secara global terlebih dahulu.",
- "projectScope": "Cakupan proyek",
- "projectScopeDescription": "Semua proyek disertakan secara default. Persempit jika ruang kerja ini hanya boleh mengirim notifikasi dari proyek tertentu.",
"allProjects": "Semua proyek",
- "allProjectsDescription": "Kirim notifikasi dari setiap proyek di ruang kerja ini.",
- "selectedProjects": "Proyek terpilih",
- "selectedProjectsDescription": "Hanya kirim notifikasi dari proyek yang dipilih.",
"noProjectsInWorkspace": "Belum ada proyek yang tersedia untuk ruang kerja ini.",
- "createRule": "Buat aturan",
- "removeRule": "Hapus aturan",
"toastEmailSaved": "Pengaturan notifikasi email disimpan",
"toastEmailSaveFailed": "Gagal menyimpan pengaturan email",
"toastNtfySaved": "Pengaturan ntfy disimpan",
@@ -694,151 +661,171 @@
"toastPreferencesSaveFailed": "Gagal menyimpan preferensi notifikasi",
"toastRuleSavedGeneric": "Aturan notifikasi ruang kerja disimpan",
"toastRuleRemovedGeneric": "Aturan notifikasi ruang kerja dihapus",
- "workspaceEnabledLabel": "Aktifkan notifikasi untuk {{workspaceName}}",
"eventPreferencesTitle": "Beri tahu saya tentang",
- "eventPreferencesDescription": "Pilih event tugas mana yang membuat notifikasi dalam aplikasi dan dapat dikirim ke kanal yang terhubung.",
- "eventTaskAssignments": "Penugasan tugas",
+ "eventPreferencesDescription": "Komentar, sebutan, dan perubahan status yang Anda buat sendiri tidak akan memicu notifikasi untuk Anda.",
+ "eventTaskAssignments": "Penugasan",
"eventComments": "Komentar dan sebutan",
- "eventCommentsHint": "Termasuk komentar baru pada tugas yang ditugaskan kepada Anda dan @mention langsung.",
- "eventStatusChanges": "Perubahan status tugas",
+ "eventCommentsHint": "Komentar baru di tugas Anda, dan siapa pun yang menyebut Anda dengan @mention.",
+ "eventStatusChanges": "Perubahan status",
"eventDueDateReminders": "Pengingat tenggat",
"reminderLeadTimeLabel": "Ingatkan saya sebelum tenggat",
- "reminderLeadTimeHint": "Antara 1 jam hingga 30 hari sebelumnya. Notifikasi keterlambatan dikirim secara terpisah.",
- "reminderLeadTimeUnitHours": "Jam",
- "reminderLeadTimeUnitDays": "Hari",
"reminderLeadTimeInvalid": "Masukkan bilangan bulat antara 1 dan {{max}}.",
"saveEventPreferences": "Simpan jenis notifikasi",
- "recipientHint": "Komentar dan perubahan status memberi tahu Anda tentang tugas yang ditugaskan kepada Anda. Sebutan memberi tahu anggota yang dipilih. Komentar, sebutan, dan perubahan status Anda sendiri tidak mengirimkan notifikasi kepada Anda."
+ "channelNotConnected": "Tidak terhubung",
+ "channelOff": "Nonaktif",
+ "channelsDescription": "Notifikasi selalu muncul di Kaneo. Hubungkan kanal untuk menerimanya juga di tempat lain.",
+ "channelsTitle": "Kanal",
+ "configure": "Atur",
+ "configureChannel": "Atur {{channel}}",
+ "configureWorkspace": "Atur notifikasi untuk {{workspaceName}}",
+ "connect": "Hubungkan",
+ "connectChannel": "Hubungkan {{channel}}",
+ "disconnectDescription": "Notifikasi berhenti dikirim ke {{channel}}, dan pengaturannya yang tersimpan dihapus.",
+ "disconnecting": "Memutuskan...",
+ "disconnectTitle": "Putuskan {{channel}}?",
+ "done": "Selesai",
+ "emailToggleLabel": "Kirim notifikasi melalui email",
+ "eventDueDateRemindersHint": "Sebelum tenggat salah satu tugas Anda. Tugas yang terlambat diberitahukan secara terpisah.",
+ "eventStatusChangesHint": "Saat salah satu tugas Anda dipindahkan ke kolom lain.",
+ "eventTaskAssignmentsHint": "Saat seseorang menugaskan tugas kepada Anda.",
+ "loadFailed": "Pengaturan notifikasi tidak dapat dimuat.",
+ "onlyInKaneo": "Hanya di Kaneo",
+ "optional": "Opsional",
+ "projectCount_other": "{{count}} proyek",
+ "reminderLeadTimeUnitDaysBefore_other": "hari sebelumnya",
+ "reminderLeadTimeUnitHoursBefore_other": "jam sebelumnya",
+ "reminderLeadTimeUnitLabel": "Satuan pengingat",
+ "ruleActiveDescription": "Matikan untuk menjeda ruang kerja ini dan mempertahankan pengaturannya.",
+ "ruleActiveLabel": "Mengirim",
+ "ruleChannels": "Kanal",
+ "ruleDialogDescription": "Ke mana notifikasi dari ruang kerja ini dapat dikirim.",
+ "ruleDialogTitle": "Notifikasi {{workspaceName}}",
+ "ruleProjects": "Proyek",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Simpan",
+ "sendingDescription": "Matikan untuk menjeda kanal ini dan mempertahankan pengaturannya.",
+ "sendingLabel": "Mengirim",
+ "setUp": "Siapkan",
+ "setUpWorkspace": "Siapkan notifikasi untuk {{workspaceName}}",
+ "someProjects": "Hanya beberapa",
+ "statusOn": "Aktif",
+ "statusSending": "Mengirim",
+ "stopping": "Menghentikan...",
+ "stopSending": "Berhenti mengirim",
+ "stopSendingDescription": "Notifikasi dari ruang kerja ini hanya akan muncul di Kaneo.",
+ "stopSendingTitle": "Berhenti mengirim dari {{workspaceName}}?",
+ "workspacesDescription": "Pilih ruang kerja dan proyek mana yang dapat menggunakan kanal Anda.",
+ "workspacesTitle": "Ruang kerja"
},
"preferencesPage": {
"title": "Preferensi",
- "subtitle": "Sesuaikan pengalaman Kaneo Anda.",
- "appearanceTitle": "Tampilan",
- "appearanceSubtitle": "Pengaturan visual dan preferensi tata letak.",
+ "subtitle": "Tampilan dan cara kerja Kaneo untuk Anda.",
+ "appearanceTitle": "Umum",
"theme": "Tema",
- "themeDescription": "Pilih skema warna yang Anda inginkan",
"selectTheme": "Pilih tema",
"themeLight": "Terang",
"themeDark": "Gelap",
- "themeSystem": "Sistem",
+ "themeSystem": "Ikuti sistem",
"language": "Bahasa",
- "languageDescription": "Pilih bahasa antarmuka yang Anda inginkan",
"selectLanguage": "Pilih bahasa",
- "firstDayOfWeek": "Hari Pertama Minggu",
- "firstDayOfWeekDescription": "Pilih hari dimulainya kalender dan rentang mingguan",
+ "firstDayOfWeek": "Hari pertama dalam seminggu",
+ "firstDayOfWeekDescription": "Digunakan oleh kalender dan pemilih tanggal.",
"selectFirstDayOfWeek": "Pilih hari pertama",
"weekStartsOnSunday": "Minggu",
"weekStartsOnMonday": "Senin",
"weekStartsOnSaturday": "Sabtu",
- "defaultView": "Tampilan Default",
- "defaultViewDescription": "Pilih mode tampilan tugas yang Anda inginkan",
+ "defaultView": "Tampilan default",
+ "defaultViewDescription": "Tampilan saat proyek dibuka.",
"selectViewMode": "Pilih mode tampilan",
"board": "Papan",
"list": "Daftar",
"gantt": "Gantt",
- "sidebarDefault": "Default panel samping",
- "sidebarDefaultDescription": "Biarkan sanel samping terbuka saat mulai",
- "displayOptions": "Opsi tampilan",
- "displayOptionsDescription": "Pilih informasi yang ditampilkan di tampilan tugas",
- "taskNumbers": "Nomor Tugas",
- "taskNumbersDescription": "Tampilkan ID dan nomor tugas",
+ "sidebarDefault": "Biarkan bilah sisi terbuka",
+ "sidebarDefaultDescription": "Mulai dengan bilah sisi terbuka.",
+ "displayOptions": "Detail tugas",
+ "displayOptionsDescription": "Yang ditampilkan di kartu dan baris pada papan dan daftar Anda.",
+ "taskNumbers": "Nomor tugas",
"assignees": "Penanggung Jawab",
- "assigneesDescription": "Tampilkan siapa yang ditugaskan ke tugas",
"dueDates": "Tenggat",
- "dueDatesDescription": "Tampilkan tenggat tugas",
"labels": "Label",
- "labelsDescription": "Tampilkan label dan tag tugas",
"priority": "Prioritas",
- "priorityDescription": "Tampilkan indikator prioritas",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Tampilkan gambar yang diatur proyek di belakang papannya.",
+ "advancedTitle": "Lanjutan"
},
"developerPage": {
- "pageTitle": "Pengaturan Pengembang",
- "title": "Pengaturan Pengembang",
- "subtitle": "Kelola API key dan sumber daya pengembang Anda.",
- "apiKeysCardTitle": "API Key",
- "apiKeysCardDescription": "Buat dan kelola API key untuk akses terprogram ke Kaneo.",
- "createApiKey": "Buat API Key",
- "unnamedKey": "Key Tanpa Nama"
+ "pageTitle": "API key",
+ "title": "API key",
+ "subtitle": "Izinkan skrip, CLI, dan klien MCP menggunakan Kaneo atas nama Anda.",
+ "unnamedKey": "Tanpa nama",
+ "emptyDescription": "Buat key untuk menggunakan CLI, klien MCP, atau skrip Anda sendiri.",
+ "emptyTitle": "Belum ada API key",
+ "keysNote": "Key dapat melakukan apa pun yang dapat Anda lakukan. Hapus key yang tidak lagi Anda gunakan.",
+ "keysTitle": "Key",
+ "loadError": "Tidak dapat memuat API key. Silakan coba lagi.",
+ "newKey": "Key baru"
},
"apiKey": {
"createdModal": {
- "title": "API Key Dibuat",
- "description": "API key \"{{keyName}}\" berhasil dibuat.",
- "yourApiKey": "API Key Anda",
+ "title": "Salin key Anda",
+ "description": "Anda tidak akan bisa melihatnya lagi setelah menutup jendela ini.",
"copy": "Salin",
"copied": "Disalin",
- "toastCopied": "API key disalin ke papan klip",
- "alertTitle": "Berhasil! API key Anda telah dibuat",
- "alertDescription": "Salin key ini sekarang. Anda tidak akan dapat melihatnya lagi.",
"done": "Selesai",
- "copyToContinue": "Salin key untuk melanjutkan"
+ "copyError": "Tidak dapat menyalin key. Pilih dan salin secara manual."
},
"table": {
- "loading": "Memuat API key...",
- "empty": "Belum ada API key. Buat satu untuk memulai.",
- "columnName": "Nama",
- "columnKey": "Key",
- "columnCreated": "Dibuat",
- "columnExpires": "Kedaluwarsa",
- "columnActions": "Aksi",
- "unnamedKey": "Key Tanpa Nama",
- "expiredBadge": "Kedaluwarsa {{label}}",
- "deleteConfirmTitle": "Hapus API key?",
- "deleteConfirmDescription": "Tindakan ini tidak dapat dibatalkan. Ini akan menghapus {{name}} secara permanen.",
- "deleteFallbackName": "API key ini",
- "delete": "Hapus",
- "deleting": "Menghapus...",
- "deleteAria": "Hapus {{name}}",
- "deleteAriaFallback": "API key",
- "toastDeleted": "API key berhasil dihapus",
- "toastDeleteError": "Gagal menghapus API key"
+ "deleteConfirmTitle": "Hapus “{{name}}”?",
+ "deleteConfirmDescription": "Apa pun yang menggunakan key ini akan berhenti berfungsi. Tindakan ini tidak dapat dibatalkan.",
+ "delete": "Hapus key",
+ "deleting": "Menghapus…",
+ "toastDeleted": "API key dihapus",
+ "toastDeleteError": "Tidak dapat menghapus API key"
},
"createDialog": {
- "title": "Buat API Key",
- "description": "Buat API key baru untuk mengakses API Kaneo secara terprogram.",
+ "title": "API key baru",
+ "description": "Key ini dapat melakukan apa pun yang dapat Anda lakukan.",
"nameLabel": "Nama",
- "namePlaceholder": "API Key Saya",
- "nameDescription": "Nama deskriptif untuk API key ini",
- "expirationLabel": "Masa berlaku",
- "expirationPlaceholder": "Pilih masa berlaku",
- "expirationDescription": "Pilih berapa lama API key ini tetap valid. Tidak pernah akan membuat key tanpa kedaluwarsa otomatis.",
+ "namePlaceholder": "API key saya",
+ "nameDescription": "Agar Anda ingat di mana key ini digunakan.",
+ "expirationLabel": "Kedaluwarsa",
"expiration1d": "1 hari",
"expiration7d": "7 hari",
"expiration30d": "30 hari",
"expiration90d": "90 hari",
"expirationNever": "Tidak pernah",
- "create": "Buat",
- "creating": "Membuat...",
- "failedCreate": "Gagal membuat API key",
+ "create": "Buat key",
+ "creating": "Membuat…",
+ "failedCreate": "Tidak dapat membuat API key",
"validation": {
- "nameRequired": "Nama wajib diisi",
- "nameShort": "Nama harus minimal 3 karakter",
- "expirationRequired": "Masa berlaku wajib diisi"
+ "nameRequired": "Masukkan nama",
+ "nameShort": "Gunakan minimal 3 karakter"
}
+ },
+ "row": {
+ "actions": "Tindakan untuk {{name}}",
+ "created": "Dibuat {{date}}",
+ "expired": "Kedaluwarsa sejak {{date}}",
+ "expiredBadge": "Kedaluwarsa",
+ "expires": "Kedaluwarsa {{date}}",
+ "neverExpires": "Tidak pernah kedaluwarsa"
}
},
"workspaceGeneral": {
"pageTitle": "Pengaturan Umum",
- "title": "Pengaturan Umum",
- "subtitle": "Kelola nama dan deskripsi ruang kerja Anda.",
- "workspaceInfoTitle": "Informasi Ruang Kerja",
- "workspaceInfoSubtitle": "Konfigurasikan detail dan preferensi ruang kerja Anda.",
- "nameLabel": "Nama ruang kerja",
- "nameHint": "Nama ruang kerja Anda",
+ "title": "Umum",
+ "subtitle": "Nama {{name}} dan pemiliknya.",
+ "workspaceInfoTitle": "Ruang kerja",
+ "nameLabel": "Nama",
"namePlaceholder": "Masukkan nama ruang kerja",
"descriptionLabel": "Deskripsi",
- "descriptionHint": "Deskripsi singkat ruang kerja Anda",
- "descriptionPlaceholder": "Masukkan deskripsi ruang kerja",
+ "descriptionPlaceholder": "Apa yang dikerjakan tim Anda?",
"dangerZone": "Zona berbahaya",
- "dangerZoneSubtitle": "Tindakan destruktif dan tidak dapat dibatalkan.",
"deleteWorkspace": "Hapus ruang kerja",
- "deleteWorkspaceDescription": "Jadwalkan ruang kerja untuk dihapus permanen",
- "deleteModalTitle": "Hapus Ruang Kerja?",
- "deleteModalDescription": "Ini akan menghapus ruang kerja \"{{name}}\" dan semua datanya secara permanen. Tindakan ini tidak dapat dibatalkan.",
- "deleteModalConfirm": "Hapus Ruang Kerja",
- "toastUpdated": "Ruang kerja berhasil diperbarui",
+ "deleteWorkspaceDescription": "Menghapus {{name}} beserta proyek dan tugasnya secara permanen.",
+ "deleteModalTitle": "Hapus ruang kerja?",
+ "deleteModalDescription": "Ini akan menghapus {{name}} beserta semua proyek dan tugasnya secara permanen. Tindakan ini tidak dapat dibatalkan.",
+ "deleteModalConfirm": "Hapus ruang kerja",
"toastUpdateError": "Gagal memperbarui ruang kerja",
"toastDeleted": "Ruang kerja berhasil dihapus",
"toastDeleteError": "Gagal menghapus ruang kerja",
@@ -850,45 +837,41 @@
"toastSuccess": "Kepemilikan ditransfer",
"toastError": "Gagal mentransfer kepemilikan",
"title": "Transfer kepemilikan",
- "subtitle": "Serahkan ruang kerja ini kepada anggota lain. Anda akan diturunkan menjadi admin dan kehilangan kemampuan khusus pemilik.",
"pickerLabel": "Pemilik baru",
"noEligibleMembers": "Undang minimal satu anggota lain sebelum Anda dapat mentransfer kepemilikan.",
- "pickerHint": "Mereka akan menjadi satu-satunya pemilik ruang kerja ini.",
+ "pickerHint": "Pemilik baru akan mengambil alih. Anda tetap menjadi admin.",
"pickerPlaceholder": "Pilih anggota",
"button": "Transfer",
"dialogTitle": "Transfer kepemilikan?",
"dialogDescription": "{{name}} akan menjadi satu-satunya pemilik {{workspace}}. Anda tetap memiliki akses admin tetapi kehilangan kemampuan khusus pemilik seperti menghapus ruang kerja atau mentransfernya lagi.",
"transferring": "Mentransfer…",
"confirm": "Transfer kepemilikan"
- }
+ },
+ "ownershipSubtitle": "Hanya pemilik yang dapat melihat ini.",
+ "ownershipTitle": "Kepemilikan"
},
"projectGeneral": {
"pageTitle": "Pengaturan Proyek",
- "title": "Pengaturan Umum",
- "subtitle": "Kelola nama, key, ikon, dan deskripsi proyek Anda.",
- "projectInfoTitle": "Informasi Proyek",
- "projectInfoSubtitle": "Konfigurasikan detail dan preferensi proyek Anda.",
+ "title": "Umum",
+ "subtitle": "Nama, key, dan tampilan {{name}}.",
+ "projectInfoTitle": "Proyek",
"iconLabel": "Ikon",
- "iconHint": "Ditampilkan di panel samping dan halaman proyek.",
+ "iconHint": "Ditampilkan di bilah sisi dan daftar proyek.",
"pickIconTitle": "Pilih ikon",
"searchIconsPlaceholder": "Cari ikon...",
- "projectNameLabel": "Nama proyek",
- "projectNameHint": "Nama proyek Anda",
- "projectNamePlaceholder": "Masukkan nama proyek",
+ "projectNameLabel": "Nama",
+ "projectNamePlaceholder": "Nama proyek",
"keyLabel": "Key",
- "keyHint": "Digunakan untuk ID tiket (misalnya, {{slug}}-123)",
+ "keyHint": "Awalan setiap ID tugas, seperti {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Deskripsi",
- "descriptionHint": "Deskripsi singkat proyek Anda",
- "descriptionPlaceholder": "Masukkan deskripsi proyek",
+ "descriptionPlaceholder": "Untuk apa proyek ini?",
"dangerZone": "Zona berbahaya",
- "dangerZoneSubtitle": "Tindakan destruktif dan tidak dapat dibatalkan.",
"deleteProject": "Hapus proyek",
- "deleteProjectDescription": "Jadwalkan proyek untuk dihapus permanen",
- "deleteModalTitle": "Hapus Proyek?",
- "deleteModalDescription": "Ini akan menghapus proyek \"{{name}}\" dan semua datanya secara permanen. Tindakan ini tidak dapat dibatalkan.",
- "deleteModalConfirm": "Hapus Proyek",
- "toastUpdated": "Proyek berhasil diperbarui",
+ "deleteProjectDescription": "Menghapus {{name}} dan semua tugasnya secara permanen.",
+ "deleteModalTitle": "Hapus proyek?",
+ "deleteModalDescription": "Ini akan menghapus {{name}} dan semua tugasnya secara permanen. Tindakan ini tidak dapat dibatalkan.",
+ "deleteModalConfirm": "Hapus proyek",
"toastUpdateError": "Gagal memperbarui proyek",
"toastDeleted": "Proyek berhasil dihapus",
"toastDeleteError": "Gagal menghapus proyek",
@@ -898,40 +881,42 @@
"keyMax": "Key maksimal 8 karakter",
"iconRequired": "Ikon wajib diisi"
},
- "importExportTasks": "Impor/Ekspor",
- "importExportTasksDescription": "Impor dan ekspor tugas.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Gambar di belakang papan. Setiap orang dapat mematikannya.",
+ "backgroundUnavailable": "Unggahan gambar belum disiapkan di instans ini.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Ganti",
+ "backgroundUpload": "Unggah",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Pindahkan proyek",
- "moveModalDescription": "Tindakan ini akan memindahkan proyek \"{{name}}\" beserta semua tugasnya ke \"{{workspace}}\". Tugas yang ditugaskan kepada orang yang bukan anggota ruang kerja tersebut akan dilepas penugasannya, dan langganan notifikasi untuk proyek ini akan dihapus.",
- "moveModalTitle": "Pindahkan proyek?",
- "moveProject": "Pindahkan ke ruang kerja",
+ "moveProject": "Pindahkan ke ruang kerja lain",
"moveProjectAction": "Pindahkan",
- "moveProjectDescription": "Pindahkan proyek ini, beserta semua tugasnya, ke ruang kerja lain.",
+ "moveProjectDescription": "Tugas, kolom, dan label ikut dipindahkan.",
"moveProjectPlaceholder": "Pilih ruang kerja",
"toastMoved": "Proyek berhasil dipindahkan",
"toastMovedWithUnassigned": "Proyek berhasil dipindahkan. {{taskCount}} tugas dilepas penugasannya.",
"toastMoveError": "Gagal memindahkan proyek",
- "moveTargetsError": "Tidak dapat memeriksa ruang kerja mana saja yang dapat menjadi tujuan pemindahan proyek ini. Muat ulang halaman untuk mencoba lagi."
+ "moveTargetsError": "Tidak dapat memeriksa ruang kerja mana saja yang dapat menjadi tujuan pemindahan proyek ini. Muat ulang halaman untuk mencoba lagi.",
+ "moveDialogDescription": "Tugas yang ditugaskan ke orang di luar ruang kerja baru akan dilepas penugasannya, dan langganan notifikasi untuk proyek ini dihapus.",
+ "moveDialogTitle": "Pindahkan ke ruang kerja lain?",
+ "moveTargetLabel": "Ruang kerja",
+ "moving": "Memindahkan...",
+ "tasksTitle": "Tugas"
},
"projectIntegrations": {
- "pageTitle": "Integrasi Proyek",
- "title": "Integrasi Proyek",
- "subtitle": "Hubungkan proyek Anda dengan alat dan layanan eksternal untuk memperlancar alur kerja.",
+ "pageTitle": "Integrasi",
+ "title": "Integrasi",
+ "subtitle": "Hubungkan proyek ini ke layanan hosting kode dan chat tim Anda.",
"githubSectionTitle": "Integrasi GitHub",
"githubSectionSubtitle": "Sinkronkan tugas dengan issue GitHub dan aktifkan sinkronisasi dua arah.",
"giteaSectionTitle": "Integrasi Gitea",
"giteaSectionSubtitle": "Sinkronkan tugas dengan instance Gitea self-hosted (issue, PR, webhook).",
"discordSectionTitle": "Integrasi Discord",
"discordSectionSubtitle": "Kirim pembaruan tugas proyek ke kanal Discord dengan webhook.",
- "genericWebhookSectionTitle": "Webhook Generik",
+ "genericWebhookSectionTitle": "Webhook",
"genericWebhookSectionSubtitle": "Kirim event tugas proyek ke endpoint HTTP apa pun sebagai JSON.",
"slackSectionTitle": "Integrasi Slack",
"slackSectionSubtitle": "Kirim pembaruan tugas proyek ke kanal Slack dengan incoming webhook.",
@@ -939,10 +924,10 @@
"telegramSectionSubtitle": "Kirim pembaruan tugas proyek ke chat atau topik Telegram dengan bot.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Sinkronkan tugas dengan GitLab.com atau instans self-managed.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Hosting kode",
- "chatTitle": "Chat & webhook",
+ "chatTitle": "Chat dan webhook",
"statusConnected": "Terhubung",
"statusPaused": "Dijeda",
"connect": "Hubungkan",
@@ -952,69 +937,59 @@
"projectVisibility": {
"pageTitle": "Visibilitas Proyek",
"title": "Visibilitas",
- "subtitle": "Kontrol siapa yang dapat melihat dan mengakses proyek Anda.",
- "sectionTitle": "Visibilitas",
- "sectionSubtitle": "Aktifkan akses publik dan bagikan URL publik.",
- "publicAccess": "Akses publik",
- "publicAccessHint": "Izinkan siapa pun dengan URL untuk melihat proyek ini",
+ "subtitle": "Pilih siapa yang dapat melihat {{project}} di luar {{workspace}}.",
+ "sectionTitle": "Akses",
+ "publicAccess": "Tautan publik",
+ "publicAccessHint": "Siapa pun yang memiliki tautan dapat melihat papan dan tugasnya. Mereka tidak dapat mengubah apa pun.",
"publicUrl": "URL publik",
- "publicUrlHint": "Bagikan tautan ini jika proyek bersifat publik",
- "copy": "Salin",
- "copiedToast": "Disalin",
+ "copy": "Salin tautan",
"toastUpdated": "Visibilitas diperbarui",
- "toastUpdateError": "Gagal memperbarui visibilitas"
+ "toastUpdateError": "Gagal memperbarui visibilitas",
+ "always": "Selalu",
+ "copied": "Disalin",
+ "copyError": "Tidak dapat menyalin tautan",
+ "membersDescription": "Semua orang di ruang kerja, sesuai izin peran mereka.",
+ "membersTitle": "Anggota {{workspace}}",
+ "offNote": "Mematikan tautan publik akan langsung menonaktifkannya.",
+ "on": "Aktif",
+ "openPublicPage": "Buka halaman publik",
+ "thisWorkspace": "ruang kerja ini"
},
"projectWorkflow": {
- "pageTitle": "Pengaturan Alur Kerja",
+ "pageTitle": "Pengaturan alur kerja",
"title": "Alur Kerja",
- "subtitle": "Konfigurasikan kolom papan dan aturan otomatisasi untuk proyek ini.",
+ "subtitle": "Kolom di papan Anda, dan apa yang memindahkan tugas di antara kolom tersebut.",
"columnsTitle": "Kolom",
- "columnsDescription": "Kelola kolom yang muncul di papan Anda. Seret untuk mengurutkan ulang. Aktifkan \"Kolom selesai\" untuk tahap yang mewakili pekerjaan selesai.",
- "automationTitle": "Aturan Otomatisasi",
- "automationDescription": "Petakan event integrasi ke kolom. Saat event terjadi, tugas tertaut berpindah ke kolom yang ditentukan.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Seret untuk mengubah urutan. Tugas di kolom selesai dianggap sudah selesai.",
+ "automationTitle": "Otomatisasi",
+ "automationDescription": "Pindahkan tugas tertaut saat sesuatu terjadi di repositori yang terhubung."
},
"projectSwitcher": {
"selectProject": "Pilih proyek",
"noProjects": "Tidak ada proyek"
},
"columnEditor": {
- "toastCreated": "Kolom dibuat",
"toastCreateError": "Gagal membuat kolom",
- "toastRenamed": "Kolom diganti nama",
"toastRenameError": "Gagal memperbarui kolom",
- "toastFinalOn": "Kolom ditandai sebagai final",
- "toastFinalOff": "Tanda final pada kolom dihapus",
"toastUpdateError": "Gagal memperbarui kolom",
- "toastIconUpdated": "Ikon kolom diperbarui",
- "toastDeleted": "Kolom dihapus",
"toastDeleteError": "Gagal menghapus kolom",
- "loading": "Memuat kolom...",
"pickIconTitle": "Pilih ikon kolom",
"searchIconsPlaceholder": "Cari ikon...",
- "doneColumnTooltip": "Perlakukan ini sebagai kolom selesai",
- "doneColumn": "Kolom selesai",
"markDoneAria": "Tandai {{name}} sebagai kolom selesai",
- "on": "Aktif",
- "off": "Nonaktif",
- "newColumnPlaceholder": "Nama kolom baru...",
- "add": "Tambah",
+ "newColumnPlaceholder": "Nama kolom",
"deleteAria": "Hapus kolom {{name}}",
- "renameAria": "Ganti nama kolom {{name}}"
+ "renameAria": "Ganti nama kolom {{name}}",
+ "addColumn": "Tambah kolom",
+ "columnHeader": "Kolom",
+ "deleteConfirm": "Hapus kolom",
+ "deleteDescription": "Kolom yang masih berisi tugas tidak dapat dihapus. Pindahkan tugas tersebut terlebih dahulu.",
+ "deleteTitle": "Hapus “{{name}}”?",
+ "doneHeader": "Selesai",
+ "dragAria": "Ubah urutan {{name}}",
+ "reorderError": "Gagal mengubah urutan kolom"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Pemilik repositori wajib diisi",
- "ownerInvalid": "Format pemilik repositori tidak valid",
- "nameRequired": "Nama repositori wajib diisi",
- "nameInvalid": "Format nama repositori tidak valid"
- },
"toast": {
- "installedOk": "GitHub App terpasang dengan benar!",
- "installedMissingPerms": "GitHub App terpasang tetapi izin yang diperlukan kurang",
- "needsInstallOnRepo": "GitHub App perlu dipasang pada repositori ini",
- "repoNotFound": "Repositori tidak ditemukan atau tidak dapat diakses",
"verifyError": "Gagal memverifikasi pemasangan GitHub",
"installAppFirst": "Pasang GitHub App pada repositori ini terlebih dahulu",
"missingPermsDetail": "GitHub App kekurangan izin yang diperlukan: {{list}}. Perbarui izin aplikasi.",
@@ -1028,64 +1003,36 @@
"commentOnDisabled": "Komentar tautan tugas pada issue baru dimatikan",
"settingsUpdateError": "Gagal memperbarui integrasi GitHub"
},
- "connectionStatus": "Status Koneksi",
- "connectedActive": "Repositori terhubung dan aktif",
- "notConnectedHint": "Tidak ada repositori terhubung",
- "badgeConnected": "Terhubung",
- "badgeNotConnected": "Tidak Terhubung",
- "repository": "Repositori",
- "repositoryHint": "Repositori GitHub terhubung",
- "commentTaskLinkTitle": "Komentari tautan Kaneo pada issue baru",
- "commentTaskLinkHint": "Saat diaktifkan, Kaneo memposting komentar pada setiap issue GitHub baru dengan tautan ke tugas.",
- "appStatusTitle": "Status GitHub App",
- "appStatusHint": "Status pemasangan dan izin",
- "statusProperlyConfigured": "Dikonfigurasi dengan benar",
- "statusMissingPermissions": "Izin kurang",
- "statusNotInstalled": "Belum terpasang",
- "ownerLabel": "Pemilik Repositori",
- "ownerHint": "Username atau organisasi GitHub",
- "ownerPlaceholder": "misalnya, octocat",
- "repoNameLabel": "Nama Repositori",
- "repoNameHint": "Nama repositori",
- "repoNamePlaceholder": "misalnya, my-project",
- "actionsTitle": "Aksi",
- "actionsHint": "Kelola koneksi repositori Anda",
- "browse": "Jelajahi",
- "verify": "Verifikasi",
- "update": "Perbarui",
- "connect": "Hubungkan",
- "disconnect": "Putuskan",
- "missingPermissionsLabel": "Izin yang kurang:",
- "updatePermissions": "Perbarui Izin",
+ "commentTaskLinkTitle": "Komentari issue baru dengan tautan Kaneo",
+ "commentTaskLinkHint": "Agar orang di GitHub dapat langsung membuka tugasnya.",
+ "updatePermissions": "Perbarui izin",
"installGithubApp": "Pasang GitHub App",
- "importSectionTitle": "Impor Issue GitHub",
- "importSectionHint": "Impor issue yang ada dari repositori GitHub Anda sebagai tugas",
- "importing": "Mengimpor...",
- "importIssues": "Impor Issue",
- "importDisabledHint": "Lengkapi konfigurasi repositori di atas untuk mengaktifkan impor",
+ "importSectionHint": "Impor issue terbuka dari repositori sebagai tugas.",
+ "importDisabledHint": "Hubungkan kembali repositori untuk mengaktifkan impor.",
"accountVerificationHint": "Hubungkan akun GitHub Anda untuk memverifikasi bahwa Anda mengelola repositori ini.",
"enableGithubSignInHint": "Minta administrator instans Anda mengaktifkan masuk dengan GitHub.",
"reverifyHint": "Hubungkan kembali repositori ini untuk memverifikasi akses dan melanjutkan sinkronisasi.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Issue dan pull request dari repositori ini akan ditautkan ke tugas di sini.",
+ "linkAccountDescription": "Membuktikan bahwa Anda dapat mengelola repositori ini.",
+ "linkAccountTitle": "Tautkan akun GitHub Anda",
+ "linked": "Tertaut",
+ "linkGithub": "Tautkan GitHub",
+ "verifyMissingPermissions": "GitHub App Kaneo belum memiliki izin: {{list}}.",
+ "verifyNotInstalled": "GitHub App Kaneo belum terpasang di repositori ini.",
+ "verifyReady": "GitHub App Kaneo sudah terpasang dengan izin yang diperlukan.",
+ "workflowHint": "Pindahkan tugas saat pull request dibuka atau digabungkan di",
+ "workflowLink": "Alur kerja"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "URL dasar Gitea wajib diisi",
- "baseUrlInvalid": "Masukkan URL yang valid (mis. https://gitea.example.com)",
- "ownerRequired": "Pemilik repositori wajib diisi",
- "ownerInvalid": "Format pemilik repositori tidak valid",
- "nameRequired": "Nama repositori wajib diisi",
- "nameInvalid": "Format nama repositori tidak valid"
+ "baseUrlInvalid": "Masukkan URL yang valid (mis. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Token Gitea dapat mengakses repositori ini",
- "verifyWarning": "Periksa izin token atau akses repositori",
- "repoNotFound": "Repositori tidak ditemukan atau tidak dapat diakses",
"verifyError": "Gagal memverifikasi akses Gitea",
- "tokenRequired": "Token akses pribadi wajib diisi",
- "tokenRequiredVerify": "Masukkan token untuk memverifikasi",
"verifyFirst": "Verifikasi akses gagal. Periksa URL, token, dan repositori",
"updated": "Integrasi Gitea disimpan",
"updateError": "Gagal menyimpan integrasi Gitea",
@@ -1095,56 +1042,22 @@
"importError": "Gagal mengimpor issue",
"commentOnEnabled": "Kaneo akan berkomentar dengan tautan tugas pada issue baru",
"commentOnDisabled": "Komentar tautan tugas pada issue baru dimatikan",
- "settingsUpdateError": "Gagal memperbarui integrasi Gitea",
- "secretCopied": "Disalin",
- "unableToCopySecret": "Tidak dapat menyalin rahasia",
- "notGiteaInstance": "URL tidak menunjuk ke instance Gitea",
- "redirected": "URL Gitea dialihkan (biasanya ke HTTPS). Gunakan URL akhir secara langsung."
- },
- "webhookShow": "Tampilkan",
- "webhookHide": "Sembunyikan",
- "webhookCopy": "Salin",
- "connectionStatus": "Status koneksi",
- "connectedActive": "Repositori terhubung dan aktif",
- "notConnectedHint": "Tidak ada repositori Gitea terhubung",
- "badgeConnected": "Terhubung",
- "badgeNotConnected": "Tidak terhubung",
- "repository": "Repositori",
- "repositoryHint": "Repositori Gitea tertaut",
- "commentTaskLinkTitle": "Komentari tautan Kaneo pada issue baru",
- "commentTaskLinkHint": "Saat diaktifkan, Kaneo memposting komentar pada setiap issue baru dengan tautan ke tugas.",
- "webhookTitle": "Webhook",
- "webhookHint": "Di repositori Gitea Anda, tambahkan webhook dengan URL dan rahasia ini. Aktifkan push, pull request, issue, komentar issue, dan create (untuk label).",
- "webhookSecretLabel": "Rahasia (harus sama dengan rahasia webhook di Gitea)",
+ "settingsUpdateError": "Gagal memperbarui integrasi Gitea"
+ },
+ "commentTaskLinkTitle": "Komentari issue baru dengan tautan Kaneo",
+ "commentTaskLinkHint": "Agar orang di Gitea dapat langsung membuka tugasnya.",
+ "webhookHint": "Tambahkan webhook ini di pengaturan repositori agar perubahan dikirim kembali ke Kaneo.",
"baseUrlLabel": "URL Gitea",
- "baseUrlHint": "URL root instance Gitea Anda",
"tokenLabel": "Token akses pribadi",
- "tokenHint": "Token dengan akses repo dan issue",
"tokenPlaceholder": "Tempel token",
"tokenPlaceholderUpdate": "Tempel token baru untuk rotasi",
- "currentToken": "tersimpan",
- "ownerLabel": "Pemilik",
- "ownerHint": "Nama pengguna atau organisasi",
- "repoNameLabel": "Nama repositori",
- "repoNameHint": "Nama repositori saja (tanpa pemilik)",
- "actionsTitle": "Aksi",
- "actionsHint": "Verifikasi akses dan hubungkan",
- "browse": "Jelajahi",
- "verify": "Verifikasi",
- "update": "Perbarui",
- "connect": "Hubungkan",
- "disconnect": "Putuskan",
- "importSectionTitle": "Impor issue Gitea",
- "importSectionHint": "Impor issue terbuka dan pull request dari repositori",
- "importing": "Mengimpor…",
- "importIssues": "Impor issue",
- "importDisabledHint": "Verifikasi repositori di atas untuk mengaktifkan impor",
- "browseModalTitle": "Repositori Anda",
- "browseModalHint": "Repositori yang dapat diakses token Anda",
- "searchRepos": "Cari…",
- "browseNeedsCredentials": "Masukkan URL dan token Gitea untuk menjelajah",
- "loadingRepos": "Memuat repositori…",
- "retry": "Coba lagi"
+ "importSectionHint": "Impor issue terbuka dan pull request sebagai tugas.",
+ "importDisabledHint": "Impor memerlukan akses yang terverifikasi. Periksa status token di atas.",
+ "browseModalHint": "Repositori yang dapat diakses token Anda.",
+ "browseNeedsCredentials": "Masukkan URL Gitea dan token untuk menjelajah.",
+ "browseEmpty": "Token ini tidak dapat melihat repositori apa pun.",
+ "chooseRepositoryDescription": "Ketik owner/name atau pilih dari daftar.",
+ "webhookEvents": "Aktifkan event push, pull request, issue, komentar issue, dan create."
},
"slackIntegration": {
"validation": {
@@ -1159,30 +1072,10 @@
"removed": "Integrasi Slack berhasil dihapus",
"removeError": "Gagal menghapus integrasi Slack"
},
- "connectionTitle": "Koneksi webhook Slack",
- "connectionHint": "Tempel URL incoming webhook Slack dan pilih event tugas yang harus diposting.",
- "connected": "Terhubung",
- "paused": "Dijeda",
- "webhookLabel": "URL incoming webhook",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Buat Incoming Webhook di Slack dan tempel URL yang dihasilkan di sini.",
- "channelLabel": "Nama kanal",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Label opsional untuk referensi Anda. Slack mengontrol kanal tujuan sebenarnya dari pengaturan webhook.",
- "eventsTitle": "Notifikasi event",
- "eventsHint": "Pilih perubahan proyek yang harus diposting ke Slack.",
- "events": {
- "taskCreated": "Tugas baru",
- "taskStatusChanged": "Perubahan status",
- "taskPriorityChanged": "Perubahan prioritas",
- "taskTitleChanged": "Perubahan judul",
- "taskDescriptionChanged": "Perubahan deskripsi",
- "taskCommentCreated": "Komentar baru"
- },
+ "webhookHint": "Buat incoming webhook di Slack dan tempel di sini.",
"connect": "Hubungkan Slack",
- "saveChanges": "Simpan perubahan",
- "update": "Perbarui Slack",
- "disconnect": "Putuskan"
+ "update": "Perbarui Slack"
},
"discordIntegration": {
"validation": {
@@ -1197,34 +1090,15 @@
"removed": "Integrasi Discord berhasil dihapus",
"removeError": "Gagal menghapus integrasi Discord"
},
- "connectionTitle": "Koneksi webhook Discord",
- "connectionHint": "Tempel URL webhook Discord dan pilih event tugas yang harus diposting.",
- "connected": "Terhubung",
- "paused": "Dijeda",
- "webhookLabel": "URL webhook",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Buat webhook kanal Discord dan tempel URL yang dihasilkan di sini.",
- "channelLabel": "Nama kanal",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Label opsional untuk referensi Anda. Discord mengontrol kanal tujuan sebenarnya dari pengaturan webhook.",
- "eventsTitle": "Notifikasi event",
- "eventsHint": "Pilih perubahan proyek yang harus diposting ke Discord.",
- "events": {
- "taskCreated": "Tugas baru",
- "taskStatusChanged": "Perubahan status",
- "taskPriorityChanged": "Perubahan prioritas",
- "taskTitleChanged": "Perubahan judul",
- "taskDescriptionChanged": "Perubahan deskripsi",
- "taskCommentCreated": "Komentar baru"
- },
+ "webhookHint": "Buat webhook kanal di Discord dan tempel di sini.",
"connect": "Hubungkan Discord",
- "saveChanges": "Simpan perubahan",
- "update": "Perbarui Discord",
- "disconnect": "Putuskan"
+ "update": "Perbarui Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Masukkan URL webhook yang valid"
+ "webhookInvalid": "Masukkan URL webhook yang valid",
+ "leadTimeRange": "Pilih waktu antara 5 menit dan 720 jam."
},
"toast": {
"saved": "Integrasi webhook generik berhasil disimpan",
@@ -1235,25 +1109,20 @@
"removed": "Integrasi webhook generik berhasil dihapus",
"removeError": "Gagal menghapus integrasi webhook generik"
},
- "connectionTitle": "Koneksi webhook keluar",
- "connectionHint": "Kirim event tugas ke endpoint Anda sendiri sebagai JSON. Header X-Kaneo-Signature yang ditandatangani disertakan saat rahasia dikonfigurasi.",
- "connected": "Terhubung",
- "paused": "Dijeda",
"webhookLabel": "URL endpoint",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo mengirim request POST dengan payload JSON untuk setiap event yang diaktifkan.",
"secretLabel": "Rahasia penandatanganan",
- "secretPlaceholder": "Rahasia bersama opsional",
- "secretHint": "Opsional. Jika diberikan, Kaneo menandatangani body request dan mengirim digest hex di header X-Kaneo-Signature.",
- "secretHintConfigured": "Rahasia penandatanganan sudah dikonfigurasi ({{secret}}). Masukkan yang baru untuk menggantinya.",
- "eventsTitle": "Notifikasi event",
- "eventsHint": "Pilih perubahan proyek yang harus memicu webhook keluar.",
+ "secretPlaceholder": "Rahasia bersama",
+ "secretHint": "Kaneo menandatangani setiap request dengannya dan mengirim digest di header X-Kaneo-Signature.",
+ "secretHintConfigured": "Rahasia saat ini: {{secret}}. Tempel yang baru untuk menggantinya.",
+ "eventsTitle": "Kirim saat",
"events": {
- "taskCreated": "Tugas baru",
- "taskStatusChanged": "Perubahan status",
- "taskPriorityChanged": "Perubahan prioritas",
- "taskTitleChanged": "Perubahan judul",
- "taskDescriptionChanged": "Perubahan deskripsi",
+ "taskCreated": "Tugas dibuat",
+ "taskStatusChanged": "Status diubah",
+ "taskPriorityChanged": "Prioritas diubah",
+ "taskTitleChanged": "Judul diubah",
+ "taskDescriptionChanged": "Deskripsi diubah",
"taskCommentCreated": "Komentar baru",
"taskDeleted": "Tugas dihapus",
"taskMoved": "Tugas dipindahkan",
@@ -1263,15 +1132,18 @@
"dueDateReminder": "Pengingat tenggat"
},
"connect": "Hubungkan webhook",
- "saveChanges": "Simpan perubahan",
- "disconnect": "Putuskan",
- "reminderLeadTimeLabel": "Kirim webhook sekian jam sebelum tenggat"
+ "reminderLeadTimeLabel": "Jam sebelum tenggat tugas",
+ "activeTitle": "Mengirim event",
+ "disconnectDescription": "Kaneo berhenti mengirim event dan menghapus endpoint serta rahasia yang tersimpan.",
+ "disconnectTitle": "Putuskan webhook?",
+ "reminderLeadTimeAfter": "jam sebelum tenggat tugas",
+ "reminderLeadTimeBefore": "Kirim pengingat"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Masukkan token bot Telegram yang valid",
"chatIdRequired": "Chat ID wajib diisi",
- "threadIdInvalid": "Masukkan ID thread topik Telegram yang valid"
+ "threadIdInvalid": "Masukkan ID topik yang valid"
},
"toast": {
"saved": "Integrasi Telegram berhasil disimpan",
@@ -1282,64 +1154,47 @@
"removed": "Integrasi Telegram berhasil dihapus",
"removeError": "Gagal menghapus integrasi Telegram"
},
- "connectionTitle": "Koneksi bot Telegram",
- "connectionHint": "Gunakan token bot Telegram dan chat ID untuk mengirim pembaruan tugas proyek ke chat atau topik.",
- "connected": "Terhubung",
- "paused": "Dijeda",
"botTokenLabel": "Token bot",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Buat bot dengan BotFather dan tempel tokennya di sini.",
- "botTokenHintConfigured": "Token bot sudah dikonfigurasi ({{token}}). Masukkan yang baru untuk menggantinya.",
+ "botTokenHintConfigured": "Token saat ini: {{token}}",
"chatIdLabel": "Chat ID",
"chatIdPlaceholder": "-1001234567890 atau @team_updates",
- "chatIdHint": "Masukkan chat ID Telegram atau username kanal tempat pembaruan akan diposting.",
- "threadIdLabel": "ID thread topik",
- "threadIdPlaceholder": "ID topik opsional",
- "threadIdHint": "Opsional. Gunakan ini untuk topik forum di dalam grup Telegram.",
- "chatLabelLabel": "Label chat",
+ "threadIdLabel": "ID topik",
+ "threadIdPlaceholder": "Untuk topik forum",
+ "chatLabelLabel": "Nama chat",
"chatLabelPlaceholder": "Engineering Updates",
- "chatLabelHint": "Label opsional untuk referensi Anda di Kaneo.",
- "eventsTitle": "Notifikasi event",
- "eventsHint": "Pilih perubahan proyek yang harus diposting ke Telegram.",
- "events": {
- "taskCreated": "Tugas baru",
- "taskStatusChanged": "Perubahan status",
- "taskPriorityChanged": "Perubahan prioritas",
- "taskTitleChanged": "Perubahan judul",
- "taskDescriptionChanged": "Perubahan deskripsi",
- "taskCommentCreated": "Komentar baru"
- },
"connect": "Hubungkan Telegram",
- "saveChanges": "Simpan perubahan",
- "disconnect": "Putuskan"
+ "botTokenSavedPlaceholder": "Tersimpan. Tempel token baru untuk menggantinya.",
+ "loadError": "Tidak dapat memuat pengaturan Telegram."
},
"repositoryBrowser": {
- "title": "Pilih Repositori",
- "description": "Pilih repositori tempat GitHub App Anda terpasang untuk mengaktifkan sinkronisasi issue.",
- "searchPlaceholder": "Cari repositori...",
- "loadError": "Gagal memuat repositori",
- "tryAgain": "Coba Lagi",
- "emptyTitle": "Repositori tidak ditemukan",
+ "title": "Pilih repositori",
+ "description": "Repositori yang dapat dilihat GitHub App Kaneo.",
+ "searchPlaceholder": "Cari repositori",
+ "loadError": "Tidak dapat memuat repositori.",
+ "tryAgain": "Coba lagi",
+ "emptyTitle": "Belum ada repositori",
"emptyHint": "Pasang GitHub App pada repositori Anda untuk melihatnya di sini.",
"installGithubApp": "Pasang GitHub App",
- "noSearchMatchTitle": "Tidak ada repositori yang cocok dengan pencarian Anda",
- "noSearchMatchHint": "Coba sesuaikan kata pencarian atau hapus pencarian untuk melihat semua repositori.",
- "footerSummary": "{{repoCount}} repositori di {{installationCount}} pemasangan",
- "manageInstallations": "Kelola Pemasangan",
- "updatedPrefix": "Diperbarui",
- "relativeJustNow": "baru saja",
- "relativeMinutesAgo": "{{count}}m lalu",
- "relativeHoursAgo": "{{count}}j lalu",
- "relativeDaysAgo": "{{count}}h lalu"
+ "noSearchMatchTitle": "Tidak ada repositori yang cocok",
+ "noSearchMatchHint": "Coba nama lain atau hapus pencarian.",
+ "emptyPageHint": "Tidak ada di halaman ini. Muat lebih banyak untuk terus mencari.",
+ "loadMore": "Muat lebih banyak",
+ "manageAccess": "Kelola akses aplikasi",
+ "missingOne": "Ada yang tidak muncul?",
+ "searching": "Mencari…",
+ "updated": "Diperbarui {{time}}",
+ "useRepository": "Gunakan repositori"
},
"tasksImportExport": {
- "exportTasks": "Ekspor Tugas",
- "importTasks": "Impor Tugas",
- "dialogTitle": "Impor Tugas",
+ "exportTasks": "Ekspor tugas",
+ "importTasks": "Impor tugas",
+ "dialogTitle": "Impor tugas",
"dialogDescription": "Unggah file JSON berisi tugas untuk diimpor ke proyek ini.",
"expectedFormat": "Format yang diharapkan:",
"dropHint": "Seret dan lepaskan file JSON Anda di sini",
- "selectFile": "Pilih File",
+ "selectFile": "Pilih file",
"exporting": "Mengekspor tugas...",
"exportSuccess": "Tugas berhasil diekspor",
"exportError": "Gagal mengekspor tugas",
@@ -1349,27 +1204,26 @@
"importError": "Gagal mengimpor tugas",
"invalidFormat": "Format file impor tidak valid",
"noFileDropped": "Tidak ada file yang dilepas",
- "notJsonFile": "Silakan unggah file JSON"
+ "notJsonFile": "Silakan unggah file JSON",
+ "export": "Ekspor",
+ "exportDescription": "Unduh semua tugas di proyek ini sebagai file.",
+ "import": "Impor",
+ "importDescription": "Tambahkan tugas dari file yang sebelumnya Anda ekspor."
},
"workflowEditor": {
- "loading": "Memuat...",
- "createColumnsFirst": "Buat kolom terlebih dahulu untuk mengonfigurasi aturan otomatisasi.",
- "githubHeading": "GitHub",
- "githubHint": "Saat event GitHub terjadi, pindahkan tugas tertaut ke kolom.",
- "giteaHeading": "Gitea",
- "giteaHint": "Saat event webhook Gitea terjadi, pindahkan tugas tertaut ke kolom.",
- "selectColumnPlaceholder": "Pilih kolom...",
- "toastUpdated": "Aturan alur kerja diperbarui",
"toastError": "Gagal memperbarui aturan",
"events": {
- "branch_push": "Push Branch",
- "pr_opened": "PR Dibuka",
- "pr_merged": "PR Digabung",
- "issue_opened": "Issue Dibuka",
- "issue_closed": "Issue Ditutup"
- },
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "branch_push": "Branch di-push",
+ "pr_opened": "Pull request dibuka",
+ "pr_merged": "Pull request digabungkan",
+ "issue_opened": "Issue dibuka",
+ "issue_closed": "Issue ditutup"
+ },
+ "connectMore": "Hubungkan {{providers}} di <link>Integrasi</link> untuk mengotomatiskannya juga.",
+ "dontMove": "Jangan pindahkan",
+ "emptyDescription": "Otomatisasi memerlukan repositori GitHub, Gitea, atau GitLab yang terhubung.",
+ "emptyTitle": "Tidak ada repositori yang terhubung",
+ "openIntegrations": "Buka integrasi"
},
"externalLinks": {
"resources": "Sumber daya",
@@ -1595,22 +1449,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Pengaturan Label",
+ "pageTitle": "Label",
"title": "Label",
- "subtitle": "Buat, edit, dan hapus label tingkat ruang kerja.",
- "cardDescription": "Kelola label yang dapat ditetapkan ke tugas.",
- "createLabel": "Buat Label",
- "editLabel": "Edit Label",
- "deleteLabel": "Hapus",
+ "subtitle": "Label digunakan bersama oleh semua proyek di ruang kerja ini.",
+ "createLabel": "Buat label",
+ "editLabel": "Edit label",
+ "deleteLabel": "Hapus label",
"saveLabel": "Simpan",
- "nameLabel": "Nama label",
- "namePlaceholder": "Masukkan nama label",
+ "nameLabel": "Nama",
+ "namePlaceholder": "Nama label",
"colorLabel": "Warna",
- "createDescription": "Buat label baru yang dapat digunakan di semua tugas dalam ruang kerja ini.",
- "editDescription": "Perbarui nama atau warna label ini.",
- "deleteConfirmTitle": "Hapus label ini?",
- "deleteConfirmDescription": "Ini akan menghapus label ini secara permanen dari semua tugas. Tindakan ini tidak dapat dibatalkan.",
- "empty": "Belum ada label. Buat label pertama Anda untuk memulai.",
+ "createDescription": "Proyek di ruang kerja ini dapat menambahkannya ke tugas mereka.",
+ "editDescription": "Perubahan akan terlihat di semua tugas dengan label ini.",
+ "deleteConfirmTitle": "Hapus “{{name}}”?",
+ "deleteConfirmDescription": "Label akan dihapus dari semua tugas yang menggunakannya. Tindakan ini tidak dapat dibatalkan.",
"createSuccess": "Label dibuat",
"updateSuccess": "Label diperbarui",
"deleteSuccess": "Label dihapus",
@@ -1618,30 +1470,23 @@
"updateError": "Gagal memperbarui label",
"deleteError": "Gagal menghapus label",
"nameRequired": "Nama label wajib diisi",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Menghapus dari tugas…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Edit {{name}}",
+ "emptyDescription": "Tambahkan label untuk mengelompokkan dan memfilter tugas di seluruh proyek.",
+ "emptyTitle": "Belum ada label",
+ "loadError": "Tidak dapat memuat label. Silakan coba lagi.",
+ "newLabel": "Label baru",
+ "preview": "Di tugas",
+ "previewPlaceholder": "Label",
+ "resume": "Lanjutkan",
+ "rowActions": "Tindakan untuk {{name}}",
+ "sectionDescription": "Mengganti nama atau warna label akan memperbarui semua tugas yang menggunakannya.",
+ "sectionTitle": "Label ruang kerja",
+ "subtitleWithWorkspace": "Label digunakan bersama oleh semua proyek di {{workspaceName}}."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1655,58 +1500,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Buat incoming webhook di Mattermost dan tempel di sini.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Kotak centang",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Dropdown, pilih beberapa"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Hapus default",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Tindakan untuk {{name}}",
+ "addOption": "Tambah opsi",
+ "allowSeveral": "Izinkan beberapa",
+ "allowSeveralDescription": "Tugas dapat memilih lebih dari satu opsi.",
+ "checked": "Dicentang",
+ "createField": "Buat bidang",
+ "defaultDescription": "Tugas baru dimulai dengan nilai ini.",
+ "deleteConfirm": "Hapus bidang",
+ "deleteDescription": "Bidang ini dan nilainya di setiap tugas akan dihapus. Tindakan ini tidak dapat dibatalkan.",
+ "deleteTitle": "Hapus “{{name}}”?",
+ "dialogDescription": "Setiap tugas di {{project}} akan memiliki bidang ini.",
+ "dialogDescriptionFallback": "Setiap tugas di proyek ini akan memiliki bidang ini.",
+ "dragAria": "Ubah urutan {{name}}",
+ "dragOptionAria": "Ubah urutan {{option}}",
+ "edit": "Edit",
+ "editTitle": "Edit bidang",
+ "emptyDescription": "Catat hal seperti ukuran, pelanggan, atau tanggal peluncuran di setiap tugas.",
+ "emptyTitle": "Belum ada bidang kustom",
+ "issues": {
+ "defaultRequired": "Bidang wajib memerlukan nilai default.",
+ "moreOptionsRequired": "Tambahkan minimal dua opsi untuk mengizinkan beberapa pilihan.",
+ "optionsRequired": "Tambahkan minimal satu opsi."
+ },
+ "nameLabel": "Nama",
+ "newTitle": "Bidang baru",
+ "noDefault": "Tanpa default",
+ "optionsLabel": "Opsi",
+ "removeOptionAria": "Hapus {{option}}",
+ "renameOptionAria": "Ganti nama {{option}}",
+ "requiredDescription": "Setiap tugas selalu memiliki nilai.",
+ "save": "Simpan",
+ "saving": "Menyimpan...",
+ "startsAs": "Nilai awal “{{value}}”",
+ "startsAt": "Nilai awal {{value}}",
+ "startsChecked": "Awalnya dicentang",
+ "startsOn": "Nilai awal {{date}}",
+ "startsUnchecked": "Awalnya tidak dicentang",
+ "typeLabel": "Jenis",
+ "typeLocked": "Jenis tidak dapat diubah setelah bidang dibuat.",
+ "unchecked": "Tidak dicentang",
+ "updateError": "Gagal menyimpan bidang kustom.",
+ "updateSuccess": "Bidang kustom disimpan."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Nonaktifkan",
+ "edit": "Edit",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Aktifkan kembali"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Peran",
"status": "Status",
"user": "User"
},
@@ -1728,7 +1605,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Semua pengguna",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1741,7 +1618,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1749,18 +1625,18 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Admin",
"user": "User"
},
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Cari berdasarkan nama atau email",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Semua orang yang memiliki akun di instans Kaneo ini.",
+ "title": "Pengguna",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1769,8 +1645,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Anda"
},
"security": "Security",
"securityPage": {
@@ -1785,11 +1660,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Masuk",
+ "submit": "Ubah kata sandi",
+ "submitting": "Mengubah...",
+ "subtitle": "Cara Anda masuk ke Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1799,94 +1673,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Ubah kata sandi",
+ "dialogDescription": "Minimal 8 karakter, berbeda dari kata sandi saat ini.",
+ "dialogTitle": "Ubah kata sandi",
+ "passwordHint": "Gunakan minimal 8 karakter yang tidak Anda gunakan di tempat lain.",
+ "passwordTitle": "Kata sandi"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Proyek tempat token Anda menjadi anggota.",
+ "browseNeedsCredentials": "Masukkan URL GitLab dan token untuk menjelajah.",
+ "commentTaskLinkHint": "Agar orang di GitLab dapat langsung membuka tugasnya.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Impor issue terbuka dan merge request sebagai tugas.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Cari proyek",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Tambahkan webhook ini di pengaturan proyek agar perubahan dikirim kembali ke Kaneo.",
+ "loadProjectsError": "Tidak dapat memuat proyek.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Token ini bukan anggota proyek mana pun.",
+ "chooseProjectDescription": "Ketik path proyek atau pilih dari daftar.",
+ "noSearchMatchTitle": "Tidak ada proyek yang cocok",
+ "useProject": "Gunakan proyek",
+ "webhookEvents": "Aktifkan event push, issue, komentar, dan merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Hanya sertakan label",
+ "selectLabels": "Tambah label",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1894,20 +1735,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Feed",
+ "allScheduledTasks": "Semua tugas terjadwal",
+ "subscribeHint": "Tambahkan tautan ke aplikasi kalender Anda sebagai langganan. Pembaruan muncul saat aplikasi memuat ulang feed.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Disalin",
+ "dialogDescription": "Tugas dengan tanggal mulai atau tenggat akan muncul di feed.",
+ "dialogTitle": "Feed kalender baru",
+ "emptyDescription": "Buat feed untuk melihat tugas terjadwal di aplikasi kalender Anda.",
+ "emptyTitle": "Belum ada feed kalender",
+ "feedActions": "Tindakan feed",
+ "labelsHint": "Biarkan kosong untuk menyertakan semua tugas terjadwal.",
+ "newFeed": "Feed baru",
+ "revokeConfirm": "Cabut feed",
+ "revokeConfirmDescription": "Aplikasi kalender yang menggunakan tautan ini tidak akan menerima pembaruan lagi. Tindakan ini tidak dapat dibatalkan.",
+ "revokeConfirmTitle": "Cabut feed ini?",
+ "revoking": "Mencabut…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1919,7 +1769,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1952,7 +1801,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1963,7 +1811,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Faktur, metode pembayaran, dan pembatalan diatur di Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1986,13 +1834,13 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Paket Anda untuk {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_other": "Sisa {{count}} hari"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2010,15 +1858,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2035,7 +1880,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2054,16 +1898,28 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Yang disinkronkan",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Semua issue",
+ "allTasks": "Semua tugas",
+ "edit": "Edit",
+ "hidePaused": "Sembunyikan",
+ "issuesLabelled": "Issue berlabel",
+ "joinAnd": "dan",
+ "joinOr": "atau",
+ "kaneoToProvider": "Kaneo ke {{provider}}",
+ "pausedSummary_other": "{{count}} tugas berhenti disinkronkan karena tidak lagi cocok dengan aturan sinkronisasi.",
+ "providerToKaneo": "{{provider}} ke Kaneo",
+ "reviewPaused": "Tinjau",
+ "tasksLabelled": "Tugas berlabel"
+ },
+ "advancedSettingsDescription": "Menampilkan kontrol tambahan, seperti aturan sinkronisasi integrasi. Hanya di browser ini.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2100,23 +1956,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Semua ruang kerja",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
"editAccess": "Change project access for {{name}} ({{access}})",
@@ -2135,9 +1983,9 @@
"retry": "Retry",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Cari berdasarkan nama atau slug",
+ "subtitle": "Semua ruang kerja di instans Kaneo ini, termasuk yang tidak Anda ikuti.",
+ "title": "Ruang kerja",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2147,8 +1995,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2387,6 +2234,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Matikan untuk menjeda tanpa kehilangan pengaturan.",
+ "activeTitle": "Mengirim ke {{provider}}",
+ "channelHint": "Hanya sebagai label di daftar ini.",
+ "channelLabel": "Kanal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Putuskan",
+ "disconnectDescription": "Kaneo berhenti mengirim ke {{provider}} dan menghapus pengaturan yang tersimpan.",
+ "disconnecting": "Memutuskan…",
+ "disconnectTitle": "Putuskan {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Seseorang berkomentar",
+ "taskCreated": "Tugas dibuat",
+ "taskDescriptionChanged": "Deskripsi berubah",
+ "taskPriorityChanged": "Prioritas berubah",
+ "taskStatusChanged": "Status berubah",
+ "taskTitleChanged": "Judul berubah"
+ },
+ "optional": "Opsional",
+ "postWhen": "Kirim pesan saat",
+ "retry": "Coba lagi",
+ "saveChanges": "Simpan perubahan",
+ "savedUrlPlaceholder": "Tersimpan. Tempel URL baru untuk menggantinya.",
+ "webhookUrlLabel": "URL webhook"
+ },
+ "codeHosting": {
+ "browse": "Jelajahi",
+ "changeToken": "Ganti token",
+ "checking": "Memeriksa akses…",
+ "chooseProjectTitle": "Pilih proyek",
+ "chooseRepositoryTitle": "Pilih repositori",
+ "connectProject": "Hubungkan proyek",
+ "connectRepository": "Hubungkan repositori",
+ "copied": "Disalin",
+ "copyFailed": "Tidak dapat menyalin ke papan klip.",
+ "copySecret": "Salin rahasia",
+ "copyUrl": "Salin URL webhook",
+ "disconnect": "Putuskan",
+ "disconnectDescription": "Tugas berhenti disinkronkan dengan {{target}}. Anda dapat menghubungkannya lagi nanti.",
+ "disconnecting": "Memutuskan…",
+ "disconnectTitle": "Putuskan {{provider}}?",
+ "hideSecret": "Sembunyikan rahasia",
+ "importing": "Mengimpor…",
+ "importIssues": "Impor issue",
+ "importNeedsReconnect": "Hubungkan kembali untuk mengaktifkan impor.",
+ "importTitle": "Impor issue terbuka",
+ "issuesSection": "Issue",
+ "lastImport": "Impor terakhir: {{imported}} dibuat, {{updated}} diperbarui, {{skipped}} dilewati.",
+ "loadError": "Tidak dapat memuat integrasi ini.",
+ "pausedHint": "Sinkronisasi dijeda. Hubungkan kembali untuk melanjutkan.",
+ "projectSection": "Proyek",
+ "reconnect": "Hubungkan kembali",
+ "repositoryPathInvalid": "Masukkan repositori dalam format owner/name.",
+ "repositoryPathLabel": "Repositori",
+ "repositorySection": "Repositori",
+ "retry": "Coba lagi",
+ "saveToken": "Simpan token",
+ "showSecret": "Tampilkan rahasia",
+ "signInDescription": "Gunakan token yang dapat membaca proyek beserta issue-nya.",
+ "signInTitle": "Masuk ke instans Anda",
+ "tokenStored": "Token tersimpan",
+ "tokenTitle": "Token akses",
+ "webhookSecret": "Rahasia",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Seret untuk mengubah urutan tampilannya di tugas.",
+ "fieldsTitle": "Bidang",
+ "newField": "Bidang baru",
+ "pageTitle": "Bidang kustom",
+ "subtitle": "Detail tambahan yang dapat dicatat setiap tugas di {{project}}, seperti ukuran atau pelanggan.",
+ "subtitleFallback": "Detail tambahan yang dapat dicatat setiap tugas di proyek ini, seperti ukuran atau pelanggan.",
+ "title": "Bidang kustom"
+ },
+ "shared": {
+ "autosave": "Perubahan disimpan otomatis"
}
},
"navigation": {
diff --git a/i18n/it-IT.json b/i18n/it-IT.json
index 6fd738323..93475a861 100644
--- a/i18n/it-IT.json
+++ b/i18n/it-IT.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Mai"
- },
"modals": {
"createProject": {
"title": "Crea un nuovo progetto",
@@ -571,37 +568,32 @@
"advancedSettings": "Impostazioni avanzate",
"account": "Account",
"developer": "Sviluppatore",
- "information": "Informazioni",
+ "information": "Profilo",
"notifications": "Notifiche",
"preferences": "Preferenze",
"apiKeys": "Chiavi API",
"informationPage": {
- "pageTitle": "Informazioni Personali",
- "title": "Informazioni Personali",
- "subtitle": "Gestisci i tuoi dati personali e le informazioni dell'account.",
- "sectionTitle": "Informazioni Account",
- "sectionSubtitle": "Gestisci il tuo profilo e i dettagli dell'account.",
+ "pageTitle": "Profilo",
+ "title": "Profilo",
+ "subtitle": "Come ti vedono i tuoi colleghi.",
+ "sectionTitle": "Dettagli",
"profilePicture": "Immagine profilo",
- "fullName": "Nome completo",
+ "fullName": "Nome",
"fullNamePlaceholder": "Inserisci il tuo nome",
"email": "Email",
- "emailPlaceholder": "Inserisci la tua email",
- "updateSuccess": "Profilo aggiornato con successo",
"updateError": "Aggiornamento profilo fallito",
"validation": {
"nameRequired": "Il nome è obbligatorio",
- "nameShort": "Il nome deve essere di almeno 2 caratteri",
- "invalidEmail": "Indirizzo email non valido"
+ "nameShort": "Il nome deve essere di almeno 2 caratteri"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Le immagini quadrate rendono meglio.",
+ "remove": "Rimuovi",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Carica"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -610,39 +602,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Usi questo indirizzo per accedere."
},
"notificationsPage": {
"pageTitle": "Notifiche",
"title": "Notifiche",
- "subtitle": "Scegli come Kaneo consegna le notifiche del tuo account e quali canali utilizzare.",
+ "subtitle": "Di cosa ti avvisa Kaneo e dove ti raggiunge.",
"statusConnected": "Connesso",
"statusPaused": "In pausa",
"emailTitle": "Email",
- "emailDescription": "Usa la tua email dell'account come destinazione per le notifiche.",
- "accountEmailLabel": "Email account",
"accountEmailNoAddress": "Nessuna email account disponibile",
- "accountEmailHint": "La consegna via email va sempre all'email dell'account con cui hai effettuato l'accesso.",
"saveChanges": "Salva modifiche",
"disconnect": "Disconnetti",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Pubblica le notifiche dell'account su un topic ntfy.",
+ "ntfyDescription": "Pubblica su un topic ntfy sul tuo telefono o computer.",
"serverUrl": "URL Server",
"topic": "Topic",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.esempio.com",
"ntfyTopicPlaceholder": "avvisi-team",
- "ntfyTokenPlaceholder": "Token bearer opzionale",
+ "ntfyTokenPlaceholder": "Solo se il tuo server lo richiede",
"ntfyTokenHintConfigured": "Un token è già configurato ({{masked}}). Inserisci un nuovo token per sostituirlo.",
- "ntfyTokenHintOptional": "Opzionale. Fornisci un token se il tuo server ntfy richiede autenticazione.",
+ "ntfyTokenHintOptional": "Usane uno se il tuo server ntfy richiede l'autenticazione.",
"connectNtfy": "Connetti ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Invia le notifiche dell'account al tuo server Gotify.",
+ "gotifyDescription": "Invia le notifiche al tuo server Gotify.",
"gotifyTokenLabel": "Token app",
"gotifyServerPlaceholder": "https://gotify.esempio.com",
"gotifyTokenPlaceholder": "Token app Gotify",
@@ -650,52 +639,26 @@
"gotifyTokenHintRequired": "Obbligatorio. Usa un token applicativo dal tuo server Gotify.",
"connectGotify": "Connetti Gotify",
"webhookTitle": "Webhook personalizzato",
- "webhookDescription": "Invia le notifiche dell'account al tuo endpoint come JSON.",
+ "webhookDescription": "Invia ogni notifica al tuo endpoint come JSON.",
"endpointUrl": "URL Endpoint",
"signingSecret": "Segreto di firma",
"webhookUrlPlaceholder": "https://esempio.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Segreto condiviso opzionale",
"webhookSecretHintConfigured": "Un segreto di firma è già configurato ({{masked}}). Inseriscine uno nuovo per sostituirlo.",
- "webhookSecretHintOptional": "Opzionale. Kaneo firma il corpo della richiesta quando viene impostato un segreto.",
+ "webhookSecretHintOptional": "Kaneo firma il corpo della richiesta quando è impostato un segreto.",
"connectWebhook": "Connetti webhook",
- "workspaceRulesTitle": "Regole di consegna del workspace",
- "workspaceRulesDescription": "Riutilizza i tuoi canali globali, poi decidi quali workspace e progetti possono inviare notifiche dell'account.",
- "workspaceCardHint": "Scegli quali canali questo workspace può usare per le notifiche dell'account.",
- "workspaceEnabledLabel": "Abilita notifiche per {{workspaceName}}",
"eventPreferencesTitle": "Notificami su",
- "eventPreferencesDescription": "Scegli quali eventi delle attività creano notifiche in-app e possono essere consegnati ai tuoi canali connessi.",
- "eventTaskAssignments": "Assegnazioni attività",
+ "eventPreferencesDescription": "I tuoi commenti, le tue menzioni e i tuoi cambi di stato non ti inviano mai notifiche.",
+ "eventTaskAssignments": "Assegnazioni",
"eventComments": "Commenti e menzioni",
- "eventCommentsHint": "Include nuovi commenti sulle attività a te assegnate e @menzioni dirette.",
- "eventStatusChanges": "Cambiamenti di stato",
- "eventDueDateReminders": "Promemoria scadenza",
+ "eventCommentsHint": "Nuovi commenti sulle tue attività e chiunque ti @menzioni.",
+ "eventStatusChanges": "Cambi di stato",
+ "eventDueDateReminders": "Promemoria scadenze",
"reminderLeadTimeLabel": "Ricordami prima della scadenza",
- "reminderLeadTimeHint": "Tra 1 ora e 30 giorni prima. Le notifiche di scadenza sono inviate separatamente.",
- "reminderLeadTimeUnitHours": "Ore",
- "reminderLeadTimeUnitDays": "Giorni",
"reminderLeadTimeInvalid": "Inserisci un numero intero tra 1 e {{max}}.",
"saveEventPreferences": "Salva tipi di notifica",
- "workspaceCardLabelEmail": "Email",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Webhook personalizzato",
- "emailChannelHintEnabled": "Invia notifiche del workspace corrispondenti via email.",
- "emailChannelHintDisabled": "Configura e abilita prima l'email globalmente.",
- "ntfyChannelHintEnabled": "Invia notifiche del workspace corrispondenti a ntfy.",
- "ntfyChannelHintDisabled": "Configura e abilita prima ntfy globalmente.",
- "gotifyChannelHintEnabled": "Invia notifiche del workspace corrispondenti a Gotify.",
- "gotifyChannelHintDisabled": "Configura e abilita prima Gotify globalmente.",
- "webhookChannelHintEnabled": "Invia notifiche del workspace corrispondenti al tuo webhook.",
- "webhookChannelHintDisabled": "Configura e abilita prima il webhook globalmente.",
- "projectScope": "Ambito progetto",
- "projectScopeDescription": "Tutti i progetti sono inclusi per impostazione predefinita. Restringi se questo workspace deve inviare notifiche solo da progetti selezionati.",
"allProjects": "Tutti i progetti",
- "allProjectsDescription": "Consegna notifiche da ogni progetto in questo workspace.",
- "selectedProjects": "Progetti selezionati",
- "selectedProjectsDescription": "Consegna notifiche solo dai progetti scelti.",
"noProjectsInWorkspace": "Nessun progetto disponibile per questo workspace al momento.",
- "createRule": "Crea regola",
- "removeRule": "Rimuovi regola",
"toastEmailSaved": "Impostazioni notifiche email salvate",
"toastEmailSaveFailed": "Salvataggio impostazioni email fallito",
"toastNtfySaved": "Impostazioni ntfy salvate",
@@ -718,137 +681,167 @@
"toastPreferencesSaveFailed": "Salvataggio preferenze notifiche fallito",
"toastRuleSavedGeneric": "Regola notifiche workspace salvata",
"toastRuleRemovedGeneric": "Regola notifiche workspace rimossa",
- "recipientHint": "I commenti e le modifiche di stato ti avvisano delle attività assegnate a te. Le menzioni avvisano il membro selezionato. I tuoi commenti, le tue menzioni e le tue modifiche di stato non ti inviano notifiche."
+ "channelNotConnected": "Non connesso",
+ "channelOff": "Disattivato",
+ "channelsDescription": "Le notifiche compaiono sempre in Kaneo. Collega un canale per riceverle anche altrove.",
+ "channelsTitle": "Canali",
+ "configure": "Configura",
+ "configureChannel": "Configura {{channel}}",
+ "configureWorkspace": "Configura le notifiche per {{workspaceName}}",
+ "connect": "Connetti",
+ "connectChannel": "Connetti {{channel}}",
+ "disconnectDescription": "Le notifiche non verranno più inviate a {{channel}} e le sue impostazioni salvate verranno rimosse.",
+ "disconnecting": "Disconnessione in corso...",
+ "disconnectTitle": "Disconnettere {{channel}}?",
+ "done": "Fatto",
+ "emailToggleLabel": "Invia notifiche via email",
+ "eventDueDateRemindersHint": "Prima della scadenza di una delle tue attività. Le attività scadute ti vengono notificate a parte.",
+ "eventStatusChangesHint": "Quando una delle tue attività passa a un'altra colonna.",
+ "eventTaskAssignmentsHint": "Quando qualcuno ti assegna un'attività.",
+ "loadFailed": "Impossibile caricare le impostazioni delle notifiche.",
+ "onlyInKaneo": "Solo in Kaneo",
+ "optional": "Opzionale",
+ "projectCount_many": "{{count}} di progetti",
+ "projectCount_one": "{{count}} progetto",
+ "projectCount_other": "{{count}} progetti",
+ "reminderLeadTimeUnitDaysBefore_many": "giorni prima",
+ "reminderLeadTimeUnitDaysBefore_one": "giorno prima",
+ "reminderLeadTimeUnitDaysBefore_other": "giorni prima",
+ "reminderLeadTimeUnitHoursBefore_many": "ore prima",
+ "reminderLeadTimeUnitHoursBefore_one": "ora prima",
+ "reminderLeadTimeUnitHoursBefore_other": "ore prima",
+ "reminderLeadTimeUnitLabel": "Unità del promemoria",
+ "ruleActiveDescription": "Disattiva per mettere in pausa questo workspace mantenendo la sua configurazione.",
+ "ruleActiveLabel": "Invio attivo",
+ "ruleChannels": "Canali",
+ "ruleDialogDescription": "Dove possono arrivare le notifiche di questo workspace.",
+ "ruleDialogTitle": "Notifiche di {{workspaceName}}",
+ "ruleProjects": "Progetti",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Salva",
+ "sendingDescription": "Disattiva per mettere in pausa questo canale mantenendo le sue impostazioni.",
+ "sendingLabel": "Invio attivo",
+ "setUp": "Configura",
+ "setUpWorkspace": "Imposta le notifiche per {{workspaceName}}",
+ "someProjects": "Solo alcuni",
+ "statusOn": "Attivo",
+ "statusSending": "Invio attivo",
+ "stopping": "Interruzione in corso...",
+ "stopSending": "Interrompi invio",
+ "stopSendingDescription": "Le notifiche di questo workspace verranno mostrate solo in Kaneo.",
+ "stopSendingTitle": "Interrompere l'invio da {{workspaceName}}?",
+ "workspacesDescription": "Scegli quali workspace e progetti possono usare i tuoi canali.",
+ "workspacesTitle": "Workspace"
},
"preferencesPage": {
"title": "Preferenze",
- "subtitle": "Personalizza la tua esperienza con Kaneo.",
- "appearanceTitle": "Aspetto",
- "appearanceSubtitle": "Impostazioni visive e preferenze di layout.",
+ "subtitle": "Come Kaneo appare e funziona per te.",
+ "appearanceTitle": "Generale",
"theme": "Tema",
- "themeDescription": "Scegli la combinazione di colori preferita",
"selectTheme": "Seleziona un tema",
"themeLight": "Chiaro",
"themeDark": "Scuro",
- "themeSystem": "Sistema",
+ "themeSystem": "Segui il sistema",
"language": "Lingua",
- "languageDescription": "Scegli la lingua preferita dell'interfaccia",
"selectLanguage": "Seleziona una lingua",
- "firstDayOfWeek": "Primo Giorno della Settimana",
- "firstDayOfWeekDescription": "Scegli da quale giorno iniziano i calendari e gli intervalli settimanali",
+ "firstDayOfWeek": "Primo giorno della settimana",
+ "firstDayOfWeekDescription": "Usato da calendari e selettori di data.",
"selectFirstDayOfWeek": "Seleziona primo giorno",
"weekStartsOnSunday": "Domenica",
"weekStartsOnMonday": "Lunedì",
"weekStartsOnSaturday": "Sabato",
- "defaultView": "Vista Predefinita",
- "defaultViewDescription": "Scegli la tua modalità di visualizzazione attività preferita",
+ "defaultView": "Vista predefinita",
+ "defaultViewDescription": "La vista con cui si aprono i progetti.",
"selectViewMode": "Seleziona una modalità di visualizzazione",
"board": "Board",
"list": "Elenco",
"gantt": "Gantt",
- "sidebarDefault": "Barra laterale predefinita",
- "sidebarDefaultDescription": "Mantieni la barra laterale espansa all'avvio",
- "displayOptions": "Opzioni di visualizzazione",
- "displayOptionsDescription": "Scegli quali informazioni mostrare nelle viste delle attività",
- "taskNumbers": "Numeri Attività",
- "taskNumbersDescription": "Mostra ID e numeri delle attività",
+ "sidebarDefault": "Mantieni aperta la barra laterale",
+ "sidebarDefaultDescription": "Inizia con la barra laterale espansa.",
+ "displayOptions": "Dettagli attività",
+ "displayOptionsDescription": "Cosa mostrare su schede e righe di board ed elenchi.",
+ "taskNumbers": "Numeri attività",
"assignees": "Assegnatari",
- "assigneesDescription": "Mostra chi è assegnato alle attività",
- "dueDates": "Date di Scadenza",
- "dueDatesDescription": "Visualizza le scadenze delle attività",
+ "dueDates": "Date di scadenza",
"labels": "Etichette",
- "labelsDescription": "Mostra etichette e tag delle attività",
"priority": "Priorità",
- "priorityDescription": "Visualizza indicatori di priorità",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Mostra l'immagine che un progetto imposta dietro la sua board.",
+ "advancedTitle": "Avanzate"
},
"developerPage": {
- "pageTitle": "Impostazioni Sviluppatore",
- "title": "Impostazioni Sviluppatore",
- "subtitle": "Gestisci le tue chiavi API e risorse per sviluppatori.",
- "apiKeysCardTitle": "Chiavi API",
- "apiKeysCardDescription": "Crea e gestisci chiavi API per l'accesso programmatico a Kaneo.",
- "createApiKey": "Crea Chiave API",
- "unnamedKey": "Chiave Senza Nome"
+ "pageTitle": "Chiavi API",
+ "title": "Chiavi API",
+ "subtitle": "Consenti a script, CLI e client MCP di usare Kaneo a tuo nome.",
+ "unnamedKey": "Senza nome",
+ "emptyDescription": "Crea una chiave per usare la CLI, un client MCP o i tuoi script.",
+ "emptyTitle": "Ancora nessuna chiave API",
+ "keysNote": "Una chiave può fare tutto ciò che puoi fare tu. Elimina le chiavi che non usi più.",
+ "keysTitle": "Chiavi",
+ "loadError": "Impossibile caricare le chiavi API. Riprova.",
+ "newKey": "Nuova chiave"
},
"apiKey": {
"createdModal": {
- "title": "Chiave API Creata",
- "description": "La tua chiave API \"{{keyName}}\" è stata creata con successo.",
- "yourApiKey": "La Tua Chiave API",
+ "title": "Copia la tua chiave",
+ "description": "Dopo aver chiuso questa finestra non potrai più vederla.",
"copy": "Copia",
"copied": "Copiato",
- "toastCopied": "Chiave API copiata negli appunti",
- "alertTitle": "Successo! La tua chiave API è stata creata",
- "alertDescription": "Copia questa chiave ora. Non potrai più vederla.",
"done": "Fatto",
- "copyToContinue": "Copia la chiave per continuare"
+ "copyError": "Impossibile copiare la chiave. Selezionala e copiala manualmente."
},
"table": {
- "loading": "Caricamento chiavi API...",
- "empty": "Nessuna chiave API ancora. Creane una per iniziare.",
- "columnName": "Nome",
- "columnKey": "Chiave",
- "columnCreated": "Creata",
- "columnExpires": "Scade",
- "columnActions": "Azioni",
- "unnamedKey": "Chiave Senza Nome",
- "expiredBadge": "Scaduta {{label}}",
- "deleteConfirmTitle": "Eliminare la chiave API?",
- "deleteConfirmDescription": "Questa azione non può essere annullata. Questo eliminerà permanentemente {{name}}.",
- "deleteFallbackName": "questa chiave API",
- "delete": "Elimina",
- "deleting": "Eliminazione in corso...",
- "deleteAria": "Elimina {{name}}",
- "deleteAriaFallback": "Chiave API",
- "toastDeleted": "Chiave API eliminata con successo",
- "toastDeleteError": "Eliminazione chiave API fallita"
+ "deleteConfirmTitle": "Eliminare “{{name}}”?",
+ "deleteConfirmDescription": "Tutto ciò che usa questa chiave smetterà di funzionare. L'operazione non può essere annullata.",
+ "delete": "Elimina chiave",
+ "deleting": "Eliminazione in corso…",
+ "toastDeleted": "Chiave API eliminata",
+ "toastDeleteError": "Impossibile eliminare la chiave API"
},
"createDialog": {
- "title": "Crea Chiave API",
- "description": "Crea una nuova chiave API per accedere all'API di Kaneo programmaticamente.",
+ "title": "Nuova chiave API",
+ "description": "La chiave può fare tutto ciò che puoi fare tu.",
"nameLabel": "Nome",
- "namePlaceholder": "La Mia Chiave API",
- "nameDescription": "Un nome descrittivo per questa chiave API",
+ "namePlaceholder": "La mia chiave API",
+ "nameDescription": "Per ricordare dove viene usata.",
"expirationLabel": "Scadenza",
- "expirationPlaceholder": "Seleziona scadenza",
- "expirationDescription": "Scegli per quanto tempo questa chiave API deve rimanere valida. Mai creerà una chiave senza scadenza automatica.",
"expiration1d": "1 giorno",
"expiration7d": "7 giorni",
"expiration30d": "30 giorni",
"expiration90d": "90 giorni",
"expirationNever": "Mai",
- "create": "Crea",
- "creating": "Creazione in corso...",
- "failedCreate": "Creazione chiave API fallita",
+ "create": "Crea chiave",
+ "creating": "Creazione in corso…",
+ "failedCreate": "Impossibile creare la chiave API",
"validation": {
- "nameRequired": "Il nome è obbligatorio",
- "nameShort": "Il nome deve essere di almeno 3 caratteri",
- "expirationRequired": "La scadenza è obbligatoria"
+ "nameRequired": "Inserisci un nome",
+ "nameShort": "Usa almeno 3 caratteri"
}
+ },
+ "row": {
+ "actions": "Azioni per {{name}}",
+ "created": "Creata il {{date}}",
+ "expired": "Scaduta il {{date}}",
+ "expiredBadge": "Scaduta",
+ "expires": "Scade il {{date}}",
+ "neverExpires": "Non scade mai"
}
},
"workspaceGeneral": {
"pageTitle": "Impostazioni Generali",
- "title": "Impostazioni Generali",
- "subtitle": "Gestisci nome e descrizione del tuo workspace.",
- "workspaceInfoTitle": "Informazioni Workspace",
- "workspaceInfoSubtitle": "Configura i dettagli e le preferenze del tuo workspace.",
- "nameLabel": "Nome workspace",
- "nameHint": "Il nome del tuo workspace",
+ "title": "Generale",
+ "subtitle": "Il nome di {{name}} e chi ne è il proprietario.",
+ "workspaceInfoTitle": "Workspace",
+ "nameLabel": "Nome",
"namePlaceholder": "Inserisci nome workspace",
"descriptionLabel": "Descrizione",
- "descriptionHint": "Una breve descrizione del tuo workspace",
- "descriptionPlaceholder": "Inserisci descrizione workspace",
+ "descriptionPlaceholder": "Di cosa si occupa il tuo team?",
"dangerZone": "Zona pericolosa",
- "dangerZoneSubtitle": "Azioni irreversibili e distruttive.",
"deleteWorkspace": "Elimina workspace",
- "deleteWorkspaceDescription": "Programma l'eliminazione permanente del workspace",
- "deleteModalTitle": "Eliminare il Workspace?",
- "deleteModalDescription": "Questo eliminerà permanentemente il workspace \"{{name}}\" e tutti i suoi dati. Questa azione non può essere annullata.",
- "deleteModalConfirm": "Elimina Workspace",
- "toastUpdated": "Workspace aggiornato con successo",
+ "deleteWorkspaceDescription": "Elimina definitivamente {{name}}, i suoi progetti e le attività.",
+ "deleteModalTitle": "Eliminare il workspace?",
+ "deleteModalDescription": "Questa azione elimina definitivamente {{name}} e tutti i suoi progetti e attività. Non può essere annullata.",
+ "deleteModalConfirm": "Elimina workspace",
"toastUpdateError": "Aggiornamento workspace fallito",
"toastDeleted": "Workspace eliminato con successo",
"toastDeleteError": "Eliminazione workspace fallita",
@@ -860,17 +853,18 @@
"toastSuccess": "Proprietà trasferita",
"toastError": "Trasferimento proprietà fallito",
"title": "Trasferisci proprietà",
- "subtitle": "Cedi questo workspace a un altro membro. Verrai retrocesso ad amministratore e perderai i privilegi riservati al proprietario.",
"pickerLabel": "Nuovo proprietario",
"noEligibleMembers": "Invita almeno un altro membro prima di poter trasferire la proprietà.",
- "pickerHint": "Diventerà l'unico proprietario di questo workspace.",
- "pickerPlaceholder": "Seleziona un membro",
+ "pickerHint": "Il nuovo proprietario subentra. Tu resti come amministratore.",
+ "pickerPlaceholder": "Scegli un membro",
"button": "Trasferisci",
"dialogTitle": "Trasferire la proprietà?",
"dialogDescription": "{{name}} diventerà l'unico proprietario di {{workspace}}. Manterrai l'accesso come amministratore ma perderai i privilegi riservati al proprietario, come eliminare il workspace o trasferirlo di nuovo.",
"transferring": "Trasferimento in corso…",
"confirm": "Trasferisci proprietà"
- }
+ },
+ "ownershipSubtitle": "Visibile solo al proprietario.",
+ "ownershipTitle": "Proprietà"
},
"workspaceRoles": {
"pageTitle": "Ruoli",
@@ -1082,22 +1076,20 @@
"permissionCount_many": "{{count}} permessi"
},
"workspaceLabels": {
- "pageTitle": "Impostazioni Etichette",
+ "pageTitle": "Etichette",
"title": "Etichette",
- "subtitle": "Crea, modifica ed elimina etichette a livello di workspace.",
- "cardDescription": "Gestisci le etichette che possono essere assegnate alle attività.",
- "createLabel": "Crea Etichetta",
- "editLabel": "Modifica Etichetta",
- "deleteLabel": "Elimina",
+ "subtitle": "Le etichette sono condivise da tutti i progetti di questo workspace.",
+ "createLabel": "Crea etichetta",
+ "editLabel": "Modifica etichetta",
+ "deleteLabel": "Elimina etichetta",
"saveLabel": "Salva",
- "nameLabel": "Nome etichetta",
- "namePlaceholder": "Inserisci nome etichetta",
+ "nameLabel": "Nome",
+ "namePlaceholder": "Nome dell'etichetta",
"colorLabel": "Colore",
- "createDescription": "Crea una nuova etichetta che può essere usata in tutte le attività di questo workspace.",
- "editDescription": "Aggiorna il nome o il colore di questa etichetta.",
- "deleteConfirmTitle": "Eliminare questa etichetta?",
- "deleteConfirmDescription": "Questo rimuoverà permanentemente questa etichetta da tutte le attività. Questa azione non può essere annullata.",
- "empty": "Nessuna etichetta ancora. Crea la tua prima etichetta per iniziare.",
+ "createDescription": "I progetti di questo workspace potranno aggiungerla alle loro attività.",
+ "editDescription": "Le modifiche si applicano a tutte le attività con questa etichetta.",
+ "deleteConfirmTitle": "Eliminare “{{name}}”?",
+ "deleteConfirmDescription": "L'etichetta verrà rimossa da tutte le attività che la usano. L'operazione non può essere annullata.",
"createSuccess": "Etichetta creata",
"updateSuccess": "Etichetta aggiornata",
"deleteSuccess": "Etichetta eliminata",
@@ -1105,36 +1097,43 @@
"updateError": "Aggiornamento etichetta fallito",
"deleteError": "Eliminazione etichetta fallita",
"nameRequired": "Il nome dell'etichetta è obbligatorio",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Rimozione dalle attività…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Modifica {{name}}",
+ "emptyDescription": "Aggiungi etichette per ordinare e filtrare le attività tra i progetti.",
+ "emptyTitle": "Ancora nessuna etichetta",
+ "loadError": "Impossibile caricare le etichette. Riprova.",
+ "newLabel": "Nuova etichetta",
+ "preview": "Su un'attività",
+ "previewPlaceholder": "Etichetta",
+ "resume": "Riprendi",
+ "rowActions": "Azioni per {{name}}",
+ "sectionDescription": "Se rinomini un'etichetta o ne cambi il colore, vengono aggiornate tutte le attività che la usano.",
+ "sectionTitle": "Etichette del workspace",
+ "subtitleWithWorkspace": "Le etichette sono condivise da tutti i progetti di {{workspaceName}}."
},
"projectGeneral": {
"pageTitle": "Impostazioni Progetto",
- "title": "Impostazioni Generali",
- "subtitle": "Gestisci nome, chiave, icona e descrizione del tuo progetto.",
- "projectInfoTitle": "Informazioni Progetto",
- "projectInfoSubtitle": "Configura i dettagli e le preferenze del tuo progetto.",
+ "title": "Generale",
+ "subtitle": "Nome, chiave e aspetto di {{name}}.",
+ "projectInfoTitle": "Progetto",
"iconLabel": "Icona",
- "iconHint": "Visualizzata nella barra laterale e nelle superfici del progetto.",
+ "iconHint": "Visualizzata nella barra laterale e negli elenchi dei progetti.",
"pickIconTitle": "Scegli icona",
"searchIconsPlaceholder": "Cerca icone...",
- "projectNameLabel": "Nome progetto",
- "projectNameHint": "Il nome del tuo progetto",
- "projectNamePlaceholder": "Inserisci nome progetto",
+ "projectNameLabel": "Nome",
+ "projectNamePlaceholder": "Nome del progetto",
"keyLabel": "Chiave",
- "keyHint": "Usata per gli ID dei ticket (es. {{slug}}-123)",
+ "keyHint": "Prefisso di ogni ID attività, come {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Descrizione",
- "descriptionHint": "Una breve descrizione del tuo progetto",
- "descriptionPlaceholder": "Inserisci descrizione progetto",
+ "descriptionPlaceholder": "A cosa serve questo progetto?",
"dangerZone": "Zona pericolosa",
- "dangerZoneSubtitle": "Azioni irreversibili e distruttive.",
"deleteProject": "Elimina progetto",
- "deleteProjectDescription": "Programma l'eliminazione permanente del progetto",
- "deleteModalTitle": "Eliminare il Progetto?",
- "deleteModalDescription": "Questo eliminerà permanentemente il progetto \"{{name}}\" e tutti i suoi dati. Questa azione non può essere annullata.",
- "deleteModalConfirm": "Elimina Progetto",
- "toastUpdated": "Progetto aggiornato con successo",
+ "deleteProjectDescription": "Elimina definitivamente {{name}} e tutte le sue attività.",
+ "deleteModalTitle": "Eliminare il progetto?",
+ "deleteModalDescription": "Questa azione elimina definitivamente {{name}} e tutte le sue attività. Non può essere annullata.",
+ "deleteModalConfirm": "Elimina progetto",
"toastUpdateError": "Aggiornamento progetto fallito",
"toastDeleted": "Progetto eliminato con successo",
"toastDeleteError": "Eliminazione progetto fallita",
@@ -1144,40 +1143,42 @@
"keyMax": "La chiave deve essere al massimo di 8 caratteri",
"iconRequired": "L'icona è obbligatoria"
},
- "importExportTasks": "Importa/Esporta",
- "importExportTasksDescription": "Importa ed esporta attività.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Un'immagine dietro la board. Ognuno può scegliere di nascondere gli sfondi.",
+ "backgroundUnavailable": "Il caricamento delle immagini non è configurato su questa istanza.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Sostituisci",
+ "backgroundUpload": "Carica",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Sposta progetto",
- "moveModalDescription": "Questa azione sposterà il progetto \"{{name}}\" e tutte le sue attività in \"{{workspace}}\". Le attività assegnate a persone che non sono membri di quel workspace resteranno senza assegnatario e le iscrizioni alle notifiche per questo progetto verranno eliminate.",
- "moveModalTitle": "Spostare il progetto?",
"moveProject": "Sposta in un altro workspace",
"moveProjectAction": "Sposta",
- "moveProjectDescription": "Sposta questo progetto, con tutte le sue attività, in un altro workspace.",
- "moveProjectPlaceholder": "Seleziona workspace",
+ "moveProjectDescription": "Attività, colonne ed etichette vengono spostate insieme al progetto.",
+ "moveProjectPlaceholder": "Scegli un workspace",
"toastMoved": "Progetto spostato con successo",
"toastMovedWithUnassigned": "Progetto spostato con successo. {{taskCount}} attività sono rimaste senza assegnatario.",
"toastMoveError": "Impossibile spostare il progetto",
- "moveTargetsError": "Non è stato possibile verificare in quali spazi di lavoro puoi spostare questo progetto. Ricarica la pagina per riprovare."
+ "moveTargetsError": "Non è stato possibile verificare in quali spazi di lavoro puoi spostare questo progetto. Ricarica la pagina per riprovare.",
+ "moveDialogDescription": "Le attività assegnate a persone esterne al nuovo workspace resteranno senza assegnatario e le iscrizioni alle notifiche di questo progetto verranno rimosse.",
+ "moveDialogTitle": "Spostare in un altro workspace?",
+ "moveTargetLabel": "Workspace",
+ "moving": "Spostamento in corso...",
+ "tasksTitle": "Attività"
},
"projectIntegrations": {
- "pageTitle": "Integrazioni Progetto",
- "title": "Integrazioni Progetto",
- "subtitle": "Connetti il tuo progetto con strumenti e servizi esterni per ottimizzare il flusso di lavoro.",
+ "pageTitle": "Integrazioni",
+ "title": "Integrazioni",
+ "subtitle": "Collega questo progetto al tuo hosting del codice e alla chat del tuo team.",
"githubSectionTitle": "Integrazione GitHub",
"githubSectionSubtitle": "Sincronizza le attività con le issue di GitHub e abilita la sincronizzazione bidirezionale.",
"giteaSectionTitle": "Integrazione Gitea",
"giteaSectionSubtitle": "Sincronizza le attività con un'istanza Gitea self-hosted (issue, PR, webhook).",
"discordSectionTitle": "Integrazione Discord",
"discordSectionSubtitle": "Invia aggiornamenti delle attività del progetto in un canale Discord tramite webhook.",
- "genericWebhookSectionTitle": "Webhook Generici",
+ "genericWebhookSectionTitle": "Webhook",
"genericWebhookSectionSubtitle": "Invia eventi delle attività del progetto a qualsiasi endpoint HTTP come JSON.",
"slackSectionTitle": "Integrazione Slack",
"slackSectionSubtitle": "Invia aggiornamenti delle attività del progetto in un canale Slack tramite webhook in entrata.",
@@ -1185,7 +1186,7 @@
"telegramSectionSubtitle": "Invia aggiornamenti delle attività del progetto in una chat o topic Telegram con un bot.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Sincronizza le attività con GitLab.com o con un'istanza self-managed.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Hosting del codice",
"chatTitle": "Chat e webhook",
@@ -1198,69 +1199,59 @@
"projectVisibility": {
"pageTitle": "Visibilità Progetto",
"title": "Visibilità",
- "subtitle": "Controlla chi può visualizzare e accedere al tuo progetto.",
- "sectionTitle": "Visibilità",
- "sectionSubtitle": "Attiva l'accesso pubblico e condividi l'URL pubblico.",
- "publicAccess": "Accesso pubblico",
- "publicAccessHint": "Consenti a chiunque abbia l'URL di visualizzare questo progetto",
+ "subtitle": "Scegli chi può vedere {{project}} al di fuori di {{workspace}}.",
+ "sectionTitle": "Accesso",
+ "publicAccess": "Link pubblico",
+ "publicAccessHint": "Chiunque abbia il link può vedere la board e le sue attività, ma non può modificare nulla.",
"publicUrl": "URL Pubblico",
- "publicUrlHint": "Condividi questo link se il progetto è pubblico",
- "copy": "Copia",
- "copiedToast": "Copiato",
+ "copy": "Copia link",
"toastUpdated": "Visibilità aggiornata",
- "toastUpdateError": "Aggiornamento visibilità fallito"
+ "toastUpdateError": "Aggiornamento visibilità fallito",
+ "always": "Sempre",
+ "copied": "Copiato",
+ "copyError": "Impossibile copiare il link",
+ "membersDescription": "Tutti i membri del workspace, secondo quanto consente il loro ruolo.",
+ "membersTitle": "Membri di {{workspace}}",
+ "offNote": "Se disattivi il link pubblico, smette subito di funzionare.",
+ "on": "Attivo",
+ "openPublicPage": "Apri pagina pubblica",
+ "thisWorkspace": "questo workspace"
},
"projectWorkflow": {
- "pageTitle": "Impostazioni Flusso di Lavoro",
+ "pageTitle": "Impostazioni flusso di lavoro",
"title": "Flusso di Lavoro",
- "subtitle": "Configura le colonne della board e le regole di automazione per questo progetto.",
+ "subtitle": "Le colonne della tua board e cosa sposta le attività da una all'altra.",
"columnsTitle": "Colonne",
- "columnsDescription": "Gestisci le colonne che appaiono sulla tua board. Trascina per riordinare. Attiva \"Colonna completata\" per le fasi che rappresentano lavoro concluso.",
- "automationTitle": "Regole di Automazione",
- "automationDescription": "Mappa eventi di integrazione alle colonne. Quando si verifica un evento, l'attività collegata si sposta nella colonna specificata.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Trascina per riordinare. Le attività nelle colonne completate contano come concluse.",
+ "automationTitle": "Automazioni",
+ "automationDescription": "Sposta un'attività collegata quando succede qualcosa in un repository connesso."
},
"projectSwitcher": {
"selectProject": "Seleziona progetto",
"noProjects": "Nessun progetto"
},
"columnEditor": {
- "toastCreated": "Colonna creata",
"toastCreateError": "Creazione colonna fallita",
- "toastRenamed": "Colonna rinominata",
"toastRenameError": "Aggiornamento colonna fallito",
- "toastFinalOn": "Colonna contrassegnata come finale",
- "toastFinalOff": "Colonna non più contrassegnata come finale",
"toastUpdateError": "Aggiornamento colonna fallito",
- "toastIconUpdated": "Icona colonna aggiornata",
- "toastDeleted": "Colonna eliminata",
"toastDeleteError": "Eliminazione colonna fallita",
- "loading": "Caricamento colonne...",
"pickIconTitle": "Scegli icona colonna",
"searchIconsPlaceholder": "Cerca icone...",
- "doneColumnTooltip": "Considera questa come colonna di completamento",
- "doneColumn": "Colonna completata",
"markDoneAria": "Segna {{name}} come colonna completata",
- "on": "Attivo",
- "off": "Disattivo",
- "newColumnPlaceholder": "Nuovo nome colonna...",
- "add": "Aggiungi",
+ "newColumnPlaceholder": "Nome colonna",
"deleteAria": "Elimina la colonna {{name}}",
- "renameAria": "Rinomina la colonna {{name}}"
+ "renameAria": "Rinomina la colonna {{name}}",
+ "addColumn": "Aggiungi colonna",
+ "columnHeader": "Colonna",
+ "deleteConfirm": "Elimina colonna",
+ "deleteDescription": "Le colonne che contengono ancora attività non possono essere eliminate. Sposta prima quelle attività.",
+ "deleteTitle": "Eliminare “{{name}}”?",
+ "doneHeader": "Completata",
+ "dragAria": "Riordina {{name}}",
+ "reorderError": "Riordino delle colonne fallito"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Il proprietario del repository è obbligatorio",
- "ownerInvalid": "Formato proprietario repository non valido",
- "nameRequired": "Il nome del repository è obbligatorio",
- "nameInvalid": "Formato nome repository non valido"
- },
"toast": {
- "installedOk": "GitHub App è installata correttamente!",
- "installedMissingPerms": "GitHub App è installata ma mancano permessi richiesti",
- "needsInstallOnRepo": "GitHub App deve essere installata su questo repository",
- "repoNotFound": "Repository non trovato o non accessibile",
"verifyError": "Verifica installazione GitHub fallita",
"installAppFirst": "Installa prima la GitHub App su questo repository",
"missingPermsDetail": "Alla GitHub App mancano permessi richiesti: {{list}}. Aggiorna i permessi dell'app.",
@@ -1274,64 +1265,36 @@
"commentOnDisabled": "Commenti con link alle attività sulle nuove issue sono disattivati",
"settingsUpdateError": "Aggiornamento integrazione GitHub fallito"
},
- "connectionStatus": "Stato Connessione",
- "connectedActive": "Repository connesso e attivo",
- "notConnectedHint": "Nessun repository connesso",
- "badgeConnected": "Connesso",
- "badgeNotConnected": "Non Connesso",
- "repository": "Repository",
- "repositoryHint": "Repository GitHub connesso",
- "commentTaskLinkTitle": "Commenta link Kaneo sulle nuove issue",
- "commentTaskLinkHint": "Quando attivato, Kaneo pubblica un commento su ogni nuova issue GitHub con un link all'attività.",
- "appStatusTitle": "Stato GitHub App",
- "appStatusHint": "Stato installazione e permessi",
- "statusProperlyConfigured": "Configurata correttamente",
- "statusMissingPermissions": "Permessi mancanti",
- "statusNotInstalled": "Non installata",
- "ownerLabel": "Proprietario Repository",
- "ownerHint": "Nome utente o organizzazione GitHub",
- "ownerPlaceholder": "es., octocat",
- "repoNameLabel": "Nome Repository",
- "repoNameHint": "Il nome del repository",
- "repoNamePlaceholder": "es., mio-progetto",
- "actionsTitle": "Azioni",
- "actionsHint": "Gestisci la connessione al tuo repository",
- "browse": "Sfoglia",
- "verify": "Verifica",
- "update": "Aggiorna",
- "connect": "Connetti",
- "disconnect": "Disconnetti",
- "missingPermissionsLabel": "Permessi mancanti:",
- "updatePermissions": "Aggiorna Permessi",
+ "commentTaskLinkTitle": "Commenta con un link Kaneo sulle nuove issue",
+ "commentTaskLinkHint": "Così chi è su GitHub può passare direttamente all'attività.",
+ "updatePermissions": "Aggiorna permessi",
"installGithubApp": "Installa GitHub App",
- "importSectionTitle": "Importa Issue GitHub",
- "importSectionHint": "Importa issue esistenti dal tuo repository GitHub come attività",
- "importing": "Importazione in corso...",
- "importIssues": "Importa Issue",
- "importDisabledHint": "Completa la configurazione del repository sopra per abilitare l'importazione",
+ "importSectionHint": "Importa le issue aperte del repository come attività.",
+ "importDisabledHint": "Ricollega il repository per abilitare l'importazione.",
"accountVerificationHint": "Collega il tuo account GitHub per verificare che amministri questo repository.",
"enableGithubSignInHint": "Chiedi all’amministratore della tua istanza di abilitare l’accesso con GitHub.",
"reverifyHint": "Ricollega questo repository per verificare l’accesso e riprendere la sincronizzazione.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Le sue issue e pull request verranno collegate alle attività qui.",
+ "linkAccountDescription": "Dimostra che puoi amministrare il repository.",
+ "linkAccountTitle": "Collega il tuo account GitHub",
+ "linked": "Collegato",
+ "linkGithub": "Collega GitHub",
+ "verifyMissingPermissions": "Alla Kaneo GitHub App mancano dei permessi: {{list}}.",
+ "verifyNotInstalled": "La Kaneo GitHub App non è installata su questo repository.",
+ "verifyReady": "La Kaneo GitHub App è installata con i permessi necessari.",
+ "workflowHint": "Sposta le attività quando le pull request vengono aperte o unite in",
+ "workflowLink": "Flusso di lavoro"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "L'URL base di Gitea è obbligatorio",
- "baseUrlInvalid": "Inserisci un URL valido (es. https://gitea.esempio.com)",
- "ownerRequired": "Il proprietario del repository è obbligatorio",
- "ownerInvalid": "Formato proprietario repository non valido",
- "nameRequired": "Il nome del repository è obbligatorio",
- "nameInvalid": "Formato nome repository non valido"
+ "baseUrlInvalid": "Inserisci un URL valido (es. https://gitea.esempio.com)"
},
"toast": {
- "verifyOk": "Il token Gitea può accedere a questo repository",
- "verifyWarning": "Controlla i permessi del token o l'accesso al repository",
- "repoNotFound": "Repository non trovato o non accessibile",
"verifyError": "Verifica accesso Gitea fallita",
- "tokenRequired": "Il token di accesso personale è obbligatorio",
- "tokenRequiredVerify": "Inserisci un token per verificare",
"verifyFirst": "Verifica accesso fallita. Controlla URL, token e repository",
"updated": "Integrazione Gitea salvata",
"updateError": "Salvataggio integrazione Gitea fallito",
@@ -1341,56 +1304,22 @@
"importError": "Importazione issue fallita",
"commentOnEnabled": "Kaneo commenterà con un link all'attività sulle nuove issue",
"commentOnDisabled": "Commenti con link alle attività sulle nuove issue sono disattivati",
- "settingsUpdateError": "Aggiornamento integrazione Gitea fallito",
- "secretCopied": "Copiato",
- "unableToCopySecret": "Impossibile copiare il segreto",
- "notGiteaInstance": "L'URL non punta a un'istanza Gitea",
- "redirected": "L'URL di Gitea è stata reindirizzata (di solito verso HTTPS). Usa direttamente l'URL finale."
- },
- "webhookShow": "Mostra",
- "webhookHide": "Nascondi",
- "webhookCopy": "Copia",
- "connectionStatus": "Stato connessione",
- "connectedActive": "Repository connesso e attivo",
- "notConnectedHint": "Nessun repository Gitea connesso",
- "badgeConnected": "Connesso",
- "badgeNotConnected": "Non connesso",
- "repository": "Repository",
- "repositoryHint": "Repository Gitea collegato",
- "commentTaskLinkTitle": "Commenta link Kaneo sulle nuove issue",
- "commentTaskLinkHint": "Quando attivato, Kaneo pubblica un commento su ogni nuova issue con un link all'attività.",
- "webhookTitle": "Webhook",
- "webhookHint": "Nel tuo repository Gitea, aggiungi un webhook con questo URL e segreto. Abilita push, pull request, issue, commenti issue e create (per le etichette).",
- "webhookSecretLabel": "Segreto (deve corrispondere al segreto webhook in Gitea)",
+ "settingsUpdateError": "Aggiornamento integrazione Gitea fallito"
+ },
+ "commentTaskLinkTitle": "Commenta con un link Kaneo sulle nuove issue",
+ "commentTaskLinkHint": "Così chi è su Gitea può passare direttamente all'attività.",
+ "webhookHint": "Aggiungi questo webhook nelle impostazioni del repository, così le modifiche tornano in Kaneo.",
"baseUrlLabel": "URL Gitea",
- "baseUrlHint": "URL principale della tua istanza Gitea",
"tokenLabel": "Token di accesso personale",
- "tokenHint": "Token con accesso a repo e issue",
"tokenPlaceholder": "Incolla token",
"tokenPlaceholderUpdate": "Incolla nuovo token per ruotare",
- "currentToken": "archiviato",
- "ownerLabel": "Proprietario",
- "ownerHint": "Nome utente o organizzazione",
- "repoNameLabel": "Nome repository",
- "repoNameHint": "Solo nome repository (senza proprietario)",
- "actionsTitle": "Azioni",
- "actionsHint": "Verifica accesso e connetti",
- "browse": "Sfoglia",
- "verify": "Verifica",
- "update": "Aggiorna",
- "connect": "Connetti",
- "disconnect": "Disconnetti",
- "importSectionTitle": "Importa issue Gitea",
- "importSectionHint": "Importa issue aperte e pull request dal repository",
- "importing": "Importazione…",
- "importIssues": "Importa issue",
- "importDisabledHint": "Verifica il repository sopra per abilitare l'importazione",
- "browseModalTitle": "I tuoi repository",
- "browseModalHint": "Repository a cui il tuo token può accedere",
- "searchRepos": "Cerca…",
- "browseNeedsCredentials": "Inserisci URL e token Gitea per sfogliare",
- "loadingRepos": "Caricamento repository…",
- "retry": "Riprova"
+ "importSectionHint": "Importa issue e pull request aperte come attività.",
+ "importDisabledHint": "Per importare serve un accesso verificato. Controlla lo stato del token qui sopra.",
+ "browseModalHint": "Repository a cui il tuo token può accedere.",
+ "browseNeedsCredentials": "Inserisci l'URL di Gitea e un token per sfogliare.",
+ "browseEmpty": "Questo token non vede nessun repository.",
+ "chooseRepositoryDescription": "Digita owner/name o scegline uno dall'elenco.",
+ "webhookEvents": "Attiva gli eventi push, pull request, issue, commenti alle issue e create."
},
"slackIntegration": {
"validation": {
@@ -1405,30 +1334,10 @@
"removed": "Integrazione Slack rimossa con successo",
"removeError": "Rimozione integrazione Slack fallita"
},
- "connectionTitle": "Connessione webhook Slack",
- "connectionHint": "Incolla un URL webhook in entrata di Slack e scegli quali eventi delle attività pubblicare.",
- "connected": "Connesso",
- "paused": "In pausa",
- "webhookLabel": "URL webhook in entrata",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Crea un Incoming Webhook in Slack e incolla l'URL generato qui.",
- "channelLabel": "Nome canale",
- "channelPlaceholder": "#aggiornamenti-team",
- "channelHint": "Etichetta opzionale per riferimento. Slack controlla il canale di destinazione effettivo dalla configurazione del webhook.",
- "eventsTitle": "Notifiche eventi",
- "eventsHint": "Scegli quali modifiche del progetto pubblicare su Slack.",
- "events": {
- "taskCreated": "Nuove attività",
- "taskStatusChanged": "Cambiamenti di stato",
- "taskPriorityChanged": "Cambiamenti di priorità",
- "taskTitleChanged": "Cambiamenti di titolo",
- "taskDescriptionChanged": "Cambiamenti di descrizione",
- "taskCommentCreated": "Nuovi commenti"
- },
+ "webhookHint": "Crea un webhook in entrata in Slack e incollalo qui.",
"connect": "Connetti Slack",
- "saveChanges": "Salva modifiche",
- "update": "Aggiorna Slack",
- "disconnect": "Disconnetti"
+ "update": "Aggiorna Slack"
},
"discordIntegration": {
"validation": {
@@ -1443,34 +1352,15 @@
"removed": "Integrazione Discord rimossa con successo",
"removeError": "Rimozione integrazione Discord fallita"
},
- "connectionTitle": "Connessione webhook Discord",
- "connectionHint": "Incolla un URL webhook Discord e scegli quali eventi delle attività pubblicare.",
- "connected": "Connesso",
- "paused": "In pausa",
- "webhookLabel": "URL Webhook",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Crea un webhook del canale Discord e incolla l'URL generato qui.",
- "channelLabel": "Nome canale",
- "channelPlaceholder": "#aggiornamenti-team",
- "channelHint": "Etichetta opzionale per riferimento. Discord controlla il canale di destinazione effettivo dalla configurazione del webhook.",
- "eventsTitle": "Notifiche eventi",
- "eventsHint": "Scegli quali modifiche del progetto pubblicare su Discord.",
- "events": {
- "taskCreated": "Nuove attività",
- "taskStatusChanged": "Cambiamenti di stato",
- "taskPriorityChanged": "Cambiamenti di priorità",
- "taskTitleChanged": "Cambiamenti di titolo",
- "taskDescriptionChanged": "Cambiamenti di descrizione",
- "taskCommentCreated": "Nuovi commenti"
- },
+ "webhookHint": "Crea un webhook del canale in Discord e incollalo qui.",
"connect": "Connetti Discord",
- "saveChanges": "Salva modifiche",
- "update": "Aggiorna Discord",
- "disconnect": "Disconnetti"
+ "update": "Aggiorna Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Inserisci un URL webhook valido"
+ "webhookInvalid": "Inserisci un URL webhook valido",
+ "leadTimeRange": "Scegli un intervallo tra 5 minuti e 720 ore."
},
"toast": {
"saved": "Integrazione webhook generico salvata con successo",
@@ -1481,26 +1371,21 @@
"removed": "Integrazione webhook generico rimossa con successo",
"removeError": "Rimozione integrazione webhook generico fallita"
},
- "connectionTitle": "Connessione webhook in uscita",
- "connectionHint": "Invia eventi delle attività al tuo endpoint come JSON. Un'intestazione X-Kaneo-Signature firmata è inclusa quando viene configurato un segreto.",
- "connected": "Connesso",
- "paused": "In pausa",
"webhookLabel": "URL Endpoint",
"webhookPlaceholder": "https://esempio.com/webhooks/kaneo",
"webhookHint": "Kaneo invia richieste POST con un payload JSON per ogni evento abilitato.",
"secretLabel": "Segreto di firma",
- "secretPlaceholder": "Segreto condiviso opzionale",
- "secretHint": "Opzionale. Se fornito, Kaneo firma il corpo della richiesta e invia l'hex digest nell'intestazione X-Kaneo-Signature.",
- "secretHintConfigured": "Un segreto di firma è già configurato ({{secret}}). Inseriscine uno nuovo per sostituirlo.",
- "eventsTitle": "Notifiche eventi",
- "eventsHint": "Scegli quali modifiche del progetto dovrebbero attivare webhook in uscita.",
+ "secretPlaceholder": "Segreto condiviso",
+ "secretHint": "Kaneo lo usa per firmare ogni richiesta e invia il digest nell'intestazione X-Kaneo-Signature.",
+ "secretHintConfigured": "Segreto attuale: {{secret}}. Incollane uno nuovo per sostituirlo.",
+ "eventsTitle": "Invia quando",
"events": {
- "taskCreated": "Nuove attività",
- "taskStatusChanged": "Cambiamenti di stato",
- "taskPriorityChanged": "Cambiamenti di priorità",
- "taskTitleChanged": "Cambiamenti di titolo",
- "taskDescriptionChanged": "Cambiamenti di descrizione",
- "taskCommentCreated": "Nuovi commenti",
+ "taskCreated": "Attività creata",
+ "taskStatusChanged": "Stato cambiato",
+ "taskPriorityChanged": "Priorità cambiata",
+ "taskTitleChanged": "Titolo cambiato",
+ "taskDescriptionChanged": "Descrizione cambiata",
+ "taskCommentCreated": "Nuovo commento",
"taskDeleted": "Attività eliminata",
"taskMoved": "Attività spostata",
"taskDueDateChanged": "Data scadenza cambiata",
@@ -1508,16 +1393,19 @@
"taskUnassigned": "Attività non assegnata",
"dueDateReminder": "Promemoria scadenza"
},
- "reminderLeadTimeLabel": "Invia il webhook questo numero di ore prima",
+ "reminderLeadTimeLabel": "Ore prima della scadenza di un'attività",
"connect": "Connetti webhook",
- "saveChanges": "Salva modifiche",
- "disconnect": "Disconnetti"
+ "activeTitle": "Invio eventi",
+ "disconnectDescription": "Kaneo smetterà di inviare eventi e rimuoverà l'endpoint e il segreto salvati.",
+ "disconnectTitle": "Disconnettere il webhook?",
+ "reminderLeadTimeAfter": "ore prima della scadenza di un'attività",
+ "reminderLeadTimeBefore": "Invia promemoria"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Inserisci un token bot Telegram valido",
"chatIdRequired": "L'ID chat è obbligatorio",
- "threadIdInvalid": "Inserisci un ID thread topic Telegram valido"
+ "threadIdInvalid": "Inserisci un ID topic valido"
},
"toast": {
"saved": "Integrazione Telegram salvata con successo",
@@ -1528,64 +1416,47 @@
"removed": "Integrazione Telegram rimossa con successo",
"removeError": "Rimozione integrazione Telegram fallita"
},
- "connectionTitle": "Connessione bot Telegram",
- "connectionHint": "Usa un token bot Telegram e un ID chat per inviare aggiornamenti delle attività del progetto in una chat o topic.",
- "connected": "Connesso",
- "paused": "In pausa",
"botTokenLabel": "Token bot",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Crea un bot con BotFather e incolla il suo token qui.",
- "botTokenHintConfigured": "Un token bot è già configurato ({{token}}). Inseriscine uno nuovo per sostituirlo.",
+ "botTokenHintConfigured": "Token attuale: {{token}}",
"chatIdLabel": "ID Chat",
"chatIdPlaceholder": "-1001234567890 o @aggiornamenti_team",
- "chatIdHint": "Inserisci l'ID chat Telegram o il nome utente del canale dove pubblicare gli aggiornamenti.",
- "threadIdLabel": "ID Topic Thread",
- "threadIdPlaceholder": "ID topic opzionale",
- "threadIdHint": "Opzionale. Usa per topic forum all'interno di gruppi Telegram.",
- "chatLabelLabel": "Etichetta chat",
+ "threadIdLabel": "ID topic",
+ "threadIdPlaceholder": "Per i topic dei forum",
+ "chatLabelLabel": "Nome chat",
"chatLabelPlaceholder": "Aggiornamenti Ingegneria",
- "chatLabelHint": "Etichetta opzionale per riferimento all'interno di Kaneo.",
- "eventsTitle": "Notifiche eventi",
- "eventsHint": "Scegli quali modifiche del progetto pubblicare su Telegram.",
- "events": {
- "taskCreated": "Nuove attività",
- "taskStatusChanged": "Cambiamenti di stato",
- "taskPriorityChanged": "Cambiamenti di priorità",
- "taskTitleChanged": "Cambiamenti di titolo",
- "taskDescriptionChanged": "Cambiamenti di descrizione",
- "taskCommentCreated": "Nuovi commenti"
- },
"connect": "Connetti Telegram",
- "saveChanges": "Salva modifiche",
- "disconnect": "Disconnetti"
+ "botTokenSavedPlaceholder": "Salvato. Incolla un nuovo token per sostituirlo.",
+ "loadError": "Impossibile caricare le impostazioni di Telegram."
},
"repositoryBrowser": {
- "title": "Seleziona Repository",
- "description": "Scegli un repository dove la tua GitHub App è installata per abilitare la sincronizzazione delle issue.",
- "searchPlaceholder": "Cerca repository...",
- "loadError": "Caricamento repository fallito",
+ "title": "Scegli un repository",
+ "description": "Repository visibili alla Kaneo GitHub App.",
+ "searchPlaceholder": "Cerca repository",
+ "loadError": "Impossibile caricare i repository.",
"tryAgain": "Riprova",
- "emptyTitle": "Nessun repository trovato",
+ "emptyTitle": "Ancora nessun repository",
"emptyHint": "Installa la GitHub App sui tuoi repository per vederli qui.",
"installGithubApp": "Installa GitHub App",
- "noSearchMatchTitle": "Nessun repository corrisponde alla ricerca",
- "noSearchMatchHint": "Prova a modificare i termini di ricerca o cancella la ricerca per vedere tutti i repository.",
- "footerSummary": "{{repoCount}} repository in {{installationCount}} installazioni",
- "manageInstallations": "Gestisci Installazioni",
- "updatedPrefix": "Aggiornato",
- "relativeJustNow": "proprio ora",
- "relativeMinutesAgo": "{{count}}m fa",
- "relativeHoursAgo": "{{count}}h fa",
- "relativeDaysAgo": "{{count}}g fa"
+ "noSearchMatchTitle": "Nessun repository corrispondente",
+ "noSearchMatchHint": "Prova un altro nome o cancella la ricerca.",
+ "emptyPageHint": "Nessuno in questa pagina. Carica altri per continuare a cercare.",
+ "loadMore": "Carica altri",
+ "manageAccess": "Gestisci l'accesso dell'app",
+ "missingOne": "Ne manca uno?",
+ "searching": "Ricerca in corso…",
+ "updated": "Aggiornato {{time}}",
+ "useRepository": "Usa repository"
},
"tasksImportExport": {
- "exportTasks": "Esporta Attività",
- "importTasks": "Importa Attività",
- "dialogTitle": "Importa Attività",
+ "exportTasks": "Esporta attività",
+ "importTasks": "Importa attività",
+ "dialogTitle": "Importa attività",
"dialogDescription": "Carica un file JSON contenente attività da importare in questo progetto.",
"expectedFormat": "Formato atteso:",
"dropHint": "Trascina e rilascia il tuo file JSON qui",
- "selectFile": "Seleziona File",
+ "selectFile": "Seleziona file",
"exporting": "Esportazione attività in corso...",
"exportSuccess": "Attività esportate con successo",
"exportError": "Esportazione attività fallita",
@@ -1595,27 +1466,26 @@
"importError": "Importazione attività fallita",
"invalidFormat": "Formato file di importazione non valido",
"noFileDropped": "Nessun file trascinato",
- "notJsonFile": "Carica un file JSON"
+ "notJsonFile": "Carica un file JSON",
+ "export": "Esporta",
+ "exportDescription": "Scarica tutte le attività di questo progetto in un file.",
+ "import": "Importa",
+ "importDescription": "Aggiungi attività da un file esportato in precedenza."
},
"workflowEditor": {
- "loading": "Caricamento...",
- "createColumnsFirst": "Crea prima le colonne per configurare le regole di automazione.",
- "githubHeading": "GitHub",
- "githubHint": "Quando si verifica un evento GitHub, sposta l'attività collegata in una colonna.",
- "giteaHeading": "Gitea",
- "giteaHint": "Quando si verifica un evento webhook Gitea, sposta l'attività collegata in una colonna.",
- "selectColumnPlaceholder": "Seleziona colonna...",
- "toastUpdated": "Regola flusso di lavoro aggiornata",
"toastError": "Aggiornamento regola fallito",
"events": {
- "branch_push": "Push Ramo",
- "pr_opened": "PR Aperta",
- "pr_merged": "PR Unita",
- "issue_opened": "Issue Aperta",
- "issue_closed": "Issue Chiusa"
- },
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "branch_push": "Push di un branch",
+ "pr_opened": "Pull request aperta",
+ "pr_merged": "Pull request unita",
+ "issue_opened": "Issue aperta",
+ "issue_closed": "Issue chiusa"
+ },
+ "connectMore": "Collega {{providers}} in <link>Integrazioni</link> per automatizzare anche questi.",
+ "dontMove": "Non spostare",
+ "emptyDescription": "Le automazioni richiedono un repository GitHub, Gitea o GitLab connesso.",
+ "emptyTitle": "Nessun repository connesso",
+ "openIntegrations": "Apri integrazioni"
},
"externalLinks": {
"resources": "Risorse",
@@ -1634,26 +1504,7 @@
"removeError": "Failed to remove the resource link."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1667,58 +1518,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Crea un webhook in entrata in Mattermost e incollalo qui.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Casella di controllo",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Menu a tendina, scelta multipla"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Rimuovi valore predefinito",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Azioni per {{name}}",
+ "addOption": "Aggiungi un'opzione",
+ "allowSeveral": "Consenti più valori",
+ "allowSeveralDescription": "Un'attività può avere più di un'opzione.",
+ "checked": "Selezionata",
+ "createField": "Crea campo",
+ "defaultDescription": "Le nuove attività partono con questo valore.",
+ "deleteConfirm": "Elimina campo",
+ "deleteDescription": "Il campo e il suo valore verranno rimossi da tutte le attività. L'operazione non può essere annullata.",
+ "deleteTitle": "Eliminare “{{name}}”?",
+ "dialogDescription": "Tutte le attività di {{project}} avranno questo campo.",
+ "dialogDescriptionFallback": "Tutte le attività di questo progetto avranno questo campo.",
+ "dragAria": "Riordina {{name}}",
+ "dragOptionAria": "Riordina {{option}}",
+ "edit": "Modifica",
+ "editTitle": "Modifica campo",
+ "emptyDescription": "Tieni traccia di informazioni come dimensione, cliente o data di lancio su ogni attività.",
+ "emptyTitle": "Ancora nessun campo personalizzato",
+ "issues": {
+ "defaultRequired": "I campi obbligatori richiedono un valore predefinito.",
+ "moreOptionsRequired": "Aggiungi almeno due opzioni per consentire più valori.",
+ "optionsRequired": "Aggiungi almeno un'opzione."
+ },
+ "nameLabel": "Nome",
+ "newTitle": "Nuovo campo",
+ "noDefault": "Nessun valore predefinito",
+ "optionsLabel": "Opzioni",
+ "removeOptionAria": "Rimuovi {{option}}",
+ "renameOptionAria": "Rinomina {{option}}",
+ "requiredDescription": "Ogni attività ha sempre un valore.",
+ "save": "Salva",
+ "saving": "Salvataggio in corso...",
+ "startsAs": "Valore iniziale: “{{value}}”",
+ "startsAt": "Valore iniziale: {{value}}",
+ "startsChecked": "Inizialmente selezionata",
+ "startsOn": "Data iniziale: {{date}}",
+ "startsUnchecked": "Inizialmente non selezionata",
+ "typeLabel": "Tipo",
+ "typeLocked": "Il tipo non può essere modificato dopo la creazione del campo.",
+ "unchecked": "Non selezionata",
+ "updateError": "Salvataggio del campo personalizzato fallito.",
+ "updateSuccess": "Campo personalizzato salvato."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Disattiva",
+ "edit": "Modifica",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Riattiva"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Ruolo",
"status": "Status",
"user": "User"
},
@@ -1740,7 +1623,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Tutti gli utenti",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1753,7 +1636,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1761,20 +1643,20 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Amministratore",
"user": "User"
},
"searchCount_many": "{{count}} matching users",
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Cerca per nome o email",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Tutte le persone con un account su questa istanza Kaneo.",
+ "title": "Utenti",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1783,10 +1665,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_many": "{{count}} registered users",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Tu"
},
"security": "Security",
"securityPage": {
@@ -1801,11 +1680,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Accesso",
+ "submit": "Cambia password",
+ "submitting": "Modifica in corso...",
+ "subtitle": "Come accedi a Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1815,94 +1693,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Cambia password",
+ "dialogDescription": "Almeno 8 caratteri, diversa da quella attuale.",
+ "dialogTitle": "Cambia password",
+ "passwordHint": "Usa almeno 8 caratteri e una password che non usi altrove.",
+ "passwordTitle": "Password"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Progetti di cui il tuo token è membro.",
+ "browseNeedsCredentials": "Inserisci l'URL di GitLab e un token per sfogliare.",
+ "commentTaskLinkHint": "Così chi è su GitLab può passare direttamente all'attività.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Importa issue e merge request aperte come attività.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Cerca progetti",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Aggiungi questo webhook nelle impostazioni del progetto, così le modifiche tornano in Kaneo.",
+ "loadProjectsError": "Impossibile caricare i progetti.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Questo token non è membro di nessun progetto.",
+ "chooseProjectDescription": "Digita il suo percorso o scegline uno dall'elenco.",
+ "noSearchMatchTitle": "Nessun progetto corrispondente",
+ "useProject": "Usa progetto",
+ "webhookEvents": "Attiva gli eventi push, issue, commenti e merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Includi solo le etichette",
+ "selectLabels": "Aggiungi etichetta",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1910,20 +1755,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Feed",
+ "allScheduledTasks": "Tutte le attività pianificate",
+ "subscribeHint": "Aggiungi un link alla tua app di calendario come iscrizione. Gli aggiornamenti compaiono quando l'app aggiorna il feed.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Copiato",
+ "dialogDescription": "Le attività con una data di inizio o di scadenza compaiono nel feed.",
+ "dialogTitle": "Nuovo feed calendario",
+ "emptyDescription": "Crea un feed per vedere le attività pianificate nella tua app di calendario.",
+ "emptyTitle": "Ancora nessun feed calendario",
+ "feedActions": "Azioni del feed",
+ "labelsHint": "Lascia vuoto per includere tutte le attività pianificate.",
+ "newFeed": "Nuovo feed",
+ "revokeConfirm": "Revoca feed",
+ "revokeConfirmDescription": "Le app di calendario che usano questo link non riceveranno più aggiornamenti. L'operazione non può essere annullata.",
+ "revokeConfirmTitle": "Revocare questo feed?",
+ "revoking": "Revoca in corso…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1935,7 +1789,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1968,7 +1821,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1979,7 +1831,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Fatture, metodo di pagamento e disdetta sono gestiti su Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -2004,15 +1856,15 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Il tuo piano per {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_many": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_many": "{{count}} di giorni rimanenti",
+ "badgeDaysLeft_one": "{{count}} giorno rimanente",
+ "badgeDaysLeft_other": "{{count}} giorni rimanenti"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2032,15 +1884,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2057,9 +1906,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_many": "{{count}} paused links",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2078,16 +1924,30 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Cosa si sincronizza",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Tutte le issue",
+ "allTasks": "Tutte le attività",
+ "edit": "Modifica",
+ "hidePaused": "Nascondi",
+ "issuesLabelled": "Issue con etichetta",
+ "joinAnd": "e",
+ "joinOr": "o",
+ "kaneoToProvider": "Da Kaneo a {{provider}}",
+ "pausedSummary_many": "{{count}} di attività hanno smesso di sincronizzarsi perché non rispettavano più le regole di sincronizzazione.",
+ "pausedSummary_one": "{{count}} attività ha smesso di sincronizzarsi perché non rispettava più le regole di sincronizzazione.",
+ "pausedSummary_other": "{{count}} attività hanno smesso di sincronizzarsi perché non rispettavano più le regole di sincronizzazione.",
+ "providerToKaneo": "Da {{provider}} a Kaneo",
+ "reviewPaused": "Rivedi",
+ "tasksLabelled": "Attività con etichetta"
+ },
+ "advancedSettingsDescription": "Mostra controlli aggiuntivi, come le regole di sincronizzazione delle integrazioni. Solo su questo browser.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2124,23 +1984,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Tutti i workspace",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_many": "{{count}} members",
"count_one": "{{count}} member",
"count_other": "{{count}} members",
@@ -2163,9 +2015,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Cerca per nome o slug",
+ "subtitle": "Tutti i workspace di questa istanza Kaneo, compresi quelli di cui non fai parte.",
+ "title": "Workspace",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2175,10 +2027,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_many": "{{count}} workspaces",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2469,6 +2318,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Disattiva per mettere in pausa senza perdere la configurazione.",
+ "activeTitle": "Pubblicazione su {{provider}}",
+ "channelHint": "Solo un nome da mostrare in questo elenco.",
+ "channelLabel": "Canale",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Disconnetti",
+ "disconnectDescription": "Kaneo smetterà di pubblicare su {{provider}} e rimuoverà le impostazioni salvate.",
+ "disconnecting": "Disconnessione in corso…",
+ "disconnectTitle": "Disconnettere {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Qualcuno commenta",
+ "taskCreated": "Viene creata un'attività",
+ "taskDescriptionChanged": "Cambia la descrizione",
+ "taskPriorityChanged": "Cambia la priorità",
+ "taskStatusChanged": "Cambia lo stato",
+ "taskTitleChanged": "Cambia il titolo"
+ },
+ "optional": "Opzionale",
+ "postWhen": "Pubblica quando",
+ "retry": "Riprova",
+ "saveChanges": "Salva modifiche",
+ "savedUrlPlaceholder": "Salvato. Incolla un nuovo URL per sostituirlo.",
+ "webhookUrlLabel": "URL webhook"
+ },
+ "codeHosting": {
+ "browse": "Sfoglia",
+ "changeToken": "Cambia token",
+ "checking": "Verifica dell'accesso…",
+ "chooseProjectTitle": "Scegli un progetto",
+ "chooseRepositoryTitle": "Scegli un repository",
+ "connectProject": "Collega progetto",
+ "connectRepository": "Collega repository",
+ "copied": "Copiato",
+ "copyFailed": "Impossibile copiare negli appunti.",
+ "copySecret": "Copia segreto",
+ "copyUrl": "Copia URL webhook",
+ "disconnect": "Disconnetti",
+ "disconnectDescription": "Le attività smetteranno di sincronizzarsi con {{target}}. Potrai ricollegarlo in seguito.",
+ "disconnecting": "Disconnessione in corso…",
+ "disconnectTitle": "Disconnettere {{provider}}?",
+ "hideSecret": "Nascondi segreto",
+ "importing": "Importazione in corso…",
+ "importIssues": "Importa issue",
+ "importNeedsReconnect": "Ricollega per abilitare l'importazione.",
+ "importTitle": "Importa issue aperte",
+ "issuesSection": "Issue",
+ "lastImport": "Ultima importazione: {{imported}} create, {{updated}} aggiornate, {{skipped}} saltate.",
+ "loadError": "Impossibile caricare questa integrazione.",
+ "pausedHint": "La sincronizzazione è in pausa. Ricollega per riprenderla.",
+ "projectSection": "Progetto",
+ "reconnect": "Ricollega",
+ "repositoryPathInvalid": "Inserisci il repository nel formato owner/name.",
+ "repositoryPathLabel": "Repository",
+ "repositorySection": "Repository",
+ "retry": "Riprova",
+ "saveToken": "Salva token",
+ "showSecret": "Mostra segreto",
+ "signInDescription": "Usa un token in grado di leggere il progetto e le sue issue.",
+ "signInTitle": "Accedi alla tua istanza",
+ "tokenStored": "Token salvato",
+ "tokenTitle": "Token di accesso",
+ "webhookSecret": "Segreto",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Trascina per cambiare l'ordine in cui compaiono in un'attività.",
+ "fieldsTitle": "Campi",
+ "newField": "Nuovo campo",
+ "pageTitle": "Campi personalizzati",
+ "subtitle": "Dettagli aggiuntivi che ogni attività di {{project}} può tracciare, come dimensione o cliente.",
+ "subtitleFallback": "Dettagli aggiuntivi che ogni attività di questo progetto può tracciare, come dimensione o cliente.",
+ "title": "Campi personalizzati"
+ },
+ "shared": {
+ "autosave": "Le modifiche vengono salvate automaticamente"
}
},
"navigation": {
diff --git a/i18n/ja-JP.json b/i18n/ja-JP.json
index 9de81a757..b3938441e 100644
--- a/i18n/ja-JP.json
+++ b/i18n/ja-JP.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "無期限"
- },
"modals": {
"createProject": {
"title": "新しいプロジェクトを作成",
@@ -561,41 +558,35 @@
"advancedSettings": "詳細設定",
"account": "アカウント",
"developer": "開発者",
- "information": "基本情報",
+ "information": "プロフィール",
"notifications": "通知",
"preferences": "環境設定",
"apiKeys": "APIキー",
"informationPage": {
- "pageTitle": "基本情報",
- "title": "基本情報",
- "subtitle": "個人情報およびアカウント情報を管理します。",
- "sectionTitle": "アカウント情報",
- "sectionSubtitle": "プロフィールおよびアカウントの詳細を管理します。",
+ "pageTitle": "プロフィール",
+ "title": "プロフィール",
+ "subtitle": "チームメイトにどのように表示されるかを設定します。",
+ "sectionTitle": "詳細",
"profilePicture": "プロフィール画像",
- "fullName": "氏名",
+ "fullName": "名前",
"fullNamePlaceholder": "名前を入力",
"email": "メールアドレス",
- "emailPlaceholder": "メールアドレスを入力",
- "updateSuccess": "プロフィールを更新しました",
"updateError": "プロフィールの更新に失敗しました",
"validation": {
"nameRequired": "名前は必須です",
- "nameShort": "名前は2文字以上で入力してください",
- "invalidEmail": "有効なメールアドレスを入力してください"
+ "nameShort": "名前は2文字以上で入力してください"
},
"avatar": {
- "hint": "画像をクリックして変更または削除できます。正方形にトリミングされ、256x256にリサイズされます。",
- "remove": "プロフィール画像を削除",
+ "hint": "正方形の画像がおすすめです。",
+ "remove": "削除",
"updateSuccess": "プロフィール画像を更新しました",
"updateError": "プロフィール画像の更新に失敗しました",
"removeSuccess": "プロフィール画像を削除しました",
"removeError": "プロフィール画像の削除に失敗しました",
- "edit": "プロフィール画像を変更",
- "change": "プロフィール画像を変更"
+ "upload": "アップロード"
},
"deleteAccount": {
"sectionTitle": "危険な操作",
- "sectionSubtitle": "アカウント全体に影響する取り消し不可能な操作です。",
"title": "アカウントを削除",
"description": "あなただけが所属するワークスペースはアカウントとともに削除されます。その他のワークスペースでは、タスクは未割り当てのまま残り、コメントは削除されます。",
"modalTitle": "アカウントを削除しますか?",
@@ -605,34 +596,32 @@
"success": "アカウントを削除しました",
"error": "アカウントの削除に失敗しました",
"sessionTooOld": "セキュリティのため、アカウントを削除する前に一度サインアウトして再サインインしてください。"
- }
+ },
+ "emailHint": "このアドレスでサインインします。"
},
"notificationsPage": {
"pageTitle": "通知",
"title": "通知",
- "subtitle": "Kaneo からのアカウント通知の配信方法と使用するチャンネルを選択します。",
+ "subtitle": "Kaneo が何を通知し、どこに届けるかを設定します。",
"statusConnected": "接続済み",
"statusPaused": "一時停止中",
"emailTitle": "メール",
- "emailDescription": "アカウントのメールアドレスを通知の送信先として使用します。",
- "accountEmailLabel": "アカウントのメールアドレス",
"accountEmailNoAddress": "登録されているメールアドレスがありません",
- "accountEmailHint": "メール通知は常にサインイン中のアカウントのメールアドレスに送信されます。",
"saveChanges": "変更を保存",
"disconnect": "接続を解除",
"ntfyTitle": "ntfy",
- "ntfyDescription": "アカウント通知を ntfy トピックに配信します。",
+ "ntfyDescription": "スマートフォンやデスクトップの ntfy トピックに配信します。",
"serverUrl": "サーバーURL",
"topic": "トピック",
"token": "トークン",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "ベアラートークン(任意)",
+ "ntfyTokenPlaceholder": "サーバーで必要な場合のみ",
"ntfyTokenHintConfigured": "トークンはすでに設定されています ({{masked}})。変更する場合は新しいトークンを入力してください。",
- "ntfyTokenHintOptional": "任意。ntfy サーバーで認証が必要な場合はトークンを指定してください。",
+ "ntfyTokenHintOptional": "ntfy サーバーで認証が必要な場合に使用します。",
"connectNtfy": "ntfy を接続",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Gotify サーバーにアカウント通知を送信します。",
+ "gotifyDescription": "Gotify サーバーに通知を送信します。",
"gotifyTokenLabel": "アプリトークン",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify アプリトークン",
@@ -640,52 +629,26 @@
"gotifyTokenHintRequired": "必須。Gotify サーバーのアプリケーショントークンを使用してください。",
"connectGotify": "Gotify を接続",
"webhookTitle": "カスタム Webhook",
- "webhookDescription": "アカウント通知を独自のエンドポイントに JSON 形式で送信します。",
+ "webhookDescription": "各通知を JSON 形式で独自のエンドポイントに送信します。",
"endpointUrl": "エンドポイントURL",
"signingSecret": "署名シークレット",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "共有シークレット(任意)",
"webhookSecretHintConfigured": "署名シークレットはすでに設定されています ({{masked}})。変更する場合は新しいシークレットを入力してください。",
- "webhookSecretHintOptional": "任意。シークレットを設定すると、Kaneo はリクエスト本文に署名を付与します。",
+ "webhookSecretHintOptional": "シークレットを設定すると、Kaneo はリクエスト本文に署名します。",
"connectWebhook": "Webhook を接続",
- "workspaceRulesTitle": "ワークスペースの配信ルール",
- "workspaceRulesDescription": "全体設定のチャンネルを使用し、ワークスペースやプロジェクトごとに通知の送信条件を設定します。",
- "workspaceCardHint": "このワークスペースのアカウント通知で使用するチャンネルを選択します。",
- "workspaceEnabledLabel": "{{workspaceName}} の通知を有効にする",
"eventPreferencesTitle": "通知を受け取るイベント",
- "eventPreferencesDescription": "アプリ内通知を生成し、接続中のチャンネルに配信するタスクイベントを選択します。",
- "eventTaskAssignments": "タスクの割り当て",
+ "eventPreferencesDescription": "自分のコメント、メンション、ステータス変更では通知されません。",
+ "eventTaskAssignments": "割り当て",
"eventComments": "コメントとメンション",
- "eventCommentsHint": "自分に割り当てられたタスクへの新規コメントや、自分宛ての @メンションが含まれます。",
- "eventStatusChanges": "タスクのステータス変更",
- "eventDueDateReminders": "期限のリマインダー",
+ "eventCommentsHint": "自分のタスクへの新しいコメントと、あなたへの @メンション。",
+ "eventStatusChanges": "ステータスの変更",
+ "eventDueDateReminders": "期限リマインダー",
"reminderLeadTimeLabel": "期限前にリマインド",
- "reminderLeadTimeHint": "期限の1時間前から30日前までの間で設定できます。期限切れ通知は個別に送信されます。",
- "reminderLeadTimeUnitHours": "時間",
- "reminderLeadTimeUnitDays": "日",
"reminderLeadTimeInvalid": "1 から {{max}} までの整数を入力してください。",
"saveEventPreferences": "通知タイプを保存",
- "workspaceCardLabelEmail": "メール",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "カスタム Webhook",
- "emailChannelHintEnabled": "該当するワークスペースの通知をメールで送信します。",
- "emailChannelHintDisabled": "最初に全体設定でメールを設定して有効にしてください。",
- "ntfyChannelHintEnabled": "該当するワークスペースの通知を ntfy に送信します。",
- "ntfyChannelHintDisabled": "最初に全体設定で ntfy を設定して有効にしてください。",
- "gotifyChannelHintEnabled": "該当するワークスペースの通知を Gotify に送信します。",
- "gotifyChannelHintDisabled": "最初に全体設定で Gotify を設定して有効にしてください。",
- "webhookChannelHintEnabled": "該当するワークスペースの通知を Webhook に送信します。",
- "webhookChannelHintDisabled": "最初に全体設定で Webhook を設定して有効にしてください。",
- "projectScope": "プロジェクトの対象範囲",
- "projectScopeDescription": "デフォルトではすべてのプロジェクトが含まれます。特定のプロジェクトからの通知のみを受信したい場合は絞り込んでください。",
"allProjects": "すべてのプロジェクト",
- "allProjectsDescription": "このワークスペース内のすべてのプロジェクトから通知を配信します。",
- "selectedProjects": "選択したプロジェクト",
- "selectedProjectsDescription": "選択したプロジェクトからの通知のみを配信します。",
"noProjectsInWorkspace": "このワークスペースにはまだプロジェクトがありません。",
- "createRule": "ルールを作成",
- "removeRule": "ルールを削除",
"toastEmailSaved": "メール通知設定を保存しました",
"toastEmailSaveFailed": "メール通知設定の保存に失敗しました",
"toastNtfySaved": "ntfy 設定を保存しました",
@@ -708,137 +671,161 @@
"toastPreferencesSaveFailed": "通知設定の保存に失敗しました",
"toastRuleSavedGeneric": "ワークスペースの通知ルールを保存しました",
"toastRuleRemovedGeneric": "ワークスペースの通知ルールを削除しました",
- "recipientHint": "自分に割り当てられたタスクへのコメントやステータスの変更が通知されます。メンションは選択したメンバーに通知されます。自分のコメント、メンション、ステータスの変更は自分には通知されません。"
+ "channelNotConnected": "未接続",
+ "channelOff": "オフ",
+ "channelsDescription": "通知は常に Kaneo に表示されます。チャンネルを接続すると、ほかの場所でも受け取れます。",
+ "channelsTitle": "チャンネル",
+ "configure": "設定",
+ "configureChannel": "{{channel}} を設定",
+ "configureWorkspace": "{{workspaceName}} の通知設定を変更",
+ "connect": "接続",
+ "connectChannel": "{{channel}} を接続",
+ "disconnectDescription": "{{channel}} への通知は停止し、保存済みの設定は削除されます。",
+ "disconnecting": "接続を解除しています...",
+ "disconnectTitle": "{{channel}} との接続を解除しますか?",
+ "done": "完了",
+ "emailToggleLabel": "メールで通知を送信",
+ "eventDueDateRemindersHint": "自分のタスクの期限が来る前。期限切れのタスクは別途通知されます。",
+ "eventStatusChangesHint": "自分のタスクが別のカラムに移動したとき。",
+ "eventTaskAssignmentsHint": "誰かがあなたにタスクを割り当てたとき。",
+ "loadFailed": "通知設定を読み込めませんでした。",
+ "onlyInKaneo": "Kaneo 内のみ",
+ "optional": "任意",
+ "projectCount_other": "{{count}} 件のプロジェクト",
+ "reminderLeadTimeUnitDaysBefore_other": "日前",
+ "reminderLeadTimeUnitHoursBefore_other": "時間前",
+ "reminderLeadTimeUnitLabel": "リマインダーの単位",
+ "ruleActiveDescription": "オフにすると、設定を残したままこのワークスペースを一時停止できます。",
+ "ruleActiveLabel": "送信中",
+ "ruleChannels": "チャンネル",
+ "ruleDialogDescription": "このワークスペースの通知の送信先です。",
+ "ruleDialogTitle": "{{workspaceName}} の通知",
+ "ruleProjects": "プロジェクト",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "保存",
+ "sendingDescription": "オフにすると、設定を残したままこのチャンネルを一時停止できます。",
+ "sendingLabel": "送信中",
+ "setUp": "設定する",
+ "setUpWorkspace": "{{workspaceName}} の通知を設定",
+ "someProjects": "一部のみ",
+ "statusOn": "オン",
+ "statusSending": "送信中",
+ "stopping": "停止しています...",
+ "stopSending": "送信を停止",
+ "stopSendingDescription": "このワークスペースからの通知は Kaneo 内にのみ表示されます。",
+ "stopSendingTitle": "{{workspaceName}} からの送信を停止しますか?",
+ "workspacesDescription": "チャンネルを使用できるワークスペースとプロジェクトを選択します。",
+ "workspacesTitle": "ワークスペース"
},
"preferencesPage": {
"title": "環境設定",
- "subtitle": "Kaneo の利用環境をカスタマイズします。",
- "appearanceTitle": "外観",
- "appearanceSubtitle": "外観とレイアウトの設定を行います。",
+ "subtitle": "Kaneo の見た目と動作を自分好みに設定します。",
+ "appearanceTitle": "一般",
"theme": "テーマ",
- "themeDescription": "お好みのカラースキームを選択してください",
"selectTheme": "テーマを選択",
"themeLight": "ライト",
"themeDark": "ダーク",
- "themeSystem": "システム",
+ "themeSystem": "システムに合わせる",
"language": "言語",
- "languageDescription": "表示言語を選択してください",
"selectLanguage": "言語を選択",
- "firstDayOfWeek": "週の始まりの曜日",
- "firstDayOfWeekDescription": "カレンダーや週の表示を開始する曜日を選択してください",
+ "firstDayOfWeek": "週の始まり",
+ "firstDayOfWeekDescription": "カレンダーと日付の選択で使用されます。",
"selectFirstDayOfWeek": "開始曜日を選択",
"weekStartsOnSunday": "日曜日",
"weekStartsOnMonday": "月曜日",
"weekStartsOnSaturday": "土曜日",
"defaultView": "デフォルトのビュー",
- "defaultViewDescription": "デフォルトのタスク表示モードを選択してください",
+ "defaultViewDescription": "プロジェクトを開いたときに表示されるビューです。",
"selectViewMode": "ビューモードを選択",
"board": "ボード",
"list": "リスト",
"gantt": "ガント",
- "sidebarDefault": "サイドバーのデフォルト状態",
- "sidebarDefaultDescription": "起動時にサイドバーを展開した状態に保ちます",
- "displayOptions": "表示オプション",
- "displayOptionsDescription": "タスクビューに表示する情報を選択します",
+ "sidebarDefault": "サイドバーを開いたままにする",
+ "sidebarDefaultDescription": "サイドバーを展開した状態で開始します。",
+ "displayOptions": "タスクの詳細",
+ "displayOptionsDescription": "ボードとリストのカードや行に表示する情報です。",
"taskNumbers": "タスク番号",
- "taskNumbersDescription": "タスク ID と番号を表示します",
"assignees": "担当者",
- "assigneesDescription": "タスクの担当者を表示します",
"dueDates": "期限",
- "dueDatesDescription": "タスクの期限を表示します",
"labels": "ラベル",
- "labelsDescription": "タスクのラベルとタグを表示します",
"priority": "優先度",
- "priorityDescription": "優先度インジケーターを表示します",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "プロジェクトがボードの背景に設定した画像を表示します。",
+ "advancedTitle": "詳細設定"
},
"developerPage": {
- "pageTitle": "開発者設定",
- "title": "開発者設定",
- "subtitle": "APIキーと開発者向けリソースを管理します。",
- "apiKeysCardTitle": "APIキー",
- "apiKeysCardDescription": "Kaneo にプログラムからアクセスするための API キーを作成・管理します。",
- "createApiKey": "APIキーを作成",
- "unnamedKey": "名称未設定のキー"
+ "pageTitle": "APIキー",
+ "title": "APIキー",
+ "subtitle": "スクリプト、CLI、MCP クライアントがあなたとして Kaneo を利用できるようにします。",
+ "unnamedKey": "名前なし",
+ "emptyDescription": "キーを作成すると、CLI、MCP クライアント、独自のスクリプトから利用できます。",
+ "emptyTitle": "APIキーはまだありません",
+ "keysNote": "キーはあなたができることをすべて実行できます。使わなくなったキーは削除してください。",
+ "keysTitle": "キー",
+ "loadError": "APIキーを読み込めませんでした。もう一度お試しください。",
+ "newKey": "新しいキー"
},
"apiKey": {
"createdModal": {
- "title": "APIキーを作成しました",
- "description": "APIキー「{{keyName}}」を作成しました。",
- "yourApiKey": "APIキー",
+ "title": "キーをコピー",
+ "description": "閉じると二度と表示されません。",
"copy": "コピー",
"copied": "コピー完了",
- "toastCopied": "APIキーをクリップボードにコピーしました",
- "alertTitle": "APIキーを作成しました",
- "alertDescription": "このキーを今すぐコピーしてください。再度表示することはできません。",
"done": "完了",
- "copyToContinue": "キーをコピーして続行"
+ "copyError": "キーをコピーできませんでした。選択して手動でコピーしてください。"
},
"table": {
- "loading": "APIキーを読み込み中...",
- "empty": "APIキーはまだありません。作成して始めましょう。",
- "columnName": "名前",
- "columnKey": "キー",
- "columnCreated": "作成日時",
- "columnExpires": "有効期限",
- "columnActions": "操作",
- "unnamedKey": "名称未設定のキー",
- "expiredBadge": "期限切れ {{label}}",
- "deleteConfirmTitle": "APIキーを削除しますか?",
- "deleteConfirmDescription": "この操作は取り消せません。これにより {{name}} は完全に削除されます。",
- "deleteFallbackName": "このAPIキー",
- "delete": "削除",
- "deleting": "削除中...",
- "deleteAria": "{{name}} を削除",
- "deleteAriaFallback": "APIキー",
+ "deleteConfirmTitle": "「{{name}}」を削除しますか?",
+ "deleteConfirmDescription": "このキーを使用しているものはすべて動作しなくなります。この操作は取り消せません。",
+ "delete": "キーを削除",
+ "deleting": "削除しています…",
"toastDeleted": "APIキーを削除しました",
- "toastDeleteError": "APIキーの削除に失敗しました"
+ "toastDeleteError": "APIキーを削除できませんでした"
},
"createDialog": {
- "title": "APIキーを作成",
- "description": "Kaneo API にプログラムからアクセスするための新しい API キーを作成します。",
+ "title": "新しいAPIキー",
+ "description": "このキーはあなたができることをすべて実行できます。",
"nameLabel": "名前",
"namePlaceholder": "マイAPIキー",
- "nameDescription": "この API キーのわかりやすい名前",
+ "nameDescription": "どこで使っているか分かるようにするための名前です。",
"expirationLabel": "有効期限",
- "expirationPlaceholder": "有効期限を選択",
- "expirationDescription": "この API キーの有効期間を選択してください。「無期限」を選択すると、自動失効しないキーが作成されます。",
"expiration1d": "1日",
"expiration7d": "7日",
"expiration30d": "30日",
"expiration90d": "90日",
"expirationNever": "無期限",
- "create": "作成",
- "creating": "作成中...",
- "failedCreate": "APIキーの作成に失敗しました",
+ "create": "キーを作成",
+ "creating": "作成しています…",
+ "failedCreate": "APIキーを作成できませんでした",
"validation": {
- "nameRequired": "名前は必須です",
- "nameShort": "名前は3文字以上で入力してください",
- "expirationRequired": "有効期限を選択してください"
+ "nameRequired": "名前を入力してください",
+ "nameShort": "3 文字以上で入力してください"
}
+ },
+ "row": {
+ "actions": "{{name}} の操作",
+ "created": "作成日: {{date}}",
+ "expired": "期限切れ: {{date}}",
+ "expiredBadge": "期限切れ",
+ "expires": "有効期限: {{date}}",
+ "neverExpires": "無期限"
}
},
"workspaceGeneral": {
"pageTitle": "一般設定",
- "title": "一般設定",
- "subtitle": "ワークスペースの名前と説明を管理します。",
- "workspaceInfoTitle": "ワークスペース情報",
- "workspaceInfoSubtitle": "ワークスペースの詳細と基本設定を管理します。",
- "nameLabel": "ワークスペース名",
- "nameHint": "ワークスペースの名前",
+ "title": "一般",
+ "subtitle": "{{name}} の名前とオーナーです。",
+ "workspaceInfoTitle": "ワークスペース",
+ "nameLabel": "名前",
"namePlaceholder": "ワークスペース名を入力",
"descriptionLabel": "説明",
- "descriptionHint": "ワークスペースの簡単な説明",
- "descriptionPlaceholder": "ワークスペースの説明を入力",
+ "descriptionPlaceholder": "チームではどんな仕事をしていますか?",
"dangerZone": "危険な操作",
- "dangerZoneSubtitle": "取り消し不可能な破壊的操作です。",
"deleteWorkspace": "ワークスペースを削除",
- "deleteWorkspaceDescription": "ワークスペースの完全削除を予約します",
+ "deleteWorkspaceDescription": "{{name}} とそのプロジェクト、タスクを完全に削除します。",
"deleteModalTitle": "ワークスペースを削除しますか?",
- "deleteModalDescription": "これによりワークスペース「{{name}}」とそのすべてのデータが完全に削除されます。この操作は取り消せません。",
+ "deleteModalDescription": "{{name}} とそのすべてのプロジェクトおよびタスクが完全に削除されます。この操作は取り消せません。",
"deleteModalConfirm": "ワークスペースを削除",
- "toastUpdated": "ワークスペースを更新しました",
"toastUpdateError": "ワークスペースの更新に失敗しました",
"toastDeleted": "ワークスペースを削除しました",
"toastDeleteError": "ワークスペースの削除に失敗しました",
@@ -850,17 +837,18 @@
"toastSuccess": "所有権を譲渡しました",
"toastError": "所有権の譲渡に失敗しました",
"title": "所有権を譲渡",
- "subtitle": "このワークスペースを他のメンバーに引き継ぎます。あなたの権限は管理者に変更され、オーナー専用の操作権限を失います。",
"pickerLabel": "新しいオーナー",
"noEligibleMembers": "所有権を譲渡するには、事前に他のメンバーを1人以上招待してください。",
- "pickerHint": "そのメンバーがこのワークスペースの唯一のオーナーになります。",
+ "pickerHint": "新しいオーナーに引き継がれます。あなたは管理者として残ります。",
"pickerPlaceholder": "メンバーを選択",
"button": "譲渡",
"dialogTitle": "所有権を譲渡しますか?",
"dialogDescription": "{{name}} が {{workspace}} の唯一のオーナーになります。管理者権限は維持されますが、ワークスペースの削除や再度の譲渡などオーナー限定の権限は失われます。",
"transferring": "譲渡中...",
"confirm": "所有権を譲渡"
- }
+ },
+ "ownershipSubtitle": "オーナーにのみ表示されます。",
+ "ownershipTitle": "オーナー権限"
},
"workspaceRoles": {
"pageTitle": "ロール",
@@ -1070,22 +1058,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "ラベル設定",
+ "pageTitle": "ラベル",
"title": "ラベル",
- "subtitle": "ワークスペース共通のラベルを作成・編集・削除します。",
- "cardDescription": "タスクに割り当て可能なラベルを管理します。",
+ "subtitle": "ラベルはこのワークスペースのすべてのプロジェクトで共有されます。",
"createLabel": "ラベルを作成",
"editLabel": "ラベルを編集",
- "deleteLabel": "削除",
+ "deleteLabel": "ラベルを削除",
"saveLabel": "保存",
- "nameLabel": "ラベル名",
- "namePlaceholder": "ラベル名を入力",
+ "nameLabel": "名前",
+ "namePlaceholder": "ラベル名",
"colorLabel": "カラー",
- "createDescription": "このワークスペース内のタスク全体で使用できる新しいラベルを作成します。",
- "editDescription": "このラベルの名前またはカラーを変更します。",
- "deleteConfirmTitle": "このラベルを削除しますか?",
- "deleteConfirmDescription": "これにより、すべてのタスクからこのラベルが完全に削除されます。この操作は取り消せません。",
- "empty": "ラベルはまだありません。最初のラベルを作成して始めましょう。",
+ "createDescription": "このワークスペースのプロジェクトで、タスクに追加できます。",
+ "editDescription": "変更はこのラベルが付いたすべてのタスクに反映されます。",
+ "deleteConfirmTitle": "「{{name}}」を削除しますか?",
+ "deleteConfirmDescription": "このラベルは使用中のすべてのタスクから削除されます。この操作は取り消せません。",
"createSuccess": "ラベルを作成しました",
"updateSuccess": "ラベルを更新しました",
"deleteSuccess": "ラベルを削除しました",
@@ -1093,36 +1079,43 @@
"updateError": "ラベルの更新に失敗しました",
"deleteError": "ラベルの削除に失敗しました",
"nameRequired": "ラベル名は必須です",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "タスクから削除しています…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "{{name}} を編集",
+ "emptyDescription": "ラベルを追加して、プロジェクトをまたいでタスクを整理・絞り込みましょう。",
+ "emptyTitle": "ラベルはまだありません",
+ "loadError": "ラベルを読み込めませんでした。もう一度お試しください。",
+ "newLabel": "新しいラベル",
+ "preview": "タスク上での表示",
+ "previewPlaceholder": "ラベル",
+ "resume": "再開",
+ "rowActions": "{{name}} の操作",
+ "sectionDescription": "ラベルの名前や色を変更すると、そのラベルを使用しているすべてのタスクに反映されます。",
+ "sectionTitle": "ワークスペースのラベル",
+ "subtitleWithWorkspace": "ラベルは {{workspaceName}} のすべてのプロジェクトで共有されます。"
},
"projectGeneral": {
"pageTitle": "プロジェクト設定",
- "title": "一般設定",
- "subtitle": "プロジェクトの名前、キー、アイコン、説明を管理します。",
- "projectInfoTitle": "プロジェクト情報",
- "projectInfoSubtitle": "プロジェクトの詳細と基本設定を行います。",
+ "title": "一般",
+ "subtitle": "{{name}} の名前、キー、外観です。",
+ "projectInfoTitle": "プロジェクト",
"iconLabel": "アイコン",
- "iconHint": "サイドバーやプロジェクト画面に表示されます。",
+ "iconHint": "サイドバーとプロジェクト一覧に表示されます。",
"pickIconTitle": "アイコンを選択",
"searchIconsPlaceholder": "アイコンを検索...",
- "projectNameLabel": "プロジェクト名",
- "projectNameHint": "プロジェクトの名前",
- "projectNamePlaceholder": "プロジェクト名を入力",
+ "projectNameLabel": "名前",
+ "projectNamePlaceholder": "プロジェクト名",
"keyLabel": "キー",
- "keyHint": "チケットIDに使用されます (例: {{slug}}-123)",
+ "keyHint": "すべてのタスク ID の先頭に付きます(例: {{slug}}-123)。",
"keyPlaceholder": "PRO",
"descriptionLabel": "説明",
- "descriptionHint": "プロジェクトの簡単な説明",
- "descriptionPlaceholder": "プロジェクトの説明を入力",
+ "descriptionPlaceholder": "このプロジェクトの目的は?",
"dangerZone": "危険な操作",
- "dangerZoneSubtitle": "取り消し不可能な破壊的操作です。",
"deleteProject": "プロジェクトを削除",
- "deleteProjectDescription": "プロジェクトの完全削除をスケジュールします",
+ "deleteProjectDescription": "{{name}} とそのすべてのタスクを完全に削除します。",
"deleteModalTitle": "プロジェクトを削除しますか?",
- "deleteModalDescription": "これによりプロジェクト「{{name}}」とそのすべてのデータが完全に削除されます。この操作は取り消せません。",
+ "deleteModalDescription": "{{name}} とそのすべてのタスクが完全に削除されます。この操作は取り消せません。",
"deleteModalConfirm": "プロジェクトを削除",
- "toastUpdated": "プロジェクトを更新しました",
"toastUpdateError": "プロジェクトの更新に失敗しました",
"toastDeleted": "プロジェクトを削除しました",
"toastDeleteError": "プロジェクトの削除に失敗しました",
@@ -1132,40 +1125,42 @@
"keyMax": "キーは8文字以内で入力してください",
"iconRequired": "アイコンは必須です"
},
- "importExportTasks": "インポート/エクスポート",
- "importExportTasksDescription": "タスクのインポートとエクスポートを行います。",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "ボードの背景画像です。各ユーザーが非表示にできます。",
+ "backgroundUnavailable": "このインスタンスでは画像のアップロードが設定されていません。",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "置き換え",
+ "backgroundUpload": "アップロード",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
- "moveModalConfirm": "Move Project",
- "moveModalDescription": "This will move the project \"{{name}}\" and all of its tasks to \"{{workspace}}\". Tasks assigned to people who aren't members of that workspace will be unassigned, and notification subscriptions for this project will be cleared.",
- "moveModalTitle": "Move Project?",
- "moveProject": "Move to workspace",
+ "moveModalConfirm": "プロジェクトを移動",
+ "moveProject": "別のワークスペースに移動",
"moveProjectAction": "Move",
- "moveProjectDescription": "Move this project, with all of its tasks, to another workspace.",
- "moveProjectPlaceholder": "Select workspace",
+ "moveProjectDescription": "タスク、カラム、ラベルも一緒に移動します。",
+ "moveProjectPlaceholder": "ワークスペースを選択",
"moveTargetsError": "Couldn't check which workspaces you can move this project to. Reload to try again.",
"toastMoved": "Project moved successfully",
"toastMovedWithUnassigned": "Project moved successfully. {{taskCount}} task(s) were unassigned.",
- "toastMoveError": "Failed to move project"
+ "toastMoveError": "Failed to move project",
+ "moveDialogDescription": "移動先のワークスペースに所属していないユーザーに割り当てられたタスクは未割り当てになり、このプロジェクトの通知の購読は解除されます。",
+ "moveDialogTitle": "別のワークスペースに移動しますか?",
+ "moveTargetLabel": "ワークスペース",
+ "moving": "移動しています...",
+ "tasksTitle": "タスク"
},
"projectIntegrations": {
- "pageTitle": "プロジェクト連携",
- "title": "プロジェクト連携",
- "subtitle": "プロジェクトを外部ツールやサービスと接続し、ワークフローを効率化します。",
+ "pageTitle": "連携",
+ "title": "連携",
+ "subtitle": "このプロジェクトをコードホスティングやチームのチャットと接続します。",
"githubSectionTitle": "GitHub 連携",
"githubSectionSubtitle": "タスクを GitHub Issue と同期し、双方向同期を有効にします。",
"giteaSectionTitle": "Gitea 連携",
"giteaSectionSubtitle": "セルフホストされた Gitea インスタンスとタスクを同期します(Issue、PR、Webhook)。",
"discordSectionTitle": "Discord 連携",
"discordSectionSubtitle": "Webhook を使用してプロジェクトのタスク更新を Discord チャンネルに送信します。",
- "genericWebhookSectionTitle": "汎用 Webhook",
+ "genericWebhookSectionTitle": "Webhook",
"genericWebhookSectionSubtitle": "プロジェクトのタスクイベントを JSON として任意の HTTP エンドポイントに送信します。",
"slackSectionTitle": "Slack 連携",
"slackSectionSubtitle": "Incoming Webhook を使用してプロジェクトのタスク更新を Slack チャンネルに送信します。",
@@ -1173,7 +1168,7 @@
"telegramSectionSubtitle": "ボットを使用してプロジェクトのタスク更新を Telegram のチャットまたはトピックに送信します。",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "GitLab.com またはセルフマネージドのインスタンスとタスクを同期します。",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "コードホスティング",
"chatTitle": "チャットと Webhook",
@@ -1186,69 +1181,59 @@
"projectVisibility": {
"pageTitle": "プロジェクトの公開設定",
"title": "公開設定",
- "subtitle": "プロジェクトの閲覧およびアクセス権限を管理します。",
- "sectionTitle": "公開設定",
- "sectionSubtitle": "公開アクセスを切り替え、公開 URL を共有します。",
- "publicAccess": "公開アクセス",
- "publicAccessHint": "URL を知っているすべてのユーザーにこのプロジェクトの閲覧を許可します",
+ "subtitle": "{{workspace}} の外部で {{project}} を閲覧できるユーザーを選択します。",
+ "sectionTitle": "アクセス",
+ "publicAccess": "公開リンク",
+ "publicAccessHint": "リンクを知っている人は誰でもボードとタスクを閲覧できます。変更はできません。",
"publicUrl": "公開 URL",
- "publicUrlHint": "プロジェクトが公開されている場合、このリンクを共有できます",
- "copy": "コピー",
- "copiedToast": "コピーしました",
+ "copy": "リンクをコピー",
"toastUpdated": "公開設定を更新しました",
- "toastUpdateError": "公開設定の更新に失敗しました"
+ "toastUpdateError": "公開設定の更新に失敗しました",
+ "always": "常に",
+ "copied": "コピーしました",
+ "copyError": "リンクをコピーできませんでした",
+ "membersDescription": "ワークスペースの全員が、ロールで許可された範囲でアクセスできます。",
+ "membersTitle": "{{workspace}} のメンバー",
+ "offNote": "公開リンクをオフにすると、すぐに使用できなくなります。",
+ "on": "オン",
+ "openPublicPage": "公開ページを開く",
+ "thisWorkspace": "このワークスペース"
},
"projectWorkflow": {
"pageTitle": "ワークフロー設定",
"title": "ワークフロー",
- "subtitle": "このプロジェクトのボードカラムと自動化ルールを設定します。",
+ "subtitle": "ボードのカラムと、カラム間でタスクを移動する条件です。",
"columnsTitle": "カラム",
- "columnsDescription": "ボードに表示されるカラムを管理します。ドラッグして並べ替えます。完了した作業を表すステージには「完了カラム」をオンにしてください。",
- "automationTitle": "自動化ルール",
- "automationDescription": "連携イベントをカラムにマッピングします。イベントが発生すると、リンクされたタスクが指定されたカラムに移動します。",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "ドラッグして並べ替えます。完了カラムのタスクは完了として扱われます。",
+ "automationTitle": "自動化",
+ "automationDescription": "接続済みのリポジトリでイベントが発生したときに、リンクされたタスクを移動します。"
},
"projectSwitcher": {
"selectProject": "プロジェクトを選択",
"noProjects": "プロジェクトがありません"
},
"columnEditor": {
- "toastCreated": "カラムを作成しました",
"toastCreateError": "カラムの作成に失敗しました",
- "toastRenamed": "カラム名を変更しました",
"toastRenameError": "カラムの更新に失敗しました",
- "toastFinalOn": "カラムを完了カラムに設定しました",
- "toastFinalOff": "カラムの完了設定を解除しました",
"toastUpdateError": "カラムの更新に失敗しました",
- "toastIconUpdated": "カラムアイコンを更新しました",
- "toastDeleted": "カラムを削除しました",
"toastDeleteError": "カラムの削除に失敗しました",
- "loading": "カラムを読み込み中...",
"pickIconTitle": "カラムアイコンを選択",
"searchIconsPlaceholder": "アイコンを検索...",
- "doneColumnTooltip": "これを完了カラムとして扱います",
- "doneColumn": "完了カラム",
"markDoneAria": "{{name}} を完了カラムとして設定",
- "on": "オン",
- "off": "オフ",
- "newColumnPlaceholder": "新しいカラム名...",
- "add": "追加",
+ "newColumnPlaceholder": "カラム名",
"deleteAria": "{{name}} 列を削除",
- "renameAria": "{{name}} 列の名前を変更"
+ "renameAria": "{{name}} 列の名前を変更",
+ "addColumn": "カラムを追加",
+ "columnHeader": "カラム",
+ "deleteConfirm": "カラムを削除",
+ "deleteDescription": "タスクが残っているカラムは削除できません。先にそれらのタスクを移動してください。",
+ "deleteTitle": "「{{name}}」を削除しますか?",
+ "doneHeader": "完了",
+ "dragAria": "{{name}} を並べ替え",
+ "reorderError": "カラムの並べ替えに失敗しました"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "リポジトリのオーナーは必須です",
- "ownerInvalid": "リポジトリのオーナーの形式が無効です",
- "nameRequired": "リポジトリ名は必須です",
- "nameInvalid": "リポジトリ名の形式が無効です"
- },
"toast": {
- "installedOk": "GitHub App が正しくインストールされています!",
- "installedMissingPerms": "GitHub App はインストールされていますが、必要な権限が不足しています",
- "needsInstallOnRepo": "このリポジトリに GitHub App をインストールする必要があります",
- "repoNotFound": "リポジトリが見つからないか、アクセスできません",
"verifyError": "GitHub App のインストール検証に失敗しました",
"installAppFirst": "まずこのリポジトリに GitHub App をインストールしてください",
"missingPermsDetail": "GitHub App に必要な権限が不足しています: {{list}}。アプリの権限を更新してください。",
@@ -1262,66 +1247,36 @@
"commentOnDisabled": "新しい Issue へのタスクリンクのコメント投稿をオフにしました",
"settingsUpdateError": "GitHub 連携の更新に失敗しました"
},
- "connectionStatus": "接続ステータス",
- "connectedActive": "リポジトリが接続され、アクティブです",
- "notConnectedHint": "接続されているリポジトリはありません",
- "badgeConnected": "接続済み",
- "badgeNotConnected": "未接続",
- "repository": "リポジトリ",
- "repositoryHint": "接続されている GitHub リポジトリ",
- "commentTaskLinkTitle": "新しい Issue に Kaneo リンクをコメント",
- "commentTaskLinkHint": "有効にすると、Kaneo は新しい GitHub Issue ごとにタスクへのリンクを含むコメントを投稿します。",
- "appStatusTitle": "GitHub App ステータス",
- "appStatusHint": "インストールおよび権限のステータス",
- "statusProperlyConfigured": "適切に設定されています",
- "statusMissingPermissions": "権限が不足しています",
- "statusNotInstalled": "未インストール",
- "ownerLabel": "リポジトリオーナー",
- "ownerHint": "GitHub のユーザー名または組織名",
- "ownerPlaceholder": "例: octocat",
- "repoNameLabel": "リポジトリ名",
- "repoNameHint": "リポジトリ名",
- "repoNamePlaceholder": "例: my-project",
- "actionsTitle": "操作",
- "actionsHint": "リポジトリの接続を管理します",
- "browse": "参照",
- "verify": "検証",
- "update": "更新",
- "connect": "接続",
- "disconnect": "接続解除",
- "missingPermissionsLabel": "不足している権限:",
+ "commentTaskLinkTitle": "新しい Issue に Kaneo のリンクをコメントする",
+ "commentTaskLinkHint": "GitHub 上のユーザーがタスクにすぐ移動できるようにします。",
"updatePermissions": "権限を更新",
"installGithubApp": "GitHub App をインストール",
- "importSectionTitle": "GitHub Issue のインポート",
- "importSectionHint": "GitHub リポジトリの既存の Issue をタスクとしてインポートします",
- "importing": "インポート中...",
- "importIssues": "Issue をインポート",
- "importDisabledHint": "インポートを有効にするには、上記のリポジトリ設定を完了してください",
+ "importSectionHint": "リポジトリのオープンな Issue をタスクとしてインポートします。",
+ "importDisabledHint": "インポートを有効にするには、リポジトリを再接続してください。",
"accountVerificationHint": "Connect your GitHub account to verify that you administer this repository.",
"enableGithubSignInHint": "Ask your instance administrator to enable GitHub sign-in.",
"reverifyHint": "Reconnect this repository to verify access and resume synchronization.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "このリポジトリの Issue とプルリクエストが、ここのタスクにリンクされます。",
+ "linkAccountDescription": "リポジトリを管理できることを確認します。",
+ "linkAccountTitle": "GitHub アカウントをリンク",
+ "linked": "リンク済み",
+ "linkGithub": "GitHub をリンク",
+ "verifyMissingPermissions": "Kaneo GitHub App に次の権限がありません: {{list}}。",
+ "verifyNotInstalled": "Kaneo GitHub App がこのリポジトリにインストールされていません。",
+ "verifyReady": "Kaneo GitHub App は必要な権限でインストールされています。",
+ "workflowHint": "プルリクエストのオープンやマージでタスクを移動するには",
+ "workflowLink": "ワークフロー"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea のベース URL は必須です",
- "baseUrlInvalid": "有効な URL を入力してください (例: https://gitea.example.com)",
- "ownerRequired": "リポジトリのオーナーは必須です",
- "ownerInvalid": "リポジトリのオーナーの形式が無効です",
- "nameRequired": "リポジトリ名は必須です",
- "nameInvalid": "リポジトリ名の形式が無効です"
+ "baseUrlInvalid": "有効な URL を入力してください (例: https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea トークンはこのリポジトリにアクセスできます",
- "verifyWarning": "トークンの権限またはリポジトリへのアクセス権を確認してください",
- "repoNotFound": "リポジトリが見つからないか、アクセスできません",
- "redirected": "Gitea URL がリダイレクトされました(通常は HTTPS へ)。最終的な URL を直接入力してください。",
- "notGiteaInstance": "この URL は Gitea インスタンスを指していません",
"verifyError": "Gitea へのアクセスの検証に失敗しました",
- "tokenRequired": "Personal Access Token は必須です",
- "tokenRequiredVerify": "検証するトークンを入力してください",
"verifyFirst": "アクセスの検証に失敗しました。URL、トークン、リポジトリを確認してください",
"updated": "Gitea 連携を保存しました",
"updateError": "Gitea 連携の保存に失敗しました",
@@ -1331,54 +1286,22 @@
"importError": "Issue のインポートに失敗しました",
"commentOnEnabled": "新しい Issue に Kaneo がタスクリンク付きのコメントを投稿します",
"commentOnDisabled": "新しい Issue へのタスクリンクのコメント投稿をオフにしました",
- "settingsUpdateError": "Gitea 連携の更新に失敗しました",
- "secretCopied": "コピーしました",
- "unableToCopySecret": "シークレットをコピーできませんでした"
- },
- "webhookShow": "表示",
- "webhookHide": "非表示",
- "webhookCopy": "コピー",
- "connectionStatus": "接続ステータス",
- "connectedActive": "リポジトリが接続され、アクティブです",
- "notConnectedHint": "接続されている Gitea リポジトリはありません",
- "badgeConnected": "接続済み",
- "badgeNotConnected": "未接続",
- "repository": "リポジトリ",
- "repositoryHint": "リンクされた Gitea リポジトリ",
+ "settingsUpdateError": "Gitea 連携の更新に失敗しました"
+ },
"commentTaskLinkTitle": "新しい Issue に Kaneo のリンクをコメントする",
- "commentTaskLinkHint": "有効にすると、Kaneo は新しい Issue ごとにタスクへのリンクを含むコメントを投稿します。",
- "webhookTitle": "Webhook",
- "webhookHint": "Gitea リポジトリで、この URL とシークレットを使用して Webhook を追加します。プッシュ、プルリクエスト、Issue、Issue コメント、作成 (ラベル用) を有効にしてください。",
- "webhookSecretLabel": "シークレット (Gitea の Webhook シークレットと一致する必要があります)",
+ "commentTaskLinkHint": "Gitea 上のユーザーがタスクにすぐ移動できるようにします。",
+ "webhookHint": "変更が Kaneo に反映されるよう、リポジトリの設定でこの Webhook を追加してください。",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "Gitea インスタンスのルート URL",
"tokenLabel": "パーソナルアクセストークン",
- "tokenHint": "リポジトリおよび Issue へのアクセス権を持つトークン",
"tokenPlaceholder": "トークンを貼り付け",
"tokenPlaceholderUpdate": "更新用の新しいトークンを貼り付け",
- "currentToken": "保存済み",
- "ownerLabel": "オーナー",
- "ownerHint": "ユーザー名または組織名",
- "repoNameLabel": "リポジトリ名",
- "repoNameHint": "リポジトリ名のみ (オーナー名は含めない)",
- "actionsTitle": "操作",
- "actionsHint": "アクセスを検証して接続します",
- "browse": "参照",
- "verify": "検証",
- "update": "更新",
- "connect": "接続",
- "disconnect": "接続解除",
- "importSectionTitle": "Gitea Issue のインポート",
- "importSectionHint": "リポジトリからオープン状態の Issue およびプルリクエストをインポートします",
- "importing": "インポート中...",
- "importIssues": "Issue をインポート",
- "importDisabledHint": "インポートを有効にするには、上記のリポジトリを検証してください",
- "browseModalTitle": "マイリポジトリ",
- "browseModalHint": "トークンがアクセス可能なリポジトリ",
- "searchRepos": "検索...",
- "browseNeedsCredentials": "参照するには Gitea の URL とトークンを入力してください",
- "loadingRepos": "リポジトリを読み込み中...",
- "retry": "再試行"
+ "importSectionHint": "オープンな Issue とプルリクエストをタスクとしてインポートします。",
+ "importDisabledHint": "インポートには確認済みのアクセスが必要です。上のトークンの状態を確認してください。",
+ "browseModalHint": "トークンでアクセスできるリポジトリです。",
+ "browseNeedsCredentials": "参照するには Gitea の URL とトークンを入力してください。",
+ "browseEmpty": "このトークンで参照できるリポジトリがありません。",
+ "chooseRepositoryDescription": "owner/name を入力するか、一覧から選択してください。",
+ "webhookEvents": "プッシュ、プルリクエスト、Issue、Issue コメント、作成の各イベントを有効にしてください。"
},
"slackIntegration": {
"validation": {
@@ -1393,30 +1316,10 @@
"removed": "Slack 連携を解除しました",
"removeError": "Slack 連携の解除に失敗しました"
},
- "connectionTitle": "Slack Webhook 接続",
- "connectionHint": "Slack の Incoming Webhook URL を貼り付け、投稿するタスクイベントを選択します。",
- "connected": "接続済み",
- "paused": "一時停止中",
- "webhookLabel": "Incoming Webhook URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Slack で Incoming Webhook を作成し、生成された URL をここに貼り付けます。",
- "channelLabel": "チャンネル名",
- "channelPlaceholder": "#team-updates",
- "channelHint": "参照用の任意のラベルです。実際の送信先チャンネルは Slack の Webhook 設定で制御されます。",
- "eventsTitle": "イベント通知",
- "eventsHint": "Slack に投稿するプロジェクトの変更を選択します。",
- "events": {
- "taskCreated": "タスクの新規作成",
- "taskStatusChanged": "ステータスの変更",
- "taskPriorityChanged": "優先度の変更",
- "taskTitleChanged": "タイトルの変更",
- "taskDescriptionChanged": "説明の変更",
- "taskCommentCreated": "新しいコメント"
- },
+ "webhookHint": "Slack で Incoming Webhook を作成し、ここに貼り付けてください。",
"connect": "Slack に接続",
- "saveChanges": "変更を保存",
- "update": "Slack を更新",
- "disconnect": "接続解除"
+ "update": "Slack を更新"
},
"discordIntegration": {
"validation": {
@@ -1431,34 +1334,15 @@
"removed": "Discord 連携を解除しました",
"removeError": "Discord 連携の解除に失敗しました"
},
- "connectionTitle": "Discord Webhook 接続",
- "connectionHint": "Discord の Webhook URL を貼り付け、投稿するタスクイベントを選択します。",
- "connected": "接続済み",
- "paused": "一時停止中",
- "webhookLabel": "Webhook URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Discord チャンネルの Webhook を作成し、生成された URL をここに貼り付けます。",
- "channelLabel": "チャンネル名",
- "channelPlaceholder": "#team-updates",
- "channelHint": "参照用の任意のラベルです。実際の送信先チャンネルは Discord の Webhook 設定で制御されます。",
- "eventsTitle": "イベント通知",
- "eventsHint": "Discord に投稿するプロジェクトの変更を選択します。",
- "events": {
- "taskCreated": "タスクの新規作成",
- "taskStatusChanged": "ステータスの変更",
- "taskPriorityChanged": "優先度の変更",
- "taskTitleChanged": "タイトルの変更",
- "taskDescriptionChanged": "説明の変更",
- "taskCommentCreated": "新しいコメント"
- },
+ "webhookHint": "Discord でチャンネルの Webhook を作成し、ここに貼り付けてください。",
"connect": "Discord に接続",
- "saveChanges": "変更を保存",
- "update": "Discord を更新",
- "disconnect": "接続解除"
+ "update": "Discord を更新"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "有効な Webhook URL を入力してください"
+ "webhookInvalid": "有効な Webhook URL を入力してください",
+ "leadTimeRange": "5 分から 720 時間の範囲で指定してください。"
},
"toast": {
"saved": "汎用 Webhook 連携を保存しました",
@@ -1469,21 +1353,16 @@
"removed": "汎用 Webhook 連携を解除しました",
"removeError": "汎用 Webhook 連携の解除に失敗しました"
},
- "connectionTitle": "送信 Webhook 接続",
- "connectionHint": "タスクイベントを JSON として独自のエンドポイントに送信します。シークレットが設定されている場合、署名された X-Kaneo-Signature ヘッダーが含まれます。",
- "connected": "接続済み",
- "paused": "一時停止中",
"webhookLabel": "エンドポイント URL",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo は有効になっているイベントごとに JSON ペイロードを含む POST リクエストを送信します。",
"secretLabel": "署名シークレット",
- "secretPlaceholder": "共有シークレット(任意)",
- "secretHint": "任意。指定した場合、Kaneo はリクエスト本文に署名し、その 16 進ダイジェストを X-Kaneo-Signature ヘッダーで送信します。",
- "secretHintConfigured": "署名シークレットは既に設定されています ({{secret}})。置き換えるには新しいシークレットを入力してください。",
- "eventsTitle": "イベント通知",
- "eventsHint": "送信 Webhook をトリガーするプロジェクトの変更を選択します。",
+ "secretPlaceholder": "共有シークレット",
+ "secretHint": "Kaneo はこれで各リクエストに署名し、ダイジェストを X-Kaneo-Signature ヘッダーで送信します。",
+ "secretHintConfigured": "現在のシークレット: {{secret}}。置き換えるには新しいシークレットを貼り付けてください。",
+ "eventsTitle": "送信するタイミング",
"events": {
- "taskCreated": "タスクの新規作成",
+ "taskCreated": "タスクの作成",
"taskStatusChanged": "ステータスの変更",
"taskPriorityChanged": "優先度の変更",
"taskTitleChanged": "タイトルの変更",
@@ -1496,16 +1375,19 @@
"taskUnassigned": "担当者の解除",
"dueDateReminder": "期限リマインダー"
},
- "reminderLeadTimeLabel": "期限の何時間前に Webhook を送信するか(時間)",
+ "reminderLeadTimeLabel": "タスクの期限の何時間前か",
"connect": "Webhook を接続",
- "saveChanges": "変更を保存",
- "disconnect": "接続解除"
+ "activeTitle": "イベントを送信中",
+ "disconnectDescription": "Kaneo はイベントの送信を停止し、保存済みのエンドポイントとシークレットを削除します。",
+ "disconnectTitle": "Webhook との接続を解除しますか?",
+ "reminderLeadTimeAfter": "時間前にリマインダーを送信",
+ "reminderLeadTimeBefore": "タスクの期限の"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "有効な Telegram ボットトークンを入力してください",
"chatIdRequired": "チャット ID は必須です",
- "threadIdInvalid": "有効な Telegram トピックのスレッド ID を入力してください"
+ "threadIdInvalid": "有効なトピック ID を入力してください"
},
"toast": {
"saved": "Telegram 連携を保存しました",
@@ -1516,60 +1398,43 @@
"removed": "Telegram 連携を解除しました",
"removeError": "Telegram 連携の解除に失敗しました"
},
- "connectionTitle": "Telegram ボット接続",
- "connectionHint": "Telegram ボットのトークンとチャット ID を使用して、プロジェクトのタスク更新をチャットまたはトピックに送信します。",
- "connected": "接続済み",
- "paused": "一時停止中",
"botTokenLabel": "ボットトークン",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "BotFather でボットを作成し、そのトークンをここに貼り付けます。",
- "botTokenHintConfigured": "ボットトークンは既に設定されています ({{token}})。置き換えるには新しいトークンを入力してください。",
+ "botTokenHintConfigured": "現在のトークン: {{token}}",
"chatIdLabel": "チャット ID",
"chatIdPlaceholder": "-1001234567890 または @team_updates",
- "chatIdHint": "更新を投稿する Telegram のチャット ID またはチャンネルのユーザー名を入力します。",
- "threadIdLabel": "トピックスレッド ID",
- "threadIdPlaceholder": "トピック ID(任意)",
- "threadIdHint": "任意。Telegram グループ内のフォーラムトピックに使用します。",
- "chatLabelLabel": "チャットラベル",
+ "threadIdLabel": "トピック ID",
+ "threadIdPlaceholder": "フォーラムのトピック用",
+ "chatLabelLabel": "チャット名",
"chatLabelPlaceholder": "開発チームの更新",
- "chatLabelHint": "Kaneo 内での参照用の任意のラベルです。",
- "eventsTitle": "イベント通知",
- "eventsHint": "Telegram に投稿するプロジェクトの変更を選択します。",
- "events": {
- "taskCreated": "タスクの新規作成",
- "taskStatusChanged": "ステータスの変更",
- "taskPriorityChanged": "優先度の変更",
- "taskTitleChanged": "タイトルの変更",
- "taskDescriptionChanged": "説明の変更",
- "taskCommentCreated": "新しいコメント"
- },
"connect": "Telegram に接続",
- "saveChanges": "変更を保存",
- "disconnect": "接続解除"
+ "botTokenSavedPlaceholder": "保存済みです。置き換えるには新しいトークンを貼り付けてください。",
+ "loadError": "Telegram の設定を読み込めませんでした。"
},
"repositoryBrowser": {
- "title": "リポジトリの選択",
- "description": "Issue 同期を有効にするために、GitHub App がインストールされているリポジトリを選択してください。",
- "searchPlaceholder": "リポジトリを検索...",
- "loadError": "リポジトリの読み込みに失敗しました",
- "tryAgain": "もう一度試す",
- "emptyTitle": "リポジトリが見つかりません",
+ "title": "リポジトリを選択",
+ "description": "Kaneo GitHub App から参照できるリポジトリです。",
+ "searchPlaceholder": "リポジトリを検索",
+ "loadError": "リポジトリを読み込めませんでした。",
+ "tryAgain": "再試行",
+ "emptyTitle": "リポジトリはまだありません",
"emptyHint": "ここに表示するには、リポジトリに GitHub App をインストールしてください。",
"installGithubApp": "GitHub App をインストール",
- "noSearchMatchTitle": "検索条件に一致するリポジトリがありません",
- "noSearchMatchHint": "検索キーワードを変更するか、検索をクリアしてすべてのリポジトリを表示してください。",
- "footerSummary": "{{installationCount}} 件のインストール全体で {{repoCount}} 個のリポジトリ",
- "manageInstallations": "インストールを管理",
- "updatedPrefix": "最終更新:",
- "relativeJustNow": "たった今",
- "relativeMinutesAgo": "{{count}}分前",
- "relativeHoursAgo": "{{count}}時間前",
- "relativeDaysAgo": "{{count}}日前"
+ "noSearchMatchTitle": "一致するリポジトリがありません",
+ "noSearchMatchHint": "別の名前で試すか、検索をクリアしてください。",
+ "emptyPageHint": "このページにはありません。さらに読み込んで探してください。",
+ "loadMore": "さらに読み込む",
+ "manageAccess": "アプリのアクセスを管理",
+ "missingOne": "見つかりませんか?",
+ "searching": "検索しています…",
+ "updated": "更新: {{time}}",
+ "useRepository": "このリポジトリを使用"
},
"tasksImportExport": {
- "exportTasks": "タスクのエクスポート",
- "importTasks": "タスクのインポート",
- "dialogTitle": "タスクのインポート",
+ "exportTasks": "タスクをエクスポート",
+ "importTasks": "タスクをインポート",
+ "dialogTitle": "タスクをインポート",
"dialogDescription": "このプロジェクトにインポートするタスクを含む JSON ファイルをアップロードします。",
"expectedFormat": "想定される形式:",
"dropHint": "ここに JSON ファイルをドラッグ&ドロップしてください",
@@ -1583,27 +1448,26 @@
"importError": "タスクのインポートに失敗しました",
"invalidFormat": "インポートファイルの形式が無効です",
"noFileDropped": "ファイルがドロップされませんでした",
- "notJsonFile": "JSON ファイルをアップロードしてください"
+ "notJsonFile": "JSON ファイルをアップロードしてください",
+ "export": "エクスポート",
+ "exportDescription": "このプロジェクトのすべてのタスクをファイルとしてダウンロードします。",
+ "import": "インポート",
+ "importDescription": "以前にエクスポートしたファイルからタスクを追加します。"
},
"workflowEditor": {
- "loading": "読み込み中...",
- "createColumnsFirst": "自動化ルールを設定するには、先にカラムを作成してください。",
- "githubHeading": "GitHub",
- "githubHint": "GitHub イベントが発生したときに、リンクされたタスクをカラムに移動します。",
- "giteaHeading": "Gitea",
- "giteaHint": "Gitea の Webhook イベントが発生したときに、リンクされたタスクをカラムに移動します。",
- "selectColumnPlaceholder": "カラムを選択...",
- "toastUpdated": "ワークフロールールを更新しました",
"toastError": "ルールの更新に失敗しました",
"events": {
"branch_push": "ブランチのプッシュ",
- "pr_opened": "PR オープン",
- "pr_merged": "PR マージ",
- "issue_opened": "Issue オープン",
- "issue_closed": "Issue クローズ"
+ "pr_opened": "プルリクエストのオープン",
+ "pr_merged": "プルリクエストのマージ",
+ "issue_opened": "Issue のオープン",
+ "issue_closed": "Issue のクローズ"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "<link>連携</link>で {{providers}} を接続すると、こちらも自動化できます。",
+ "dontMove": "移動しない",
+ "emptyDescription": "自動化には、接続済みの GitHub、Gitea、GitLab のいずれかのリポジトリが必要です。",
+ "emptyTitle": "接続済みのリポジトリがありません",
+ "openIntegrations": "連携を開く"
},
"externalLinks": {
"resources": "リソース",
@@ -1622,26 +1486,7 @@
"removeError": "Failed to remove the resource link."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1655,58 +1500,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Mattermost で Incoming Webhook を作成し、ここに貼り付けてください。",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "チェックボックス",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "ドロップダウン(複数選択)"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "デフォルトをクリア",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "{{name}} の操作",
+ "addOption": "選択肢を追加",
+ "allowSeveral": "複数選択を許可",
+ "allowSeveralDescription": "タスクで複数の選択肢を選べます。",
+ "checked": "チェックあり",
+ "createField": "フィールドを作成",
+ "defaultDescription": "新しいタスクはこの値で始まります。",
+ "deleteConfirm": "フィールドを削除",
+ "deleteDescription": "フィールドと、すべてのタスク上のその値が削除されます。この操作は取り消せません。",
+ "deleteTitle": "「{{name}}」を削除しますか?",
+ "dialogDescription": "{{project}} のすべてのタスクにこのフィールドが追加されます。",
+ "dialogDescriptionFallback": "このプロジェクトのすべてのタスクにこのフィールドが追加されます。",
+ "dragAria": "{{name}} を並べ替え",
+ "dragOptionAria": "{{option}} を並べ替え",
+ "edit": "編集",
+ "editTitle": "フィールドを編集",
+ "emptyDescription": "サイズ、顧客、リリース日などをすべてのタスクで記録できます。",
+ "emptyTitle": "カスタムフィールドはまだありません",
+ "issues": {
+ "defaultRequired": "必須フィールドにはデフォルト値が必要です。",
+ "moreOptionsRequired": "複数選択を許可するには、選択肢を 2 つ以上追加してください。",
+ "optionsRequired": "選択肢を 1 つ以上追加してください。"
+ },
+ "nameLabel": "名前",
+ "newTitle": "新しいフィールド",
+ "noDefault": "デフォルトなし",
+ "optionsLabel": "選択肢",
+ "removeOptionAria": "{{option}} を削除",
+ "renameOptionAria": "{{option}} の名前を変更",
+ "requiredDescription": "すべてのタスクに常に値が設定されます。",
+ "save": "保存",
+ "saving": "保存しています...",
+ "startsAs": "デフォルト: 「{{value}}」",
+ "startsAt": "デフォルト: {{value}}",
+ "startsChecked": "デフォルト: チェックあり",
+ "startsOn": "デフォルト: {{date}}",
+ "startsUnchecked": "デフォルト: チェックなし",
+ "typeLabel": "種類",
+ "typeLocked": "フィールドの作成後は種類を変更できません。",
+ "unchecked": "チェックなし",
+ "updateError": "カスタムフィールドを保存できませんでした。",
+ "updateSuccess": "カスタムフィールドを保存しました。"
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "無効化",
+ "edit": "編集",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "再有効化"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "ロール",
"status": "Status",
"user": "User"
},
@@ -1728,7 +1605,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "すべてのユーザー",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1741,7 +1618,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1749,18 +1625,18 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "管理者",
"user": "User"
},
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "名前またはメールアドレスで検索",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "この Kaneo インスタンスにアカウントを持つすべてのユーザーです。",
+ "title": "ユーザー",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1769,8 +1645,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "あなた"
},
"security": "Security",
"securityPage": {
@@ -1785,11 +1660,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "サインイン",
+ "submit": "パスワードを変更",
+ "submitting": "変更しています...",
+ "subtitle": "Kaneo へのサインイン方法です。",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1799,94 +1673,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "パスワードを変更",
+ "dialogDescription": "8 文字以上で、現在のパスワードとは異なるものにしてください。",
+ "dialogTitle": "パスワードを変更",
+ "passwordHint": "ほかで使っていない 8 文字以上のパスワードを使用してください。",
+ "passwordTitle": "パスワード"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "トークンがメンバーになっているプロジェクトです。",
+ "browseNeedsCredentials": "参照するには GitLab の URL とトークンを入力してください。",
+ "commentTaskLinkHint": "GitLab 上のユーザーがタスクにすぐ移動できるようにします。",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "オープンな Issue とマージリクエストをタスクとしてインポートします。",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "プロジェクトを検索",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "変更が Kaneo に反映されるよう、プロジェクトの設定でこの Webhook を追加してください。",
+ "loadProjectsError": "プロジェクトを読み込めませんでした。",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "このトークンはどのプロジェクトのメンバーでもありません。",
+ "chooseProjectDescription": "パスを入力するか、一覧から選択してください。",
+ "noSearchMatchTitle": "一致するプロジェクトがありません",
+ "useProject": "このプロジェクトを使用",
+ "webhookEvents": "プッシュ、Issue、コメント、マージリクエストの各イベントを有効にしてください。"
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "対象のラベル",
+ "selectLabels": "ラベルを追加",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1894,20 +1735,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "フィード",
+ "allScheduledTasks": "日付が設定されたすべてのタスク",
+ "subscribeHint": "カレンダーアプリにリンクを購読として追加してください。アプリがフィードを更新すると変更が反映されます。",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "コピーしました",
+ "dialogDescription": "開始日または期限のあるタスクがフィードに表示されます。",
+ "dialogTitle": "新しいカレンダーフィード",
+ "emptyDescription": "フィードを作成すると、日付が設定されたタスクをカレンダーアプリで確認できます。",
+ "emptyTitle": "カレンダーフィードはまだありません",
+ "feedActions": "フィードの操作",
+ "labelsHint": "空欄にすると、日付が設定されたすべてのタスクが含まれます。",
+ "newFeed": "新しいフィード",
+ "revokeConfirm": "フィードを無効化",
+ "revokeConfirmDescription": "このリンクを使用しているカレンダーアプリは更新を受け取れなくなります。この操作は取り消せません。",
+ "revokeConfirmTitle": "このフィードを無効にしますか?",
+ "revoking": "無効化しています…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1919,7 +1769,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1952,7 +1801,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1963,7 +1811,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "請求書、支払い方法、解約は Creem で管理されます。",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1986,13 +1834,13 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "{{workspace}} のプランです。",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_other": "残り {{count}} 日"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2010,15 +1858,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2035,7 +1880,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2054,16 +1898,28 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "同期する対象",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "すべての Issue",
+ "allTasks": "すべてのタスク",
+ "edit": "編集",
+ "hidePaused": "非表示",
+ "issuesLabelled": "次のラベルの Issue:",
+ "joinAnd": "かつ",
+ "joinOr": "または",
+ "kaneoToProvider": "Kaneo → {{provider}}",
+ "pausedSummary_other": "{{count}} 件のタスクが同期ルールに一致しなくなったため、同期を停止しました。",
+ "providerToKaneo": "{{provider}} → Kaneo",
+ "reviewPaused": "確認",
+ "tasksLabelled": "次のラベルのタスク:"
+ },
+ "advancedSettingsDescription": "連携の同期ルールなど、追加のコントロールを表示します。このブラウザーにのみ適用されます。",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2100,23 +1956,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "すべてのワークスペース",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
"editAccess": "Change project access for {{name}} ({{access}})",
@@ -2135,9 +1983,9 @@
"retry": "Retry",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "名前またはスラッグで検索",
+ "subtitle": "この Kaneo インスタンス上のすべてのワークスペースです(自分が所属していないものも含みます)。",
+ "title": "ワークスペース",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2147,8 +1995,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2387,6 +2234,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "オフにすると、設定を残したまま一時停止できます。",
+ "activeTitle": "{{provider}} に投稿中",
+ "channelHint": "この一覧での表示名です。",
+ "channelLabel": "チャンネル",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "接続を解除",
+ "disconnectDescription": "Kaneo は {{provider}} への投稿を停止し、保存済みの設定を削除します。",
+ "disconnecting": "接続を解除しています…",
+ "disconnectTitle": "{{provider}} との接続を解除しますか?",
+ "events": {
+ "taskCommentCreated": "コメントが追加されたとき",
+ "taskCreated": "タスクが作成されたとき",
+ "taskDescriptionChanged": "説明が変更されたとき",
+ "taskPriorityChanged": "優先度が変更されたとき",
+ "taskStatusChanged": "ステータスが変更されたとき",
+ "taskTitleChanged": "タイトルが変更されたとき"
+ },
+ "optional": "任意",
+ "postWhen": "投稿するタイミング",
+ "retry": "再試行",
+ "saveChanges": "変更を保存",
+ "savedUrlPlaceholder": "保存済みです。置き換えるには新しい URL を貼り付けてください。",
+ "webhookUrlLabel": "Webhook URL"
+ },
+ "codeHosting": {
+ "browse": "参照",
+ "changeToken": "トークンを変更",
+ "checking": "アクセスを確認しています…",
+ "chooseProjectTitle": "プロジェクトを選択",
+ "chooseRepositoryTitle": "リポジトリを選択",
+ "connectProject": "プロジェクトを接続",
+ "connectRepository": "リポジトリを接続",
+ "copied": "コピーしました",
+ "copyFailed": "クリップボードにコピーできませんでした。",
+ "copySecret": "シークレットをコピー",
+ "copyUrl": "Webhook URL をコピー",
+ "disconnect": "接続を解除",
+ "disconnectDescription": "タスクと {{target}} の同期が停止します。後で再度接続できます。",
+ "disconnecting": "接続を解除しています…",
+ "disconnectTitle": "{{provider}} との接続を解除しますか?",
+ "hideSecret": "シークレットを隠す",
+ "importing": "インポートしています…",
+ "importIssues": "Issue をインポート",
+ "importNeedsReconnect": "インポートするには再接続してください。",
+ "importTitle": "オープンな Issue をインポート",
+ "issuesSection": "Issue",
+ "lastImport": "前回のインポート: 作成 {{imported}} 件、更新 {{updated}} 件、スキップ {{skipped}} 件。",
+ "loadError": "この連携を読み込めませんでした。",
+ "pausedHint": "同期は一時停止中です。再開するには再接続してください。",
+ "projectSection": "プロジェクト",
+ "reconnect": "再接続",
+ "repositoryPathInvalid": "リポジトリは owner/name の形式で入力してください。",
+ "repositoryPathLabel": "リポジトリ",
+ "repositorySection": "リポジトリ",
+ "retry": "再試行",
+ "saveToken": "トークンを保存",
+ "showSecret": "シークレットを表示",
+ "signInDescription": "プロジェクトとその Issue を読み取れるトークンを使用してください。",
+ "signInTitle": "インスタンスにサインイン",
+ "tokenStored": "保存済みのトークン",
+ "tokenTitle": "アクセストークン",
+ "webhookSecret": "シークレット",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "ドラッグして、タスク上での表示順を変更します。",
+ "fieldsTitle": "フィールド",
+ "newField": "新しいフィールド",
+ "pageTitle": "カスタムフィールド",
+ "subtitle": "{{project}} の各タスクで記録できる追加情報です(サイズや顧客など)。",
+ "subtitleFallback": "このプロジェクトの各タスクで記録できる追加情報です(サイズや顧客など)。",
+ "title": "カスタムフィールド"
+ },
+ "shared": {
+ "autosave": "変更は自動的に保存されます"
}
},
"navigation": {
diff --git a/i18n/ko-KR.json b/i18n/ko-KR.json
index 7ab1c58b0..fd7301cb2 100644
--- a/i18n/ko-KR.json
+++ b/i18n/ko-KR.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "안 함"
- },
"modals": {
"createProject": {
"title": "새 프로젝트 만들기",
@@ -561,37 +558,32 @@
"advancedSettings": "고급 설정",
"account": "계정",
"developer": "개발자",
- "information": "정보",
+ "information": "프로필",
"notifications": "알림",
"preferences": "환경설정",
"apiKeys": "API 키",
"informationPage": {
- "pageTitle": "개인 정보",
- "title": "개인 정보",
- "subtitle": "개인 세부 정보 및 계정 정보를 관리합니다.",
- "sectionTitle": "계정 정보",
- "sectionSubtitle": "프로필 및 계정 세부 정보를 관리합니다.",
+ "pageTitle": "프로필",
+ "title": "프로필",
+ "subtitle": "팀원에게 내가 어떻게 표시되는지 설정합니다.",
+ "sectionTitle": "세부 정보",
"profilePicture": "프로필 사진",
"fullName": "이름",
"fullNamePlaceholder": "이름을 입력하세요",
"email": "이메일",
- "emailPlaceholder": "이메일을 입력하세요",
- "updateSuccess": "프로필이 업데이트되었습니다",
"updateError": "프로필 업데이트에 실패했습니다",
"validation": {
"nameRequired": "이름은 필수입니다",
- "nameShort": "이름은 2자 이상이어야 합니다",
- "invalidEmail": "잘못된 이메일 주소입니다"
+ "nameShort": "이름은 2자 이상이어야 합니다"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "정사각형 이미지가 가장 잘 보입니다.",
+ "remove": "제거",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "업로드"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -600,39 +592,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "이 주소로 로그인합니다."
},
"notificationsPage": {
"pageTitle": "알림",
"title": "알림",
- "subtitle": "Kaneo가 계정 알림을 전달하는 방법과 사용할 채널을 선택합니다.",
+ "subtitle": "Kaneo가 무엇을 알려 주고 어디로 전달할지 설정합니다.",
"statusConnected": "연결됨",
"statusPaused": "일시 중지됨",
"emailTitle": "이메일",
- "emailDescription": "계정 이메일을 알림 수신처로 사용합니다.",
- "accountEmailLabel": "계정 이메일",
"accountEmailNoAddress": "사용 가능한 계정 이메일이 없습니다",
- "accountEmailHint": "이메일 전송은 항상 로그인된 계정 이메일로 이루어집니다.",
"saveChanges": "변경사항 저장",
"disconnect": "연결 해제",
"ntfyTitle": "ntfy",
- "ntfyDescription": "계정 알림을 ntfy 토픽에 게시합니다.",
+ "ntfyDescription": "휴대폰이나 데스크톱의 ntfy 토픽에 게시합니다.",
"serverUrl": "서버 URL",
"topic": "토픽",
"token": "토큰",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "선택 사항 - bearer 토큰",
+ "ntfyTokenPlaceholder": "서버에서 필요한 경우에만",
"ntfyTokenHintConfigured": "토큰이 이미 구성되어 있습니다 ({{masked}}). 교체하려면 새 토큰을 입력하세요.",
- "ntfyTokenHintOptional": "선택 사항. ntfy 서버에 인증이 필요한 경우 토큰을 입력하세요.",
+ "ntfyTokenHintOptional": "ntfy 서버에 인증이 필요한 경우 사용하세요.",
"connectNtfy": "ntfy 연결",
"gotifyTitle": "Gotify",
- "gotifyDescription": "계정 알림을 Gotify 서버로 전송합니다.",
+ "gotifyDescription": "Gotify 서버로 알림을 보냅니다.",
"gotifyTokenLabel": "앱 토큰",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify 앱 토큰",
@@ -640,38 +629,16 @@
"gotifyTokenHintRequired": "필수. Gotify 서버의 애플리케이션 토큰을 사용하세요.",
"connectGotify": "Gotify 연결",
"webhookTitle": "사용자 정의 웹훅",
- "webhookDescription": "계정 알림을 자체 엔드포인트로 JSON 형식으로 전송합니다.",
+ "webhookDescription": "각 알림을 JSON으로 내 엔드포인트에 보냅니다.",
"endpointUrl": "엔드포인트 URL",
"signingSecret": "서명 시크릿",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "선택 사항 - 공유 시크릿",
"webhookSecretHintConfigured": "서명 시크릿이 이미 구성되어 있습니다 ({{masked}}). 교체하려면 새 시크릿을 입력하세요.",
- "webhookSecretHintOptional": "선택 사항. 시크릿이 설정된 경우 Kaneo가 요청 본문에 서명합니다.",
+ "webhookSecretHintOptional": "시크릿을 설정하면 Kaneo가 요청 본문에 서명합니다.",
"connectWebhook": "웹훅 연결",
- "workspaceRulesTitle": "워크스페이스 전송 규칙",
- "workspaceRulesDescription": "전역 채널을 재사용한 후 어떤 워크스페이스와 프로젝트가 계정 알림을 보낼 수 있는지 결정합니다.",
- "workspaceCardHint": "이 워크스페이스가 계정 알림에 사용할 수 있는 채널을 선택합니다.",
- "workspaceCardLabelEmail": "이메일",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "사용자 정의 웹훅",
- "emailChannelHintEnabled": "일치하는 워크스페이스 알림을 이메일로 전송합니다.",
- "emailChannelHintDisabled": "먼저 이메일을 전역으로 구성하고 활성화하세요.",
- "ntfyChannelHintEnabled": "일치하는 워크스페이스 알림을 ntfy로 전송합니다.",
- "ntfyChannelHintDisabled": "먼저 ntfy를 전역으로 구성하고 활성화하세요.",
- "gotifyChannelHintEnabled": "일치하는 워크스페이스 알림을 Gotify로 전송합니다.",
- "gotifyChannelHintDisabled": "먼저 Gotify를 전역으로 구성하고 활성화하세요.",
- "webhookChannelHintEnabled": "일치하는 워크스페이스 알림을 웹훅으로 전송합니다.",
- "webhookChannelHintDisabled": "먼저 웹훅을 전역으로 구성하고 활성화하세요.",
- "projectScope": "프로젝트 범위",
- "projectScopeDescription": "기본적으로 모든 프로젝트가 포함됩니다. 이 워크스페이스가 선택한 프로젝트에서만 알림을 보내야 한다면 범위를 좁히세요.",
"allProjects": "모든 프로젝트",
- "allProjectsDescription": "이 워크스페이스의 모든 프로젝트에서 알림을 전송합니다.",
- "selectedProjects": "선택한 프로젝트",
- "selectedProjectsDescription": "선택한 프로젝트에서만 알림을 전송합니다.",
"noProjectsInWorkspace": "이 워크스페이스에 사용 가능한 프로젝트가 아직 없습니다.",
- "createRule": "규칙 만들기",
- "removeRule": "규칙 제거",
"toastEmailSaved": "이메일 알림 설정이 저장되었습니다",
"toastEmailSaveFailed": "이메일 설정 저장에 실패했습니다",
"toastNtfySaved": "ntfy 설정이 저장되었습니다",
@@ -694,151 +661,171 @@
"toastPreferencesSaveFailed": "알림 환경설정 저장에 실패했습니다",
"toastRuleSavedGeneric": "워크스페이스 알림 규칙이 저장되었습니다",
"toastRuleRemovedGeneric": "워크스페이스 알림 규칙이 제거되었습니다",
- "workspaceEnabledLabel": "{{workspaceName}} 알림 활성화",
"eventPreferencesTitle": "알림 받을 항목",
- "eventPreferencesDescription": "어떤 작업 이벤트가 인앱 알림을 생성하고 연결된 채널로 전달될 수 있는지 선택합니다.",
- "eventTaskAssignments": "작업 할당",
+ "eventPreferencesDescription": "내가 작성한 댓글, 멘션, 상태 변경은 나에게 알림을 보내지 않습니다.",
+ "eventTaskAssignments": "할당",
"eventComments": "댓글 및 멘션",
- "eventCommentsHint": "나에게 할당된 작업의 새 댓글과 직접 @멘션이 포함됩니다.",
- "eventStatusChanges": "작업 상태 변경",
+ "eventCommentsHint": "내 작업의 새 댓글과 나를 @멘션한 경우.",
+ "eventStatusChanges": "상태 변경",
"eventDueDateReminders": "마감일 미리 알림",
"reminderLeadTimeLabel": "마감일 전에 미리 알림 받기",
- "reminderLeadTimeHint": "마감 1시간 전부터 30일 전까지 설정할 수 있습니다. 기한 초과 알림은 별도로 전송됩니다.",
- "reminderLeadTimeUnitHours": "시간",
- "reminderLeadTimeUnitDays": "일",
"reminderLeadTimeInvalid": "1에서 {{max}} 사이의 정수를 입력하세요.",
"saveEventPreferences": "알림 유형 저장",
- "recipientHint": "본인에게 할당된 작업의 댓글과 상태 변경에 대한 알림을 받습니다. 멘션은 선택한 멤버에게 알림을 보냅니다. 본인이 작성한 댓글, 멘션 및 상태 변경에 대해서는 알림을 받지 않습니다."
+ "channelNotConnected": "연결되지 않음",
+ "channelOff": "꺼짐",
+ "channelsDescription": "알림은 항상 Kaneo에 표시됩니다. 채널을 연결하면 다른 곳에서도 받을 수 있습니다.",
+ "channelsTitle": "채널",
+ "configure": "구성",
+ "configureChannel": "{{channel}} 구성",
+ "configureWorkspace": "{{workspaceName}} 알림 구성",
+ "connect": "연결",
+ "connectChannel": "{{channel}} 연결",
+ "disconnectDescription": "{{channel}}(으)로 알림이 더 이상 전송되지 않으며 저장된 설정이 삭제됩니다.",
+ "disconnecting": "연결 해제 중...",
+ "disconnectTitle": "{{channel}} 연결을 해제할까요?",
+ "done": "완료",
+ "emailToggleLabel": "이메일로 알림 보내기",
+ "eventDueDateRemindersHint": "내 작업의 마감 전. 기한이 지난 작업은 별도로 알림을 보냅니다.",
+ "eventStatusChangesHint": "내 작업이 다른 컬럼으로 이동할 때.",
+ "eventTaskAssignmentsHint": "누군가 나에게 작업을 할당할 때.",
+ "loadFailed": "알림 설정을 불러오지 못했습니다.",
+ "onlyInKaneo": "Kaneo에서만",
+ "optional": "선택 사항",
+ "projectCount_other": "프로젝트 {{count}}개",
+ "reminderLeadTimeUnitDaysBefore_other": "일 전",
+ "reminderLeadTimeUnitHoursBefore_other": "시간 전",
+ "reminderLeadTimeUnitLabel": "알림 단위",
+ "ruleActiveDescription": "설정을 유지한 채 이 워크스페이스를 일시 중지하려면 끄세요.",
+ "ruleActiveLabel": "전송 중",
+ "ruleChannels": "채널",
+ "ruleDialogDescription": "이 워크스페이스의 알림을 보낼 수 있는 곳입니다.",
+ "ruleDialogTitle": "{{workspaceName}} 알림",
+ "ruleProjects": "프로젝트",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "저장",
+ "sendingDescription": "설정을 유지한 채 이 채널을 일시 중지하려면 끄세요.",
+ "sendingLabel": "전송 중",
+ "setUp": "설정",
+ "setUpWorkspace": "{{workspaceName}} 알림 설정",
+ "someProjects": "일부만",
+ "statusOn": "켜짐",
+ "statusSending": "전송 중",
+ "stopping": "중지 중...",
+ "stopSending": "전송 중지",
+ "stopSendingDescription": "이 워크스페이스의 알림은 Kaneo에서만 표시됩니다.",
+ "stopSendingTitle": "{{workspaceName}}에서 전송을 중지할까요?",
+ "workspacesDescription": "채널을 사용할 수 있는 워크스페이스와 프로젝트를 선택하세요.",
+ "workspacesTitle": "워크스페이스"
},
"preferencesPage": {
"title": "환경설정",
- "subtitle": "Kaneo 사용 환경을 맞춤 설정합니다.",
- "appearanceTitle": "모양",
- "appearanceSubtitle": "시각적 설정 및 레이아웃 환경설정.",
+ "subtitle": "Kaneo의 모양과 동작을 내게 맞게 설정합니다.",
+ "appearanceTitle": "일반",
"theme": "테마",
- "themeDescription": "선호하는 색상 구성표를 선택합니다",
"selectTheme": "테마 선택",
"themeLight": "라이트",
"themeDark": "다크",
- "themeSystem": "시스템",
+ "themeSystem": "시스템 설정 따르기",
"language": "언어",
- "languageDescription": "선호하는 인터페이스 언어를 선택합니다",
"selectLanguage": "언어 선택",
"firstDayOfWeek": "주의 첫 요일",
- "firstDayOfWeekDescription": "캘린더와 주간 범위가 시작되는 요일을 선택합니다",
+ "firstDayOfWeekDescription": "캘린더와 날짜 선택기에 사용됩니다.",
"selectFirstDayOfWeek": "첫 요일 선택",
"weekStartsOnSunday": "일요일",
"weekStartsOnMonday": "월요일",
"weekStartsOnSaturday": "토요일",
"defaultView": "기본 보기",
- "defaultViewDescription": "선호하는 작업 보기 모드를 선택합니다",
+ "defaultViewDescription": "프로젝트를 열 때 표시할 보기입니다.",
"selectViewMode": "보기 모드 선택",
"board": "보드",
"list": "목록",
"gantt": "간트",
- "sidebarDefault": "사이드바 기본값",
- "sidebarDefaultDescription": "시작 시 사이드바를 펼친 상태로 유지",
- "displayOptions": "표시 옵션",
- "displayOptionsDescription": "작업 보기에 표시할 정보를 선택합니다",
+ "sidebarDefault": "사이드바 열어 두기",
+ "sidebarDefaultDescription": "사이드바를 펼친 상태로 시작합니다.",
+ "displayOptions": "작업 세부 정보",
+ "displayOptionsDescription": "보드와 목록의 카드 및 행에 표시할 항목입니다.",
"taskNumbers": "작업 번호",
- "taskNumbersDescription": "작업 ID와 번호를 표시합니다",
"assignees": "담당자",
- "assigneesDescription": "작업 담당자를 표시합니다",
"dueDates": "마감일",
- "dueDatesDescription": "작업 마감일을 표시합니다",
"labels": "라벨",
- "labelsDescription": "작업 라벨과 태그를 표시합니다",
"priority": "우선순위",
- "priorityDescription": "우선순위 표시기를 표시합니다",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "프로젝트에서 보드 배경으로 설정한 이미지를 표시합니다.",
+ "advancedTitle": "고급"
},
"developerPage": {
- "pageTitle": "개발자 설정",
- "title": "개발자 설정",
- "subtitle": "API 키와 개발자 리소스를 관리합니다.",
- "apiKeysCardTitle": "API 키",
- "apiKeysCardDescription": "Kaneo에 프로그래밍 방식으로 접근하기 위한 API 키를 만들고 관리합니다.",
- "createApiKey": "API 키 만들기",
- "unnamedKey": "이름 없는 키"
+ "pageTitle": "API 키",
+ "title": "API 키",
+ "subtitle": "스크립트, CLI, MCP 클라이언트가 나 대신 Kaneo를 사용할 수 있게 합니다.",
+ "unnamedKey": "이름 없음",
+ "emptyDescription": "키를 만들어 CLI, MCP 클라이언트 또는 직접 만든 스크립트에서 사용하세요.",
+ "emptyTitle": "아직 API 키가 없습니다",
+ "keysNote": "키는 내가 할 수 있는 모든 일을 할 수 있습니다. 더 이상 사용하지 않는 키는 삭제하세요.",
+ "keysTitle": "키",
+ "loadError": "API 키를 불러오지 못했습니다. 다시 시도해 주세요.",
+ "newKey": "새 키"
},
"apiKey": {
"createdModal": {
- "title": "API 키 생성됨",
- "description": "API 키 \"{{keyName}}\"이(가) 생성되었습니다.",
- "yourApiKey": "API 키",
+ "title": "키 복사",
+ "description": "이 창을 닫으면 다시 볼 수 없습니다.",
"copy": "복사",
"copied": "복사됨",
- "toastCopied": "API 키가 클립보드에 복사되었습니다",
- "alertTitle": "API 키가 생성되었습니다",
- "alertDescription": "지금 키를 복사하세요. 다시 볼 수 없습니다.",
"done": "완료",
- "copyToContinue": "계속하려면 키를 복사하세요"
+ "copyError": "키를 복사하지 못했습니다. 키를 선택해 직접 복사하세요."
},
"table": {
- "loading": "API 키 로딩 중...",
- "empty": "아직 API 키가 없습니다. 시작하려면 하나 만드세요.",
- "columnName": "이름",
- "columnKey": "키",
- "columnCreated": "생성일",
- "columnExpires": "만료일",
- "columnActions": "작업",
- "unnamedKey": "이름 없는 키",
- "expiredBadge": "만료됨 {{label}}",
- "deleteConfirmTitle": "API 키를 삭제하시겠습니까?",
- "deleteConfirmDescription": "이 작업은 취소할 수 없습니다. {{name}}이(가) 영구적으로 삭제됩니다.",
- "deleteFallbackName": "이 API 키",
- "delete": "삭제",
- "deleting": "삭제 중...",
- "deleteAria": "{{name}} 삭제",
- "deleteAriaFallback": "API 키",
+ "deleteConfirmTitle": "“{{name}}”을(를) 삭제할까요?",
+ "deleteConfirmDescription": "이 키를 사용하는 모든 항목이 작동을 멈춥니다. 이 작업은 되돌릴 수 없습니다.",
+ "delete": "키 삭제",
+ "deleting": "삭제 중…",
"toastDeleted": "API 키가 삭제되었습니다",
- "toastDeleteError": "API 키 삭제에 실패했습니다"
+ "toastDeleteError": "API 키를 삭제하지 못했습니다"
},
"createDialog": {
- "title": "API 키 만들기",
- "description": "Kaneo API에 프로그래밍 방식으로 접근하기 위한 새 API 키를 만듭니다.",
+ "title": "새 API 키",
+ "description": "이 키는 내가 할 수 있는 모든 일을 할 수 있습니다.",
"nameLabel": "이름",
"namePlaceholder": "내 API 키",
- "nameDescription": "이 API 키에 대한 설명적인 이름",
+ "nameDescription": "어디에 사용하는지 기억할 수 있도록 입력하세요.",
"expirationLabel": "만료",
- "expirationPlaceholder": "만료 선택",
- "expirationDescription": "이 API 키가 유효하게 유지될 기간을 선택합니다. 안 함을 선택하면 자동 만료 없이 키가 생성됩니다.",
"expiration1d": "1일",
"expiration7d": "7일",
"expiration30d": "30일",
"expiration90d": "90일",
"expirationNever": "안 함",
- "create": "만들기",
- "creating": "생성 중...",
- "failedCreate": "API 키 생성에 실패했습니다",
+ "create": "키 만들기",
+ "creating": "만드는 중…",
+ "failedCreate": "API 키를 만들지 못했습니다",
"validation": {
- "nameRequired": "이름은 필수입니다",
- "nameShort": "이름은 3자 이상이어야 합니다",
- "expirationRequired": "만료는 필수입니다"
+ "nameRequired": "이름을 입력하세요",
+ "nameShort": "3자 이상 입력하세요"
}
+ },
+ "row": {
+ "actions": "{{name}} 메뉴",
+ "created": "{{date}} 생성",
+ "expired": "{{date}} 만료됨",
+ "expiredBadge": "만료됨",
+ "expires": "{{date}} 만료",
+ "neverExpires": "만료 없음"
}
},
"workspaceGeneral": {
"pageTitle": "일반 설정",
- "title": "일반 설정",
- "subtitle": "워크스페이스 이름과 설명을 관리합니다.",
- "workspaceInfoTitle": "워크스페이스 정보",
- "workspaceInfoSubtitle": "워크스페이스 세부 정보 및 환경설정을 구성합니다.",
- "nameLabel": "워크스페이스 이름",
- "nameHint": "워크스페이스의 이름",
+ "title": "일반",
+ "subtitle": "{{name}}의 이름과 소유자입니다.",
+ "workspaceInfoTitle": "워크스페이스",
+ "nameLabel": "이름",
"namePlaceholder": "워크스페이스 이름 입력",
"descriptionLabel": "설명",
- "descriptionHint": "워크스페이스에 대한 간단한 설명",
- "descriptionPlaceholder": "워크스페이스 설명 입력",
+ "descriptionPlaceholder": "팀에서 어떤 일을 하나요?",
"dangerZone": "위험 영역",
- "dangerZoneSubtitle": "되돌릴 수 없으며 파괴적인 작업입니다.",
"deleteWorkspace": "워크스페이스 삭제",
- "deleteWorkspaceDescription": "워크스페이스를 영구 삭제하도록 예약합니다",
- "deleteModalTitle": "워크스페이스를 삭제하시겠습니까?",
- "deleteModalDescription": "이 작업은 워크스페이스 \"{{name}}\"과(와) 모든 데이터를 영구적으로 삭제합니다. 이 작업은 취소할 수 없습니다.",
+ "deleteWorkspaceDescription": "{{name}}과(와) 프로젝트, 작업을 영구적으로 삭제합니다.",
+ "deleteModalTitle": "워크스페이스를 삭제할까요?",
+ "deleteModalDescription": "{{name}}과(와) 모든 프로젝트 및 작업이 영구적으로 삭제됩니다. 이 작업은 되돌릴 수 없습니다.",
"deleteModalConfirm": "워크스페이스 삭제",
- "toastUpdated": "워크스페이스가 업데이트되었습니다",
"toastUpdateError": "워크스페이스 업데이트에 실패했습니다",
"toastDeleted": "워크스페이스가 삭제되었습니다",
"toastDeleteError": "워크스페이스 삭제에 실패했습니다",
@@ -850,45 +837,41 @@
"toastSuccess": "소유권이 이전되었습니다",
"toastError": "소유권 이전에 실패했습니다",
"title": "소유권 이전",
- "subtitle": "이 워크스페이스를 다른 멤버에게 이전합니다. 이후 관리자로 변경되며 소유자 전용 권한을 잃게 됩니다.",
"pickerLabel": "새 소유자",
"noEligibleMembers": "소유권을 이전하려면 먼저 다른 멤버를 한 명 이상 초대하세요.",
- "pickerHint": "선택한 멤버가 이 워크스페이스의 단독 소유자가 됩니다.",
+ "pickerHint": "새 소유자가 넘겨받고, 나는 관리자로 남습니다.",
"pickerPlaceholder": "멤버 선택",
"button": "이전",
"dialogTitle": "소유권을 이전하시겠습니까?",
"dialogDescription": "{{name}}님이 {{workspace}}의 단독 소유자가 됩니다. 관리자 권한은 유지되지만 워크스페이스 삭제나 재이전 같은 소유자 전용 기능은 잃게 됩니다.",
"transferring": "이전 중...",
"confirm": "소유권 이전"
- }
+ },
+ "ownershipSubtitle": "소유자만 볼 수 있습니다.",
+ "ownershipTitle": "소유권"
},
"projectGeneral": {
"pageTitle": "프로젝트 설정",
- "title": "일반 설정",
- "subtitle": "프로젝트 이름, 키, 아이콘 및 설명을 관리합니다.",
- "projectInfoTitle": "프로젝트 정보",
- "projectInfoSubtitle": "프로젝트 세부 정보 및 환경설정을 구성합니다.",
+ "title": "일반",
+ "subtitle": "{{name}}의 이름, 키, 모양입니다.",
+ "projectInfoTitle": "프로젝트",
"iconLabel": "아이콘",
- "iconHint": "사이드바와 프로젝트 화면에 표시됩니다.",
+ "iconHint": "사이드바와 프로젝트 목록에 표시됩니다.",
"pickIconTitle": "아이콘 선택",
"searchIconsPlaceholder": "아이콘 검색...",
- "projectNameLabel": "프로젝트 이름",
- "projectNameHint": "프로젝트의 이름",
- "projectNamePlaceholder": "프로젝트 이름 입력",
+ "projectNameLabel": "이름",
+ "projectNamePlaceholder": "프로젝트 이름",
"keyLabel": "키",
- "keyHint": "티켓 ID에 사용됩니다 (예: {{slug}}-123)",
+ "keyHint": "모든 작업 ID의 앞부분입니다(예: {{slug}}-123).",
"keyPlaceholder": "PRO",
"descriptionLabel": "설명",
- "descriptionHint": "프로젝트에 대한 간단한 설명",
- "descriptionPlaceholder": "프로젝트 설명 입력",
+ "descriptionPlaceholder": "이 프로젝트는 무엇을 위한 건가요?",
"dangerZone": "위험 영역",
- "dangerZoneSubtitle": "되돌릴 수 없으며 파괴적인 작업입니다.",
"deleteProject": "프로젝트 삭제",
- "deleteProjectDescription": "프로젝트를 영구 삭제하도록 예약합니다",
- "deleteModalTitle": "프로젝트를 삭제하시겠습니까?",
- "deleteModalDescription": "이 작업은 프로젝트 \"{{name}}\"과(와) 모든 데이터를 영구적으로 삭제합니다. 이 작업은 취소할 수 없습니다.",
+ "deleteProjectDescription": "{{name}}과(와) 모든 작업을 영구적으로 삭제합니다.",
+ "deleteModalTitle": "프로젝트를 삭제할까요?",
+ "deleteModalDescription": "{{name}}과(와) 모든 작업이 영구적으로 삭제됩니다. 이 작업은 되돌릴 수 없습니다.",
"deleteModalConfirm": "프로젝트 삭제",
- "toastUpdated": "프로젝트가 업데이트되었습니다",
"toastUpdateError": "프로젝트 업데이트에 실패했습니다",
"toastDeleted": "프로젝트가 삭제되었습니다",
"toastDeleteError": "프로젝트 삭제에 실패했습니다",
@@ -898,40 +881,42 @@
"keyMax": "키는 8자 이하여야 합니다",
"iconRequired": "아이콘은 필수입니다"
},
- "importExportTasks": "가져오기/내보내기",
- "importExportTasksDescription": "작업을 가져오고 내보냅니다.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "보드 뒤에 표시되는 이미지입니다. 각 사용자가 끌 수 있습니다.",
+ "backgroundUnavailable": "이 인스턴스에는 이미지 업로드가 설정되어 있지 않습니다.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "교체",
+ "backgroundUpload": "업로드",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "프로젝트 이동",
- "moveModalDescription": "프로젝트 \"{{name}}\"과(와) 모든 작업이 \"{{workspace}}\"(으)로 이동됩니다. 해당 워크스페이스의 멤버가 아닌 사람에게 할당된 작업은 할당이 해제되며, 이 프로젝트의 알림 구독도 삭제됩니다.",
- "moveModalTitle": "프로젝트를 이동할까요?",
- "moveProject": "워크스페이스로 이동",
+ "moveProject": "다른 워크스페이스로 이동",
"moveProjectAction": "이동",
- "moveProjectDescription": "이 프로젝트를 모든 작업과 함께 다른 워크스페이스로 이동합니다.",
+ "moveProjectDescription": "작업, 컬럼, 라벨도 함께 이동합니다.",
"moveProjectPlaceholder": "워크스페이스 선택",
"toastMoved": "프로젝트를 이동했습니다",
"toastMovedWithUnassigned": "프로젝트를 이동했습니다. {{taskCount}}개 작업의 할당이 해제되었습니다.",
"toastMoveError": "프로젝트를 이동하지 못했습니다",
- "moveTargetsError": "이 프로젝트를 옮길 수 있는 워크스페이스를 확인하지 못했습니다. 페이지를 새로고침해 다시 시도하세요."
+ "moveTargetsError": "이 프로젝트를 옮길 수 있는 워크스페이스를 확인하지 못했습니다. 페이지를 새로고침해 다시 시도하세요.",
+ "moveDialogDescription": "새 워크스페이스에 속하지 않은 사람에게 할당된 작업은 할당이 해제되고, 이 프로젝트의 알림 구독은 삭제됩니다.",
+ "moveDialogTitle": "다른 워크스페이스로 이동할까요?",
+ "moveTargetLabel": "워크스페이스",
+ "moving": "이동 중...",
+ "tasksTitle": "작업"
},
"projectIntegrations": {
- "pageTitle": "프로젝트 연동",
- "title": "프로젝트 연동",
- "subtitle": "외부 도구 및 서비스와 프로젝트를 연결하여 워크플로를 간소화합니다.",
+ "pageTitle": "연동",
+ "title": "연동",
+ "subtitle": "이 프로젝트를 코드 호스팅 및 팀 채팅과 연결합니다.",
"githubSectionTitle": "GitHub 연동",
"githubSectionSubtitle": "작업을 GitHub 이슈와 동기화하고 양방향 동기화를 활성화합니다.",
"giteaSectionTitle": "Gitea 연동",
"giteaSectionSubtitle": "자체 호스팅 Gitea 인스턴스(이슈, PR, 웹훅)와 작업을 동기화합니다.",
"discordSectionTitle": "Discord 연동",
"discordSectionSubtitle": "웹훅을 사용하여 프로젝트 작업 업데이트를 Discord 채널로 전송합니다.",
- "genericWebhookSectionTitle": "일반 웹훅",
+ "genericWebhookSectionTitle": "웹훅",
"genericWebhookSectionSubtitle": "프로젝트 작업 이벤트를 모든 HTTP 엔드포인트로 JSON 형식으로 전송합니다.",
"slackSectionTitle": "Slack 연동",
"slackSectionSubtitle": "수신 웹훅을 사용하여 프로젝트 작업 업데이트를 Slack 채널로 전송합니다.",
@@ -939,7 +924,7 @@
"telegramSectionSubtitle": "봇을 사용하여 프로젝트 작업 업데이트를 Telegram 채팅 또는 토픽으로 전송합니다.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "GitLab.com 또는 자체 관리형 인스턴스와 작업을 동기화합니다.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "코드 호스팅",
"chatTitle": "채팅 및 웹훅",
@@ -952,69 +937,59 @@
"projectVisibility": {
"pageTitle": "프로젝트 공개 설정",
"title": "공개 설정",
- "subtitle": "프로젝트를 누가 보고 접근할 수 있는지 제어합니다.",
- "sectionTitle": "공개 설정",
- "sectionSubtitle": "공개 접근을 토글하고 공개 URL을 공유합니다.",
- "publicAccess": "공개 접근",
- "publicAccessHint": "URL을 가진 누구나 이 프로젝트를 볼 수 있도록 허용",
+ "subtitle": "{{workspace}} 외부에서 {{project}}을(를) 볼 수 있는 사람을 선택합니다.",
+ "sectionTitle": "접근 권한",
+ "publicAccess": "공개 링크",
+ "publicAccessHint": "링크가 있는 누구나 보드와 작업을 볼 수 있습니다. 변경은 할 수 없습니다.",
"publicUrl": "공개 URL",
- "publicUrlHint": "프로젝트가 공개인 경우 이 링크를 공유하세요",
- "copy": "복사",
- "copiedToast": "복사됨",
+ "copy": "링크 복사",
"toastUpdated": "공개 설정이 업데이트되었습니다",
- "toastUpdateError": "공개 설정 업데이트에 실패했습니다"
+ "toastUpdateError": "공개 설정 업데이트에 실패했습니다",
+ "always": "항상",
+ "copied": "복사됨",
+ "copyError": "링크를 복사하지 못했습니다",
+ "membersDescription": "워크스페이스의 모든 사람이 역할에서 허용하는 범위 내에서 접근할 수 있습니다.",
+ "membersTitle": "{{workspace}} 멤버",
+ "offNote": "공개 링크를 끄면 즉시 작동하지 않습니다.",
+ "on": "켜짐",
+ "openPublicPage": "공개 페이지 열기",
+ "thisWorkspace": "이 워크스페이스"
},
"projectWorkflow": {
"pageTitle": "워크플로 설정",
"title": "워크플로",
- "subtitle": "이 프로젝트의 보드 컬럼 및 자동화 규칙을 구성합니다.",
+ "subtitle": "보드의 컬럼과 컬럼 간에 작업을 이동시키는 조건입니다.",
"columnsTitle": "컬럼",
- "columnsDescription": "보드에 표시되는 컬럼을 관리합니다. 드래그하여 순서를 바꿉니다. 완료된 작업을 나타내는 단계의 경우 \"완료 컬럼\"을 켜세요.",
- "automationTitle": "자동화 규칙",
- "automationDescription": "연동 이벤트를 컬럼에 매핑합니다. 이벤트가 발생하면 연결된 작업이 지정된 컬럼으로 이동합니다.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "드래그하여 순서를 바꿉니다. 완료 컬럼에 있는 작업은 완료된 것으로 간주됩니다.",
+ "automationTitle": "자동화",
+ "automationDescription": "연결된 저장소에서 이벤트가 발생하면 연결된 작업을 이동합니다."
},
"projectSwitcher": {
"selectProject": "프로젝트 선택",
"noProjects": "프로젝트 없음"
},
"columnEditor": {
- "toastCreated": "컬럼이 생성되었습니다",
"toastCreateError": "컬럼 생성에 실패했습니다",
- "toastRenamed": "컬럼 이름이 변경되었습니다",
"toastRenameError": "컬럼 업데이트에 실패했습니다",
- "toastFinalOn": "컬럼이 완료로 표시되었습니다",
- "toastFinalOff": "컬럼의 완료 표시가 해제되었습니다",
"toastUpdateError": "컬럼 업데이트에 실패했습니다",
- "toastIconUpdated": "컬럼 아이콘이 업데이트되었습니다",
- "toastDeleted": "컬럼이 삭제되었습니다",
"toastDeleteError": "컬럼 삭제에 실패했습니다",
- "loading": "컬럼 로딩 중...",
"pickIconTitle": "컬럼 아이콘 선택",
"searchIconsPlaceholder": "아이콘 검색...",
- "doneColumnTooltip": "이를 완료 컬럼으로 처리",
- "doneColumn": "완료 컬럼",
"markDoneAria": "{{name}}을(를) 완료 컬럼으로 표시",
- "on": "켜짐",
- "off": "꺼짐",
- "newColumnPlaceholder": "새 컬럼 이름...",
- "add": "추가",
+ "newColumnPlaceholder": "컬럼 이름",
"deleteAria": "{{name}} 열 삭제",
- "renameAria": "{{name}} 열 이름 변경"
+ "renameAria": "{{name}} 열 이름 변경",
+ "addColumn": "컬럼 추가",
+ "columnHeader": "컬럼",
+ "deleteConfirm": "컬럼 삭제",
+ "deleteDescription": "작업이 남아 있는 컬럼은 삭제할 수 없습니다. 먼저 해당 작업을 이동하세요.",
+ "deleteTitle": "“{{name}}”을(를) 삭제할까요?",
+ "doneHeader": "완료",
+ "dragAria": "{{name}} 순서 변경",
+ "reorderError": "컬럼 순서를 변경하지 못했습니다"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "저장소 소유자는 필수입니다",
- "ownerInvalid": "잘못된 저장소 소유자 형식입니다",
- "nameRequired": "저장소 이름은 필수입니다",
- "nameInvalid": "잘못된 저장소 이름 형식입니다"
- },
"toast": {
- "installedOk": "GitHub 앱이 올바르게 설치되었습니다!",
- "installedMissingPerms": "GitHub 앱이 설치되었지만 필수 권한이 없습니다",
- "needsInstallOnRepo": "GitHub 앱을 이 저장소에 설치해야 합니다",
- "repoNotFound": "저장소를 찾을 수 없거나 접근할 수 없습니다",
"verifyError": "GitHub 설치 확인에 실패했습니다",
"installAppFirst": "먼저 이 저장소에 GitHub 앱을 설치하세요",
"missingPermsDetail": "GitHub 앱에 필수 권한이 없습니다: {{list}}. 앱 권한을 업데이트하세요.",
@@ -1028,64 +1003,36 @@
"commentOnDisabled": "새 이슈의 작업 링크 댓글이 꺼져 있습니다",
"settingsUpdateError": "GitHub 연동 업데이트에 실패했습니다"
},
- "connectionStatus": "연결 상태",
- "connectedActive": "저장소가 연결되어 활성 상태입니다",
- "notConnectedHint": "연결된 저장소가 없습니다",
- "badgeConnected": "연결됨",
- "badgeNotConnected": "연결 안 됨",
- "repository": "저장소",
- "repositoryHint": "연결된 GitHub 저장소",
"commentTaskLinkTitle": "새 이슈에 Kaneo 링크 댓글 달기",
- "commentTaskLinkHint": "활성화하면 Kaneo가 새 GitHub 이슈마다 작업 링크가 포함된 댓글을 게시합니다.",
- "appStatusTitle": "GitHub 앱 상태",
- "appStatusHint": "설치 및 권한 상태",
- "statusProperlyConfigured": "올바르게 구성됨",
- "statusMissingPermissions": "권한 누락",
- "statusNotInstalled": "설치되지 않음",
- "ownerLabel": "저장소 소유자",
- "ownerHint": "GitHub 사용자 이름 또는 조직",
- "ownerPlaceholder": "예: octocat",
- "repoNameLabel": "저장소 이름",
- "repoNameHint": "저장소 이름",
- "repoNamePlaceholder": "예: my-project",
- "actionsTitle": "작업",
- "actionsHint": "저장소 연결을 관리합니다",
- "browse": "찾아보기",
- "verify": "확인",
- "update": "업데이트",
- "connect": "연결",
- "disconnect": "연결 해제",
- "missingPermissionsLabel": "누락된 권한:",
+ "commentTaskLinkHint": "GitHub 사용자가 작업으로 바로 이동할 수 있습니다.",
"updatePermissions": "권한 업데이트",
"installGithubApp": "GitHub 앱 설치",
- "importSectionTitle": "GitHub 이슈 가져오기",
- "importSectionHint": "GitHub 저장소의 기존 이슈를 작업으로 가져옵니다",
- "importing": "가져오는 중...",
- "importIssues": "이슈 가져오기",
- "importDisabledHint": "가져오기를 활성화하려면 위의 저장소 구성을 완료하세요",
+ "importSectionHint": "저장소의 열린 이슈를 작업으로 가져옵니다.",
+ "importDisabledHint": "가져오기를 사용하려면 저장소를 다시 연결하세요.",
"accountVerificationHint": "이 저장소의 관리자 권한을 확인하려면 GitHub 계정을 연결하세요.",
"enableGithubSignInHint": "인스턴스 관리자에게 GitHub 로그인을 활성화해 달라고 요청하세요.",
"reverifyHint": "접근 권한을 확인하고 동기화를 재개하려면 이 저장소를 다시 연결하세요.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "이 저장소의 이슈와 풀 리퀘스트가 여기 작업에 연결됩니다.",
+ "linkAccountDescription": "저장소를 관리할 수 있는지 확인합니다.",
+ "linkAccountTitle": "GitHub 계정 연결",
+ "linked": "연결됨",
+ "linkGithub": "GitHub 연결",
+ "verifyMissingPermissions": "Kaneo GitHub 앱에 다음 권한이 없습니다: {{list}}.",
+ "verifyNotInstalled": "Kaneo GitHub 앱이 이 저장소에 설치되어 있지 않습니다.",
+ "verifyReady": "Kaneo GitHub 앱이 필요한 권한으로 설치되어 있습니다.",
+ "workflowHint": "풀 리퀘스트가 열리거나 병합될 때 작업을 옮기려면",
+ "workflowLink": "워크플로"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea 기본 URL은 필수입니다",
- "baseUrlInvalid": "유효한 URL을 입력하세요 (예: https://gitea.example.com)",
- "ownerRequired": "저장소 소유자는 필수입니다",
- "ownerInvalid": "잘못된 저장소 소유자 형식입니다",
- "nameRequired": "저장소 이름은 필수입니다",
- "nameInvalid": "잘못된 저장소 이름 형식입니다"
+ "baseUrlInvalid": "유효한 URL을 입력하세요 (예: https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea 토큰이 이 저장소에 접근할 수 있습니다",
- "verifyWarning": "토큰 권한 또는 저장소 접근을 확인하세요",
- "repoNotFound": "저장소를 찾을 수 없거나 접근할 수 없습니다",
"verifyError": "Gitea 접근 확인에 실패했습니다",
- "tokenRequired": "개인 액세스 토큰은 필수입니다",
- "tokenRequiredVerify": "확인하려면 토큰을 입력하세요",
"verifyFirst": "접근 확인 실패. URL, 토큰, 저장소를 확인하세요",
"updated": "Gitea 연동이 저장되었습니다",
"updateError": "Gitea 연동 저장에 실패했습니다",
@@ -1095,56 +1042,22 @@
"importError": "이슈 가져오기에 실패했습니다",
"commentOnEnabled": "Kaneo가 새 이슈에 작업 링크를 포함한 댓글을 게시합니다",
"commentOnDisabled": "새 이슈의 작업 링크 댓글이 꺼져 있습니다",
- "settingsUpdateError": "Gitea 연동 업데이트에 실패했습니다",
- "secretCopied": "복사됨",
- "unableToCopySecret": "시크릿을 복사할 수 없습니다",
- "notGiteaInstance": "URL이 Gitea 인스턴스를 가리키지 않습니다",
- "redirected": "Gitea URL이 리디렉션되었습니다(보통 HTTPS로). 최종 URL을 직접 사용하세요."
- },
- "webhookShow": "표시",
- "webhookHide": "숨기기",
- "webhookCopy": "복사",
- "connectionStatus": "연결 상태",
- "connectedActive": "저장소가 연결되어 활성 상태입니다",
- "notConnectedHint": "연결된 Gitea 저장소가 없습니다",
- "badgeConnected": "연결됨",
- "badgeNotConnected": "연결 안 됨",
- "repository": "저장소",
- "repositoryHint": "연결된 Gitea 저장소",
+ "settingsUpdateError": "Gitea 연동 업데이트에 실패했습니다"
+ },
"commentTaskLinkTitle": "새 이슈에 Kaneo 링크 댓글 달기",
- "commentTaskLinkHint": "활성화하면 Kaneo가 새 이슈마다 작업 링크가 포함된 댓글을 게시합니다.",
- "webhookTitle": "웹훅",
- "webhookHint": "Gitea 저장소에서 이 URL과 시크릿으로 웹훅을 추가합니다. push, pull request, issues, issue comments 및 create(라벨용)를 활성화하세요.",
- "webhookSecretLabel": "시크릿 (Gitea의 웹훅 시크릿과 일치해야 함)",
+ "commentTaskLinkHint": "Gitea 사용자가 작업으로 바로 이동할 수 있습니다.",
+ "webhookHint": "변경 사항이 Kaneo에 반영되도록 저장소 설정에서 이 웹훅을 추가하세요.",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "Gitea 인스턴스의 루트 URL",
"tokenLabel": "개인 액세스 토큰",
- "tokenHint": "저장소 및 이슈 접근 권한이 있는 토큰",
"tokenPlaceholder": "토큰 붙여넣기",
"tokenPlaceholderUpdate": "교체할 새 토큰 붙여넣기",
- "currentToken": "저장됨",
- "ownerLabel": "소유자",
- "ownerHint": "사용자 또는 조직 이름",
- "repoNameLabel": "저장소 이름",
- "repoNameHint": "저장소 이름만 (소유자 제외)",
- "actionsTitle": "작업",
- "actionsHint": "접근을 확인하고 연결합니다",
- "browse": "찾아보기",
- "verify": "확인",
- "update": "업데이트",
- "connect": "연결",
- "disconnect": "연결 해제",
- "importSectionTitle": "Gitea 이슈 가져오기",
- "importSectionHint": "저장소의 열린 이슈와 풀 리퀘스트를 가져옵니다",
- "importing": "가져오는 중…",
- "importIssues": "이슈 가져오기",
- "importDisabledHint": "가져오기를 활성화하려면 위의 저장소를 확인하세요",
- "browseModalTitle": "내 저장소",
- "browseModalHint": "토큰으로 접근할 수 있는 저장소",
- "searchRepos": "검색…",
- "browseNeedsCredentials": "찾아보려면 Gitea URL과 토큰을 입력하세요",
- "loadingRepos": "저장소 로딩 중…",
- "retry": "재시도"
+ "importSectionHint": "열린 이슈와 풀 리퀘스트를 작업으로 가져옵니다.",
+ "importDisabledHint": "가져오려면 확인된 접근 권한이 필요합니다. 위의 토큰 상태를 확인하세요.",
+ "browseModalHint": "토큰으로 접근할 수 있는 저장소입니다.",
+ "browseNeedsCredentials": "찾아보려면 Gitea URL과 토큰을 입력하세요.",
+ "browseEmpty": "이 토큰으로 볼 수 있는 저장소가 없습니다.",
+ "chooseRepositoryDescription": "owner/name을 입력하거나 목록에서 선택하세요.",
+ "webhookEvents": "푸시, 풀 리퀘스트, 이슈, 이슈 댓글, 생성 이벤트를 켜세요."
},
"slackIntegration": {
"validation": {
@@ -1159,30 +1072,10 @@
"removed": "Slack 연동이 제거되었습니다",
"removeError": "Slack 연동 제거에 실패했습니다"
},
- "connectionTitle": "Slack 웹훅 연결",
- "connectionHint": "Slack 수신 웹훅 URL을 붙여넣고 게시할 작업 이벤트를 선택하세요.",
- "connected": "연결됨",
- "paused": "일시 중지됨",
- "webhookLabel": "수신 웹훅 URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Slack에서 수신 웹훅을 만들고 생성된 URL을 여기에 붙여넣으세요.",
- "channelLabel": "채널 이름",
- "channelPlaceholder": "#team-updates",
- "channelHint": "참고용 선택 라벨입니다. 실제 대상 채널은 Slack의 웹훅 설정에서 제어합니다.",
- "eventsTitle": "이벤트 알림",
- "eventsHint": "Slack에 게시할 프로젝트 변경 사항을 선택합니다.",
- "events": {
- "taskCreated": "새 작업",
- "taskStatusChanged": "상태 변경",
- "taskPriorityChanged": "우선순위 변경",
- "taskTitleChanged": "제목 변경",
- "taskDescriptionChanged": "설명 변경",
- "taskCommentCreated": "새 댓글"
- },
+ "webhookHint": "Slack에서 수신 웹훅을 만들고 여기에 붙여넣으세요.",
"connect": "Slack 연결",
- "saveChanges": "변경사항 저장",
- "update": "Slack 업데이트",
- "disconnect": "연결 해제"
+ "update": "Slack 업데이트"
},
"discordIntegration": {
"validation": {
@@ -1197,34 +1090,15 @@
"removed": "Discord 연동이 제거되었습니다",
"removeError": "Discord 연동 제거에 실패했습니다"
},
- "connectionTitle": "Discord 웹훅 연결",
- "connectionHint": "Discord 웹훅 URL을 붙여넣고 게시할 작업 이벤트를 선택하세요.",
- "connected": "연결됨",
- "paused": "일시 중지됨",
- "webhookLabel": "웹훅 URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Discord 채널 웹훅을 만들고 생성된 URL을 여기에 붙여넣으세요.",
- "channelLabel": "채널 이름",
- "channelPlaceholder": "#team-updates",
- "channelHint": "참고용 선택 라벨입니다. 실제 대상 채널은 Discord의 웹훅 설정에서 제어합니다.",
- "eventsTitle": "이벤트 알림",
- "eventsHint": "Discord에 게시할 프로젝트 변경 사항을 선택합니다.",
- "events": {
- "taskCreated": "새 작업",
- "taskStatusChanged": "상태 변경",
- "taskPriorityChanged": "우선순위 변경",
- "taskTitleChanged": "제목 변경",
- "taskDescriptionChanged": "설명 변경",
- "taskCommentCreated": "새 댓글"
- },
+ "webhookHint": "Discord에서 채널 웹훅을 만들고 여기에 붙여넣으세요.",
"connect": "Discord 연결",
- "saveChanges": "변경사항 저장",
- "update": "Discord 업데이트",
- "disconnect": "연결 해제"
+ "update": "Discord 업데이트"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "유효한 웹훅 URL을 입력하세요"
+ "webhookInvalid": "유효한 웹훅 URL을 입력하세요",
+ "leadTimeRange": "5분에서 720시간 사이로 선택하세요."
},
"toast": {
"saved": "일반 웹훅 연동이 저장되었습니다",
@@ -1235,21 +1109,16 @@
"removed": "일반 웹훅 연동이 제거되었습니다",
"removeError": "일반 웹훅 연동 제거에 실패했습니다"
},
- "connectionTitle": "발신 웹훅 연결",
- "connectionHint": "작업 이벤트를 자체 엔드포인트로 JSON 형식으로 전송합니다. 시크릿이 구성된 경우 서명된 X-Kaneo-Signature 헤더가 포함됩니다.",
- "connected": "연결됨",
- "paused": "일시 중지됨",
"webhookLabel": "엔드포인트 URL",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo는 활성화된 각 이벤트에 대해 JSON 페이로드와 함께 POST 요청을 전송합니다.",
"secretLabel": "서명 시크릿",
- "secretPlaceholder": "선택 사항 - 공유 시크릿",
- "secretHint": "선택 사항. 입력하면 Kaneo가 요청 본문에 서명하고 16진수 다이제스트를 X-Kaneo-Signature 헤더로 전송합니다.",
- "secretHintConfigured": "서명 시크릿이 이미 구성되어 있습니다 ({{secret}}). 교체하려면 새 시크릿을 입력하세요.",
- "eventsTitle": "이벤트 알림",
- "eventsHint": "발신 웹훅을 트리거할 프로젝트 변경 사항을 선택합니다.",
+ "secretPlaceholder": "공유 시크릿",
+ "secretHint": "Kaneo가 이 값으로 각 요청에 서명하고 다이제스트를 X-Kaneo-Signature 헤더로 보냅니다.",
+ "secretHintConfigured": "현재 시크릿: {{secret}}. 교체하려면 새 시크릿을 붙여넣으세요.",
+ "eventsTitle": "전송 조건",
"events": {
- "taskCreated": "새 작업",
+ "taskCreated": "작업 생성",
"taskStatusChanged": "상태 변경",
"taskPriorityChanged": "우선순위 변경",
"taskTitleChanged": "제목 변경",
@@ -1263,15 +1132,18 @@
"dueDateReminder": "마감일 미리 알림"
},
"connect": "웹훅 연결",
- "saveChanges": "변경사항 저장",
- "disconnect": "연결 해제",
- "reminderLeadTimeLabel": "마감 몇 시간 전에 웹훅 전송"
+ "reminderLeadTimeLabel": "작업 마감 전 시간",
+ "activeTitle": "이벤트 전송 중",
+ "disconnectDescription": "Kaneo가 이벤트 전송을 중단하고 저장된 엔드포인트와 시크릿을 삭제합니다.",
+ "disconnectTitle": "웹훅 연결을 해제할까요?",
+ "reminderLeadTimeAfter": "시간 전에 알림 보내기",
+ "reminderLeadTimeBefore": "작업 마감"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "유효한 Telegram 봇 토큰을 입력하세요",
"chatIdRequired": "채팅 ID는 필수입니다",
- "threadIdInvalid": "유효한 Telegram 토픽 스레드 ID를 입력하세요"
+ "threadIdInvalid": "유효한 토픽 ID를 입력하세요"
},
"toast": {
"saved": "Telegram 연동이 저장되었습니다",
@@ -1282,55 +1154,38 @@
"removed": "Telegram 연동이 제거되었습니다",
"removeError": "Telegram 연동 제거에 실패했습니다"
},
- "connectionTitle": "Telegram 봇 연결",
- "connectionHint": "Telegram 봇 토큰과 채팅 ID를 사용하여 채팅 또는 토픽으로 프로젝트 작업 업데이트를 전송합니다.",
- "connected": "연결됨",
- "paused": "일시 중지됨",
"botTokenLabel": "봇 토큰",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "BotFather로 봇을 만들고 해당 토큰을 여기에 붙여넣으세요.",
- "botTokenHintConfigured": "봇 토큰이 이미 구성되어 있습니다 ({{token}}). 교체하려면 새 토큰을 입력하세요.",
+ "botTokenHintConfigured": "현재 토큰: {{token}}",
"chatIdLabel": "채팅 ID",
"chatIdPlaceholder": "-1001234567890 또는 @team_updates",
- "chatIdHint": "업데이트를 게시할 Telegram 채팅 ID 또는 채널 사용자 이름을 입력하세요.",
- "threadIdLabel": "토픽 스레드 ID",
- "threadIdPlaceholder": "선택 사항 - 토픽 ID",
- "threadIdHint": "선택 사항. Telegram 그룹 내 포럼 토픽에 사용하세요.",
- "chatLabelLabel": "채팅 라벨",
+ "threadIdLabel": "토픽 ID",
+ "threadIdPlaceholder": "포럼 토픽용",
+ "chatLabelLabel": "채팅 이름",
"chatLabelPlaceholder": "엔지니어링 업데이트",
- "chatLabelHint": "Kaneo 내부 참고용 선택 라벨입니다.",
- "eventsTitle": "이벤트 알림",
- "eventsHint": "Telegram에 게시할 프로젝트 변경 사항을 선택합니다.",
- "events": {
- "taskCreated": "새 작업",
- "taskStatusChanged": "상태 변경",
- "taskPriorityChanged": "우선순위 변경",
- "taskTitleChanged": "제목 변경",
- "taskDescriptionChanged": "설명 변경",
- "taskCommentCreated": "새 댓글"
- },
"connect": "Telegram 연결",
- "saveChanges": "변경사항 저장",
- "disconnect": "연결 해제"
+ "botTokenSavedPlaceholder": "저장되었습니다. 교체하려면 새 토큰을 붙여넣으세요.",
+ "loadError": "Telegram 설정을 불러오지 못했습니다."
},
"repositoryBrowser": {
"title": "저장소 선택",
- "description": "이슈 동기화를 활성화하기 위해 GitHub 앱이 설치된 저장소를 선택합니다.",
- "searchPlaceholder": "저장소 검색...",
- "loadError": "저장소 로딩에 실패했습니다",
+ "description": "Kaneo GitHub 앱이 볼 수 있는 저장소입니다.",
+ "searchPlaceholder": "저장소 검색",
+ "loadError": "저장소를 불러오지 못했습니다.",
"tryAgain": "다시 시도",
- "emptyTitle": "저장소를 찾을 수 없음",
+ "emptyTitle": "아직 저장소가 없습니다",
"emptyHint": "여기서 보려면 저장소에 GitHub 앱을 설치하세요.",
"installGithubApp": "GitHub 앱 설치",
- "noSearchMatchTitle": "검색과 일치하는 저장소가 없습니다",
- "noSearchMatchHint": "검색어를 조정하거나 검색을 지워서 모든 저장소를 확인하세요.",
- "footerSummary": "설치 {{installationCount}}건에 걸쳐 저장소 {{repoCount}}개",
- "manageInstallations": "설치 관리",
- "updatedPrefix": "업데이트됨",
- "relativeJustNow": "방금 전",
- "relativeMinutesAgo": "{{count}}분 전",
- "relativeHoursAgo": "{{count}}시간 전",
- "relativeDaysAgo": "{{count}}일 전"
+ "noSearchMatchTitle": "일치하는 저장소 없음",
+ "noSearchMatchHint": "다른 이름으로 시도하거나 검색어를 지우세요.",
+ "emptyPageHint": "이 페이지에는 없습니다. 더 불러와서 계속 찾아보세요.",
+ "loadMore": "더 불러오기",
+ "manageAccess": "앱 접근 권한 관리",
+ "missingOne": "찾는 저장소가 없나요?",
+ "searching": "검색 중…",
+ "updated": "{{time}} 업데이트됨",
+ "useRepository": "저장소 사용"
},
"tasksImportExport": {
"exportTasks": "작업 내보내기",
@@ -1349,27 +1204,26 @@
"importError": "작업 가져오기에 실패했습니다",
"invalidFormat": "잘못된 가져오기 파일 형식입니다",
"noFileDropped": "파일이 놓이지 않았습니다",
- "notJsonFile": "JSON 파일을 업로드하세요"
+ "notJsonFile": "JSON 파일을 업로드하세요",
+ "export": "내보내기",
+ "exportDescription": "이 프로젝트의 모든 작업을 파일로 다운로드합니다.",
+ "import": "가져오기",
+ "importDescription": "이전에 내보낸 파일에서 작업을 추가합니다."
},
"workflowEditor": {
- "loading": "로딩 중...",
- "createColumnsFirst": "자동화 규칙을 구성하려면 먼저 컬럼을 만드세요.",
- "githubHeading": "GitHub",
- "githubHint": "GitHub 이벤트가 발생하면 연결된 작업을 컬럼으로 이동합니다.",
- "giteaHeading": "Gitea",
- "giteaHint": "Gitea 웹훅 이벤트가 발생하면 연결된 작업을 컬럼으로 이동합니다.",
- "selectColumnPlaceholder": "컬럼 선택...",
- "toastUpdated": "워크플로 규칙이 업데이트되었습니다",
"toastError": "규칙 업데이트에 실패했습니다",
"events": {
- "branch_push": "브랜치 푸시",
- "pr_opened": "PR 열림",
- "pr_merged": "PR 병합됨",
+ "branch_push": "브랜치 푸시됨",
+ "pr_opened": "풀 리퀘스트 열림",
+ "pr_merged": "풀 리퀘스트 병합됨",
"issue_opened": "이슈 열림",
"issue_closed": "이슈 닫힘"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "<link>연동</link>에서 {{providers}}을(를) 연결하면 함께 자동화할 수 있습니다.",
+ "dontMove": "이동 안 함",
+ "emptyDescription": "자동화를 사용하려면 GitHub, Gitea 또는 GitLab 저장소를 연결해야 합니다.",
+ "emptyTitle": "연결된 저장소가 없습니다",
+ "openIntegrations": "연동 열기"
},
"externalLinks": {
"resources": "리소스",
@@ -1595,22 +1449,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "라벨 설정",
+ "pageTitle": "라벨",
"title": "라벨",
- "subtitle": "워크스페이스 수준 라벨을 만들고, 편집하고, 삭제합니다.",
- "cardDescription": "작업에 할당할 수 있는 라벨을 관리합니다.",
+ "subtitle": "라벨은 이 워크스페이스의 모든 프로젝트에서 공유됩니다.",
"createLabel": "라벨 만들기",
"editLabel": "라벨 편집",
- "deleteLabel": "삭제",
+ "deleteLabel": "라벨 삭제",
"saveLabel": "저장",
- "nameLabel": "라벨 이름",
- "namePlaceholder": "라벨 이름 입력",
+ "nameLabel": "이름",
+ "namePlaceholder": "라벨 이름",
"colorLabel": "색상",
- "createDescription": "이 워크스페이스의 작업 전반에서 사용할 수 있는 새 라벨을 만듭니다.",
- "editDescription": "이 라벨의 이름이나 색상을 업데이트합니다.",
- "deleteConfirmTitle": "이 라벨을 삭제하시겠습니까?",
- "deleteConfirmDescription": "모든 작업에서 이 라벨이 영구적으로 제거됩니다. 이 작업은 취소할 수 없습니다.",
- "empty": "아직 라벨이 없습니다. 첫 라벨을 만들어 시작하세요.",
+ "createDescription": "이 워크스페이스의 프로젝트에서 작업에 추가할 수 있습니다.",
+ "editDescription": "이 라벨이 있는 모든 작업에 변경 사항이 반영됩니다.",
+ "deleteConfirmTitle": "“{{name}}”을(를) 삭제할까요?",
+ "deleteConfirmDescription": "이 라벨을 사용하는 모든 작업에서 라벨이 제거됩니다. 이 작업은 되돌릴 수 없습니다.",
"createSuccess": "라벨이 생성되었습니다",
"updateSuccess": "라벨이 업데이트되었습니다",
"deleteSuccess": "라벨이 삭제되었습니다",
@@ -1618,30 +1470,23 @@
"updateError": "라벨 업데이트에 실패했습니다",
"deleteError": "라벨 삭제에 실패했습니다",
"nameRequired": "라벨 이름은 필수입니다",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "작업에서 제거하는 중…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "{{name}} 편집",
+ "emptyDescription": "라벨을 추가해 여러 프로젝트의 작업을 분류하고 필터링하세요.",
+ "emptyTitle": "아직 라벨이 없습니다",
+ "loadError": "라벨을 불러오지 못했습니다. 다시 시도해 주세요.",
+ "newLabel": "새 라벨",
+ "preview": "작업에 표시되는 모습",
+ "previewPlaceholder": "라벨",
+ "resume": "재개",
+ "rowActions": "{{name}} 메뉴",
+ "sectionDescription": "라벨 이름이나 색상을 바꾸면 해당 라벨을 사용하는 모든 작업에 반영됩니다.",
+ "sectionTitle": "워크스페이스 라벨",
+ "subtitleWithWorkspace": "라벨은 {{workspaceName}}의 모든 프로젝트에서 공유됩니다."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1655,58 +1500,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Mattermost에서 수신 웹훅을 만들고 여기에 붙여넣으세요.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "체크박스",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "드롭다운(여러 개 선택)"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "기본값 지우기",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "{{name}} 메뉴",
+ "addOption": "옵션 추가",
+ "allowSeveral": "여러 개 선택 허용",
+ "allowSeveralDescription": "작업에서 옵션을 두 개 이상 선택할 수 있습니다.",
+ "checked": "체크됨",
+ "createField": "필드 만들기",
+ "defaultDescription": "새 작업은 이 값으로 시작합니다.",
+ "deleteConfirm": "필드 삭제",
+ "deleteDescription": "필드와 모든 작업의 해당 값이 삭제됩니다. 이 작업은 되돌릴 수 없습니다.",
+ "deleteTitle": "“{{name}}”을(를) 삭제할까요?",
+ "dialogDescription": "{{project}}의 모든 작업에 이 필드가 추가됩니다.",
+ "dialogDescriptionFallback": "이 프로젝트의 모든 작업에 이 필드가 추가됩니다.",
+ "dragAria": "{{name}} 순서 변경",
+ "dragOptionAria": "{{option}} 순서 변경",
+ "edit": "편집",
+ "editTitle": "필드 편집",
+ "emptyDescription": "모든 작업에서 규모, 고객, 출시일 등을 기록하세요.",
+ "emptyTitle": "아직 사용자 정의 필드가 없습니다",
+ "issues": {
+ "defaultRequired": "필수 필드에는 기본값이 필요합니다.",
+ "moreOptionsRequired": "여러 개 선택을 허용하려면 옵션을 두 개 이상 추가하세요.",
+ "optionsRequired": "옵션을 하나 이상 추가하세요."
+ },
+ "nameLabel": "이름",
+ "newTitle": "새 필드",
+ "noDefault": "기본값 없음",
+ "optionsLabel": "옵션",
+ "removeOptionAria": "{{option}} 제거",
+ "renameOptionAria": "{{option}} 이름 변경",
+ "requiredDescription": "모든 작업에 항상 값이 있습니다.",
+ "save": "저장",
+ "saving": "저장 중...",
+ "startsAs": "기본값 “{{value}}”",
+ "startsAt": "기본값 {{value}}",
+ "startsChecked": "기본값 체크됨",
+ "startsOn": "기본값 {{date}}",
+ "startsUnchecked": "기본값 체크 안 됨",
+ "typeLabel": "유형",
+ "typeLocked": "필드를 만든 후에는 유형을 변경할 수 없습니다.",
+ "unchecked": "체크 안 됨",
+ "updateError": "사용자 정의 필드를 저장하지 못했습니다.",
+ "updateSuccess": "사용자 정의 필드가 저장되었습니다."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "비활성화",
+ "edit": "편집",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "다시 활성화"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "역할",
"status": "Status",
"user": "User"
},
@@ -1728,7 +1605,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "모든 사용자",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1741,7 +1618,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1749,18 +1625,18 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "관리자",
"user": "User"
},
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "이름 또는 이메일로 검색",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "이 Kaneo 인스턴스에 계정이 있는 모든 사용자입니다.",
+ "title": "사용자",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1769,8 +1645,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "나"
},
"security": "Security",
"securityPage": {
@@ -1785,11 +1660,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "로그인",
+ "submit": "비밀번호 변경",
+ "submitting": "변경 중...",
+ "subtitle": "Kaneo에 로그인하는 방법입니다.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1799,94 +1673,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "비밀번호 변경",
+ "dialogDescription": "8자 이상이어야 하며 현재 비밀번호와 달라야 합니다.",
+ "dialogTitle": "비밀번호 변경",
+ "passwordHint": "다른 곳에서 사용하지 않는 8자 이상의 비밀번호를 사용하세요.",
+ "passwordTitle": "비밀번호"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "토큰이 멤버로 속한 프로젝트입니다.",
+ "browseNeedsCredentials": "찾아보려면 GitLab URL과 토큰을 입력하세요.",
+ "commentTaskLinkHint": "GitLab 사용자가 작업으로 바로 이동할 수 있습니다.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "열린 이슈와 머지 리퀘스트를 작업으로 가져옵니다.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "프로젝트 검색",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "변경 사항이 Kaneo에 반영되도록 프로젝트 설정에서 이 웹훅을 추가하세요.",
+ "loadProjectsError": "프로젝트를 불러오지 못했습니다.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "이 토큰은 어떤 프로젝트의 멤버도 아닙니다.",
+ "chooseProjectDescription": "경로를 입력하거나 목록에서 선택하세요.",
+ "noSearchMatchTitle": "일치하는 프로젝트 없음",
+ "useProject": "프로젝트 사용",
+ "webhookEvents": "푸시, 이슈, 댓글, 머지 리퀘스트 이벤트를 켜세요."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "포함할 라벨",
+ "selectLabels": "라벨 추가",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1894,20 +1735,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "피드",
+ "allScheduledTasks": "일정이 있는 모든 작업",
+ "subscribeHint": "캘린더 앱에 링크를 구독으로 추가하세요. 앱이 피드를 새로 고치면 업데이트가 표시됩니다.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "복사됨",
+ "dialogDescription": "시작일 또는 마감일이 있는 작업이 피드에 표시됩니다.",
+ "dialogTitle": "새 캘린더 피드",
+ "emptyDescription": "피드를 만들면 일정이 있는 작업을 캘린더 앱에서 볼 수 있습니다.",
+ "emptyTitle": "아직 캘린더 피드가 없습니다",
+ "feedActions": "피드 메뉴",
+ "labelsHint": "비워 두면 일정이 있는 모든 작업이 포함됩니다.",
+ "newFeed": "새 피드",
+ "revokeConfirm": "피드 폐기",
+ "revokeConfirmDescription": "이 링크를 사용하는 캘린더 앱은 더 이상 업데이트를 받지 않습니다. 이 작업은 되돌릴 수 없습니다.",
+ "revokeConfirmTitle": "이 피드를 폐기할까요?",
+ "revoking": "폐기 중…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1919,7 +1769,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1952,7 +1801,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1963,7 +1811,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "청구서, 결제 수단, 해지는 Creem에서 처리됩니다.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1986,13 +1834,13 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "{{workspace}}의 요금제입니다.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_other": "{{count}}일 남음"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2010,15 +1858,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2035,7 +1880,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2054,16 +1898,28 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "동기화 대상",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "모든 이슈",
+ "allTasks": "모든 작업",
+ "edit": "편집",
+ "hidePaused": "숨기기",
+ "issuesLabelled": "라벨이 지정된 이슈:",
+ "joinAnd": "그리고",
+ "joinOr": "또는",
+ "kaneoToProvider": "Kaneo → {{provider}}",
+ "pausedSummary_other": "동기화 규칙과 더 이상 일치하지 않아 작업 {{count}}개의 동기화가 중지되었습니다.",
+ "providerToKaneo": "{{provider}} → Kaneo",
+ "reviewPaused": "검토",
+ "tasksLabelled": "라벨이 지정된 작업:"
+ },
+ "advancedSettingsDescription": "연동 동기화 규칙 같은 추가 컨트롤을 표시합니다. 이 브라우저에만 적용됩니다.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2100,23 +1956,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "모든 워크스페이스",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
"editAccess": "Change project access for {{name}} ({{access}})",
@@ -2135,9 +1983,9 @@
"retry": "Retry",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "이름 또는 슬러그로 검색",
+ "subtitle": "이 Kaneo 인스턴스의 모든 워크스페이스입니다. 내가 속하지 않은 워크스페이스도 포함됩니다.",
+ "title": "워크스페이스",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2147,8 +1995,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2387,6 +2234,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "설정을 유지한 채 일시 중지하려면 끄세요.",
+ "activeTitle": "{{provider}}에 게시 중",
+ "channelHint": "이 목록에 표시할 이름일 뿐입니다.",
+ "channelLabel": "채널",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "연결 해제",
+ "disconnectDescription": "Kaneo가 {{provider}}에 게시를 중단하고 저장된 설정을 삭제합니다.",
+ "disconnecting": "연결 해제 중…",
+ "disconnectTitle": "{{provider}} 연결을 해제할까요?",
+ "events": {
+ "taskCommentCreated": "누군가 댓글을 달 때",
+ "taskCreated": "작업이 생성될 때",
+ "taskDescriptionChanged": "설명이 변경될 때",
+ "taskPriorityChanged": "우선순위가 변경될 때",
+ "taskStatusChanged": "상태가 변경될 때",
+ "taskTitleChanged": "제목이 변경될 때"
+ },
+ "optional": "선택 사항",
+ "postWhen": "게시 조건",
+ "retry": "다시 시도",
+ "saveChanges": "변경사항 저장",
+ "savedUrlPlaceholder": "저장되었습니다. 교체하려면 새 URL을 붙여넣으세요.",
+ "webhookUrlLabel": "웹훅 URL"
+ },
+ "codeHosting": {
+ "browse": "찾아보기",
+ "changeToken": "토큰 변경",
+ "checking": "접근 권한 확인 중…",
+ "chooseProjectTitle": "프로젝트 선택",
+ "chooseRepositoryTitle": "저장소 선택",
+ "connectProject": "프로젝트 연결",
+ "connectRepository": "저장소 연결",
+ "copied": "복사됨",
+ "copyFailed": "클립보드에 복사하지 못했습니다.",
+ "copySecret": "시크릿 복사",
+ "copyUrl": "웹훅 URL 복사",
+ "disconnect": "연결 해제",
+ "disconnectDescription": "작업이 더 이상 {{target}}과(와) 동기화되지 않습니다. 나중에 다시 연결할 수 있습니다.",
+ "disconnecting": "연결 해제 중…",
+ "disconnectTitle": "{{provider}} 연결을 해제할까요?",
+ "hideSecret": "시크릿 숨기기",
+ "importing": "가져오는 중…",
+ "importIssues": "이슈 가져오기",
+ "importNeedsReconnect": "가져오려면 다시 연결하세요.",
+ "importTitle": "열린 이슈 가져오기",
+ "issuesSection": "이슈",
+ "lastImport": "마지막 가져오기: {{imported}}개 생성, {{updated}}개 업데이트, {{skipped}}개 건너뜀.",
+ "loadError": "이 연동을 불러오지 못했습니다.",
+ "pausedHint": "동기화가 일시 중지되었습니다. 재개하려면 다시 연결하세요.",
+ "projectSection": "프로젝트",
+ "reconnect": "다시 연결",
+ "repositoryPathInvalid": "저장소를 owner/name 형식으로 입력하세요.",
+ "repositoryPathLabel": "저장소",
+ "repositorySection": "저장소",
+ "retry": "다시 시도",
+ "saveToken": "토큰 저장",
+ "showSecret": "시크릿 표시",
+ "signInDescription": "프로젝트와 이슈를 읽을 수 있는 토큰을 사용하세요.",
+ "signInTitle": "인스턴스에 로그인",
+ "tokenStored": "저장된 토큰",
+ "tokenTitle": "액세스 토큰",
+ "webhookSecret": "시크릿",
+ "webhookSection": "웹훅",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "드래그하여 작업에 표시되는 순서를 변경합니다.",
+ "fieldsTitle": "필드",
+ "newField": "새 필드",
+ "pageTitle": "사용자 정의 필드",
+ "subtitle": "{{project}}의 모든 작업에서 기록할 수 있는 추가 정보입니다(예: 규모, 고객).",
+ "subtitleFallback": "이 프로젝트의 모든 작업에서 기록할 수 있는 추가 정보입니다(예: 규모, 고객).",
+ "title": "사용자 정의 필드"
+ },
+ "shared": {
+ "autosave": "변경 사항이 자동으로 저장됩니다"
}
},
"navigation": {
diff --git a/i18n/mk-MK.json b/i18n/mk-MK.json
index 0666392bf..11c9d8910 100644
--- a/i18n/mk-MK.json
+++ b/i18n/mk-MK.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Никогаш"
- },
"modals": {
"createProject": {
"title": "Креирај нов проект",
@@ -566,37 +563,32 @@
"advancedSettings": "Напредни поставки",
"account": "Сметка",
"developer": "Програмер",
- "information": "Информации",
+ "information": "Профил",
"notifications": "Известувања",
"preferences": "Преференции",
"apiKeys": "API клучеви",
"informationPage": {
- "pageTitle": "Лични информации",
- "title": "Лични информации",
- "subtitle": "Управувај со твоите лични податоци и информации за сметката.",
- "sectionTitle": "Информации за сметката",
- "sectionSubtitle": "Управувај со твојот профил и детали за сметката.",
+ "pageTitle": "Профил",
+ "title": "Профил",
+ "subtitle": "Како те гледаат другите во тимот.",
+ "sectionTitle": "Детали",
"profilePicture": "Профилна слика",
- "fullName": "Целосно име",
+ "fullName": "Име",
"fullNamePlaceholder": "Внеси го твоето име",
"email": "Е-пошта",
- "emailPlaceholder": "Внеси ја твојата е-пошта",
- "updateSuccess": "Профилот е успешно ажуриран",
"updateError": "Неуспешно ажурирање на профилот",
"validation": {
"nameRequired": "Името е задолжително",
- "nameShort": "Името мора да има најмалку 2 знаци",
- "invalidEmail": "Невалидна е-пошта"
+ "nameShort": "Името мора да има најмалку 2 знаци"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Квадратните слики изгледаат најдобро.",
+ "remove": "Отстрани",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Прикачи"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -605,39 +597,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Со оваа адреса се најавуваш."
},
"notificationsPage": {
"pageTitle": "Известувања",
"title": "Известувања",
- "subtitle": "Избери како Kaneo ги доставува известувањата за твојата сметка и кои канали да се користат.",
+ "subtitle": "За што те известува Kaneo и каде.",
"statusConnected": "Connected",
"statusPaused": "Paused",
"emailTitle": "Email",
- "emailDescription": "Користи ја е-поштата на твојата сметка како дестинација за известувања.",
- "accountEmailLabel": "Е-пошта на сметката",
"accountEmailNoAddress": "Нема достапна е-пошта на сметката",
- "accountEmailHint": "Доставата по е-пошта секогаш оди на е-поштата на најавената сметка.",
"saveChanges": "Save changes",
"disconnect": "Disconnect",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Објавувај известувања за сметката на ntfy тема.",
+ "ntfyDescription": "Објавувај на ntfy тема на телефонот или компјутерот.",
"serverUrl": "Server URL",
"topic": "Topic",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Опционален bearer токен",
+ "ntfyTokenPlaceholder": "Само ако серверот бара",
"ntfyTokenHintConfigured": "Токен веќе е конфигуриран ({{masked}}). Внеси нов токен за да го замениш.",
- "ntfyTokenHintOptional": "Опционално. Внеси токен ако твојот ntfy сервер бара автентикација.",
+ "ntfyTokenHintOptional": "Користи го ако твојот ntfy сервер бара автентикација.",
"connectNtfy": "Connect ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Испраќај известувања за сметката до твојот Gotify сервер.",
+ "gotifyDescription": "Испраќај известувања до твојот Gotify сервер.",
"gotifyTokenLabel": "App token",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify токен за апликација",
@@ -645,38 +634,16 @@
"gotifyTokenHintRequired": "Задолжително. Користи токен за апликација од твојот Gotify сервер.",
"connectGotify": "Поврзи Gotify",
"webhookTitle": "Прилагоден webhook",
- "webhookDescription": "Испраќај известувања за сметката до твој endpoint како JSON.",
+ "webhookDescription": "Испраќај го секое известување до твој endpoint како JSON.",
"endpointUrl": "Endpoint URL",
"signingSecret": "Тајна за потпис",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Опционална заедничка тајна",
"webhookSecretHintConfigured": "Тајна за потпис веќе е конфигурирана ({{masked}}). Внеси нова за да ја замениш.",
- "webhookSecretHintOptional": "Опционално. Kaneo го потпишува телото на барањето кога е поставена тајна.",
+ "webhookSecretHintOptional": "Kaneo го потпишува телото на барањето кога е поставена тајна.",
"connectWebhook": "Поврзи webhook",
- "workspaceRulesTitle": "Правила за достава по работен простор",
- "workspaceRulesDescription": "Искористи ги твоите глобални канали, па одлучи кои работни простори и проекти смеат да испраќаат известувања за сметката.",
- "workspaceCardHint": "Избери кои канали може да ги користи овој работен простор за известувања за сметката.",
- "workspaceCardLabelEmail": "Email",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Прилагоден webhook",
- "emailChannelHintEnabled": "Испраќај соодветни известувања од работниот простор по е-пошта.",
- "emailChannelHintDisabled": "Прво конфигурирај и вклучи е-пошта глобално.",
- "ntfyChannelHintEnabled": "Испраќај соодветни известувања од работниот простор до ntfy.",
- "ntfyChannelHintDisabled": "Прво конфигурирај и вклучи ntfy глобално.",
- "gotifyChannelHintEnabled": "Испраќај соодветни известувања од работниот простор до Gotify.",
- "gotifyChannelHintDisabled": "Прво конфигурирај и вклучи Gotify глобално.",
- "webhookChannelHintEnabled": "Испраќај соодветни известувања од работниот простор до твојот webhook.",
- "webhookChannelHintDisabled": "Прво конфигурирај и вклучи го webhook-от глобално.",
- "projectScope": "Опфат на проекти",
- "projectScopeDescription": "Стандардно се вклучени сите проекти. Ограничи го изборот ако овој работен простор треба да испраќа известувања само од избрани проекти.",
"allProjects": "All projects",
- "allProjectsDescription": "Доставувај известувања од секој проект во овој работен простор.",
- "selectedProjects": "Избрани проекти",
- "selectedProjectsDescription": "Доставувај известувања само од избраните проекти.",
"noProjectsInWorkspace": "Сè уште нема достапни проекти за овој работен простор.",
- "createRule": "Create rule",
- "removeRule": "Remove rule",
"toastEmailSaved": "Поставките за известувања по е-пошта се зачувани",
"toastEmailSaveFailed": "Неуспешно зачувување на поставките за е-пошта",
"toastNtfySaved": "ntfy поставките се зачувани",
@@ -699,151 +666,174 @@
"toastPreferencesSaveFailed": "Неуспешно зачувување на преференциите за известувања",
"toastRuleSavedGeneric": "Правилото за известувања на работниот простор е зачувано",
"toastRuleRemovedGeneric": "Правилото за известувања на работниот простор е отстрането",
- "workspaceEnabledLabel": "Вклучи известувања за {{workspaceName}}",
"eventPreferencesTitle": "Извести ме за",
- "eventPreferencesDescription": "Избери кои настани за задачи создаваат известувања во апликацијата и може да се доставуваат до твоите поврзани канали.",
- "eventTaskAssignments": "Доделувања на задачи",
+ "eventPreferencesDescription": "Твоите сопствени коментари, спомнувања и промени на статус никогаш не те известуваат.",
+ "eventTaskAssignments": "Доделувања",
"eventComments": "Коментари и спомнувања",
- "eventCommentsHint": "Вклучува нови коментари на задачи што ти се доделени и директни @спомнувања.",
- "eventStatusChanges": "Промени на статус на задачи",
+ "eventCommentsHint": "Нови коментари на твоите задачи и секој што ќе те @спомне.",
+ "eventStatusChanges": "Промени на статус",
"eventDueDateReminders": "Потсетници за краен рок",
"reminderLeadTimeLabel": "Потсети ме пред крајниот рок",
- "reminderLeadTimeHint": "Помеѓу 1 час и 30 дена претходно. Известувањата за задоцнети задачи се испраќаат одделно.",
- "reminderLeadTimeUnitHours": "Часови",
- "reminderLeadTimeUnitDays": "Денови",
"reminderLeadTimeInvalid": "Внеси цел број помеѓу 1 и {{max}}.",
"saveEventPreferences": "Зачувај типови на известувања",
- "recipientHint": "Коментарите и промените на статусот ве известуваат за задачите што ви се доделени. Спомнувањата го известуваат избраниот член. Вашите сопствени коментари, спомнувања и промени на статусот не ви испраќаат известувања."
+ "channelNotConnected": "Не е поврзан",
+ "channelOff": "Исклучен",
+ "channelsDescription": "Известувањата секогаш се прикажуваат во Kaneo. Поврзи канал за да ги добиваш и на друго место.",
+ "channelsTitle": "Канали",
+ "configure": "Конфигурирај",
+ "configureChannel": "Конфигурирај {{channel}}",
+ "configureWorkspace": "Конфигурирај известувања за {{workspaceName}}",
+ "connect": "Поврзи",
+ "connectChannel": "Поврзи {{channel}}",
+ "disconnectDescription": "Известувањата престануваат да одат до {{channel}}, а зачуваните поставки се отстрануваат.",
+ "disconnecting": "Се исклучува...",
+ "disconnectTitle": "Да се исклучи {{channel}}?",
+ "done": "Готово",
+ "emailToggleLabel": "Испраќај известувања по е-пошта",
+ "eventDueDateRemindersHint": "Пред крајниот рок на некоја од твоите задачи. За задачите со поминат рок добиваш посебно известување.",
+ "eventStatusChangesHint": "Кога некоја од твоите задачи ќе се премести во друга колона.",
+ "eventTaskAssignmentsHint": "Кога некој ќе ти додели задача.",
+ "loadFailed": "Не може да се вчитаат поставките за известувања.",
+ "onlyInKaneo": "Само во Kaneo",
+ "optional": "Опционално",
+ "projectCount_one": "{{count}} проект",
+ "projectCount_other": "{{count}} проекти",
+ "reminderLeadTimeUnitDaysBefore_one": "ден пред",
+ "reminderLeadTimeUnitDaysBefore_other": "дена пред",
+ "reminderLeadTimeUnitHoursBefore_one": "час пред",
+ "reminderLeadTimeUnitHoursBefore_other": "часа пред",
+ "reminderLeadTimeUnitLabel": "Единица за потсетник",
+ "ruleActiveDescription": "Исклучи за да го паузираш овој работен простор и да ги задржиш поставките.",
+ "ruleActiveLabel": "Испраќање",
+ "ruleChannels": "Канали",
+ "ruleDialogDescription": "Каде можат да одат известувањата од овој работен простор.",
+ "ruleDialogTitle": "Известувања за {{workspaceName}}",
+ "ruleProjects": "Проекти",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Зачувај",
+ "sendingDescription": "Исклучи за да го паузираш овој канал и да ги задржиш поставките.",
+ "sendingLabel": "Испраќање",
+ "setUp": "Постави",
+ "setUpWorkspace": "Постави известувања за {{workspaceName}}",
+ "someProjects": "Само некои",
+ "statusOn": "Вклучено",
+ "statusSending": "Се испраќа",
+ "stopping": "Се запира...",
+ "stopSending": "Престани со испраќање",
+ "stopSendingDescription": "Известувањата од овој работен простор ќе се прикажуваат само во Kaneo.",
+ "stopSendingTitle": "Да се престане со испраќање од {{workspaceName}}?",
+ "workspacesDescription": "Избери кои работни простори и проекти можат да ги користат твоите канали.",
+ "workspacesTitle": "Работни простори"
},
"preferencesPage": {
"title": "Преференции",
- "subtitle": "Прилагоди го твоето Kaneo искуство.",
- "appearanceTitle": "Изглед",
- "appearanceSubtitle": "Визуелни поставки и преференции за распоред.",
+ "subtitle": "Како Kaneo изгледа и работи за тебе.",
+ "appearanceTitle": "Општо",
"theme": "Тема",
- "themeDescription": "Избери ја претпочитаната шема на бои",
"selectTheme": "Избери тема",
"themeLight": "Светла",
"themeDark": "Темна",
- "themeSystem": "Системска",
+ "themeSystem": "Според системот",
"language": "Јазик",
- "languageDescription": "Избери го претпочитаниот јазик на интерфејсот",
"selectLanguage": "Избери јазик",
"firstDayOfWeek": "Прв ден од неделата",
- "firstDayOfWeekDescription": "Избери на кој ден почнуваат календарите и неделите",
+ "firstDayOfWeekDescription": "Се користи во календарите и при избор на датуми.",
"selectFirstDayOfWeek": "Избери прв ден",
"weekStartsOnSunday": "Недела",
"weekStartsOnMonday": "Понеделник",
"weekStartsOnSaturday": "Сабота",
"defaultView": "Стандарден приказ",
- "defaultViewDescription": "Избери го претпочитаниот режим на приказ на задачи",
+ "defaultViewDescription": "Приказот во кој се отвораат проектите.",
"selectViewMode": "Избери режим на приказ",
"board": "Табла",
"list": "Листа",
"gantt": "Gantt",
- "sidebarDefault": "Стандардна странична лента",
- "sidebarDefaultDescription": "Задржи ја страничната лента отворена при стартување",
- "displayOptions": "Опции за приказ",
- "displayOptionsDescription": "Избери кои информации да се прикажуваат во приказите на задачи",
+ "sidebarDefault": "Задржи ја страничната лента отворена",
+ "sidebarDefaultDescription": "Почни со проширена странична лента.",
+ "displayOptions": "Детали за задачите",
+ "displayOptionsDescription": "Што се прикажува на картичките и редовите во твоите табли и листи.",
"taskNumbers": "Броеви на задачи",
- "taskNumbersDescription": "Прикажи ID и броеви на задачи",
"assignees": "Доделени",
- "assigneesDescription": "Прикажи кој е доделен на задачите",
"dueDates": "Крајни рокови",
- "dueDatesDescription": "Прикажи рокови на задачите",
"labels": "Етикети",
- "labelsDescription": "Прикажи етикети и тагови на задачите",
"priority": "Приоритет",
- "priorityDescription": "Прикажи индикатори за приоритет",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Прикажи ја сликата што проектот ја поставува зад својата табла.",
+ "advancedTitle": "Напредно"
},
"developerPage": {
- "pageTitle": "Програмерски поставки",
- "title": "Програмерски поставки",
- "subtitle": "Управувај со твоите API клучеви и програмерски ресурси.",
- "apiKeysCardTitle": "API клучеви",
- "apiKeysCardDescription": "Креирај и управувај со API клучеви за програмски пристап до Kaneo.",
- "createApiKey": "Креирај API клуч",
- "unnamedKey": "Неименуван клуч"
+ "pageTitle": "API клучеви",
+ "title": "API клучеви",
+ "subtitle": "Дозволи скриптите, CLI и MCP клиентите да го користат Kaneo во твое име.",
+ "unnamedKey": "Без име",
+ "emptyDescription": "Креирај клуч за да ги користиш CLI, MCP клиент или твои скрипти.",
+ "emptyTitle": "Сè уште нема API клучеви",
+ "keysNote": "Клучот може да прави сè што можеш и ти. Избриши ги клучевите што повеќе не ги користиш.",
+ "keysTitle": "Клучеви",
+ "loadError": "Не може да се вчитаат API клучевите. Обиди се повторно.",
+ "newKey": "Нов клуч"
},
"apiKey": {
"createdModal": {
- "title": "API клучот е креиран",
- "description": "Твојот API клуч \"{{keyName}}\" е успешно креиран.",
- "yourApiKey": "Твојот API клуч",
+ "title": "Копирај го клучот",
+ "description": "Нема да го видиш повторно откако ќе го затвориш ова.",
"copy": "Копирај",
"copied": "Копирано",
- "toastCopied": "API клучот е копиран во клипборд",
- "alertTitle": "Успешно! Твојот API клуч е креиран",
- "alertDescription": "Копирај го клучот сега. Нема да можеш да го видиш повторно.",
"done": "Готово",
- "copyToContinue": "Копирај го клучот за да продолжиш"
+ "copyError": "Не може да се копира клучот. Селектирај го и копирај го рачно."
},
"table": {
- "loading": "Се вчитуваат API клучеви...",
- "empty": "Нема API клучеви. Креирај еден за да започнеш.",
- "columnName": "Име",
- "columnKey": "Клуч",
- "columnCreated": "Креиран",
- "columnExpires": "Истекува",
- "columnActions": "Акции",
- "unnamedKey": "Неименуван клуч",
- "expiredBadge": "Истечен {{label}}",
- "deleteConfirmTitle": "Избриши API клуч?",
- "deleteConfirmDescription": "Оваа акција не може да се врати. Ова трајно ќе го избрише {{name}}.",
- "deleteFallbackName": "овој API клуч",
- "delete": "Избриши",
- "deleting": "Се брише...",
- "deleteAria": "Избриши {{name}}",
- "deleteAriaFallback": "API клуч",
- "toastDeleted": "API клучот е успешно избришан",
- "toastDeleteError": "Неуспешно бришење на API клуч"
+ "deleteConfirmTitle": "Да се избрише „{{name}}“?",
+ "deleteConfirmDescription": "Сè што го користи овој клуч ќе престане да работи. Ова не може да се врати.",
+ "delete": "Избриши клуч",
+ "deleting": "Се брише…",
+ "toastDeleted": "API клучот е избришан",
+ "toastDeleteError": "Не може да се избрише API клучот"
},
"createDialog": {
- "title": "Креирај API клуч",
- "description": "Креирај нов API клуч за програмски пристап до Kaneo API.",
+ "title": "Нов API клуч",
+ "description": "Клучот може да прави сè што можеш и ти.",
"nameLabel": "Име",
"namePlaceholder": "Мојот API клуч",
- "nameDescription": "Описно име за овој API клуч",
- "expirationLabel": "Истекување",
- "expirationPlaceholder": "Избери истекување",
- "expirationDescription": "Избери колку долго овој API клуч треба да остане валиден. Никогаш ќе креира клуч без автоматско истекување.",
+ "nameDescription": "За да запомниш каде се користи.",
+ "expirationLabel": "Истекува",
"expiration1d": "1 ден",
"expiration7d": "7 дена",
"expiration30d": "30 дена",
"expiration90d": "90 дена",
"expirationNever": "Никогаш",
- "create": "Креирај",
- "creating": "Се креира...",
- "failedCreate": "Неуспешно креирање на API клуч",
+ "create": "Креирај клуч",
+ "creating": "Се креира…",
+ "failedCreate": "Не може да се креира API клучот",
"validation": {
- "nameRequired": "Името е задолжително",
- "nameShort": "Името мора да има најмалку 3 знаци",
- "expirationRequired": "Истекувањето е задолжително"
+ "nameRequired": "Внеси име",
+ "nameShort": "Користи најмалку 3 знаци"
}
+ },
+ "row": {
+ "actions": "Акции за {{name}}",
+ "created": "Креиран {{date}}",
+ "expired": "Истечен {{date}}",
+ "expiredBadge": "Истечен",
+ "expires": "Истекува {{date}}",
+ "neverExpires": "Никогаш не истекува"
}
},
"workspaceGeneral": {
"pageTitle": "Општи поставки",
- "title": "Општи поставки",
- "subtitle": "Управувај со името и описот на работниот простор.",
- "workspaceInfoTitle": "Информации за работниот простор",
- "workspaceInfoSubtitle": "Конфигурирај ги деталите и преференциите на работниот простор.",
- "nameLabel": "Име на работен простор",
- "nameHint": "Името на твојот работен простор",
+ "title": "Општо",
+ "subtitle": "Името на {{name}} и кој е сопственик.",
+ "workspaceInfoTitle": "Работен простор",
+ "nameLabel": "Име",
"namePlaceholder": "Внеси име на работен простор",
"descriptionLabel": "Опис",
- "descriptionHint": "Краток опис на твојот работен простор",
- "descriptionPlaceholder": "Внеси опис на работен простор",
+ "descriptionPlaceholder": "На што работи твојот тим?",
"dangerZone": "Опасна зона",
- "dangerZoneSubtitle": "Неповратни и деструктивни акции.",
"deleteWorkspace": "Избриши работен простор",
- "deleteWorkspaceDescription": "Закажи трајно бришење на работниот простор",
- "deleteModalTitle": "Избриши работен простор?",
- "deleteModalDescription": "Ова трајно ќе го избрише работниот простор \"{{name}}\" и сите негови податоци. Оваа акција не може да се врати.",
+ "deleteWorkspaceDescription": "Трајно ги брише {{name}}, неговите проекти и задачи.",
+ "deleteModalTitle": "Да се избрише работниот простор?",
+ "deleteModalDescription": "Ова трајно ги брише {{name}} и сите негови проекти и задачи. Ова не може да се врати.",
"deleteModalConfirm": "Избриши работен простор",
- "toastUpdated": "Работниот простор е успешно ажуриран",
"toastUpdateError": "Неуспешно ажурирање на работниот простор",
"toastDeleted": "Работниот простор е успешно избришан",
"toastDeleteError": "Неуспешно бришење на работниот простор",
@@ -855,45 +845,41 @@
"toastSuccess": "Сопственоста е префрлена",
"toastError": "Неуспешно префрлање на сопственоста",
"title": "Префрли сопственост",
- "subtitle": "Предај го овој работен простор на друг член. Твојата улога ќе се смени во администратор и ќе ги изгубиш можностите резервирани за сопственикот.",
"pickerLabel": "Нов сопственик",
"noEligibleMembers": "Покани барем уште еден член пред да можеш да ја префрлиш сопственоста.",
- "pickerHint": "Тој член станува единствен сопственик на овој работен простор.",
+ "pickerHint": "Новиот сопственик ја презема контролата. Ти остануваш администратор.",
"pickerPlaceholder": "Избери член",
"button": "Префрли",
"dialogTitle": "Префрли сопственост?",
"dialogDescription": "{{name}} ќе стане единствен сопственик на {{workspace}}. Ќе го задржиш администраторскиот пристап, но ќе ги изгубиш можностите резервирани за сопственикот, како бришење на работниот простор или повторно префрлање.",
"transferring": "Се префрла…",
"confirm": "Префрли сопственост"
- }
+ },
+ "ownershipSubtitle": "Ова го гледа само сопственикот.",
+ "ownershipTitle": "Сопственост"
},
"projectGeneral": {
"pageTitle": "Поставки на проект",
- "title": "Општи поставки",
- "subtitle": "Управувај со името, клучот, иконата и описот на проектот.",
- "projectInfoTitle": "Информации за проектот",
- "projectInfoSubtitle": "Конфигурирај ги деталите и преференциите на проектот.",
+ "title": "Општо",
+ "subtitle": "Името, клучот и изгледот на {{name}}.",
+ "projectInfoTitle": "Проект",
"iconLabel": "Икона",
- "iconHint": "Се прикажува во страничната лента и на површините на проектот.",
+ "iconHint": "Се прикажува во страничната лента и во листите на проекти.",
"pickIconTitle": "Избери икона",
"searchIconsPlaceholder": "Пребарај икони...",
- "projectNameLabel": "Име на проект",
- "projectNameHint": "Името на твојот проект",
- "projectNamePlaceholder": "Внеси име на проект",
+ "projectNameLabel": "Име",
+ "projectNamePlaceholder": "Име на проект",
"keyLabel": "Клуч",
- "keyHint": "Се користи за ID на тикети (пр. {{slug}}-123)",
+ "keyHint": "Со него почнува секој ID на задача, на пр. {{slug}}-123.",
"keyPlaceholder": "ПРО",
"descriptionLabel": "Опис",
- "descriptionHint": "Краток опис на твојот проект",
- "descriptionPlaceholder": "Внеси опис на проект",
+ "descriptionPlaceholder": "За што е овој проект?",
"dangerZone": "Опасна зона",
- "dangerZoneSubtitle": "Неповратни и деструктивни акции.",
"deleteProject": "Избриши проект",
- "deleteProjectDescription": "Закажи трајно бришење на проектот",
- "deleteModalTitle": "Избриши проект?",
- "deleteModalDescription": "Ова трајно ќе го избрише проектот \"{{name}}\" и сите негови податоци. Оваа акција не може да се врати.",
+ "deleteProjectDescription": "Трајно ги брише {{name}} и сите негови задачи.",
+ "deleteModalTitle": "Да се избрише проектот?",
+ "deleteModalDescription": "Ова трајно ги брише {{name}} и сите негови задачи. Ова не може да се врати.",
"deleteModalConfirm": "Избриши проект",
- "toastUpdated": "Проектот е успешно ажуриран",
"toastUpdateError": "Неуспешно ажурирање на проектот",
"toastDeleted": "Проектот е успешно избришан",
"toastDeleteError": "Неуспешно бришење на проектот",
@@ -903,33 +889,35 @@
"keyMax": "Клучот мора да има најмногу 8 знаци",
"iconRequired": "Иконата е задолжителна"
},
- "importExportTasks": "Импортирање/Експортирање",
- "importExportTasksDescription": "Импортирање/Експортирање на задачи",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Слика зад таблата. Секој може да ги исклучи позадините за себе.",
+ "backgroundUnavailable": "Прикачувањето слики не е поставено на оваа инстанца.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Замени",
+ "backgroundUpload": "Прикачи",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Премести проект",
- "moveModalDescription": "Ова ќе го премести проектот \"{{name}}\" и сите негови задачи во \"{{workspace}}\". Задачите доделени на луѓе што не се членови на тој работен простор ќе останат недоделени, а претплатите на известувања за овој проект ќе бидат отстранети.",
- "moveModalTitle": "Премести проект?",
- "moveProject": "Премести во работен простор",
+ "moveProject": "Премести во друг работен простор",
"moveProjectAction": "Премести",
- "moveProjectDescription": "Премести го овој проект, заедно со сите негови задачи, во друг работен простор.",
+ "moveProjectDescription": "Задачите, колоните и ознаките се преместуваат заедно со него.",
"moveProjectPlaceholder": "Избери работен простор",
"toastMoved": "Проектот е успешно преместен",
"toastMovedWithUnassigned": "Проектот е успешно преместен. {{taskCount}} задачи останаа недоделени.",
"toastMoveError": "Неуспешно преместување на проектот",
- "moveTargetsError": "Не можеше да се провери во кои работни простори може да го преместите овој проект. Освежете ја страницата за да се обидете повторно."
+ "moveTargetsError": "Не можеше да се провери во кои работни простори може да го преместите овој проект. Освежете ја страницата за да се обидете повторно.",
+ "moveDialogDescription": "Задачите доделени на луѓе надвор од новиот работен простор остануваат недоделени, а претплатите за известувања за овој проект се бришат.",
+ "moveDialogTitle": "Да се премести во друг работен простор?",
+ "moveTargetLabel": "Работен простор",
+ "moving": "Се преместува...",
+ "tasksTitle": "Задачи"
},
"projectIntegrations": {
- "pageTitle": "Интеграции на проект",
- "title": "Интеграции на проект",
- "subtitle": "Поврзи го твојот проект со надворешни алатки и сервиси за да го подобриш работниот тек.",
+ "pageTitle": "Интеграции",
+ "title": "Интеграции",
+ "subtitle": "Поврзи го овој проект со хостирањето код и со разговорите на твојот тим.",
"githubSectionTitle": "GitHub интеграција",
"githubSectionSubtitle": "Синхронизирај задачи со GitHub issues и овозможи двонасочна синхронизација.",
"giteaSectionTitle": "Gitea интеграција",
@@ -938,13 +926,13 @@
"telegramSectionSubtitle": "Испраќај ажурирања за задачи од проектот во Telegram разговор или тема со бот.",
"discordSectionTitle": "Discord интеграција",
"discordSectionSubtitle": "Испрати ажурирања за задачи на проектот во Discord канал преку webhook.",
- "genericWebhookSectionTitle": "Општи webhooks",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Испрати настани за задачи на проектот до кој било HTTP endpoint како JSON.",
"slackSectionTitle": "Slack интеграција",
"slackSectionSubtitle": "Испрати ажурирања за задачи на проектот во Slack канал преку дојдовен webhook.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Синхронизирај задачи со GitLab.com или сопствена инстанца.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Хостирање код",
"chatTitle": "Разговор и webhooks",
@@ -957,69 +945,59 @@
"projectVisibility": {
"pageTitle": "Видливост на проект",
"title": "Видливост",
- "subtitle": "Контролирај кој може да го гледа и пристапува твојот проект.",
- "sectionTitle": "Видливост",
- "sectionSubtitle": "Вклучи јавен пристап и сподели го јавниот URL.",
- "publicAccess": "Јавен пристап",
- "publicAccessHint": "Дозволи секој со URL да го гледа овој проект",
+ "subtitle": "Избери кој може да го гледа {{project}} надвор од {{workspace}}.",
+ "sectionTitle": "Пристап",
+ "publicAccess": "Јавен линк",
+ "publicAccessHint": "Секој со линкот може да ја гледа таблата и нејзините задачи, но не може ништо да менува.",
"publicUrl": "Јавен URL",
- "publicUrlHint": "Сподели го овој линк ако проектот е јавен",
- "copy": "Копирај",
- "copiedToast": "Копирано",
+ "copy": "Копирај линк",
"toastUpdated": "Видливоста е ажурирана",
- "toastUpdateError": "Неуспешно ажурирање на видливоста"
+ "toastUpdateError": "Неуспешно ажурирање на видливоста",
+ "always": "Секогаш",
+ "copied": "Копирано",
+ "copyError": "Не може да се копира линкот",
+ "membersDescription": "Сите во работниот простор, според тоа што им дозволува улогата.",
+ "membersTitle": "Членови на {{workspace}}",
+ "offNote": "Ако го исклучиш јавниот линк, тој веднаш престанува да работи.",
+ "on": "Вклучено",
+ "openPublicPage": "Отвори ја јавната страница",
+ "thisWorkspace": "овој работен простор"
},
"projectWorkflow": {
- "pageTitle": "Поставки на работен тек",
+ "pageTitle": "Поставки за работен тек",
"title": "Работен тек",
- "subtitle": "Конфигурирај ги колоните на таблата и правилата за автоматизација за овој проект.",
+ "subtitle": "Колоните на твојата табла и што ги преместува задачите меѓу нив.",
"columnsTitle": "Колони",
- "columnsDescription": "Управувај со колоните што се прикажуваат на таблата. Повлечи за да ги преуредиш. Вклучи \"Завршна колона\" за фази што претставуваат завршена работа.",
- "automationTitle": "Правила за автоматизација",
- "automationDescription": "Поврзи настани од интеграции со колони. Кога ќе се случи настан, поврзаната задача се преместува во одредената колона.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Повлечи за да го смениш редоследот. Задачите во завршна колона се сметаат за завршени.",
+ "automationTitle": "Автоматизации",
+ "automationDescription": "Премести поврзана задача кога ќе се случи нешто во поврзан репозиториум."
},
"projectSwitcher": {
"selectProject": "Избери проект",
"noProjects": "Нема проекти"
},
"columnEditor": {
- "toastCreated": "Колоната е креирана",
"toastCreateError": "Неуспешно креирање на колона",
- "toastRenamed": "Колоната е преименувана",
"toastRenameError": "Неуспешно ажурирање на колона",
- "toastFinalOn": "Колоната е означена како завршна",
- "toastFinalOff": "Колоната е одозначена како завршна",
"toastUpdateError": "Неуспешно ажурирање на колона",
- "toastIconUpdated": "Иконата на колоната е ажурирана",
- "toastDeleted": "Колоната е избришана",
"toastDeleteError": "Неуспешно бришење на колона",
- "loading": "Се вчитуваат колони...",
"pickIconTitle": "Избери икона за колона",
"searchIconsPlaceholder": "Пребарај икони...",
- "doneColumnTooltip": "Третирај ја како завршна колона",
- "doneColumn": "Завршна колона",
"markDoneAria": "Означи {{name}} како завршна колона",
- "on": "Вклучено",
- "off": "Исклучено",
- "newColumnPlaceholder": "Име на нова колона...",
- "add": "Додади",
+ "newColumnPlaceholder": "Име на колона",
"deleteAria": "Избриши ја колоната {{name}}",
- "renameAria": "Преименувај ја колоната {{name}}"
+ "renameAria": "Преименувај ја колоната {{name}}",
+ "addColumn": "Додај колона",
+ "columnHeader": "Колона",
+ "deleteConfirm": "Избриши колона",
+ "deleteDescription": "Колоните што сè уште имаат задачи не можат да се избришат. Прво премести ги тие задачи.",
+ "deleteTitle": "Да се избрише „{{name}}“?",
+ "doneHeader": "Завршено",
+ "dragAria": "Смени редослед на {{name}}",
+ "reorderError": "Неуспешна промена на редоследот на колоните"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Сопственикот на репозиториумот е задолжителен",
- "ownerInvalid": "Невалиден формат на сопственик на репозиториум",
- "nameRequired": "Името на репозиториумот е задолжително",
- "nameInvalid": "Невалиден формат на име на репозиториум"
- },
"toast": {
- "installedOk": "GitHub апликацијата е правилно инсталирана!",
- "installedMissingPerms": "GitHub апликацијата е инсталирана но недостасуваат потребни дозволи",
- "needsInstallOnRepo": "GitHub апликацијата треба да се инсталира на овој репозиториум",
- "repoNotFound": "Репозиториумот не е пронајден или не е достапен",
"verifyError": "Неуспешна верификација на GitHub инсталацијата",
"installAppFirst": "Инсталирај ја GitHub апликацијата на овој репозиториум прво",
"missingPermsDetail": "На GitHub апликацијата и недостасуваат потребни дозволи: {{list}}. Ажурирај ги дозволите на апликацијата.",
@@ -1033,64 +1011,36 @@
"commentOnDisabled": "Коментарите со линк до задачата на новите issues се исклучени",
"settingsUpdateError": "Неуспешно ажурирање на GitHub интеграцијата"
},
- "connectionStatus": "Статус на конекција",
- "connectedActive": "Репозиториумот е поврзан и активен",
- "notConnectedHint": "Нема поврзан репозиториум",
- "badgeConnected": "Поврзан",
- "badgeNotConnected": "Неповрзан",
- "repository": "Репозиториум",
- "repositoryHint": "Поврзан GitHub репозиториум",
"commentTaskLinkTitle": "Коментирај Kaneo линк на нови issues",
- "commentTaskLinkHint": "Кога е вклучено, Kaneo објавува коментар на секој нов GitHub issue со линк до задачата.",
- "appStatusTitle": "Статус на GitHub апликација",
- "appStatusHint": "Статус на инсталација и дозволи",
- "statusProperlyConfigured": "Правилно конфигуриран",
- "statusMissingPermissions": "Недостасуваат дозволи",
- "statusNotInstalled": "Не е инсталиран",
- "ownerLabel": "Сопственик на репозиториум",
- "ownerHint": "GitHub корисничко име или организација",
- "ownerPlaceholder": "пр. octocat",
- "repoNameLabel": "Име на репозиториум",
- "repoNameHint": "Името на репозиториумот",
- "repoNamePlaceholder": "пр. my-project",
- "actionsTitle": "Акции",
- "actionsHint": "Управувај со конекцијата на репозиториумот",
- "browse": "Прелистај",
- "verify": "Верифицирај",
- "update": "Ажурирај",
- "connect": "Поврзи",
- "disconnect": "Откачи",
- "missingPermissionsLabel": "Недостасуваат дозволи:",
+ "commentTaskLinkHint": "За луѓето на GitHub да можат брзо да стигнат до задачата.",
"updatePermissions": "Ажурирај дозволи",
"installGithubApp": "Инсталирај GitHub апликација",
- "importSectionTitle": "Увези GitHub Issues",
- "importSectionHint": "Увези постоечки issues од твојот GitHub репозиториум како задачи",
- "importing": "Се увезува...",
- "importIssues": "Увези Issues",
- "importDisabledHint": "Заврши ја конфигурацијата на репозиториумот погоре за да овозможиш увоз",
+ "importSectionHint": "Увези ги отворените issues од репозиториумот како задачи.",
+ "importDisabledHint": "Поврзи го репозиториумот повторно за да овозможиш увоз.",
"accountVerificationHint": "Поврзете ја вашата сметка на GitHub за да потврдите дека сте администратор на ова складиште.",
"enableGithubSignInHint": "Побарајте од администраторот на вашата инстанца да овозможи најава преку GitHub.",
"reverifyHint": "Поврзете го складиштето повторно за да го потврдите пристапот и да ја продолжите синхронизацијата.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Неговите issues и pull requests ќе се поврзат со задачите тука.",
+ "linkAccountDescription": "Потврдува дека можеш да го администрираш репозиториумот.",
+ "linkAccountTitle": "Поврзи ја твојата GitHub сметка",
+ "linked": "Поврзано",
+ "linkGithub": "Поврзи GitHub",
+ "verifyMissingPermissions": "На Kaneo GitHub апликацијата ѝ недостасуваат дозволи: {{list}}.",
+ "verifyNotInstalled": "Kaneo GitHub апликацијата не е инсталирана на овој репозиториум.",
+ "verifyReady": "Kaneo GitHub апликацијата е инсталирана со потребните дозволи.",
+ "workflowHint": "Преместувај задачи кога pull requests се отвораат или спојуваат во",
+ "workflowLink": "Работен тек"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Основната URL на Gitea е задолжителна",
- "baseUrlInvalid": "Внеси валидна URL (пр. https://gitea.example.com)",
- "ownerRequired": "Сопственикот на репозиториумот е задолжителен",
- "ownerInvalid": "Невалиден формат на сопственик на репозиториум",
- "nameRequired": "Името на репозиториумот е задолжително",
- "nameInvalid": "Невалиден формат на име на репозиториум"
+ "baseUrlInvalid": "Внеси валидна URL (пр. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea токенот има пристап до овој репозиториум",
- "verifyWarning": "Провери ги дозволите на токенот или пристапот до репозиториумот",
- "repoNotFound": "Репозиториумот не е пронајден или не е достапен",
"verifyError": "Неуспешна верификација на Gitea пристапот",
- "tokenRequired": "Личниот пристапен токен е задолжителен",
- "tokenRequiredVerify": "Внеси токен за проверка",
"verifyFirst": "Проверката на пристапот не успеа. Провери ги URL-то, токенот и репозиториумот",
"updated": "Gitea интеграцијата е зачувана",
"updateError": "Неуспешно зачувување на Gitea интеграцијата",
@@ -1100,56 +1050,22 @@
"importError": "Неуспешен увоз на issues",
"commentOnEnabled": "Kaneo ќе коментира со линк до задачата на новите issues",
"commentOnDisabled": "Коментарите со линк до задачата на новите issues се исклучени",
- "settingsUpdateError": "Неуспешно ажурирање на Gitea интеграцијата",
- "secretCopied": "Copied",
- "unableToCopySecret": "Не можеше да се копира тајната",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly."
- },
- "webhookShow": "Show",
- "webhookHide": "Hide",
- "webhookCopy": "Copy",
- "connectionStatus": "Статус на конекција",
- "connectedActive": "Репозиториумот е поврзан и активен",
- "notConnectedHint": "Нема поврзан Gitea репозиториум",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Неповрзан",
- "repository": "Repository",
- "repositoryHint": "Поврзан Gitea репозиториум",
- "commentTaskLinkTitle": "Коментирај Kaneo линк на новите issues",
- "commentTaskLinkHint": "Кога е вклучено, Kaneo објавува коментар на секој нов issue со линк до задачата.",
- "webhookTitle": "Webhook",
- "webhookHint": "Во твојот Gitea репозиториум, додади webhook со оваа URL и тајна. Овозможи push, pull request, issues, коментари на issues и create (за ознаки).",
- "webhookSecretLabel": "Тајна (мора да се совпаѓа со webhook тајната во Gitea)",
+ "settingsUpdateError": "Неуспешно ажурирање на Gitea интеграцијата"
+ },
+ "commentTaskLinkTitle": "Коментирај Kaneo линк на нови issues",
+ "commentTaskLinkHint": "За луѓето на Gitea да можат брзо да стигнат до задачата.",
+ "webhookHint": "Додај го овој webhook во поставките на репозиториумот за промените да се враќаат во Kaneo.",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "Основна URL на твојата Gitea инстанца",
"tokenLabel": "Личен пристапен токен",
- "tokenHint": "Токен со пристап до repo и issues",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Залепи нов токен за замена",
- "currentToken": "stored",
- "ownerLabel": "Owner",
- "ownerHint": "Име на корисник или организација",
- "repoNameLabel": "Име на репозиториум",
- "repoNameHint": "Само име на репозиториумот (без сопственик)",
- "actionsTitle": "Actions",
- "actionsHint": "Провери го пристапот и поврзи",
- "browse": "Browse",
- "verify": "Verify",
- "update": "Update",
- "connect": "Connect",
- "disconnect": "Disconnect",
- "importSectionTitle": "Увези Gitea issues",
- "importSectionHint": "Увези отворени issues и pull requests од репозиториумот",
- "importing": "Importing…",
- "importIssues": "Увези issues",
- "importDisabledHint": "Провери го репозиториумот погоре за да овозможиш увоз",
- "browseModalTitle": "Твоите репозиториуми",
- "browseModalHint": "Репозиториуми до кои твојот токен има пристап",
- "searchRepos": "Search…",
- "browseNeedsCredentials": "Внеси Gitea URL и токен за прегледување",
- "loadingRepos": "Се вчитуваат репозиториуми…",
- "retry": "Retry"
+ "importSectionHint": "Увези отворени issues и pull requests како задачи.",
+ "importDisabledHint": "За увоз е потребен верификуван пристап. Провери го статусот на токенот погоре.",
+ "browseModalHint": "Репозиториуми до кои твојот токен има пристап.",
+ "browseNeedsCredentials": "Внеси Gitea URL и токен за прелистување.",
+ "browseEmpty": "Овој токен не гледа ниеден репозиториум.",
+ "chooseRepositoryDescription": "Впиши owner/name или избери од листата.",
+ "webhookEvents": "Вклучи ги настаните push, pull request, issue, issue comment и create."
},
"slackIntegration": {
"validation": {
@@ -1164,30 +1080,10 @@
"removed": "Slack интеграцијата е успешно отстранета",
"removeError": "Не успеа отстранувањето на Slack интеграцијата"
},
- "connectionTitle": "Slack webhook конекција",
- "connectionHint": "Залепи Slack incoming webhook URL и избери кои настани за задачи да се испраќаат.",
- "connected": "Поврзано",
- "paused": "Паузирано",
- "webhookLabel": "Incoming webhook URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Креирај Incoming Webhook во Slack и залепи ја генерираната URL тука.",
- "channelLabel": "Име на канал",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Опционална ознака за тебе. Slack го одредува каналот преку webhook поставките.",
- "eventsTitle": "Известувања за настани",
- "eventsHint": "Избери кои промени на проектот да се испраќаат во Slack.",
- "events": {
- "taskCreated": "Нови задачи",
- "taskStatusChanged": "Промени на статус",
- "taskPriorityChanged": "Промени на приоритет",
- "taskTitleChanged": "Промени на наслов",
- "taskDescriptionChanged": "Промени на опис",
- "taskCommentCreated": "Нови коментари"
- },
+ "webhookHint": "Креирај incoming webhook во Slack и залепи го тука.",
"connect": "Поврзи Slack",
- "saveChanges": "Зачувај промени",
- "update": "Ажурирај Slack",
- "disconnect": "Откачи"
+ "update": "Ажурирај Slack"
},
"discordIntegration": {
"validation": {
@@ -1202,34 +1098,15 @@
"removed": "Discord интеграцијата е успешно отстранета",
"removeError": "Не успеа отстранувањето на Discord интеграцијата"
},
- "connectionTitle": "Discord webhook конекција",
- "connectionHint": "Залепи Discord webhook URL и избери кои настани за задачи да се испраќаат.",
- "connected": "Поврзано",
- "paused": "Паузирано",
- "webhookLabel": "Webhook URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Креирај webhook за канал во Discord и залепи ја генерираната URL тука.",
- "channelLabel": "Име на канал",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Опционална ознака за тебе. Discord го одредува каналот преку webhook поставките.",
- "eventsTitle": "Известувања за настани",
- "eventsHint": "Избери кои промени на проектот да се испраќаат во Discord.",
- "events": {
- "taskCreated": "Нови задачи",
- "taskStatusChanged": "Промени на статус",
- "taskPriorityChanged": "Промени на приоритет",
- "taskTitleChanged": "Промени на наслов",
- "taskDescriptionChanged": "Промени на опис",
- "taskCommentCreated": "Нови коментари"
- },
+ "webhookHint": "Креирај webhook за канал во Discord и залепи го тука.",
"connect": "Поврзи Discord",
- "saveChanges": "Зачувај промени",
- "update": "Ажурирај Discord",
- "disconnect": "Откачи"
+ "update": "Ажурирај Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Внеси валидна webhook URL"
+ "webhookInvalid": "Внеси валидна webhook URL",
+ "leadTimeRange": "Избери време помеѓу 5 минути и 720 часа."
},
"toast": {
"saved": "Општиот webhook е успешно зачуван",
@@ -1240,43 +1117,41 @@
"removed": "Општиот webhook е успешно отстранет",
"removeError": "Не успеа отстранувањето на општиот webhook"
},
- "connectionTitle": "Излезен webhook",
- "connectionHint": "Испрати настани за задачи како JSON до твојот endpoint. Кога е поставена тајна, се испраќа потпис X-Kaneo-Signature.",
- "connected": "Поврзано",
- "paused": "Паузирано",
"webhookLabel": "URL на endpoint",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo испраќа POST барања со JSON за секој овозможен настан.",
"secretLabel": "Тајна за потпис",
- "secretPlaceholder": "Опционална заедничка тајна",
- "secretHint": "Опционално. Ако е поставена, Kaneo го потпишува телото на барањето и го испраќа hex-от во X-Kaneo-Signature.",
- "secretHintConfigured": "Тајна за потпис веќе е конфигурирана ({{secret}}). Внеси нова за да ја замениш.",
- "eventsTitle": "Известувања за настани",
- "eventsHint": "Избери кои промени на проектот да го активираат излезниот webhook.",
+ "secretPlaceholder": "Заедничка тајна",
+ "secretHint": "Kaneo го потпишува секое барање со неа и го испраќа дајџестот во заглавието X-Kaneo-Signature.",
+ "secretHintConfigured": "Тековна тајна: {{secret}}. Залепи нова за да ја замениш.",
+ "eventsTitle": "Кога да се испраќа",
"events": {
- "taskCreated": "Нови задачи",
- "taskStatusChanged": "Промени на статус",
- "taskPriorityChanged": "Промени на приоритет",
- "taskTitleChanged": "Промени на наслов",
- "taskDescriptionChanged": "Промени на опис",
- "taskCommentCreated": "Нови коментари",
+ "taskCreated": "Креирана задача",
+ "taskStatusChanged": "Променет статус",
+ "taskPriorityChanged": "Променет приоритет",
+ "taskTitleChanged": "Променет наслов",
+ "taskDescriptionChanged": "Променет опис",
+ "taskCommentCreated": "Нов коментар",
"taskDeleted": "Избришана задача",
"taskMoved": "Преместена задача",
"taskDueDateChanged": "Променет краен рок",
"taskAssigneeChanged": "Променето доделување",
"taskUnassigned": "Одземено доделување",
- "dueDateReminder": "Потсетници за краен рок"
+ "dueDateReminder": "Потсетник за краен рок"
},
"connect": "Поврзи webhook",
- "saveChanges": "Зачувај промени",
- "disconnect": "Откачи",
- "reminderLeadTimeLabel": "Колку часа претходно да се испрати webhook-от"
+ "reminderLeadTimeLabel": "Часови пред крајниот рок на задачата",
+ "activeTitle": "Се испраќаат настани",
+ "disconnectDescription": "Kaneo престанува да испраќа настани и ги отстранува зачуваниот endpoint и тајната.",
+ "disconnectTitle": "Да се исклучи webhook-от?",
+ "reminderLeadTimeAfter": "ч. пред крајниот рок на задачата",
+ "reminderLeadTimeBefore": "Испраќај потсетници"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Внеси валиден Telegram bot token",
"chatIdRequired": "Chat ID е задолжително",
- "threadIdInvalid": "Внеси валиден Telegram ID за тема"
+ "threadIdInvalid": "Внеси валиден ID на тема"
},
"toast": {
"saved": "Telegram интеграцијата е успешно зачувана",
@@ -1287,55 +1162,38 @@
"removed": "Telegram интеграцијата е успешно отстранета",
"removeError": "Неуспешно отстранување на Telegram интеграцијата"
},
- "connectionTitle": "Конекција со Telegram бот",
- "connectionHint": "Користи Telegram bot token и chat ID за да испраќаш ажурирања за проектот во разговор или тема.",
- "connected": "Поврзан",
- "paused": "Паузирано",
"botTokenLabel": "Bot token",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Креирај бот со BotFather и залепи го неговиот token тука.",
- "botTokenHintConfigured": "Bot token веќе е конфигуриран ({{token}}). Внеси нов за да го замениш.",
+ "botTokenHintConfigured": "Тековен токен: {{token}}",
"chatIdLabel": "Chat ID",
"chatIdPlaceholder": "-1001234567890 или @team_updates",
- "chatIdHint": "Внеси Telegram chat ID или корисничко име на канал каде што треба да се објавуваат ажурирањата.",
"threadIdLabel": "ID на тема",
- "threadIdPlaceholder": "Опционален ID на тема",
- "threadIdHint": "Опционално. Користи го ова за forum теми во Telegram групи.",
- "chatLabelLabel": "Ознака за разговор",
+ "threadIdPlaceholder": "За теми во форум",
+ "chatLabelLabel": "Име на разговорот",
"chatLabelPlaceholder": "Тимски ажурирања",
- "chatLabelHint": "Опционална ознака за твоја референца во Kaneo.",
- "eventsTitle": "Известувања за настани",
- "eventsHint": "Избери кои промени во проектот треба да се објавуваат во Telegram.",
- "events": {
- "taskCreated": "Нови задачи",
- "taskStatusChanged": "Промени на статус",
- "taskPriorityChanged": "Промени на приоритет",
- "taskTitleChanged": "Промени на наслов",
- "taskDescriptionChanged": "Промени на опис",
- "taskCommentCreated": "Нови коментари"
- },
"connect": "Поврзи Telegram",
- "saveChanges": "Зачувај промени",
- "disconnect": "Откачи"
+ "botTokenSavedPlaceholder": "Зачувано. Залепи нов токен за да го замениш.",
+ "loadError": "Не може да се вчитаат поставките за Telegram."
},
"repositoryBrowser": {
"title": "Избери репозиториум",
- "description": "Избери репозиториум каде е инсталирана твојата GitHub апликација за да овозможиш синхронизација на issues.",
- "searchPlaceholder": "Пребарај репозиториуми...",
- "loadError": "Неуспешно вчитување на репозиториуми",
+ "description": "Репозиториуми што ги гледа Kaneo GitHub апликацијата.",
+ "searchPlaceholder": "Пребарај репозиториуми",
+ "loadError": "Не може да се вчитаат репозиториумите.",
"tryAgain": "Обиди се повторно",
- "emptyTitle": "Не се пронајдени репозиториуми",
+ "emptyTitle": "Сè уште нема репозиториуми",
"emptyHint": "Инсталирај ја GitHub апликацијата на твоите репозиториуми за да ги видиш тука.",
"installGithubApp": "Инсталирај GitHub апликација",
- "noSearchMatchTitle": "Нема репозиториуми што одговараат на пребарувањето",
- "noSearchMatchHint": "Обиди се да ги прилагодиш термините за пребарување или исчисти го пребарувањето за да ги видиш сите репозиториуми.",
- "footerSummary": "{{repoCount}} репозиториуми во {{installationCount}} инсталации",
- "manageInstallations": "Управувај со инсталации",
- "updatedPrefix": "Ажурирано",
- "relativeJustNow": "штотуку",
- "relativeMinutesAgo": "пред {{count}}м",
- "relativeHoursAgo": "пред {{count}}ч",
- "relativeDaysAgo": "пред {{count}}д"
+ "noSearchMatchTitle": "Нема соодветни репозиториуми",
+ "noSearchMatchHint": "Пробај друго име или исчисти го пребарувањето.",
+ "emptyPageHint": "Нема на оваа страница. Вчитај повеќе за да продолжиш со барање.",
+ "loadMore": "Вчитај повеќе",
+ "manageAccess": "Управувај со пристапот на апликацијата",
+ "missingOne": "Недостасува некој?",
+ "searching": "Се пребарува…",
+ "updated": "Ажурирано {{time}}",
+ "useRepository": "Користи репозиториум"
},
"tasksImportExport": {
"exportTasks": "Извези задачи",
@@ -1354,27 +1212,26 @@
"importError": "Неуспешен увоз на задачи",
"invalidFormat": "Невалиден формат на датотека за увоз",
"noFileDropped": "Не е пуштена датотека",
- "notJsonFile": "Прикачи JSON датотека"
+ "notJsonFile": "Прикачи JSON датотека",
+ "export": "Извези",
+ "exportDescription": "Преземи ги сите задачи од овој проект како датотека.",
+ "import": "Увези",
+ "importDescription": "Додај задачи од претходно извезена датотека."
},
"workflowEditor": {
- "loading": "Се вчитува...",
- "createColumnsFirst": "Прво креирај колони за да конфигурираш правила за автоматизација.",
- "githubHeading": "GitHub",
- "githubHint": "Кога ќе се случи GitHub настан, премести ја поврзаната задача во колона.",
- "selectColumnPlaceholder": "Избери колона...",
- "toastUpdated": "Правилото за работен тек е ажурирано",
"toastError": "Неуспешно ажурирање на правило",
"events": {
"branch_push": "Push на гранка",
- "pr_opened": "PR отворен",
- "pr_merged": "PR спoен",
- "issue_opened": "Issue отворен",
- "issue_closed": "Issue затворен"
+ "pr_opened": "Отворен pull request",
+ "pr_merged": "Споен pull request",
+ "issue_opened": "Отворен issue",
+ "issue_closed": "Затворен issue"
},
- "giteaHeading": "Gitea",
- "giteaHint": "Кога ќе се случи Gitea webhook настан, премести ја поврзаната задача во колона.",
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "Поврзи {{providers}} во <link>Интеграции</link> за да ги автоматизираш и нив.",
+ "dontMove": "Не преместувај",
+ "emptyDescription": "Автоматизациите бараат поврзан GitHub, Gitea или GitLab репозиториум.",
+ "emptyTitle": "Нема поврзани репозиториуми",
+ "openIntegrations": "Отвори интеграции"
},
"externalLinks": {
"resources": "Ресурси",
@@ -1601,22 +1458,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Поставки за ознаки",
+ "pageTitle": "Ознаки",
"title": "Ознаки",
- "subtitle": "Креирај, уреди и избриши ознаки на ниво на работен простор.",
- "cardDescription": "Управувај со ознаките што може да се доделуваат на задачи.",
+ "subtitle": "Ознаките се споделени меѓу сите проекти во овој работен простор.",
"createLabel": "Креирај ознака",
"editLabel": "Уреди ознака",
- "deleteLabel": "Избриши",
+ "deleteLabel": "Избриши ознака",
"saveLabel": "Зачувај",
- "nameLabel": "Име на ознака",
- "namePlaceholder": "Внеси име на ознака",
+ "nameLabel": "Име",
+ "namePlaceholder": "Име на ознака",
"colorLabel": "Боја",
- "createDescription": "Креирај нова ознака што може да се користи на задачите во овој работен простор.",
- "editDescription": "Ажурирај го името или бојата на оваа ознака.",
- "deleteConfirmTitle": "Да се избрише оваа ознака?",
- "deleteConfirmDescription": "Ова трајно ќе ја отстрани ознаката од сите задачи. Оваа акција не може да се врати.",
- "empty": "Нема ознаки засега. Креирај ја твојата прва ознака за да започнеш.",
+ "createDescription": "Проектите во овој работен простор можат да ја додаваат на своите задачи.",
+ "editDescription": "Промените се прикажуваат на секоја задача со оваа ознака.",
+ "deleteConfirmTitle": "Да се избрише „{{name}}“?",
+ "deleteConfirmDescription": "Ознаката се отстранува од секоја задача што ја користи. Ова не може да се врати.",
"createSuccess": "Ознаката е креирана",
"updateSuccess": "Ознаката е ажурирана",
"deleteSuccess": "Ознаката е избришана",
@@ -1624,30 +1479,23 @@
"updateError": "Неуспешно ажурирање на ознака",
"deleteError": "Неуспешно бришење на ознака",
"nameRequired": "Името на ознаката е задолжително",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Се отстранува од задачите…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Уреди {{name}}",
+ "emptyDescription": "Додај ознаки за да ги подредуваш и филтрираш задачите низ проектите.",
+ "emptyTitle": "Сè уште нема ознаки",
+ "loadError": "Не може да се вчитаат ознаките. Обиди се повторно.",
+ "newLabel": "Нова ознака",
+ "preview": "На задача",
+ "previewPlaceholder": "Ознака",
+ "resume": "Продолжи",
+ "rowActions": "Акции за {{name}}",
+ "sectionDescription": "Преименувањето на ознака или промената на нејзината боја ја ажурира секоја задача што ја користи.",
+ "sectionTitle": "Ознаки на работниот простор",
+ "subtitleWithWorkspace": "Ознаките се споделени меѓу сите проекти во {{workspaceName}}."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1661,58 +1509,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Креирај incoming webhook во Mattermost и залепи го тука.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Поле за штиклирање",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Паѓачко мени, повеќе избори"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Исчисти ја стандардната вредност",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Акции за {{name}}",
+ "addOption": "Додај опција",
+ "allowSeveral": "Дозволи повеќе",
+ "allowSeveralDescription": "Задачата може да избере повеќе од една опција.",
+ "checked": "Штиклирано",
+ "createField": "Креирај поле",
+ "defaultDescription": "Новите задачи почнуваат со ова.",
+ "deleteConfirm": "Избриши поле",
+ "deleteDescription": "Полето и неговата вредност се отстрануваат од секоја задача. Ова не може да се врати.",
+ "deleteTitle": "Да се избрише „{{name}}“?",
+ "dialogDescription": "Секоја задача во {{project}} го добива ова поле.",
+ "dialogDescriptionFallback": "Секоја задача во овој проект го добива ова поле.",
+ "dragAria": "Смени редослед на {{name}}",
+ "dragOptionAria": "Смени редослед на {{option}}",
+ "edit": "Уреди",
+ "editTitle": "Уреди поле",
+ "emptyDescription": "Следи работи како големина, клиент или датум на лансирање на секоја задача.",
+ "emptyTitle": "Сè уште нема прилагодени полиња",
+ "issues": {
+ "defaultRequired": "Задолжителните полиња бараат стандардна вредност.",
+ "moreOptionsRequired": "Додај барем две опции за да дозволиш повеќе.",
+ "optionsRequired": "Додај барем една опција."
+ },
+ "nameLabel": "Име",
+ "newTitle": "Ново поле",
+ "noDefault": "Без стандардна вредност",
+ "optionsLabel": "Опции",
+ "removeOptionAria": "Отстрани {{option}}",
+ "renameOptionAria": "Преименувај {{option}}",
+ "requiredDescription": "Секоја задача секогаш има вредност.",
+ "save": "Зачувај",
+ "saving": "Се зачувува...",
+ "startsAs": "Почнува како „{{value}}“",
+ "startsAt": "Почнува од {{value}}",
+ "startsChecked": "Почнува штиклирано",
+ "startsOn": "Почнува на {{date}}",
+ "startsUnchecked": "Почнува нештиклирано",
+ "typeLabel": "Тип",
+ "typeLocked": "Типот не може да се смени откако полето ќе се креира.",
+ "unchecked": "Нештиклирано",
+ "updateError": "Неуспешно зачувување на прилагоденото поле.",
+ "updateSuccess": "Прилагоденото поле е зачувано."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Деактивирај",
+ "edit": "Уреди",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Повторно активирај"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Улога",
"status": "Status",
"user": "User"
},
@@ -1734,7 +1614,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Сите корисници",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1747,7 +1627,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1755,19 +1634,19 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Администратор",
"user": "User"
},
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Пребарај по име или е-пошта",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Сите што имаат сметка на оваа Kaneo инстанца.",
+ "title": "Корисници",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1776,9 +1655,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Ти"
},
"security": "Security",
"securityPage": {
@@ -1793,11 +1670,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Најава",
+ "submit": "Смени лозинка",
+ "submitting": "Се менува...",
+ "subtitle": "Како се најавуваш во Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1807,94 +1683,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Смени лозинка",
+ "dialogDescription": "Најмалку 8 знаци, различна од тековната.",
+ "dialogTitle": "Смени лозинка",
+ "passwordHint": "Користи најмалку 8 знаци што не ги користиш никаде на друго место.",
+ "passwordTitle": "Лозинка"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Проекти во кои твојот токен е член.",
+ "browseNeedsCredentials": "Внеси GitLab URL и токен за прелистување.",
+ "commentTaskLinkHint": "За луѓето на GitLab да можат брзо да стигнат до задачата.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Увези отворени issues и merge requests како задачи.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Пребарај проекти",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Додај го овој webhook во поставките на проектот за промените да се враќаат во Kaneo.",
+ "loadProjectsError": "Не може да се вчитаат проектите.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Овој токен не е член на ниеден проект.",
+ "chooseProjectDescription": "Впиши ја неговата патека или избери од листата.",
+ "noSearchMatchTitle": "Нема соодветни проекти",
+ "useProject": "Користи проект",
+ "webhookEvents": "Вклучи ги настаните push, issue, comment и merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Вклучи само ознаки",
+ "selectLabels": "Додај ознака",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1902,20 +1745,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Фидови",
+ "allScheduledTasks": "Сите закажани задачи",
+ "subscribeHint": "Додај линк во твојата календарска апликација како претплата. Ажурирањата се појавуваат кога апликацијата ќе го освежи фидот.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Копирано",
+ "dialogDescription": "Задачите со почетен датум или краен рок се појавуваат во фидот.",
+ "dialogTitle": "Нов календарски фид",
+ "emptyDescription": "Креирај фид за да ги гледаш закажаните задачи во твојата календарска апликација.",
+ "emptyTitle": "Сè уште нема календарски фидови",
+ "feedActions": "Акции за фидот",
+ "labelsHint": "Остави празно за да ги вклучиш сите закажани задачи.",
+ "newFeed": "Нов фид",
+ "revokeConfirm": "Поништи фид",
+ "revokeConfirmDescription": "Календарските апликации што го користат овој линк престануваат да добиваат ажурирања. Ова не може да се врати.",
+ "revokeConfirmTitle": "Да се поништи овој фид?",
+ "revoking": "Се поништува…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1927,7 +1779,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1960,7 +1811,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1971,7 +1821,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Фактурите, начинот на плаќање и откажувањето се управуваат во Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1995,14 +1845,14 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Твојот план за {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "Уште {{count}} ден",
+ "badgeDaysLeft_other": "Уште {{count}} дена"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2021,15 +1871,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2046,8 +1893,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2066,16 +1911,29 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Што се синхронизира",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Сите issues",
+ "allTasks": "Сите задачи",
+ "edit": "Уреди",
+ "hidePaused": "Скриј",
+ "issuesLabelled": "Issues со ознака",
+ "joinAnd": "и",
+ "joinOr": "или",
+ "kaneoToProvider": "Од Kaneo кон {{provider}}",
+ "pausedSummary_one": "{{count}} задача престана да се синхронизира бидејќи повеќе не одговара на правилата за синхронизација.",
+ "pausedSummary_other": "{{count}} задачи престанаа да се синхронизираат бидејќи повеќе не одговараат на правилата за синхронизација.",
+ "providerToKaneo": "Од {{provider}} кон Kaneo",
+ "reviewPaused": "Прегледај",
+ "tasksLabelled": "Задачи со ознака"
+ },
+ "advancedSettingsDescription": "Прикажува дополнителни контроли, како правила за синхронизација на интеграциите. Само во овој прелистувач.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2112,23 +1970,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Сите работни простори",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_one": "{{count}} member",
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
@@ -2149,9 +1999,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Пребарај по име или slug",
+ "subtitle": "Сите работни простори на оваа Kaneo инстанца, вклучувајќи ги и оние во кои не членуваш.",
+ "title": "Работни простори",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2161,9 +2011,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2428,6 +2276,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Исклучи за да паузираш без да ги изгубиш поставките.",
+ "activeTitle": "Се објавува во {{provider}}",
+ "channelHint": "Само назив за оваа листа.",
+ "channelLabel": "Канал",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Исклучи",
+ "disconnectDescription": "Kaneo престанува да објавува во {{provider}} и ги отстранува зачуваните поставки.",
+ "disconnecting": "Се исклучува…",
+ "disconnectTitle": "Да се исклучи {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Некој коментира",
+ "taskCreated": "Задача е креирана",
+ "taskDescriptionChanged": "Описот е променет",
+ "taskPriorityChanged": "Приоритетот е променет",
+ "taskStatusChanged": "Статусот е променет",
+ "taskTitleChanged": "Насловот е променет"
+ },
+ "optional": "Опционално",
+ "postWhen": "Објави кога",
+ "retry": "Обиди се повторно",
+ "saveChanges": "Зачувај ги промените",
+ "savedUrlPlaceholder": "Зачувано. Залепи нова URL за да ја замениш.",
+ "webhookUrlLabel": "Webhook URL"
+ },
+ "codeHosting": {
+ "browse": "Прелистај",
+ "changeToken": "Смени токен",
+ "checking": "Се проверува пристапот…",
+ "chooseProjectTitle": "Избери проект",
+ "chooseRepositoryTitle": "Избери репозиториум",
+ "connectProject": "Поврзи проект",
+ "connectRepository": "Поврзи репозиториум",
+ "copied": "Копирано",
+ "copyFailed": "Не може да се копира во клипбордот.",
+ "copySecret": "Копирај тајна",
+ "copyUrl": "Копирај webhook URL",
+ "disconnect": "Исклучи",
+ "disconnectDescription": "Задачите престануваат да се синхронизираат со {{target}}. Можеш повторно да го поврзеш подоцна.",
+ "disconnecting": "Се исклучува…",
+ "disconnectTitle": "Да се исклучи {{provider}}?",
+ "hideSecret": "Скриј тајна",
+ "importing": "Се увезува…",
+ "importIssues": "Увези issues",
+ "importNeedsReconnect": "Поврзи повторно за да овозможиш увоз.",
+ "importTitle": "Увези отворени issues",
+ "issuesSection": "Issues",
+ "lastImport": "Последен увоз: {{imported}} креирани, {{updated}} ажурирани, {{skipped}} прескокнати.",
+ "loadError": "Не може да се вчита оваа интеграција.",
+ "pausedHint": "Синхронизацијата е паузирана. Поврзи повторно за да продолжи.",
+ "projectSection": "Проект",
+ "reconnect": "Поврзи повторно",
+ "repositoryPathInvalid": "Внеси го репозиториумот како owner/name.",
+ "repositoryPathLabel": "Репозиториум",
+ "repositorySection": "Репозиториум",
+ "retry": "Обиди се повторно",
+ "saveToken": "Зачувај токен",
+ "showSecret": "Прикажи тајна",
+ "signInDescription": "Користи токен што може да ги чита проектот и неговите issues.",
+ "signInTitle": "Најави се на твојата инстанца",
+ "tokenStored": "Зачуван токен",
+ "tokenTitle": "Токен за пристап",
+ "webhookSecret": "Тајна",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Повлечи за да го смениш редоследот по кој се прикажуваат на задачата.",
+ "fieldsTitle": "Полиња",
+ "newField": "Ново поле",
+ "pageTitle": "Прилагодени полиња",
+ "subtitle": "Дополнителни детали што секоја задача во {{project}} може да ги следи, како големина или клиент.",
+ "subtitleFallback": "Дополнителни детали што секоја задача во овој проект може да ги следи, како големина или клиент.",
+ "title": "Прилагодени полиња"
+ },
+ "shared": {
+ "autosave": "Промените се зачувуваат автоматски"
}
},
"navigation": {
diff --git a/i18n/nl-NL.json b/i18n/nl-NL.json
index 56f5064cc..9731289c2 100644
--- a/i18n/nl-NL.json
+++ b/i18n/nl-NL.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Nooit"
- },
"modals": {
"createProject": {
"title": "Een nieuw project aanmaken",
@@ -566,36 +563,31 @@
"advancedSettings": "Geavanceerde instellingen",
"account": "Account",
"developer": "Ontwikkelaar",
- "information": "Informatie",
+ "information": "Profiel",
"preferences": "Voorkeuren",
"apiKeys": "API-sleutels",
"informationPage": {
- "pageTitle": "Persoonlijke Informatie",
- "title": "Persoonlijke Informatie",
- "subtitle": "Beheer je persoonlijke gegevens en accountinformatie.",
- "sectionTitle": "Accountinformatie",
- "sectionSubtitle": "Beheer je profiel- en accountgegevens.",
+ "pageTitle": "Profiel",
+ "title": "Profiel",
+ "subtitle": "Hoe je teamgenoten je zien.",
+ "sectionTitle": "Gegevens",
"profilePicture": "Profielfoto",
- "fullName": "Volledige naam",
+ "fullName": "Naam",
"fullNamePlaceholder": "Voer je naam in",
"email": "E-mail",
- "emailPlaceholder": "Voer je e-mailadres in",
- "updateSuccess": "Profiel succesvol bijgewerkt",
"updateError": "Bijwerken profiel mislukt",
"validation": {
"nameRequired": "Naam is verplicht",
- "nameShort": "Naam moet minimaal 2 tekens bevatten",
- "invalidEmail": "Ongeldig e-mailadres"
+ "nameShort": "Naam moet minimaal 2 tekens bevatten"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Vierkante afbeeldingen zien er het beste uit.",
+ "remove": "Verwijderen",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Uploaden"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -604,142 +596,122 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Met dit adres log je in."
},
"preferencesPage": {
"title": "Voorkeuren",
- "subtitle": "Pas je Kaneo-ervaring aan.",
- "appearanceTitle": "Uiterlijk",
- "appearanceSubtitle": "Visuele instellingen en lay-outvoorkeuren.",
+ "subtitle": "Hoe Kaneo eruitziet en werkt voor jou.",
+ "appearanceTitle": "Algemeen",
"theme": "Thema",
- "themeDescription": "Kies je gewenste kleurenschema",
"selectTheme": "Selecteer een thema",
"themeLight": "Licht",
"themeDark": "Donker",
- "themeSystem": "Systeem",
+ "themeSystem": "Systeem volgen",
"language": "Taal",
- "languageDescription": "Kies je gewenste taal voor de interface",
"selectLanguage": "Selecteer een taal",
"firstDayOfWeek": "Eerste dag van de week",
- "firstDayOfWeekDescription": "Kies op welke dag kalenders en weekoverzichten beginnen",
+ "firstDayOfWeekDescription": "Gebruikt door kalenders en datumkiezers.",
"selectFirstDayOfWeek": "Selecteer de eerste dag",
"weekStartsOnSunday": "Zondag",
"weekStartsOnMonday": "Maandag",
"weekStartsOnSaturday": "Zaterdag",
"defaultView": "Standaardweergave",
- "defaultViewDescription": "Kies de weergavemodus voor taken",
+ "defaultViewDescription": "De weergave waarin projecten openen.",
"selectViewMode": "Selecteer een weergavemodus",
"board": "Bord",
"list": "Lijst",
"gantt": "Gantt",
- "sidebarDefault": "Zijbalk standaard",
- "sidebarDefaultDescription": "Houd de zijbalk uitgeklapt bij het opstarten",
- "displayOptions": "Weergaveopties",
- "displayOptionsDescription": "Kies welke informatie getoond wordt in taakoverzichten",
+ "sidebarDefault": "Zijbalk open houden",
+ "sidebarDefaultDescription": "Begin met de zijbalk uitgeklapt.",
+ "displayOptions": "Taakdetails",
+ "displayOptionsDescription": "Wat er op kaarten en rijen in je borden en lijsten wordt getoond.",
"taskNumbers": "Taaknummers",
- "taskNumbersDescription": "Toon taak-ID's en nummers",
"assignees": "Toegewezen personen",
- "assigneesDescription": "Toon wie er aan taken is toegewezen",
"dueDates": "Einddatums",
- "dueDatesDescription": "Toon deadlines van taken",
"labels": "Labels",
- "labelsDescription": "Toon taaklabels en tags",
"priority": "Prioriteit",
- "priorityDescription": "Toon prioriteitsindicatoren",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Toon de afbeelding die een project achter het bord instelt.",
+ "advancedTitle": "Geavanceerd"
},
"developerPage": {
- "pageTitle": "Ontwikkelaarsinstellingen",
- "title": "Ontwikkelaarsinstellingen",
- "subtitle": "Beheer je API-sleutels en ontwikkelaarsbronnen.",
- "apiKeysCardTitle": "API-sleutels",
- "apiKeysCardDescription": "Maak en beheer API-sleutels voor programmatische toegang tot Kaneo.",
- "createApiKey": "API-sleutel maken",
- "unnamedKey": "Naamloze sleutel"
+ "pageTitle": "API-sleutels",
+ "title": "API-sleutels",
+ "subtitle": "Laat scripts, de CLI en MCP-clients Kaneo namens jou gebruiken.",
+ "unnamedKey": "Naamloos",
+ "emptyDescription": "Maak een sleutel aan om de CLI, een MCP-client of je eigen scripts te gebruiken.",
+ "emptyTitle": "Nog geen API-sleutels",
+ "keysNote": "Een sleutel kan alles wat jij kunt. Verwijder sleutels die je niet meer gebruikt.",
+ "keysTitle": "Sleutels",
+ "loadError": "API-sleutels konden niet worden geladen. Probeer het opnieuw.",
+ "newKey": "Nieuwe sleutel"
},
"apiKey": {
"createdModal": {
- "title": "API-sleutel aangemaakt",
- "description": "Je API-sleutel \"{{keyName}}\" is succesvol aangemaakt.",
- "yourApiKey": "Je API-sleutel",
+ "title": "Kopieer je sleutel",
+ "description": "Je ziet deze niet meer terug nadat je dit venster sluit.",
"copy": "Kopiëren",
"copied": "Gekopieerd",
- "toastCopied": "API-sleutel gekopieerd naar klembord",
- "alertTitle": "Succes! Je API-sleutel is aangemaakt",
- "alertDescription": "Kopieer deze sleutel nu. Je kunt hem later niet meer inzien.",
"done": "Klaar",
- "copyToContinue": "Kopieer de sleutel om door te gaan"
+ "copyError": "De sleutel kon niet worden gekopieerd. Selecteer en kopieer hem handmatig."
},
"table": {
- "loading": "API-sleutels laden...",
- "empty": "Nog geen API-sleutels. Maak er een aan om te beginnen.",
- "columnName": "Naam",
- "columnKey": "Sleutel",
- "columnCreated": "Aangemaakt",
- "columnExpires": "Verloopt",
- "columnActions": "Acties",
- "unnamedKey": "Naamloze sleutel",
- "expiredBadge": "Verlopen op {{label}}",
- "deleteConfirmTitle": "API-sleutel verwijderen?",
- "deleteConfirmDescription": "Deze actie kan niet ongedaan worden gemaakt. Dit zal {{name}} permanent verwijderen.",
- "deleteFallbackName": "deze API-sleutel",
- "delete": "Verwijderen",
- "deleting": "Verwijderen...",
- "deleteAria": "Verwijder {{name}}",
- "deleteAriaFallback": "API-sleutel",
- "toastDeleted": "API-sleutel succesvol verwijderd",
- "toastDeleteError": "Verwijderen API-sleutel mislukt"
+ "deleteConfirmTitle": "\"{{name}}\" verwijderen?",
+ "deleteConfirmDescription": "Alles wat deze sleutel gebruikt, werkt dan niet meer. Dit kan niet ongedaan worden gemaakt.",
+ "delete": "Sleutel verwijderen",
+ "deleting": "Verwijderen…",
+ "toastDeleted": "API-sleutel verwijderd",
+ "toastDeleteError": "De API-sleutel kon niet worden verwijderd"
},
"createDialog": {
- "title": "API-sleutel maken",
- "description": "Maak een nieuwe API-sleutel aan om programmatisch toegang te krijgen tot de Kaneo API.",
+ "title": "Nieuwe API-sleutel",
+ "description": "De sleutel kan alles wat jij kunt.",
"nameLabel": "Naam",
"namePlaceholder": "Mijn API-sleutel",
- "nameDescription": "Een beschrijvende naam voor deze API-sleutel",
- "expirationLabel": "Vervaldatum",
- "expirationPlaceholder": "Selecteer verloop",
- "expirationDescription": "Kies hoe lang deze sleutel geldig moet blijven. 'Nooit' maakt een sleutel zonder einddatum.",
+ "nameDescription": "Zodat je weet waar deze wordt gebruikt.",
+ "expirationLabel": "Verloopt",
"expiration1d": "1 dag",
"expiration7d": "7 dagen",
"expiration30d": "30 dagen",
"expiration90d": "90 dagen",
"expirationNever": "Nooit",
- "create": "Aanmaken",
- "creating": "Aanmaken...",
- "failedCreate": "Aanmaken API-sleutel mislukt",
+ "create": "Sleutel aanmaken",
+ "creating": "Aanmaken…",
+ "failedCreate": "De API-sleutel kon niet worden aangemaakt",
"validation": {
- "nameRequired": "Naam is verplicht",
- "nameShort": "Naam moet minimaal 3 tekens bevatten",
- "expirationRequired": "Vervaldatum is verplicht"
+ "nameRequired": "Voer een naam in",
+ "nameShort": "Gebruik minimaal 3 tekens"
}
+ },
+ "row": {
+ "actions": "Acties voor {{name}}",
+ "created": "Aangemaakt op {{date}}",
+ "expired": "Verlopen op {{date}}",
+ "expiredBadge": "Verlopen",
+ "expires": "Verloopt op {{date}}",
+ "neverExpires": "Verloopt nooit"
}
},
"workspaceGeneral": {
"pageTitle": "Algemene instellingen",
- "title": "Algemene instellingen",
- "subtitle": "Beheer de naam en beschrijving van je werkruimte.",
- "workspaceInfoTitle": "Werkruimte-informatie",
- "workspaceInfoSubtitle": "Configureer de details en voorkeuren van je werkruimte.",
- "nameLabel": "Werkruimtenaam",
- "nameHint": "De naam van je werkruimte",
+ "title": "Algemeen",
+ "subtitle": "De naam van {{name}} en wie de eigenaar is.",
+ "workspaceInfoTitle": "Werkruimte",
+ "nameLabel": "Naam",
"namePlaceholder": "Voer werkruimtenaam in",
"descriptionLabel": "Beschrijving",
- "descriptionHint": "Een korte beschrijving van je werkruimte",
- "descriptionPlaceholder": "Voer beschrijving in",
+ "descriptionPlaceholder": "Waar werkt je team aan?",
"dangerZone": "Gevarenzone",
- "dangerZoneSubtitle": "Onomkeerbare en destructieve acties.",
"deleteWorkspace": "Werkruimte verwijderen",
- "deleteWorkspaceDescription": "Plan de werkruimte in om permanent te worden verwijderd",
+ "deleteWorkspaceDescription": "Verwijdert {{name}} en alle projecten en taken permanent.",
"deleteModalTitle": "Werkruimte verwijderen?",
- "deleteModalDescription": "Dit zal de werkruimte \"{{name}}\" en alle bijbehorende data permanent verwijderen. Dit kan niet ongedaan worden gemaakt.",
+ "deleteModalDescription": "Hiermee worden {{name}} en alle bijbehorende projecten en taken permanent verwijderd. Dit kan niet ongedaan worden gemaakt.",
"deleteModalConfirm": "Werkruimte verwijderen",
- "toastUpdated": "Werkruimte succesvol bijgewerkt",
"toastUpdateError": "Bijwerken werkruimte mislukt",
"toastDeleted": "Werkruimte verwijderd",
"toastDeleteError": "Verwijderen werkruimte mislukt",
@@ -751,45 +723,41 @@
"toastSuccess": "Eigendom overgedragen",
"toastError": "Overdragen eigendom mislukt",
"title": "Eigendom overdragen",
- "subtitle": "Draag deze werkruimte over aan een ander lid. Je wordt teruggezet naar beheerder en verliest rechten die alleen eigenaren hebben.",
"pickerLabel": "Nieuwe eigenaar",
"noEligibleMembers": "Nodig eerst minstens één ander lid uit voordat je het eigendom kunt overdragen.",
- "pickerHint": "Diegene wordt de enige eigenaar van deze werkruimte.",
- "pickerPlaceholder": "Selecteer een lid",
+ "pickerHint": "De nieuwe eigenaar neemt het over. Jij blijft beheerder.",
+ "pickerPlaceholder": "Kies een lid",
"button": "Overdragen",
"dialogTitle": "Eigendom overdragen?",
"dialogDescription": "{{name}} wordt de enige eigenaar van {{workspace}}. Je behoudt beheerderstoegang, maar verliest rechten die alleen eigenaren hebben, zoals het verwijderen of opnieuw overdragen van de werkruimte.",
"transferring": "Overdragen…",
"confirm": "Eigendom overdragen"
- }
+ },
+ "ownershipSubtitle": "Alleen de eigenaar ziet dit.",
+ "ownershipTitle": "Eigendom"
},
"projectGeneral": {
"pageTitle": "Projectinstellingen",
- "title": "Algemene instellingen",
- "subtitle": "Beheer projectnaam, sleutel, icoon en beschrijving.",
- "projectInfoTitle": "Projectinformatie",
- "projectInfoSubtitle": "Configureer je projectdetails en voorkeuren.",
+ "title": "Algemeen",
+ "subtitle": "Naam, sleutel en uiterlijk van {{name}}.",
+ "projectInfoTitle": "Project",
"iconLabel": "Icoon",
- "iconHint": "Wordt getoond in de zijbalk en projectoverzichten.",
+ "iconHint": "Wordt getoond in de zijbalk en projectlijsten.",
"pickIconTitle": "Icoon kiezen",
"searchIconsPlaceholder": "Iconen zoeken...",
- "projectNameLabel": "Projectnaam",
- "projectNameHint": "De naam van je project",
- "projectNamePlaceholder": "Voer projectnaam in",
+ "projectNameLabel": "Naam",
+ "projectNamePlaceholder": "Projectnaam",
"keyLabel": "Sleutel",
- "keyHint": "Gebruikt voor ticket-ID's (bijv. {{slug}}-123)",
+ "keyHint": "Staat vooraan in elk taak-ID, zoals {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Beschrijving",
- "descriptionHint": "Een korte beschrijving van je project",
- "descriptionPlaceholder": "Voer projectbeschrijving in",
+ "descriptionPlaceholder": "Waar is dit project voor?",
"dangerZone": "Gevarenzone",
- "dangerZoneSubtitle": "Onomkeerbare en destructieve acties.",
"deleteProject": "Project verwijderen",
- "deleteProjectDescription": "Plan het project in om permanent te worden verwijderd",
+ "deleteProjectDescription": "Verwijdert {{name}} en alle bijbehorende taken permanent.",
"deleteModalTitle": "Project verwijderen?",
- "deleteModalDescription": "Dit zal het project \"{{name}}\" en alle bijbehorende data permanent verwijderen. Dit kan niet ongedaan worden gemaakt.",
+ "deleteModalDescription": "Hiermee worden {{name}} en alle bijbehorende taken permanent verwijderd. Dit kan niet ongedaan worden gemaakt.",
"deleteModalConfirm": "Project verwijderen",
- "toastUpdated": "Project succesvol bijgewerkt",
"toastUpdateError": "Bijwerken project mislukt",
"toastDeleted": "Project verwijderd",
"toastDeleteError": "Verwijderen project mislukt",
@@ -799,38 +767,40 @@
"keyMax": "Sleutel mag maximaal 8 tekens bevatten",
"iconRequired": "Icoon is verplicht"
},
- "importExportTasks": "Importeren/Exporteren",
- "importExportTasksDescription": "Importeren/Exporteren taken",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Een afbeelding achter het bord. Iedereen kan deze voor zichzelf uitzetten.",
+ "backgroundUnavailable": "Uploaden van afbeeldingen is niet ingesteld op deze instantie.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Vervangen",
+ "backgroundUpload": "Uploaden",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Project verplaatsen",
- "moveModalDescription": "Hiermee worden het project \"{{name}}\" en al zijn taken verplaatst naar \"{{workspace}}\". Taken die zijn toegewezen aan personen die geen lid zijn van die werkruimte worden niet langer toegewezen, en meldingsabonnementen voor dit project worden verwijderd.",
- "moveModalTitle": "Project verplaatsen?",
- "moveProject": "Naar werkruimte verplaatsen",
+ "moveProject": "Naar een andere werkruimte verplaatsen",
"moveProjectAction": "Verplaatsen",
- "moveProjectDescription": "Verplaats dit project, met al zijn taken, naar een andere werkruimte.",
- "moveProjectPlaceholder": "Selecteer werkruimte",
+ "moveProjectDescription": "Taken, kolommen en labels gaan mee.",
+ "moveProjectPlaceholder": "Kies een werkruimte",
"toastMoved": "Project succesvol verplaatst",
"toastMovedWithUnassigned": "Project succesvol verplaatst. {{taskCount}} taak/taken zijn niet langer toegewezen.",
"toastMoveError": "Verplaatsen van project mislukt",
- "moveTargetsError": "Kon niet controleren naar welke workspaces je dit project kunt verplaatsen. Herlaad de pagina om het opnieuw te proberen."
+ "moveTargetsError": "Kon niet controleren naar welke workspaces je dit project kunt verplaatsen. Herlaad de pagina om het opnieuw te proberen.",
+ "moveDialogDescription": "Taken die zijn toegewezen aan mensen buiten de nieuwe werkruimte, worden niet meer toegewezen. Meldingsabonnementen voor dit project worden gewist.",
+ "moveDialogTitle": "Naar een andere werkruimte verplaatsen?",
+ "moveTargetLabel": "Werkruimte",
+ "moving": "Verplaatsen...",
+ "tasksTitle": "Taken"
},
"projectIntegrations": {
- "pageTitle": "Projectintegraties",
- "title": "Projectintegraties",
- "subtitle": "Verbind je project met externe tools om je workflow te stroomlijnen.",
+ "pageTitle": "Integraties",
+ "title": "Integraties",
+ "subtitle": "Koppel dit project aan je codehost en de chat van je team.",
"githubSectionTitle": "GitHub Integratie",
"githubSectionSubtitle": "Synchroniseer taken met GitHub issues en activeer tweerichtings-synchronisatie.",
"discordSectionTitle": "Discord Integratie",
"discordSectionSubtitle": "Verstuur updates van projecttaken naar een Discord-kanaal met een webhook.",
- "genericWebhookSectionTitle": "Generieke Webhooks",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Verstuur updates van projecttaken als JSON naar elk gewenst HTTP-eindpunt.",
"slackSectionTitle": "Slack Integratie",
"slackSectionSubtitle": "Verstuur updates van projecttaken naar een Slack-kanaal met een binnenkomende webhook.",
@@ -840,10 +810,10 @@
"telegramSectionSubtitle": "Verstuur updates van projecttaken naar een Telegram-chat of -topic met een bot.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Synchroniseer taken met GitLab.com of een zelfbeheerde instantie.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Codehosting",
- "chatTitle": "Chat & webhooks",
+ "chatTitle": "Chat en webhooks",
"statusConnected": "Verbonden",
"statusPaused": "Gepauzeerd",
"connect": "Verbinden",
@@ -853,69 +823,59 @@
"projectVisibility": {
"pageTitle": "Projectzichtbaarheid",
"title": "Zichtbaarheid",
- "subtitle": "Bepaal wie je project kan bekijken en openen.",
- "sectionTitle": "Zichtbaarheid",
- "sectionSubtitle": "Schakel publieke toegang in en deel de publieke URL.",
- "publicAccess": "Publieke toegang",
- "publicAccessHint": "Sta iedereen met de URL toe om dit project te bekijken",
+ "subtitle": "Kies wie {{project}} buiten {{workspace}} kan zien.",
+ "sectionTitle": "Toegang",
+ "publicAccess": "Openbare link",
+ "publicAccessHint": "Iedereen met de link kan het bord en de taken bekijken. Ze kunnen niets wijzigen.",
"publicUrl": "Publieke URL",
- "publicUrlHint": "Deel deze link als het project openbaar is",
- "copy": "Kopiëren",
- "copiedToast": "Gekopieerd",
+ "copy": "Link kopiëren",
"toastUpdated": "Zichtbaarheid bijgewerkt",
- "toastUpdateError": "Bijwerken zichtbaarheid mislukt"
+ "toastUpdateError": "Bijwerken zichtbaarheid mislukt",
+ "always": "Altijd",
+ "copied": "Gekopieerd",
+ "copyError": "De link kon niet worden gekopieerd",
+ "membersDescription": "Iedereen in de werkruimte, binnen wat hun rol toestaat.",
+ "membersTitle": "Leden van {{workspace}}",
+ "offNote": "Als je de openbare link uitzet, werkt deze direct niet meer.",
+ "on": "Aan",
+ "openPublicPage": "Openbare pagina openen",
+ "thisWorkspace": "deze werkruimte"
},
"projectWorkflow": {
"pageTitle": "Workflow-instellingen",
"title": "Workflow",
- "subtitle": "Configureer bord-kolommen en automatiseringsregels voor dit project.",
+ "subtitle": "De kolommen op je bord, en wat taken ertussen verplaatst.",
"columnsTitle": "Kolommen",
- "columnsDescription": "Beheer de kolommen op je bord. Sleep om de volgorde te wijzigen. Schakel \"Gereed-kolom\" in voor stadia die voltooid werk vertegenwoordigen.",
- "automationTitle": "Automatiseringsregels",
- "automationDescription": "Koppel integratie-gebeurtenissen aan kolommen. Bij een gebeurtenis verplaatst de taak automatisch naar de gekozen kolom.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Sleep om de volgorde te wijzigen. Taken in een gereed-kolom tellen als voltooid.",
+ "automationTitle": "Automatiseringen",
+ "automationDescription": "Verplaats een gekoppelde taak wanneer er iets gebeurt in een gekoppelde repository."
},
"projectSwitcher": {
"selectProject": "Project selecteren",
"noProjects": "Geen projecten"
},
"columnEditor": {
- "toastCreated": "Kolom aangemaakt",
"toastCreateError": "Aanmaken kolom mislukt",
- "toastRenamed": "Kolom hernoemd",
"toastRenameError": "Bijwerken kolom mislukt",
- "toastFinalOn": "Kolom gemarkeerd als voltooid-stadium",
- "toastFinalOff": "Kolom niet meer gemarkeerd als voltooid-stadium",
"toastUpdateError": "Bijwerken kolom mislukt",
- "toastIconUpdated": "Kolomicoon bijgewerkt",
- "toastDeleted": "Kolom verwijderd",
"toastDeleteError": "Verwijderen kolom mislukt",
- "loading": "Kolommen laden...",
"pickIconTitle": "Kolomicoon kiezen",
"searchIconsPlaceholder": "Iconen zoeken...",
- "doneColumnTooltip": "Behandel dit als een 'Gereed' kolom",
- "doneColumn": "Gereed-kolom",
"markDoneAria": "Markeer {{name}} als gereed-kolom",
- "on": "Aan",
- "off": "Uit",
- "newColumnPlaceholder": "Nieuwe kolomnaam...",
- "add": "Toevoegen",
+ "newColumnPlaceholder": "Kolomnaam",
"deleteAria": "Kolom {{name}} verwijderen",
- "renameAria": "Kolom {{name}} hernoemen"
+ "renameAria": "Kolom {{name}} hernoemen",
+ "addColumn": "Kolom toevoegen",
+ "columnHeader": "Kolom",
+ "deleteConfirm": "Kolom verwijderen",
+ "deleteDescription": "Kolommen die nog taken bevatten, kunnen niet worden verwijderd. Verplaats die taken eerst.",
+ "deleteTitle": "\"{{name}}\" verwijderen?",
+ "doneHeader": "Gereed",
+ "dragAria": "{{name}} herschikken",
+ "reorderError": "Herschikken van kolommen mislukt"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Eigenaar van repository is verplicht",
- "ownerInvalid": "Ongeldig formaat voor eigenaar",
- "nameRequired": "Repositorynaam is verplicht",
- "nameInvalid": "Ongeldig formaat voor repositorynaam"
- },
"toast": {
- "installedOk": "GitHub App is correct geïnstalleerd!",
- "installedMissingPerms": "GitHub App is geïnstalleerd, maar mist permissies",
- "needsInstallOnRepo": "GitHub App moet op deze repository worden geïnstalleerd",
- "repoNotFound": "Repository niet gevonden of niet toegankelijk",
"verifyError": "Verifiëren van GitHub-installatie mislukt",
"installAppFirst": "Installeer eerst de GitHub App op deze repository",
"missingPermsDetail": "GitHub App mist permissies: {{list}}. Werk de permissies bij.",
@@ -929,47 +889,28 @@
"commentOnDisabled": "Reacties met taaklinks op nieuwe issues staan uit",
"settingsUpdateError": "Bijwerken GitHub integratie mislukt"
},
- "connectionStatus": "Verbindingsstatus",
- "connectedActive": "Repository verbonden en actief",
- "notConnectedHint": "Geen repository verbonden",
- "badgeConnected": "Verbonden",
- "badgeNotConnected": "Niet verbonden",
- "repository": "Repository",
- "repositoryHint": "Verbonden GitHub repository",
- "commentTaskLinkTitle": "Reageer met Kaneo-link op nieuwe issues",
- "commentTaskLinkHint": "Wanneer ingeschakeld, plaatst Kaneo een reactie op elke nieuwe GitHub issue met een link naar de taak.",
- "appStatusTitle": "GitHub App Status",
- "appStatusHint": "Installatie- en permissiestatus",
- "statusProperlyConfigured": "Correct geconfigureerd",
- "statusMissingPermissions": "Missende permissies",
- "statusNotInstalled": "Niet geïnstalleerd",
- "ownerLabel": "Eigenaar Repository",
- "ownerHint": "GitHub gebruikersnaam of organisatie",
- "ownerPlaceholder": "bijv. octocat",
- "repoNameLabel": "Repositorynaam",
- "repoNameHint": "De naam van de repository",
- "repoNamePlaceholder": "bijv. mijn-project",
- "actionsTitle": "Acties",
- "actionsHint": "Beheer je repositoryverbinding",
- "browse": "Bladeren",
- "verify": "Verifiëren",
- "update": "Bijwerken",
- "connect": "Verbinden",
- "disconnect": "Ontkoppelen",
- "missingPermissionsLabel": "Missende permissies:",
+ "commentTaskLinkTitle": "Reageer met een Kaneo-link op nieuwe issues",
+ "commentTaskLinkHint": "Zodat mensen op GitHub direct naar de taak kunnen gaan.",
"updatePermissions": "Permissies bijwerken",
"installGithubApp": "GitHub App installeren",
- "importSectionTitle": "GitHub Issues importeren",
- "importSectionHint": "Importeer bestaande issues van GitHub als taken",
- "importing": "Importeren...",
- "importIssues": "Issues importeren",
- "importDisabledHint": "Voltooi de configuratie hierboven om importeren mogelijk te maken",
+ "importSectionHint": "Importeer de open issues van de repository als taken.",
+ "importDisabledHint": "Koppel de repository opnieuw om importeren mogelijk te maken.",
"accountVerificationHint": "Koppel je GitHub-account om te controleren of je deze repository beheert.",
"enableGithubSignInHint": "Vraag de beheerder van je instantie om aanmelden via GitHub in te schakelen.",
"reverifyHint": "Koppel deze repository opnieuw om de toegang te controleren en de synchronisatie te hervatten.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Issues en pull requests daaruit worden hier aan taken gekoppeld.",
+ "linkAccountDescription": "Hiermee toon je aan dat je de repository kunt beheren.",
+ "linkAccountTitle": "Koppel je GitHub-account",
+ "linked": "Gekoppeld",
+ "linkGithub": "GitHub koppelen",
+ "verifyMissingPermissions": "De Kaneo GitHub App mist permissies: {{list}}.",
+ "verifyNotInstalled": "De Kaneo GitHub App is niet geïnstalleerd op deze repository.",
+ "verifyReady": "De Kaneo GitHub App is geïnstalleerd met de benodigde permissies.",
+ "workflowHint": "Verplaats taken wanneer pull requests worden geopend of gemerged in",
+ "workflowLink": "Workflow"
},
"slackIntegration": {
"validation": {
@@ -984,30 +925,10 @@
"removed": "Slack-integratie succesvol verwijderd",
"removeError": "Verwijderen Slack-integratie mislukt"
},
- "connectionTitle": "Slack webhook-verbinding",
- "connectionHint": "Plak een Slack 'incoming webhook'-URL en kies welke taakgebeurtenissen gepost moeten worden.",
- "connected": "Verbonden",
- "paused": "Gepauzeerd",
- "webhookLabel": "Incoming webhook-URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Maak een 'Incoming Webhook' aan in Slack en plak de gegenereerde URL hier.",
- "channelLabel": "Kanaalnaam",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Optioneel label voor eigen referentie. Slack bepaalt het daadwerkelijke doelkanaal via de webhook-instellingen.",
- "eventsTitle": "Gebeurtenis-meldingen",
- "eventsHint": "Kies welke projectwijzigingen naar Slack gepost moeten worden.",
- "events": {
- "taskCreated": "Nieuwe taken",
- "taskStatusChanged": "Statuswijzigingen",
- "taskPriorityChanged": "Prioriteitswijzigingen",
- "taskTitleChanged": "Titelwijzigingen",
- "taskDescriptionChanged": "Beschrijvingswijzigingen",
- "taskCommentCreated": "Nieuwe reacties"
- },
+ "webhookHint": "Maak een binnenkomende webhook aan in Slack en plak deze hier.",
"connect": "Verbind Slack",
- "saveChanges": "Wijzigingen opslaan",
- "update": "Slack bijwerken",
- "disconnect": "Ontkoppelen"
+ "update": "Slack bijwerken"
},
"discordIntegration": {
"validation": {
@@ -1022,34 +943,15 @@
"removed": "Discord-integratie succesvol verwijderd",
"removeError": "Verwijderen Discord-integratie mislukt"
},
- "connectionTitle": "Discord webhook-verbinding",
- "connectionHint": "Plak een Discord webhook-URL en kies welke taakgebeurtenissen gepost moeten worden.",
- "connected": "Verbonden",
- "paused": "Gepauzeerd",
- "webhookLabel": "Webhook-URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Maak een webhook aan in een Discord-kanaal en plak de gegenereerde URL hier.",
- "channelLabel": "Kanaalnaam",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Optioneel label voor eigen referentie. Discord bepaalt het daadwerkelijke doelkanaal via de webhook-instellingen.",
- "eventsTitle": "Gebeurtenis-meldingen",
- "eventsHint": "Kies welke projectwijzigingen naar Discord gepost moeten worden.",
- "events": {
- "taskCreated": "Nieuwe taken",
- "taskStatusChanged": "Statuswijzigingen",
- "taskPriorityChanged": "Prioriteitswijzigingen",
- "taskTitleChanged": "Titelwijzigingen",
- "taskDescriptionChanged": "Beschrijvingswijzigingen",
- "taskCommentCreated": "Nieuwe reacties"
- },
+ "webhookHint": "Maak een kanaalwebhook aan in Discord en plak deze hier.",
"connect": "Verbind Discord",
- "saveChanges": "Wijzigingen opslaan",
- "update": "Discord bijwerken",
- "disconnect": "Ontkoppelen"
+ "update": "Discord bijwerken"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Voer een geldige webhook-URL in"
+ "webhookInvalid": "Voer een geldige webhook-URL in",
+ "leadTimeRange": "Kies een tijd tussen 5 minuten en 720 uur."
},
"toast": {
"saved": "Generieke webhook-integratie succesvol opgeslagen",
@@ -1060,56 +962,54 @@
"removed": "Generieke webhook-integratie succesvol verwijderd",
"removeError": "Verwijderen generieke webhook-integratie mislukt"
},
- "connectionTitle": "Uitgaande webhook-verbinding",
- "connectionHint": "Stuur taakgebeurtenissen naar je eigen eindpunt als JSON. Een ondertekende 'X-Kaneo-Signature' header wordt meegezonden wanneer er een geheim is geconfigureerd.",
- "connected": "Verbonden",
- "paused": "Gepauzeerd",
"webhookLabel": "Eindpunt-URL (Endpoint URL)",
"webhookPlaceholder": "https://voorbeeld.nl/webhooks/kaneo",
"webhookHint": "Kaneo verzendt POST-verzoeken met een JSON-payload voor elke ingeschakelde gebeurtenis.",
"secretLabel": "Ondertekeningsgeheim (Signing secret)",
- "secretPlaceholder": "Optioneel gedeeld geheim",
- "secretHint": "Optioneel. Indien opgegeven, ondertekent Kaneo de verzoektekst en verzendt de hex-digest in de 'X-Kaneo-Signature' header.",
- "secretHintConfigured": "Er is al een ondertekeningsgeheim geconfigureerd ({{secret}}). Voer een nieuwe in om deze te vervangen.",
- "eventsTitle": "Gebeurtenis-meldingen",
- "eventsHint": "Kies welke projectwijzigingen uitgaande webhooks moeten activeren.",
+ "secretPlaceholder": "Gedeeld geheim",
+ "secretHint": "Kaneo ondertekent elk verzoek hiermee en stuurt de digest mee in de header X-Kaneo-Signature.",
+ "secretHintConfigured": "Huidig geheim: {{secret}}. Plak een nieuw geheim om het te vervangen.",
+ "eventsTitle": "Versturen bij",
"events": {
- "taskCreated": "Nieuwe taken",
- "taskStatusChanged": "Statuswijzigingen",
- "taskPriorityChanged": "Prioriteitswijzigingen",
- "taskTitleChanged": "Titelwijzigingen",
- "taskDescriptionChanged": "Beschrijvingswijzigingen",
- "taskCommentCreated": "Nieuwe reacties",
+ "taskCreated": "Taak aangemaakt",
+ "taskStatusChanged": "Status gewijzigd",
+ "taskPriorityChanged": "Prioriteit gewijzigd",
+ "taskTitleChanged": "Titel gewijzigd",
+ "taskDescriptionChanged": "Beschrijving gewijzigd",
+ "taskCommentCreated": "Nieuwe reactie",
"taskDeleted": "Taak verwijderd",
"taskMoved": "Taak verplaatst",
"taskDueDateChanged": "Einddatum gewijzigd",
"taskAssigneeChanged": "Toewijzing gewijzigd",
"taskUnassigned": "Toewijzing verwijderd",
- "dueDateReminder": "Einddatum-herinneringen"
+ "dueDateReminder": "Herinnering voor einddatum"
},
"connect": "Webhook verbinden",
- "saveChanges": "Wijzigingen opslaan",
- "disconnect": "Ontkoppelen",
- "reminderLeadTimeLabel": "Verstuur de webhook dit aantal uren van tevoren"
+ "reminderLeadTimeLabel": "Uren voordat een taak vervalt",
+ "activeTitle": "Gebeurtenissen versturen",
+ "disconnectDescription": "Kaneo stopt met het versturen van gebeurtenissen en verwijdert het opgeslagen eindpunt en geheim.",
+ "disconnectTitle": "Webhook ontkoppelen?",
+ "reminderLeadTimeAfter": "uur voordat een taak vervalt",
+ "reminderLeadTimeBefore": "Herinneringen versturen"
},
"repositoryBrowser": {
- "title": "Selecteer Repository",
- "description": "Kies een repository waar de GitHub App is geïnstalleerd om synchronisatie mogelijk te maken.",
- "searchPlaceholder": "Repositories zoeken...",
- "loadError": "Laden van repositories mislukt",
+ "title": "Kies een repository",
+ "description": "Repositories die de Kaneo GitHub App kan zien.",
+ "searchPlaceholder": "Repositories zoeken",
+ "loadError": "Repositories konden niet worden geladen.",
"tryAgain": "Opnieuw proberen",
- "emptyTitle": "Geen repositories gevonden",
+ "emptyTitle": "Nog geen repositories",
"emptyHint": "Installeer de GitHub App op je repositories om ze hier te zien.",
"installGithubApp": "GitHub App installeren",
"noSearchMatchTitle": "Geen overeenkomende repositories",
- "noSearchMatchHint": "Probeer een andere zoekterm.",
- "footerSummary": "{{repoCount}} repositories over {{installationCount}} installaties",
- "manageInstallations": "Installaties beheren",
- "updatedPrefix": "Bijgewerkt",
- "relativeJustNow": "zojuist",
- "relativeMinutesAgo": "{{count}}m geleden",
- "relativeHoursAgo": "{{count}}u geleden",
- "relativeDaysAgo": "{{count}}d geleden"
+ "noSearchMatchHint": "Probeer een andere naam of wis de zoekopdracht.",
+ "emptyPageHint": "Geen op deze pagina. Laad meer om verder te zoeken.",
+ "loadMore": "Meer laden",
+ "manageAccess": "App-toegang beheren",
+ "missingOne": "Mis je er een?",
+ "searching": "Zoeken…",
+ "updated": "Bijgewerkt {{time}}",
+ "useRepository": "Repository gebruiken"
},
"tasksImportExport": {
"exportTasks": "Taken exporteren",
@@ -1128,27 +1028,26 @@
"importError": "Importeren van taken mislukt",
"invalidFormat": "Ongeldig bestandsformaat",
"noFileDropped": "Geen bestand geüpload",
- "notJsonFile": "Upload a.u.b. een JSON-bestand"
+ "notJsonFile": "Upload a.u.b. een JSON-bestand",
+ "export": "Exporteren",
+ "exportDescription": "Download alle taken in dit project als bestand.",
+ "import": "Importeren",
+ "importDescription": "Voeg taken toe uit een bestand dat je eerder hebt geëxporteerd."
},
"workflowEditor": {
- "loading": "Laden...",
- "createColumnsFirst": "Maak eerst kolommen aan om automatiseringsregels te configureren.",
- "githubHeading": "GitHub",
- "githubHint": "Wanneer een GitHub-gebeurtenis plaatsvindt, verplaats de taak naar een kolom.",
- "selectColumnPlaceholder": "Selecteer kolom...",
- "toastUpdated": "Workflow-regel bijgewerkt",
"toastError": "Bijwerken regel mislukt",
"events": {
- "branch_push": "Branch Push",
- "pr_opened": "PR Geopend",
- "pr_merged": "PR Samengevoegd",
- "issue_opened": "Issue Geopend",
- "issue_closed": "Issue Gesloten"
- },
- "giteaHeading": "Gitea",
- "giteaHint": "Wanneer een Gitea-webhookgebeurtenis plaatsvindt, verplaats de gekoppelde taak naar een kolom.",
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "branch_push": "Branch gepusht",
+ "pr_opened": "Pull request geopend",
+ "pr_merged": "Pull request gemerged",
+ "issue_opened": "Issue geopend",
+ "issue_closed": "Issue gesloten"
+ },
+ "connectMore": "Koppel {{providers}} in <link>Integraties</link> om die ook te automatiseren.",
+ "dontMove": "Niet verplaatsen",
+ "emptyDescription": "Automatiseringen vereisen een gekoppelde GitHub-, Gitea- of GitLab-repository.",
+ "emptyTitle": "Geen gekoppelde repositories",
+ "openIntegrations": "Integraties openen"
},
"externalLinks": {
"resources": "Bronnen",
@@ -1170,29 +1069,26 @@
"notificationsPage": {
"pageTitle": "Meldingen",
"title": "Meldingen",
- "subtitle": "Kies hoe Kaneo je accountmeldingen bezorgt en welke kanalen worden gebruikt.",
+ "subtitle": "Waarover Kaneo je informeert en waar je de meldingen ontvangt.",
"statusConnected": "Verbonden",
"statusPaused": "Gepauzeerd",
"emailTitle": "E-mail",
- "emailDescription": "Gebruik je account-e-mailadres als bestemming voor meldingen.",
- "accountEmailLabel": "Account-e-mailadres",
"accountEmailNoAddress": "Geen account-e-mailadres beschikbaar",
- "accountEmailHint": "E-mails worden altijd bezorgd op het e-mailadres van het ingelogde account.",
"saveChanges": "Wijzigingen opslaan",
"disconnect": "Ontkoppelen",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Publiceer accountmeldingen naar een ntfy-topic.",
+ "ntfyDescription": "Publiceer naar een ntfy-topic op je telefoon of computer.",
"serverUrl": "Server-URL",
"topic": "Topic",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Optioneel bearer-token",
+ "ntfyTokenPlaceholder": "Alleen als je server er een vereist",
"ntfyTokenHintConfigured": "Er is al een token geconfigureerd ({{masked}}). Voer een nieuw token in om het te vervangen.",
- "ntfyTokenHintOptional": "Optioneel. Geef een token op als je ntfy-server authenticatie vereist.",
+ "ntfyTokenHintOptional": "Gebruik er een als je ntfy-server authenticatie vereist.",
"connectNtfy": "Verbind ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Stuur accountmeldingen naar je Gotify-server.",
+ "gotifyDescription": "Stuur meldingen naar je Gotify-server.",
"gotifyTokenLabel": "App-token",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify app-token",
@@ -1200,52 +1096,26 @@
"gotifyTokenHintRequired": "Verplicht. Gebruik een applicatietoken van je Gotify-server.",
"connectGotify": "Verbind Gotify",
"webhookTitle": "Aangepaste webhook",
- "webhookDescription": "Stuur accountmeldingen als JSON naar je eigen eindpunt.",
+ "webhookDescription": "Stuur elke melding als JSON naar je eigen eindpunt.",
"endpointUrl": "Eindpunt-URL",
"signingSecret": "Ondertekeningsgeheim",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Optioneel gedeeld geheim",
"webhookSecretHintConfigured": "Er is al een ondertekeningsgeheim geconfigureerd ({{masked}}). Voer een nieuwe in om deze te vervangen.",
- "webhookSecretHintOptional": "Optioneel. Kaneo ondertekent de verzoektekst wanneer er een geheim is ingesteld.",
+ "webhookSecretHintOptional": "Kaneo ondertekent de verzoektekst wanneer er een geheim is ingesteld.",
"connectWebhook": "Webhook verbinden",
- "workspaceRulesTitle": "Bezorgingsregels per werkruimte",
- "workspaceRulesDescription": "Hergebruik je globale kanalen en bepaal vervolgens welke werkruimtes en projecten accountmeldingen mogen versturen.",
- "workspaceCardHint": "Kies welke kanalen deze werkruimte mag gebruiken voor accountmeldingen.",
- "workspaceEnabledLabel": "Meldingen inschakelen voor {{workspaceName}}",
"eventPreferencesTitle": "Stuur mij meldingen over",
- "eventPreferencesDescription": "Kies welke taakgebeurtenissen in-app meldingen aanmaken en naar je verbonden kanalen bezorgd kunnen worden.",
- "eventTaskAssignments": "Taaktoewijzingen",
+ "eventPreferencesDescription": "Je krijgt nooit meldingen over je eigen reacties, vermeldingen en statuswijzigingen.",
+ "eventTaskAssignments": "Toewijzingen",
"eventComments": "Reacties en vermeldingen",
- "eventCommentsHint": "Omvat nieuwe reacties op taken die aan jou zijn toegewezen en directe @vermeldingen.",
- "eventStatusChanges": "Statuswijzigingen van taken",
- "eventDueDateReminders": "Einddatum-herinneringen",
+ "eventCommentsHint": "Nieuwe reacties op je taken, en iedereen die je @vermeldt.",
+ "eventStatusChanges": "Statuswijzigingen",
+ "eventDueDateReminders": "Herinneringen voor einddatum",
"reminderLeadTimeLabel": "Herinner mij vóór de einddatum",
- "reminderLeadTimeHint": "Tussen 1 uur en 30 dagen van tevoren. Meldingen over verstreken einddatums worden apart verzonden.",
- "reminderLeadTimeUnitHours": "Uren",
- "reminderLeadTimeUnitDays": "Dagen",
"reminderLeadTimeInvalid": "Voer een geheel getal in tussen 1 en {{max}}.",
"saveEventPreferences": "Meldingstypen opslaan",
- "workspaceCardLabelEmail": "E-mail",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Aangepaste webhook",
- "emailChannelHintEnabled": "Verstuur overeenkomende werkruimtemeldingen per e-mail.",
- "emailChannelHintDisabled": "Configureer en schakel e-mail eerst globaal in.",
- "ntfyChannelHintEnabled": "Verstuur overeenkomende werkruimtemeldingen naar ntfy.",
- "ntfyChannelHintDisabled": "Configureer en schakel ntfy eerst globaal in.",
- "gotifyChannelHintEnabled": "Verstuur overeenkomende werkruimtemeldingen naar Gotify.",
- "gotifyChannelHintDisabled": "Configureer en schakel Gotify eerst globaal in.",
- "webhookChannelHintEnabled": "Verstuur overeenkomende werkruimtemeldingen naar je webhook.",
- "webhookChannelHintDisabled": "Configureer en schakel de webhook eerst globaal in.",
- "projectScope": "Projectbereik",
- "projectScopeDescription": "Alle projecten zijn standaard inbegrepen. Beperk dit als deze werkruimte alleen meldingen uit geselecteerde projecten mag versturen.",
"allProjects": "Alle projecten",
- "allProjectsDescription": "Bezorg meldingen van elk project in deze werkruimte.",
- "selectedProjects": "Geselecteerde projecten",
- "selectedProjectsDescription": "Bezorg alleen meldingen van gekozen projecten.",
"noProjectsInWorkspace": "Nog geen projecten beschikbaar voor deze werkruimte.",
- "createRule": "Regel aanmaken",
- "removeRule": "Regel verwijderen",
"toastEmailSaved": "E-mailmeldingsinstellingen opgeslagen",
"toastEmailSaveFailed": "Opslaan e-mailinstellingen mislukt",
"toastNtfySaved": "ntfy-instellingen opgeslagen",
@@ -1268,7 +1138,54 @@
"toastPreferencesSaveFailed": "Opslaan meldingsvoorkeuren mislukt",
"toastRuleSavedGeneric": "Werkruimte-meldingsregel opgeslagen",
"toastRuleRemovedGeneric": "Werkruimte-meldingsregel verwijderd",
- "recipientHint": "Reacties en statuswijzigingen geven je meldingen over taken die aan jou zijn toegewezen. Vermeldingen sturen een melding naar het geselecteerde lid. Je ontvangt geen meldingen over je eigen reacties, vermeldingen en statuswijzigingen."
+ "channelNotConnected": "Niet verbonden",
+ "channelOff": "Uit",
+ "channelsDescription": "Meldingen worden altijd in Kaneo getoond. Verbind een kanaal om ze ook ergens anders te ontvangen.",
+ "channelsTitle": "Kanalen",
+ "configure": "Configureren",
+ "configureChannel": "{{channel}} configureren",
+ "configureWorkspace": "Meldingen voor {{workspaceName}} configureren",
+ "connect": "Verbinden",
+ "connectChannel": "{{channel}} verbinden",
+ "disconnectDescription": "Meldingen gaan niet meer naar {{channel}} en de opgeslagen instellingen worden verwijderd.",
+ "disconnecting": "Ontkoppelen...",
+ "disconnectTitle": "{{channel}} ontkoppelen?",
+ "done": "Klaar",
+ "emailToggleLabel": "Meldingen per e-mail versturen",
+ "eventDueDateRemindersHint": "Voordat een van je taken vervalt. Voor achterstallige taken krijg je een aparte melding.",
+ "eventStatusChangesHint": "Wanneer een van je taken naar een andere kolom gaat.",
+ "eventTaskAssignmentsHint": "Wanneer iemand een taak aan je toewijst.",
+ "loadFailed": "Meldingsinstellingen konden niet worden geladen.",
+ "onlyInKaneo": "Alleen in Kaneo",
+ "optional": "Optioneel",
+ "projectCount_one": "{{count}} project",
+ "projectCount_other": "{{count}} projecten",
+ "reminderLeadTimeUnitDaysBefore_one": "dag van tevoren",
+ "reminderLeadTimeUnitDaysBefore_other": "dagen van tevoren",
+ "reminderLeadTimeUnitHoursBefore_one": "uur van tevoren",
+ "reminderLeadTimeUnitHoursBefore_other": "uur van tevoren",
+ "reminderLeadTimeUnitLabel": "Eenheid voor herinnering",
+ "ruleActiveDescription": "Zet uit om deze werkruimte te pauzeren en de configuratie te behouden.",
+ "ruleActiveLabel": "Versturen",
+ "ruleChannels": "Kanalen",
+ "ruleDialogDescription": "Waar meldingen uit deze werkruimte naartoe kunnen gaan.",
+ "ruleDialogTitle": "Meldingen voor {{workspaceName}}",
+ "ruleProjects": "Projecten",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Opslaan",
+ "sendingDescription": "Zet uit om dit kanaal te pauzeren en de instellingen te behouden.",
+ "sendingLabel": "Versturen",
+ "setUp": "Instellen",
+ "setUpWorkspace": "Meldingen voor {{workspaceName}} instellen",
+ "someProjects": "Alleen sommige",
+ "statusOn": "Aan",
+ "statusSending": "Wordt verstuurd",
+ "stopping": "Stoppen...",
+ "stopSending": "Stoppen met versturen",
+ "stopSendingDescription": "Meldingen uit deze werkruimte worden dan alleen in Kaneo getoond.",
+ "stopSendingTitle": "Stoppen met versturen vanuit {{workspaceName}}?",
+ "workspacesDescription": "Kies welke werkruimtes en projecten je kanalen mogen gebruiken.",
+ "workspacesTitle": "Werkruimtes"
},
"workspaceRoles": {
"pageTitle": "Rollen",
@@ -1479,22 +1396,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Labelinstellingen",
+ "pageTitle": "Labels",
"title": "Labels",
- "subtitle": "Maak, bewerk en verwijder labels op werkruimteniveau.",
- "cardDescription": "Beheer labels die aan taken kunnen worden toegewezen.",
+ "subtitle": "Labels worden gedeeld door alle projecten in deze werkruimte.",
"createLabel": "Label aanmaken",
"editLabel": "Label bewerken",
- "deleteLabel": "Verwijderen",
+ "deleteLabel": "Label verwijderen",
"saveLabel": "Opslaan",
- "nameLabel": "Labelnaam",
- "namePlaceholder": "Voer labelnaam in",
+ "nameLabel": "Naam",
+ "namePlaceholder": "Labelnaam",
"colorLabel": "Kleur",
- "createDescription": "Maak een nieuw label aan dat gebruikt kan worden voor taken in deze werkruimte.",
- "editDescription": "Werk de naam of kleur van dit label bij.",
- "deleteConfirmTitle": "Dit label verwijderen?",
- "deleteConfirmDescription": "Dit zal dit label permanent van alle taken verwijderen. Dit kan niet ongedaan worden gemaakt.",
- "empty": "Nog geen labels. Maak je eerste label aan om te beginnen.",
+ "createDescription": "Projecten in deze werkruimte kunnen het aan hun taken toevoegen.",
+ "editDescription": "Wijzigingen zijn zichtbaar op elke taak met dit label.",
+ "deleteConfirmTitle": "\"{{name}}\" verwijderen?",
+ "deleteConfirmDescription": "Het label wordt verwijderd van elke taak die het gebruikt. Dit kan niet ongedaan worden gemaakt.",
"createSuccess": "Label aangemaakt",
"updateSuccess": "Label bijgewerkt",
"deleteSuccess": "Label verwijderd",
@@ -1502,25 +1417,28 @@
"updateError": "Bijwerken label mislukt",
"deleteError": "Verwijderen label mislukt",
"nameRequired": "Labelnaam is verplicht",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Wordt van taken verwijderd…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "{{name}} bewerken",
+ "emptyDescription": "Voeg labels toe om taken in alle projecten te sorteren en te filteren.",
+ "emptyTitle": "Nog geen labels",
+ "loadError": "Labels konden niet worden geladen. Probeer het opnieuw.",
+ "newLabel": "Nieuw label",
+ "preview": "Op een taak",
+ "previewPlaceholder": "Label",
+ "resume": "Hervatten",
+ "rowActions": "Acties voor {{name}}",
+ "sectionDescription": "Als je een label hernoemt of de kleur wijzigt, wordt elke taak met dat label bijgewerkt.",
+ "sectionTitle": "Werkruimtelabels",
+ "subtitleWithWorkspace": "Labels worden gedeeld door alle projecten in {{workspaceName}}."
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea basis-URL is verplicht",
- "baseUrlInvalid": "Voer een geldige URL in (bijv. https://gitea.example.com)",
- "ownerRequired": "Eigenaar van repository is verplicht",
- "ownerInvalid": "Ongeldig formaat voor eigenaar",
- "nameRequired": "Repositorynaam is verplicht",
- "nameInvalid": "Ongeldig formaat voor repositorynaam"
+ "baseUrlInvalid": "Voer een geldige URL in (bijv. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea-token heeft toegang tot deze repository",
- "verifyWarning": "Controleer tokenpermissies of repositorytoegang",
- "repoNotFound": "Repository niet gevonden of niet toegankelijk",
"verifyError": "Verifiëren van Gitea-toegang mislukt",
- "tokenRequired": "Persoonlijk toegangstoken is verplicht",
- "tokenRequiredVerify": "Voer een token in om te verifiëren",
"verifyFirst": "Toegangsverificatie mislukt. Controleer URL, token en repository",
"updated": "Gitea-integratie opgeslagen",
"updateError": "Opslaan Gitea-integratie mislukt",
@@ -1530,62 +1448,28 @@
"importError": "Importeren issues mislukt",
"commentOnEnabled": "Kaneo zal reageren met een taaklink op nieuwe issues",
"commentOnDisabled": "Reacties met taaklinks op nieuwe issues staan uit",
- "settingsUpdateError": "Bijwerken Gitea-integratie mislukt",
- "secretCopied": "Gekopieerd",
- "unableToCopySecret": "Kopiëren van geheim mislukt",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly."
- },
- "webhookShow": "Tonen",
- "webhookHide": "Verbergen",
- "webhookCopy": "Kopiëren",
- "connectionStatus": "Verbindingsstatus",
- "connectedActive": "Repository verbonden en actief",
- "notConnectedHint": "Geen Gitea-repository verbonden",
- "badgeConnected": "Verbonden",
- "badgeNotConnected": "Niet verbonden",
- "repository": "Repository",
- "repositoryHint": "Gekoppelde Gitea-repository",
- "commentTaskLinkTitle": "Reageer met Kaneo-link op nieuwe issues",
- "commentTaskLinkHint": "Wanneer ingeschakeld, plaatst Kaneo een reactie op elke nieuwe issue met een link naar de taak.",
- "webhookTitle": "Webhook",
- "webhookHint": "Voeg in je Gitea-repository een webhook toe met deze URL en dit geheim. Schakel push, pull request, issues, issue-reacties en create (voor labels) in.",
- "webhookSecretLabel": "Geheim (moet overeenkomen met het webhook-geheim in Gitea)",
+ "settingsUpdateError": "Bijwerken Gitea-integratie mislukt"
+ },
+ "commentTaskLinkTitle": "Reageer met een Kaneo-link op nieuwe issues",
+ "commentTaskLinkHint": "Zodat mensen op Gitea direct naar de taak kunnen gaan.",
+ "webhookHint": "Voeg deze webhook toe in de instellingen van de repository, zodat wijzigingen terugkomen in Kaneo.",
"baseUrlLabel": "Gitea-URL",
- "baseUrlHint": "Basis-URL van je Gitea-instantie",
"tokenLabel": "Persoonlijk toegangstoken",
- "tokenHint": "Token met toegang tot repo en issues",
"tokenPlaceholder": "Plak token",
"tokenPlaceholderUpdate": "Plak een nieuw token om te rouleren",
- "currentToken": "opgeslagen",
- "ownerLabel": "Eigenaar",
- "ownerHint": "Naam van gebruiker of organisatie",
- "repoNameLabel": "Repositorynaam",
- "repoNameHint": "Alleen de repositorynaam (zonder eigenaar)",
- "actionsTitle": "Acties",
- "actionsHint": "Verifieer toegang en verbind",
- "browse": "Bladeren",
- "verify": "Verifiëren",
- "update": "Bijwerken",
- "connect": "Verbinden",
- "disconnect": "Ontkoppelen",
- "importSectionTitle": "Gitea issues importeren",
- "importSectionHint": "Importeer open issues en pull requests uit de repository",
- "importing": "Importeren…",
- "importIssues": "Issues importeren",
- "importDisabledHint": "Verifieer de repository hierboven om importeren mogelijk te maken",
- "browseModalTitle": "Je repositories",
- "browseModalHint": "Repositories waar je token toegang toe heeft",
- "searchRepos": "Zoeken…",
- "browseNeedsCredentials": "Voer Gitea-URL en token in om te bladeren",
- "loadingRepos": "Repositories laden…",
- "retry": "Opnieuw proberen"
+ "importSectionHint": "Importeer open issues en pull requests als taken.",
+ "importDisabledHint": "Importeren vereist geverifieerde toegang. Controleer hierboven de status van het token.",
+ "browseModalHint": "Repositories waar je token toegang toe heeft.",
+ "browseNeedsCredentials": "Voer de Gitea-URL en een token in om te bladeren.",
+ "browseEmpty": "Dit token kan geen repositories zien.",
+ "chooseRepositoryDescription": "Typ owner/name of kies er een uit de lijst.",
+ "webhookEvents": "Schakel de gebeurtenissen push, pull request, issue, issue-reactie en create in."
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Voer een geldig Telegram-bottoken in",
"chatIdRequired": "Chat-ID is verplicht",
- "threadIdInvalid": "Voer een geldig Telegram topic-thread-ID in"
+ "threadIdInvalid": "Voer een geldig topic-ID in"
},
"toast": {
"saved": "Telegram-integratie succesvol opgeslagen",
@@ -1596,58 +1480,22 @@
"removed": "Telegram-integratie succesvol verwijderd",
"removeError": "Verwijderen Telegram-integratie mislukt"
},
- "connectionTitle": "Telegram-botverbinding",
- "connectionHint": "Gebruik een Telegram-bottoken en chat-ID om updates van projecttaken naar een chat of topic te versturen.",
- "connected": "Verbonden",
- "paused": "Gepauzeerd",
"botTokenLabel": "Bottoken",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Maak een bot aan met BotFather en plak het token hier.",
- "botTokenHintConfigured": "Er is al een bottoken geconfigureerd ({{token}}). Voer een nieuwe in om deze te vervangen.",
+ "botTokenHintConfigured": "Huidig token: {{token}}",
"chatIdLabel": "Chat-ID",
"chatIdPlaceholder": "-1001234567890 of @team_updates",
- "chatIdHint": "Voer de Telegram chat-ID of kanaalgebruikersnaam in waar updates geplaatst moeten worden.",
- "threadIdLabel": "Topic-thread-ID",
- "threadIdPlaceholder": "Optioneel topic-ID",
- "threadIdHint": "Optioneel. Gebruik dit voor forumtopics binnen Telegram-groepen.",
- "chatLabelLabel": "Chatlabel",
+ "threadIdLabel": "Topic-ID",
+ "threadIdPlaceholder": "Voor forumtopics",
+ "chatLabelLabel": "Chatnaam",
"chatLabelPlaceholder": "Engineering-updates",
- "chatLabelHint": "Optioneel label voor eigen referentie binnen Kaneo.",
- "eventsTitle": "Gebeurtenis-meldingen",
- "eventsHint": "Kies welke projectwijzigingen naar Telegram gepost moeten worden.",
- "events": {
- "taskCreated": "Nieuwe taken",
- "taskStatusChanged": "Statuswijzigingen",
- "taskPriorityChanged": "Prioriteitswijzigingen",
- "taskTitleChanged": "Titelwijzigingen",
- "taskDescriptionChanged": "Beschrijvingswijzigingen",
- "taskCommentCreated": "Nieuwe reacties"
- },
"connect": "Verbind Telegram",
- "saveChanges": "Wijzigingen opslaan",
- "disconnect": "Ontkoppelen"
+ "botTokenSavedPlaceholder": "Opgeslagen. Plak een nieuw token om het te vervangen.",
+ "loadError": "De Telegram-instellingen konden niet worden geladen."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1661,58 +1509,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Maak een binnenkomende webhook aan in Mattermost en plak deze hier.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Selectievakje",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Dropdown, meerdere keuzes"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Standaardwaarde wissen",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Acties voor {{name}}",
+ "addOption": "Optie toevoegen",
+ "allowSeveral": "Meerdere toestaan",
+ "allowSeveralDescription": "Een taak kan meer dan één optie hebben.",
+ "checked": "Aangevinkt",
+ "createField": "Veld aanmaken",
+ "defaultDescription": "Nieuwe taken beginnen hiermee.",
+ "deleteConfirm": "Veld verwijderen",
+ "deleteDescription": "Het veld en de waarde ervan op elke taak worden verwijderd. Dit kan niet ongedaan worden gemaakt.",
+ "deleteTitle": "\"{{name}}\" verwijderen?",
+ "dialogDescription": "Elke taak in {{project}} krijgt dit veld.",
+ "dialogDescriptionFallback": "Elke taak in dit project krijgt dit veld.",
+ "dragAria": "{{name}} herschikken",
+ "dragOptionAria": "{{option}} herschikken",
+ "edit": "Bewerken",
+ "editTitle": "Veld bewerken",
+ "emptyDescription": "Houd zaken als omvang, klant of lanceringsdatum bij op elke taak.",
+ "emptyTitle": "Nog geen aangepaste velden",
+ "issues": {
+ "defaultRequired": "Verplichte velden hebben een standaardwaarde nodig.",
+ "moreOptionsRequired": "Voeg minimaal twee opties toe om meerdere toe te staan.",
+ "optionsRequired": "Voeg minimaal één optie toe."
+ },
+ "nameLabel": "Naam",
+ "newTitle": "Nieuw veld",
+ "noDefault": "Geen standaardwaarde",
+ "optionsLabel": "Opties",
+ "removeOptionAria": "{{option}} verwijderen",
+ "renameOptionAria": "{{option}} hernoemen",
+ "requiredDescription": "Elke taak heeft altijd een waarde.",
+ "save": "Opslaan",
+ "saving": "Opslaan...",
+ "startsAs": "Begint als \"{{value}}\"",
+ "startsAt": "Begint bij {{value}}",
+ "startsChecked": "Begint aangevinkt",
+ "startsOn": "Begint op {{date}}",
+ "startsUnchecked": "Begint niet aangevinkt",
+ "typeLabel": "Type",
+ "typeLocked": "Het type kan niet worden gewijzigd nadat een veld is aangemaakt.",
+ "unchecked": "Niet aangevinkt",
+ "updateError": "Opslaan van aangepast veld mislukt.",
+ "updateSuccess": "Aangepast veld opgeslagen."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Deactiveren",
+ "edit": "Bewerken",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Heractiveren"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Rol",
"status": "Status",
"user": "User"
},
@@ -1734,7 +1614,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Alle gebruikers",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1747,7 +1627,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1755,19 +1634,19 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Beheerder",
"user": "User"
},
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Zoek op naam of e-mailadres",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Iedereen met een account op deze Kaneo-instantie.",
+ "title": "Gebruikers",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1776,9 +1655,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Jij"
},
"security": "Security",
"securityPage": {
@@ -1793,11 +1670,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Inloggen",
+ "submit": "Wachtwoord wijzigen",
+ "submitting": "Wijzigen...",
+ "subtitle": "Hoe je inlogt bij Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1807,94 +1683,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Wachtwoord wijzigen",
+ "dialogDescription": "Minimaal 8 tekens, anders dan je huidige wachtwoord.",
+ "dialogTitle": "Wachtwoord wijzigen",
+ "passwordHint": "Gebruik minimaal 8 tekens en een wachtwoord dat je nergens anders gebruikt.",
+ "passwordTitle": "Wachtwoord"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Projecten waar je token lid van is.",
+ "browseNeedsCredentials": "Voer de GitLab-URL en een token in om te bladeren.",
+ "commentTaskLinkHint": "Zodat mensen op GitLab direct naar de taak kunnen gaan.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Importeer open issues en merge requests als taken.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Projecten zoeken",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Voeg deze webhook toe in de projectinstellingen, zodat wijzigingen terugkomen in Kaneo.",
+ "loadProjectsError": "Projecten konden niet worden geladen.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Dit token is geen lid van een project.",
+ "chooseProjectDescription": "Typ het pad of kies er een uit de lijst.",
+ "noSearchMatchTitle": "Geen overeenkomende projecten",
+ "useProject": "Project gebruiken",
+ "webhookEvents": "Schakel de gebeurtenissen push, issue, reactie en merge request in."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Alleen deze labels opnemen",
+ "selectLabels": "Label toevoegen",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1902,20 +1745,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Feeds",
+ "allScheduledTasks": "Alle ingeplande taken",
+ "subscribeHint": "Voeg een link als abonnement toe aan je kalender-app. Updates verschijnen wanneer de app de feed vernieuwt.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Gekopieerd",
+ "dialogDescription": "Taken met een start- of einddatum verschijnen in de feed.",
+ "dialogTitle": "Nieuwe kalenderfeed",
+ "emptyDescription": "Maak een feed aan om ingeplande taken in je kalender-app te zien.",
+ "emptyTitle": "Nog geen kalenderfeeds",
+ "feedActions": "Feedacties",
+ "labelsHint": "Laat leeg om alle ingeplande taken op te nemen.",
+ "newFeed": "Nieuwe feed",
+ "revokeConfirm": "Feed intrekken",
+ "revokeConfirmDescription": "Kalender-apps die deze link gebruiken, krijgen geen updates meer. Dit kan niet ongedaan worden gemaakt.",
+ "revokeConfirmTitle": "Deze feed intrekken?",
+ "revoking": "Intrekken…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1927,7 +1779,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1960,7 +1811,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1971,7 +1821,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Facturen, betaalmethode en opzeggen worden geregeld via Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1995,14 +1845,14 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Je abonnement voor {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "Nog {{count}} dag",
+ "badgeDaysLeft_other": "Nog {{count}} dagen"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2021,15 +1871,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2046,8 +1893,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2066,16 +1911,29 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Wat wordt gesynchroniseerd",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Alle issues",
+ "allTasks": "Alle taken",
+ "edit": "Bewerken",
+ "hidePaused": "Verbergen",
+ "issuesLabelled": "Issues met label",
+ "joinAnd": "en",
+ "joinOr": "of",
+ "kaneoToProvider": "Kaneo naar {{provider}}",
+ "pausedSummary_one": "{{count}} taak wordt niet meer gesynchroniseerd, omdat deze niet langer aan de synchronisatieregels voldeed.",
+ "pausedSummary_other": "{{count}} taken worden niet meer gesynchroniseerd, omdat ze niet langer aan de synchronisatieregels voldeden.",
+ "providerToKaneo": "{{provider}} naar Kaneo",
+ "reviewPaused": "Bekijken",
+ "tasksLabelled": "Taken met label"
+ },
+ "advancedSettingsDescription": "Toont extra opties, zoals synchronisatieregels voor integraties. Alleen in deze browser.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2112,23 +1970,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Alle werkruimtes",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_one": "{{count}} member",
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
@@ -2149,9 +1999,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Zoek op naam of slug",
+ "subtitle": "Elke werkruimte op deze Kaneo-instantie, ook die waar je geen lid van bent.",
+ "title": "Werkruimtes",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2161,9 +2011,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2428,6 +2276,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Zet uit om te pauzeren zonder de configuratie te verliezen.",
+ "activeTitle": "Berichten plaatsen in {{provider}}",
+ "channelHint": "Alleen een naam voor deze lijst.",
+ "channelLabel": "Kanaal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Ontkoppelen",
+ "disconnectDescription": "Kaneo plaatst geen berichten meer in {{provider}} en verwijdert de opgeslagen instellingen.",
+ "disconnecting": "Ontkoppelen…",
+ "disconnectTitle": "{{provider}} ontkoppelen?",
+ "events": {
+ "taskCommentCreated": "Iemand reageert",
+ "taskCreated": "Een taak wordt aangemaakt",
+ "taskDescriptionChanged": "De beschrijving verandert",
+ "taskPriorityChanged": "De prioriteit verandert",
+ "taskStatusChanged": "De status verandert",
+ "taskTitleChanged": "De titel verandert"
+ },
+ "optional": "Optioneel",
+ "postWhen": "Plaatsen wanneer",
+ "retry": "Opnieuw proberen",
+ "saveChanges": "Wijzigingen opslaan",
+ "savedUrlPlaceholder": "Opgeslagen. Plak een nieuwe URL om deze te vervangen.",
+ "webhookUrlLabel": "Webhook-URL"
+ },
+ "codeHosting": {
+ "browse": "Bladeren",
+ "changeToken": "Token wijzigen",
+ "checking": "Toegang controleren…",
+ "chooseProjectTitle": "Kies een project",
+ "chooseRepositoryTitle": "Kies een repository",
+ "connectProject": "Project koppelen",
+ "connectRepository": "Repository koppelen",
+ "copied": "Gekopieerd",
+ "copyFailed": "Kopiëren naar het klembord is mislukt.",
+ "copySecret": "Geheim kopiëren",
+ "copyUrl": "Webhook-URL kopiëren",
+ "disconnect": "Ontkoppelen",
+ "disconnectDescription": "Taken worden niet meer gesynchroniseerd met {{target}}. Je kunt het later opnieuw koppelen.",
+ "disconnecting": "Ontkoppelen…",
+ "disconnectTitle": "{{provider}} ontkoppelen?",
+ "hideSecret": "Geheim verbergen",
+ "importing": "Importeren…",
+ "importIssues": "Issues importeren",
+ "importNeedsReconnect": "Koppel opnieuw om importeren mogelijk te maken.",
+ "importTitle": "Open issues importeren",
+ "issuesSection": "Issues",
+ "lastImport": "Laatste import: {{imported}} aangemaakt, {{updated}} bijgewerkt, {{skipped}} overgeslagen.",
+ "loadError": "Deze integratie kon niet worden geladen.",
+ "pausedHint": "Synchronisatie is gepauzeerd. Koppel opnieuw om te hervatten.",
+ "projectSection": "Project",
+ "reconnect": "Opnieuw koppelen",
+ "repositoryPathInvalid": "Voer de repository in als owner/name.",
+ "repositoryPathLabel": "Repository",
+ "repositorySection": "Repository",
+ "retry": "Opnieuw proberen",
+ "saveToken": "Token opslaan",
+ "showSecret": "Geheim tonen",
+ "signInDescription": "Gebruik een token dat het project en de issues ervan kan lezen.",
+ "signInTitle": "Inloggen bij je instantie",
+ "tokenStored": "Opgeslagen token",
+ "tokenTitle": "Toegangstoken",
+ "webhookSecret": "Geheim",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Sleep om de volgorde te wijzigen waarin ze op een taak verschijnen.",
+ "fieldsTitle": "Velden",
+ "newField": "Nieuw veld",
+ "pageTitle": "Aangepaste velden",
+ "subtitle": "Extra gegevens die elke taak in {{project}} kan bijhouden, zoals omvang of klant.",
+ "subtitleFallback": "Extra gegevens die elke taak in dit project kan bijhouden, zoals omvang of klant.",
+ "title": "Aangepaste velden"
+ },
+ "shared": {
+ "autosave": "Wijzigingen worden automatisch opgeslagen"
}
},
"navigation": {
diff --git a/i18n/pl-PL.json b/i18n/pl-PL.json
index 61e853082..caeb8eb9a 100644
--- a/i18n/pl-PL.json
+++ b/i18n/pl-PL.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Nigdy"
- },
"modals": {
"createProject": {
"title": "Utwórz nowy projekt",
@@ -1174,117 +1171,86 @@
"account": "Konto",
"apiKey": {
"createDialog": {
- "create": "Utwórz",
- "creating": "Tworzenie...",
- "description": "Utwórz nowy klucz API, aby uzyskiwać dostęp do API Kaneo za pomocą kodu.",
+ "create": "Utwórz klucz",
+ "creating": "Tworzenie…",
+ "description": "Klucz może zrobić wszystko to, co Ty.",
"expiration1d": "1 dzień",
"expiration30d": "30 dni",
"expiration7d": "7 dni",
"expiration90d": "90 dni",
- "expirationDescription": "Wybierz, jak długo ten klucz API ma pozostać ważny. Opcja „Nigdy” utworzy klucz bez automatycznego terminu wygaśnięcia.",
- "expirationLabel": "Wygaśnięcie",
+ "expirationLabel": "Wygasa",
"expirationNever": "Nigdy",
- "expirationPlaceholder": "Wybierz termin wygaśnięcia",
"failedCreate": "Nie udało się utworzyć klucza API",
- "nameDescription": "Nazwa dla tego klucza API",
+ "nameDescription": "Aby pamiętać, gdzie jest używany.",
"nameLabel": "Nazwa",
"namePlaceholder": "Mój klucz API",
- "title": "Utwórz klucz API",
+ "title": "Nowy klucz API",
"validation": {
- "expirationRequired": "Termin wygaśnięcia jest wymagany",
- "nameRequired": "Nazwa jest wymagana",
- "nameShort": "Nazwa musi zawierać co najmniej 3 znaki"
+ "nameRequired": "Wpisz nazwę",
+ "nameShort": "Użyj co najmniej 3 znaków"
}
},
"createdModal": {
- "alertDescription": "Skopiuj ten klucz teraz. Nie będzie można go ponownie wyświetlić.",
- "alertTitle": "Twój klucz API został utworzony",
"copied": "Skopiowano",
"copy": "Kopiuj",
- "copyToContinue": "Skopiuj klucz, aby kontynuować",
- "description": "Twój klucz API \"{{keyName}}\" został utworzony pomyślnie.",
+ "description": "Po zamknięciu tego okna nie zobaczysz go ponownie.",
"done": "Ukończone",
- "title": "Utworzono klucz API",
- "toastCopied": "Skopiowano klucz API do schowka",
- "yourApiKey": "Twój klucz API"
+ "title": "Skopiuj swój klucz",
+ "copyError": "Nie udało się skopiować klucza. Zaznacz go i skopiuj ręcznie."
},
"table": {
- "columnActions": "Działania",
- "columnCreated": "Utworzono",
- "columnExpires": "Wygasa",
- "columnKey": "Klucz",
- "columnName": "Nazwa",
- "delete": "Usuń",
- "deleteAria": "Usuń {{name}}",
- "deleteAriaFallback": "Klucz API",
- "deleteConfirmDescription": "Tej operacji nie można cofnąć. Spowoduje ona trwałe usunięcie {{name}}.",
- "deleteConfirmTitle": "Usunąć klucz API?",
- "deleteFallbackName": "ten klucz API",
- "deleting": "Usuwanie...",
- "empty": "Nie masz jeszcze kluczy API. Utwórz pierwszy, aby rozpocząć.",
- "expiredBadge": "Wygasł: {{label}}",
- "loading": "Ładowanie kluczy API...",
- "toastDeleted": "Klucz API został usunięty pomyślnie",
- "toastDeleteError": "Nie udało się usunąć klucza API",
- "unnamedKey": "Klucz bez nazwy"
+ "delete": "Usuń klucz",
+ "deleteConfirmDescription": "Wszystko, co korzysta z tego klucza, przestanie działać. Tej operacji nie można cofnąć.",
+ "deleteConfirmTitle": "Usunąć „{{name}}”?",
+ "deleting": "Usuwanie…",
+ "toastDeleted": "Usunięto klucz API",
+ "toastDeleteError": "Nie udało się usunąć klucza API"
+ },
+ "row": {
+ "actions": "Akcje dla {{name}}",
+ "created": "Utworzono {{date}}",
+ "expired": "Wygasł {{date}}",
+ "expiredBadge": "Wygasł",
+ "expires": "Wygasa {{date}}",
+ "neverExpires": "Nigdy nie wygasa"
}
},
"apiKeys": "Klucze API",
"columnEditor": {
- "add": "Dodaj",
- "doneColumn": "Kolumna ukończona",
- "doneColumnTooltip": "Traktuj tę kolumnę jako kolumnę ukończonych zadań",
- "loading": "Ładowanie kolumn...",
"markDoneAria": "Oznacz {{name}} jako kolumnę ukończonych zadań",
- "newColumnPlaceholder": "Nazwa nowej kolumny...",
- "off": "Wyłączone",
- "on": "Włączone",
+ "newColumnPlaceholder": "Nazwa kolumny",
"pickIconTitle": "Wybierz ikonę kolumny",
"searchIconsPlaceholder": "Szukaj ikon...",
- "toastCreated": "Utworzono kolumnę",
"toastCreateError": "Nie udało się utworzyć kolumny",
- "toastDeleted": "Usunięto kolumnę",
"toastDeleteError": "Nie udało się usunąć kolumny",
- "toastFinalOff": "Odznaczono kolumnę jako końcową",
- "toastFinalOn": "Oznaczono kolumnę jako końcową",
- "toastIconUpdated": "Zaktualizowano ikonę kolumny",
- "toastRenamed": "Zmieniono nazwę kolumny",
"toastRenameError": "Nie udało się zmienić nazwy kolumny",
"toastUpdateError": "Nie udało się zaktualizować kolumny",
"deleteAria": "Usuń kolumnę {{name}}",
- "renameAria": "Zmień nazwę kolumny {{name}}"
+ "renameAria": "Zmień nazwę kolumny {{name}}",
+ "addColumn": "Dodaj kolumnę",
+ "columnHeader": "Kolumna",
+ "deleteConfirm": "Usuń kolumnę",
+ "deleteDescription": "Nie można usunąć kolumn, w których nadal są zadania. Najpierw przenieś te zadania.",
+ "deleteTitle": "Usunąć „{{name}}”?",
+ "doneHeader": "Ukończone",
+ "dragAria": "Zmień kolejność: {{name}}",
+ "reorderError": "Nie udało się zmienić kolejności kolumn"
},
"developer": "Deweloper",
"developerPage": {
- "apiKeysCardDescription": "Twórz klucze API i zarządzaj nimi, aby programowo uzyskiwać dostęp do Kaneo.",
- "apiKeysCardTitle": "Klucze API",
- "createApiKey": "Utwórz klucz API",
- "pageTitle": "Ustawienia deweloperskie",
- "subtitle": "Zarządzaj kluczami API i zasobami dla deweloperów.",
- "title": "Ustawienia deweloperskie",
- "unnamedKey": "Klucz bez nazwy"
+ "pageTitle": "Klucze API",
+ "subtitle": "Pozwól skryptom, CLI i klientom MCP korzystać z Kaneo w Twoim imieniu.",
+ "title": "Klucze API",
+ "unnamedKey": "Bez nazwy",
+ "emptyDescription": "Utwórz klucz, aby korzystać z CLI, klienta MCP lub własnych skryptów.",
+ "emptyTitle": "Brak kluczy API",
+ "keysNote": "Klucz może zrobić wszystko to, co Ty. Usuwaj klucze, których już nie używasz.",
+ "keysTitle": "Klucze",
+ "loadError": "Nie udało się wczytać kluczy API. Spróbuj ponownie.",
+ "newKey": "Nowy klucz"
},
"discordIntegration": {
- "channelHint": "Opcjonalna etykieta pomocnicza. Discord określa docelowy kanał na podstawie konfiguracji webhooka.",
- "channelLabel": "Nazwa kanału",
- "channelPlaceholder": "#aktualizacje-zespolu",
"connect": "Połącz Discord",
- "connected": "Połączono",
- "connectionHint": "Wklej adres URL webhooka Discord i wybierz, które zdarzenia zadań mają być publikowane.",
- "connectionTitle": "Połączenie webhooka Discord",
- "disconnect": "Rozłącz",
- "events": {
- "taskCommentCreated": "Nowe komentarze",
- "taskCreated": "Nowe zadania",
- "taskDescriptionChanged": "Zmiany opisu",
- "taskPriorityChanged": "Zmiany priorytetu",
- "taskStatusChanged": "Zmiany statusu",
- "taskTitleChanged": "Zmiany tytułu"
- },
- "eventsHint": "Wybierz zmiany projektu, które mają być publikowane na Discordzie.",
- "eventsTitle": "Powiadomienia o zdarzeniach",
- "paused": "Wstrzymano",
- "saveChanges": "Zapisz zmiany",
"toast": {
"disabled": "Powiadomienia Discord wstrzymane",
"enabled": "Powiadomienia Discord włączone",
@@ -1298,8 +1264,7 @@
"validation": {
"webhookInvalid": "Wpisz prawidłowy adres URL webhooka Discord"
},
- "webhookHint": "Utwórz webhook kanału na Discordzie i wklej tutaj wygenerowany adres URL.",
- "webhookLabel": "Adres URL webhooka",
+ "webhookHint": "Utwórz webhook kanału na Discordzie i wklej go tutaj.",
"webhookPlaceholder": "https://discord.com/api/webhooks/..."
},
"externalLinks": {
@@ -1320,33 +1285,26 @@
},
"genericWebhookIntegration": {
"connect": "Połącz webhook",
- "connected": "Połączono",
- "connectionHint": "Wysyłaj zdarzenia zadań do własnego punktu końcowego jako JSON. Jeśli skonfigurowano sekret, dołączany jest podpisany nagłówek X-Kaneo-Signature.",
- "connectionTitle": "Połączenie wychodzącego webhooka",
- "disconnect": "Rozłącz",
"events": {
- "dueDateReminder": "Przypomnienia o terminach",
+ "dueDateReminder": "Przypomnienie o terminie",
"taskAssigneeChanged": "Zmieniono osobę przypisaną",
- "taskCommentCreated": "Nowe komentarze",
- "taskCreated": "Nowe zadania",
+ "taskCommentCreated": "Nowy komentarz",
+ "taskCreated": "Utworzono zadanie",
"taskDeleted": "Zadanie usunięto",
- "taskDescriptionChanged": "Zmiany opisu",
+ "taskDescriptionChanged": "Zmieniono opis",
"taskDueDateChanged": "Zmieniono termin",
"taskMoved": "Przeniesiono zadanie",
- "taskPriorityChanged": "Zmiany priorytetu",
- "taskStatusChanged": "Zmiany statusu",
- "taskTitleChanged": "Zmiany tytułu",
+ "taskPriorityChanged": "Zmieniono priorytet",
+ "taskStatusChanged": "Zmieniono status",
+ "taskTitleChanged": "Zmieniono tytuł",
"taskUnassigned": "Usunięto przypisanie zadania"
},
- "eventsHint": "Wybierz zmiany projektu, które mają uruchamiać wychodzące webhooki.",
- "eventsTitle": "Powiadomienia o zdarzeniach",
- "paused": "Wstrzymano",
- "reminderLeadTimeLabel": "Wyślij webhook tyle godzin przed terminem",
- "saveChanges": "Zapisz zmiany",
- "secretHint": "Opcjonalne. Jeśli podasz sekret, Kaneo podpisze treść żądania i wyśle skrót szesnastkowy w nagłówku X-Kaneo-Signature.",
- "secretHintConfigured": "Sekret podpisu jest już skonfigurowany ({{secret}}). Wpisz nowy, aby go zastąpić.",
+ "eventsTitle": "Kiedy wysyłać",
+ "reminderLeadTimeLabel": "Liczba godzin przed terminem zadania",
+ "secretHint": "Kaneo podpisuje nim każde żądanie i wysyła skrót w nagłówku X-Kaneo-Signature.",
+ "secretHintConfigured": "Bieżący sekret: {{secret}}. Wklej nowy, aby go zastąpić.",
"secretLabel": "Sekret podpisywania",
- "secretPlaceholder": "Opcjonalny współdzielony sekret",
+ "secretPlaceholder": "Współdzielony sekret",
"toast": {
"disabled": "Powiadomienia niestandardowego webhooka wstrzymane",
"enabled": "Powiadomienia niestandardowego webhooka włączone",
@@ -1357,166 +1315,99 @@
"updateError": "Nie udało się zaktualizować integracji niestandardowego webhooka"
},
"validation": {
- "webhookInvalid": "Wpisz prawidłowy adres URL webhooka"
+ "webhookInvalid": "Wpisz prawidłowy adres URL webhooka",
+ "leadTimeRange": "Wybierz czas od 5 minut do 720 godzin."
},
"webhookHint": "Kaneo wysyła żądania POST z ładunkiem JSON dla każdego włączonego zdarzenia.",
"webhookLabel": "Adres URL punktu końcowego",
- "webhookPlaceholder": "https://example.com/webhooks/kaneo"
+ "webhookPlaceholder": "https://example.com/webhooks/kaneo",
+ "activeTitle": "Wysyłanie zdarzeń",
+ "disconnectDescription": "Kaneo przestanie wysyłać zdarzenia i usunie zapisany punkt końcowy oraz sekret.",
+ "disconnectTitle": "Rozłączyć webhook?",
+ "reminderLeadTimeAfter": "godz. przed terminem zadania",
+ "reminderLeadTimeBefore": "Wysyłaj przypomnienia"
},
"giteaIntegration": {
- "actionsHint": "Zweryfikuj dostęp i połącz",
- "actionsTitle": "Działania",
- "badgeConnected": "Połączono",
- "badgeNotConnected": "Niepołączono",
- "baseUrlHint": "Główny adres URL Twojej instancji Gitea",
"baseUrlLabel": "Adres URL Gitea",
- "browse": "Przeglądaj",
- "browseModalHint": "Repozytoria dostępne dla Twojego tokenu",
- "browseModalTitle": "Twoje repozytoria",
- "browseNeedsCredentials": "Wpisz adres URL swojej instancji Gitea oraz token, aby przeglądać",
- "commentTaskLinkHint": "Gdy włączone, Kaneo dodaje komentarz do każdego nowego zgłoszenia z linkiem do zadania",
- "commentTaskLinkTitle": "Link do komentarza Kaneo w nowym zgłoszeniu",
- "connect": "Połącz",
- "connectedActive": "Repozytorium połączone i aktywne",
- "connectionStatus": "Status połączenia",
- "currentToken": "zapisany",
- "disconnect": "Rozłącz",
- "importDisabledHint": "Zweryfikuj repozytorium powyżej, aby włączyć importowanie",
- "importing": "Importowanie…",
- "importIssues": "Importuj zgłoszenia",
- "importSectionHint": "Importuj otwarte zgłoszenia oraz pull requesty z tego repozytorium",
- "importSectionTitle": "Importuj zgłoszenia z Gitea",
- "loadingRepos": "Ładowanie repozytoriów…",
- "notConnectedHint": "Brak połączonego repozytorium Gitea",
- "ownerHint": "Nazwa użytkownika lub organizacji",
- "ownerLabel": "Właściciel",
- "repoNameHint": "Tylko nazwa repozytorium (bez właściciela)",
- "repoNameLabel": "Nazwa repozytorium",
- "repository": "Repozytorium",
- "repositoryHint": "Powiązane repozytorium Gitea",
- "retry": "Spróbuj ponownie",
- "searchRepos": "Szukaj…",
+ "browseModalHint": "Repozytoria dostępne dla Twojego tokenu.",
+ "browseNeedsCredentials": "Wpisz adres URL Gitea i token, aby przeglądać.",
+ "commentTaskLinkHint": "Aby osoby w Gitea mogły przejść do zadania.",
+ "commentTaskLinkTitle": "Dodawaj komentarz z linkiem Kaneo do nowych zgłoszeń",
+ "importDisabledHint": "Importowanie wymaga zweryfikowanego dostępu. Sprawdź stan tokenu powyżej.",
+ "importSectionHint": "Zaimportuj otwarte zgłoszenia i pull requesty jako zadania.",
"toast": {
"commentOnDisabled": "Komentarze z linkiem do zadania przy nowych zgłoszeniach są wyłączone",
"commentOnEnabled": "Kaneo doda komentarz z linkiem do zadania przy nowych zgłoszeniach",
"importError": "Nie udało się zaimportować zgłoszeń",
"issuesImported": "Zgłoszenia zaimportowane pomyślnie",
- "notGiteaInstance": "Ten adres URL nie wskazuje na instancję Gitea",
- "redirected": "Adres URL Gitea przekierował (zwykle do HTTPS). Użyj bezpośrednio końcowego adresu URL.",
"removed": "Usunięto integrację z Gitea",
"removeError": "Nie udało się usunąć integracji z Gitea",
- "repoNotFound": "Nie znaleziono repozytorium lub brak do niego dostępu",
- "secretCopied": "Skopiowano",
"settingsUpdateError": "Nie udało się zaktualizować integracji z Gitea",
- "tokenRequired": "Osobisty token dostępu jest wymagany",
- "tokenRequiredVerify": "Wpisz token, aby go zweryfikować",
- "unableToCopySecret": "Nie udało się skopiować sekretu",
"updated": "Zapisano integrację z Gitea",
"updateError": "Nie udało się zapisać integracji z Gitea",
"verifyError": "Nie udało się zweryfikować dostępu do Gitea",
- "verifyFirst": "Weryfikacja dostępu nie powiodła się. Sprawdź adres URL, token i repozytorium",
- "verifyOk": "Token Gitea ma dostęp do tego repozytorium",
- "verifyWarning": "Sprawdź uprawnienia tokena lub dostęp do repozytorium"
+ "verifyFirst": "Weryfikacja dostępu nie powiodła się. Sprawdź adres URL, token i repozytorium"
},
- "tokenHint": "Token z dostępem do repozytorium i zgłoszeń",
"tokenLabel": "Osobisty token dostępu",
"tokenPlaceholder": "Wklej token",
"tokenPlaceholderUpdate": "Wklej nowy token, aby go zmienić",
- "update": "Zaktualizuj",
"validation": {
"baseUrlInvalid": "Wpisz prawidłowy adres URL (np. https://gitea.example.com)",
- "baseUrlRequired": "Bazowy adres URL Gitea jest wymagany",
- "nameInvalid": "Nieprawidłowy format nazwy repozytorium",
- "nameRequired": "Nazwa repozytorium jest wymagana",
- "ownerInvalid": "Nieprawidłowy format właściciela repozytorium",
- "ownerRequired": "Właściciel repozytorium jest wymagany"
- },
- "verify": "Zweryfikuj",
- "webhookCopy": "Kopiuj",
- "webhookHide": "Ukryj",
- "webhookHint": "W repozytorium Gitea dodaj webhook z tym adresem URL i sekretem. Włącz zdarzenia: push, pull request, zgłoszenia, komentarze do zgłoszeń oraz etykiety.",
- "webhookSecretLabel": "Sekret (musi być zgodny z sekretem webhooka w Gitea)",
- "webhookShow": "Pokaż",
- "webhookTitle": "Webhook"
+ "baseUrlRequired": "Bazowy adres URL Gitea jest wymagany"
+ },
+ "webhookHint": "Dodaj ten webhook w ustawieniach repozytorium, aby zmiany wracały do Kaneo.",
+ "browseEmpty": "Ten token nie ma dostępu do żadnych repozytoriów.",
+ "chooseRepositoryDescription": "Wpisz owner/name lub wybierz z listy.",
+ "webhookEvents": "Włącz zdarzenia push, pull request, zgłoszeń, komentarzy do zgłoszeń i create."
},
"githubIntegration": {
- "actionsHint": "Zarządzaj połączeniem z repozytorium",
- "actionsTitle": "Działania",
- "appStatusHint": "Stan instalacji i uprawnień",
- "appStatusTitle": "Stan aplikacji GitHub",
- "badgeConnected": "Połączono",
- "badgeNotConnected": "Niepołączono",
- "browse": "Przeglądaj",
- "commentTaskLinkHint": "Gdy ta opcja jest włączona, Kaneo dodaje komentarz z linkiem do zadania przy każdym nowym zgłoszeniu na GitHubie.",
- "commentTaskLinkTitle": "Link do zadania Kaneo w komentarzu do nowego zgłoszenia",
- "connect": "Połącz",
- "connectedActive": "Repozytorium połączone i aktywne",
- "connectionStatus": "Status połączenia",
- "disconnect": "Rozłącz",
- "importDisabledHint": "Dokończ powyższą konfigurację repozytorium, aby włączyć importowanie",
- "importing": "Importowanie...",
- "importIssues": "Importuj zgłoszenia",
- "importSectionHint": "Importuj istniejące zgłoszenia z repozytorium GitHub jako zadania",
- "importSectionTitle": "Importuj zgłoszenia z GitHuba",
+ "commentTaskLinkHint": "Aby osoby na GitHubie mogły przejść do zadania.",
+ "commentTaskLinkTitle": "Dodawaj komentarz z linkiem Kaneo do nowych zgłoszeń",
+ "importDisabledHint": "Połącz ponownie repozytorium, aby włączyć importowanie.",
+ "importSectionHint": "Zaimportuj otwarte zgłoszenia z repozytorium jako zadania.",
"installGithubApp": "Zainstaluj aplikację GitHub",
- "missingPermissionsLabel": "Brakujące uprawnienia:",
- "notConnectedHint": "Brak połączonego repozytorium",
- "ownerHint": "Nazwa użytkownika lub organizacji GitHub",
- "ownerLabel": "Właściciel repozytorium",
- "ownerPlaceholder": "np. octocat",
- "repoNameHint": "Nazwa repozytorium",
- "repoNameLabel": "Nazwa repozytorium",
- "repoNamePlaceholder": "np. moj-projekt",
- "repository": "Repozytorium",
- "repositoryHint": "Połączone repozytorium GitHub",
- "statusMissingPermissions": "Brakujące uprawnienia",
- "statusNotInstalled": "Niezainstalowana",
- "statusProperlyConfigured": "Prawidłowo skonfigurowane",
"toast": {
"commentOnDisabled": "Komentarze z linkiem do zadania przy nowych zgłoszeniach zostały wyłączone",
"commentOnEnabled": "Kaneo doda komentarz z linkiem do zadania przy nowych zgłoszeniach",
"importError": "Nie udało się zaimportować zgłoszeń",
"installAppFirst": "Najpierw zainstaluj aplikację GitHub w tym repozytorium",
- "installedMissingPerms": "Aplikacja GitHub jest zainstalowana, ale brakuje wymaganych uprawnień",
- "installedOk": "Aplikacja GitHub jest prawidłowo zainstalowana!",
"issuesImported": "Zgłoszenia zaimportowano pomyślnie",
"missingPermsDetail": "Aplikacji GitHub brakuje wymaganych uprawnień: {{list}}. Zaktualizuj uprawnienia aplikacji.",
- "needsInstallOnRepo": "Aplikację GitHub należy zainstalować w tym repozytorium",
"removed": "Integrację z GitHubem usunięto pomyślnie",
"removeError": "Nie udało się usunąć integracji z GitHubem",
- "repoNotFound": "Nie znaleziono repozytorium lub brak do niego dostępu",
"settingsUpdateError": "Nie udało się zaktualizować integracji z GitHubem",
"updated": "Integrację z GitHubem zaktualizowano pomyślnie",
"updateError": "Nie udało się zaktualizować integracji z GitHubem",
"verifyError": "Nie udało się zweryfikować instalacji aplikacji GitHub"
},
- "update": "Zaktualizuj",
"updatePermissions": "Zaktualizuj uprawnienia",
- "validation": {
- "nameInvalid": "Nieprawidłowy format nazwy repozytorium",
- "nameRequired": "Nazwa repozytorium jest wymagana",
- "ownerInvalid": "Nieprawidłowy format nazwy właściciela repozytorium",
- "ownerRequired": "Właściciel repozytorium jest wymagany"
- },
- "verify": "Zweryfikuj",
"accountVerificationHint": "Connect your GitHub account to verify that you administer this repository.",
"enableGithubSignInHint": "Ask your instance administrator to enable GitHub sign-in.",
"reverifyHint": "Reconnect this repository to verify access and resume synchronization.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
- },
- "information": "Informacje",
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Jego zgłoszenia i pull requesty zostaną powiązane z zadaniami w tym projekcie.",
+ "linkAccountDescription": "Potwierdza, że możesz administrować repozytorium.",
+ "linkAccountTitle": "Połącz swoje konto GitHub",
+ "linked": "Połączono",
+ "linkGithub": "Połącz GitHub",
+ "verifyMissingPermissions": "Aplikacji GitHub Kaneo brakuje uprawnień: {{list}}.",
+ "verifyNotInstalled": "Aplikacja GitHub Kaneo nie jest zainstalowana w tym repozytorium.",
+ "verifyReady": "Aplikacja GitHub Kaneo jest zainstalowana z wymaganymi uprawnieniami.",
+ "workflowHint": "Przenoś zadania po otwarciu lub scaleniu pull requestów w sekcji",
+ "workflowLink": "Obieg pracy"
+ },
+ "information": "Profil",
"informationPage": {
"avatar": {
- "change": "Zmień zdjęcie profilowe",
- "edit": "Zmień zdjęcie profilowe",
- "hint": "Kliknij zdjęcie, aby je zmienić lub usunąć. Zostanie przycięte do kwadratu i przeskalowane do 256x256.",
- "remove": "Usuń zdjęcie profilowe",
+ "hint": "Najlepiej wyglądają kwadratowe obrazy.",
+ "remove": "Usuń",
"removeError": "Nie udało się usunąć zdjęcia profilowego",
"removeSuccess": "Usunięto zdjęcie profilowe",
"updateError": "Nie udało się zaktualizować zdjęcia profilowego",
- "updateSuccess": "Zaktualizowano zdjęcie profilowe"
+ "updateSuccess": "Zaktualizowano zdjęcie profilowe",
+ "upload": "Prześlij"
},
"deleteAccount": {
"confirm": "Usuń konto",
@@ -1525,57 +1416,44 @@
"error": "Nie udało się usunąć konta",
"modalDescription": "Spowoduje to trwałe usunięcie konta. Tej operacji nie można cofnąć.",
"modalTitle": "Usunąć konto?",
- "sectionSubtitle": "Trwałe działania wpływające na całe konto.",
"sectionTitle": "Strefa niebezpieczna",
"sessionTooOld": "Ze względów bezpieczeństwa wyloguj się i zaloguj ponownie przed usunięciem konta.",
"success": "Twoje konto zostało usunięte",
"title": "Usuń konto"
},
"email": "E-mail",
- "emailPlaceholder": "Wpisz swój adres e-mail",
"fullName": "Imię i nazwisko",
"fullNamePlaceholder": "Wpisz swoje imię i nazwisko",
- "pageTitle": "Dane osobowe",
+ "pageTitle": "Profil",
"profilePicture": "Zdjęcie profilowe",
- "sectionSubtitle": "Zarządzaj profilem i szczegółami konta.",
- "sectionTitle": "Informacje o koncie",
- "subtitle": "Zarządzaj danymi osobowymi i informacjami o koncie.",
- "title": "Dane osobowe",
+ "sectionTitle": "Szczegóły",
+ "subtitle": "Jak widzą Cię członkowie zespołu.",
+ "title": "Profil",
"updateError": "Nie udało się zaktualizować profilu",
- "updateSuccess": "Profil zaktualizowano pomyślnie",
"validation": {
- "invalidEmail": "Nieprawidłowy adres e-mail",
"nameRequired": "Imię i nazwisko jest wymagane",
"nameShort": "Imię i nazwisko musi mieć co najmniej 2 znaki"
- }
+ },
+ "emailHint": "Logujesz się przy użyciu tego adresu."
},
"notifications": "Powiadomienia",
"notificationsPage": {
- "accountEmailHint": "Powiadomienia e-mail są zawsze wysyłane na adres e-mail zalogowanego konta.",
- "accountEmailLabel": "E-mail konta",
"accountEmailNoAddress": "Brak dostępnego adresu e-mail konta",
"allProjects": "Wszystkie projekty",
- "allProjectsDescription": "Dostarczaj powiadomienia ze wszystkich projektów w tym obszarze roboczym.",
"connectGotify": "Połącz Gotify",
"connectNtfy": "Połącz ntfy",
"connectWebhook": "Połącz webhook",
- "createRule": "Utwórz regułę",
"disconnect": "Rozłącz",
- "emailChannelHintDisabled": "Najpierw skonfiguruj i włącz e-mail globalnie.",
- "emailChannelHintEnabled": "Wysyłaj pasujące powiadomienia z obszaru roboczego przez e-mail.",
- "emailDescription": "Używaj adresu e-mail konta jako miejsca dostarczania powiadomień.",
"emailTitle": "E-mail",
"endpointUrl": "Adres URL punktu końcowego",
"eventComments": "Komentarze i wzmianki",
- "eventCommentsHint": "Obejmuje nowe komentarze do przypisanych Ci zadań oraz bezpośrednie wzmianki @.",
+ "eventCommentsHint": "Nowe komentarze do Twoich zadań i każda @wzmianka o Tobie.",
"eventDueDateReminders": "Przypomnienia o terminach",
- "eventPreferencesDescription": "Wybierz zdarzenia zadań, które tworzą powiadomienia w aplikacji i mogą być dostarczane do połączonych kanałów.",
+ "eventPreferencesDescription": "Twoje własne komentarze, wzmianki i zmiany statusu nigdy nie wysyłają Ci powiadomień.",
"eventPreferencesTitle": "Powiadamiaj mnie o",
- "eventStatusChanges": "Zmiany statusu zadań",
- "eventTaskAssignments": "Przypisania zadań",
- "gotifyChannelHintDisabled": "Najpierw skonfiguruj i włącz Gotify globalnie.",
- "gotifyChannelHintEnabled": "Wysyłaj pasujące powiadomienia obszaru roboczego do Gotify.",
- "gotifyDescription": "Wysyłaj powiadomienia konta na swój serwer Gotify.",
+ "eventStatusChanges": "Zmiany statusu",
+ "eventTaskAssignments": "Przypisania",
+ "gotifyDescription": "Wysyłaj powiadomienia na swój serwer Gotify.",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTitle": "Gotify",
"gotifyTokenHintConfigured": "Token aplikacji jest już skonfigurowany ({{masked}}). Wpisz nowy token, aby go zastąpić.",
@@ -1583,33 +1461,23 @@
"gotifyTokenLabel": "Token aplikacji",
"gotifyTokenPlaceholder": "Token aplikacji Gotify",
"noProjectsInWorkspace": "Brak dostępnych projektów dla tego obszaru roboczego.",
- "ntfyChannelHintDisabled": "Najpierw skonfiguruj i włącz ntfy globalnie.",
- "ntfyChannelHintEnabled": "Wysyłaj pasujące powiadomienia obszaru roboczego do ntfy.",
- "ntfyDescription": "Wysyłaj powiadomienia konta do tematu ntfy.",
+ "ntfyDescription": "Publikuj w temacie ntfy na telefonie lub komputerze.",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTitle": "ntfy",
"ntfyTokenHintConfigured": "Token jest już skonfigurowany ({{masked}}). Wpisz nowy token, aby go zastąpić.",
- "ntfyTokenHintOptional": "Opcjonalne. Podaj token, jeśli Twój serwer ntfy wymaga uwierzytelnienia.",
- "ntfyTokenPlaceholder": "Opcjonalny token nośnika (bearer)",
+ "ntfyTokenHintOptional": "Użyj go, jeśli Twój serwer ntfy wymaga uwierzytelnienia.",
+ "ntfyTokenPlaceholder": "Tylko jeśli serwer go wymaga",
"ntfyTopicPlaceholder": "alerty-zespolu",
"pageTitle": "Powiadomienia",
- "projectScope": "Zakres projektów",
- "projectScopeDescription": "Domyślnie uwzględniane są wszystkie projekty. Zawęź zakres, jeśli ten obszar roboczy ma wysyłać powiadomienia tylko z wybranych projektów.",
- "reminderLeadTimeHint": "Od 1 godziny do 30 dni przed terminem. Powiadomienia o zaległościach są wysyłane osobno.",
"reminderLeadTimeInvalid": "Wpisz liczbę całkowitą od 1 do {{max}}.",
"reminderLeadTimeLabel": "Przypomnij mi przed terminem",
- "reminderLeadTimeUnitDays": "Dni",
- "reminderLeadTimeUnitHours": "Godziny",
- "removeRule": "Usuń regułę",
"saveChanges": "Zapisz zmiany",
"saveEventPreferences": "Zapisz typy powiadomień",
- "selectedProjects": "Wybrane projekty",
- "selectedProjectsDescription": "Dostarczaj powiadomienia tylko z wybranych projektów.",
"serverUrl": "Adres URL serwera",
"signingSecret": "Sekret podpisu",
"statusConnected": "Połączono",
"statusPaused": "Wstrzymano",
- "subtitle": "Wybierz sposób dostarczania powiadomień konta Kaneo i używane kanały.",
+ "subtitle": "O czym Kaneo Cię powiadamia i gdzie.",
"title": "Powiadomienia",
"toastEmailSaved": "Zapisano ustawienia powiadomień e-mail",
"toastEmailSaveFailed": "Nie udało się zapisać ustawień e-mail",
@@ -1635,99 +1503,128 @@
"toastWebhookSaveFailed": "Nie udało się zapisać ustawień webhooka",
"token": "Token",
"topic": "Temat",
- "webhookChannelHintDisabled": "Najpierw skonfiguruj i włącz webhook globalnie.",
- "webhookChannelHintEnabled": "Wysyłaj pasujące powiadomienia obszaru roboczego do Twojego webhooka.",
- "webhookDescription": "Wysyłaj powiadomienia konta do własnego punktu końcowego jako JSON.",
+ "webhookDescription": "Wysyłaj każde powiadomienie do własnego punktu końcowego jako JSON.",
"webhookSecretHintConfigured": "Sekret podpisu jest już skonfigurowany ({{masked}}). Wpisz nowy, aby go zastąpić.",
- "webhookSecretHintOptional": "Opcjonalne. Kaneo podpisuje treść żądania, gdy ustawiono sekret.",
+ "webhookSecretHintOptional": "Kaneo podpisuje treść żądania, gdy ustawiono sekret.",
"webhookSecretPlaceholder": "Opcjonalny współdzielony sekret",
"webhookTitle": "Niestandardowy webhook",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
- "workspaceCardHint": "Wybierz kanały, których ten obszar roboczy może używać do powiadomień konta.",
- "workspaceCardLabelEmail": "E-mail",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelWebhook": "Niestandardowy webhook",
- "workspaceEnabledLabel": "Włącz powiadomienia dla {{workspaceName}}",
- "workspaceRulesDescription": "Użyj ponownie globalnych kanałów, a następnie wybierz obszary robocze i projekty, które mogą wysyłać powiadomienia konta.",
- "workspaceRulesTitle": "Reguły dostarczania dla obszaru roboczego",
- "recipientHint": "Komentarze i zmiany statusu powiadamiają Cię o przypisanych Ci zadaniach. Wzmianki powiadamiają wybranego członka. Nie otrzymujesz powiadomień o własnych komentarzach, wzmiankach ani zmianach statusu."
+ "channelNotConnected": "Niepołączony",
+ "channelOff": "Wyłączony",
+ "channelsDescription": "Powiadomienia zawsze pojawiają się w Kaneo. Połącz kanał, aby otrzymywać je także gdzie indziej.",
+ "channelsTitle": "Kanały",
+ "configure": "Konfiguruj",
+ "configureChannel": "Konfiguruj {{channel}}",
+ "configureWorkspace": "Konfiguruj powiadomienia dla {{workspaceName}}",
+ "connect": "Połącz",
+ "connectChannel": "Połącz {{channel}}",
+ "disconnectDescription": "Powiadomienia przestaną trafiać do {{channel}}, a zapisane ustawienia zostaną usunięte.",
+ "disconnecting": "Rozłączanie...",
+ "disconnectTitle": "Rozłączyć {{channel}}?",
+ "done": "Gotowe",
+ "emailToggleLabel": "Wysyłaj powiadomienia e-mailem",
+ "eventDueDateRemindersHint": "Przed terminem jednego z Twoich zadań. O zadaniach po terminie otrzymasz osobne powiadomienie.",
+ "eventStatusChangesHint": "Gdy jedno z Twoich zadań trafi do innej kolumny.",
+ "eventTaskAssignmentsHint": "Gdy ktoś przypisze Ci zadanie.",
+ "loadFailed": "Nie udało się wczytać ustawień powiadomień.",
+ "onlyInKaneo": "Tylko w Kaneo",
+ "optional": "Opcjonalne",
+ "projectCount_few": "{{count}} projekty",
+ "projectCount_many": "{{count}} projektów",
+ "projectCount_one": "{{count}} projekt",
+ "projectCount_other": "{{count}} projektu",
+ "reminderLeadTimeUnitDaysBefore_few": "dni przed",
+ "reminderLeadTimeUnitDaysBefore_many": "dni przed",
+ "reminderLeadTimeUnitDaysBefore_one": "dzień przed",
+ "reminderLeadTimeUnitDaysBefore_other": "dnia przed",
+ "reminderLeadTimeUnitHoursBefore_few": "godziny przed",
+ "reminderLeadTimeUnitHoursBefore_many": "godzin przed",
+ "reminderLeadTimeUnitHoursBefore_one": "godzinę przed",
+ "reminderLeadTimeUnitHoursBefore_other": "godziny przed",
+ "reminderLeadTimeUnitLabel": "Jednostka przypomnienia",
+ "ruleActiveDescription": "Wyłącz, aby wstrzymać ten obszar roboczy i zachować jego konfigurację.",
+ "ruleActiveLabel": "Wysyłanie",
+ "ruleChannels": "Kanały",
+ "ruleDialogDescription": "Dokąd mogą trafiać powiadomienia z tego obszaru roboczego.",
+ "ruleDialogTitle": "Powiadomienia: {{workspaceName}}",
+ "ruleProjects": "Projekty",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Zapisz",
+ "sendingDescription": "Wyłącz, aby wstrzymać ten kanał i zachować jego ustawienia.",
+ "sendingLabel": "Wysyłanie",
+ "setUp": "Skonfiguruj",
+ "setUpWorkspace": "Skonfiguruj powiadomienia dla {{workspaceName}}",
+ "someProjects": "Tylko niektóre",
+ "statusOn": "Włączone",
+ "statusSending": "Wysyłanie",
+ "stopping": "Zatrzymywanie...",
+ "stopSending": "Zatrzymaj wysyłanie",
+ "stopSendingDescription": "Powiadomienia z tego obszaru roboczego będą widoczne tylko w Kaneo.",
+ "stopSendingTitle": "Zatrzymać wysyłanie z {{workspaceName}}?",
+ "workspacesDescription": "Wybierz, które obszary robocze i projekty mogą korzystać z Twoich kanałów.",
+ "workspacesTitle": "Obszary robocze"
},
"preferences": "Preferencje",
"preferencesPage": {
- "appearanceSubtitle": "Ustawienia wyglądu i układu.",
- "appearanceTitle": "Wygląd",
+ "appearanceTitle": "Ogólne",
"assignees": "Przypisane osoby",
- "assigneesDescription": "Pokaż osoby przypisane do zadań",
"board": "Tablica",
"defaultView": "Widok domyślny",
- "defaultViewDescription": "Wybierz preferowany tryb wyświetlania zadań",
- "displayOptions": "Opcje wyświetlania",
- "displayOptionsDescription": "Wybierz informacje wyświetlane w widoku zadania",
+ "defaultViewDescription": "Widok, w którym otwierają się projekty.",
+ "displayOptions": "Szczegóły zadań",
+ "displayOptionsDescription": "Co widać na kartach i w wierszach tablic i list.",
"dueDates": "Terminy",
- "dueDatesDescription": "Wyświetlaj terminy zadań",
"firstDayOfWeek": "Pierwszy dzień tygodnia",
- "firstDayOfWeekDescription": "Wybierz dzień, od którego rozpoczynają się kalendarze i widoki tygodniowe",
+ "firstDayOfWeekDescription": "Używany w kalendarzach i selektorach dat.",
"gantt": "Wykres Gantta",
"labels": "Etykiety",
- "labelsDescription": "Pokaż etykiety i tagi zadań",
"language": "Język",
- "languageDescription": "Wybierz preferowany język interfejsu",
"list": "Lista",
"priority": "Priorytet",
- "priorityDescription": "Wyświetlaj wskaźniki priorytetu",
"selectFirstDayOfWeek": "Wybierz pierwszy dzień tygodnia",
"selectLanguage": "Wybierz język",
"selectTheme": "Wybierz motyw",
"selectViewMode": "Wybierz tryb wyświetlania",
- "sidebarDefault": "Domyślny stan paska bocznego",
- "sidebarDefaultDescription": "Domyślnie rozwijaj pasek boczny przy uruchomieniu",
- "subtitle": "Dostosuj korzystanie z Kaneo.",
+ "sidebarDefault": "Pozostaw pasek boczny otwarty",
+ "sidebarDefaultDescription": "Zaczynaj z rozwiniętym paskiem bocznym.",
+ "subtitle": "Jak Kaneo wygląda i działa dla Ciebie.",
"taskNumbers": "Numery zadań",
- "taskNumbersDescription": "Pokaż identyfikatory i numery zadań",
"theme": "Motyw",
"themeDark": "Ciemny",
- "themeDescription": "Wybierz preferowany schemat kolorów",
"themeLight": "Jasny",
- "themeSystem": "Systemowy",
+ "themeSystem": "Zgodnie z systemem",
"title": "Preferencje",
"weekStartsOnMonday": "Poniedziałek",
"weekStartsOnSaturday": "Sobota",
"weekStartsOnSunday": "Niedziela",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Pokazuj obraz ustawiony przez projekt za jego tablicą.",
+ "advancedTitle": "Zaawansowane"
},
"projectGeneral": {
"dangerZone": "Strefa niebezpieczna",
- "dangerZoneSubtitle": "Nieodwracalne i destrukcyjne działania.",
"deleteModalConfirm": "Usuń projekt",
- "deleteModalDescription": "Spowoduje to trwałe usunięcie projektu „{{name}}” oraz wszystkich jego danych. Tej operacji nie można cofnąć.",
+ "deleteModalDescription": "Projekt {{name}} i wszystkie jego zadania zostaną trwale usunięte. Tej operacji nie można cofnąć.",
"deleteModalTitle": "Usunąć projekt?",
"deleteProject": "Usuń projekt",
- "deleteProjectDescription": "Trwale usuń ten projekt",
- "descriptionHint": "Krótki opis projektu",
+ "deleteProjectDescription": "Trwale usuwa projekt {{name}} i wszystkie jego zadania.",
"descriptionLabel": "Opis",
- "descriptionPlaceholder": "Wpisz opis projektu",
- "iconHint": "Wyświetlana na pasku bocznym oraz w widokach projektu.",
+ "descriptionPlaceholder": "Do czego służy ten projekt?",
+ "iconHint": "Wyświetlana na pasku bocznym i na listach projektów.",
"iconLabel": "Ikona",
- "importExportTasks": "Importuj/Eksportuj",
- "importExportTasksDescription": "Importuj i eksportuj zadania.",
- "keyHint": "Używane w identyfikatorach zadań (np. {{slug}}-123)",
+ "keyHint": "Rozpoczyna każdy identyfikator zadania, np. {{slug}}-123.",
"keyLabel": "Klucz",
"keyPlaceholder": "PRO",
"pageTitle": "Ustawienia projektu",
"pickIconTitle": "Wybierz ikonę",
- "projectInfoSubtitle": "Skonfiguruj szczegóły i preferencje projektu.",
- "projectInfoTitle": "Informacje o projekcie",
- "projectNameHint": "Nazwa projektu",
- "projectNameLabel": "Nazwa projektu",
- "projectNamePlaceholder": "Wpisz nazwę projektu",
+ "projectInfoTitle": "Projekt",
+ "projectNameLabel": "Nazwa",
+ "projectNamePlaceholder": "Nazwa projektu",
"searchIconsPlaceholder": "Szukaj ikon...",
- "subtitle": "Zarządzaj nazwą, kluczem, ikoną i opisem projektu.",
- "title": "Ustawienia ogólne",
+ "subtitle": "Nazwa, klucz i wygląd projektu {{name}}.",
+ "title": "Ogólne",
"toastDeleted": "Projekt usunięto pomyślnie",
"toastDeleteError": "Nie udało się usunąć projektu",
- "toastUpdated": "Projekt zaktualizowano pomyślnie",
"toastUpdateError": "Nie udało się zaktualizować projektu",
"validation": {
"iconRequired": "Ikona jest wymagana",
@@ -1735,46 +1632,50 @@
"keyRequired": "Klucz jest wymagany",
"nameRequired": "Nazwa projektu jest wymagana"
},
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Obraz za tablicą. Każdy może wyłączyć tła u siebie.",
+ "backgroundUnavailable": "Przesyłanie obrazów nie jest skonfigurowane w tej instancji.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Zastąp",
+ "backgroundUpload": "Prześlij",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
- "moveModalConfirm": "Move Project",
- "moveModalDescription": "This will move the project \"{{name}}\" and all of its tasks to \"{{workspace}}\". Tasks assigned to people who aren't members of that workspace will be unassigned, and notification subscriptions for this project will be cleared.",
- "moveModalTitle": "Move Project?",
- "moveProject": "Move to workspace",
+ "moveModalConfirm": "Przenieś projekt",
+ "moveProject": "Przenieś do innego obszaru roboczego",
"moveProjectAction": "Move",
- "moveProjectDescription": "Move this project, with all of its tasks, to another workspace.",
- "moveProjectPlaceholder": "Select workspace",
+ "moveProjectDescription": "Zadania, kolumny i etykiety zostaną przeniesione razem z nim.",
+ "moveProjectPlaceholder": "Wybierz obszar roboczy",
"moveTargetsError": "Couldn't check which workspaces you can move this project to. Reload to try again.",
"toastMoved": "Project moved successfully",
"toastMovedWithUnassigned": "Project moved successfully. {{taskCount}} task(s) were unassigned.",
- "toastMoveError": "Failed to move project"
+ "toastMoveError": "Failed to move project",
+ "moveDialogDescription": "Zadania przypisane do osób spoza nowego obszaru roboczego staną się nieprzypisane, a subskrypcje powiadomień dla tego projektu zostaną wyczyszczone.",
+ "moveDialogTitle": "Przenieść do innego obszaru roboczego?",
+ "moveTargetLabel": "Obszar roboczy",
+ "moving": "Przenoszenie...",
+ "tasksTitle": "Zadania"
},
"projectIntegrations": {
"discordSectionSubtitle": "Wysyłaj aktualizacje zadań projektu na kanał Discord za pomocą webhooka.",
"discordSectionTitle": "Integracja z Discordem",
"genericWebhookSectionSubtitle": "Wysyłaj zdarzenia zadań projektu do dowolnego punktu końcowego HTTP w formacie JSON.",
- "genericWebhookSectionTitle": "Niestandardowe webhooki",
+ "genericWebhookSectionTitle": "Webhooki",
"giteaSectionSubtitle": "Synchronizuj zadania z własną instancją Gitea (zgłoszenia, pull requesty, webhooki).",
"giteaSectionTitle": "Integracja z Gitea",
"githubSectionSubtitle": "Synchronizuj zadania ze zgłoszeniami GitHub i włącz synchronizację dwukierunkową.",
"githubSectionTitle": "Integracja z GitHubem",
- "pageTitle": "Integracje projektu",
+ "pageTitle": "Integracje",
"slackSectionSubtitle": "Wysyłaj aktualizacje zadań projektu na kanał Slack za pomocą przychodzącego webhooka.",
"slackSectionTitle": "Integracja ze Slackiem",
- "subtitle": "Połącz projekt z zewnętrznymi narzędziami i usługami, aby usprawnić obieg pracy.",
+ "subtitle": "Połącz ten projekt z hostingiem kodu i czatem zespołu.",
"telegramSectionSubtitle": "Wysyłaj aktualizacje zadań projektu do czatu lub wątku w Telegramie za pomocą bota.",
"telegramSectionTitle": "Integracja z Telegramem",
- "title": "Integracje projektu",
+ "title": "Integracje",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Synchronizuj zadania z GitLab.com lub własną instancją.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Hosting kodu",
"chatTitle": "Czat i webhooki",
@@ -1789,71 +1690,56 @@
"selectProject": "Wybierz projekt"
},
"projectVisibility": {
- "copiedToast": "Skopiowano",
- "copy": "Kopiuj",
+ "copy": "Kopiuj link",
"pageTitle": "Widoczność projektu",
- "publicAccess": "Publiczny dostęp",
- "publicAccessHint": "Pozwól każdemu, kto ma adres URL, wyświetlać ten projekt",
+ "publicAccess": "Link publiczny",
+ "publicAccessHint": "Każdy, kto ma link, może wyświetlać tablicę i jej zadania, ale nie może niczego zmieniać.",
"publicUrl": "Publiczny Adres URL",
- "publicUrlHint": "Udostępnij ten link, jeśli projekt jest publiczny",
- "sectionSubtitle": "Włącz dostęp publiczny i udostępnij publiczny adres URL.",
- "sectionTitle": "Widoczność",
- "subtitle": "Określ, kto może wyświetlać projekt i uzyskać do niego dostęp.",
+ "sectionTitle": "Dostęp",
+ "subtitle": "Wybierz, kto spoza {{workspace}} może widzieć {{project}}.",
"title": "Widoczność",
"toastUpdated": "Widoczność zaktualizowano",
- "toastUpdateError": "Nie udało się zaktualizować widoczności"
+ "toastUpdateError": "Nie udało się zaktualizować widoczności",
+ "always": "Zawsze",
+ "copied": "Skopiowano",
+ "copyError": "Nie udało się skopiować linku",
+ "membersDescription": "Wszyscy w obszarze roboczym, zgodnie z uprawnieniami swojej roli.",
+ "membersTitle": "Członkowie {{workspace}}",
+ "offNote": "Po wyłączeniu link publiczny od razu przestaje działać.",
+ "on": "Włączony",
+ "openPublicPage": "Otwórz stronę publiczną",
+ "thisWorkspace": "tego obszaru roboczego"
},
"projectWorkflow": {
- "automationDescription": "Mapuj zdarzenia integracji na kolumny. Gdy wystąpi zdarzenie, powiązane zadanie zostanie przeniesione do wybranej kolumny.",
- "automationTitle": "Reguły automatyzacji",
- "columnsDescription": "Zarządzaj kolumnami wyświetlanymi na tablicy. Przeciągaj, aby zmieniać kolejność. Włącz „Kolumna ukończona” dla etapów oznaczających wykonaną pracę.",
+ "automationDescription": "Przenoś powiązane zadanie, gdy coś wydarzy się w połączonym repozytorium.",
+ "automationTitle": "Automatyzacje",
+ "columnsDescription": "Przeciągnij, aby zmienić kolejność. Zadania w kolumnie ukończonych liczą się jako ukończone.",
"columnsTitle": "Kolumny",
"pageTitle": "Ustawienia obiegu pracy",
- "subtitle": "Skonfiguruj kolumny tablicy i reguły automatyzacji dla tego projektu.",
- "title": "Obieg pracy",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "subtitle": "Kolumny na tablicy i to, co przenosi między nimi zadania.",
+ "title": "Obieg pracy"
},
"repositoryBrowser": {
- "description": "Wybierz repozytorium, w którym zainstalowano aplikację GitHub, aby włączyć synchronizację zgłoszeń.",
+ "description": "Repozytoria widoczne dla aplikacji GitHub Kaneo.",
"emptyHint": "Zainstaluj aplikację GitHub w swoich repozytoriach, aby zobaczyć je tutaj.",
- "emptyTitle": "Nie znaleziono repozytoriów",
- "footerSummary": "Repozytoria ({{repoCount}}) w instalacjach ({{installationCount}})",
+ "emptyTitle": "Brak repozytoriów",
"installGithubApp": "Zainstaluj aplikację GitHub",
- "loadError": "Nie udało się wczytać repozytoriów",
- "manageInstallations": "Zarządzaj instalacjami",
- "noSearchMatchHint": "Spróbuj zmienić kryteria wyszukiwania lub wyczyść wyszukiwanie, aby zobaczyć wszystkie repozytoria.",
- "noSearchMatchTitle": "Brak repozytoriów pasujących do wyszukiwania",
- "relativeDaysAgo": "{{count}}d temu",
- "relativeHoursAgo": "{{count}}h temu",
- "relativeJustNow": "właśnie teraz",
- "relativeMinutesAgo": "{{count}}m temu",
- "searchPlaceholder": "Szukaj repozytoriów...",
+ "loadError": "Nie udało się wczytać repozytoriów.",
+ "noSearchMatchHint": "Spróbuj innej nazwy lub wyczyść wyszukiwanie.",
+ "noSearchMatchTitle": "Brak pasujących repozytoriów",
+ "searchPlaceholder": "Szukaj repozytoriów",
"title": "Wybierz repozytorium",
"tryAgain": "Spróbuj ponownie",
- "updatedPrefix": "Zaktualizowano"
+ "emptyPageHint": "Brak na tej stronie. Wczytaj więcej, aby szukać dalej.",
+ "loadMore": "Wczytaj więcej",
+ "manageAccess": "Zarządzaj dostępem aplikacji",
+ "missingOne": "Brakuje jakiegoś?",
+ "searching": "Wyszukiwanie…",
+ "updated": "Zaktualizowano {{time}}",
+ "useRepository": "Użyj repozytorium"
},
"slackIntegration": {
- "channelHint": "Opcjonalna etykieta pomocnicza. Slack określa docelowy kanał na podstawie konfiguracji webhooka.",
- "channelLabel": "Nazwa kanału",
- "channelPlaceholder": "#aktualizacje-zespolu",
"connect": "Połącz Slack",
- "connected": "Połączono",
- "connectionHint": "Wklej adres URL przychodzącego webhooka Slack i wybierz, które zdarzenia zadań mają być publikowane.",
- "connectionTitle": "Połączenie webhooka Slack",
- "disconnect": "Rozłącz",
- "events": {
- "taskCommentCreated": "Nowe komentarze",
- "taskCreated": "Nowe zadania",
- "taskDescriptionChanged": "Zmiany opisu",
- "taskPriorityChanged": "Zmiany priorytetu",
- "taskStatusChanged": "Zmiany statusu",
- "taskTitleChanged": "Zmiany tytułu"
- },
- "eventsHint": "Wybierz, które zmiany w projekcie mają być publikowane na Slacku.",
- "eventsTitle": "Powiadomienia o zdarzeniach",
- "paused": "Wstrzymano",
- "saveChanges": "Zapisz zmiany",
"toast": {
"disabled": "Powiadomienia Slack wstrzymane",
"enabled": "Powiadomienia Slack włączone",
@@ -1867,8 +1753,7 @@
"validation": {
"webhookInvalid": "Wpisz prawidłowy adres URL webhooka Slack"
},
- "webhookHint": "Utwórz przychodzący webhook w Slacku i wklej tutaj wygenerowany adres URL.",
- "webhookLabel": "Adres URL przychodzącego webhooka",
+ "webhookHint": "Utwórz przychodzący webhook w Slacku i wklej go tutaj.",
"webhookPlaceholder": "https://hooks.slack.com/services/..."
},
"tasksImportExport": {
@@ -1888,39 +1773,24 @@
"invalidFormat": "Nieprawidłowy format pliku importu",
"noFileDropped": "Nie upuszczono pliku",
"notJsonFile": "Prześlij plik JSON",
- "selectFile": "Wybierz plik"
+ "selectFile": "Wybierz plik",
+ "export": "Eksportuj",
+ "exportDescription": "Pobierz wszystkie zadania z tego projektu jako plik.",
+ "import": "Importuj",
+ "importDescription": "Dodaj zadania z wcześniej wyeksportowanego pliku."
},
"telegramIntegration": {
"botTokenHint": "Utwórz bota za pomocą BotFather i wklej tutaj jego token.",
- "botTokenHintConfigured": "Token bota jest już skonfigurowany ({{token}}). Wpisz nowy token, aby go zastąpić.",
+ "botTokenHintConfigured": "Bieżący token: {{token}}",
"botTokenLabel": "Token bota",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
- "chatIdHint": "Wpisz identyfikator czatu Telegram lub nazwę użytkownika kanału, na którym mają być publikowane aktualizacje.",
"chatIdLabel": "ID czatu",
"chatIdPlaceholder": "-1001234567890 lub @team_updates",
- "chatLabelHint": "Opcjonalna etykieta pomocnicza wewnątrz Kaneo.",
- "chatLabelLabel": "Etykieta czatu",
+ "chatLabelLabel": "Nazwa czatu",
"chatLabelPlaceholder": "Aktualizacje zespołu",
"connect": "Połącz Telegram",
- "connected": "Połączono",
- "connectionHint": "Użyj tokenu bota Telegram i identyfikatora czatu, aby wysyłać aktualizacje zadań projektu do czatu lub wątku.",
- "connectionTitle": "Połączenie bota Telegram",
- "disconnect": "Rozłącz",
- "events": {
- "taskCommentCreated": "Nowe komentarze",
- "taskCreated": "Nowe zadania",
- "taskDescriptionChanged": "Zmiany opisu",
- "taskPriorityChanged": "Zmiany priorytetu",
- "taskStatusChanged": "Zmiany statusu",
- "taskTitleChanged": "Zmiany tytułu"
- },
- "eventsHint": "Wybierz, które zmiany w projekcie mają być publikowane na Telegramie.",
- "eventsTitle": "Powiadomienia o zdarzeniach",
- "paused": "Wstrzymano",
- "saveChanges": "Zapisz zmiany",
- "threadIdHint": "Opcjonalne. Użyj tego dla wątków na forach w grupach Telegram.",
- "threadIdLabel": "ID wątku tematu",
- "threadIdPlaceholder": "Opcjonalne ID wątku",
+ "threadIdLabel": "ID tematu",
+ "threadIdPlaceholder": "Dla tematów na forum",
"toast": {
"disabled": "Powiadomienia Telegram wstrzymane",
"enabled": "Powiadomienia Telegram włączone",
@@ -1933,49 +1803,42 @@
"validation": {
"botTokenInvalid": "Wpisz prawidłowy token bota Telegram",
"chatIdRequired": "ID czatu jest wymagane",
- "threadIdInvalid": "Wpisz prawidłowe ID wątku tematu Telegram"
- }
+ "threadIdInvalid": "Wpisz prawidłowe ID tematu"
+ },
+ "botTokenSavedPlaceholder": "Zapisano. Wklej nowy token, aby go zastąpić.",
+ "loadError": "Nie udało się wczytać ustawień Telegrama."
},
"workflowEditor": {
- "createColumnsFirst": "Najpierw utwórz kolumny, aby skonfigurować reguły automatyzacji.",
"events": {
- "branch_push": "Wypchnięcie gałęzi",
+ "branch_push": "Wypchnięto gałąź",
"issue_closed": "Zamknięto zgłoszenie",
"issue_opened": "Otwarto zgłoszenie",
"pr_merged": "Scalono pull request",
"pr_opened": "Otwarto pull request"
},
- "giteaHeading": "Gitea",
- "giteaHint": "Gdy wystąpi zdarzenie webhooka Gitea, przenieś powiązane zadanie do kolumny.",
- "githubHeading": "GitHub",
- "githubHint": "Gdy wystąpi zdarzenie GitHub, przenieś powiązane zadanie do kolumny.",
- "loading": "Ładowanie...",
- "selectColumnPlaceholder": "Wybierz kolumnę...",
"toastError": "Nie udało się zaktualizować reguły",
- "toastUpdated": "Zaktualizowano regułę obiegu pracy",
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "Połącz {{providers}} w sekcji <link>Integracje</link>, aby je również zautomatyzować.",
+ "dontMove": "Nie przenoś",
+ "emptyDescription": "Automatyzacje wymagają połączonego repozytorium GitHub, Gitea lub GitLab.",
+ "emptyTitle": "Brak połączonych repozytoriów",
+ "openIntegrations": "Otwórz integracje"
},
"workspaceGeneral": {
"dangerZone": "Strefa niebezpieczna",
- "dangerZoneSubtitle": "Nieodwracalne i destrukcyjne działania.",
"deleteModalConfirm": "Usuń obszar roboczy",
- "deleteModalDescription": "Obszar roboczy „{{name}}” i wszystkie jego dane zostaną trwale usunięte. Tej operacji nie można cofnąć.",
+ "deleteModalDescription": "Obszar roboczy {{name}} oraz wszystkie jego projekty i zadania zostaną trwale usunięte. Tej operacji nie można cofnąć.",
"deleteModalTitle": "Usunąć obszar roboczy?",
"deleteWorkspace": "Usuń obszar roboczy",
- "deleteWorkspaceDescription": "Trwale usuń ten obszar roboczy",
- "descriptionHint": "Krótki opis obszaru roboczego",
+ "deleteWorkspaceDescription": "Trwale usuwa obszar roboczy {{name}}, jego projekty i zadania.",
"descriptionLabel": "Opis",
- "descriptionPlaceholder": "Wpisz opis obszaru roboczego",
- "nameHint": "Nazwa obszaru roboczego",
- "nameLabel": "Nazwa obszaru roboczego",
+ "descriptionPlaceholder": "Nad czym pracuje Twój zespół?",
+ "nameLabel": "Nazwa",
"namePlaceholder": "Wpisz nazwę obszaru roboczego",
"pageTitle": "Ustawienia ogólne",
- "subtitle": "Zarządzaj nazwą i opisem obszaru roboczego.",
- "title": "Ustawienia ogólne",
+ "subtitle": "Nazwa obszaru roboczego {{name}} i jego właściciel.",
+ "title": "Ogólne",
"toastDeleted": "Obszar roboczy usunięto pomyślnie",
"toastDeleteError": "Nie udało się usunąć obszaru roboczego",
- "toastUpdated": "Obszar roboczy zaktualizowano pomyślnie",
"toastUpdateError": "Nie udało się zaktualizować obszaru roboczego",
"transferOwnership": {
"button": "Przenieś",
@@ -1983,10 +1846,9 @@
"dialogDescription": "{{name}} zostanie jedynym właścicielem {{workspace}}. Zachowasz dostęp administratora, ale utracisz uprawnienia właściciela, takie jak usuwanie obszaru roboczego lub ponowne przekazanie własności.",
"dialogTitle": "Przenieść własność?",
"noEligibleMembers": "Zaproś co najmniej jednego innego członka, zanim przekażesz własność.",
- "pickerHint": "Ta osoba zostanie jedynym właścicielem tego obszaru roboczego.",
+ "pickerHint": "Nowy właściciel przejmie obszar roboczy. Ty pozostaniesz administratorem.",
"pickerLabel": "Nowy właściciel",
"pickerPlaceholder": "Wybierz członka",
- "subtitle": "Przekaż ten obszar roboczy innemu członkowi. Otrzymasz rolę administratora i utracisz uprawnienia właściciela.",
"title": "Przenieś własność",
"toastError": "Nie udało się przekazać własności",
"toastSuccess": "Przekazano własność",
@@ -1996,35 +1858,46 @@
"nameRequired": "Nazwa obszaru roboczego jest wymagana",
"nameShort": "Nazwa obszaru roboczego musi mieć co najmniej 2 znaki"
},
- "workspaceInfoSubtitle": "Skonfiguruj szczegóły i preferencje obszaru roboczego.",
- "workspaceInfoTitle": "Informacje o obszarze roboczym"
+ "workspaceInfoTitle": "Obszar roboczy",
+ "ownershipSubtitle": "Widzi to tylko właściciel.",
+ "ownershipTitle": "Własność"
},
"workspaceLabels": {
- "cardDescription": "Zarządzaj etykietami, które można przypisywać do zadań.",
"colorLabel": "Kolor",
- "createDescription": "Utwórz nową etykietę, której można używać w zadaniach tego obszaru roboczego.",
+ "createDescription": "Projekty w tym obszarze roboczym mogą dodawać ją do swoich zadań.",
"createError": "Nie udało się utworzyć etykiety",
"createLabel": "Utwórz etykietę",
"createSuccess": "Utworzono etykietę",
- "deleteConfirmDescription": "Ta etykieta zostanie trwale usunięta ze wszystkich zadań. Tej operacji nie można cofnąć.",
- "deleteConfirmTitle": "Usunąć tę etykietę?",
+ "deleteConfirmDescription": "Etykieta zostanie usunięta ze wszystkich zadań, które jej używają. Tej operacji nie można cofnąć.",
+ "deleteConfirmTitle": "Usunąć „{{name}}”?",
"deleteError": "Nie udało się usunąć etykiety",
- "deleteLabel": "Usuń",
+ "deleteLabel": "Usuń etykietę",
"deleteSuccess": "Usunięto etykietę",
- "editDescription": "Zaktualizuj nazwę lub kolor tej etykiety.",
+ "editDescription": "Zmiany pojawią się w każdym zadaniu z tą etykietą.",
"editLabel": "Edytuj etykietę",
- "empty": "Brak etykiet. Utwórz pierwszą, aby rozpocząć.",
- "nameLabel": "Nazwa etykiety",
- "namePlaceholder": "Wpisz nazwę etykiety",
+ "nameLabel": "Nazwa",
+ "namePlaceholder": "Nazwa etykiety",
"nameRequired": "Nazwa etykiety jest wymagana",
- "pageTitle": "Ustawienia etykiet",
+ "pageTitle": "Etykiety",
"saveLabel": "Zapisz",
- "subtitle": "Twórz, edytuj i usuwaj etykiety na poziomie obszaru roboczego.",
+ "subtitle": "Etykiety są wspólne dla wszystkich projektów w tym obszarze roboczym.",
"title": "Etykiety",
"updateError": "Nie udało się zaktualizować etykiety",
"updateSuccess": "Zaktualizowano etykietę",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Usuwanie z zadań…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Edytuj {{name}}",
+ "emptyDescription": "Dodaj etykiety, aby sortować i filtrować zadania we wszystkich projektach.",
+ "emptyTitle": "Brak etykiet",
+ "loadError": "Nie udało się wczytać etykiet. Spróbuj ponownie.",
+ "newLabel": "Nowa etykieta",
+ "preview": "W zadaniu",
+ "previewPlaceholder": "Etykieta",
+ "resume": "Wznów",
+ "rowActions": "Akcje dla {{name}}",
+ "sectionDescription": "Zmiana nazwy lub koloru etykiety aktualizuje każde zadanie, które jej używa.",
+ "sectionTitle": "Etykiety obszaru roboczego",
+ "subtitleWithWorkspace": "Etykiety są wspólne dla wszystkich projektów w {{workspaceName}}."
},
"workspaceRoles": {
"allChangesSaved": "Wszystkie zmiany zostały zapisane",
@@ -2237,26 +2110,7 @@
}
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -2270,58 +2124,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Utwórz przychodzący webhook w Mattermost i wklej go tutaj.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Pole wyboru",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Lista rozwijana, wiele opcji"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Wyczyść wartość domyślną",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Akcje dla {{name}}",
+ "addOption": "Dodaj opcję",
+ "allowSeveral": "Zezwalaj na wiele",
+ "allowSeveralDescription": "Zadanie może mieć więcej niż jedną opcję.",
+ "checked": "Zaznaczone",
+ "createField": "Utwórz pole",
+ "defaultDescription": "Nowe zadania zaczynają z tą wartością.",
+ "deleteConfirm": "Usuń pole",
+ "deleteDescription": "Pole i jego wartość zostaną usunięte ze wszystkich zadań. Tej operacji nie można cofnąć.",
+ "deleteTitle": "Usunąć „{{name}}”?",
+ "dialogDescription": "Każde zadanie w {{project}} otrzyma to pole.",
+ "dialogDescriptionFallback": "Każde zadanie w tym projekcie otrzyma to pole.",
+ "dragAria": "Zmień kolejność: {{name}}",
+ "dragOptionAria": "Zmień kolejność: {{option}}",
+ "edit": "Edytuj",
+ "editTitle": "Edytuj pole",
+ "emptyDescription": "Śledź w każdym zadaniu takie informacje jak rozmiar, klient czy data premiery.",
+ "emptyTitle": "Brak pól niestandardowych",
+ "issues": {
+ "defaultRequired": "Pola wymagane muszą mieć wartość domyślną.",
+ "moreOptionsRequired": "Dodaj co najmniej dwie opcje, aby zezwolić na wiele.",
+ "optionsRequired": "Dodaj co najmniej jedną opcję."
+ },
+ "nameLabel": "Nazwa",
+ "newTitle": "Nowe pole",
+ "noDefault": "Brak wartości domyślnej",
+ "optionsLabel": "Opcje",
+ "removeOptionAria": "Usuń: {{option}}",
+ "renameOptionAria": "Zmień nazwę: {{option}}",
+ "requiredDescription": "Każde zadanie zawsze ma wartość.",
+ "save": "Zapisz",
+ "saving": "Zapisywanie...",
+ "startsAs": "Domyślnie „{{value}}”",
+ "startsAt": "Domyślnie {{value}}",
+ "startsChecked": "Domyślnie zaznaczone",
+ "startsOn": "Domyślnie {{date}}",
+ "startsUnchecked": "Domyślnie odznaczone",
+ "typeLabel": "Typ",
+ "typeLocked": "Po utworzeniu pola nie można zmienić jego typu.",
+ "unchecked": "Odznaczone",
+ "updateError": "Nie udało się zapisać pola niestandardowego.",
+ "updateSuccess": "Zapisano pole niestandardowe."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Dezaktywuj",
+ "edit": "Edytuj",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Aktywuj ponownie"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Rola",
"status": "Status",
"user": "User"
},
@@ -2343,7 +2229,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Wszyscy użytkownicy",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -2356,7 +2242,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -2364,7 +2249,7 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Administrator",
"user": "User"
},
"searchCount_few": "{{count}} matching users",
@@ -2372,13 +2257,13 @@
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Szukaj po nazwie lub adresie e-mail",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Wszyscy, którzy mają konto w tej instancji Kaneo.",
+ "title": "Użytkownicy",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -2387,11 +2272,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_few": "{{count}} registered users",
- "userCount_many": "{{count}} registered users",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Ty"
},
"security": "Security",
"securityPage": {
@@ -2406,11 +2287,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Logowanie",
+ "submit": "Zmień hasło",
+ "submitting": "Zmienianie...",
+ "subtitle": "Jak logujesz się do Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -2420,94 +2300,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Zmień hasło",
+ "dialogDescription": "Co najmniej 8 znaków, inne niż obecne hasło.",
+ "dialogTitle": "Zmień hasło",
+ "passwordHint": "Użyj co najmniej 8 znaków, których nie używasz nigdzie indziej.",
+ "passwordTitle": "Hasło"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Projekty, których członkiem jest Twój token.",
+ "browseNeedsCredentials": "Wpisz adres URL GitLab i token, aby przeglądać.",
+ "commentTaskLinkHint": "Aby osoby w GitLabie mogły przejść do zadania.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Zaimportuj otwarte zgłoszenia i merge requesty jako zadania.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Szukaj projektów",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Dodaj ten webhook w ustawieniach projektu, aby zmiany wracały do Kaneo.",
+ "loadProjectsError": "Nie udało się wczytać projektów.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Ten token nie jest członkiem żadnych projektów.",
+ "chooseProjectDescription": "Wpisz jego ścieżkę lub wybierz z listy.",
+ "noSearchMatchTitle": "Brak pasujących projektów",
+ "useProject": "Użyj projektu",
+ "webhookEvents": "Włącz zdarzenia push, zgłoszeń, komentarzy i merge requestów."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Uwzględnij tylko etykiety",
+ "selectLabels": "Dodaj etykietę",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -2515,20 +2362,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Kanały",
+ "allScheduledTasks": "Wszystkie zaplanowane zadania",
+ "subscribeHint": "Dodaj link do aplikacji kalendarza jako subskrypcję. Zmiany pojawią się, gdy aplikacja odświeży kanał.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Skopiowano",
+ "dialogDescription": "Zadania z datą rozpoczęcia lub terminem pojawią się w kanale.",
+ "dialogTitle": "Nowy kanał kalendarza",
+ "emptyDescription": "Utwórz kanał, aby widzieć zaplanowane zadania w aplikacji kalendarza.",
+ "emptyTitle": "Brak kanałów kalendarza",
+ "feedActions": "Akcje kanału",
+ "labelsHint": "Pozostaw puste, aby uwzględnić wszystkie zaplanowane zadania.",
+ "newFeed": "Nowy kanał",
+ "revokeConfirm": "Unieważnij kanał",
+ "revokeConfirmDescription": "Aplikacje kalendarza korzystające z tego linku przestaną otrzymywać aktualizacje. Tej operacji nie można cofnąć.",
+ "revokeConfirmTitle": "Unieważnić ten kanał?",
+ "revoking": "Unieważnianie…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -2540,7 +2396,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -2573,7 +2428,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -2584,7 +2438,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Faktury, metoda płatności i anulowanie są obsługiwane w Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -2610,16 +2464,16 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Twój plan dla {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_few": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_many": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_few": "Zostały {{count}} dni",
+ "badgeDaysLeft_many": "Zostało {{count}} dni",
+ "badgeDaysLeft_one": "Został {{count}} dzień",
+ "badgeDaysLeft_other": "Zostało {{count}} dnia"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2640,15 +2494,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2665,10 +2516,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_few": "{{count}} paused links",
- "pausedCount_many": "{{count}} paused links",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2687,16 +2534,31 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Co jest synchronizowane",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Wszystkie zgłoszenia",
+ "allTasks": "Wszystkie zadania",
+ "edit": "Edytuj",
+ "hidePaused": "Ukryj",
+ "issuesLabelled": "Zgłoszenia z etykietą",
+ "joinAnd": "i",
+ "joinOr": "lub",
+ "kaneoToProvider": "Z Kaneo do {{provider}}",
+ "pausedSummary_few": "{{count}} zadania przestały się synchronizować, ponieważ nie pasują już do reguł synchronizacji.",
+ "pausedSummary_many": "{{count}} zadań przestało się synchronizować, ponieważ nie pasują już do reguł synchronizacji.",
+ "pausedSummary_one": "{{count}} zadanie przestało się synchronizować, ponieważ nie pasuje już do reguł synchronizacji.",
+ "pausedSummary_other": "{{count}} zadania przestało się synchronizować, ponieważ nie pasują już do reguł synchronizacji.",
+ "providerToKaneo": "Z {{provider}} do Kaneo",
+ "reviewPaused": "Przejrzyj",
+ "tasksLabelled": "Zadania z etykietą"
+ },
+ "advancedSettingsDescription": "Pokazuje dodatkowe opcje, np. reguły synchronizacji integracji. Tylko w tej przeglądarce.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2733,23 +2595,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Wszystkie obszary robocze",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_few": "{{count}} members",
"count_many": "{{count}} members",
"count_one": "{{count}} member",
@@ -2774,9 +2628,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Szukaj po nazwie lub slugu",
+ "subtitle": "Wszystkie obszary robocze w tej instancji Kaneo, również te, do których nie należysz.",
+ "title": "Obszary robocze",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2786,11 +2640,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_few": "{{count}} workspaces",
- "workspaceCount_many": "{{count}} workspaces",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -3107,6 +2957,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Wyłącz, aby wstrzymać bez utraty konfiguracji.",
+ "activeTitle": "Publikowanie w {{provider}}",
+ "channelHint": "To tylko nazwa widoczna na tej liście.",
+ "channelLabel": "Kanał",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Rozłącz",
+ "disconnectDescription": "Kaneo przestanie publikować w {{provider}} i usunie zapisane ustawienia.",
+ "disconnecting": "Rozłączanie…",
+ "disconnectTitle": "Rozłączyć {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Ktoś doda komentarz",
+ "taskCreated": "Zadanie zostanie utworzone",
+ "taskDescriptionChanged": "Zmieni się opis",
+ "taskPriorityChanged": "Zmieni się priorytet",
+ "taskStatusChanged": "Zmieni się status",
+ "taskTitleChanged": "Zmieni się tytuł"
+ },
+ "optional": "Opcjonalne",
+ "postWhen": "Publikuj, gdy",
+ "retry": "Spróbuj ponownie",
+ "saveChanges": "Zapisz zmiany",
+ "savedUrlPlaceholder": "Zapisano. Wklej nowy adres URL, aby go zastąpić.",
+ "webhookUrlLabel": "Adres URL webhooka"
+ },
+ "codeHosting": {
+ "browse": "Przeglądaj",
+ "changeToken": "Zmień token",
+ "checking": "Sprawdzanie dostępu…",
+ "chooseProjectTitle": "Wybierz projekt",
+ "chooseRepositoryTitle": "Wybierz repozytorium",
+ "connectProject": "Połącz projekt",
+ "connectRepository": "Połącz repozytorium",
+ "copied": "Skopiowano",
+ "copyFailed": "Nie udało się skopiować do schowka.",
+ "copySecret": "Kopiuj sekret",
+ "copyUrl": "Kopiuj adres URL webhooka",
+ "disconnect": "Rozłącz",
+ "disconnectDescription": "Zadania przestaną się synchronizować z {{target}}. Możesz później połączyć je ponownie.",
+ "disconnecting": "Rozłączanie…",
+ "disconnectTitle": "Rozłączyć {{provider}}?",
+ "hideSecret": "Ukryj sekret",
+ "importing": "Importowanie…",
+ "importIssues": "Importuj zgłoszenia",
+ "importNeedsReconnect": "Połącz ponownie, aby włączyć importowanie.",
+ "importTitle": "Importuj otwarte zgłoszenia",
+ "issuesSection": "Zgłoszenia",
+ "lastImport": "Ostatni import: utworzono {{imported}}, zaktualizowano {{updated}}, pominięto {{skipped}}.",
+ "loadError": "Nie udało się wczytać tej integracji.",
+ "pausedHint": "Synchronizacja jest wstrzymana. Połącz ponownie, aby ją wznowić.",
+ "projectSection": "Projekt",
+ "reconnect": "Połącz ponownie",
+ "repositoryPathInvalid": "Podaj repozytorium w formacie owner/name.",
+ "repositoryPathLabel": "Repozytorium",
+ "repositorySection": "Repozytorium",
+ "retry": "Spróbuj ponownie",
+ "saveToken": "Zapisz token",
+ "showSecret": "Pokaż sekret",
+ "signInDescription": "Użyj tokenu, który może odczytać projekt i jego zgłoszenia.",
+ "signInTitle": "Zaloguj się do swojej instancji",
+ "tokenStored": "Zapisany token",
+ "tokenTitle": "Token dostępu",
+ "webhookSecret": "Sekret",
+ "webhookSection": "Webhook",
+ "webhookUrl": "Adres URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Przeciągnij, aby zmienić kolejność wyświetlania w zadaniu.",
+ "fieldsTitle": "Pola",
+ "newField": "Nowe pole",
+ "pageTitle": "Pola niestandardowe",
+ "subtitle": "Dodatkowe informacje, które może śledzić każde zadanie w {{project}}, np. rozmiar lub klient.",
+ "subtitleFallback": "Dodatkowe informacje, które może śledzić każde zadanie w tym projekcie, np. rozmiar lub klient.",
+ "title": "Pola niestandardowe"
+ },
+ "shared": {
+ "autosave": "Zmiany zapisują się automatycznie"
}
},
"tasks": {
diff --git a/i18n/pt-BR.json b/i18n/pt-BR.json
index b89f7a6da..0f9d6dd10 100644
--- a/i18n/pt-BR.json
+++ b/i18n/pt-BR.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Nunca"
- },
"modals": {
"createProject": {
"title": "Criar um novo projeto",
@@ -571,37 +568,32 @@
"advancedSettings": "Configurações avançadas",
"account": "Conta",
"developer": "Desenvolvedor",
- "information": "Informações",
+ "information": "Perfil",
"notifications": "Notificações",
"preferences": "Preferências",
"apiKeys": "Chaves de API",
"informationPage": {
- "pageTitle": "Informações pessoais",
- "title": "Informações pessoais",
- "subtitle": "Gerencie seus dados pessoais e informações da conta.",
- "sectionTitle": "Informações da conta",
- "sectionSubtitle": "Gerencie seu perfil e os detalhes da conta.",
+ "pageTitle": "Perfil",
+ "title": "Perfil",
+ "subtitle": "Como você aparece para seus colegas de equipe.",
+ "sectionTitle": "Detalhes",
"profilePicture": "Foto de perfil",
- "fullName": "Nome completo",
+ "fullName": "Nome",
"fullNamePlaceholder": "Digite seu nome",
"email": "E-mail",
- "emailPlaceholder": "Digite seu e-mail",
- "updateSuccess": "Perfil atualizado com sucesso",
"updateError": "Falha ao atualizar perfil",
"validation": {
"nameRequired": "O nome é obrigatório",
- "nameShort": "O nome deve ter pelo menos 2 caracteres",
- "invalidEmail": "Endereço de e-mail inválido"
+ "nameShort": "O nome deve ter pelo menos 2 caracteres"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Imagens quadradas ficam melhores.",
+ "remove": "Remover",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Enviar"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -610,39 +602,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Você entra com este endereço."
},
"notificationsPage": {
"pageTitle": "Notificações",
"title": "Notificações",
- "subtitle": "Escolha como o Kaneo entrega as notificações da sua conta e quais canais usar.",
+ "subtitle": "Sobre o que o Kaneo avisa você e onde você recebe os avisos.",
"statusConnected": "Conectado",
"statusPaused": "Pausado",
"emailTitle": "E-mail",
- "emailDescription": "Use o e-mail da sua conta como destino das notificações.",
- "accountEmailLabel": "E-mail da conta",
"accountEmailNoAddress": "Nenhum e-mail de conta disponível",
- "accountEmailHint": "O envio por e-mail sempre vai para o e-mail da conta conectada.",
"saveChanges": "Salvar alterações",
"disconnect": "Desconectar",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Publique notificações da conta em um tópico do ntfy.",
+ "ntfyDescription": "Publique em um tópico do ntfy no seu celular ou computador.",
"serverUrl": "URL do servidor",
"topic": "Tópico",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.exemplo.com",
"ntfyTopicPlaceholder": "alertas-equipe",
- "ntfyTokenPlaceholder": "Token de portador opcional",
+ "ntfyTokenPlaceholder": "Só se o seu servidor exigir um",
"ntfyTokenHintConfigured": "Um token já está configurado ({{masked}}). Digite um novo token para substituí-lo.",
- "ntfyTokenHintOptional": "Opcional. Forneça um token se o seu servidor ntfy exigir autenticação.",
+ "ntfyTokenHintOptional": "Use um se o seu servidor ntfy exigir autenticação.",
"connectNtfy": "Conectar ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Envie notificações da conta para o seu servidor Gotify.",
+ "gotifyDescription": "Envie notificações para o seu servidor Gotify.",
"gotifyTokenLabel": "Token do app",
"gotifyServerPlaceholder": "https://gotify.exemplo.com",
"gotifyTokenPlaceholder": "Token do app Gotify",
@@ -650,52 +639,26 @@
"gotifyTokenHintRequired": "Obrigatório. Use um token de aplicativo do seu servidor Gotify.",
"connectGotify": "Conectar Gotify",
"webhookTitle": "Webhook personalizado",
- "webhookDescription": "Envie notificações da conta para seu próprio endpoint como JSON.",
+ "webhookDescription": "Envie cada notificação para o seu próprio endpoint como JSON.",
"endpointUrl": "URL do endpoint",
"signingSecret": "Segredo de assinatura",
"webhookUrlPlaceholder": "https://exemplo.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Segredo compartilhado opcional",
"webhookSecretHintConfigured": "Um segredo de assinatura já está configurado ({{masked}}). Digite um novo para substituí-lo.",
- "webhookSecretHintOptional": "Opcional. O Kaneo assina o corpo da requisição quando um segredo é definido.",
+ "webhookSecretHintOptional": "O Kaneo assina o corpo da requisição quando um segredo é definido.",
"connectWebhook": "Conectar webhook",
- "workspaceRulesTitle": "Regras de envio do espaço de trabalho",
- "workspaceRulesDescription": "Reutilize seus canais globais e decida quais espaços de trabalho e projetos podem enviar notificações da conta.",
- "workspaceCardHint": "Escolha quais canais este espaço de trabalho pode usar para notificações da conta.",
- "workspaceEnabledLabel": "Ativar notificações para {{workspaceName}}",
"eventPreferencesTitle": "Notificar sobre",
- "eventPreferencesDescription": "Escolha quais eventos de tarefa criam notificações no aplicativo e podem ser entregues aos seus canais conectados.",
- "eventTaskAssignments": "Atribuições de tarefas",
+ "eventPreferencesDescription": "Seus próprios comentários, menções e mudanças de status nunca notificam você.",
+ "eventTaskAssignments": "Atribuições",
"eventComments": "Comentários e menções",
- "eventCommentsHint": "Inclui novos comentários em tarefas atribuídas a você e menções diretas com @.",
- "eventStatusChanges": "Mudanças de status da tarefa",
+ "eventCommentsHint": "Novos comentários nas suas tarefas e qualquer pessoa que @mencionar você.",
+ "eventStatusChanges": "Mudanças de status",
"eventDueDateReminders": "Lembretes de vencimento",
"reminderLeadTimeLabel": "Avisar antes da data de vencimento",
- "reminderLeadTimeHint": "Entre 1 hora e 30 dias antes. Notificações de atraso são enviadas separadamente.",
- "reminderLeadTimeUnitHours": "Horas",
- "reminderLeadTimeUnitDays": "Dias",
"reminderLeadTimeInvalid": "Digite um número inteiro entre 1 e {{max}}.",
"saveEventPreferences": "Salvar tipos de notificação",
- "workspaceCardLabelEmail": "E-mail",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Webhook personalizado",
- "emailChannelHintEnabled": "Enviar notificações correspondentes do espaço de trabalho por e-mail.",
- "emailChannelHintDisabled": "Configure e ative o e-mail globalmente primeiro.",
- "ntfyChannelHintEnabled": "Enviar notificações correspondentes do espaço de trabalho para o ntfy.",
- "ntfyChannelHintDisabled": "Configure e ative o ntfy globalmente primeiro.",
- "gotifyChannelHintEnabled": "Enviar notificações correspondentes do espaço de trabalho para o Gotify.",
- "gotifyChannelHintDisabled": "Configure e ative o Gotify globalmente primeiro.",
- "webhookChannelHintEnabled": "Enviar notificações correspondentes do espaço de trabalho para o seu webhook.",
- "webhookChannelHintDisabled": "Configure e ative o webhook globalmente primeiro.",
- "projectScope": "Escopo do projeto",
- "projectScopeDescription": "Todos os projetos são incluídos por padrão. Restrinja se este espaço de trabalho deve enviar notificações apenas de projetos selecionados.",
"allProjects": "Todos os projetos",
- "allProjectsDescription": "Entregar notificações de todos os projetos deste espaço de trabalho.",
- "selectedProjects": "Projetos selecionados",
- "selectedProjectsDescription": "Entregar notificações somente dos projetos escolhidos.",
"noProjectsInWorkspace": "Ainda não há projetos disponíveis para este espaço de trabalho.",
- "createRule": "Criar regra",
- "removeRule": "Remover regra",
"toastEmailSaved": "Configurações de notificação por e-mail salvas",
"toastEmailSaveFailed": "Falha ao salvar configurações de e-mail",
"toastNtfySaved": "Configurações do ntfy salvas",
@@ -718,137 +681,167 @@
"toastPreferencesSaveFailed": "Falha ao salvar preferências de notificação",
"toastRuleSavedGeneric": "Regra de notificação do espaço de trabalho salva",
"toastRuleRemovedGeneric": "Regra de notificação do espaço de trabalho removida",
- "recipientHint": "Comentários e alterações de status notificam você sobre tarefas atribuídas a você. Menções notificam o membro selecionado. Seus próprios comentários, menções e alterações de status não enviam notificações a você."
+ "channelNotConnected": "Não conectado",
+ "channelOff": "Desativado",
+ "channelsDescription": "As notificações sempre aparecem no Kaneo. Conecte um canal para recebê-las em outro lugar também.",
+ "channelsTitle": "Canais",
+ "configure": "Configurar",
+ "configureChannel": "Configurar {{channel}}",
+ "configureWorkspace": "Configurar notificações de {{workspaceName}}",
+ "connect": "Conectar",
+ "connectChannel": "Conectar {{channel}}",
+ "disconnectDescription": "As notificações deixam de ir para {{channel}} e as configurações salvas são removidas.",
+ "disconnecting": "Desconectando...",
+ "disconnectTitle": "Desconectar {{channel}}?",
+ "done": "Concluído",
+ "emailToggleLabel": "Enviar notificações por e-mail",
+ "eventDueDateRemindersHint": "Antes do vencimento de uma das suas tarefas. Tarefas atrasadas notificam você separadamente.",
+ "eventStatusChangesHint": "Quando uma das suas tarefas vai para outra coluna.",
+ "eventTaskAssignmentsHint": "Quando alguém atribui uma tarefa a você.",
+ "loadFailed": "Não foi possível carregar as configurações de notificação.",
+ "onlyInKaneo": "Só no Kaneo",
+ "optional": "Opcional",
+ "projectCount_many": "{{count}} projetos",
+ "projectCount_one": "{{count}} projeto",
+ "projectCount_other": "{{count}} projetos",
+ "reminderLeadTimeUnitDaysBefore_many": "dias antes",
+ "reminderLeadTimeUnitDaysBefore_one": "dia antes",
+ "reminderLeadTimeUnitDaysBefore_other": "dias antes",
+ "reminderLeadTimeUnitHoursBefore_many": "horas antes",
+ "reminderLeadTimeUnitHoursBefore_one": "hora antes",
+ "reminderLeadTimeUnitHoursBefore_other": "horas antes",
+ "reminderLeadTimeUnitLabel": "Unidade do lembrete",
+ "ruleActiveDescription": "Desative para pausar este espaço de trabalho e manter a configuração.",
+ "ruleActiveLabel": "Enviando",
+ "ruleChannels": "Canais",
+ "ruleDialogDescription": "Para onde as notificações deste espaço de trabalho podem ir.",
+ "ruleDialogTitle": "Notificações de {{workspaceName}}",
+ "ruleProjects": "Projetos",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Salvar",
+ "sendingDescription": "Desative para pausar este canal e manter as configurações.",
+ "sendingLabel": "Enviando",
+ "setUp": "Configurar",
+ "setUpWorkspace": "Configurar notificações para {{workspaceName}}",
+ "someProjects": "Apenas alguns",
+ "statusOn": "Ativado",
+ "statusSending": "Enviando",
+ "stopping": "Parando...",
+ "stopSending": "Parar de enviar",
+ "stopSendingDescription": "As notificações deste espaço de trabalho só aparecerão no Kaneo.",
+ "stopSendingTitle": "Parar de enviar de {{workspaceName}}?",
+ "workspacesDescription": "Escolha quais espaços de trabalho e projetos podem usar seus canais.",
+ "workspacesTitle": "Espaços de trabalho"
},
"preferencesPage": {
"title": "Preferências",
- "subtitle": "Personalize sua experiência no Kaneo.",
- "appearanceTitle": "Aparência",
- "appearanceSubtitle": "Configurações visuais e preferências de layout.",
+ "subtitle": "Como o Kaneo aparece e funciona para você.",
+ "appearanceTitle": "Geral",
"theme": "Tema",
- "themeDescription": "Escolha seu esquema de cores preferido",
"selectTheme": "Selecione um tema",
"themeLight": "Claro",
"themeDark": "Escuro",
- "themeSystem": "Sistema",
+ "themeSystem": "Igual ao sistema",
"language": "Idioma",
- "languageDescription": "Escolha o idioma preferido da interface",
"selectLanguage": "Selecione um idioma",
"firstDayOfWeek": "Primeiro dia da semana",
- "firstDayOfWeekDescription": "Escolha em qual dia os calendários e intervalos semanais começam",
+ "firstDayOfWeekDescription": "Usado em calendários e seletores de data.",
"selectFirstDayOfWeek": "Selecione o primeiro dia",
"weekStartsOnSunday": "Domingo",
"weekStartsOnMonday": "Segunda-feira",
"weekStartsOnSaturday": "Sábado",
"defaultView": "Visualização padrão",
- "defaultViewDescription": "Escolha o modo de visualização de tarefas preferido",
+ "defaultViewDescription": "A visualização em que os projetos abrem.",
"selectViewMode": "Selecione um modo de visualização",
"board": "Quadro",
"list": "Lista",
"gantt": "Gantt",
- "sidebarDefault": "Barra lateral padrão",
- "sidebarDefaultDescription": "Manter a barra lateral expandida ao iniciar",
- "displayOptions": "Opções de exibição",
- "displayOptionsDescription": "Escolha quais informações mostrar nas visualizações de tarefas",
+ "sidebarDefault": "Manter a barra lateral aberta",
+ "sidebarDefaultDescription": "Começar com a barra lateral expandida.",
+ "displayOptions": "Detalhes da tarefa",
+ "displayOptionsDescription": "O que aparece nos cartões e linhas dos seus quadros e listas.",
"taskNumbers": "Números das tarefas",
- "taskNumbersDescription": "Mostrar IDs e números das tarefas",
"assignees": "Responsáveis",
- "assigneesDescription": "Mostrar quem está atribuído às tarefas",
"dueDates": "Datas de vencimento",
- "dueDatesDescription": "Exibir prazos das tarefas",
"labels": "Etiquetas",
- "labelsDescription": "Mostrar etiquetas e marcadores das tarefas",
"priority": "Prioridade",
- "priorityDescription": "Exibir indicadores de prioridade",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Mostrar a imagem que um projeto define atrás do quadro.",
+ "advancedTitle": "Avançado"
},
"developerPage": {
- "pageTitle": "Configurações de desenvolvedor",
- "title": "Configurações de desenvolvedor",
- "subtitle": "Gerencie suas chaves de API e recursos de desenvolvedor.",
- "apiKeysCardTitle": "Chaves de API",
- "apiKeysCardDescription": "Crie e gerencie chaves de API para acesso programático ao Kaneo.",
- "createApiKey": "Criar chave de API",
- "unnamedKey": "Chave sem nome"
+ "pageTitle": "Chaves de API",
+ "title": "Chaves de API",
+ "subtitle": "Permita que scripts, a CLI e clientes MCP usem o Kaneo como você.",
+ "unnamedKey": "Sem nome",
+ "emptyDescription": "Crie uma chave para usar a CLI, um cliente MCP ou seus próprios scripts.",
+ "emptyTitle": "Nenhuma chave de API ainda",
+ "keysNote": "Uma chave pode fazer tudo o que você pode. Exclua as chaves que não usa mais.",
+ "keysTitle": "Chaves",
+ "loadError": "Não foi possível carregar as chaves de API. Tente novamente.",
+ "newKey": "Nova chave"
},
"apiKey": {
"createdModal": {
- "title": "Chave de API criada",
- "description": "Sua chave de API \"{{keyName}}\" foi criada com sucesso.",
- "yourApiKey": "Sua chave de API",
+ "title": "Copie sua chave",
+ "description": "Você não poderá vê-la novamente depois de fechar isto.",
"copy": "Copiar",
"copied": "Copiado",
- "toastCopied": "Chave de API copiada para a área de transferência",
- "alertTitle": "Sucesso! Sua chave de API foi criada",
- "alertDescription": "Copie esta chave agora. Você não poderá vê-la novamente.",
"done": "Concluído",
- "copyToContinue": "Copie a chave para continuar"
+ "copyError": "Não foi possível copiar a chave. Selecione-a e copie manualmente."
},
"table": {
- "loading": "Carregando chaves de API...",
- "empty": "Ainda não há chaves de API. Crie uma para começar.",
- "columnName": "Nome",
- "columnKey": "Chave",
- "columnCreated": "Criada",
- "columnExpires": "Expira",
- "columnActions": "Ações",
- "unnamedKey": "Chave sem nome",
- "expiredBadge": "Expirada {{label}}",
- "deleteConfirmTitle": "Excluir chave de API?",
- "deleteConfirmDescription": "Esta ação não pode ser desfeita. Isso excluirá permanentemente {{name}}.",
- "deleteFallbackName": "esta chave de API",
- "delete": "Excluir",
- "deleting": "Excluindo...",
- "deleteAria": "Excluir {{name}}",
- "deleteAriaFallback": "chave de API",
- "toastDeleted": "Chave de API excluída com sucesso",
- "toastDeleteError": "Falha ao excluir chave de API"
+ "deleteConfirmTitle": "Excluir “{{name}}”?",
+ "deleteConfirmDescription": "Tudo o que usa esta chave para de funcionar. Isso não pode ser desfeito.",
+ "delete": "Excluir chave",
+ "deleting": "Excluindo…",
+ "toastDeleted": "Chave de API excluída",
+ "toastDeleteError": "Não foi possível excluir a chave de API"
},
"createDialog": {
- "title": "Criar chave de API",
- "description": "Crie uma nova chave de API para acessar a API do Kaneo de forma programática.",
+ "title": "Nova chave de API",
+ "description": "A chave pode fazer tudo o que você pode.",
"nameLabel": "Nome",
"namePlaceholder": "Minha chave de API",
- "nameDescription": "Um nome descritivo para esta chave de API",
- "expirationLabel": "Expiração",
- "expirationPlaceholder": "Selecionar expiração",
- "expirationDescription": "Escolha por quanto tempo esta chave de API deve permanecer válida. \"Nunca\" criará uma chave sem expiração automática.",
+ "nameDescription": "Para você lembrar onde ela é usada.",
+ "expirationLabel": "Expira",
"expiration1d": "1 dia",
"expiration7d": "7 dias",
"expiration30d": "30 dias",
"expiration90d": "90 dias",
"expirationNever": "Nunca",
- "create": "Criar",
- "creating": "Criando...",
- "failedCreate": "Falha ao criar chave de API",
+ "create": "Criar chave",
+ "creating": "Criando…",
+ "failedCreate": "Não foi possível criar a chave de API",
"validation": {
- "nameRequired": "O nome é obrigatório",
- "nameShort": "O nome deve ter pelo menos 3 caracteres",
- "expirationRequired": "A expiração é obrigatória"
+ "nameRequired": "Digite um nome",
+ "nameShort": "Use pelo menos 3 caracteres"
}
+ },
+ "row": {
+ "actions": "Ações para {{name}}",
+ "created": "Criada em {{date}}",
+ "expired": "Expirou em {{date}}",
+ "expiredBadge": "Expirada",
+ "expires": "Expira em {{date}}",
+ "neverExpires": "Nunca expira"
}
},
"workspaceGeneral": {
"pageTitle": "Configurações gerais",
- "title": "Configurações gerais",
- "subtitle": "Gerencie o nome e a descrição do seu espaço de trabalho.",
- "workspaceInfoTitle": "Informações do espaço de trabalho",
- "workspaceInfoSubtitle": "Configure os detalhes e preferências do seu espaço de trabalho.",
- "nameLabel": "Nome do espaço de trabalho",
- "nameHint": "O nome do seu espaço de trabalho",
+ "title": "Geral",
+ "subtitle": "O nome de {{name}} e quem é o proprietário.",
+ "workspaceInfoTitle": "Espaço de trabalho",
+ "nameLabel": "Nome",
"namePlaceholder": "Digite o nome do espaço de trabalho",
"descriptionLabel": "Descrição",
- "descriptionHint": "Uma breve descrição do seu espaço de trabalho",
- "descriptionPlaceholder": "Digite a descrição do espaço de trabalho",
+ "descriptionPlaceholder": "No que sua equipe trabalha?",
"dangerZone": "Zona de perigo",
- "dangerZoneSubtitle": "Ações irreversíveis e destrutivas.",
"deleteWorkspace": "Excluir espaço de trabalho",
- "deleteWorkspaceDescription": "Agendar exclusão permanente do espaço de trabalho",
+ "deleteWorkspaceDescription": "Exclui permanentemente {{name}}, seus projetos e tarefas.",
"deleteModalTitle": "Excluir espaço de trabalho?",
- "deleteModalDescription": "Isso excluirá permanentemente o espaço de trabalho \"{{name}}\" e todos os seus dados. Esta ação não pode ser desfeita.",
+ "deleteModalDescription": "Isso exclui permanentemente {{name}} e todos os seus projetos e tarefas. Não é possível desfazer.",
"deleteModalConfirm": "Excluir espaço de trabalho",
- "toastUpdated": "Espaço de trabalho atualizado com sucesso",
"toastUpdateError": "Falha ao atualizar espaço de trabalho",
"toastDeleted": "Espaço de trabalho excluído com sucesso",
"toastDeleteError": "Falha ao excluir espaço de trabalho",
@@ -860,17 +853,18 @@
"toastSuccess": "Propriedade transferida",
"toastError": "Falha ao transferir propriedade",
"title": "Transferir propriedade",
- "subtitle": "Transfira este espaço de trabalho para outro membro. Você será rebaixado a administrador e perderá as permissões exclusivas de proprietário.",
"pickerLabel": "Novo proprietário",
"noEligibleMembers": "Convide pelo menos um outro membro antes de poder transferir a propriedade.",
- "pickerHint": "Ele se tornará o único proprietário deste espaço de trabalho.",
- "pickerPlaceholder": "Selecione um membro",
+ "pickerHint": "O novo proprietário assume o controle. Você continua como administrador.",
+ "pickerPlaceholder": "Escolha um membro",
"button": "Transferir",
"dialogTitle": "Transferir propriedade?",
"dialogDescription": "{{name}} se tornará o único proprietário de {{workspace}}. Você manterá o acesso de administrador, mas perderá as permissões exclusivas de proprietário, como excluir o espaço de trabalho ou transferi-lo novamente.",
"transferring": "Transferindo…",
"confirm": "Transferir propriedade"
- }
+ },
+ "ownershipSubtitle": "Só o proprietário vê isto.",
+ "ownershipTitle": "Propriedade"
},
"workspaceRoles": {
"pageTitle": "Funções",
@@ -1082,22 +1076,20 @@
"permissionCount_many": "{{count}} permissões"
},
"workspaceLabels": {
- "pageTitle": "Configurações de etiquetas",
+ "pageTitle": "Etiquetas",
"title": "Etiquetas",
- "subtitle": "Crie, edite e exclua etiquetas do espaço de trabalho.",
- "cardDescription": "Gerencie as etiquetas que podem ser atribuídas às tarefas.",
+ "subtitle": "As etiquetas são compartilhadas por todos os projetos deste espaço de trabalho.",
"createLabel": "Criar etiqueta",
"editLabel": "Editar etiqueta",
- "deleteLabel": "Excluir",
+ "deleteLabel": "Excluir etiqueta",
"saveLabel": "Salvar",
- "nameLabel": "Nome da etiqueta",
- "namePlaceholder": "Digite o nome da etiqueta",
+ "nameLabel": "Nome",
+ "namePlaceholder": "Nome da etiqueta",
"colorLabel": "Cor",
- "createDescription": "Crie uma nova etiqueta que pode ser usada nas tarefas deste espaço de trabalho.",
- "editDescription": "Atualize o nome ou a cor desta etiqueta.",
- "deleteConfirmTitle": "Excluir esta etiqueta?",
- "deleteConfirmDescription": "Isso removerá permanentemente esta etiqueta de todas as tarefas. Esta ação não pode ser desfeita.",
- "empty": "Ainda não há etiquetas. Crie sua primeira etiqueta para começar.",
+ "createDescription": "Os projetos deste espaço de trabalho podem adicioná-la às tarefas.",
+ "editDescription": "As alterações aparecem em todas as tarefas com esta etiqueta.",
+ "deleteConfirmTitle": "Excluir “{{name}}”?",
+ "deleteConfirmDescription": "A etiqueta é removida de todas as tarefas que a usam. Isso não pode ser desfeito.",
"createSuccess": "Etiqueta criada",
"updateSuccess": "Etiqueta atualizada",
"deleteSuccess": "Etiqueta excluída",
@@ -1105,36 +1097,43 @@
"updateError": "Falha ao atualizar etiqueta",
"deleteError": "Falha ao excluir etiqueta",
"nameRequired": "O nome da etiqueta é obrigatório",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Removendo das tarefas…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Editar {{name}}",
+ "emptyDescription": "Adicione etiquetas para organizar e filtrar tarefas entre projetos.",
+ "emptyTitle": "Nenhuma etiqueta ainda",
+ "loadError": "Não foi possível carregar as etiquetas. Tente novamente.",
+ "newLabel": "Nova etiqueta",
+ "preview": "Em uma tarefa",
+ "previewPlaceholder": "Etiqueta",
+ "resume": "Retomar",
+ "rowActions": "Ações para {{name}}",
+ "sectionDescription": "Renomear uma etiqueta ou mudar a cor dela atualiza todas as tarefas que a usam.",
+ "sectionTitle": "Etiquetas do espaço de trabalho",
+ "subtitleWithWorkspace": "As etiquetas são compartilhadas por todos os projetos de {{workspaceName}}."
},
"projectGeneral": {
"pageTitle": "Configurações do projeto",
- "title": "Configurações gerais",
- "subtitle": "Gerencie o nome, a chave, o ícone e a descrição do seu projeto.",
- "projectInfoTitle": "Informações do projeto",
- "projectInfoSubtitle": "Configure os detalhes e preferências do seu projeto.",
+ "title": "Geral",
+ "subtitle": "O nome, a chave e a aparência de {{name}}.",
+ "projectInfoTitle": "Projeto",
"iconLabel": "Ícone",
- "iconHint": "Exibido na barra lateral e nas superfícies do projeto.",
+ "iconHint": "Exibido na barra lateral e nas listas de projetos.",
"pickIconTitle": "Escolher ícone",
"searchIconsPlaceholder": "Buscar ícones...",
- "projectNameLabel": "Nome do projeto",
- "projectNameHint": "O nome do seu projeto",
- "projectNamePlaceholder": "Digite o nome do projeto",
+ "projectNameLabel": "Nome",
+ "projectNamePlaceholder": "Nome do projeto",
"keyLabel": "Chave",
- "keyHint": "Usado para IDs de tickets (ex.: {{slug}}-123)",
+ "keyHint": "Inicia todo ID de tarefa, como {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Descrição",
- "descriptionHint": "Uma breve descrição do seu projeto",
- "descriptionPlaceholder": "Digite a descrição do projeto",
+ "descriptionPlaceholder": "Para que serve este projeto?",
"dangerZone": "Zona de perigo",
- "dangerZoneSubtitle": "Ações irreversíveis e destrutivas.",
"deleteProject": "Excluir projeto",
- "deleteProjectDescription": "Agendar exclusão permanente do projeto",
+ "deleteProjectDescription": "Exclui permanentemente {{name}} e todas as suas tarefas.",
"deleteModalTitle": "Excluir projeto?",
- "deleteModalDescription": "Isso excluirá permanentemente o projeto \"{{name}}\" e todos os seus dados. Esta ação não pode ser desfeita.",
+ "deleteModalDescription": "Isso exclui permanentemente {{name}} e todas as suas tarefas. Não é possível desfazer.",
"deleteModalConfirm": "Excluir projeto",
- "toastUpdated": "Projeto atualizado com sucesso",
"toastUpdateError": "Falha ao atualizar projeto",
"toastDeleted": "Projeto excluído com sucesso",
"toastDeleteError": "Falha ao excluir projeto",
@@ -1144,40 +1143,42 @@
"keyMax": "A chave deve ter no máximo 8 caracteres",
"iconRequired": "O ícone é obrigatório"
},
- "importExportTasks": "Importar/Exportar",
- "importExportTasksDescription": "Importe e exporte tarefas.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Uma imagem atrás do quadro. Cada pessoa pode desativar essas imagens.",
+ "backgroundUnavailable": "O envio de imagens não está configurado nesta instância.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Substituir",
+ "backgroundUpload": "Enviar",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Mover projeto",
- "moveModalDescription": "Isso moverá o projeto \"{{name}}\" e todas as suas tarefas para \"{{workspace}}\". As tarefas atribuídas a pessoas que não são membros desse espaço de trabalho ficarão sem responsável, e as inscrições de notificação deste projeto serão removidas.",
- "moveModalTitle": "Mover projeto?",
"moveProject": "Mover para outro espaço de trabalho",
"moveProjectAction": "Mover",
- "moveProjectDescription": "Mova este projeto, com todas as suas tarefas, para outro espaço de trabalho.",
- "moveProjectPlaceholder": "Selecione um espaço de trabalho",
+ "moveProjectDescription": "Tarefas, colunas e etiquetas vão junto.",
+ "moveProjectPlaceholder": "Escolha um espaço de trabalho",
"toastMoved": "Projeto movido com sucesso",
"toastMovedWithUnassigned": "Projeto movido com sucesso. {{taskCount}} tarefa(s) ficaram sem responsável.",
"toastMoveError": "Falha ao mover o projeto",
- "moveTargetsError": "Não foi possível verificar para quais workspaces você pode mover este projeto. Recarregue a página para tentar novamente."
+ "moveTargetsError": "Não foi possível verificar para quais workspaces você pode mover este projeto. Recarregue a página para tentar novamente.",
+ "moveDialogDescription": "Tarefas atribuídas a pessoas fora do novo espaço de trabalho ficam sem responsável, e as inscrições de notificação deste projeto são removidas.",
+ "moveDialogTitle": "Mover para outro espaço de trabalho?",
+ "moveTargetLabel": "Espaço de trabalho",
+ "moving": "Movendo...",
+ "tasksTitle": "Tarefas"
},
"projectIntegrations": {
- "pageTitle": "Integrações do projeto",
- "title": "Integrações do projeto",
- "subtitle": "Conecte seu projeto a ferramentas e serviços externos para otimizar seu fluxo de trabalho.",
+ "pageTitle": "Integrações",
+ "title": "Integrações",
+ "subtitle": "Conecte este projeto à sua hospedagem de código e ao chat da sua equipe.",
"githubSectionTitle": "Integração com GitHub",
"githubSectionSubtitle": "Sincronize tarefas com issues do GitHub e ative a sincronização bidirecional.",
"giteaSectionTitle": "Integração com Gitea",
"giteaSectionSubtitle": "Sincronize tarefas com uma instância Gitea autogerenciada (issues, PRs, webhooks).",
"discordSectionTitle": "Integração com Discord",
"discordSectionSubtitle": "Envie atualizações de tarefas do projeto para um canal do Discord com um webhook.",
- "genericWebhookSectionTitle": "Webhooks genéricos",
+ "genericWebhookSectionTitle": "Webhooks",
"genericWebhookSectionSubtitle": "Envie eventos de tarefas do projeto para qualquer endpoint HTTP como JSON.",
"slackSectionTitle": "Integração com Slack",
"slackSectionSubtitle": "Envie atualizações de tarefas do projeto para um canal do Slack com um webhook de entrada.",
@@ -1185,7 +1186,7 @@
"telegramSectionSubtitle": "Envie atualizações de tarefas do projeto para um chat ou tópico do Telegram com um bot.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Sincronize tarefas com o GitLab.com ou uma instância autogerenciada.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Hospedagem de código",
"chatTitle": "Chat e webhooks",
@@ -1198,69 +1199,59 @@
"projectVisibility": {
"pageTitle": "Visibilidade do projeto",
"title": "Visibilidade",
- "subtitle": "Controle quem pode visualizar e acessar seu projeto.",
- "sectionTitle": "Visibilidade",
- "sectionSubtitle": "Alterne o acesso público e compartilhe a URL pública.",
- "publicAccess": "Acesso público",
- "publicAccessHint": "Permitir que qualquer pessoa com a URL visualize este projeto",
+ "subtitle": "Escolha quem pode ver {{project}} fora de {{workspace}}.",
+ "sectionTitle": "Acesso",
+ "publicAccess": "Link público",
+ "publicAccessHint": "Qualquer pessoa com o link pode ver o quadro e as tarefas, mas não pode alterar nada.",
"publicUrl": "URL pública",
- "publicUrlHint": "Compartilhe este link se o projeto for público",
- "copy": "Copiar",
- "copiedToast": "Copiado",
+ "copy": "Copiar link",
"toastUpdated": "Visibilidade atualizada",
- "toastUpdateError": "Falha ao atualizar visibilidade"
+ "toastUpdateError": "Falha ao atualizar visibilidade",
+ "always": "Sempre",
+ "copied": "Copiado",
+ "copyError": "Não foi possível copiar o link",
+ "membersDescription": "Todos no espaço de trabalho, conforme o que a função de cada um permite.",
+ "membersTitle": "Membros de {{workspace}}",
+ "offNote": "Ao desativar o link público, ele para de funcionar imediatamente.",
+ "on": "Ativado",
+ "openPublicPage": "Abrir página pública",
+ "thisWorkspace": "seu espaço de trabalho"
},
"projectWorkflow": {
"pageTitle": "Configurações de fluxo de trabalho",
"title": "Fluxo de trabalho",
- "subtitle": "Configure as colunas do quadro e as regras de automação deste projeto.",
+ "subtitle": "As colunas do seu quadro e o que move as tarefas entre elas.",
"columnsTitle": "Colunas",
- "columnsDescription": "Gerencie as colunas exibidas no seu quadro. Arraste para reordenar. Ative \"Coluna de concluído\" para as etapas que representam trabalho concluído.",
- "automationTitle": "Regras de automação",
- "automationDescription": "Mapeie eventos de integração para colunas. Quando um evento ocorrer, a tarefa vinculada será movida para a coluna especificada.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Arraste para reordenar. Tarefas em uma coluna de concluído contam como concluídas.",
+ "automationTitle": "Automações",
+ "automationDescription": "Mova uma tarefa vinculada quando algo acontecer em um repositório conectado."
},
"projectSwitcher": {
"selectProject": "Selecionar projeto",
"noProjects": "Nenhum projeto"
},
"columnEditor": {
- "toastCreated": "Coluna criada",
"toastCreateError": "Falha ao criar coluna",
- "toastRenamed": "Coluna renomeada",
"toastRenameError": "Falha ao atualizar coluna",
- "toastFinalOn": "Coluna marcada como final",
- "toastFinalOff": "Coluna desmarcada como final",
"toastUpdateError": "Falha ao atualizar coluna",
- "toastIconUpdated": "Ícone da coluna atualizado",
- "toastDeleted": "Coluna excluída",
"toastDeleteError": "Falha ao excluir coluna",
- "loading": "Carregando colunas...",
"pickIconTitle": "Escolher ícone da coluna",
"searchIconsPlaceholder": "Buscar ícones...",
- "doneColumnTooltip": "Tratar isto como uma coluna de concluído",
- "doneColumn": "Coluna de concluído",
"markDoneAria": "Marcar {{name}} como coluna de concluído",
- "on": "Ativado",
- "off": "Desativado",
- "newColumnPlaceholder": "Nome da nova coluna...",
- "add": "Adicionar",
+ "newColumnPlaceholder": "Nome da coluna",
"deleteAria": "Excluir a coluna {{name}}",
- "renameAria": "Renomear a coluna {{name}}"
+ "renameAria": "Renomear a coluna {{name}}",
+ "addColumn": "Adicionar coluna",
+ "columnHeader": "Coluna",
+ "deleteConfirm": "Excluir coluna",
+ "deleteDescription": "Colunas que ainda têm tarefas não podem ser excluídas. Mova essas tarefas primeiro.",
+ "deleteTitle": "Excluir “{{name}}”?",
+ "doneHeader": "Concluído",
+ "dragAria": "Reordenar {{name}}",
+ "reorderError": "Falha ao reordenar as colunas"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "O proprietário do repositório é obrigatório",
- "ownerInvalid": "Formato de proprietário do repositório inválido",
- "nameRequired": "O nome do repositório é obrigatório",
- "nameInvalid": "Formato de nome de repositório inválido"
- },
"toast": {
- "installedOk": "O GitHub App está instalado corretamente!",
- "installedMissingPerms": "O GitHub App está instalado, mas faltam permissões necessárias",
- "needsInstallOnRepo": "O GitHub App precisa ser instalado neste repositório",
- "repoNotFound": "Repositório não encontrado ou inacessível",
"verifyError": "Falha ao verificar a instalação do GitHub",
"installAppFirst": "Instale o GitHub App neste repositório primeiro",
"missingPermsDetail": "Faltam permissões necessárias no GitHub App: {{list}}. Atualize as permissões do app.",
@@ -1274,64 +1265,36 @@
"commentOnDisabled": "Os comentários com link da tarefa em novas issues estão desativados",
"settingsUpdateError": "Falha ao atualizar a integração com o GitHub"
},
- "connectionStatus": "Status da conexão",
- "connectedActive": "Repositório conectado e ativo",
- "notConnectedHint": "Nenhum repositório conectado",
- "badgeConnected": "Conectado",
- "badgeNotConnected": "Não conectado",
- "repository": "Repositório",
- "repositoryHint": "Repositório do GitHub conectado",
- "commentTaskLinkTitle": "Comentar link do Kaneo em novas issues",
- "commentTaskLinkHint": "Quando ativado, o Kaneo publica um comentário em cada nova issue do GitHub com um link para a tarefa.",
- "appStatusTitle": "Status do GitHub App",
- "appStatusHint": "Status da instalação e permissões",
- "statusProperlyConfigured": "Configurado corretamente",
- "statusMissingPermissions": "Faltam permissões",
- "statusNotInstalled": "Não instalado",
- "ownerLabel": "Proprietário do repositório",
- "ownerHint": "Nome de usuário ou organização do GitHub",
- "ownerPlaceholder": "ex.: octocat",
- "repoNameLabel": "Nome do repositório",
- "repoNameHint": "O nome do repositório",
- "repoNamePlaceholder": "ex.: meu-projeto",
- "actionsTitle": "Ações",
- "actionsHint": "Gerencie a conexão do seu repositório",
- "browse": "Procurar",
- "verify": "Verificar",
- "update": "Atualizar",
- "connect": "Conectar",
- "disconnect": "Desconectar",
- "missingPermissionsLabel": "Permissões faltando:",
+ "commentTaskLinkTitle": "Comentar um link do Kaneo em novas issues",
+ "commentTaskLinkHint": "Para que as pessoas no GitHub possam ir direto para a tarefa.",
"updatePermissions": "Atualizar permissões",
"installGithubApp": "Instalar GitHub App",
- "importSectionTitle": "Importar issues do GitHub",
- "importSectionHint": "Importe issues existentes do seu repositório do GitHub como tarefas",
- "importing": "Importando...",
- "importIssues": "Importar issues",
- "importDisabledHint": "Conclua a configuração do repositório acima para ativar a importação",
+ "importSectionHint": "Importe as issues abertas do repositório como tarefas.",
+ "importDisabledHint": "Reconecte o repositório para ativar a importação.",
"accountVerificationHint": "Conecte sua conta do GitHub para verificar se você administra este repositório.",
"enableGithubSignInHint": "Peça ao administrador da sua instância para habilitar o login com GitHub.",
"reverifyHint": "Reconecte este repositório para verificar o acesso e retomar a sincronização.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "As issues e pull requests dele serão vinculados às tarefas daqui.",
+ "linkAccountDescription": "Comprova que você pode administrar o repositório.",
+ "linkAccountTitle": "Vincule sua conta do GitHub",
+ "linked": "Vinculado",
+ "linkGithub": "Vincular GitHub",
+ "verifyMissingPermissions": "Faltam permissões ao GitHub App do Kaneo: {{list}}.",
+ "verifyNotInstalled": "O GitHub App do Kaneo não está instalado neste repositório.",
+ "verifyReady": "O GitHub App do Kaneo está instalado com as permissões necessárias.",
+ "workflowHint": "Mova tarefas quando pull requests forem abertos ou mesclados em",
+ "workflowLink": "Fluxo de trabalho"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "A URL base do Gitea é obrigatória",
- "baseUrlInvalid": "Digite uma URL válida (ex.: https://gitea.exemplo.com)",
- "ownerRequired": "O proprietário do repositório é obrigatório",
- "ownerInvalid": "Formato de proprietário do repositório inválido",
- "nameRequired": "O nome do repositório é obrigatório",
- "nameInvalid": "Formato de nome de repositório inválido"
+ "baseUrlInvalid": "Digite uma URL válida (ex.: https://gitea.exemplo.com)"
},
"toast": {
- "verifyOk": "O token do Gitea pode acessar este repositório",
- "verifyWarning": "Verifique as permissões do token ou o acesso ao repositório",
- "repoNotFound": "Repositório não encontrado ou inacessível",
"verifyError": "Falha ao verificar o acesso ao Gitea",
- "tokenRequired": "O token de acesso pessoal é obrigatório",
- "tokenRequiredVerify": "Digite um token para verificar",
"verifyFirst": "Falha ao verificar o acesso. Verifique a URL, o token e o repositório",
"updated": "Integração com o Gitea salva",
"updateError": "Falha ao salvar a integração com o Gitea",
@@ -1341,56 +1304,22 @@
"importError": "Falha ao importar issues",
"commentOnEnabled": "O Kaneo comentará com um link da tarefa em novas issues",
"commentOnDisabled": "Os comentários com link da tarefa em novas issues estão desativados",
- "settingsUpdateError": "Falha ao atualizar a integração com o Gitea",
- "secretCopied": "Copiado",
- "unableToCopySecret": "Não foi possível copiar o segredo",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly."
- },
- "webhookShow": "Mostrar",
- "webhookHide": "Ocultar",
- "webhookCopy": "Copiar",
- "connectionStatus": "Status da conexão",
- "connectedActive": "Repositório conectado e ativo",
- "notConnectedHint": "Nenhum repositório do Gitea conectado",
- "badgeConnected": "Conectado",
- "badgeNotConnected": "Não conectado",
- "repository": "Repositório",
- "repositoryHint": "Repositório do Gitea vinculado",
- "commentTaskLinkTitle": "Comentar link do Kaneo em novas issues",
- "commentTaskLinkHint": "Quando ativado, o Kaneo publica um comentário em cada nova issue com um link para a tarefa.",
- "webhookTitle": "Webhook",
- "webhookHint": "No seu repositório do Gitea, adicione um webhook com esta URL e segredo. Ative push, pull request, issues, comentários de issues e create (para etiquetas).",
- "webhookSecretLabel": "Segredo (deve corresponder ao segredo do webhook no Gitea)",
+ "settingsUpdateError": "Falha ao atualizar a integração com o Gitea"
+ },
+ "commentTaskLinkTitle": "Comentar um link do Kaneo em novas issues",
+ "commentTaskLinkHint": "Para que as pessoas no Gitea possam ir direto para a tarefa.",
+ "webhookHint": "Adicione este webhook nas configurações do repositório para que as alterações voltem ao Kaneo.",
"baseUrlLabel": "URL do Gitea",
- "baseUrlHint": "URL raiz da sua instância do Gitea",
"tokenLabel": "Token de acesso pessoal",
- "tokenHint": "Token com acesso a repositórios e issues",
"tokenPlaceholder": "Cole o token",
"tokenPlaceholderUpdate": "Cole um novo token para substituir",
- "currentToken": "armazenado",
- "ownerLabel": "Proprietário",
- "ownerHint": "Nome de usuário ou organização",
- "repoNameLabel": "Nome do repositório",
- "repoNameHint": "Somente o nome do repositório (sem o proprietário)",
- "actionsTitle": "Ações",
- "actionsHint": "Verifique o acesso e conecte",
- "browse": "Procurar",
- "verify": "Verificar",
- "update": "Atualizar",
- "connect": "Conectar",
- "disconnect": "Desconectar",
- "importSectionTitle": "Importar issues do Gitea",
- "importSectionHint": "Importe issues abertas e pull requests do repositório",
- "importing": "Importando…",
- "importIssues": "Importar issues",
- "importDisabledHint": "Verifique o repositório acima para ativar a importação",
- "browseModalTitle": "Seus repositórios",
- "browseModalHint": "Repositórios que seu token pode acessar",
- "searchRepos": "Buscar…",
- "browseNeedsCredentials": "Digite a URL e o token do Gitea para procurar",
- "loadingRepos": "Carregando repositórios…",
- "retry": "Tentar novamente"
+ "importSectionHint": "Importe issues abertas e pull requests como tarefas.",
+ "importDisabledHint": "A importação precisa de acesso verificado. Confira o status do token acima.",
+ "browseModalHint": "Repositórios que seu token pode acessar.",
+ "browseNeedsCredentials": "Informe a URL do Gitea e um token para procurar.",
+ "browseEmpty": "Este token não tem acesso a nenhum repositório.",
+ "chooseRepositoryDescription": "Digite owner/name ou escolha um da lista.",
+ "webhookEvents": "Ative os eventos de push, pull request, issue, comentário de issue e create."
},
"slackIntegration": {
"validation": {
@@ -1405,30 +1334,10 @@
"removed": "Integração com o Slack removida com sucesso",
"removeError": "Falha ao remover a integração com o Slack"
},
- "connectionTitle": "Conexão do webhook do Slack",
- "connectionHint": "Cole a URL de um webhook de entrada do Slack e escolha quais eventos de tarefa devem ser publicados.",
- "connected": "Conectado",
- "paused": "Pausado",
- "webhookLabel": "URL do webhook de entrada",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Crie um webhook de entrada no Slack e cole a URL gerada aqui.",
- "channelLabel": "Nome do canal",
- "channelPlaceholder": "#atualizacoes-equipe",
- "channelHint": "Rótulo opcional apenas para sua referência. O Slack controla o canal de destino real a partir da configuração do webhook.",
- "eventsTitle": "Notificações de eventos",
- "eventsHint": "Escolha quais alterações do projeto devem ser publicadas no Slack.",
- "events": {
- "taskCreated": "Novas tarefas",
- "taskStatusChanged": "Mudanças de status",
- "taskPriorityChanged": "Mudanças de prioridade",
- "taskTitleChanged": "Mudanças de título",
- "taskDescriptionChanged": "Mudanças de descrição",
- "taskCommentCreated": "Novos comentários"
- },
+ "webhookHint": "Crie um webhook de entrada no Slack e cole-o aqui.",
"connect": "Conectar Slack",
- "saveChanges": "Salvar alterações",
- "update": "Atualizar Slack",
- "disconnect": "Desconectar"
+ "update": "Atualizar Slack"
},
"discordIntegration": {
"validation": {
@@ -1443,34 +1352,15 @@
"removed": "Integração com o Discord removida com sucesso",
"removeError": "Falha ao remover a integração com o Discord"
},
- "connectionTitle": "Conexão do webhook do Discord",
- "connectionHint": "Cole a URL de um webhook do Discord e escolha quais eventos de tarefa devem ser publicados.",
- "connected": "Conectado",
- "paused": "Pausado",
- "webhookLabel": "URL do webhook",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Crie um webhook de canal no Discord e cole a URL gerada aqui.",
- "channelLabel": "Nome do canal",
- "channelPlaceholder": "#atualizacoes-equipe",
- "channelHint": "Rótulo opcional apenas para sua referência. O Discord controla o canal de destino real a partir da configuração do webhook.",
- "eventsTitle": "Notificações de eventos",
- "eventsHint": "Escolha quais alterações do projeto devem ser publicadas no Discord.",
- "events": {
- "taskCreated": "Novas tarefas",
- "taskStatusChanged": "Mudanças de status",
- "taskPriorityChanged": "Mudanças de prioridade",
- "taskTitleChanged": "Mudanças de título",
- "taskDescriptionChanged": "Mudanças de descrição",
- "taskCommentCreated": "Novos comentários"
- },
+ "webhookHint": "Crie um webhook de canal no Discord e cole-o aqui.",
"connect": "Conectar Discord",
- "saveChanges": "Salvar alterações",
- "update": "Atualizar Discord",
- "disconnect": "Desconectar"
+ "update": "Atualizar Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Digite uma URL de webhook válida"
+ "webhookInvalid": "Digite uma URL de webhook válida",
+ "leadTimeRange": "Escolha um tempo entre 5 minutos e 720 horas."
},
"toast": {
"saved": "Integração de webhook genérico salva com sucesso",
@@ -1481,43 +1371,41 @@
"removed": "Integração de webhook genérico removida com sucesso",
"removeError": "Falha ao remover a integração de webhook genérico"
},
- "connectionTitle": "Conexão de webhook de saída",
- "connectionHint": "Envie eventos de tarefas para seu próprio endpoint como JSON. Um cabeçalho X-Kaneo-Signature assinado é incluído quando um segredo é configurado.",
- "connected": "Conectado",
- "paused": "Pausado",
"webhookLabel": "URL do endpoint",
"webhookPlaceholder": "https://exemplo.com/webhooks/kaneo",
"webhookHint": "O Kaneo envia requisições POST com um payload JSON para cada evento ativado.",
"secretLabel": "Segredo de assinatura",
- "secretPlaceholder": "Segredo compartilhado opcional",
- "secretHint": "Opcional. Se fornecido, o Kaneo assina o corpo da requisição e envia o resumo hexadecimal no cabeçalho X-Kaneo-Signature.",
- "secretHintConfigured": "Um segredo de assinatura já está configurado ({{secret}}). Digite um novo para substituí-lo.",
- "eventsTitle": "Notificações de eventos",
- "eventsHint": "Escolha quais alterações do projeto devem acionar webhooks de saída.",
+ "secretPlaceholder": "Segredo compartilhado",
+ "secretHint": "O Kaneo assina cada requisição com ele e envia o resumo no cabeçalho X-Kaneo-Signature.",
+ "secretHintConfigured": "Segredo atual: {{secret}}. Cole um novo para substituí-lo.",
+ "eventsTitle": "Enviar quando",
"events": {
- "taskCreated": "Novas tarefas",
- "taskStatusChanged": "Mudanças de status",
- "taskPriorityChanged": "Mudanças de prioridade",
- "taskTitleChanged": "Mudanças de título",
- "taskDescriptionChanged": "Mudanças de descrição",
- "taskCommentCreated": "Novos comentários",
+ "taskCreated": "Tarefa criada",
+ "taskStatusChanged": "Status alterado",
+ "taskPriorityChanged": "Prioridade alterada",
+ "taskTitleChanged": "Título alterado",
+ "taskDescriptionChanged": "Descrição alterada",
+ "taskCommentCreated": "Novo comentário",
"taskDeleted": "Tarefa excluída",
"taskMoved": "Tarefa movida",
"taskDueDateChanged": "Data de vencimento alterada",
"taskAssigneeChanged": "Responsável alterado",
"taskUnassigned": "Tarefa sem responsável",
- "dueDateReminder": "Lembretes de vencimento"
+ "dueDateReminder": "Lembrete de vencimento"
},
- "reminderLeadTimeLabel": "Enviar o webhook quantas horas antes",
+ "reminderLeadTimeLabel": "Horas antes do vencimento de uma tarefa",
"connect": "Conectar webhook",
- "saveChanges": "Salvar alterações",
- "disconnect": "Desconectar"
+ "activeTitle": "Enviando eventos",
+ "disconnectDescription": "O Kaneo deixa de enviar eventos e remove o endpoint e o segredo salvos.",
+ "disconnectTitle": "Desconectar webhook?",
+ "reminderLeadTimeAfter": "horas antes do vencimento de uma tarefa",
+ "reminderLeadTimeBefore": "Enviar lembretes"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Digite um token de bot do Telegram válido",
"chatIdRequired": "O ID do chat é obrigatório",
- "threadIdInvalid": "Digite um ID de tópico do Telegram válido"
+ "threadIdInvalid": "Digite um ID de tópico válido"
},
"toast": {
"saved": "Integração com o Telegram salva com sucesso",
@@ -1528,55 +1416,38 @@
"removed": "Integração com o Telegram removida com sucesso",
"removeError": "Falha ao remover a integração com o Telegram"
},
- "connectionTitle": "Conexão do bot do Telegram",
- "connectionHint": "Use um token de bot do Telegram e um ID de chat para enviar atualizações de tarefas do projeto a um chat ou tópico.",
- "connected": "Conectado",
- "paused": "Pausado",
"botTokenLabel": "Token do bot",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Crie um bot com o BotFather e cole o token aqui.",
- "botTokenHintConfigured": "Um token de bot já está configurado ({{token}}). Digite um novo para substituí-lo.",
+ "botTokenHintConfigured": "Token atual: {{token}}",
"chatIdLabel": "ID do chat",
"chatIdPlaceholder": "-1001234567890 ou @atualizacoes_equipe",
- "chatIdHint": "Digite o ID do chat do Telegram ou o nome de usuário do canal onde as atualizações devem ser publicadas.",
"threadIdLabel": "ID do tópico",
- "threadIdPlaceholder": "ID do tópico opcional",
- "threadIdHint": "Opcional. Use isto para tópicos de fórum dentro de grupos do Telegram.",
- "chatLabelLabel": "Rótulo do chat",
+ "threadIdPlaceholder": "Para tópicos de fórum",
+ "chatLabelLabel": "Nome do chat",
"chatLabelPlaceholder": "Atualizações de Engenharia",
- "chatLabelHint": "Rótulo opcional apenas para sua referência dentro do Kaneo.",
- "eventsTitle": "Notificações de eventos",
- "eventsHint": "Escolha quais alterações do projeto devem ser publicadas no Telegram.",
- "events": {
- "taskCreated": "Novas tarefas",
- "taskStatusChanged": "Mudanças de status",
- "taskPriorityChanged": "Mudanças de prioridade",
- "taskTitleChanged": "Mudanças de título",
- "taskDescriptionChanged": "Mudanças de descrição",
- "taskCommentCreated": "Novos comentários"
- },
"connect": "Conectar Telegram",
- "saveChanges": "Salvar alterações",
- "disconnect": "Desconectar"
+ "botTokenSavedPlaceholder": "Salvo. Cole um novo token para substituí-lo.",
+ "loadError": "Não foi possível carregar as configurações do Telegram."
},
"repositoryBrowser": {
- "title": "Selecionar repositório",
- "description": "Escolha um repositório onde seu GitHub App está instalado para ativar a sincronização de issues.",
- "searchPlaceholder": "Buscar repositórios...",
- "loadError": "Falha ao carregar repositórios",
+ "title": "Escolha um repositório",
+ "description": "Repositórios que o GitHub App do Kaneo pode ver.",
+ "searchPlaceholder": "Buscar repositórios",
+ "loadError": "Não foi possível carregar os repositórios.",
"tryAgain": "Tentar novamente",
- "emptyTitle": "Nenhum repositório encontrado",
+ "emptyTitle": "Nenhum repositório ainda",
"emptyHint": "Instale o GitHub App nos seus repositórios para vê-los aqui.",
"installGithubApp": "Instalar GitHub App",
- "noSearchMatchTitle": "Nenhum repositório corresponde à sua busca",
- "noSearchMatchHint": "Tente ajustar os termos da busca ou limpe a busca para ver todos os repositórios.",
- "footerSummary": "{{repoCount}} repositórios em {{installationCount}} instalações",
- "manageInstallations": "Gerenciar instalações",
- "updatedPrefix": "Atualizado",
- "relativeJustNow": "agora mesmo",
- "relativeMinutesAgo": "há {{count}}m",
- "relativeHoursAgo": "há {{count}}h",
- "relativeDaysAgo": "há {{count}}d"
+ "noSearchMatchTitle": "Nenhum repositório correspondente",
+ "noSearchMatchHint": "Tente outro nome ou limpe a busca.",
+ "emptyPageHint": "Nenhum nesta página. Carregue mais para continuar procurando.",
+ "loadMore": "Carregar mais",
+ "manageAccess": "Gerenciar acesso do app",
+ "missingOne": "Falta algum?",
+ "searching": "Buscando…",
+ "updated": "Atualizado {{time}}",
+ "useRepository": "Usar repositório"
},
"tasksImportExport": {
"exportTasks": "Exportar tarefas",
@@ -1595,27 +1466,26 @@
"importError": "Falha ao importar tarefas",
"invalidFormat": "Formato de arquivo de importação inválido",
"noFileDropped": "Nenhum arquivo foi solto",
- "notJsonFile": "Envie um arquivo JSON"
+ "notJsonFile": "Envie um arquivo JSON",
+ "export": "Exportar",
+ "exportDescription": "Baixe todas as tarefas deste projeto como um arquivo.",
+ "import": "Importar",
+ "importDescription": "Adicione tarefas de um arquivo que você exportou antes."
},
"workflowEditor": {
- "loading": "Carregando...",
- "createColumnsFirst": "Crie colunas primeiro para configurar regras de automação.",
- "githubHeading": "GitHub",
- "githubHint": "Quando um evento do GitHub ocorrer, mova a tarefa vinculada para uma coluna.",
- "giteaHeading": "Gitea",
- "giteaHint": "Quando um evento de webhook do Gitea ocorrer, mova a tarefa vinculada para uma coluna.",
- "selectColumnPlaceholder": "Selecionar coluna...",
- "toastUpdated": "Regra de fluxo de trabalho atualizada",
"toastError": "Falha ao atualizar regra",
"events": {
- "branch_push": "Push na branch",
- "pr_opened": "PR aberto",
- "pr_merged": "PR mesclado",
+ "branch_push": "Push em branch",
+ "pr_opened": "Pull request aberto",
+ "pr_merged": "Pull request mesclado",
"issue_opened": "Issue aberta",
"issue_closed": "Issue fechada"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "Conecte {{providers}} em <link>Integrações</link> para automatizá-los também.",
+ "dontMove": "Não mover",
+ "emptyDescription": "As automações precisam de um repositório conectado do GitHub, Gitea ou GitLab.",
+ "emptyTitle": "Nenhum repositório conectado",
+ "openIntegrations": "Abrir integrações"
},
"externalLinks": {
"resources": "Recursos",
@@ -1634,26 +1504,7 @@
"removeError": "Failed to remove the resource link."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1667,58 +1518,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Crie um webhook de entrada no Mattermost e cole-o aqui.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Caixa de seleção",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Lista suspensa, várias opções"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Limpar padrão",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Ações para {{name}}",
+ "addOption": "Adicionar uma opção",
+ "allowSeveral": "Permitir várias",
+ "allowSeveralDescription": "Uma tarefa pode escolher mais de uma opção.",
+ "checked": "Marcado",
+ "createField": "Criar campo",
+ "defaultDescription": "Novas tarefas começam com isto.",
+ "deleteConfirm": "Excluir campo",
+ "deleteDescription": "O campo e o valor dele em todas as tarefas são removidos. Isso não pode ser desfeito.",
+ "deleteTitle": "Excluir “{{name}}”?",
+ "dialogDescription": "Toda tarefa em {{project}} recebe este campo.",
+ "dialogDescriptionFallback": "Toda tarefa deste projeto recebe este campo.",
+ "dragAria": "Reordenar {{name}}",
+ "dragOptionAria": "Reordenar {{option}}",
+ "edit": "Editar",
+ "editTitle": "Editar campo",
+ "emptyDescription": "Registre coisas como tamanho, cliente ou data de lançamento em toda tarefa.",
+ "emptyTitle": "Nenhum campo personalizado ainda",
+ "issues": {
+ "defaultRequired": "Campos obrigatórios precisam de um padrão.",
+ "moreOptionsRequired": "Adicione pelo menos duas opções para permitir várias.",
+ "optionsRequired": "Adicione pelo menos uma opção."
+ },
+ "nameLabel": "Nome",
+ "newTitle": "Novo campo",
+ "noDefault": "Sem padrão",
+ "optionsLabel": "Opções",
+ "removeOptionAria": "Remover {{option}}",
+ "renameOptionAria": "Renomear {{option}}",
+ "requiredDescription": "Toda tarefa sempre tem um valor.",
+ "save": "Salvar",
+ "saving": "Salvando...",
+ "startsAs": "Começa como “{{value}}”",
+ "startsAt": "Começa em {{value}}",
+ "startsChecked": "Começa marcado",
+ "startsOn": "Começa em {{date}}",
+ "startsUnchecked": "Começa desmarcado",
+ "typeLabel": "Tipo",
+ "typeLocked": "O tipo não pode ser alterado depois que o campo é criado.",
+ "unchecked": "Desmarcado",
+ "updateError": "Falha ao salvar o campo personalizado.",
+ "updateSuccess": "Campo personalizado salvo."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Desativar",
+ "edit": "Editar",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Reativar"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Função",
"status": "Status",
"user": "User"
},
@@ -1740,7 +1623,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Todos os usuários",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1753,7 +1636,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1761,20 +1643,20 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Administrador",
"user": "User"
},
"searchCount_many": "{{count}} matching users",
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Buscar por nome ou e-mail",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Todas as pessoas com uma conta nesta instância do Kaneo.",
+ "title": "Usuários",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1783,10 +1665,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_many": "{{count}} registered users",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Você"
},
"security": "Security",
"securityPage": {
@@ -1801,11 +1680,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Login",
+ "submit": "Alterar senha",
+ "submitting": "Alterando...",
+ "subtitle": "Como você entra no Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1815,94 +1693,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Alterar senha",
+ "dialogDescription": "Pelo menos 8 caracteres, diferente da atual.",
+ "dialogTitle": "Alterar senha",
+ "passwordHint": "Use pelo menos 8 caracteres que você não usa em nenhum outro lugar.",
+ "passwordTitle": "Senha"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Projetos dos quais seu token é membro.",
+ "browseNeedsCredentials": "Informe a URL do GitLab e um token para procurar.",
+ "commentTaskLinkHint": "Para que as pessoas no GitLab possam ir direto para a tarefa.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Importe issues abertas e merge requests como tarefas.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Buscar projetos",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Adicione este webhook nas configurações do projeto para que as alterações voltem ao Kaneo.",
+ "loadProjectsError": "Não foi possível carregar os projetos.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Este token não é membro de nenhum projeto.",
+ "chooseProjectDescription": "Digite o caminho ou escolha um da lista.",
+ "noSearchMatchTitle": "Nenhum projeto correspondente",
+ "useProject": "Usar projeto",
+ "webhookEvents": "Ative os eventos de push, issue, comentário e merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Incluir apenas as etiquetas",
+ "selectLabels": "Adicionar etiqueta",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1910,20 +1755,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Feeds",
+ "allScheduledTasks": "Todas as tarefas agendadas",
+ "subscribeHint": "Adicione um link ao seu app de calendário como assinatura. As atualizações aparecem quando o app atualiza o feed.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Copiado",
+ "dialogDescription": "Tarefas com data de início ou de vencimento aparecem no feed.",
+ "dialogTitle": "Novo feed de calendário",
+ "emptyDescription": "Crie um feed para ver as tarefas agendadas no seu app de calendário.",
+ "emptyTitle": "Nenhum feed de calendário ainda",
+ "feedActions": "Ações do feed",
+ "labelsHint": "Deixe vazio para incluir todas as tarefas agendadas.",
+ "newFeed": "Novo feed",
+ "revokeConfirm": "Revogar feed",
+ "revokeConfirmDescription": "Os apps de calendário que usam este link deixam de receber atualizações. Isso não pode ser desfeito.",
+ "revokeConfirmTitle": "Revogar este feed?",
+ "revoking": "Revogando…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1935,7 +1789,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1968,7 +1821,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1979,7 +1831,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Faturas, forma de pagamento e cancelamento são gerenciados no Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -2004,15 +1856,15 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Seu plano para {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_many": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_many": "{{count}} dias restantes",
+ "badgeDaysLeft_one": "{{count}} dia restante",
+ "badgeDaysLeft_other": "{{count}} dias restantes"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2032,15 +1884,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2057,9 +1906,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_many": "{{count}} paused links",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2078,16 +1924,30 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "O que sincroniza",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Todas as issues",
+ "allTasks": "Todas as tarefas",
+ "edit": "Editar",
+ "hidePaused": "Ocultar",
+ "issuesLabelled": "Issues com a etiqueta",
+ "joinAnd": "e",
+ "joinOr": "ou",
+ "kaneoToProvider": "Kaneo para {{provider}}",
+ "pausedSummary_many": "{{count}} tarefas pararam de sincronizar porque não correspondem mais às regras de sincronização.",
+ "pausedSummary_one": "{{count}} tarefa parou de sincronizar porque não corresponde mais às regras de sincronização.",
+ "pausedSummary_other": "{{count}} tarefas pararam de sincronizar porque não correspondem mais às regras de sincronização.",
+ "providerToKaneo": "{{provider}} para Kaneo",
+ "reviewPaused": "Revisar",
+ "tasksLabelled": "Tarefas com a etiqueta"
+ },
+ "advancedSettingsDescription": "Mostra controles extras, como regras de sincronização das integrações. Só neste navegador.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2124,23 +1984,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Todos os espaços de trabalho",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_many": "{{count}} members",
"count_one": "{{count}} member",
"count_other": "{{count}} members",
@@ -2163,9 +2015,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Buscar por nome ou slug",
+ "subtitle": "Todos os espaços de trabalho desta instância do Kaneo, incluindo aqueles dos quais você não faz parte.",
+ "title": "Espaços de trabalho",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2175,10 +2027,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_many": "{{count}} workspaces",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2469,6 +2318,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Desative para pausar sem perder a configuração.",
+ "activeTitle": "Publicando no {{provider}}",
+ "channelHint": "Apenas um nome para esta lista.",
+ "channelLabel": "Canal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Desconectar",
+ "disconnectDescription": "O Kaneo deixa de publicar no {{provider}} e remove as configurações salvas.",
+ "disconnecting": "Desconectando…",
+ "disconnectTitle": "Desconectar {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Alguém comenta",
+ "taskCreated": "Uma tarefa é criada",
+ "taskDescriptionChanged": "A descrição muda",
+ "taskPriorityChanged": "A prioridade muda",
+ "taskStatusChanged": "O status muda",
+ "taskTitleChanged": "O título muda"
+ },
+ "optional": "Opcional",
+ "postWhen": "Publicar quando",
+ "retry": "Tentar novamente",
+ "saveChanges": "Salvar alterações",
+ "savedUrlPlaceholder": "Salva. Cole uma nova URL para substituí-la.",
+ "webhookUrlLabel": "URL do webhook"
+ },
+ "codeHosting": {
+ "browse": "Procurar",
+ "changeToken": "Alterar token",
+ "checking": "Verificando acesso…",
+ "chooseProjectTitle": "Escolha um projeto",
+ "chooseRepositoryTitle": "Escolha um repositório",
+ "connectProject": "Conectar projeto",
+ "connectRepository": "Conectar repositório",
+ "copied": "Copiado",
+ "copyFailed": "Não foi possível copiar para a área de transferência.",
+ "copySecret": "Copiar segredo",
+ "copyUrl": "Copiar URL do webhook",
+ "disconnect": "Desconectar",
+ "disconnectDescription": "As tarefas deixam de sincronizar com {{target}}. Você pode conectar novamente depois.",
+ "disconnecting": "Desconectando…",
+ "disconnectTitle": "Desconectar {{provider}}?",
+ "hideSecret": "Ocultar segredo",
+ "importing": "Importando…",
+ "importIssues": "Importar issues",
+ "importNeedsReconnect": "Reconecte para ativar a importação.",
+ "importTitle": "Importar issues abertas",
+ "issuesSection": "Issues",
+ "lastImport": "Última importação: {{imported}} criadas, {{updated}} atualizadas, {{skipped}} ignoradas.",
+ "loadError": "Não foi possível carregar esta integração.",
+ "pausedHint": "A sincronização está pausada. Reconecte para retomar.",
+ "projectSection": "Projeto",
+ "reconnect": "Reconectar",
+ "repositoryPathInvalid": "Informe o repositório como owner/name.",
+ "repositoryPathLabel": "Repositório",
+ "repositorySection": "Repositório",
+ "retry": "Tentar novamente",
+ "saveToken": "Salvar token",
+ "showSecret": "Mostrar segredo",
+ "signInDescription": "Use um token que possa ler o projeto e as issues dele.",
+ "signInTitle": "Entre na sua instância",
+ "tokenStored": "Token armazenado",
+ "tokenTitle": "Token de acesso",
+ "webhookSecret": "Segredo",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Arraste para mudar a ordem em que aparecem em uma tarefa.",
+ "fieldsTitle": "Campos",
+ "newField": "Novo campo",
+ "pageTitle": "Campos personalizados",
+ "subtitle": "Detalhes extras que toda tarefa em {{project}} pode registrar, como tamanho ou cliente.",
+ "subtitleFallback": "Detalhes extras que toda tarefa deste projeto pode registrar, como tamanho ou cliente.",
+ "title": "Campos personalizados"
+ },
+ "shared": {
+ "autosave": "As alterações são salvas automaticamente"
}
},
"navigation": {
diff --git a/i18n/ru-RU.json b/i18n/ru-RU.json
index 25036b6f4..9eae4d1b4 100644
--- a/i18n/ru-RU.json
+++ b/i18n/ru-RU.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Никогда"
- },
"modals": {
"createProject": {
"title": "Создать новый проект",
@@ -576,37 +573,32 @@
"advancedSettings": "Расширенные настройки",
"account": "Аккаунт",
"developer": "Разработчик",
- "information": "Информация",
+ "information": "Профиль",
"notifications": "Уведомления",
"preferences": "Настройки",
"apiKeys": "API-ключи",
"informationPage": {
- "pageTitle": "Личная информация",
- "title": "Личная информация",
- "subtitle": "Управляйте вашими персональными данными и информацией об аккаунте.",
- "sectionTitle": "Информация об аккаунте",
- "sectionSubtitle": "Управляйте вашим профилем и данными аккаунта.",
+ "pageTitle": "Профиль",
+ "title": "Профиль",
+ "subtitle": "Как вас видят коллеги по команде.",
+ "sectionTitle": "Данные",
"profilePicture": "Фото профиля",
- "fullName": "Полное имя",
+ "fullName": "Имя",
"fullNamePlaceholder": "Введите ваше имя",
"email": "Электронная почта",
- "emailPlaceholder": "Введите вашу почту",
- "updateSuccess": "Профиль успешно обновлён",
"updateError": "Не удалось обновить профиль",
"validation": {
"nameRequired": "Имя обязательно",
- "nameShort": "Имя должно содержать не менее 2 символов",
- "invalidEmail": "Некорректный адрес электронной почты"
+ "nameShort": "Имя должно содержать не менее 2 символов"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Лучше всего смотрятся квадратные изображения.",
+ "remove": "Удалить",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Загрузить"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -615,39 +607,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Вы входите с этим адресом."
},
"notificationsPage": {
"pageTitle": "Уведомления",
"title": "Уведомления",
- "subtitle": "Выберите, как Kaneo доставляет уведомления и какие каналы использовать.",
+ "subtitle": "О чём Kaneo вам сообщает и куда.",
"statusConnected": "Подключено",
"statusPaused": "Приостановлено",
"emailTitle": "Электронная почта",
- "emailDescription": "Используйте адрес вашего аккаунта для получения уведомлений.",
- "accountEmailLabel": "Почта аккаунта",
"accountEmailNoAddress": "Адрес электронной почты недоступен",
- "accountEmailHint": "Уведомления всегда отправляются на адрес электронной почты текущего аккаунта.",
"saveChanges": "Сохранить изменения",
"disconnect": "Отключить",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Отправляйте уведомления аккаунта в тему ntfy.",
+ "ntfyDescription": "Публикуйте в тему ntfy на телефоне или компьютере.",
"serverUrl": "URL сервера",
"topic": "Тема",
"token": "Токен",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Необязательный bearer-токен",
+ "ntfyTokenPlaceholder": "Только если он нужен серверу",
"ntfyTokenHintConfigured": "Токен уже настроен ({{masked}}). Введите новый токен для замены.",
- "ntfyTokenHintOptional": "Необязательно. Укажите токен, если ваш сервер ntfy требует аутентификации.",
+ "ntfyTokenHintOptional": "Укажите его, если ваш сервер ntfy требует аутентификации.",
"connectNtfy": "Подключить ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Отправляйте уведомления аккаунта на ваш сервер Gotify.",
+ "gotifyDescription": "Отправляйте уведомления на свой сервер Gotify.",
"gotifyTokenLabel": "Токен приложения",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Токен приложения Gotify",
@@ -655,38 +644,16 @@
"gotifyTokenHintRequired": "Обязательно. Используйте токен приложения с вашего сервера Gotify.",
"connectGotify": "Подключить Gotify",
"webhookTitle": "Пользовательский вебхук",
- "webhookDescription": "Отправляйте уведомления аккаунта на ваш эндпоинт в формате JSON.",
+ "webhookDescription": "Отправляйте каждое уведомление на свой эндпоинт в формате JSON.",
"endpointUrl": "URL эндпоинта",
"signingSecret": "Секрет подписи",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Необязательный общий секрет",
"webhookSecretHintConfigured": "Секрет подписи уже настроен ({{masked}}). Введите новый для замены.",
- "webhookSecretHintOptional": "Необязательно. Kaneo подписывает тело запроса, если секрет задан.",
+ "webhookSecretHintOptional": "Kaneo подписывает тело запроса, если задан секрет.",
"connectWebhook": "Подключить вебхук",
- "workspaceRulesTitle": "Правила доставки для рабочих областей",
- "workspaceRulesDescription": "Используйте глобальные каналы и определяйте, какие рабочие области и проекты могут отправлять уведомления.",
- "workspaceCardHint": "Выберите, какие каналы может использовать эта рабочая область для уведомлений.",
- "workspaceCardLabelEmail": "Почта",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Пользовательский вебхук",
- "emailChannelHintEnabled": "Отправлять подходящие уведомления рабочей области по электронной почте.",
- "emailChannelHintDisabled": "Сначала настройте и включите электронную почту глобально.",
- "ntfyChannelHintEnabled": "Отправлять подходящие уведомления рабочей области в ntfy.",
- "ntfyChannelHintDisabled": "Сначала настройте и включите ntfy глобально.",
- "gotifyChannelHintEnabled": "Отправлять подходящие уведомления рабочей области в Gotify.",
- "gotifyChannelHintDisabled": "Сначала настройте и включите Gotify глобально.",
- "webhookChannelHintEnabled": "Отправлять подходящие уведомления рабочей области на вебхук.",
- "webhookChannelHintDisabled": "Сначала настройте и включите вебхук глобально.",
- "projectScope": "Область проектов",
- "projectScopeDescription": "По умолчанию включены все проекты. Сузьте выборку, если нужны уведомления только от определённых проектов.",
"allProjects": "Все проекты",
- "allProjectsDescription": "Доставлять уведомления от всех проектов в этой рабочей области.",
- "selectedProjects": "Выбранные проекты",
- "selectedProjectsDescription": "Доставлять уведомления только от выбранных проектов.",
"noProjectsInWorkspace": "В этой рабочей области пока нет проектов.",
- "createRule": "Создать правило",
- "removeRule": "Удалить правило",
"toastEmailSaved": "Настройки email-уведомлений сохранены",
"toastEmailSaveFailed": "Не удалось сохранить настройки email",
"toastNtfySaved": "Настройки ntfy сохранены",
@@ -709,151 +676,180 @@
"toastPreferencesSaveFailed": "Не удалось сохранить настройки уведомлений",
"toastRuleSavedGeneric": "Правило уведомлений для рабочей области сохранено",
"toastRuleRemovedGeneric": "Правило уведомлений для рабочей области удалено",
- "workspaceEnabledLabel": "Включить уведомления для {{workspaceName}}",
"eventPreferencesTitle": "Уведомлять меня о",
- "eventPreferencesDescription": "Выберите, какие события задач создают уведомления в приложении и могут доставляться в подключённые каналы.",
- "eventTaskAssignments": "Назначения задач",
+ "eventPreferencesDescription": "Ваши собственные комментарии, упоминания и изменения статуса никогда не создают для вас уведомлений.",
+ "eventTaskAssignments": "Назначения",
"eventComments": "Комментарии и упоминания",
- "eventCommentsHint": "Включает новые комментарии к назначенным вам задачам и прямые @упоминания.",
- "eventStatusChanges": "Изменения статуса задач",
+ "eventCommentsHint": "Новые комментарии к вашим задачам и все, кто @упоминает вас.",
+ "eventStatusChanges": "Изменения статуса",
"eventDueDateReminders": "Напоминания о сроках",
"reminderLeadTimeLabel": "Напоминать до наступления срока",
- "reminderLeadTimeHint": "От 1 часа до 30 дней до срока. Уведомления о просроченных задачах отправляются отдельно.",
- "reminderLeadTimeUnitHours": "Часы",
- "reminderLeadTimeUnitDays": "Дни",
"reminderLeadTimeInvalid": "Введите целое число от 1 до {{max}}.",
"saveEventPreferences": "Сохранить типы уведомлений",
- "recipientHint": "Комментарии и изменения статуса уведомляют вас о назначенных вам задачах. Упоминания уведомляют выбранного участника. Вы не получаете уведомлений о собственных комментариях, упоминаниях и изменениях статуса."
+ "channelNotConnected": "Не подключён",
+ "channelOff": "Выкл.",
+ "channelsDescription": "Уведомления всегда отображаются в Kaneo. Подключите канал, чтобы получать их и в другом месте.",
+ "channelsTitle": "Каналы",
+ "configure": "Настроить",
+ "configureChannel": "Настроить {{channel}}",
+ "configureWorkspace": "Изменить уведомления для {{workspaceName}}",
+ "connect": "Подключить",
+ "connectChannel": "Подключить {{channel}}",
+ "disconnectDescription": "Уведомления перестанут приходить в {{channel}}, а сохранённые настройки будут удалены.",
+ "disconnecting": "Отключение...",
+ "disconnectTitle": "Отключить {{channel}}?",
+ "done": "Готово",
+ "emailToggleLabel": "Отправлять уведомления по электронной почте",
+ "eventDueDateRemindersHint": "Перед сроком одной из ваших задач. О просроченных задачах вы получите отдельное уведомление.",
+ "eventStatusChangesHint": "Когда одна из ваших задач перемещается в другую колонку.",
+ "eventTaskAssignmentsHint": "Когда кто-то назначает вам задачу.",
+ "loadFailed": "Не удалось загрузить настройки уведомлений.",
+ "onlyInKaneo": "Только в Kaneo",
+ "optional": "Необязательно",
+ "projectCount_few": "{{count}} проекта",
+ "projectCount_many": "{{count}} проектов",
+ "projectCount_one": "{{count}} проект",
+ "projectCount_other": "{{count}} проекта",
+ "reminderLeadTimeUnitDaysBefore_few": "дня до срока",
+ "reminderLeadTimeUnitDaysBefore_many": "дней до срока",
+ "reminderLeadTimeUnitDaysBefore_one": "день до срока",
+ "reminderLeadTimeUnitDaysBefore_other": "дня до срока",
+ "reminderLeadTimeUnitHoursBefore_few": "часа до срока",
+ "reminderLeadTimeUnitHoursBefore_many": "часов до срока",
+ "reminderLeadTimeUnitHoursBefore_one": "час до срока",
+ "reminderLeadTimeUnitHoursBefore_other": "часа до срока",
+ "reminderLeadTimeUnitLabel": "Единица напоминания",
+ "ruleActiveDescription": "Выключите, чтобы приостановить эту рабочую область с сохранением настроек.",
+ "ruleActiveLabel": "Отправка",
+ "ruleChannels": "Каналы",
+ "ruleDialogDescription": "Куда могут приходить уведомления из этой рабочей области.",
+ "ruleDialogTitle": "Уведомления: {{workspaceName}}",
+ "ruleProjects": "Проекты",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Сохранить",
+ "sendingDescription": "Выключите, чтобы приостановить этот канал с сохранением настроек.",
+ "sendingLabel": "Отправка",
+ "setUp": "Настроить",
+ "setUpWorkspace": "Настроить уведомления для {{workspaceName}}",
+ "someProjects": "Только некоторые",
+ "statusOn": "Вкл.",
+ "statusSending": "Отправка",
+ "stopping": "Остановка...",
+ "stopSending": "Остановить отправку",
+ "stopSendingDescription": "Уведомления из этой рабочей области будут отображаться только в Kaneo.",
+ "stopSendingTitle": "Остановить отправку из {{workspaceName}}?",
+ "workspacesDescription": "Выберите, какие рабочие области и проекты могут использовать ваши каналы.",
+ "workspacesTitle": "Рабочие области"
},
"preferencesPage": {
"title": "Настройки",
- "subtitle": "Настройте Kaneo под себя.",
- "appearanceTitle": "Внешний вид",
- "appearanceSubtitle": "Визуальные настройки и параметры интерфейса.",
+ "subtitle": "Как Kaneo выглядит и работает для вас.",
+ "appearanceTitle": "Основные",
"theme": "Тема",
- "themeDescription": "Выберите предпочтительную цветовую схему",
"selectTheme": "Выберите тему",
"themeLight": "Светлая",
"themeDark": "Тёмная",
- "themeSystem": "Системная",
+ "themeSystem": "Как в системе",
"language": "Язык",
- "languageDescription": "Выберите предпочтительный язык интерфейса",
"selectLanguage": "Выберите язык",
"firstDayOfWeek": "Первый день недели",
- "firstDayOfWeekDescription": "Выберите день, с которого начинаются календари и недели",
+ "firstDayOfWeekDescription": "Используется в календарях и при выборе дат.",
"selectFirstDayOfWeek": "Выберите первый день",
"weekStartsOnSunday": "Воскресенье",
"weekStartsOnMonday": "Понедельник",
"weekStartsOnSaturday": "Суббота",
"defaultView": "Вид по умолчанию",
- "defaultViewDescription": "Выберите предпочтительный режим отображения задач",
+ "defaultViewDescription": "Вид, в котором открываются проекты.",
"selectViewMode": "Выберите режим просмотра",
"board": "Доска",
"list": "Список",
"gantt": "Гант",
- "sidebarDefault": "Боковая панель по умолчанию",
- "sidebarDefaultDescription": "Оставлять боковую панель раскрытой при запуске",
- "displayOptions": "Параметры отображения",
- "displayOptionsDescription": "Выберите, какую информацию показывать в представлениях задач",
+ "sidebarDefault": "Держать боковую панель открытой",
+ "sidebarDefaultDescription": "Начинать с развёрнутой боковой панелью.",
+ "displayOptions": "Детали задач",
+ "displayOptionsDescription": "Что отображается на карточках и в строках ваших досок и списков.",
"taskNumbers": "Номера задач",
- "taskNumbersDescription": "Показывать идентификаторы и номера задач",
"assignees": "Исполнители",
- "assigneesDescription": "Показывать, кому назначены задачи",
"dueDates": "Сроки выполнения",
- "dueDatesDescription": "Показывать сроки выполнения задач",
"labels": "Метки",
- "labelsDescription": "Показывать метки и теги задач",
"priority": "Приоритет",
- "priorityDescription": "Показывать индикаторы приоритета",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Показывать изображение, которое проект задаёт за своей доской.",
+ "advancedTitle": "Дополнительно"
},
"developerPage": {
- "pageTitle": "Настройки разработчика",
- "title": "Настройки разработчика",
- "subtitle": "Управляйте вашими API-ключами и ресурсами для разработчиков.",
- "apiKeysCardTitle": "API-ключи",
- "apiKeysCardDescription": "Создавайте и управляйте API-ключами для программного доступа к Kaneo.",
- "createApiKey": "Создать API-ключ",
- "unnamedKey": "Безымянный ключ"
+ "pageTitle": "API-ключи",
+ "title": "API-ключи",
+ "subtitle": "Позвольте скриптам, CLI и MCP-клиентам работать с Kaneo от вашего имени.",
+ "unnamedKey": "Без названия",
+ "emptyDescription": "Создайте ключ, чтобы использовать CLI, MCP-клиент или собственные скрипты.",
+ "emptyTitle": "API-ключей пока нет",
+ "keysNote": "Ключ может всё, что можете вы. Удаляйте ключи, которыми больше не пользуетесь.",
+ "keysTitle": "Ключи",
+ "loadError": "Не удалось загрузить API-ключи. Попробуйте ещё раз.",
+ "newKey": "Новый ключ"
},
"apiKey": {
"createdModal": {
- "title": "API-ключ создан",
- "description": "Ваш API-ключ «{{keyName}}» успешно создан.",
- "yourApiKey": "Ваш API-ключ",
+ "title": "Скопируйте ключ",
+ "description": "После закрытия этого окна вы его больше не увидите.",
"copy": "Копировать",
"copied": "Скопировано",
- "toastCopied": "API-ключ скопирован в буфер обмена",
- "alertTitle": "Готово! Ваш API-ключ создан",
- "alertDescription": "Скопируйте этот ключ сейчас. Вы больше не сможете его увидеть.",
"done": "Готово",
- "copyToContinue": "Скопируйте ключ, чтобы продолжить"
+ "copyError": "Не удалось скопировать ключ. Выделите его и скопируйте вручную."
},
"table": {
- "loading": "Загрузка API-ключей...",
- "empty": "API-ключей пока нет. Создайте первый, чтобы начать.",
- "columnName": "Название",
- "columnKey": "Ключ",
- "columnCreated": "Создан",
- "columnExpires": "Истекает",
- "columnActions": "Действия",
- "unnamedKey": "Безымянный ключ",
- "expiredBadge": "Истёк {{label}}",
- "deleteConfirmTitle": "Удалить API-ключ?",
- "deleteConfirmDescription": "Это действие нельзя отменить. API-ключ {{name}} будет удалён навсегда.",
- "deleteFallbackName": "этот API-ключ",
- "delete": "Удалить",
- "deleting": "Удаление...",
- "deleteAria": "Удалить {{name}}",
- "deleteAriaFallback": "API-ключ",
- "toastDeleted": "API-ключ успешно удалён",
+ "deleteConfirmTitle": "Удалить «{{name}}»?",
+ "deleteConfirmDescription": "Всё, что использует этот ключ, перестанет работать. Это действие нельзя отменить.",
+ "delete": "Удалить ключ",
+ "deleting": "Удаление…",
+ "toastDeleted": "API-ключ удалён",
"toastDeleteError": "Не удалось удалить API-ключ"
},
"createDialog": {
- "title": "Создать API-ключ",
- "description": "Создайте новый API-ключ для программного доступа к Kaneo API.",
+ "title": "Новый API-ключ",
+ "description": "Ключ может всё, что можете вы.",
"nameLabel": "Название",
"namePlaceholder": "Мой API-ключ",
- "nameDescription": "Описательное название для этого API-ключа",
+ "nameDescription": "Чтобы помнить, где он используется.",
"expirationLabel": "Срок действия",
- "expirationPlaceholder": "Выберите срок действия",
- "expirationDescription": "Выберите, как долго этот API-ключ будет действителен. «Бессрочно» создаст ключ без автоматического истечения.",
"expiration1d": "1 день",
"expiration7d": "7 дней",
"expiration30d": "30 дней",
"expiration90d": "90 дней",
"expirationNever": "Бессрочно",
- "create": "Создать",
- "creating": "Создание...",
+ "create": "Создать ключ",
+ "creating": "Создание…",
"failedCreate": "Не удалось создать API-ключ",
"validation": {
- "nameRequired": "Название обязательно",
- "nameShort": "Название должно содержать не менее 3 символов",
- "expirationRequired": "Срок действия обязателен"
+ "nameRequired": "Введите название",
+ "nameShort": "Используйте не менее 3 символов"
}
+ },
+ "row": {
+ "actions": "Действия для {{name}}",
+ "created": "Создан {{date}}",
+ "expired": "Истёк {{date}}",
+ "expiredBadge": "Истёк",
+ "expires": "Истекает {{date}}",
+ "neverExpires": "Бессрочный"
}
},
"workspaceGeneral": {
"pageTitle": "Основные настройки",
- "title": "Основные настройки",
- "subtitle": "Управляйте названием и описанием рабочей области.",
- "workspaceInfoTitle": "Информация о рабочей области",
- "workspaceInfoSubtitle": "Настройте параметры и предпочтения рабочей области.",
- "nameLabel": "Название рабочей области",
- "nameHint": "Название вашей рабочей области",
+ "title": "Основные",
+ "subtitle": "Название рабочей области {{name}} и её владелец.",
+ "workspaceInfoTitle": "Рабочая область",
+ "nameLabel": "Название",
"namePlaceholder": "Введите название рабочей области",
"descriptionLabel": "Описание",
- "descriptionHint": "Краткое описание вашей рабочей области",
- "descriptionPlaceholder": "Введите описание рабочей области",
+ "descriptionPlaceholder": "Над чем работает ваша команда?",
"dangerZone": "Опасная зона",
- "dangerZoneSubtitle": "Необратимые и деструктивные действия.",
"deleteWorkspace": "Удалить рабочую область",
- "deleteWorkspaceDescription": "Запланировать безвозвратное удаление рабочей области",
+ "deleteWorkspaceDescription": "Безвозвратно удаляет рабочую область {{name}}, её проекты и задачи.",
"deleteModalTitle": "Удалить рабочую область?",
- "deleteModalDescription": "Рабочая область «{{name}}» и все её данные будут безвозвратно удалены. Это действие нельзя отменить.",
+ "deleteModalDescription": "Рабочая область {{name}} и все её проекты и задачи будут удалены безвозвратно. Это действие нельзя отменить.",
"deleteModalConfirm": "Удалить рабочую область",
- "toastUpdated": "Рабочая область успешно обновлена",
"toastUpdateError": "Не удалось обновить рабочую область",
"toastDeleted": "Рабочая область успешно удалена",
"toastDeleteError": "Не удалось удалить рабочую область",
@@ -865,45 +861,41 @@
"toastSuccess": "Права владельца переданы",
"toastError": "Не удалось передать права владельца",
"title": "Передача прав владельца",
- "subtitle": "Передайте эту рабочую область другому участнику. Вы станете администратором и потеряете возможности, доступные только владельцу.",
"pickerLabel": "Новый владелец",
"noEligibleMembers": "Пригласите хотя бы одного участника, прежде чем передавать права владельца.",
- "pickerHint": "Этот участник станет единственным владельцем рабочей области.",
+ "pickerHint": "Новый владелец получит полный контроль. Вы останетесь администратором.",
"pickerPlaceholder": "Выберите участника",
"button": "Передать",
"dialogTitle": "Передать права владельца?",
"dialogDescription": "{{name}} станет единственным владельцем рабочей области {{workspace}}. Вы сохраните права администратора, но потеряете возможности владельца, такие как удаление рабочей области или её повторная передача.",
"transferring": "Передача…",
"confirm": "Передать права владельца"
- }
+ },
+ "ownershipSubtitle": "Это видит только владелец.",
+ "ownershipTitle": "Владение"
},
"projectGeneral": {
"pageTitle": "Настройки проекта",
- "title": "Основные настройки",
- "subtitle": "Управляйте названием, ключом, иконкой и описанием проекта.",
- "projectInfoTitle": "Информация о проекте",
- "projectInfoSubtitle": "Настройте параметры и предпочтения проекта.",
+ "title": "Основные",
+ "subtitle": "Название, ключ и оформление проекта {{name}}.",
+ "projectInfoTitle": "Проект",
"iconLabel": "Иконка",
- "iconHint": "Отображается в боковой панели и на страницах проекта.",
+ "iconHint": "Отображается в боковой панели и списках проектов.",
"pickIconTitle": "Выбрать иконку",
"searchIconsPlaceholder": "Поиск иконок...",
- "projectNameLabel": "Название проекта",
- "projectNameHint": "Название вашего проекта",
- "projectNamePlaceholder": "Введите название проекта",
+ "projectNameLabel": "Название",
+ "projectNamePlaceholder": "Название проекта",
"keyLabel": "Ключ",
- "keyHint": "Используется для идентификаторов задач (например, {{slug}}-123)",
+ "keyHint": "С него начинается каждый ID задачи, например {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Описание",
- "descriptionHint": "Краткое описание вашего проекта",
- "descriptionPlaceholder": "Введите описание проекта",
+ "descriptionPlaceholder": "Для чего этот проект?",
"dangerZone": "Опасная зона",
- "dangerZoneSubtitle": "Необратимые и деструктивные действия.",
"deleteProject": "Удалить проект",
- "deleteProjectDescription": "Запланировать безвозвратное удаление проекта",
+ "deleteProjectDescription": "Безвозвратно удаляет проект {{name}} и все его задачи.",
"deleteModalTitle": "Удалить проект?",
- "deleteModalDescription": "Проект «{{name}}» и все его данные будут безвозвратно удалены. Это действие нельзя отменить.",
+ "deleteModalDescription": "Проект {{name}} и все его задачи будут удалены безвозвратно. Это действие нельзя отменить.",
"deleteModalConfirm": "Удалить проект",
- "toastUpdated": "Проект успешно обновлён",
"toastUpdateError": "Не удалось обновить проект",
"toastDeleted": "Проект успешно удалён",
"toastDeleteError": "Не удалось удалить проект",
@@ -913,40 +905,42 @@
"keyMax": "Ключ должен содержать не более 8 символов",
"iconRequired": "Иконка обязательна"
},
- "importExportTasks": "Импорт/Экспорт",
- "importExportTasksDescription": "Импортируйте и экспортируйте задачи.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Изображение за доской. Каждый может отключить фоны у себя.",
+ "backgroundUnavailable": "Загрузка изображений не настроена на этом экземпляре.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Заменить",
+ "backgroundUpload": "Загрузить",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Переместить проект",
- "moveModalDescription": "Проект «{{name}}» и все его задачи будут перемещены в «{{workspace}}». С задач, назначенных пользователям, которые не состоят в этой рабочей области, назначение будет снято, а подписки на уведомления по этому проекту будут удалены.",
- "moveModalTitle": "Переместить проект?",
"moveProject": "Переместить в другую рабочую область",
"moveProjectAction": "Переместить",
- "moveProjectDescription": "Переместите этот проект вместе со всеми задачами в другую рабочую область.",
+ "moveProjectDescription": "Задачи, колонки и метки переместятся вместе с ним.",
"moveProjectPlaceholder": "Выберите рабочую область",
"toastMoved": "Проект успешно перемещён",
"toastMovedWithUnassigned": "Проект успешно перемещён. С {{taskCount}} задач(и) снято назначение.",
"toastMoveError": "Не удалось переместить проект",
- "moveTargetsError": "Не удалось проверить, в какие рабочие пространства можно переместить этот проект. Обновите страницу, чтобы повторить попытку."
+ "moveTargetsError": "Не удалось проверить, в какие рабочие пространства можно переместить этот проект. Обновите страницу, чтобы повторить попытку.",
+ "moveDialogDescription": "Задачи, назначенные людям вне новой рабочей области, останутся без исполнителя, а подписки на уведомления этого проекта будут сброшены.",
+ "moveDialogTitle": "Переместить в другую рабочую область?",
+ "moveTargetLabel": "Рабочая область",
+ "moving": "Перемещение...",
+ "tasksTitle": "Задачи"
},
"projectIntegrations": {
- "pageTitle": "Интеграции проекта",
- "title": "Интеграции проекта",
- "subtitle": "Подключите ваш проект к внешним инструментам и сервисам для оптимизации рабочего процесса.",
+ "pageTitle": "Интеграции",
+ "title": "Интеграции",
+ "subtitle": "Подключите этот проект к хостингу кода и чату вашей команды.",
"githubSectionTitle": "Интеграция с GitHub",
"githubSectionSubtitle": "Синхронизация задач с GitHub Issues и двусторонняя синхронизация.",
"giteaSectionTitle": "Интеграция с Gitea",
"giteaSectionSubtitle": "Синхронизация задач с вашим экземпляром Gitea (задачи, PR, вебхуки).",
"discordSectionTitle": "Интеграция с Discord",
"discordSectionSubtitle": "Отправка обновлений по задачам проекта в канал Discord через вебхук.",
- "genericWebhookSectionTitle": "Пользовательские вебхуки",
+ "genericWebhookSectionTitle": "Вебхуки",
"genericWebhookSectionSubtitle": "Отправка событий по задачам проекта на любой HTTP-эндпоинт в формате JSON.",
"slackSectionTitle": "Интеграция со Slack",
"slackSectionSubtitle": "Отправка обновлений по задачам проекта в канал Slack через входящий вебхук.",
@@ -954,7 +948,7 @@
"telegramSectionSubtitle": "Отправка обновлений по задачам проекта в чат или тему Telegram через бота.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Синхронизация задач с GitLab.com или self-managed экземпляром (issues, merge requests, вебхуки).",
+ "gitlabSectionSubtitle": "Синхронизация задач с GitLab.com или собственным экземпляром.",
"gitlabSectionTitle": "Интеграция с GitLab",
"codeHostingTitle": "Хостинг кода",
"chatTitle": "Чаты и вебхуки",
@@ -967,69 +961,59 @@
"projectVisibility": {
"pageTitle": "Видимость проекта",
"title": "Видимость",
- "subtitle": "Управляйте доступом к вашему проекту.",
- "sectionTitle": "Видимость",
- "sectionSubtitle": "Переключайте публичный доступ и делитесь публичной ссылкой.",
- "publicAccess": "Публичный доступ",
- "publicAccessHint": "Разрешить доступ к проекту всем, у кого есть ссылка",
+ "subtitle": "Выберите, кто может видеть {{project}} за пределами {{workspace}}.",
+ "sectionTitle": "Доступ",
+ "publicAccess": "Публичная ссылка",
+ "publicAccessHint": "Любой, у кого есть ссылка, может просматривать доску и её задачи, но ничего не может изменить.",
"publicUrl": "Публичная ссылка",
- "publicUrlHint": "Поделитесь этой ссылкой, если проект публичный",
- "copy": "Копировать",
- "copiedToast": "Скопировано",
+ "copy": "Копировать ссылку",
"toastUpdated": "Видимость обновлена",
- "toastUpdateError": "Не удалось обновить видимость"
+ "toastUpdateError": "Не удалось обновить видимость",
+ "always": "Всегда",
+ "copied": "Скопировано",
+ "copyError": "Не удалось скопировать ссылку",
+ "membersDescription": "Все в рабочей области, в рамках прав своей роли.",
+ "membersTitle": "Участники {{workspace}}",
+ "offNote": "После отключения публичная ссылка сразу перестаёт работать.",
+ "on": "Вкл.",
+ "openPublicPage": "Открыть публичную страницу",
+ "thisWorkspace": "этой рабочей области"
},
"projectWorkflow": {
"pageTitle": "Настройки рабочего процесса",
"title": "Рабочий процесс",
- "subtitle": "Настройте колонки доски и правила автоматизации для этого проекта.",
+ "subtitle": "Колонки вашей доски и то, что перемещает задачи между ними.",
"columnsTitle": "Колонки",
- "columnsDescription": "Управляйте колонками на доске. Перетаскивайте для изменения порядка. Включите «Колонка завершения» для этапов, обозначающих выполненную работу.",
- "automationTitle": "Правила автоматизации",
- "automationDescription": "Привяжите события интеграций к колонкам. При наступлении события связанная задача перемещается в указанную колонку.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Перетаскивайте, чтобы изменить порядок. Задачи в колонке завершения считаются выполненными.",
+ "automationTitle": "Автоматизации",
+ "automationDescription": "Перемещайте связанную задачу, когда что-то происходит в подключённом репозитории."
},
"projectSwitcher": {
"selectProject": "Выберите проект",
"noProjects": "Нет проектов"
},
"columnEditor": {
- "toastCreated": "Колонка создана",
"toastCreateError": "Не удалось создать колонку",
- "toastRenamed": "Колонка переименована",
"toastRenameError": "Не удалось обновить колонку",
- "toastFinalOn": "Колонка отмечена как завершающая",
- "toastFinalOff": "Колонка больше не завершающая",
"toastUpdateError": "Не удалось обновить колонку",
- "toastIconUpdated": "Иконка колонки обновлена",
- "toastDeleted": "Колонка удалена",
"toastDeleteError": "Не удалось удалить колонку",
- "loading": "Загрузка колонок...",
"pickIconTitle": "Выберите иконку колонки",
"searchIconsPlaceholder": "Поиск иконок...",
- "doneColumnTooltip": "Считать эту колонку завершающей",
- "doneColumn": "Колонка завершения",
"markDoneAria": "Отметить {{name}} как колонку завершения",
- "on": "Вкл",
- "off": "Выкл",
- "newColumnPlaceholder": "Название новой колонки...",
- "add": "Добавить",
+ "newColumnPlaceholder": "Название колонки",
"deleteAria": "Удалить столбец {{name}}",
- "renameAria": "Переименовать столбец {{name}}"
+ "renameAria": "Переименовать столбец {{name}}",
+ "addColumn": "Добавить колонку",
+ "columnHeader": "Колонка",
+ "deleteConfirm": "Удалить колонку",
+ "deleteDescription": "Колонки, в которых ещё есть задачи, удалить нельзя. Сначала переместите эти задачи.",
+ "deleteTitle": "Удалить «{{name}}»?",
+ "doneHeader": "Готово",
+ "dragAria": "Изменить порядок: {{name}}",
+ "reorderError": "Не удалось изменить порядок колонок"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Владелец репозитория обязателен",
- "ownerInvalid": "Некорректный формат владельца репозитория",
- "nameRequired": "Название репозитория обязательно",
- "nameInvalid": "Некорректный формат названия репозитория"
- },
"toast": {
- "installedOk": "GitHub App установлено корректно!",
- "installedMissingPerms": "GitHub App установлено, но не хватает прав",
- "needsInstallOnRepo": "GitHub App необходимо установить на этот репозиторий",
- "repoNotFound": "Репозиторий не найден или недоступен",
"verifyError": "Не удалось проверить установку GitHub",
"installAppFirst": "Сначала установите GitHub App на этот репозиторий",
"missingPermsDetail": "GitHub App не хватает прав: {{list}}. Пожалуйста, обновите права приложения.",
@@ -1043,64 +1027,36 @@
"commentOnDisabled": "Комментарии со ссылками на задачи в новых issues отключены",
"settingsUpdateError": "Не удалось обновить интеграцию с GitHub"
},
- "connectionStatus": "Статус подключения",
- "connectedActive": "Репозиторий подключён и активен",
- "notConnectedHint": "Репозиторий не подключён",
- "badgeConnected": "Подключён",
- "badgeNotConnected": "Не подключён",
- "repository": "Репозиторий",
- "repositoryHint": "Подключённый репозиторий GitHub",
- "commentTaskLinkTitle": "Комментировать ссылкой Kaneo в новых issues",
- "commentTaskLinkHint": "Когда включено, Kaneo оставляет комментарий в каждом новом GitHub issue со ссылкой на задачу.",
- "appStatusTitle": "Статус GitHub App",
- "appStatusHint": "Статус установки и прав",
- "statusProperlyConfigured": "Настроено корректно",
- "statusMissingPermissions": "Не хватает прав",
- "statusNotInstalled": "Не установлено",
- "ownerLabel": "Владелец репозитория",
- "ownerHint": "Имя пользователя или организации GitHub",
- "ownerPlaceholder": "например, octocat",
- "repoNameLabel": "Название репозитория",
- "repoNameHint": "Название репозитория",
- "repoNamePlaceholder": "например, my-project",
- "actionsTitle": "Действия",
- "actionsHint": "Управление подключением к репозиторию",
- "browse": "Обзор",
- "verify": "Проверить",
- "update": "Обновить",
- "connect": "Подключить",
- "disconnect": "Отключить",
- "missingPermissionsLabel": "Недостающие права:",
+ "commentTaskLinkTitle": "Оставлять ссылку Kaneo в комментарии к новым issues",
+ "commentTaskLinkHint": "Чтобы на GitHub можно было сразу перейти к задаче.",
"updatePermissions": "Обновить права",
"installGithubApp": "Установить GitHub App",
- "importSectionTitle": "Импорт GitHub Issues",
- "importSectionHint": "Импортируйте существующие issues из вашего GitHub-репозитория как задачи",
- "importing": "Импорт...",
- "importIssues": "Импортировать Issues",
- "importDisabledHint": "Завершите настройку репозитория выше, чтобы включить импорт",
+ "importSectionHint": "Импортируйте открытые issues репозитория как задачи.",
+ "importDisabledHint": "Переподключите репозиторий, чтобы включить импорт.",
"accountVerificationHint": "Подключите аккаунт GitHub, чтобы подтвердить права администратора этого репозитория.",
"enableGithubSignInHint": "Попросите администратора вашего сервера включить вход через GitHub.",
"reverifyHint": "Подключите репозиторий повторно, чтобы подтвердить доступ и возобновить синхронизацию.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Его issues и pull requests будут связаны с задачами здесь.",
+ "linkAccountDescription": "Подтверждает, что вы можете администрировать репозиторий.",
+ "linkAccountTitle": "Привяжите аккаунт GitHub",
+ "linked": "Привязан",
+ "linkGithub": "Привязать GitHub",
+ "verifyMissingPermissions": "У GitHub App Kaneo не хватает прав: {{list}}.",
+ "verifyNotInstalled": "GitHub App Kaneo не установлен в этом репозитории.",
+ "verifyReady": "GitHub App Kaneo установлен со всеми нужными правами.",
+ "workflowHint": "Перемещение задач при открытии или слиянии pull requests настраивается в разделе",
+ "workflowLink": "Рабочий процесс"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "URL Gitea обязателен",
- "baseUrlInvalid": "Введите корректный URL (например, https://gitea.example.com)",
- "ownerRequired": "Владелец репозитория обязателен",
- "ownerInvalid": "Некорректный формат владельца репозитория",
- "nameRequired": "Название репозитория обязательно",
- "nameInvalid": "Некорректный формат названия репозитория"
+ "baseUrlInvalid": "Введите корректный URL (например, https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Токен Gitea может получить доступ к этому репозиторию",
- "verifyWarning": "Проверьте права токена или доступ к репозиторию",
- "repoNotFound": "Репозиторий не найден или недоступен",
"verifyError": "Не удалось проверить доступ к Gitea",
- "tokenRequired": "Требуется персональный токен доступа",
- "tokenRequiredVerify": "Введите токен для проверки",
"verifyFirst": "Проверка доступа не удалась. Проверьте URL, токен и репозиторий",
"updated": "Интеграция с Gitea сохранена",
"updateError": "Не удалось сохранить интеграцию с Gitea",
@@ -1110,56 +1066,22 @@
"importError": "Не удалось импортировать issues",
"commentOnEnabled": "Kaneo будет комментировать новые issues ссылкой на задачу",
"commentOnDisabled": "Комментарии со ссылками на задачи в новых issues отключены",
- "settingsUpdateError": "Не удалось обновить интеграцию с Gitea",
- "secretCopied": "Скопировано",
- "unableToCopySecret": "Не удалось скопировать секрет",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly."
- },
- "webhookShow": "Показать",
- "webhookHide": "Скрыть",
- "webhookCopy": "Копировать",
- "connectionStatus": "Статус подключения",
- "connectedActive": "Репозиторий подключён и активен",
- "notConnectedHint": "Репозиторий Gitea не подключён",
- "badgeConnected": "Подключён",
- "badgeNotConnected": "Не подключён",
- "repository": "Репозиторий",
- "repositoryHint": "Привязанный репозиторий Gitea",
- "commentTaskLinkTitle": "Комментировать ссылкой Kaneo в новых issues",
- "commentTaskLinkHint": "Когда включено, Kaneo оставляет комментарий в каждом новом issue со ссылкой на задачу.",
- "webhookTitle": "Вебхук",
- "webhookHint": "В вашем репозитории Gitea добавьте вебхук с этим URL и секретом. Включите события: push, pull request, issues, комментарии к issues и создание (для меток).",
- "webhookSecretLabel": "Секрет (должен совпадать с секретом вебхука в Gitea)",
+ "settingsUpdateError": "Не удалось обновить интеграцию с Gitea"
+ },
+ "commentTaskLinkTitle": "Оставлять ссылку Kaneo в комментарии к новым issues",
+ "commentTaskLinkHint": "Чтобы в Gitea можно было сразу перейти к задаче.",
+ "webhookHint": "Добавьте этот вебхук в настройках репозитория, чтобы изменения возвращались в Kaneo.",
"baseUrlLabel": "URL Gitea",
- "baseUrlHint": "Корневой URL вашего экземпляра Gitea",
"tokenLabel": "Персональный токен доступа",
- "tokenHint": "Токен с доступом к репозиторию и issues",
"tokenPlaceholder": "Вставьте токен",
"tokenPlaceholderUpdate": "Вставьте новый токен для замены",
- "currentToken": "сохранён",
- "ownerLabel": "Владелец",
- "ownerHint": "Имя пользователя или организации",
- "repoNameLabel": "Название репозитория",
- "repoNameHint": "Только название репозитория (без владельца)",
- "actionsTitle": "Действия",
- "actionsHint": "Проверить доступ и подключить",
- "browse": "Обзор",
- "verify": "Проверить",
- "update": "Обновить",
- "connect": "Подключить",
- "disconnect": "Отключить",
- "importSectionTitle": "Импорт issues из Gitea",
- "importSectionHint": "Импортируйте открытые issues и pull requests из репозитория",
- "importing": "Импорт…",
- "importIssues": "Импортировать issues",
- "importDisabledHint": "Проверьте репозиторий выше, чтобы включить импорт",
- "browseModalTitle": "Ваши репозитории",
- "browseModalHint": "Репозитории, к которым у вашего токена есть доступ",
- "searchRepos": "Поиск…",
- "browseNeedsCredentials": "Введите URL Gitea и токен для просмотра",
- "loadingRepos": "Загрузка репозиториев…",
- "retry": "Повторить"
+ "importSectionHint": "Импортируйте открытые issues и pull requests как задачи.",
+ "importDisabledHint": "Для импорта нужен проверенный доступ. Проверьте статус токена выше.",
+ "browseModalHint": "Репозитории, к которым у вашего токена есть доступ.",
+ "browseNeedsCredentials": "Введите URL Gitea и токен, чтобы просмотреть список.",
+ "browseEmpty": "Этот токен не видит ни одного репозитория.",
+ "chooseRepositoryDescription": "Введите owner/name или выберите из списка.",
+ "webhookEvents": "Включите события push, pull request, issue, issue comment и create."
},
"slackIntegration": {
"validation": {
@@ -1174,30 +1096,10 @@
"removed": "Интеграция со Slack успешно удалена",
"removeError": "Не удалось удалить интеграцию со Slack"
},
- "connectionTitle": "Подключение вебхука Slack",
- "connectionHint": "Вставьте URL входящего вебхука Slack и выберите, какие события задач отправлять.",
- "connected": "Подключён",
- "paused": "Приостановлен",
- "webhookLabel": "URL входящего вебхука",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Создайте входящий вебхук в Slack и вставьте сгенерированный URL сюда.",
- "channelLabel": "Название канала",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Необязательная метка для справки. Slack определяет канал назначения из настроек вебхука.",
- "eventsTitle": "Уведомления о событиях",
- "eventsHint": "Выберите, какие изменения проекта отправлять в Slack.",
- "events": {
- "taskCreated": "Новые задачи",
- "taskStatusChanged": "Изменения статуса",
- "taskPriorityChanged": "Изменения приоритета",
- "taskTitleChanged": "Изменения названия",
- "taskDescriptionChanged": "Изменения описания",
- "taskCommentCreated": "Новые комментарии"
- },
+ "webhookHint": "Создайте входящий вебхук в Slack и вставьте его сюда.",
"connect": "Подключить Slack",
- "saveChanges": "Сохранить изменения",
- "update": "Обновить Slack",
- "disconnect": "Отключить"
+ "update": "Обновить Slack"
},
"discordIntegration": {
"validation": {
@@ -1212,34 +1114,15 @@
"removed": "Интеграция с Discord успешно удалена",
"removeError": "Не удалось удалить интеграцию с Discord"
},
- "connectionTitle": "Подключение вебхука Discord",
- "connectionHint": "Вставьте URL вебхука Discord и выберите, какие события задач отправлять.",
- "connected": "Подключён",
- "paused": "Приостановлен",
- "webhookLabel": "URL вебхука",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Создайте вебхук канала Discord и вставьте сгенерированный URL сюда.",
- "channelLabel": "Название канала",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Необязательная метка для справки. Discord определяет канал назначения из настроек вебхука.",
- "eventsTitle": "Уведомления о событиях",
- "eventsHint": "Выберите, какие изменения проекта отправлять в Discord.",
- "events": {
- "taskCreated": "Новые задачи",
- "taskStatusChanged": "Изменения статуса",
- "taskPriorityChanged": "Изменения приоритета",
- "taskTitleChanged": "Изменения названия",
- "taskDescriptionChanged": "Изменения описания",
- "taskCommentCreated": "Новые комментарии"
- },
+ "webhookHint": "Создайте вебхук канала в Discord и вставьте его сюда.",
"connect": "Подключить Discord",
- "saveChanges": "Сохранить изменения",
- "update": "Обновить Discord",
- "disconnect": "Отключить"
+ "update": "Обновить Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Введите корректный URL вебхука"
+ "webhookInvalid": "Введите корректный URL вебхука",
+ "leadTimeRange": "Выберите время от 5 минут до 720 часов."
},
"toast": {
"saved": "Пользовательский вебхук успешно сохранён",
@@ -1250,43 +1133,41 @@
"removed": "Пользовательский вебхук успешно удалён",
"removeError": "Не удалось удалить пользовательский вебхук"
},
- "connectionTitle": "Исходящий вебхук",
- "connectionHint": "Отправляйте события задач на ваш эндпоинт в формате JSON. Подписанный заголовок X-Kaneo-Signature включается, если настроен секрет.",
- "connected": "Подключён",
- "paused": "Приостановлен",
"webhookLabel": "URL эндпоинта",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo отправляет POST-запросы с JSON-данными для каждого включённого события.",
"secretLabel": "Секрет подписи",
- "secretPlaceholder": "Необязательный общий секрет",
- "secretHint": "Необязательно. Если задан, Kaneo подписывает тело запроса и отправляет hex-дайджест в заголовке X-Kaneo-Signature.",
- "secretHintConfigured": "Секрет подписи уже настроен ({{secret}}). Введите новый для замены.",
- "eventsTitle": "Уведомления о событиях",
- "eventsHint": "Выберите, какие изменения проекта должны вызывать исходящие вебхуки.",
+ "secretPlaceholder": "Общий секрет",
+ "secretHint": "Kaneo подписывает им каждый запрос и отправляет дайджест в заголовке X-Kaneo-Signature.",
+ "secretHintConfigured": "Текущий секрет: {{secret}}. Вставьте новый, чтобы заменить его.",
+ "eventsTitle": "Когда отправлять",
"events": {
- "taskCreated": "Новые задачи",
- "taskStatusChanged": "Изменения статуса",
- "taskPriorityChanged": "Изменения приоритета",
- "taskTitleChanged": "Изменения названия",
- "taskDescriptionChanged": "Изменения описания",
- "taskCommentCreated": "Новые комментарии",
+ "taskCreated": "Задача создана",
+ "taskStatusChanged": "Статус изменён",
+ "taskPriorityChanged": "Приоритет изменён",
+ "taskTitleChanged": "Название изменено",
+ "taskDescriptionChanged": "Описание изменено",
+ "taskCommentCreated": "Новый комментарий",
"taskDeleted": "Задача удалена",
"taskMoved": "Задача перемещена",
"taskDueDateChanged": "Изменен срок выполнения",
"taskAssigneeChanged": "Изменен исполнитель",
"taskUnassigned": "Назначение снято",
- "dueDateReminder": "Напоминания о сроках"
+ "dueDateReminder": "Напоминание о сроке"
},
"connect": "Подключить вебхук",
- "saveChanges": "Сохранить изменения",
- "disconnect": "Отключить",
- "reminderLeadTimeLabel": "Отправлять вебхук за указанное число часов до срока"
+ "reminderLeadTimeLabel": "Количество часов до срока задачи",
+ "activeTitle": "Отправка событий",
+ "disconnectDescription": "Kaneo перестанет отправлять события и удалит сохранённые эндпоинт и секрет.",
+ "disconnectTitle": "Отключить вебхук?",
+ "reminderLeadTimeAfter": "ч до срока задачи",
+ "reminderLeadTimeBefore": "Отправлять напоминания за"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Введите корректный токен Telegram-бота",
"chatIdRequired": "ID чата обязателен",
- "threadIdInvalid": "Введите корректный ID темы Telegram"
+ "threadIdInvalid": "Введите корректный ID темы"
},
"toast": {
"saved": "Интеграция с Telegram успешно сохранена",
@@ -1297,55 +1178,38 @@
"removed": "Интеграция с Telegram успешно удалена",
"removeError": "Не удалось удалить интеграцию с Telegram"
},
- "connectionTitle": "Подключение Telegram-бота",
- "connectionHint": "Используйте токен Telegram-бота и ID чата для отправки обновлений по задачам в чат или тему.",
- "connected": "Подключён",
- "paused": "Приостановлен",
"botTokenLabel": "Токен бота",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Создайте бота через BotFather и вставьте его токен сюда.",
- "botTokenHintConfigured": "Токен бота уже настроен ({{token}}). Введите новый для замены.",
+ "botTokenHintConfigured": "Текущий токен: {{token}}",
"chatIdLabel": "ID чата",
"chatIdPlaceholder": "-1001234567890 или @team_updates",
- "chatIdHint": "Введите ID чата Telegram или имя пользователя канала, куда будут отправляться обновления.",
"threadIdLabel": "ID темы",
- "threadIdPlaceholder": "Необязательный ID темы",
- "threadIdHint": "Необязательно. Используйте для форумных тем внутри Telegram-групп.",
- "chatLabelLabel": "Метка чата",
+ "threadIdPlaceholder": "Для тем форума",
+ "chatLabelLabel": "Название чата",
"chatLabelPlaceholder": "Обновления разработки",
- "chatLabelHint": "Необязательная метка для справки внутри Kaneo.",
- "eventsTitle": "Уведомления о событиях",
- "eventsHint": "Выберите, какие изменения проекта отправлять в Telegram.",
- "events": {
- "taskCreated": "Новые задачи",
- "taskStatusChanged": "Изменения статуса",
- "taskPriorityChanged": "Изменения приоритета",
- "taskTitleChanged": "Изменения названия",
- "taskDescriptionChanged": "Изменения описания",
- "taskCommentCreated": "Новые комментарии"
- },
"connect": "Подключить Telegram",
- "saveChanges": "Сохранить изменения",
- "disconnect": "Отключить"
+ "botTokenSavedPlaceholder": "Сохранено. Вставьте новый токен, чтобы заменить его.",
+ "loadError": "Не удалось загрузить настройки Telegram."
},
"repositoryBrowser": {
"title": "Выберите репозиторий",
- "description": "Выберите репозиторий, на котором установлен ваш GitHub App, для включения синхронизации issues.",
- "searchPlaceholder": "Поиск репозиториев...",
- "loadError": "Не удалось загрузить репозитории",
- "tryAgain": "Попробовать снова",
- "emptyTitle": "Репозитории не найдены",
+ "description": "Репозитории, которые видит GitHub App Kaneo.",
+ "searchPlaceholder": "Поиск репозиториев",
+ "loadError": "Не удалось загрузить репозитории.",
+ "tryAgain": "Повторить",
+ "emptyTitle": "Репозиториев пока нет",
"emptyHint": "Установите GitHub App на ваши репозитории, чтобы они появились здесь.",
"installGithubApp": "Установить GitHub App",
- "noSearchMatchTitle": "Репозитории по вашему запросу не найдены",
- "noSearchMatchHint": "Попробуйте изменить поисковый запрос или очистите поиск, чтобы увидеть все репозитории.",
- "footerSummary": "{{repoCount}} репозиториев в {{installationCount}} установках",
- "manageInstallations": "Управление установками",
- "updatedPrefix": "Обновлён",
- "relativeJustNow": "только что",
- "relativeMinutesAgo": "{{count}} мин. назад",
- "relativeHoursAgo": "{{count}} ч. назад",
- "relativeDaysAgo": "{{count}} дн. назад"
+ "noSearchMatchTitle": "Подходящих репозиториев нет",
+ "noSearchMatchHint": "Попробуйте другое название или очистите поиск.",
+ "emptyPageHint": "На этой странице ничего нет. Загрузите ещё, чтобы продолжить поиск.",
+ "loadMore": "Загрузить ещё",
+ "manageAccess": "Управлять доступом приложения",
+ "missingOne": "Нет нужного?",
+ "searching": "Поиск…",
+ "updated": "Обновлён {{time}}",
+ "useRepository": "Использовать репозиторий"
},
"tasksImportExport": {
"exportTasks": "Экспорт задач",
@@ -1372,27 +1236,26 @@
"noFileDropped": "Файл не был перетащен",
"notJsonFile": "Пожалуйста, загрузите JSON-файл",
"importSuccess": "Успешно импортировано {{count}} задач",
- "importPartialError": "Не удалось импортировать {{count}} задач"
+ "importPartialError": "Не удалось импортировать {{count}} задач",
+ "export": "Экспорт",
+ "exportDescription": "Скачайте все задачи этого проекта в виде файла.",
+ "import": "Импорт",
+ "importDescription": "Добавьте задачи из ранее экспортированного файла."
},
"workflowEditor": {
- "loading": "Загрузка...",
- "createColumnsFirst": "Сначала создайте колонки для настройки правил автоматизации.",
- "githubHeading": "GitHub",
- "githubHint": "Когда происходит событие GitHub, перемещать связанную задачу в колонку.",
- "giteaHeading": "Gitea",
- "giteaHint": "Когда происходит событие вебхука Gitea, перемещать связанную задачу в колонку.",
- "selectColumnPlaceholder": "Выберите колонку...",
- "toastUpdated": "Правило рабочего процесса обновлено",
"toastError": "Не удалось обновить правило",
"events": {
- "branch_push": "Push ветки",
- "pr_opened": "PR открыт",
- "pr_merged": "PR влит",
+ "branch_push": "Push в ветку",
+ "pr_opened": "Pull request открыт",
+ "pr_merged": "Pull request слит",
"issue_opened": "Issue открыт",
"issue_closed": "Issue закрыт"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "Когда происходит событие вебхука GitLab, перевести связанную задачу в колонку."
+ "connectMore": "Подключите {{providers}} в разделе <link>Интеграции</link>, чтобы автоматизировать и их.",
+ "dontMove": "Не перемещать",
+ "emptyDescription": "Для автоматизаций нужен подключённый репозиторий GitHub, Gitea или GitLab.",
+ "emptyTitle": "Нет подключённых репозиториев",
+ "openIntegrations": "Открыть интеграции"
},
"externalLinks": {
"resources": "Ресурсы",
@@ -1621,22 +1484,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Настройки меток",
+ "pageTitle": "Метки",
"title": "Метки",
- "subtitle": "Создавайте, редактируйте и удаляйте метки уровня рабочей области.",
- "cardDescription": "Управляйте метками, которые можно назначать задачам.",
+ "subtitle": "Метки общие для всех проектов этой рабочей области.",
"createLabel": "Создать метку",
- "editLabel": "Редактировать метку",
- "deleteLabel": "Удалить",
+ "editLabel": "Изменить метку",
+ "deleteLabel": "Удалить метку",
"saveLabel": "Сохранить",
- "nameLabel": "Название метки",
- "namePlaceholder": "Введите название метки",
+ "nameLabel": "Название",
+ "namePlaceholder": "Название метки",
"colorLabel": "Цвет",
- "createDescription": "Создайте новую метку, которую можно использовать в задачах этой рабочей области.",
- "editDescription": "Обновите название или цвет этой метки.",
- "deleteConfirmTitle": "Удалить эту метку?",
- "deleteConfirmDescription": "Метка будет безвозвратно удалена из всех задач. Это действие нельзя отменить.",
- "empty": "Меток пока нет. Создайте первую метку, чтобы начать.",
+ "createDescription": "Проекты этой рабочей области смогут добавлять её к своим задачам.",
+ "editDescription": "Изменения появятся во всех задачах с этой меткой.",
+ "deleteConfirmTitle": "Удалить «{{name}}»?",
+ "deleteConfirmDescription": "Метка будет удалена из всех задач, где она используется. Это действие нельзя отменить.",
"createSuccess": "Метка создана",
"updateSuccess": "Метка обновлена",
"deleteSuccess": "Метка удалена",
@@ -1644,30 +1505,23 @@
"updateError": "Не удалось обновить метку",
"deleteError": "Не удалось удалить метку",
"nameRequired": "Название метки обязательно",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Удаление из задач…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Изменить {{name}}",
+ "emptyDescription": "Добавляйте метки, чтобы сортировать и фильтровать задачи во всех проектах.",
+ "emptyTitle": "Меток пока нет",
+ "loadError": "Не удалось загрузить метки. Попробуйте ещё раз.",
+ "newLabel": "Новая метка",
+ "preview": "В задаче",
+ "previewPlaceholder": "Метка",
+ "resume": "Продолжить",
+ "rowActions": "Действия для {{name}}",
+ "sectionDescription": "Переименование метки или смена её цвета обновляет все задачи, где она используется.",
+ "sectionTitle": "Метки рабочей области",
+ "subtitleWithWorkspace": "Метки общие для всех проектов в {{workspaceName}}."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1681,58 +1535,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Создайте входящий вебхук в Mattermost и вставьте его сюда.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Флажок",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Выпадающий список, несколько значений"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Очистить значение по умолчанию",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Действия для {{name}}",
+ "addOption": "Добавить вариант",
+ "allowSeveral": "Разрешить несколько",
+ "allowSeveralDescription": "В задаче можно выбрать больше одного варианта.",
+ "checked": "Отмечено",
+ "createField": "Создать поле",
+ "defaultDescription": "Новые задачи начинают с этого значения.",
+ "deleteConfirm": "Удалить поле",
+ "deleteDescription": "Поле и его значение будут удалены из всех задач. Это действие нельзя отменить.",
+ "deleteTitle": "Удалить «{{name}}»?",
+ "dialogDescription": "Это поле получит каждая задача в {{project}}.",
+ "dialogDescriptionFallback": "Это поле получит каждая задача в этом проекте.",
+ "dragAria": "Изменить порядок: {{name}}",
+ "dragOptionAria": "Изменить порядок: {{option}}",
+ "edit": "Изменить",
+ "editTitle": "Изменить поле",
+ "emptyDescription": "Отслеживайте в каждой задаче такие данные, как размер, клиент или дата запуска.",
+ "emptyTitle": "Пользовательских полей пока нет",
+ "issues": {
+ "defaultRequired": "Обязательным полям нужно значение по умолчанию.",
+ "moreOptionsRequired": "Добавьте хотя бы два варианта, чтобы разрешить несколько.",
+ "optionsRequired": "Добавьте хотя бы один вариант."
+ },
+ "nameLabel": "Название",
+ "newTitle": "Новое поле",
+ "noDefault": "Без значения по умолчанию",
+ "optionsLabel": "Варианты",
+ "removeOptionAria": "Удалить {{option}}",
+ "renameOptionAria": "Переименовать {{option}}",
+ "requiredDescription": "У каждой задачи всегда есть значение.",
+ "save": "Сохранить",
+ "saving": "Сохранение...",
+ "startsAs": "По умолчанию «{{value}}»",
+ "startsAt": "По умолчанию {{value}}",
+ "startsChecked": "По умолчанию отмечено",
+ "startsOn": "По умолчанию {{date}}",
+ "startsUnchecked": "По умолчанию не отмечено",
+ "typeLabel": "Тип",
+ "typeLocked": "Тип нельзя изменить после создания поля.",
+ "unchecked": "Не отмечено",
+ "updateError": "Не удалось сохранить пользовательское поле.",
+ "updateSuccess": "Пользовательское поле сохранено."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Деактивировать",
+ "edit": "Изменить",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Активировать снова"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Роль",
"status": "Status",
"user": "User"
},
@@ -1754,7 +1640,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Все пользователи",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1767,7 +1653,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1775,7 +1660,7 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Администратор",
"user": "User"
},
"searchCount_few": "{{count}} matching users",
@@ -1783,13 +1668,13 @@
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Поиск по имени или электронной почте",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Все, у кого есть аккаунт в этом экземпляре Kaneo.",
+ "title": "Пользователи",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1798,11 +1683,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_few": "{{count}} registered users",
- "userCount_many": "{{count}} registered users",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Вы"
},
"security": "Security",
"securityPage": {
@@ -1817,11 +1698,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Вход",
+ "submit": "Сменить пароль",
+ "submitting": "Смена...",
+ "subtitle": "Как вы входите в Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1831,94 +1711,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Сменить пароль",
+ "dialogDescription": "Не менее 8 символов, отличный от текущего.",
+ "dialogTitle": "Сменить пароль",
+ "passwordHint": "Используйте не менее 8 символов, которые вы больше нигде не используете.",
+ "passwordTitle": "Пароль"
},
"gitlabIntegration": {
- "actionsHint": "Проверьте доступ и подключите",
- "actionsTitle": "Действия",
- "badgeConnected": "Подключено",
- "badgeNotConnected": "Не подключено",
- "baseUrlHint": "https://gitlab.com или корневой URL вашего экземпляра",
"baseUrlLabel": "URL GitLab",
- "browse": "Обзор",
- "browseModalHint": "Проекты, участником которых является владелец токена",
- "browseModalTitle": "Ваши проекты",
- "browseNeedsCredentials": "Введите URL GitLab и токен для просмотра",
- "commentTaskLinkHint": "Когда включено, Kaneo оставляет ссылку на задачу в каждом issue, созданном в GitLab.",
+ "browseModalHint": "Проекты, в которых состоит ваш токен.",
+ "browseNeedsCredentials": "Введите URL GitLab и токен, чтобы просмотреть список.",
+ "commentTaskLinkHint": "Чтобы в GitLab можно было сразу перейти к задаче.",
"commentTaskLinkTitle": "Комментировать ссылкой Kaneo issues, созданные в GitLab",
- "connect": "Подключить",
- "connectedActive": "Проект подключён и активен",
- "connectionStatus": "Статус подключения",
- "currentToken": "сохранён",
- "disconnect": "Отключить",
- "importDisabledHint": "Проверьте проект выше, чтобы включить импорт",
- "importing": "Импорт…",
- "importIssues": "Импортировать issues",
- "importSectionHint": "Импортировать открытые issues и merge requests из проекта",
- "importSectionTitle": "Импорт issues из GitLab",
- "loadingProjects": "Загрузка проектов…",
- "loadProjectsError": "Не удалось загрузить проекты",
- "notConnectedHint": "Проект GitLab не подключён",
+ "importSectionHint": "Импортируйте открытые issues и merge requests как задачи.",
+ "loadProjectsError": "Не удалось загрузить проекты.",
"openInGitlab": "Открыть {{project}} в GitLab",
- "project": "Проект",
- "projectHint": "Подключённый проект GitLab",
- "projectPathHint": "Полный путь со всеми группами, например group/subgroup/project",
"projectPathLabel": "Путь проекта",
- "retry": "Повторить",
- "searchProjects": "Поиск…",
+ "searchProjects": "Поиск проектов",
"toast": {
"commentOnDisabled": "Комментарии со ссылкой на задачу в issues из GitLab отключены",
"commentOnEnabled": "Kaneo будет оставлять ссылку на задачу в issues, созданных в GitLab",
"importError": "Не удалось импортировать issues",
"issuesImported": "Issues успешно импортированы",
- "notGitlabInstance": "URL не указывает на экземпляр GitLab",
- "projectNotFound": "Проект не найден или недоступен",
- "redirected": "URL GitLab перенаправлен (обычно на HTTPS). Укажите конечный URL напрямую.",
"removed": "Интеграция с GitLab удалена",
"removeError": "Не удалось удалить интеграцию с GitLab",
- "secretCopied": "Скопировано",
"settingsUpdateError": "Не удалось обновить интеграцию с GitLab",
- "tokenRequired": "Требуется токен доступа",
- "tokenRequiredVerify": "Введите токен для проверки",
- "unableToCopySecret": "Не удалось скопировать секрет",
"updated": "Интеграция с GitLab сохранена",
"updateError": "Не удалось сохранить интеграцию с GitLab",
"verifyError": "Не удалось проверить доступ к GitLab",
- "verifyFirst": "Проверка доступа не удалась. Проверьте URL, токен и путь проекта",
- "verifyOk": "Токен GitLab имеет доступ к этому проекту",
- "verifyWarning": "Проверьте права токена или доступ к проекту"
+ "verifyFirst": "Проверка доступа не удалась. Проверьте URL, токен и путь проекта"
},
- "tokenHint": "Токен со скоупом api и правами не ниже Developer в проекте",
"tokenLabel": "Токен доступа",
"tokenPlaceholder": "Вставьте токен",
"tokenPlaceholderUpdate": "Вставьте новый токен для замены",
"tokenTypeBearer": "Токен OAuth2",
- "tokenTypeHint": "Как передаётся токен. Токены доступа идут в PRIVATE-TOKEN, токен OAuth2 — в Authorization.",
"tokenTypeLabel": "Тип токена",
"tokenTypePrivate": "Персональный, проектный или групповой токен доступа",
- "update": "Обновить",
"validation": {
"baseUrlInvalid": "Введите корректный URL (например, https://gitlab.com)",
"baseUrlRequired": "URL GitLab обязателен",
- "pathInvalid": "Введите полный путь, например group/project",
- "pathRequired": "Путь проекта обязателен"
- },
- "verify": "Проверить",
- "webhookCopy": "Копировать",
- "webhookHide": "Скрыть",
- "webhookHint": "В своём проекте GitLab добавьте вебхук с этим URL и секретным токеном. Включите события push, issues, комментарии и merge request.",
- "webhookSecretLabel": "Секретный токен (должен совпадать с указанным в вебхуке GitLab)",
- "webhookShow": "Показать",
- "webhookTitle": "Вебхук",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Введите полный путь, например group/project"
+ },
+ "webhookHint": "Добавьте этот вебхук в настройках проекта, чтобы изменения возвращались в Kaneo.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Этот токен не состоит ни в одном проекте.",
+ "chooseProjectDescription": "Введите его путь или выберите из списка.",
+ "noSearchMatchTitle": "Подходящих проектов нет",
+ "useProject": "Использовать проект",
+ "webhookEvents": "Включите события push, issue, comment и merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Только с метками",
+ "selectLabels": "Добавить метку",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1926,20 +1773,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Фиды",
+ "allScheduledTasks": "Все запланированные задачи",
+ "subscribeHint": "Добавьте ссылку в приложение календаря как подписку. Обновления появляются, когда приложение обновляет фид.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Скопировано",
+ "dialogDescription": "Задачи с датой начала или сроком выполнения появятся в фиде.",
+ "dialogTitle": "Новый фид календаря",
+ "emptyDescription": "Создайте фид, чтобы видеть запланированные задачи в приложении календаря.",
+ "emptyTitle": "Фидов календаря пока нет",
+ "feedActions": "Действия с фидом",
+ "labelsHint": "Оставьте пустым, чтобы включить все запланированные задачи.",
+ "newFeed": "Новый фид",
+ "revokeConfirm": "Отозвать фид",
+ "revokeConfirmDescription": "Приложения календаря, использующие эту ссылку, перестанут получать обновления. Это действие нельзя отменить.",
+ "revokeConfirmTitle": "Отозвать этот фид?",
+ "revoking": "Отзыв…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1951,7 +1807,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1984,7 +1839,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1995,7 +1849,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Счета, способ оплаты и отмена подписки управляются в Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -2021,16 +1875,16 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Ваш тариф для {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_few": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_many": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_few": "Осталось {{count}} дня",
+ "badgeDaysLeft_many": "Осталось {{count}} дней",
+ "badgeDaysLeft_one": "Остался {{count}} день",
+ "badgeDaysLeft_other": "Осталось {{count}} дня"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2051,15 +1905,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2076,10 +1927,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_few": "{{count}} paused links",
- "pausedCount_many": "{{count}} paused links",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2098,16 +1945,31 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Что синхронизируется",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Все issues",
+ "allTasks": "Все задачи",
+ "edit": "Изменить",
+ "hidePaused": "Скрыть",
+ "issuesLabelled": "Issues с меткой",
+ "joinAnd": "и",
+ "joinOr": "или",
+ "kaneoToProvider": "Из Kaneo в {{provider}}",
+ "pausedSummary_few": "{{count}} задачи перестали синхронизироваться, так как больше не соответствуют правилам синхронизации.",
+ "pausedSummary_many": "{{count}} задач перестали синхронизироваться, так как больше не соответствуют правилам синхронизации.",
+ "pausedSummary_one": "{{count}} задача перестала синхронизироваться, так как больше не соответствует правилам синхронизации.",
+ "pausedSummary_other": "{{count}} задачи перестали синхронизироваться, так как больше не соответствуют правилам синхронизации.",
+ "providerToKaneo": "Из {{provider}} в Kaneo",
+ "reviewPaused": "Просмотреть",
+ "tasksLabelled": "Задачи с меткой"
+ },
+ "advancedSettingsDescription": "Показывает дополнительные настройки, например правила синхронизации интеграций. Только в этом браузере.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2144,23 +2006,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Все рабочие области",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_few": "{{count}} members",
"count_many": "{{count}} members",
"count_one": "{{count}} member",
@@ -2185,9 +2039,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Поиск по названию или slug",
+ "subtitle": "Все рабочие области этого экземпляра Kaneo, включая те, в которых вы не состоите.",
+ "title": "Рабочие области",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2197,11 +2051,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_few": "{{count}} workspaces",
- "workspaceCount_many": "{{count}} workspaces",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2518,6 +2368,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Выключите, чтобы приостановить, не теряя настроек.",
+ "activeTitle": "Публикация в {{provider}}",
+ "channelHint": "Просто подпись для этого списка.",
+ "channelLabel": "Канал",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Отключить",
+ "disconnectDescription": "Kaneo перестанет публиковать в {{provider}} и удалит сохранённые настройки.",
+ "disconnecting": "Отключение…",
+ "disconnectTitle": "Отключить {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Кто-то оставил комментарий",
+ "taskCreated": "Создана задача",
+ "taskDescriptionChanged": "Изменилось описание",
+ "taskPriorityChanged": "Изменился приоритет",
+ "taskStatusChanged": "Изменился статус",
+ "taskTitleChanged": "Изменилось название"
+ },
+ "optional": "Необязательно",
+ "postWhen": "Публиковать, когда",
+ "retry": "Повторить",
+ "saveChanges": "Сохранить изменения",
+ "savedUrlPlaceholder": "Сохранено. Вставьте новый URL, чтобы заменить его.",
+ "webhookUrlLabel": "URL вебхука"
+ },
+ "codeHosting": {
+ "browse": "Обзор",
+ "changeToken": "Сменить токен",
+ "checking": "Проверка доступа…",
+ "chooseProjectTitle": "Выберите проект",
+ "chooseRepositoryTitle": "Выберите репозиторий",
+ "connectProject": "Подключить проект",
+ "connectRepository": "Подключить репозиторий",
+ "copied": "Скопировано",
+ "copyFailed": "Не удалось скопировать в буфер обмена.",
+ "copySecret": "Копировать секрет",
+ "copyUrl": "Копировать URL вебхука",
+ "disconnect": "Отключить",
+ "disconnectDescription": "Задачи перестанут синхронизироваться с {{target}}. Позже его можно подключить снова.",
+ "disconnecting": "Отключение…",
+ "disconnectTitle": "Отключить {{provider}}?",
+ "hideSecret": "Скрыть секрет",
+ "importing": "Импорт…",
+ "importIssues": "Импортировать issues",
+ "importNeedsReconnect": "Переподключитесь, чтобы включить импорт.",
+ "importTitle": "Импорт открытых issues",
+ "issuesSection": "Issues",
+ "lastImport": "Последний импорт: создано {{imported}}, обновлено {{updated}}, пропущено {{skipped}}.",
+ "loadError": "Не удалось загрузить эту интеграцию.",
+ "pausedHint": "Синхронизация приостановлена. Переподключитесь, чтобы возобновить её.",
+ "projectSection": "Проект",
+ "reconnect": "Переподключить",
+ "repositoryPathInvalid": "Укажите репозиторий в формате owner/name.",
+ "repositoryPathLabel": "Репозиторий",
+ "repositorySection": "Репозиторий",
+ "retry": "Повторить",
+ "saveToken": "Сохранить токен",
+ "showSecret": "Показать секрет",
+ "signInDescription": "Используйте токен, который может читать проект и его issues.",
+ "signInTitle": "Войдите в свой экземпляр",
+ "tokenStored": "Сохранённый токен",
+ "tokenTitle": "Токен доступа",
+ "webhookSecret": "Секрет",
+ "webhookSection": "Вебхук",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Перетаскивайте, чтобы изменить порядок их отображения в задаче.",
+ "fieldsTitle": "Поля",
+ "newField": "Новое поле",
+ "pageTitle": "Пользовательские поля",
+ "subtitle": "Дополнительные данные, которые может хранить каждая задача в {{project}}, например размер или клиент.",
+ "subtitleFallback": "Дополнительные данные, которые может хранить каждая задача в этом проекте, например размер или клиент.",
+ "title": "Пользовательские поля"
+ },
+ "shared": {
+ "autosave": "Изменения сохраняются автоматически"
}
},
"navigation": {
diff --git a/i18n/tr-TR.json b/i18n/tr-TR.json
index dd62958bd..a74108711 100644
--- a/i18n/tr-TR.json
+++ b/i18n/tr-TR.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Asla"
- },
"modals": {
"createProject": {
"title": "Yeni proje oluştur",
@@ -566,37 +563,32 @@
"advancedSettings": "Gelişmiş ayarlar",
"account": "Hesap",
"developer": "Geliştirici",
- "information": "Bilgiler",
+ "information": "Profil",
"notifications": "Bildirimler",
"preferences": "Tercihler",
- "apiKeys": "API Anahtarları",
+ "apiKeys": "API anahtarları",
"informationPage": {
- "pageTitle": "Kişisel Bilgiler",
- "title": "Kişisel Bilgiler",
- "subtitle": "Kişisel ayrıntılarınızı ve hesap bilgilerinizi yönetin.",
- "sectionTitle": "Hesap Bilgileri",
- "sectionSubtitle": "Profilinizi ve hesap ayrıntılarınızı yönetin.",
+ "pageTitle": "Profil",
+ "title": "Profil",
+ "subtitle": "Ekip arkadaşlarınızın sizi nasıl gördüğü.",
+ "sectionTitle": "Ayrıntılar",
"profilePicture": "Profil fotoğrafı",
- "fullName": "Ad Soyad",
+ "fullName": "Ad",
"fullNamePlaceholder": "Adınızı girin",
"email": "E-posta",
- "emailPlaceholder": "E-postanızı girin",
- "updateSuccess": "Profil başarıyla güncellendi",
"updateError": "Profil güncellenemedi",
"validation": {
"nameRequired": "Ad gereklidir",
- "nameShort": "Ad en az 2 karakter olmalıdır",
- "invalidEmail": "Geçersiz e-posta adresi"
+ "nameShort": "Ad en az 2 karakter olmalıdır"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Kare görseller en iyi sonucu verir.",
+ "remove": "Kaldır",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Yükle"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -605,39 +597,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Bu adresle oturum açarsınız."
},
"notificationsPage": {
"pageTitle": "Bildirimler",
"title": "Bildirimler",
- "subtitle": "Kaneo'nun hesap bildirimlerinizi nasıl ileteceğini ve hangi kanalları kullanacağını seçin.",
+ "subtitle": "Kaneo'nun sizi neler hakkında bilgilendirdiği ve size nereden ulaştığı.",
"statusConnected": "Bağlı",
"statusPaused": "Duraklatıldı",
"emailTitle": "E-posta",
- "emailDescription": "Bildirimleriniz için hedef olarak hesap e-postanızı kullanın.",
- "accountEmailLabel": "Hesap e-postası",
"accountEmailNoAddress": "Kullanılabilir hesap e-postası yok",
- "accountEmailHint": "E-posta bildirimleri her zaman giriş yapılan hesap e-postasına gönderilir.",
"saveChanges": "Değişiklikleri kaydet",
"disconnect": "Bağlantıyı kes",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Hesap bildirimlerini bir ntfy konusuna yayınlayın.",
+ "ntfyDescription": "Telefonunuzda veya masaüstünüzde bir ntfy konusuna yayınlayın.",
"serverUrl": "Sunucu URL'si",
"topic": "Konu",
"token": "Belirteç",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "takim-uyarilari",
- "ntfyTokenPlaceholder": "İsteğe bağlı bearer belirteç",
+ "ntfyTokenPlaceholder": "Yalnızca sunucunuz gerektiriyorsa",
"ntfyTokenHintConfigured": "Bir belirteç zaten yapılandırılmış ({{masked}}). Değiştirmek için yeni bir belirteç girin.",
- "ntfyTokenHintOptional": "İsteğe bağlı. ntfy sunucunuz kimlik doğrulaması gerektiriyorsa bir belirteç sağlayın.",
+ "ntfyTokenHintOptional": "ntfy sunucunuz kimlik doğrulaması gerektiriyorsa bir belirteç kullanın.",
"connectNtfy": "ntfy bağla",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Hesap bildirimlerinizi Gotify sunucunuza gönderin.",
+ "gotifyDescription": "Bildirimleri Gotify sunucunuza gönderin.",
"gotifyTokenLabel": "Uygulama belirteci",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify uygulama belirteci",
@@ -645,38 +634,16 @@
"gotifyTokenHintRequired": "Gereklidir. Gotify sunucunuzdan bir uygulama belirteci kullanın.",
"connectGotify": "Gotify bağla",
"webhookTitle": "Özel webhook",
- "webhookDescription": "Hesap bildirimlerini kendi uç noktanıza JSON olarak gönderin.",
+ "webhookDescription": "Her bildirimi JSON olarak kendi uç noktanıza gönderin.",
"endpointUrl": "Uç nokta URL'si",
"signingSecret": "İmzalama gizli anahtarı",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "İsteğe bağlı paylaşılan gizli anahtar",
"webhookSecretHintConfigured": "Bir imzalama gizli anahtarı zaten yapılandırılmış ({{masked}}). Değiştirmek için yeni bir tane girin.",
- "webhookSecretHintOptional": "İsteğe bağlı. Bir gizli anahtar ayarlandığında Kaneo istek gövdesini imzalar.",
+ "webhookSecretHintOptional": "Bir gizli anahtar ayarlandığında Kaneo istek gövdesini imzalar.",
"connectWebhook": "Webhook bağla",
- "workspaceRulesTitle": "Çalışma alanı teslim kuralları",
- "workspaceRulesDescription": "Genel kanallarınızı yeniden kullanın, ardından hangi çalışma alanlarının ve projelerin hesap bildirimleri göndermesine izin verileceğine karar verin.",
- "workspaceCardHint": "Bu çalışma alanının hesap bildirimleri için hangi kanalları kullanabileceğini seçin.",
- "workspaceCardLabelEmail": "E-posta",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Özel webhook",
- "emailChannelHintEnabled": "Eşleşen çalışma alanı bildirimlerini e-posta ile gönder.",
- "emailChannelHintDisabled": "Önce e-postayı genel olarak yapılandırın ve etkinleştirin.",
- "ntfyChannelHintEnabled": "Eşleşen çalışma alanı bildirimlerini ntfy'ye gönder.",
- "ntfyChannelHintDisabled": "Önce ntfy'yi genel olarak yapılandırın ve etkinleştirin.",
- "gotifyChannelHintEnabled": "Eşleşen çalışma alanı bildirimlerini Gotify'a gönder.",
- "gotifyChannelHintDisabled": "Önce Gotify'ı genel olarak yapılandırın ve etkinleştirin.",
- "webhookChannelHintEnabled": "Eşleşen çalışma alanı bildirimlerini webhook'unuza gönder.",
- "webhookChannelHintDisabled": "Önce webhook'u genel olarak yapılandırın ve etkinleştirin.",
- "projectScope": "Proje kapsamı",
- "projectScopeDescription": "Tüm projeler varsayılan olarak dahildir. Bu çalışma alanı yalnızca seçili projelerden bildirim göndermesi gerekiyorsa daraltın.",
"allProjects": "Tüm projeler",
- "allProjectsDescription": "Bu çalışma alanındaki tüm projelerden bildirimleri teslim et.",
- "selectedProjects": "Seçili projeler",
- "selectedProjectsDescription": "Yalnızca seçilen projelerden bildirimleri teslim et.",
"noProjectsInWorkspace": "Bu çalışma alanında henüz proje yok.",
- "createRule": "Kural oluştur",
- "removeRule": "Kuralı kaldır",
"toastEmailSaved": "E-posta bildirim ayarları kaydedildi",
"toastEmailSaveFailed": "E-posta ayarları kaydedilemedi",
"toastNtfySaved": "ntfy ayarları kaydedildi",
@@ -699,151 +666,174 @@
"toastPreferencesSaveFailed": "Bildirim tercihleri kaydedilemedi",
"toastRuleSavedGeneric": "Çalışma alanı bildirim kuralı kaydedildi",
"toastRuleRemovedGeneric": "Çalışma alanı bildirim kuralı kaldırıldı",
- "workspaceEnabledLabel": "{{workspaceName}} için bildirimleri etkinleştir",
"eventPreferencesTitle": "Bana bildirim gönder",
- "eventPreferencesDescription": "Hangi talep olaylarının uygulama içi bildirim oluşturacağını ve bağlı kanallarınıza iletilebileceğini seçin.",
- "eventTaskAssignments": "Talep atamaları",
+ "eventPreferencesDescription": "Kendi yorumlarınız, bahsetmeleriniz ve durum değişiklikleriniz size asla bildirim göndermez.",
+ "eventTaskAssignments": "Atamalar",
"eventComments": "Yorumlar ve bahsetmeler",
- "eventCommentsHint": "Size atanan taleplerdeki yeni yorumları ve doğrudan @bahsetmeleri içerir.",
- "eventStatusChanges": "Talep durumu değişiklikleri",
+ "eventCommentsHint": "Taleplerinizdeki yeni yorumlar ve sizden @bahseden herkes.",
+ "eventStatusChanges": "Durum değişiklikleri",
"eventDueDateReminders": "Bitiş tarihi hatırlatmaları",
"reminderLeadTimeLabel": "Bitiş tarihinden önce bana hatırlat",
- "reminderLeadTimeHint": "Bitiş tarihinden 1 saat ile 30 gün öncesi arasında. Gecikme bildirimleri ayrı olarak gönderilir.",
- "reminderLeadTimeUnitHours": "Saat",
- "reminderLeadTimeUnitDays": "Gün",
"reminderLeadTimeInvalid": "1 ile {{max}} arasında bir tam sayı girin.",
"saveEventPreferences": "Bildirim türlerini kaydet",
- "recipientHint": "Yorumlar ve durum değişiklikleri, size atanan görevler hakkında bildirim gönderir. Bahsetmeler seçilen üyeye bildirim gönderir. Kendi yorumlarınız, bahsetmeleriniz ve durum değişiklikleriniz için bildirim almazsınız."
+ "channelNotConnected": "Bağlı değil",
+ "channelOff": "Kapalı",
+ "channelsDescription": "Bildirimler her zaman Kaneo'da görünür. Başka bir yerde de almak için bir kanal bağlayın.",
+ "channelsTitle": "Kanallar",
+ "configure": "Yapılandır",
+ "configureChannel": "{{channel}} yapılandır",
+ "configureWorkspace": "{{workspaceName}} için bildirimleri yapılandır",
+ "connect": "Bağla",
+ "connectChannel": "{{channel}} bağla",
+ "disconnectDescription": "Bildirimler artık {{channel}} kanalına gönderilmez ve kayıtlı ayarları kaldırılır.",
+ "disconnecting": "Bağlantı kesiliyor...",
+ "disconnectTitle": "{{channel}} bağlantısı kesilsin mi?",
+ "done": "Bitti",
+ "emailToggleLabel": "Bildirimleri e-postayla gönder",
+ "eventDueDateRemindersHint": "Taleplerinizden birinin bitiş tarihinden önce. Gecikmiş talepler için ayrıca bildirim alırsınız.",
+ "eventStatusChangesHint": "Taleplerinizden biri başka bir sütuna taşındığında.",
+ "eventTaskAssignmentsHint": "Biri size bir talep atadığında.",
+ "loadFailed": "Bildirim ayarları yüklenemedi.",
+ "onlyInKaneo": "Yalnızca Kaneo'da",
+ "optional": "İsteğe bağlı",
+ "projectCount_one": "{{count}} proje",
+ "projectCount_other": "{{count}} proje",
+ "reminderLeadTimeUnitDaysBefore_one": "gün önce",
+ "reminderLeadTimeUnitDaysBefore_other": "gün önce",
+ "reminderLeadTimeUnitHoursBefore_one": "saat önce",
+ "reminderLeadTimeUnitHoursBefore_other": "saat önce",
+ "reminderLeadTimeUnitLabel": "Hatırlatma birimi",
+ "ruleActiveDescription": "Ayarlarını koruyarak bu çalışma alanını duraklatmak için kapatın.",
+ "ruleActiveLabel": "Gönderim",
+ "ruleChannels": "Kanallar",
+ "ruleDialogDescription": "Bu çalışma alanındaki bildirimlerin nereye gidebileceği.",
+ "ruleDialogTitle": "{{workspaceName}} bildirimleri",
+ "ruleProjects": "Projeler",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Kaydet",
+ "sendingDescription": "Ayarlarını koruyarak bu kanalı duraklatmak için kapatın.",
+ "sendingLabel": "Gönderim",
+ "setUp": "Kur",
+ "setUpWorkspace": "{{workspaceName}} için bildirimleri kur",
+ "someProjects": "Yalnızca bazıları",
+ "statusOn": "Açık",
+ "statusSending": "Gönderiliyor",
+ "stopping": "Durduruluyor...",
+ "stopSending": "Göndermeyi durdur",
+ "stopSendingDescription": "Bu çalışma alanındaki bildirimler yalnızca Kaneo'da görünecek.",
+ "stopSendingTitle": "{{workspaceName}} için gönderim durdurulsun mu?",
+ "workspacesDescription": "Kanallarınızı hangi çalışma alanlarının ve projelerin kullanabileceğini seçin.",
+ "workspacesTitle": "Çalışma alanları"
},
"preferencesPage": {
"title": "Tercihler",
- "subtitle": "Kaneo deneyiminizi özelleştirin.",
- "appearanceTitle": "Görünüm",
- "appearanceSubtitle": "Görsel ayarlar ve düzen tercihleri.",
+ "subtitle": "Kaneo'nun sizin için nasıl göründüğü ve çalıştığı.",
+ "appearanceTitle": "Genel",
"theme": "Tema",
- "themeDescription": "Tercih ettiğiniz renk düzenini seçin",
"selectTheme": "Tema seçin",
"themeLight": "Açık",
"themeDark": "Koyu",
- "themeSystem": "Sistem",
+ "themeSystem": "Sistemle aynı",
"language": "Dil",
- "languageDescription": "Tercih ettiğiniz arayüz dilini seçin",
"selectLanguage": "Bir dil seçin",
- "firstDayOfWeek": "Haftanın İlk Günü",
- "firstDayOfWeekDescription": "Takvimlerin ve haftalık aralıkların hangi gün başlayacağını seçin",
+ "firstDayOfWeek": "Haftanın ilk günü",
+ "firstDayOfWeekDescription": "Takvimlerde ve tarih seçicilerde kullanılır.",
"selectFirstDayOfWeek": "İlk günü seçin",
"weekStartsOnSunday": "Pazar",
"weekStartsOnMonday": "Pazartesi",
"weekStartsOnSaturday": "Cumartesi",
- "defaultView": "Varsayılan Görünüm",
- "defaultViewDescription": "Tercih ettiğiniz talep görünüm modunu seçin",
+ "defaultView": "Varsayılan görünüm",
+ "defaultViewDescription": "Projelerin açıldığı görünüm.",
"selectViewMode": "Bir görünüm modu seçin",
"board": "Pano",
"list": "Liste",
"gantt": "Gantt",
- "sidebarDefault": "Kenar Çubuğu Varsayılanı",
- "sidebarDefaultDescription": "Başlangıçta kenar çubuğunu geniş tut",
- "displayOptions": "Görüntüleme seçenekleri",
- "displayOptionsDescription": "Talep görünümlerinde hangi bilgilerin gösterileceğini seçin",
- "taskNumbers": "Talep Numaraları",
- "taskNumbersDescription": "Talep kimliklerini ve numaralarını göster",
+ "sidebarDefault": "Kenar çubuğunu açık tut",
+ "sidebarDefaultDescription": "Kenar çubuğu genişletilmiş olarak başlar.",
+ "displayOptions": "Talep ayrıntıları",
+ "displayOptionsDescription": "Pano ve listelerinizdeki kartlarda ve satırlarda neyin gösterileceği.",
+ "taskNumbers": "Talep numaraları",
"assignees": "Atananlar",
- "assigneesDescription": "Taleplere kimin atandığını göster",
- "dueDates": "Bitiş Tarihleri",
- "dueDatesDescription": "Talep son tarihlerini görüntüle",
+ "dueDates": "Bitiş tarihleri",
"labels": "Etiketler",
- "labelsDescription": "Talep etiketlerini ve etiketleri göster",
"priority": "Öncelik",
- "priorityDescription": "Öncelik göstergelerini görüntüle",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Projenin panosunun arkasına ayarladığı görseli göster.",
+ "advancedTitle": "Gelişmiş"
},
"developerPage": {
- "pageTitle": "Geliştirici Ayarları",
- "title": "Geliştirici Ayarları",
- "subtitle": "API anahtarlarınızı ve geliştirici kaynaklarınızı yönetin.",
- "apiKeysCardTitle": "API Anahtarları",
- "apiKeysCardDescription": "Kaneo'ya programlı erişim için API anahtarları oluşturun ve yönetin.",
- "createApiKey": "API Anahtarı Oluştur",
- "unnamedKey": "İsimsiz Anahtar"
+ "pageTitle": "API anahtarları",
+ "title": "API anahtarları",
+ "subtitle": "Betikler, CLI ve MCP istemcileri Kaneo'yu sizin adınıza kullanabilir.",
+ "unnamedKey": "Adsız",
+ "emptyDescription": "CLI, bir MCP istemcisi veya kendi betikleriniz için bir anahtar oluşturun.",
+ "emptyTitle": "Henüz API anahtarı yok",
+ "keysNote": "Bir anahtar, sizin yapabildiğiniz her şeyi yapabilir. Artık kullanmadığınız anahtarları silin.",
+ "keysTitle": "Anahtarlar",
+ "loadError": "API anahtarları yüklenemedi. Lütfen tekrar deneyin.",
+ "newKey": "Yeni anahtar"
},
"apiKey": {
"createdModal": {
- "title": "API Anahtarı Oluşturuldu",
- "description": "\"{{keyName}}\" API anahtarınız başarıyla oluşturuldu.",
- "yourApiKey": "API Anahtarınız",
+ "title": "Anahtarınızı kopyalayın",
+ "description": "Bu pencereyi kapattıktan sonra anahtarı tekrar göremezsiniz.",
"copy": "Kopyala",
"copied": "Kopyalandı",
- "toastCopied": "API anahtarı panoya kopyalandı",
- "alertTitle": "Başarılı! API anahtarınız oluşturuldu",
- "alertDescription": "Bu anahtarı hemen kopyalayın. Tekrar göremezsiniz.",
"done": "Bitti",
- "copyToContinue": "Devam etmek için anahtarı kopyalayın"
+ "copyError": "Anahtar kopyalanamadı. Seçip elle kopyalayın."
},
"table": {
- "loading": "API anahtarları yükleniyor...",
- "empty": "Henüz API anahtarı yok. Başlamak için bir tane oluşturun.",
- "columnName": "Ad",
- "columnKey": "Anahtar",
- "columnCreated": "Oluşturulma",
- "columnExpires": "Süre Sonu",
- "columnActions": "İşlemler",
- "unnamedKey": "İsimsiz Anahtar",
- "expiredBadge": "Süresi dolmuş {{label}}",
- "deleteConfirmTitle": "API anahtarı silinsin mi?",
- "deleteConfirmDescription": "Bu işlem geri alınamaz. {{name}} kalıcı olarak silinecek.",
- "deleteFallbackName": "bu API anahtarı",
- "delete": "Sil",
- "deleting": "Siliniyor...",
- "deleteAria": "{{name}} anahtarını sil",
- "deleteAriaFallback": "API anahtarı",
- "toastDeleted": "API anahtarı başarıyla silindi",
+ "deleteConfirmTitle": "“{{name}}” silinsin mi?",
+ "deleteConfirmDescription": "Bu anahtarı kullanan her şey çalışmayı durdurur. Bu işlem geri alınamaz.",
+ "delete": "Anahtarı sil",
+ "deleting": "Siliniyor…",
+ "toastDeleted": "API anahtarı silindi",
"toastDeleteError": "API anahtarı silinemedi"
},
"createDialog": {
- "title": "API Anahtarı Oluştur",
- "description": "Kaneo API'sine programlı erişim için yeni bir API anahtarı oluşturun.",
+ "title": "Yeni API anahtarı",
+ "description": "Anahtar, sizin yapabildiğiniz her şeyi yapabilir.",
"nameLabel": "Ad",
- "namePlaceholder": "API Anahtarım",
- "nameDescription": "Bu API anahtarı için açıklayıcı bir ad",
- "expirationLabel": "Süre Sonu",
- "expirationPlaceholder": "Süre sonu seçin",
- "expirationDescription": "Bu API anahtarının ne kadar süreyle geçerli olacağını seçin. Asla seçeneği, otomatik süre sonu olmayan bir anahtar oluşturur.",
+ "namePlaceholder": "API anahtarım",
+ "nameDescription": "Nerede kullanıldığını hatırlamanız için.",
+ "expirationLabel": "Son geçerlilik",
"expiration1d": "1 gün",
"expiration7d": "7 gün",
"expiration30d": "30 gün",
"expiration90d": "90 gün",
"expirationNever": "Asla",
- "create": "Oluştur",
- "creating": "Oluşturuluyor...",
+ "create": "Anahtar oluştur",
+ "creating": "Oluşturuluyor…",
"failedCreate": "API anahtarı oluşturulamadı",
"validation": {
- "nameRequired": "Ad gereklidir",
- "nameShort": "Ad en az 3 karakter olmalıdır",
- "expirationRequired": "Süre sonu gereklidir"
+ "nameRequired": "Bir ad girin",
+ "nameShort": "En az 3 karakter kullanın"
}
+ },
+ "row": {
+ "actions": "{{name}} için işlemler",
+ "created": "{{date}} tarihinde oluşturuldu",
+ "expired": "{{date}} tarihinde sona erdi",
+ "expiredBadge": "Süresi doldu",
+ "expires": "{{date}} tarihinde sona erer",
+ "neverExpires": "Süresi dolmaz"
}
},
"workspaceGeneral": {
"pageTitle": "Genel Ayarlar",
- "title": "Genel Ayarlar",
- "subtitle": "Çalışma alanı adınızı ve açıklamanızı yönetin.",
- "workspaceInfoTitle": "Çalışma Alanı Bilgileri",
- "workspaceInfoSubtitle": "Çalışma alanı ayrıntılarınızı ve tercihlerinizi yapılandırın.",
- "nameLabel": "Çalışma alanı adı",
- "nameHint": "Çalışma alanınızın adı",
+ "title": "Genel",
+ "subtitle": "{{name}} çalışma alanının adı ve sahibi.",
+ "workspaceInfoTitle": "Çalışma alanı",
+ "nameLabel": "Ad",
"namePlaceholder": "Çalışma alanı adını girin",
"descriptionLabel": "Açıklama",
- "descriptionHint": "Çalışma alanınızın kısa bir açıklaması",
- "descriptionPlaceholder": "Çalışma alanı açıklamasını girin",
+ "descriptionPlaceholder": "Ekibiniz ne üzerinde çalışıyor?",
"dangerZone": "Tehlikeli bölge",
- "dangerZoneSubtitle": "Geri alınamaz ve yıkıcı işlemler.",
"deleteWorkspace": "Çalışma alanını sil",
- "deleteWorkspaceDescription": "Çalışma alanının kalıcı olarak silinmesini planla",
- "deleteModalTitle": "Çalışma Alanı Silinsin mi?",
- "deleteModalDescription": "Bu, \"{{name}}\" çalışma alanını ve tüm verilerini kalıcı olarak silecek. Bu işlem geri alınamaz.",
- "deleteModalConfirm": "Çalışma Alanını Sil",
- "toastUpdated": "Çalışma alanı başarıyla güncellendi",
+ "deleteWorkspaceDescription": "{{name}} çalışma alanını, projelerini ve taleplerini kalıcı olarak siler.",
+ "deleteModalTitle": "Çalışma alanı silinsin mi?",
+ "deleteModalDescription": "Bu işlem {{name}} çalışma alanını tüm projeleri ve talepleriyle birlikte kalıcı olarak siler. Geri alınamaz.",
+ "deleteModalConfirm": "Çalışma alanını sil",
"toastUpdateError": "Çalışma alanı güncellenemedi",
"toastDeleted": "Çalışma alanı başarıyla silindi",
"toastDeleteError": "Çalışma alanı silinemedi",
@@ -855,45 +845,41 @@
"toastSuccess": "Sahiplik devredildi",
"toastError": "Sahiplik devredilemedi",
"title": "Sahipliği devret",
- "subtitle": "Bu çalışma alanını başka bir üyeye devredin. Yönetici rolüne düşürülecek ve yalnızca sahibe özel yetkileri kaybedeceksiniz.",
"pickerLabel": "Yeni sahip",
"noEligibleMembers": "Sahipliği devredebilmek için önce en az bir üye daha davet edin.",
- "pickerHint": "Seçilen üye bu çalışma alanının tek sahibi olur.",
+ "pickerHint": "Yeni sahip yönetimi devralır. Siz yönetici olarak kalırsınız.",
"pickerPlaceholder": "Bir üye seçin",
"button": "Devret",
"dialogTitle": "Sahiplik devredilsin mi?",
"dialogDescription": "{{name}}, {{workspace}} çalışma alanının tek sahibi olacak. Yönetici erişiminiz sürecek ancak çalışma alanını silme veya yeniden devretme gibi yalnızca sahibe özel yetkileri kaybedeceksiniz.",
"transferring": "Devrediliyor…",
"confirm": "Sahipliği devret"
- }
+ },
+ "ownershipSubtitle": "Bunu yalnızca sahip görür.",
+ "ownershipTitle": "Sahiplik"
},
"projectGeneral": {
"pageTitle": "Proje Ayarları",
- "title": "Genel Ayarlar",
- "subtitle": "Proje adınızı, anahtarını, simgesini ve açıklamasını yönetin.",
- "projectInfoTitle": "Proje Bilgileri",
- "projectInfoSubtitle": "Proje ayrıntılarınızı ve tercihlerinizi yapılandırın.",
+ "title": "Genel",
+ "subtitle": "{{name}} projesinin adı, anahtarı ve görünümü.",
+ "projectInfoTitle": "Proje",
"iconLabel": "Simge",
- "iconHint": "Kenar çubuğunda ve proje yüzeylerinde görüntülenir.",
+ "iconHint": "Kenar çubuğunda ve proje listelerinde gösterilir.",
"pickIconTitle": "Simge seç",
"searchIconsPlaceholder": "Simge ara...",
- "projectNameLabel": "Proje adı",
- "projectNameHint": "Projenizin adı",
- "projectNamePlaceholder": "Proje adını girin",
+ "projectNameLabel": "Ad",
+ "projectNamePlaceholder": "Proje adı",
"keyLabel": "Anahtar",
- "keyHint": "Talep kimlikleri için kullanılır (örn. {{slug}}-123)",
+ "keyHint": "Her talep kimliğinin başında yer alır, örneğin {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Açıklama",
- "descriptionHint": "Projenizin kısa bir açıklaması",
- "descriptionPlaceholder": "Proje açıklamasını girin",
+ "descriptionPlaceholder": "Bu proje ne için?",
"dangerZone": "Tehlikeli bölge",
- "dangerZoneSubtitle": "Geri alınamaz ve yıkıcı işlemler.",
"deleteProject": "Projeyi sil",
- "deleteProjectDescription": "Projenin kalıcı olarak silinmesini planla",
- "deleteModalTitle": "Proje Silinsin mi?",
- "deleteModalDescription": "Bu, \"{{name}}\" projesini ve tüm verilerini kalıcı olarak silecek. Bu işlem geri alınamaz.",
- "deleteModalConfirm": "Projeyi Sil",
- "toastUpdated": "Proje başarıyla güncellendi",
+ "deleteProjectDescription": "{{name}} projesini ve tüm taleplerini kalıcı olarak siler.",
+ "deleteModalTitle": "Proje silinsin mi?",
+ "deleteModalDescription": "Bu işlem {{name}} projesini ve tüm taleplerini kalıcı olarak siler. Geri alınamaz.",
+ "deleteModalConfirm": "Projeyi sil",
"toastUpdateError": "Proje güncellenemedi",
"toastDeleted": "Proje başarıyla silindi",
"toastDeleteError": "Proje silinemedi",
@@ -903,40 +889,42 @@
"keyMax": "Anahtar en fazla 8 karakter olmalıdır",
"iconRequired": "Simge gereklidir"
},
- "importExportTasks": "İçe/Dışa Aktar",
- "importExportTasksDescription": "Talepleri içe ve dışa aktarın.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Panonun arkasında görünen bir görsel. Herkes bunu kendisi için kapatabilir.",
+ "backgroundUnavailable": "Bu örnekte görsel yükleme ayarlanmamış.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Değiştir",
+ "backgroundUpload": "Yükle",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Projeyi taşı",
- "moveModalDescription": "Bu işlem \"{{name}}\" projesini ve tüm görevlerini \"{{workspace}}\" alanına taşır. O çalışma alanının üyesi olmayan kişilere atanmış görevlerin ataması kaldırılır ve bu projeye ait bildirim abonelikleri silinir.",
- "moveModalTitle": "Proje taşınsın mı?",
- "moveProject": "Çalışma alanına taşı",
+ "moveProject": "Başka bir çalışma alanına taşı",
"moveProjectAction": "Taşı",
- "moveProjectDescription": "Bu projeyi tüm görevleriyle birlikte başka bir çalışma alanına taşıyın.",
- "moveProjectPlaceholder": "Çalışma alanı seçin",
+ "moveProjectDescription": "Talepler, sütunlar ve etiketler de onunla birlikte taşınır.",
+ "moveProjectPlaceholder": "Bir çalışma alanı seçin",
"toastMoved": "Proje başarıyla taşındı",
"toastMovedWithUnassigned": "Proje başarıyla taşındı. {{taskCount}} görevin ataması kaldırıldı.",
"toastMoveError": "Proje taşınamadı",
- "moveTargetsError": "Bu projeyi hangi çalışma alanlarına taşıyabileceğiniz kontrol edilemedi. Yeniden denemek için sayfayı yenileyin."
+ "moveTargetsError": "Bu projeyi hangi çalışma alanlarına taşıyabileceğiniz kontrol edilemedi. Yeniden denemek için sayfayı yenileyin.",
+ "moveDialogDescription": "Yeni çalışma alanının dışındaki kişilere atanmış taleplerin ataması kaldırılır ve bu projenin bildirim abonelikleri temizlenir.",
+ "moveDialogTitle": "Başka bir çalışma alanına taşınsın mı?",
+ "moveTargetLabel": "Çalışma alanı",
+ "moving": "Taşınıyor...",
+ "tasksTitle": "Talepler"
},
"projectIntegrations": {
- "pageTitle": "Proje Entegrasyonları",
- "title": "Proje Entegrasyonları",
- "subtitle": "İş akışınızı kolaylaştırmak için projenizi dış araçlar ve hizmetlerle bağlayın.",
+ "pageTitle": "Entegrasyonlar",
+ "title": "Entegrasyonlar",
+ "subtitle": "Bu projeyi kod barındırma hizmetinize ve ekibinizin sohbet aracına bağlayın.",
"githubSectionTitle": "GitHub Entegrasyonu",
"githubSectionSubtitle": "Talepleri GitHub sorunlarıyla senkronize edin ve çift yönlü senkronizasyonu etkinleştirin.",
"giteaSectionTitle": "Gitea Entegrasyonu",
"giteaSectionSubtitle": "Talepleri kendi sunucunuzda barındırılan bir Gitea örneğiyle senkronize edin (sorunlar, PR'lar, webhook'lar).",
"discordSectionTitle": "Discord Entegrasyonu",
"discordSectionSubtitle": "Proje talep güncellemelerini bir webhook ile Discord kanalına gönderin.",
- "genericWebhookSectionTitle": "Genel Webhook'lar",
+ "genericWebhookSectionTitle": "Webhook'lar",
"genericWebhookSectionSubtitle": "Proje talep olaylarını JSON olarak herhangi bir HTTP uç noktasına gönderin.",
"slackSectionTitle": "Slack Entegrasyonu",
"slackSectionSubtitle": "Proje talep güncellemelerini gelen bir webhook ile Slack kanalına gönderin.",
@@ -944,7 +932,7 @@
"telegramSectionSubtitle": "Proje talep güncellemelerini bir bot ile Telegram sohbetine veya konusuna gönderin.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Talepleri GitLab.com veya kendi yönettiğiniz bir sunucuyla senkronize edin.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Kod barındırma",
"chatTitle": "Sohbet ve webhook'lar",
@@ -957,69 +945,59 @@
"projectVisibility": {
"pageTitle": "Proje Görünürlüğü",
"title": "Görünürlük",
- "subtitle": "Projenizi kimlerin görüntüleyebileceğini ve erişebileceğini kontrol edin.",
- "sectionTitle": "Görünürlük",
- "sectionSubtitle": "Herkese açık erişimi açın ve herkese açık URL'yi paylaşın.",
- "publicAccess": "Herkese açık erişim",
- "publicAccessHint": "URL'ye sahip herkesin bu projeyi görüntülemesine izin ver",
+ "subtitle": "{{workspace}} dışında {{project}} projesini kimlerin görebileceğini seçin.",
+ "sectionTitle": "Erişim",
+ "publicAccess": "Herkese açık bağlantı",
+ "publicAccessHint": "Bağlantıya sahip herkes panoyu ve taleplerini görüntüleyebilir. Hiçbir şeyi değiştiremezler.",
"publicUrl": "Herkese Açık URL",
- "publicUrlHint": "Proje herkese açıksa bu bağlantıyı paylaşın",
- "copy": "Kopyala",
- "copiedToast": "Kopyalandı",
+ "copy": "Bağlantıyı kopyala",
"toastUpdated": "Görünürlük güncellendi",
- "toastUpdateError": "Görünürlük güncellenemedi"
+ "toastUpdateError": "Görünürlük güncellenemedi",
+ "always": "Her zaman",
+ "copied": "Kopyalandı",
+ "copyError": "Bağlantı kopyalanamadı",
+ "membersDescription": "Çalışma alanındaki herkes, rolünün izin verdiği ölçüde.",
+ "membersTitle": "{{workspace}} üyeleri",
+ "offNote": "Herkese açık bağlantıyı kapattığınızda bağlantı hemen çalışmayı durdurur.",
+ "on": "Açık",
+ "openPublicPage": "Herkese açık sayfayı aç",
+ "thisWorkspace": "bu çalışma alanı"
},
"projectWorkflow": {
- "pageTitle": "İş Akışı Ayarları",
+ "pageTitle": "İş akışı ayarları",
"title": "İş Akışı",
- "subtitle": "Bu proje için pano sütunlarını ve otomasyon kurallarını yapılandırın.",
+ "subtitle": "Panonuzdaki sütunlar ve talepleri bunlar arasında neyin taşıdığı.",
"columnsTitle": "Sütunlar",
- "columnsDescription": "Panonuzda görünecek sütunları yönetin. Yeniden sıralamak için sürükleyin. Tamamlanmış işleri temsil eden aşamalar için \"Tamamlandı sütunu\"nu açın.",
- "automationTitle": "Otomasyon Kuralları",
- "automationDescription": "Entegrasyon olaylarını sütunlarla eşleştirin. Bir olay gerçekleştiğinde, bağlı talep belirtilen sütuna taşınır.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Yeniden sıralamak için sürükleyin. Tamamlandı sütunundaki talepler tamamlanmış sayılır.",
+ "automationTitle": "Otomasyonlar",
+ "automationDescription": "Bağlı bir depoda bir şey olduğunda ilişkili talebi taşıyın."
},
"projectSwitcher": {
"selectProject": "Proje seç",
"noProjects": "Proje yok"
},
"columnEditor": {
- "toastCreated": "Sütun oluşturuldu",
"toastCreateError": "Sütun oluşturulamadı",
- "toastRenamed": "Sütun yeniden adlandırıldı",
"toastRenameError": "Sütun güncellenemedi",
- "toastFinalOn": "Sütun tamamlandı olarak işaretlendi",
- "toastFinalOff": "Sütunun tamamlandı işareti kaldırıldı",
"toastUpdateError": "Sütun güncellenemedi",
- "toastIconUpdated": "Sütun simgesi güncellendi",
- "toastDeleted": "Sütun silindi",
"toastDeleteError": "Sütun silinemedi",
- "loading": "Sütunlar yükleniyor...",
"pickIconTitle": "Sütun simgesi seç",
"searchIconsPlaceholder": "Simge ara...",
- "doneColumnTooltip": "Bunu tamamlandı sütunu olarak işaretle",
- "doneColumn": "Tamamlandı sütunu",
"markDoneAria": "{{name}} sütununu tamamlandı olarak işaretle",
- "on": "Açık",
- "off": "Kapalı",
- "newColumnPlaceholder": "Yeni sütun adı...",
- "add": "Ekle",
+ "newColumnPlaceholder": "Sütun adı",
"deleteAria": "{{name}} sütununu sil",
- "renameAria": "{{name}} sütununu yeniden adlandır"
+ "renameAria": "{{name}} sütununu yeniden adlandır",
+ "addColumn": "Sütun ekle",
+ "columnHeader": "Sütun",
+ "deleteConfirm": "Sütunu sil",
+ "deleteDescription": "İçinde hâlâ talep bulunan sütunlar silinemez. Önce bu talepleri taşıyın.",
+ "deleteTitle": "“{{name}}” silinsin mi?",
+ "doneHeader": "Tamamlandı",
+ "dragAria": "{{name}} sütununu yeniden sırala",
+ "reorderError": "Sütunlar yeniden sıralanamadı"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Depo sahibi gereklidir",
- "ownerInvalid": "Geçersiz depo sahibi biçimi",
- "nameRequired": "Depo adı gereklidir",
- "nameInvalid": "Geçersiz depo adı biçimi"
- },
"toast": {
- "installedOk": "GitHub Uygulaması düzgün kurulmuş!",
- "installedMissingPerms": "GitHub Uygulaması kurulu ancak gerekli izinler eksik",
- "needsInstallOnRepo": "GitHub Uygulamasının bu depoya kurulması gerekiyor",
- "repoNotFound": "Depo bulunamadı veya erişilemiyor",
"verifyError": "GitHub kurulumu doğrulanamadı",
"installAppFirst": "Lütfen önce GitHub Uygulamasını bu depoya kurun",
"missingPermsDetail": "GitHub Uygulamasında gerekli izinler eksik: {{list}}. Lütfen uygulama izinlerini güncelleyin.",
@@ -1033,64 +1011,36 @@
"commentOnDisabled": "Yeni sorunlardaki talep bağlantısı yorumları kapatıldı",
"settingsUpdateError": "GitHub entegrasyonu güncellenemedi"
},
- "connectionStatus": "Bağlantı Durumu",
- "connectedActive": "Depo bağlı ve aktif",
- "notConnectedHint": "Bağlı depo yok",
- "badgeConnected": "Bağlı",
- "badgeNotConnected": "Bağlı Değil",
- "repository": "Depo",
- "repositoryHint": "Bağlı GitHub deposu",
- "commentTaskLinkTitle": "Yeni sorunlara Kaneo bağlantısı yorumu yap",
- "commentTaskLinkHint": "Etkinleştirildiğinde, Kaneo her yeni GitHub sorununa talep bağlantısı içeren bir yorum gönderir.",
- "appStatusTitle": "GitHub Uygulama Durumu",
- "appStatusHint": "Kurulum ve izin durumu",
- "statusProperlyConfigured": "Düzgün yapılandırılmış",
- "statusMissingPermissions": "İzinler eksik",
- "statusNotInstalled": "Kurulu değil",
- "ownerLabel": "Depo Sahibi",
- "ownerHint": "GitHub kullanıcı adı veya organizasyon",
- "ownerPlaceholder": "örn. octocat",
- "repoNameLabel": "Depo Adı",
- "repoNameHint": "Depo adı",
- "repoNamePlaceholder": "örn. my-project",
- "actionsTitle": "İşlemler",
- "actionsHint": "Depo bağlantınızı yönetin",
- "browse": "Göz at",
- "verify": "Doğrula",
- "update": "Güncelle",
- "connect": "Bağlan",
- "disconnect": "Bağlantıyı kes",
- "missingPermissionsLabel": "Eksik izinler:",
- "updatePermissions": "İzinleri Güncelle",
+ "commentTaskLinkTitle": "Yeni sorunlara Kaneo bağlantısıyla yorum yap",
+ "commentTaskLinkHint": "Böylece GitHub kullanıcıları doğrudan talebe gidebilir.",
+ "updatePermissions": "İzinleri güncelle",
"installGithubApp": "GitHub Uygulamasını Kur",
- "importSectionTitle": "GitHub Sorunlarını İçe Aktar",
- "importSectionHint": "GitHub deponuzdan mevcut sorunları talep olarak içe aktarın",
- "importing": "İçe aktarılıyor...",
- "importIssues": "Sorunları İçe Aktar",
- "importDisabledHint": "İçe aktarmayı etkinleştirmek için yukarıdaki depo yapılandırmasını tamamlayın",
+ "importSectionHint": "Deponun açık sorunlarını talep olarak içe aktarın.",
+ "importDisabledHint": "İçe aktarmayı etkinleştirmek için depoyu yeniden bağlayın.",
"accountVerificationHint": "Bu depoyu yönettiğinizi doğrulamak için GitHub hesabınızı bağlayın.",
"enableGithubSignInHint": "Örnek yöneticinizden GitHub ile oturum açmayı etkinleştirmesini isteyin.",
"reverifyHint": "Erişimi doğrulamak ve eşitlemeyi sürdürmek için bu depoyu yeniden bağlayın.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Bu deponun sorunları ve pull request'leri buradaki taleplere bağlanır.",
+ "linkAccountDescription": "Depoyu yönetebildiğinizi doğrular.",
+ "linkAccountTitle": "GitHub hesabınızı bağlayın",
+ "linked": "Bağlandı",
+ "linkGithub": "GitHub'ı bağla",
+ "verifyMissingPermissions": "Kaneo GitHub uygulamasında eksik izinler var: {{list}}.",
+ "verifyNotInstalled": "Kaneo GitHub uygulaması bu depoya kurulu değil.",
+ "verifyReady": "Kaneo GitHub uygulaması gereken izinlerle kurulu.",
+ "workflowHint": "Pull request'ler açıldığında veya birleştirildiğinde talepleri taşımak için",
+ "workflowLink": "İş akışı"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea temel URL'si gereklidir",
- "baseUrlInvalid": "Geçerli bir URL girin (örn. https://gitea.example.com)",
- "ownerRequired": "Depo sahibi gereklidir",
- "ownerInvalid": "Geçersiz depo sahibi biçimi",
- "nameRequired": "Depo adı gereklidir",
- "nameInvalid": "Geçersiz depo adı biçimi"
+ "baseUrlInvalid": "Geçerli bir URL girin (örn. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea belirteci bu depoya erişebiliyor",
- "verifyWarning": "Belirteç izinlerini veya depo erişimini kontrol edin",
- "repoNotFound": "Depo bulunamadı veya erişilemiyor",
"verifyError": "Gitea erişimi doğrulanamadı",
- "tokenRequired": "Kişisel erişim belirteci gereklidir",
- "tokenRequiredVerify": "Doğrulamak için bir belirteç girin",
"verifyFirst": "Erişim doğrulanamadı. URL, belirteç ve depoyu kontrol edin",
"updated": "Gitea entegrasyonu kaydedildi",
"updateError": "Gitea entegrasyonu kaydedilemedi",
@@ -1100,56 +1050,22 @@
"importError": "Sorunlar içe aktarılamadı",
"commentOnEnabled": "Kaneo yeni sorunlara talep bağlantısıyla yorum yapacak",
"commentOnDisabled": "Yeni sorunlardaki talep bağlantısı yorumları kapatıldı",
- "settingsUpdateError": "Gitea entegrasyonu güncellenemedi",
- "secretCopied": "Kopyalandı",
- "unableToCopySecret": "Gizli anahtar kopyalanamıyor",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly."
- },
- "webhookShow": "Göster",
- "webhookHide": "Gizle",
- "webhookCopy": "Kopyala",
- "connectionStatus": "Bağlantı durumu",
- "connectedActive": "Depo bağlı ve aktif",
- "notConnectedHint": "Bağlı Gitea deposu yok",
- "badgeConnected": "Bağlı",
- "badgeNotConnected": "Bağlı değil",
- "repository": "Depo",
- "repositoryHint": "Bağlı Gitea deposu",
- "commentTaskLinkTitle": "Yeni sorunlara Kaneo bağlantısı yorumu yap",
- "commentTaskLinkHint": "Etkinleştirildiğinde, Kaneo her yeni sorununa talep bağlantısı içeren bir yorum gönderir.",
- "webhookTitle": "Webhook",
- "webhookHint": "Gitea deponuzda bu URL ve gizli anahtar ile bir webhook ekleyin. Push, pull request, sorunlar, sorun yorumları ve create (etiketler için) olaylarını etkinleştirin.",
- "webhookSecretLabel": "Gizli anahtar (Gitea'daki webhook gizli anahtarıyla eşleşmelidir)",
+ "settingsUpdateError": "Gitea entegrasyonu güncellenemedi"
+ },
+ "commentTaskLinkTitle": "Yeni sorunlara Kaneo bağlantısıyla yorum yap",
+ "commentTaskLinkHint": "Böylece Gitea kullanıcıları doğrudan talebe gidebilir.",
+ "webhookHint": "Değişikliklerin Kaneo'ya yansıması için bu webhook'u depo ayarlarına ekleyin.",
"baseUrlLabel": "Gitea URL'si",
- "baseUrlHint": "Gitea örneğinizin kök URL'si",
"tokenLabel": "Kişisel erişim belirteci",
- "tokenHint": "Repo ve sorun erişimi olan belirteç",
"tokenPlaceholder": "Belirteci yapıştır",
"tokenPlaceholderUpdate": "Yeni belirteç için yapıştır",
- "currentToken": "kaydedildi",
- "ownerLabel": "Sahip",
- "ownerHint": "Kullanıcı veya organizasyon adı",
- "repoNameLabel": "Depo adı",
- "repoNameHint": "Yalnızca depo adı (sahip yok)",
- "actionsTitle": "İşlemler",
- "actionsHint": "Erişimi doğrulayın ve bağlanın",
- "browse": "Göz at",
- "verify": "Doğrula",
- "update": "Güncelle",
- "connect": "Bağlan",
- "disconnect": "Bağlantıyı kes",
- "importSectionTitle": "Gitea sorunlarını içe aktar",
- "importSectionHint": "Depodan açık sorunları ve pull request'leri içe aktar",
- "importing": "İçe aktarılıyor…",
- "importIssues": "Sorunları içe aktar",
- "importDisabledHint": "İçe aktarmayı etkinleştirmek için yukarıdaki depoyu doğrulayın",
- "browseModalTitle": "Depolarınız",
- "browseModalHint": "Belirtecinizin erişebileceği depolar",
- "searchRepos": "Ara…",
- "browseNeedsCredentials": "Göz atmak için Gitea URL'si ve belirteci girin",
- "loadingRepos": "Depolar yükleniyor…",
- "retry": "Tekrar dene"
+ "importSectionHint": "Açık sorunları ve pull request'leri talep olarak içe aktarın.",
+ "importDisabledHint": "İçe aktarma için doğrulanmış erişim gerekir. Yukarıdaki belirteç durumunu kontrol edin.",
+ "browseModalHint": "Belirtecinizin erişebildiği depolar.",
+ "browseNeedsCredentials": "Göz atmak için Gitea URL'sini ve bir belirteç girin.",
+ "browseEmpty": "Bu belirteç hiçbir depoyu göremiyor.",
+ "chooseRepositoryDescription": "Depoyu owner/name biçiminde yazın veya listeden seçin.",
+ "webhookEvents": "Push, pull request, sorun, sorun yorumu ve create olaylarını açın."
},
"slackIntegration": {
"validation": {
@@ -1164,30 +1080,10 @@
"removed": "Slack entegrasyonu başarıyla kaldırıldı",
"removeError": "Slack entegrasyonu kaldırılamadı"
},
- "connectionTitle": "Slack webhook bağlantısı",
- "connectionHint": "Bir Slack gelen webhook URL'si yapıştırın ve hangi talep olaylarının gönderileceğini seçin.",
- "connected": "Bağlı",
- "paused": "Duraklatıldı",
- "webhookLabel": "Gelen webhook URL'si",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Slack'te bir Gelen Webhook oluşturun ve oluşturulan URL'yi buraya yapıştırın.",
- "channelLabel": "Kanal adı",
- "channelPlaceholder": "#takim-guncellemeleri",
- "channelHint": "Referansınız için isteğe bağlı etiket. Slack, gerçek hedef kanalı webhook kurulumundan kontrol eder.",
- "eventsTitle": "Olay bildirimleri",
- "eventsHint": "Hangi proje değişikliklerinin Slack'e gönderileceğini seçin.",
- "events": {
- "taskCreated": "Yeni talepler",
- "taskStatusChanged": "Durum değişiklikleri",
- "taskPriorityChanged": "Öncelik değişiklikleri",
- "taskTitleChanged": "Başlık değişiklikleri",
- "taskDescriptionChanged": "Açıklama değişiklikleri",
- "taskCommentCreated": "Yeni yorumlar"
- },
+ "webhookHint": "Slack'te bir gelen webhook oluşturun ve buraya yapıştırın.",
"connect": "Slack bağla",
- "saveChanges": "Değişiklikleri kaydet",
- "update": "Slack'i güncelle",
- "disconnect": "Bağlantıyı kes"
+ "update": "Slack'i güncelle"
},
"discordIntegration": {
"validation": {
@@ -1202,34 +1098,15 @@
"removed": "Discord entegrasyonu başarıyla kaldırıldı",
"removeError": "Discord entegrasyonu kaldırılamadı"
},
- "connectionTitle": "Discord webhook bağlantısı",
- "connectionHint": "Bir Discord webhook URL'si yapıştırın ve hangi talep olaylarının gönderileceğini seçin.",
- "connected": "Bağlı",
- "paused": "Duraklatıldı",
- "webhookLabel": "Webhook URL'si",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Bir Discord kanal webhook'u oluşturun ve oluşturulan URL'yi buraya yapıştırın.",
- "channelLabel": "Kanal adı",
- "channelPlaceholder": "#takim-guncellemeleri",
- "channelHint": "Referansınız için isteğe bağlı etiket. Discord, gerçek hedef kanalı webhook kurulumundan kontrol eder.",
- "eventsTitle": "Olay bildirimleri",
- "eventsHint": "Hangi proje değişikliklerinin Discord'a gönderileceğini seçin.",
- "events": {
- "taskCreated": "Yeni talepler",
- "taskStatusChanged": "Durum değişiklikleri",
- "taskPriorityChanged": "Öncelik değişiklikleri",
- "taskTitleChanged": "Başlık değişiklikleri",
- "taskDescriptionChanged": "Açıklama değişiklikleri",
- "taskCommentCreated": "Yeni yorumlar"
- },
+ "webhookHint": "Discord'da bir kanal webhook'u oluşturun ve buraya yapıştırın.",
"connect": "Discord bağla",
- "saveChanges": "Değişiklikleri kaydet",
- "update": "Discord'u güncelle",
- "disconnect": "Bağlantıyı kes"
+ "update": "Discord'u güncelle"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Geçerli bir webhook URL'si girin"
+ "webhookInvalid": "Geçerli bir webhook URL'si girin",
+ "leadTimeRange": "5 dakika ile 720 saat arasında bir süre seçin."
},
"toast": {
"saved": "Genel webhook entegrasyonu başarıyla kaydedildi",
@@ -1240,43 +1117,41 @@
"removed": "Genel webhook entegrasyonu başarıyla kaldırıldı",
"removeError": "Genel webhook entegrasyonu kaldırılamadı"
},
- "connectionTitle": "Giden webhook bağlantısı",
- "connectionHint": "Talep olaylarını kendi uç noktanıza JSON olarak gönderin. Bir gizli anahtar yapılandırıldığında imzalı bir X-Kaneo-Signature başlığı dahil edilir.",
- "connected": "Bağlı",
- "paused": "Duraklatıldı",
"webhookLabel": "Uç nokta URL'si",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo, etkinleştirilen her olay için JSON yükü ile POST istekleri gönderir.",
"secretLabel": "İmzalama gizli anahtarı",
- "secretPlaceholder": "İsteğe bağlı paylaşılan gizli anahtar",
- "secretHint": "İsteğe bağlı. Sağlanırsa, Kaneo istek gövdesini imzalar ve hex özetini X-Kaneo-Signature başlığında gönderir.",
- "secretHintConfigured": "Bir imzalama gizli anahtarı zaten yapılandırılmış ({{secret}}). Değiştirmek için yeni bir tane girin.",
- "eventsTitle": "Olay bildirimleri",
- "eventsHint": "Hangi proje değişikliklerinin giden webhook'ları tetikleyeceğini seçin.",
+ "secretPlaceholder": "Paylaşılan gizli anahtar",
+ "secretHint": "Kaneo her isteği bununla imzalar ve özeti X-Kaneo-Signature başlığında gönderir.",
+ "secretHintConfigured": "Mevcut gizli anahtar: {{secret}}. Değiştirmek için yenisini yapıştırın.",
+ "eventsTitle": "Şu durumlarda gönder",
"events": {
- "taskCreated": "Yeni talepler",
- "taskStatusChanged": "Durum değişiklikleri",
- "taskPriorityChanged": "Öncelik değişiklikleri",
- "taskTitleChanged": "Başlık değişiklikleri",
- "taskDescriptionChanged": "Açıklama değişiklikleri",
- "taskCommentCreated": "Yeni yorumlar",
+ "taskCreated": "Talep oluşturuldu",
+ "taskStatusChanged": "Durum değişti",
+ "taskPriorityChanged": "Öncelik değişti",
+ "taskTitleChanged": "Başlık değişti",
+ "taskDescriptionChanged": "Açıklama değişti",
+ "taskCommentCreated": "Yeni yorum",
"taskDeleted": "Talep silindi",
"taskMoved": "Talep taşındı",
"taskDueDateChanged": "Bitiş tarihi değişti",
"taskAssigneeChanged": "Atanan kişi değişti",
"taskUnassigned": "Atama kaldırıldı",
- "dueDateReminder": "Bitiş tarihi hatırlatmaları"
+ "dueDateReminder": "Bitiş tarihi hatırlatması"
},
"connect": "Webhook bağla",
- "saveChanges": "Değişiklikleri kaydet",
- "disconnect": "Bağlantıyı kes",
- "reminderLeadTimeLabel": "Webhook'u bitiş tarihinden bu kadar saat önce gönder"
+ "reminderLeadTimeLabel": "Talebin bitiş tarihinden kaç saat önce",
+ "activeTitle": "Olaylar gönderiliyor",
+ "disconnectDescription": "Kaneo olay göndermeyi durdurur ve kayıtlı uç noktayı ve gizli anahtarı kaldırır.",
+ "disconnectTitle": "Webhook bağlantısı kesilsin mi?",
+ "reminderLeadTimeAfter": "saat önce gönder",
+ "reminderLeadTimeBefore": "Hatırlatmaları talebin bitiş tarihinden"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Geçerli bir Telegram bot belirteci girin",
"chatIdRequired": "Sohbet kimliği gereklidir",
- "threadIdInvalid": "Geçerli bir Telegram konu kimliği girin"
+ "threadIdInvalid": "Geçerli bir konu kimliği girin"
},
"toast": {
"saved": "Telegram entegrasyonu başarıyla kaydedildi",
@@ -1287,64 +1162,47 @@
"removed": "Telegram entegrasyonu başarıyla kaldırıldı",
"removeError": "Telegram entegrasyonu kaldırılamadı"
},
- "connectionTitle": "Telegram bot bağlantısı",
- "connectionHint": "Proje talep güncellemelerini bir sohbete veya konuya göndermek için bir Telegram bot belirteci ve sohbet kimliği kullanın.",
- "connected": "Bağlı",
- "paused": "Duraklatıldı",
"botTokenLabel": "Bot belirteci",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "BotFather ile bir bot oluşturun ve belirtecini buraya yapıştırın.",
- "botTokenHintConfigured": "Bir bot belirteci zaten yapılandırılmış ({{token}}). Değiştirmek için yeni bir tane girin.",
+ "botTokenHintConfigured": "Mevcut belirteç: {{token}}",
"chatIdLabel": "Sohbet kimliği",
"chatIdPlaceholder": "-1001234567890 veya @takim_guncellemeleri",
- "chatIdHint": "Güncellemelerin gönderileceği Telegram sohbet kimliğini veya kanal kullanıcı adını girin.",
"threadIdLabel": "Konu kimliği",
- "threadIdPlaceholder": "İsteğe bağlı konu kimliği",
- "threadIdHint": "İsteğe bağlı. Telegram gruplarındaki forum konuları için kullanın.",
- "chatLabelLabel": "Sohbet etiketi",
+ "threadIdPlaceholder": "Forum konuları için",
+ "chatLabelLabel": "Sohbet adı",
"chatLabelPlaceholder": "Mühendislik Güncellemeleri",
- "chatLabelHint": "Kaneo içinde referansınız için isteğe bağlı etiket.",
- "eventsTitle": "Olay bildirimleri",
- "eventsHint": "Hangi proje değişikliklerinin Telegram'a gönderileceğini seçin.",
- "events": {
- "taskCreated": "Yeni talepler",
- "taskStatusChanged": "Durum değişiklikleri",
- "taskPriorityChanged": "Öncelik değişiklikleri",
- "taskTitleChanged": "Başlık değişiklikleri",
- "taskDescriptionChanged": "Açıklama değişiklikleri",
- "taskCommentCreated": "Yeni yorumlar"
- },
"connect": "Telegram bağla",
- "saveChanges": "Değişiklikleri kaydet",
- "disconnect": "Bağlantıyı kes"
+ "botTokenSavedPlaceholder": "Kaydedildi. Değiştirmek için yeni bir belirteç yapıştırın.",
+ "loadError": "Telegram ayarları yüklenemedi."
},
"repositoryBrowser": {
- "title": "Depo Seç",
- "description": "Sorun senkronizasyonunu etkinleştirmek için GitHub Uygulamanızın kurulu olduğu bir depo seçin.",
- "searchPlaceholder": "Depo ara...",
- "loadError": "Depolar yüklenemedi",
- "tryAgain": "Tekrar Dene",
- "emptyTitle": "Depo bulunamadı",
+ "title": "Bir depo seçin",
+ "description": "Kaneo GitHub uygulamasının görebildiği depolar.",
+ "searchPlaceholder": "Depo ara",
+ "loadError": "Depolar yüklenemedi.",
+ "tryAgain": "Tekrar dene",
+ "emptyTitle": "Henüz depo yok",
"emptyHint": "Depolarınızı burada görmek için GitHub Uygulamasını kurun.",
"installGithubApp": "GitHub Uygulamasını Kur",
- "noSearchMatchTitle": "Aramanızla eşleşen depo yok",
- "noSearchMatchHint": "Arama terimlerinizi ayarlayın veya tüm depoları görmek için aramayı temizleyin.",
- "footerSummary": "{{installationCount}} kurulum arasında {{repoCount}} depo",
- "manageInstallations": "Kurulumları Yönet",
- "updatedPrefix": "Güncellendi",
- "relativeJustNow": "az önce",
- "relativeMinutesAgo": "{{count}} dk önce",
- "relativeHoursAgo": "{{count}} saat önce",
- "relativeDaysAgo": "{{count}} gün önce"
+ "noSearchMatchTitle": "Eşleşen depo yok",
+ "noSearchMatchHint": "Farklı bir ad deneyin veya aramayı temizleyin.",
+ "emptyPageHint": "Bu sayfada yok. Aramaya devam etmek için daha fazla yükleyin.",
+ "loadMore": "Daha fazla yükle",
+ "manageAccess": "Uygulama erişimini yönet",
+ "missingOne": "Bir depo eksik mi?",
+ "searching": "Aranıyor…",
+ "updated": "{{time}} güncellendi",
+ "useRepository": "Depoyu kullan"
},
"tasksImportExport": {
- "exportTasks": "Talepleri Dışa Aktar",
- "importTasks": "Talepleri İçe Aktar",
- "dialogTitle": "Talepleri İçe Aktar",
+ "exportTasks": "Talepleri dışa aktar",
+ "importTasks": "Talepleri içe aktar",
+ "dialogTitle": "Talepleri içe aktar",
"dialogDescription": "Bu projeye içe aktarmak için talepler içeren bir JSON dosyası yükleyin.",
"expectedFormat": "Beklenen biçim:",
"dropHint": "JSON dosyanızı buraya sürükleyip bırakın",
- "selectFile": "Dosya Seç",
+ "selectFile": "Dosya seç",
"exporting": "Talepler dışa aktarılıyor...",
"exportSuccess": "Talepler başarıyla dışa aktarıldı",
"exportError": "Talepler dışa aktarılamadı",
@@ -1354,27 +1212,26 @@
"importError": "Talepler içe aktarılamadı",
"invalidFormat": "Geçersiz içe aktarma dosyası biçimi",
"noFileDropped": "Hiç dosya bırakılmadı",
- "notJsonFile": "Lütfen bir JSON dosyası yükleyin"
+ "notJsonFile": "Lütfen bir JSON dosyası yükleyin",
+ "export": "Dışa aktar",
+ "exportDescription": "Bu projedeki tüm talepleri dosya olarak indirin.",
+ "import": "İçe aktar",
+ "importDescription": "Daha önce dışa aktardığınız bir dosyadan talep ekleyin."
},
"workflowEditor": {
- "loading": "Yükleniyor...",
- "createColumnsFirst": "Otomasyon kurallarını yapılandırmak için önce sütunlar oluşturun.",
- "githubHeading": "GitHub",
- "githubHint": "Bir GitHub olayı gerçekleştiğinde, bağlı talebi bir sütuna taşıyın.",
- "giteaHeading": "Gitea",
- "giteaHint": "Bir Gitea webhook olayı gerçekleştiğinde, bağlı talebi bir sütuna taşıyın.",
- "selectColumnPlaceholder": "Sütun seç...",
- "toastUpdated": "İş akışı kuralı güncellendi",
"toastError": "Kural güncellenemedi",
"events": {
- "branch_push": "Dal Push",
- "pr_opened": "PR Açıldı",
- "pr_merged": "PR Birleştirildi",
- "issue_opened": "Sorun Açıldı",
- "issue_closed": "Sorun Kapatıldı"
- },
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "branch_push": "Dala push yapıldı",
+ "pr_opened": "Pull request açıldı",
+ "pr_merged": "Pull request birleştirildi",
+ "issue_opened": "Sorun açıldı",
+ "issue_closed": "Sorun kapatıldı"
+ },
+ "connectMore": "<link>Entegrasyonlar</link> bölümünden {{providers}} bağlantısı kurarak bunları da otomatikleştirin.",
+ "dontMove": "Taşınmasın",
+ "emptyDescription": "Otomasyonlar için bağlı bir GitHub, Gitea veya GitLab deposu gerekir.",
+ "emptyTitle": "Bağlı depo yok",
+ "openIntegrations": "Entegrasyonları aç"
},
"externalLinks": {
"resources": "Kaynaklar",
@@ -1601,22 +1458,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Etiket Ayarları",
+ "pageTitle": "Etiketler",
"title": "Etiketler",
- "subtitle": "Çalışma alanı düzeyinde etiketler oluşturun, düzenleyin ve silin.",
- "cardDescription": "Taleplere atanabilecek etiketleri yönetin.",
- "createLabel": "Etiket Oluştur",
- "editLabel": "Etiketi Düzenle",
- "deleteLabel": "Sil",
+ "subtitle": "Etiketler bu çalışma alanındaki tüm projelerde ortaktır.",
+ "createLabel": "Etiket oluştur",
+ "editLabel": "Etiketi düzenle",
+ "deleteLabel": "Etiketi sil",
"saveLabel": "Kaydet",
- "nameLabel": "Etiket adı",
- "namePlaceholder": "Etiket adını girin",
+ "nameLabel": "Ad",
+ "namePlaceholder": "Etiket adı",
"colorLabel": "Renk",
- "createDescription": "Bu çalışma alanındaki taleplerde kullanılabilecek yeni bir etiket oluşturun.",
- "editDescription": "Bu etiketin adını veya rengini güncelleyin.",
- "deleteConfirmTitle": "Bu etiket silinsin mi?",
- "deleteConfirmDescription": "Bu, etiketi tüm taleplerden kalıcı olarak kaldıracak. Bu işlem geri alınamaz.",
- "empty": "Henüz etiket yok. Başlamak için ilk etiketinizi oluşturun.",
+ "createDescription": "Bu çalışma alanındaki projeler bu etiketi taleplerine ekleyebilir.",
+ "editDescription": "Değişiklikler bu etikete sahip tüm taleplerde görünür.",
+ "deleteConfirmTitle": "“{{name}}” silinsin mi?",
+ "deleteConfirmDescription": "Etiket, onu kullanan tüm taleplerden kaldırılır. Bu işlem geri alınamaz.",
"createSuccess": "Etiket oluşturuldu",
"updateSuccess": "Etiket güncellendi",
"deleteSuccess": "Etiket silindi",
@@ -1624,30 +1479,23 @@
"updateError": "Etiket güncellenemedi",
"deleteError": "Etiket silinemedi",
"nameRequired": "Etiket adı gereklidir",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Taleplerden kaldırılıyor…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "{{name}} etiketini düzenle",
+ "emptyDescription": "Projeler genelinde talepleri düzenlemek ve filtrelemek için etiket ekleyin.",
+ "emptyTitle": "Henüz etiket yok",
+ "loadError": "Etiketler yüklenemedi. Lütfen tekrar deneyin.",
+ "newLabel": "Yeni etiket",
+ "preview": "Bir talepte",
+ "previewPlaceholder": "Etiket",
+ "resume": "Devam et",
+ "rowActions": "{{name}} için işlemler",
+ "sectionDescription": "Bir etiketi yeniden adlandırmak veya rengini değiştirmek, onu kullanan tüm talepleri günceller.",
+ "sectionTitle": "Çalışma alanı etiketleri",
+ "subtitleWithWorkspace": "Etiketler {{workspaceName}} içindeki tüm projelerde ortaktır."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1661,58 +1509,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Mattermost'ta bir gelen webhook oluşturun ve buraya yapıştırın.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Onay kutusu",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Açılır liste, çoklu seçim"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Varsayılanı temizle",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "{{name}} için işlemler",
+ "addOption": "Seçenek ekle",
+ "allowSeveral": "Çoklu seçime izin ver",
+ "allowSeveralDescription": "Bir talepte birden fazla seçenek seçilebilir.",
+ "checked": "İşaretli",
+ "createField": "Alan oluştur",
+ "defaultDescription": "Yeni talepler bu değerle başlar.",
+ "deleteConfirm": "Alanı sil",
+ "deleteDescription": "Alan ve tüm taleplerdeki değeri kaldırılır. Bu işlem geri alınamaz.",
+ "deleteTitle": "“{{name}}” silinsin mi?",
+ "dialogDescription": "{{project}} projesindeki her talep bu alana sahip olur.",
+ "dialogDescriptionFallback": "Bu projedeki her talep bu alana sahip olur.",
+ "dragAria": "{{name}} alanını yeniden sırala",
+ "dragOptionAria": "{{option}} seçeneğini yeniden sırala",
+ "edit": "Düzenle",
+ "editTitle": "Alanı düzenle",
+ "emptyDescription": "Her talepte boyut, müşteri veya lansman tarihi gibi bilgileri izleyin.",
+ "emptyTitle": "Henüz özel alan yok",
+ "issues": {
+ "defaultRequired": "Zorunlu alanların varsayılan değeri olmalıdır.",
+ "moreOptionsRequired": "Çoklu seçime izin vermek için en az iki seçenek ekleyin.",
+ "optionsRequired": "En az bir seçenek ekleyin."
+ },
+ "nameLabel": "Ad",
+ "newTitle": "Yeni alan",
+ "noDefault": "Varsayılan yok",
+ "optionsLabel": "Seçenekler",
+ "removeOptionAria": "{{option}} seçeneğini kaldır",
+ "renameOptionAria": "{{option}} seçeneğini yeniden adlandır",
+ "requiredDescription": "Her talebin her zaman bir değeri olur.",
+ "save": "Kaydet",
+ "saving": "Kaydediliyor...",
+ "startsAs": "Başlangıç değeri: “{{value}}”",
+ "startsAt": "Başlangıç değeri: {{value}}",
+ "startsChecked": "İşaretli başlar",
+ "startsOn": "Başlangıç tarihi: {{date}}",
+ "startsUnchecked": "İşaretsiz başlar",
+ "typeLabel": "Tür",
+ "typeLocked": "Alan oluşturulduktan sonra türü değiştirilemez.",
+ "unchecked": "İşaretsiz",
+ "updateError": "Özel alan kaydedilemedi.",
+ "updateSuccess": "Özel alan kaydedildi."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Devre dışı bırak",
+ "edit": "Düzenle",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Yeniden etkinleştir"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Rol",
"status": "Status",
"user": "User"
},
@@ -1734,7 +1614,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Tüm kullanıcılar",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1747,7 +1627,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1755,19 +1634,19 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Yönetici",
"user": "User"
},
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Ad veya e-posta ile ara",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Bu Kaneo örneğinde hesabı olan herkes.",
+ "title": "Kullanıcılar",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1776,9 +1655,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Siz"
},
"security": "Security",
"securityPage": {
@@ -1793,11 +1670,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Oturum açma",
+ "submit": "Parolayı değiştir",
+ "submitting": "Değiştiriliyor...",
+ "subtitle": "Kaneo'da nasıl oturum açtığınız.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1807,94 +1683,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Parolayı değiştir",
+ "dialogDescription": "En az 8 karakter olmalı ve mevcut paroladan farklı olmalı.",
+ "dialogTitle": "Parolayı değiştir",
+ "passwordHint": "Başka hiçbir yerde kullanmadığınız, en az 8 karakterlik bir parola kullanın.",
+ "passwordTitle": "Parola"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Belirtecinizin üyesi olduğu projeler.",
+ "browseNeedsCredentials": "Göz atmak için GitLab URL'sini ve bir belirteç girin.",
+ "commentTaskLinkHint": "Böylece GitLab kullanıcıları doğrudan talebe gidebilir.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Açık sorunları ve merge request'leri talep olarak içe aktarın.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Proje ara",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Değişikliklerin Kaneo'ya yansıması için bu webhook'u proje ayarlarına ekleyin.",
+ "loadProjectsError": "Projeler yüklenemedi.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Bu belirteç hiçbir projenin üyesi değil.",
+ "chooseProjectDescription": "Proje yolunu yazın veya listeden seçin.",
+ "noSearchMatchTitle": "Eşleşen proje yok",
+ "useProject": "Projeyi kullan",
+ "webhookEvents": "Push, sorun, yorum ve merge request olaylarını açın."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Yalnızca şu etiketleri dahil et",
+ "selectLabels": "Etiket ekle",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1902,20 +1745,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Beslemeler",
+ "allScheduledTasks": "Tüm planlanmış talepler",
+ "subscribeHint": "Bir bağlantıyı takvim uygulamanıza abonelik olarak ekleyin. Güncellemeler, uygulama beslemeyi yenilediğinde görünür.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Kopyalandı",
+ "dialogDescription": "Başlangıç veya bitiş tarihi olan talepler beslemede görünür.",
+ "dialogTitle": "Yeni takvim beslemesi",
+ "emptyDescription": "Planlanmış talepleri takvim uygulamanızda görmek için bir besleme oluşturun.",
+ "emptyTitle": "Henüz takvim beslemesi yok",
+ "feedActions": "Besleme işlemleri",
+ "labelsHint": "Tüm planlanmış talepleri dahil etmek için boş bırakın.",
+ "newFeed": "Yeni besleme",
+ "revokeConfirm": "Beslemeyi iptal et",
+ "revokeConfirmDescription": "Bu bağlantıyı kullanan takvim uygulamaları artık güncelleme almaz. Bu işlem geri alınamaz.",
+ "revokeConfirmTitle": "Bu besleme iptal edilsin mi?",
+ "revoking": "İptal ediliyor…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1927,7 +1779,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1960,7 +1811,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1971,7 +1821,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Faturalar, ödeme yöntemi ve iptal işlemleri Creem üzerinden yönetilir.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1995,14 +1845,14 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "{{workspace}} için planınız.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_one": "{{count}} gün kaldı",
+ "badgeDaysLeft_other": "{{count}} gün kaldı"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2021,15 +1871,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2046,8 +1893,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2066,16 +1911,29 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Neler senkronize edilir",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Tüm sorunlar",
+ "allTasks": "Tüm talepler",
+ "edit": "Düzenle",
+ "hidePaused": "Gizle",
+ "issuesLabelled": "Şu etiketlere sahip sorunlar",
+ "joinAnd": "ve",
+ "joinOr": "veya",
+ "kaneoToProvider": "Kaneo → {{provider}}",
+ "pausedSummary_one": "{{count}} talep, artık senkronizasyon kurallarıyla eşleşmediği için senkronize edilmiyor.",
+ "pausedSummary_other": "{{count}} talep, artık senkronizasyon kurallarıyla eşleşmediği için senkronize edilmiyor.",
+ "providerToKaneo": "{{provider}} → Kaneo",
+ "reviewPaused": "İncele",
+ "tasksLabelled": "Şu etiketlere sahip talepler"
+ },
+ "advancedSettingsDescription": "Entegrasyon senkronizasyon kuralları gibi ek denetimleri gösterir. Yalnızca bu tarayıcıda geçerlidir.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2112,23 +1970,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Tüm çalışma alanları",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_one": "{{count}} member",
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
@@ -2149,9 +1999,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Ad veya slug ile ara",
+ "subtitle": "Üyesi olmadıklarınız dahil, bu Kaneo örneğindeki tüm çalışma alanları.",
+ "title": "Çalışma alanları",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2161,9 +2011,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2428,6 +2276,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Ayarları kaybetmeden duraklatmak için kapatın.",
+ "activeTitle": "{{provider}} üzerinde paylaşılıyor",
+ "channelHint": "Yalnızca bu listede gösterilen bir ad.",
+ "channelLabel": "Kanal",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Bağlantıyı kes",
+ "disconnectDescription": "Kaneo, {{provider}} üzerinde paylaşımı durdurur ve kayıtlı ayarları kaldırır.",
+ "disconnecting": "Bağlantı kesiliyor…",
+ "disconnectTitle": "{{provider}} bağlantısı kesilsin mi?",
+ "events": {
+ "taskCommentCreated": "Biri yorum yaptığında",
+ "taskCreated": "Bir talep oluşturulduğunda",
+ "taskDescriptionChanged": "Açıklama değiştiğinde",
+ "taskPriorityChanged": "Öncelik değiştiğinde",
+ "taskStatusChanged": "Durum değiştiğinde",
+ "taskTitleChanged": "Başlık değiştiğinde"
+ },
+ "optional": "İsteğe bağlı",
+ "postWhen": "Şu durumlarda paylaş",
+ "retry": "Tekrar dene",
+ "saveChanges": "Değişiklikleri kaydet",
+ "savedUrlPlaceholder": "Kaydedildi. Değiştirmek için yeni bir URL yapıştırın.",
+ "webhookUrlLabel": "Webhook URL'si"
+ },
+ "codeHosting": {
+ "browse": "Göz at",
+ "changeToken": "Belirteci değiştir",
+ "checking": "Erişim kontrol ediliyor…",
+ "chooseProjectTitle": "Bir proje seçin",
+ "chooseRepositoryTitle": "Bir depo seçin",
+ "connectProject": "Projeyi bağla",
+ "connectRepository": "Depoyu bağla",
+ "copied": "Kopyalandı",
+ "copyFailed": "Panoya kopyalanamadı.",
+ "copySecret": "Gizli anahtarı kopyala",
+ "copyUrl": "Webhook URL'sini kopyala",
+ "disconnect": "Bağlantıyı kes",
+ "disconnectDescription": "Talepler artık {{target}} ile senkronize edilmez. Daha sonra yeniden bağlayabilirsiniz.",
+ "disconnecting": "Bağlantı kesiliyor…",
+ "disconnectTitle": "{{provider}} bağlantısı kesilsin mi?",
+ "hideSecret": "Gizli anahtarı gizle",
+ "importing": "İçe aktarılıyor…",
+ "importIssues": "Sorunları içe aktar",
+ "importNeedsReconnect": "İçe aktarmayı etkinleştirmek için yeniden bağlanın.",
+ "importTitle": "Açık sorunları içe aktar",
+ "issuesSection": "Sorunlar",
+ "lastImport": "Son içe aktarma: {{imported}} oluşturuldu, {{updated}} güncellendi, {{skipped}} atlandı.",
+ "loadError": "Bu entegrasyon yüklenemedi.",
+ "pausedHint": "Senkronizasyon duraklatıldı. Devam etmek için yeniden bağlanın.",
+ "projectSection": "Proje",
+ "reconnect": "Yeniden bağlan",
+ "repositoryPathInvalid": "Depoyu owner/name biçiminde girin.",
+ "repositoryPathLabel": "Depo",
+ "repositorySection": "Depo",
+ "retry": "Tekrar dene",
+ "saveToken": "Belirteci kaydet",
+ "showSecret": "Gizli anahtarı göster",
+ "signInDescription": "Projeyi ve sorunlarını okuyabilen bir belirteç kullanın.",
+ "signInTitle": "Sunucunuzda oturum açın",
+ "tokenStored": "Kayıtlı belirteç",
+ "tokenTitle": "Erişim belirteci",
+ "webhookSecret": "Gizli anahtar",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Bir talepte görünme sıralarını değiştirmek için sürükleyin.",
+ "fieldsTitle": "Alanlar",
+ "newField": "Yeni alan",
+ "pageTitle": "Özel alanlar",
+ "subtitle": "{{project}} projesindeki her talebin izleyebileceği boyut veya müşteri gibi ek bilgiler.",
+ "subtitleFallback": "Bu projedeki her talebin izleyebileceği boyut veya müşteri gibi ek bilgiler.",
+ "title": "Özel alanlar"
+ },
+ "shared": {
+ "autosave": "Değişiklikler otomatik olarak kaydedilir"
}
},
"navigation": {
diff --git a/i18n/uk-UA.json b/i18n/uk-UA.json
index 4368b81a3..15ac98f3d 100644
--- a/i18n/uk-UA.json
+++ b/i18n/uk-UA.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Ніколи"
- },
"modals": {
"createProject": {
"title": "Створити новий проєкт",
@@ -576,37 +573,32 @@
"advancedSettings": "Розширені налаштування",
"account": "Обліковий запис",
"developer": "Розробник",
- "information": "Інформація",
+ "information": "Профіль",
"notifications": "Сповіщення",
"preferences": "Налаштування",
"apiKeys": "API-ключі",
"informationPage": {
- "pageTitle": "Особиста інформація",
- "title": "Особиста інформація",
- "subtitle": "Керуйте вашими особистими даними та інформацією облікового запису.",
- "sectionTitle": "Інформація облікового запису",
- "sectionSubtitle": "Керуйте вашим профілем та деталями облікового запису.",
+ "pageTitle": "Профіль",
+ "title": "Профіль",
+ "subtitle": "Як вас бачать колеги з команди.",
+ "sectionTitle": "Дані",
"profilePicture": "Фото профілю",
- "fullName": "Повне ім'я",
+ "fullName": "Ім'я",
"fullNamePlaceholder": "Введіть ваше ім'я",
"email": "Електронна пошта",
- "emailPlaceholder": "Введіть вашу пошту",
- "updateSuccess": "Профіль успішно оновлено",
"updateError": "Не вдалося оновити профіль",
"validation": {
"nameRequired": "Ім'я є обов'язковим",
- "nameShort": "Ім'я має містити щонайменше 2 символи",
- "invalidEmail": "Невірна адреса електронної пошти"
+ "nameShort": "Ім'я має містити щонайменше 2 символи"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Найкраще виглядають квадратні зображення.",
+ "remove": "Видалити",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Завантажити"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -615,39 +607,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Ви входите з цією адресою."
},
"notificationsPage": {
"pageTitle": "Сповіщення",
"title": "Сповіщення",
- "subtitle": "Оберіть, як Kaneo надсилатиме сповіщення вашого облікового запису та які канали використовувати.",
+ "subtitle": "Про що Kaneo вас сповіщає і куди.",
"statusConnected": "Підключено",
"statusPaused": "Призупинено",
"emailTitle": "Електронна пошта",
- "emailDescription": "Використовуйте пошту вашого облікового запису як адресу для сповіщень.",
- "accountEmailLabel": "Пошта облікового запису",
"accountEmailNoAddress": "Пошта облікового запису відсутня",
- "accountEmailHint": "Листи завжди надсилаються на пошту поточного облікового запису.",
"saveChanges": "Зберегти зміни",
"disconnect": "Від'єднати",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Публікуйте сповіщення облікового запису в тему ntfy.",
+ "ntfyDescription": "Публікуйте в тему ntfy на телефоні чи комп'ютері.",
"serverUrl": "URL сервера",
"topic": "Тема",
"token": "Токен",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Необов'язковий bearer-токен",
+ "ntfyTokenPlaceholder": "Лише якщо він потрібен серверу",
"ntfyTokenHintConfigured": "Токен вже налаштовано ({{masked}}). Введіть новий токен, щоб замінити його.",
- "ntfyTokenHintOptional": "Необов'язково. Вкажіть токен, якщо ваш сервер ntfy вимагає автентифікації.",
+ "ntfyTokenHintOptional": "Вкажіть його, якщо ваш сервер ntfy вимагає автентифікації.",
"connectNtfy": "Підключити ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Надсилайте сповіщення облікового запису на ваш сервер Gotify.",
+ "gotifyDescription": "Надсилайте сповіщення на свій сервер Gotify.",
"gotifyTokenLabel": "Токен застосунку",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Токен застосунку Gotify",
@@ -655,38 +644,16 @@
"gotifyTokenHintRequired": "Обов'язково. Використовуйте токен застосунку з вашого сервера Gotify.",
"connectGotify": "Підключити Gotify",
"webhookTitle": "Власний вебхук",
- "webhookDescription": "Надсилайте сповіщення облікового запису на вашу кінцеву точку у форматі JSON.",
+ "webhookDescription": "Надсилайте кожне сповіщення на власну кінцеву точку у форматі JSON.",
"endpointUrl": "URL кінцевої точки",
"signingSecret": "Секрет підпису",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Необов'язковий спільний секрет",
"webhookSecretHintConfigured": "Секрет підпису вже налаштовано ({{masked}}). Введіть новий, щоб замінити його.",
- "webhookSecretHintOptional": "Необов'язково. Kaneo підписує тіло запиту, коли секрет встановлено.",
+ "webhookSecretHintOptional": "Kaneo підписує тіло запиту, коли встановлено секрет.",
"connectWebhook": "Підключити вебхук",
- "workspaceRulesTitle": "Правила доставки по робочих просторах",
- "workspaceRulesDescription": "Використовуйте ваші глобальні канали, а потім визначте, які робочі простори та проєкти можуть надсилати сповіщення облікового запису.",
- "workspaceCardHint": "Оберіть, які канали цей робочий простір може використовувати для сповіщень облікового запису.",
- "workspaceCardLabelEmail": "Пошта",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Власний вебхук",
- "emailChannelHintEnabled": "Надсилати відповідні сповіщення робочого простору електронною поштою.",
- "emailChannelHintDisabled": "Спочатку налаштуйте та увімкніть пошту глобально.",
- "ntfyChannelHintEnabled": "Надсилати відповідні сповіщення робочого простору в ntfy.",
- "ntfyChannelHintDisabled": "Спочатку налаштуйте та увімкніть ntfy глобально.",
- "gotifyChannelHintEnabled": "Надсилати відповідні сповіщення робочого простору в Gotify.",
- "gotifyChannelHintDisabled": "Спочатку налаштуйте та увімкніть Gotify глобально.",
- "webhookChannelHintEnabled": "Надсилати відповідні сповіщення робочого простору на ваш вебхук.",
- "webhookChannelHintDisabled": "Спочатку налаштуйте та увімкніть вебхук глобально.",
- "projectScope": "Область проєктів",
- "projectScopeDescription": "Усі проєкти включені за замовчуванням. Звузьте вибір, якщо цей робочий простір має надсилати сповіщення лише з обраних проєктів.",
"allProjects": "Усі проєкти",
- "allProjectsDescription": "Доставляти сповіщення з кожного проєкту в цьому робочому просторі.",
- "selectedProjects": "Обрані проєкти",
- "selectedProjectsDescription": "Доставляти сповіщення лише з обраних проєктів.",
"noProjectsInWorkspace": "У цьому робочому просторі ще немає доступних проєктів.",
- "createRule": "Створити правило",
- "removeRule": "Видалити правило",
"toastEmailSaved": "Налаштування сповіщень електронною поштою збережено",
"toastEmailSaveFailed": "Не вдалося зберегти налаштування пошти",
"toastNtfySaved": "Налаштування ntfy збережено",
@@ -709,151 +676,180 @@
"toastPreferencesSaveFailed": "Не вдалося зберегти налаштування сповіщень",
"toastRuleSavedGeneric": "Правило сповіщень робочого простору збережено",
"toastRuleRemovedGeneric": "Правило сповіщень робочого простору видалено",
- "workspaceEnabledLabel": "Увімкнути сповіщення для {{workspaceName}}",
"eventPreferencesTitle": "Сповіщати мене про",
- "eventPreferencesDescription": "Оберіть, які події завдань створюють сповіщення в застосунку та можуть надсилатися на підключені канали.",
- "eventTaskAssignments": "Призначення завдань",
+ "eventPreferencesDescription": "Ваші власні коментарі, згадки та зміни статусу ніколи не створюють для вас сповіщень.",
+ "eventTaskAssignments": "Призначення",
"eventComments": "Коментарі та згадки",
- "eventCommentsHint": "Включає нові коментарі до призначених вам завдань та прямі @-згадки.",
- "eventStatusChanges": "Зміни статусу завдань",
+ "eventCommentsHint": "Нові коментарі до ваших завдань і всі, хто @згадує вас.",
+ "eventStatusChanges": "Зміни статусу",
"eventDueDateReminders": "Нагадування про дату завершення",
"reminderLeadTimeLabel": "Нагадувати мені перед датою завершення",
- "reminderLeadTimeHint": "Від 1 години до 30 днів заздалегідь. Сповіщення про прострочені завдання надсилаються окремо.",
- "reminderLeadTimeUnitHours": "Години",
- "reminderLeadTimeUnitDays": "Дні",
"reminderLeadTimeInvalid": "Введіть ціле число від 1 до {{max}}.",
"saveEventPreferences": "Зберегти типи сповіщень",
- "recipientHint": "Коментарі та зміни статусу сповіщають вас про призначені вам завдання. Згадки сповіщають вибраного учасника. Ви не отримуєте сповіщень про власні коментарі, згадки та зміни статусу."
+ "channelNotConnected": "Не підключено",
+ "channelOff": "Вимк.",
+ "channelsDescription": "Сповіщення завжди відображаються в Kaneo. Підключіть канал, щоб отримувати їх і деінде.",
+ "channelsTitle": "Канали",
+ "configure": "Налаштувати",
+ "configureChannel": "Налаштувати {{channel}}",
+ "configureWorkspace": "Змінити сповіщення для {{workspaceName}}",
+ "connect": "Підключити",
+ "connectChannel": "Підключити {{channel}}",
+ "disconnectDescription": "Сповіщення перестануть надходити в {{channel}}, а збережені налаштування буде видалено.",
+ "disconnecting": "Від'єднання...",
+ "disconnectTitle": "Від'єднати {{channel}}?",
+ "done": "Готово",
+ "emailToggleLabel": "Надсилати сповіщення електронною поштою",
+ "eventDueDateRemindersHint": "Перед датою завершення одного з ваших завдань. Про прострочені завдання ви отримаєте окреме сповіщення.",
+ "eventStatusChangesHint": "Коли одне з ваших завдань переходить в іншу колонку.",
+ "eventTaskAssignmentsHint": "Коли хтось призначає вам завдання.",
+ "loadFailed": "Не вдалося завантажити налаштування сповіщень.",
+ "onlyInKaneo": "Лише в Kaneo",
+ "optional": "Необов'язково",
+ "projectCount_few": "{{count}} проєкти",
+ "projectCount_many": "{{count}} проєктів",
+ "projectCount_one": "{{count}} проєкт",
+ "projectCount_other": "{{count}} проєкту",
+ "reminderLeadTimeUnitDaysBefore_few": "дні до завершення",
+ "reminderLeadTimeUnitDaysBefore_many": "днів до завершення",
+ "reminderLeadTimeUnitDaysBefore_one": "день до завершення",
+ "reminderLeadTimeUnitDaysBefore_other": "дня до завершення",
+ "reminderLeadTimeUnitHoursBefore_few": "години до завершення",
+ "reminderLeadTimeUnitHoursBefore_many": "годин до завершення",
+ "reminderLeadTimeUnitHoursBefore_one": "година до завершення",
+ "reminderLeadTimeUnitHoursBefore_other": "години до завершення",
+ "reminderLeadTimeUnitLabel": "Одиниця нагадування",
+ "ruleActiveDescription": "Вимкніть, щоб призупинити цей робочий простір і зберегти його налаштування.",
+ "ruleActiveLabel": "Надсилання",
+ "ruleChannels": "Канали",
+ "ruleDialogDescription": "Куди можуть надходити сповіщення з цього робочого простору.",
+ "ruleDialogTitle": "Сповіщення: {{workspaceName}}",
+ "ruleProjects": "Проєкти",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Зберегти",
+ "sendingDescription": "Вимкніть, щоб призупинити цей канал і зберегти його налаштування.",
+ "sendingLabel": "Надсилання",
+ "setUp": "Налаштувати",
+ "setUpWorkspace": "Налаштувати сповіщення для {{workspaceName}}",
+ "someProjects": "Лише деякі",
+ "statusOn": "Увімк.",
+ "statusSending": "Надсилання",
+ "stopping": "Зупинення...",
+ "stopSending": "Зупинити надсилання",
+ "stopSendingDescription": "Сповіщення з цього робочого простору відображатимуться лише в Kaneo.",
+ "stopSendingTitle": "Зупинити надсилання з {{workspaceName}}?",
+ "workspacesDescription": "Виберіть, які робочі простори та проєкти можуть використовувати ваші канали.",
+ "workspacesTitle": "Робочі простори"
},
"preferencesPage": {
"title": "Налаштування",
- "subtitle": "Налаштуйте Kaneo під себе.",
- "appearanceTitle": "Вигляд",
- "appearanceSubtitle": "Візуальні налаштування та налаштування макета.",
+ "subtitle": "Як Kaneo виглядає та працює для вас.",
+ "appearanceTitle": "Загальні",
"theme": "Тема",
- "themeDescription": "Оберіть бажану колірну схему",
"selectTheme": "Обрати тему",
"themeLight": "Світла",
"themeDark": "Темна",
- "themeSystem": "Системна",
+ "themeSystem": "Як у системі",
"language": "Мова",
- "languageDescription": "Оберіть бажану мову інтерфейсу",
"selectLanguage": "Обрати мову",
"firstDayOfWeek": "Перший день тижня",
- "firstDayOfWeekDescription": "Оберіть день, з якого починаються календарі та тижні",
+ "firstDayOfWeekDescription": "Використовується в календарях і під час вибору дат.",
"selectFirstDayOfWeek": "Обрати перший день",
"weekStartsOnSunday": "Неділя",
"weekStartsOnMonday": "Понеділок",
"weekStartsOnSaturday": "Субота",
"defaultView": "Перегляд за замовчуванням",
- "defaultViewDescription": "Оберіть бажаний режим перегляду завдань",
+ "defaultViewDescription": "Перегляд, у якому відкриваються проєкти.",
"selectViewMode": "Обрати режим перегляду",
"board": "Дошка",
"list": "Список",
"gantt": "Ґант",
- "sidebarDefault": "Бічна панель за замовчуванням",
- "sidebarDefaultDescription": "Тримати бічну панель розгорнутою при запуску",
- "displayOptions": "Параметри відображення",
- "displayOptionsDescription": "Оберіть, яку інформацію показувати в представленнях завдань",
+ "sidebarDefault": "Тримати бічну панель відкритою",
+ "sidebarDefaultDescription": "Починати з розгорнутою бічною панеллю.",
+ "displayOptions": "Деталі завдань",
+ "displayOptionsDescription": "Що відображається на картках і в рядках ваших дошок і списків.",
"taskNumbers": "Номери завдань",
- "taskNumbersDescription": "Показувати ID та номери завдань",
"assignees": "Виконавці",
- "assigneesDescription": "Показувати, хто призначений на завдання",
"dueDates": "Дати завершення",
- "dueDatesDescription": "Відображати крайні строки завдань",
"labels": "Мітки",
- "labelsDescription": "Показувати мітки та теґи завдань",
"priority": "Пріоритет",
- "priorityDescription": "Відображати індикатори пріоритету",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Показувати зображення, яке проєкт задає за своєю дошкою.",
+ "advancedTitle": "Додатково"
},
"developerPage": {
- "pageTitle": "Налаштування розробника",
- "title": "Налаштування розробника",
- "subtitle": "Керуйте вашими API-ключами та ресурсами для розробників.",
- "apiKeysCardTitle": "API-ключі",
- "apiKeysCardDescription": "Створюйте та керуйте API-ключами для програмного доступу до Kaneo.",
- "createApiKey": "Створити API-ключ",
- "unnamedKey": "Ключ без назви"
+ "pageTitle": "API-ключі",
+ "title": "API-ключі",
+ "subtitle": "Дозвольте скриптам, CLI і MCP-клієнтам працювати з Kaneo від вашого імені.",
+ "unnamedKey": "Без назви",
+ "emptyDescription": "Створіть ключ, щоб використовувати CLI, MCP-клієнт або власні скрипти.",
+ "emptyTitle": "API-ключів поки немає",
+ "keysNote": "Ключ може все, що можете ви. Видаляйте ключі, якими більше не користуєтеся.",
+ "keysTitle": "Ключі",
+ "loadError": "Не вдалося завантажити API-ключі. Спробуйте ще раз.",
+ "newKey": "Новий ключ"
},
"apiKey": {
"createdModal": {
- "title": "API-ключ створено",
- "description": "Ваш API-ключ «{{keyName}}» успішно створено.",
- "yourApiKey": "Ваш API-ключ",
+ "title": "Скопіюйте ключ",
+ "description": "Після закриття цього вікна ви його більше не побачите.",
"copy": "Копіювати",
"copied": "Скопійовано",
- "toastCopied": "API-ключ скопійовано до буфера обміну",
- "alertTitle": "Ваш API-ключ успішно створено",
- "alertDescription": "Скопіюйте цей ключ зараз. Ви більше не зможете його побачити.",
"done": "Готово",
- "copyToContinue": "Скопіюйте ключ, щоб продовжити"
+ "copyError": "Не вдалося скопіювати ключ. Виділіть його та скопіюйте вручну."
},
"table": {
- "loading": "Завантаження API-ключів...",
- "empty": "API-ключів ще немає. Створіть один, щоб почати.",
- "columnName": "Назва",
- "columnKey": "Ключ",
- "columnCreated": "Створено",
- "columnExpires": "Закінчується",
- "columnActions": "Дії",
- "unnamedKey": "Ключ без назви",
- "expiredBadge": "Закінчився {{label}}",
- "deleteConfirmTitle": "Видалити API-ключ?",
- "deleteConfirmDescription": "Цю дію неможливо скасувати. API-ключ {{name}} буде видалено назавжди.",
- "deleteFallbackName": "цей API-ключ",
- "delete": "Видалити",
- "deleting": "Видалення...",
- "deleteAria": "Видалити {{name}}",
- "deleteAriaFallback": "API-ключ",
- "toastDeleted": "API-ключ успішно видалено",
+ "deleteConfirmTitle": "Видалити «{{name}}»?",
+ "deleteConfirmDescription": "Усе, що використовує цей ключ, перестане працювати. Цю дію неможливо скасувати.",
+ "delete": "Видалити ключ",
+ "deleting": "Видалення…",
+ "toastDeleted": "API-ключ видалено",
"toastDeleteError": "Не вдалося видалити API-ключ"
},
"createDialog": {
- "title": "Створити API-ключ",
- "description": "Створіть новий API-ключ для програмного доступу до Kaneo API.",
+ "title": "Новий API-ключ",
+ "description": "Ключ може все, що можете ви.",
"nameLabel": "Назва",
"namePlaceholder": "Мій API-ключ",
- "nameDescription": "Описова назва для цього API-ключа",
+ "nameDescription": "Щоб пам'ятати, де він використовується.",
"expirationLabel": "Термін дії",
- "expirationPlaceholder": "Оберіть термін дії",
- "expirationDescription": "Оберіть, як довго цей API-ключ буде дійсним. «Безстроково» створить ключ без автоматичного закінчення.",
"expiration1d": "1 день",
"expiration7d": "7 днів",
"expiration30d": "30 днів",
"expiration90d": "90 днів",
"expirationNever": "Безстроково",
- "create": "Створити",
- "creating": "Створення...",
+ "create": "Створити ключ",
+ "creating": "Створення…",
"failedCreate": "Не вдалося створити API-ключ",
"validation": {
- "nameRequired": "Назва є обов'язковою",
- "nameShort": "Назва має містити щонайменше 3 символи",
- "expirationRequired": "Термін дії є обов'язковим"
+ "nameRequired": "Введіть назву",
+ "nameShort": "Використовуйте щонайменше 3 символи"
}
+ },
+ "row": {
+ "actions": "Дії для {{name}}",
+ "created": "Створено {{date}}",
+ "expired": "Закінчився {{date}}",
+ "expiredBadge": "Закінчився",
+ "expires": "Діє до {{date}}",
+ "neverExpires": "Безстроковий"
}
},
"workspaceGeneral": {
"pageTitle": "Загальні налаштування",
- "title": "Загальні налаштування",
- "subtitle": "Керуйте назвою та описом вашого робочого простору.",
- "workspaceInfoTitle": "Інформація про робочий простір",
- "workspaceInfoSubtitle": "Налаштуйте деталі та параметри вашого робочого простору.",
- "nameLabel": "Назва робочого простору",
- "nameHint": "Назва вашого робочого простору",
+ "title": "Загальні",
+ "subtitle": "Назва робочого простору {{name}} і його власник.",
+ "workspaceInfoTitle": "Робочий простір",
+ "nameLabel": "Назва",
"namePlaceholder": "Введіть назву робочого простору",
"descriptionLabel": "Опис",
- "descriptionHint": "Короткий опис вашого робочого простору",
- "descriptionPlaceholder": "Введіть опис робочого простору",
+ "descriptionPlaceholder": "Над чим працює ваша команда?",
"dangerZone": "Небезпечна зона",
- "dangerZoneSubtitle": "Незворотні та руйнівні дії.",
"deleteWorkspace": "Видалити робочий простір",
- "deleteWorkspaceDescription": "Запланувати остаточне видалення робочого простору",
+ "deleteWorkspaceDescription": "Остаточно видаляє робочий простір {{name}}, його проєкти та завдання.",
"deleteModalTitle": "Видалити робочий простір?",
- "deleteModalDescription": "Це назавжди видалить робочий простір «{{name}}» та всі його дані. Цю дію неможливо скасувати.",
+ "deleteModalDescription": "Робочий простір {{name}} і всі його проєкти та завдання буде остаточно видалено. Цю дію неможливо скасувати.",
"deleteModalConfirm": "Видалити робочий простір",
- "toastUpdated": "Робочий простір успішно оновлено",
"toastUpdateError": "Не вдалося оновити робочий простір",
"toastDeleted": "Робочий простір успішно видалено",
"toastDeleteError": "Не вдалося видалити робочий простір",
@@ -865,45 +861,41 @@
"toastSuccess": "Право власності передано",
"toastError": "Не вдалося передати право власності",
"title": "Передати право власності",
- "subtitle": "Передайте цей робочий простір іншому учаснику. Вас буде понижено до адміністратора, і ви втратите можливості, доступні лише власнику.",
"pickerLabel": "Новий власник",
"noEligibleMembers": "Запросіть принаймні ще одного учасника, перш ніж передавати право власності.",
- "pickerHint": "Цей учасник стане єдиним власником цього робочого простору.",
- "pickerPlaceholder": "Оберіть учасника",
+ "pickerHint": "Новий власник отримає повний контроль. Ви залишитеся адміністратором.",
+ "pickerPlaceholder": "Виберіть учасника",
"button": "Передати",
"dialogTitle": "Передати право власності?",
"dialogDescription": "{{name}} стане єдиним власником робочого простору {{workspace}}. Ви збережете доступ адміністратора, але втратите можливості власника, як-от видалення робочого простору чи повторну передачу.",
"transferring": "Передача…",
"confirm": "Передати право власності"
- }
+ },
+ "ownershipSubtitle": "Це бачить лише власник.",
+ "ownershipTitle": "Власність"
},
"projectGeneral": {
"pageTitle": "Налаштування проєкту",
- "title": "Загальні налаштування",
- "subtitle": "Керуйте назвою, ключем, іконкою та описом вашого проєкту.",
- "projectInfoTitle": "Інформація про проєкт",
- "projectInfoSubtitle": "Налаштуйте деталі та параметри вашого проєкту.",
+ "title": "Загальні",
+ "subtitle": "Назва, ключ і вигляд проєкту {{name}}.",
+ "projectInfoTitle": "Проєкт",
"iconLabel": "Іконка",
- "iconHint": "Відображається в бічній панелі та на поверхнях проєкту.",
+ "iconHint": "Відображається на бічній панелі та в списках проєктів.",
"pickIconTitle": "Обрати іконку",
"searchIconsPlaceholder": "Пошук іконок...",
- "projectNameLabel": "Назва проєкту",
- "projectNameHint": "Назва вашого проєкту",
- "projectNamePlaceholder": "Введіть назву проєкту",
+ "projectNameLabel": "Назва",
+ "projectNamePlaceholder": "Назва проєкту",
"keyLabel": "Ключ",
- "keyHint": "Використовується для ID тікетів (напр., {{slug}}-123)",
+ "keyHint": "З нього починається кожен ID завдання, наприклад {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Опис",
- "descriptionHint": "Короткий опис вашого проєкту",
- "descriptionPlaceholder": "Введіть опис проєкту",
+ "descriptionPlaceholder": "Для чого цей проєкт?",
"dangerZone": "Небезпечна зона",
- "dangerZoneSubtitle": "Незворотні та руйнівні дії.",
"deleteProject": "Видалити проєкт",
- "deleteProjectDescription": "Запланувати остаточне видалення проєкту",
+ "deleteProjectDescription": "Остаточно видаляє проєкт {{name}} і всі його завдання.",
"deleteModalTitle": "Видалити проєкт?",
- "deleteModalDescription": "Це назавжди видалить проєкт «{{name}}» та всі його дані. Цю дію неможливо скасувати.",
+ "deleteModalDescription": "Проєкт {{name}} і всі його завдання буде остаточно видалено. Цю дію неможливо скасувати.",
"deleteModalConfirm": "Видалити проєкт",
- "toastUpdated": "Проєкт успішно оновлено",
"toastUpdateError": "Не вдалося оновити проєкт",
"toastDeleted": "Проєкт успішно видалено",
"toastDeleteError": "Не вдалося видалити проєкт",
@@ -913,40 +905,42 @@
"keyMax": "Ключ може містити не більше 8 символів",
"iconRequired": "Іконка є обов'язковою"
},
- "importExportTasks": "Імпорт/Експорт",
- "importExportTasksDescription": "Імпортуйте та експортуйте завдання.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Зображення за дошкою. Кожен може вимкнути фони для себе.",
+ "backgroundUnavailable": "Завантаження зображень не налаштовано на цьому екземплярі.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Замінити",
+ "backgroundUpload": "Завантажити",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Перемістити проєкт",
- "moveModalDescription": "Проєкт «{{name}}» і всі його завдання буде переміщено до «{{workspace}}». Із завдань, призначених людям, які не є учасниками цього робочого простору, буде знято призначення, а підписки на сповіщення для цього проєкту буде видалено.",
- "moveModalTitle": "Перемістити проєкт?",
- "moveProject": "Перемістити до робочого простору",
+ "moveProject": "Перемістити до іншого робочого простору",
"moveProjectAction": "Перемістити",
- "moveProjectDescription": "Перемістіть цей проєкт разом з усіма його завданнями до іншого робочого простору.",
+ "moveProjectDescription": "Завдання, колонки та мітки переміщуються разом із ним.",
"moveProjectPlaceholder": "Виберіть робочий простір",
"toastMoved": "Проєкт успішно переміщено",
"toastMovedWithUnassigned": "Проєкт успішно переміщено. Із {{taskCount}} завдань знято призначення.",
"toastMoveError": "Не вдалося перемістити проєкт",
- "moveTargetsError": "Не вдалося перевірити, до яких робочих просторів можна перемістити цей проєкт. Перезавантажте сторінку, щоб спробувати ще раз."
+ "moveTargetsError": "Не вдалося перевірити, до яких робочих просторів можна перемістити цей проєкт. Перезавантажте сторінку, щоб спробувати ще раз.",
+ "moveDialogDescription": "Завдання, призначені людям поза новим робочим простором, залишаться без виконавця, а підписки на сповіщення для цього проєкту буде скинуто.",
+ "moveDialogTitle": "Перемістити до іншого робочого простору?",
+ "moveTargetLabel": "Робочий простір",
+ "moving": "Переміщення...",
+ "tasksTitle": "Завдання"
},
"projectIntegrations": {
- "pageTitle": "Інтеґрації проєкту",
- "title": "Інтеґрації проєкту",
- "subtitle": "З'єднайте ваш проєкт із зовнішніми інструментами та сервісами для оптимізації робочого процесу.",
+ "pageTitle": "Інтеґрації",
+ "title": "Інтеґрації",
+ "subtitle": "Підключіть цей проєкт до хостингу коду та чату вашої команди.",
"githubSectionTitle": "Інтеґрація з GitHub",
"githubSectionSubtitle": "Синхронізуйте завдання з GitHub Issues та увімкніть двосторонню синхронізацію.",
"giteaSectionTitle": "Інтеґрація з Gitea",
"giteaSectionSubtitle": "Синхронізуйте завдання з власним екземпляром Gitea (issues, PR, вебхуки).",
"discordSectionTitle": "Інтеґрація з Discord",
"discordSectionSubtitle": "Надсилайте оновлення завдань проєкту до каналу Discord за допомогою вебхука.",
- "genericWebhookSectionTitle": "Загальні вебхуки",
+ "genericWebhookSectionTitle": "Вебхуки",
"genericWebhookSectionSubtitle": "Надсилайте події завдань проєкту на будь-яку HTTP-кінцеву точку у форматі JSON.",
"slackSectionTitle": "Інтеґрація зі Slack",
"slackSectionSubtitle": "Надсилайте оновлення завдань проєкту до каналу Slack за допомогою вхідного вебхука.",
@@ -954,7 +948,7 @@
"telegramSectionSubtitle": "Надсилайте оновлення завдань проєкту до чату або теми Telegram за допомогою бота.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Синхронізуйте завдання з GitLab.com або власним екземпляром.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Хостинг коду",
"chatTitle": "Чати та вебхуки",
@@ -967,69 +961,59 @@
"projectVisibility": {
"pageTitle": "Видимість проєкту",
"title": "Видимість",
- "subtitle": "Контролюйте, хто може переглядати ваш проєкт та мати до нього доступ.",
- "sectionTitle": "Видимість",
- "sectionSubtitle": "Перемикайте публічний доступ та поширюйте публічне посилання.",
- "publicAccess": "Публічний доступ",
- "publicAccessHint": "Дозволити перегляд цього проєкту всім, хто має посилання",
+ "subtitle": "Виберіть, хто може бачити {{project}} поза межами {{workspace}}.",
+ "sectionTitle": "Доступ",
+ "publicAccess": "Публічне посилання",
+ "publicAccessHint": "Будь-хто з посиланням може переглядати дошку та її завдання, але нічого не може змінити.",
"publicUrl": "Публічне посилання",
- "publicUrlHint": "Поділіться цим посиланням, якщо проєкт публічний",
- "copy": "Копіювати",
- "copiedToast": "Скопійовано",
+ "copy": "Копіювати посилання",
"toastUpdated": "Видимість оновлено",
- "toastUpdateError": "Не вдалося оновити видимість"
+ "toastUpdateError": "Не вдалося оновити видимість",
+ "always": "Завжди",
+ "copied": "Скопійовано",
+ "copyError": "Не вдалося скопіювати посилання",
+ "membersDescription": "Усі в робочому просторі, у межах прав своєї ролі.",
+ "membersTitle": "Учасники {{workspace}}",
+ "offNote": "Після вимкнення публічне посилання одразу перестає працювати.",
+ "on": "Увімк.",
+ "openPublicPage": "Відкрити публічну сторінку",
+ "thisWorkspace": "цього робочого простору"
},
"projectWorkflow": {
"pageTitle": "Налаштування робочого процесу",
"title": "Робочий процес",
- "subtitle": "Налаштуйте колонки дошки та правила автоматизації для цього проєкту.",
+ "subtitle": "Колонки вашої дошки та те, що переміщує завдання між ними.",
"columnsTitle": "Колонки",
- "columnsDescription": "Керуйте колонками, які відображаються на вашій дошці. Перетягуйте для зміни порядку. Увімкніть «Колонка готовності» для етапів, які означають завершену роботу.",
- "automationTitle": "Правила автоматизації",
- "automationDescription": "Зіставте події інтеґрацій із колонками. Коли подія відбувається, пов'язане завдання переміщується до вказаної колонки.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Перетягуйте, щоб змінити порядок. Завдання в колонці готовності вважаються виконаними.",
+ "automationTitle": "Автоматизації",
+ "automationDescription": "Переміщуйте пов'язане завдання, коли щось відбувається в підключеному репозиторії."
},
"projectSwitcher": {
"selectProject": "Обрати проєкт",
"noProjects": "Немає проєктів"
},
"columnEditor": {
- "toastCreated": "Колонку створено",
"toastCreateError": "Не вдалося створити колонку",
- "toastRenamed": "Колонку перейменовано",
"toastRenameError": "Не вдалося оновити колонку",
- "toastFinalOn": "Колонку позначено як фінальну",
- "toastFinalOff": "Позначення колонки як фінальної знято",
"toastUpdateError": "Не вдалося оновити колонку",
- "toastIconUpdated": "Іконку колонки оновлено",
- "toastDeleted": "Колонку видалено",
"toastDeleteError": "Не вдалося видалити колонку",
- "loading": "Завантаження колонок...",
"pickIconTitle": "Обрати іконку колонки",
"searchIconsPlaceholder": "Пошук іконок...",
- "doneColumnTooltip": "Вважати цю колонку колонкою готовності",
- "doneColumn": "Колонка готовності",
"markDoneAria": "Позначити {{name}} як колонку готовності",
- "on": "Увімк.",
- "off": "Вимк.",
- "newColumnPlaceholder": "Назва нової колонки...",
- "add": "Додати",
+ "newColumnPlaceholder": "Назва колонки",
"deleteAria": "Видалити стовпець {{name}}",
- "renameAria": "Перейменувати стовпець {{name}}"
+ "renameAria": "Перейменувати стовпець {{name}}",
+ "addColumn": "Додати колонку",
+ "columnHeader": "Колонка",
+ "deleteConfirm": "Видалити колонку",
+ "deleteDescription": "Колонки, у яких ще є завдання, видалити не можна. Спершу перемістіть ці завдання.",
+ "deleteTitle": "Видалити «{{name}}»?",
+ "doneHeader": "Готово",
+ "dragAria": "Змінити порядок: {{name}}",
+ "reorderError": "Не вдалося змінити порядок колонок"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Власник репозиторію є обов'язковим",
- "ownerInvalid": "Невірний формат власника репозиторію",
- "nameRequired": "Назва репозиторію є обов'язковою",
- "nameInvalid": "Невірний формат назви репозиторію"
- },
"toast": {
- "installedOk": "GitHub App встановлено коректно!",
- "installedMissingPerms": "GitHub App встановлено, але відсутні необхідні дозволи",
- "needsInstallOnRepo": "GitHub App потрібно встановити на цей репозиторій",
- "repoNotFound": "Репозиторій не знайдено або немає доступу",
"verifyError": "Не вдалося перевірити встановлення GitHub",
"installAppFirst": "Спочатку встановіть GitHub App на цей репозиторій",
"missingPermsDetail": "GitHub App не має необхідних дозволів: {{list}}. Оновіть дозволи застосунку.",
@@ -1043,64 +1027,36 @@
"commentOnDisabled": "Коментарі з посиланнями на завдання в нових issues вимкнено",
"settingsUpdateError": "Не вдалося оновити інтеґрацію з GitHub"
},
- "connectionStatus": "Статус з'єднання",
- "connectedActive": "Репозиторій підключено та активно",
- "notConnectedHint": "Репозиторій не підключено",
- "badgeConnected": "Підключено",
- "badgeNotConnected": "Не підключено",
- "repository": "Репозиторій",
- "repositoryHint": "Підключений репозиторій GitHub",
- "commentTaskLinkTitle": "Коментувати посилання Kaneo в нових issues",
- "commentTaskLinkHint": "Коли увімкнено, Kaneo публікує коментар у кожному новому GitHub issue з посиланням на завдання.",
- "appStatusTitle": "Статус GitHub App",
- "appStatusHint": "Статус встановлення та дозволів",
- "statusProperlyConfigured": "Налаштовано правильно",
- "statusMissingPermissions": "Відсутні дозволи",
- "statusNotInstalled": "Не встановлено",
- "ownerLabel": "Власник репозиторію",
- "ownerHint": "Ім'я користувача або організації GitHub",
- "ownerPlaceholder": "напр., octocat",
- "repoNameLabel": "Назва репозиторію",
- "repoNameHint": "Назва репозиторію",
- "repoNamePlaceholder": "напр., my-project",
- "actionsTitle": "Дії",
- "actionsHint": "Керуйте підключенням до репозиторію",
- "browse": "Переглянути",
- "verify": "Перевірити",
- "update": "Оновити",
- "connect": "Підключити",
- "disconnect": "Від'єднати",
- "missingPermissionsLabel": "Відсутні дозволи:",
+ "commentTaskLinkTitle": "Залишати посилання Kaneo в коментарі до нових issues",
+ "commentTaskLinkHint": "Щоб на GitHub можна було одразу перейти до завдання.",
"updatePermissions": "Оновити дозволи",
"installGithubApp": "Встановити GitHub App",
- "importSectionTitle": "Імпорт GitHub Issues",
- "importSectionHint": "Імпортуйте наявні issues з вашого GitHub-репозиторію як завдання",
- "importing": "Імпорт...",
- "importIssues": "Імпортувати Issues",
- "importDisabledHint": "Завершіть налаштування репозиторію вище, щоб увімкнути імпорт",
+ "importSectionHint": "Імпортуйте відкриті issues репозиторію як завдання.",
+ "importDisabledHint": "Перепідключіть репозиторій, щоб увімкнути імпорт.",
"accountVerificationHint": "Підключіть обліковий запис GitHub, щоб підтвердити права адміністратора цього репозиторію.",
"enableGithubSignInHint": "Попросіть адміністратора вашого сервера ввімкнути вхід через GitHub.",
"reverifyHint": "Підключіть репозиторій повторно, щоб підтвердити доступ і відновити синхронізацію.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Його issues і pull requests будуть пов'язані із завданнями тут.",
+ "linkAccountDescription": "Підтверджує, що ви можете адмініструвати репозиторій.",
+ "linkAccountTitle": "Прив'яжіть обліковий запис GitHub",
+ "linked": "Прив'язано",
+ "linkGithub": "Прив'язати GitHub",
+ "verifyMissingPermissions": "GitHub App Kaneo бракує дозволів: {{list}}.",
+ "verifyNotInstalled": "GitHub App Kaneo не встановлено в цьому репозиторії.",
+ "verifyReady": "GitHub App Kaneo встановлено з усіма потрібними дозволами.",
+ "workflowHint": "Переміщення завдань під час відкриття або злиття pull requests налаштовується в розділі",
+ "workflowLink": "Робочий процес"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Базова URL-адреса Gitea є обов'язковою",
- "baseUrlInvalid": "Введіть дійсну URL-адресу (напр. https://gitea.example.com)",
- "ownerRequired": "Власник репозиторію є обов'язковим",
- "ownerInvalid": "Невірний формат власника репозиторію",
- "nameRequired": "Назва репозиторію є обов'язковою",
- "nameInvalid": "Невірний формат назви репозиторію"
+ "baseUrlInvalid": "Введіть дійсну URL-адресу (напр. https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Токен Gitea має доступ до цього репозиторію",
- "verifyWarning": "Перевірте дозволи токена або доступ до репозиторію",
- "repoNotFound": "Репозиторій не знайдено або немає доступу",
"verifyError": "Не вдалося перевірити доступ до Gitea",
- "tokenRequired": "Персональний токен доступу є обов'язковим",
- "tokenRequiredVerify": "Введіть токен для перевірки",
"verifyFirst": "Перевірка доступу не вдалася. Перевірте URL, токен та репозиторій",
"updated": "Інтеґрацію з Gitea збережено",
"updateError": "Не вдалося зберегти інтеґрацію з Gitea",
@@ -1110,56 +1066,22 @@
"importError": "Не вдалося імпортувати issues",
"commentOnEnabled": "Kaneo коментуватиме посилання на завдання в нових issues",
"commentOnDisabled": "Коментарі з посиланнями на завдання в нових issues вимкнено",
- "settingsUpdateError": "Не вдалося оновити інтеґрацію з Gitea",
- "secretCopied": "Скопійовано",
- "unableToCopySecret": "Не вдалося скопіювати секрет",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly."
- },
- "webhookShow": "Показати",
- "webhookHide": "Сховати",
- "webhookCopy": "Копіювати",
- "connectionStatus": "Статус з'єднання",
- "connectedActive": "Репозиторій підключено та активно",
- "notConnectedHint": "Gitea-репозиторій не підключено",
- "badgeConnected": "Підключено",
- "badgeNotConnected": "Не підключено",
- "repository": "Репозиторій",
- "repositoryHint": "Пов'язаний Gitea-репозиторій",
- "commentTaskLinkTitle": "Коментувати посилання Kaneo в нових issues",
- "commentTaskLinkHint": "Коли увімкнено, Kaneo публікує коментар у кожному новому issue з посиланням на завдання.",
- "webhookTitle": "Вебхук",
- "webhookHint": "У вашому Gitea-репозиторії додайте вебхук із цією URL-адресою та секретом. Увімкніть push, pull request, issues, коментарі до issues та create (для міток).",
- "webhookSecretLabel": "Секрет (має збігатися з секретом вебхука в Gitea)",
+ "settingsUpdateError": "Не вдалося оновити інтеґрацію з Gitea"
+ },
+ "commentTaskLinkTitle": "Залишати посилання Kaneo в коментарі до нових issues",
+ "commentTaskLinkHint": "Щоб у Gitea можна було одразу перейти до завдання.",
+ "webhookHint": "Додайте цей вебхук у налаштуваннях репозиторію, щоб зміни поверталися в Kaneo.",
"baseUrlLabel": "URL Gitea",
- "baseUrlHint": "Коренева URL-адреса вашого екземпляра Gitea",
"tokenLabel": "Персональний токен доступу",
- "tokenHint": "Токен із доступом до репозиторію та issues",
"tokenPlaceholder": "Вставте токен",
"tokenPlaceholderUpdate": "Вставте новий токен для заміни",
- "currentToken": "збережено",
- "ownerLabel": "Власник",
- "ownerHint": "Ім'я користувача або організації",
- "repoNameLabel": "Назва репозиторію",
- "repoNameHint": "Лише назва репозиторію (без власника)",
- "actionsTitle": "Дії",
- "actionsHint": "Перевірте доступ та підключіться",
- "browse": "Переглянути",
- "verify": "Перевірити",
- "update": "Оновити",
- "connect": "Підключити",
- "disconnect": "Від'єднати",
- "importSectionTitle": "Імпорт Gitea issues",
- "importSectionHint": "Імпортуйте відкриті issues та pull requests із репозиторію",
- "importing": "Імпорт...",
- "importIssues": "Імпортувати issues",
- "importDisabledHint": "Перевірте репозиторій вище, щоб увімкнути імпорт",
- "browseModalTitle": "Ваші репозиторії",
- "browseModalHint": "Репозиторії, до яких має доступ ваш токен",
- "searchRepos": "Пошук...",
- "browseNeedsCredentials": "Введіть URL Gitea та токен для перегляду",
- "loadingRepos": "Завантаження репозиторіїв...",
- "retry": "Повторити"
+ "importSectionHint": "Імпортуйте відкриті issues і pull requests як завдання.",
+ "importDisabledHint": "Для імпорту потрібен перевірений доступ. Перевірте статус токена вище.",
+ "browseModalHint": "Репозиторії, до яких має доступ ваш токен.",
+ "browseNeedsCredentials": "Введіть URL Gitea і токен, щоб переглянути список.",
+ "browseEmpty": "Цей токен не бачить жодного репозиторію.",
+ "chooseRepositoryDescription": "Введіть owner/name або виберіть зі списку.",
+ "webhookEvents": "Увімкніть події push, pull request, issue, issue comment і create."
},
"slackIntegration": {
"validation": {
@@ -1174,30 +1096,10 @@
"removed": "Інтеґрацію зі Slack успішно видалено",
"removeError": "Не вдалося видалити інтеґрацію зі Slack"
},
- "connectionTitle": "Підключення вебхука Slack",
- "connectionHint": "Вставте URL вхідного вебхука Slack та оберіть, які події завдань мають публікуватися.",
- "connected": "Підключено",
- "paused": "Призупинено",
- "webhookLabel": "URL вхідного вебхука",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Створіть Incoming Webhook у Slack та вставте згенеровану URL-адресу сюди.",
- "channelLabel": "Назва каналу",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Необов'язковий підпис для вашого зручності. Slack контролює фактичний канал призначення через налаштування вебхука.",
- "eventsTitle": "Сповіщення про події",
- "eventsHint": "Оберіть, які зміни в проєкті мають публікуватися в Slack.",
- "events": {
- "taskCreated": "Нові завдання",
- "taskStatusChanged": "Зміни статусу",
- "taskPriorityChanged": "Зміни пріоритету",
- "taskTitleChanged": "Зміни назви",
- "taskDescriptionChanged": "Зміни опису",
- "taskCommentCreated": "Нові коментарі"
- },
+ "webhookHint": "Створіть вхідний вебхук у Slack і вставте його сюди.",
"connect": "Підключити Slack",
- "saveChanges": "Зберегти зміни",
- "update": "Оновити Slack",
- "disconnect": "Від'єднати"
+ "update": "Оновити Slack"
},
"discordIntegration": {
"validation": {
@@ -1212,34 +1114,15 @@
"removed": "Інтеґрацію з Discord успішно видалено",
"removeError": "Не вдалося видалити інтеґрацію з Discord"
},
- "connectionTitle": "Підключення вебхука Discord",
- "connectionHint": "Вставте URL вебхука Discord та оберіть, які події завдань мають публікуватися.",
- "connected": "Підключено",
- "paused": "Призупинено",
- "webhookLabel": "URL вебхука",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Створіть вебхук каналу Discord та вставте згенеровану URL-адресу сюди.",
- "channelLabel": "Назва каналу",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Необов'язковий підпис для вашого зручності. Discord контролює фактичний канал призначення через налаштування вебхука.",
- "eventsTitle": "Сповіщення про події",
- "eventsHint": "Оберіть, які зміни в проєкті мають публікуватися в Discord.",
- "events": {
- "taskCreated": "Нові завдання",
- "taskStatusChanged": "Зміни статусу",
- "taskPriorityChanged": "Зміни пріоритету",
- "taskTitleChanged": "Зміни назви",
- "taskDescriptionChanged": "Зміни опису",
- "taskCommentCreated": "Нові коментарі"
- },
+ "webhookHint": "Створіть вебхук каналу в Discord і вставте його сюди.",
"connect": "Підключити Discord",
- "saveChanges": "Зберегти зміни",
- "update": "Оновити Discord",
- "disconnect": "Від'єднати"
+ "update": "Оновити Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Введіть дійсну URL-адресу вебхука"
+ "webhookInvalid": "Введіть дійсну URL-адресу вебхука",
+ "leadTimeRange": "Виберіть час від 5 хвилин до 720 годин."
},
"toast": {
"saved": "Загальний вебхук успішно збережено",
@@ -1250,26 +1133,21 @@
"removed": "Загальний вебхук успішно видалено",
"removeError": "Не вдалося видалити загальний вебхук"
},
- "connectionTitle": "Підключення вихідного вебхука",
- "connectionHint": "Надсилайте події завдань на вашу кінцеву точку у форматі JSON. Підписаний заголовок X-Kaneo-Signature включається, коли секрет налаштовано.",
- "connected": "Підключено",
- "paused": "Призупинено",
"webhookLabel": "URL кінцевої точки",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo надсилає POST-запити з JSON-тілом для кожної увімкненої події.",
"secretLabel": "Секрет підпису",
- "secretPlaceholder": "Необов'язковий спільний секрет",
- "secretHint": "Необов'язково. Якщо вказано, Kaneo підписує тіло запиту та надсилає hex-дайджест у заголовку X-Kaneo-Signature.",
- "secretHintConfigured": "Секрет підпису вже налаштовано ({{secret}}). Введіть новий, щоб замінити його.",
- "eventsTitle": "Сповіщення про події",
- "eventsHint": "Оберіть, які зміни в проєкті мають ініціювати вихідні вебхуки.",
+ "secretPlaceholder": "Спільний секрет",
+ "secretHint": "Kaneo підписує ним кожен запит і надсилає дайджест у заголовку X-Kaneo-Signature.",
+ "secretHintConfigured": "Поточний секрет: {{secret}}. Вставте новий, щоб замінити його.",
+ "eventsTitle": "Коли надсилати",
"events": {
- "taskCreated": "Нові завдання",
- "taskStatusChanged": "Зміни статусу",
- "taskPriorityChanged": "Зміни пріоритету",
- "taskTitleChanged": "Зміни назви",
- "taskDescriptionChanged": "Зміни опису",
- "taskCommentCreated": "Нові коментарі",
+ "taskCreated": "Завдання створено",
+ "taskStatusChanged": "Статус змінено",
+ "taskPriorityChanged": "Пріоритет змінено",
+ "taskTitleChanged": "Назву змінено",
+ "taskDescriptionChanged": "Опис змінено",
+ "taskCommentCreated": "Новий коментар",
"taskDeleted": "Завдання видалено",
"taskMoved": "Завдання переміщено",
"taskDueDateChanged": "Змінено дату завершення",
@@ -1278,15 +1156,18 @@
"dueDateReminder": "Нагадування про дату завершення"
},
"connect": "Підключити вебхук",
- "saveChanges": "Зберегти зміни",
- "disconnect": "Від'єднати",
- "reminderLeadTimeLabel": "Надсилати вебхук за вказану кількість годин заздалегідь"
+ "reminderLeadTimeLabel": "Кількість годин до дати завершення завдання",
+ "activeTitle": "Надсилання подій",
+ "disconnectDescription": "Kaneo припинить надсилати події та видалить збережені кінцеву точку й секрет.",
+ "disconnectTitle": "Від'єднати вебхук?",
+ "reminderLeadTimeAfter": "год до дати завершення завдання",
+ "reminderLeadTimeBefore": "Надсилати нагадування за"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Введіть дійсний токен бота Telegram",
"chatIdRequired": "ID чату є обов'язковим",
- "threadIdInvalid": "Введіть дійсний ID теми Telegram"
+ "threadIdInvalid": "Введіть дійсний ID теми"
},
"toast": {
"saved": "Інтеґрацію з Telegram успішно збережено",
@@ -1297,55 +1178,38 @@
"removed": "Інтеґрацію з Telegram успішно видалено",
"removeError": "Не вдалося видалити інтеґрацію з Telegram"
},
- "connectionTitle": "Підключення бота Telegram",
- "connectionHint": "Використовуйте токен бота Telegram та ID чату для надсилання оновлень завдань проєкту до чату або теми.",
- "connected": "Підключено",
- "paused": "Призупинено",
"botTokenLabel": "Токен бота",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Створіть бота через BotFather та вставте його токен сюди.",
- "botTokenHintConfigured": "Токен бота вже налаштовано ({{token}}). Введіть новий, щоб замінити його.",
+ "botTokenHintConfigured": "Поточний токен: {{token}}",
"chatIdLabel": "ID чату",
"chatIdPlaceholder": "-1001234567890 або @team_updates",
- "chatIdHint": "Введіть ID чату Telegram або ім'я каналу, куди надсилатимуться оновлення.",
"threadIdLabel": "ID теми",
- "threadIdPlaceholder": "Необов'язковий ID теми",
- "threadIdHint": "Необов'язково. Використовуйте для тем форуму всередині груп Telegram.",
- "chatLabelLabel": "Підпис чату",
+ "threadIdPlaceholder": "Для тем форуму",
+ "chatLabelLabel": "Назва чату",
"chatLabelPlaceholder": "Оновлення розробки",
- "chatLabelHint": "Необов'язковий підпис для зручності всередині Kaneo.",
- "eventsTitle": "Сповіщення про події",
- "eventsHint": "Оберіть, які зміни в проєкті мають публікуватися в Telegram.",
- "events": {
- "taskCreated": "Нові завдання",
- "taskStatusChanged": "Зміни статусу",
- "taskPriorityChanged": "Зміни пріоритету",
- "taskTitleChanged": "Зміни назви",
- "taskDescriptionChanged": "Зміни опису",
- "taskCommentCreated": "Нові коментарі"
- },
"connect": "Підключити Telegram",
- "saveChanges": "Зберегти зміни",
- "disconnect": "Від'єднати"
+ "botTokenSavedPlaceholder": "Збережено. Вставте новий токен, щоб замінити його.",
+ "loadError": "Не вдалося завантажити налаштування Telegram."
},
"repositoryBrowser": {
- "title": "Обрати репозиторій",
- "description": "Оберіть репозиторій, на якому встановлено ваш GitHub App, щоб увімкнути синхронізацію issues.",
- "searchPlaceholder": "Пошук репозиторіїв...",
- "loadError": "Не вдалося завантажити репозиторії",
- "tryAgain": "Спробувати ще раз",
- "emptyTitle": "Репозиторії не знайдено",
+ "title": "Виберіть репозиторій",
+ "description": "Репозиторії, які бачить GitHub App Kaneo.",
+ "searchPlaceholder": "Пошук репозиторіїв",
+ "loadError": "Не вдалося завантажити репозиторії.",
+ "tryAgain": "Повторити",
+ "emptyTitle": "Репозиторіїв поки немає",
"emptyHint": "Встановіть GitHub App на ваші репозиторії, щоб побачити їх тут.",
"installGithubApp": "Встановити GitHub App",
- "noSearchMatchTitle": "Жоден репозиторій не відповідає вашому пошуку",
- "noSearchMatchHint": "Спробуйте змінити пошукові терміни або очистіть пошук, щоб побачити всі репозиторії.",
- "footerSummary": "{{repoCount}} репозиторіїв у {{installationCount}} встановленнях",
- "manageInstallations": "Керувати встановленнями",
- "updatedPrefix": "Оновлено",
- "relativeJustNow": "щойно",
- "relativeMinutesAgo": "{{count}} хв. тому",
- "relativeHoursAgo": "{{count}} год. тому",
- "relativeDaysAgo": "{{count}} дн. тому"
+ "noSearchMatchTitle": "Немає відповідних репозиторіїв",
+ "noSearchMatchHint": "Спробуйте іншу назву або очистьте пошук.",
+ "emptyPageHint": "На цій сторінці нічого немає. Завантажте більше, щоб шукати далі.",
+ "loadMore": "Завантажити ще",
+ "manageAccess": "Керувати доступом застосунку",
+ "missingOne": "Немає потрібного?",
+ "searching": "Пошук…",
+ "updated": "Оновлено {{time}}",
+ "useRepository": "Використати репозиторій"
},
"tasksImportExport": {
"exportTasks": "Експортувати завдання",
@@ -1364,27 +1228,26 @@
"importError": "Не вдалося імпортувати завдання",
"invalidFormat": "Невірний формат файлу імпорту",
"noFileDropped": "Файл не було перетягнуто",
- "notJsonFile": "Завантажте JSON-файл"
+ "notJsonFile": "Завантажте JSON-файл",
+ "export": "Експортувати",
+ "exportDescription": "Завантажте всі завдання цього проєкту у вигляді файлу.",
+ "import": "Імпортувати",
+ "importDescription": "Додайте завдання з раніше експортованого файлу."
},
"workflowEditor": {
- "loading": "Завантаження...",
- "createColumnsFirst": "Спочатку створіть колонки, щоб налаштувати правила автоматизації.",
- "githubHeading": "GitHub",
- "githubHint": "Коли відбувається подія GitHub, переміщувати пов'язане завдання до колонки.",
- "giteaHeading": "Gitea",
- "giteaHint": "Коли відбувається подія вебхука Gitea, переміщувати пов'язане завдання до колонки.",
- "selectColumnPlaceholder": "Обрати колонку...",
- "toastUpdated": "Правило робочого процесу оновлено",
"toastError": "Не вдалося оновити правило",
"events": {
- "branch_push": "Push гілки",
- "pr_opened": "PR відкрито",
- "pr_merged": "PR змерджено",
+ "branch_push": "Push у гілку",
+ "pr_opened": "Pull request відкрито",
+ "pr_merged": "Pull request злито",
"issue_opened": "Issue відкрито",
"issue_closed": "Issue закрито"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "connectMore": "Підключіть {{providers}} у розділі <link>Інтеґрації</link>, щоб автоматизувати й їх.",
+ "dontMove": "Не переміщувати",
+ "emptyDescription": "Для автоматизацій потрібен підключений репозиторій GitHub, Gitea або GitLab.",
+ "emptyTitle": "Немає підключених репозиторіїв",
+ "openIntegrations": "Відкрити інтеґрації"
},
"externalLinks": {
"resources": "Ресурси",
@@ -1613,22 +1476,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Налаштування міток",
+ "pageTitle": "Мітки",
"title": "Мітки",
- "subtitle": "Створюйте, редагуйте та видаляйте мітки рівня робочого простору.",
- "cardDescription": "Керуйте мітками, які можна призначати завданням.",
+ "subtitle": "Мітки спільні для всіх проєктів цього робочого простору.",
"createLabel": "Створити мітку",
"editLabel": "Редагувати мітку",
- "deleteLabel": "Видалити",
+ "deleteLabel": "Видалити мітку",
"saveLabel": "Зберегти",
- "nameLabel": "Назва мітки",
- "namePlaceholder": "Введіть назву мітки",
+ "nameLabel": "Назва",
+ "namePlaceholder": "Назва мітки",
"colorLabel": "Колір",
- "createDescription": "Створіть нову мітку, яку можна використовувати в завданнях цього робочого простору.",
- "editDescription": "Оновіть назву або колір цієї мітки.",
- "deleteConfirmTitle": "Видалити цю мітку?",
- "deleteConfirmDescription": "Це назавжди видалить цю мітку з усіх завдань. Цю дію неможливо скасувати.",
- "empty": "Міток ще немає. Створіть першу мітку, щоб почати.",
+ "createDescription": "Проєкти цього робочого простору зможуть додавати її до своїх завдань.",
+ "editDescription": "Зміни з'являться в усіх завданнях із цією міткою.",
+ "deleteConfirmTitle": "Видалити «{{name}}»?",
+ "deleteConfirmDescription": "Мітку буде видалено з усіх завдань, де вона використовується. Цю дію неможливо скасувати.",
"createSuccess": "Мітку створено",
"updateSuccess": "Мітку оновлено",
"deleteSuccess": "Мітку видалено",
@@ -1636,30 +1497,23 @@
"updateError": "Не вдалося оновити мітку",
"deleteError": "Не вдалося видалити мітку",
"nameRequired": "Назва мітки є обов'язковою",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Видалення із завдань…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Редагувати {{name}}",
+ "emptyDescription": "Додавайте мітки, щоб сортувати й фільтрувати завдання в усіх проєктах.",
+ "emptyTitle": "Міток поки немає",
+ "loadError": "Не вдалося завантажити мітки. Спробуйте ще раз.",
+ "newLabel": "Нова мітка",
+ "preview": "У завданні",
+ "previewPlaceholder": "Мітка",
+ "resume": "Продовжити",
+ "rowActions": "Дії для {{name}}",
+ "sectionDescription": "Перейменування мітки або зміна її кольору оновлює всі завдання, де вона використовується.",
+ "sectionTitle": "Мітки робочого простору",
+ "subtitleWithWorkspace": "Мітки спільні для всіх проєктів у {{workspaceName}}."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1673,58 +1527,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Створіть вхідний вебхук у Mattermost і вставте його сюди.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Прапорець",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Випадний список, кілька значень"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Очистити значення за замовчуванням",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Дії для {{name}}",
+ "addOption": "Додати варіант",
+ "allowSeveral": "Дозволити кілька",
+ "allowSeveralDescription": "Завдання може мати більше одного варіанта.",
+ "checked": "Позначено",
+ "createField": "Створити поле",
+ "defaultDescription": "Нові завдання починаються з цього значення.",
+ "deleteConfirm": "Видалити поле",
+ "deleteDescription": "Поле та його значення буде видалено з усіх завдань. Цю дію неможливо скасувати.",
+ "deleteTitle": "Видалити «{{name}}»?",
+ "dialogDescription": "Кожне завдання в {{project}} отримає це поле.",
+ "dialogDescriptionFallback": "Кожне завдання в цьому проєкті отримає це поле.",
+ "dragAria": "Змінити порядок: {{name}}",
+ "dragOptionAria": "Змінити порядок: {{option}}",
+ "edit": "Редагувати",
+ "editTitle": "Редагувати поле",
+ "emptyDescription": "Відстежуйте в кожному завданні такі дані, як розмір, клієнт або дата запуску.",
+ "emptyTitle": "Користувацьких полів поки немає",
+ "issues": {
+ "defaultRequired": "Обов'язковим полям потрібне значення за замовчуванням.",
+ "moreOptionsRequired": "Додайте щонайменше два варіанти, щоб дозволити кілька.",
+ "optionsRequired": "Додайте щонайменше один варіант."
+ },
+ "nameLabel": "Назва",
+ "newTitle": "Нове поле",
+ "noDefault": "Без значення за замовчуванням",
+ "optionsLabel": "Варіанти",
+ "removeOptionAria": "Видалити {{option}}",
+ "renameOptionAria": "Перейменувати {{option}}",
+ "requiredDescription": "Кожне завдання завжди має значення.",
+ "save": "Зберегти",
+ "saving": "Збереження...",
+ "startsAs": "За замовчуванням «{{value}}»",
+ "startsAt": "За замовчуванням {{value}}",
+ "startsChecked": "За замовчуванням позначено",
+ "startsOn": "За замовчуванням {{date}}",
+ "startsUnchecked": "За замовчуванням не позначено",
+ "typeLabel": "Тип",
+ "typeLocked": "Тип не можна змінити після створення поля.",
+ "unchecked": "Не позначено",
+ "updateError": "Не вдалося зберегти користувацьке поле.",
+ "updateSuccess": "Користувацьке поле збережено."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Деактивувати",
+ "edit": "Редагувати",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Активувати знову"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Роль",
"status": "Status",
"user": "User"
},
@@ -1746,7 +1632,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Усі користувачі",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1759,7 +1645,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1767,7 +1652,7 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Адміністратор",
"user": "User"
},
"searchCount_few": "{{count}} matching users",
@@ -1775,13 +1660,13 @@
"searchCount_one": "{{count}} matching user",
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Пошук за ім'ям або електронною поштою",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Усі, хто має обліковий запис у цьому екземплярі Kaneo.",
+ "title": "Користувачі",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1790,11 +1675,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_few": "{{count}} registered users",
- "userCount_many": "{{count}} registered users",
- "userCount_one": "{{count}} registered user",
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Ви"
},
"security": "Security",
"securityPage": {
@@ -1809,11 +1690,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Вхід",
+ "submit": "Змінити пароль",
+ "submitting": "Зміна...",
+ "subtitle": "Як ви входите в Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1823,94 +1703,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Змінити пароль",
+ "dialogDescription": "Щонайменше 8 символів, відмінний від поточного.",
+ "dialogTitle": "Змінити пароль",
+ "passwordHint": "Використовуйте щонайменше 8 символів, які ви більше ніде не використовуєте.",
+ "passwordTitle": "Пароль"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Проєкти, учасником яких є ваш токен.",
+ "browseNeedsCredentials": "Введіть URL GitLab і токен, щоб переглянути список.",
+ "commentTaskLinkHint": "Щоб у GitLab можна було одразу перейти до завдання.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Імпортуйте відкриті issues і merge requests як завдання.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Пошук проєктів",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Додайте цей вебхук у налаштуваннях проєкту, щоб зміни поверталися в Kaneo.",
+ "loadProjectsError": "Не вдалося завантажити проєкти.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Цей токен не є учасником жодного проєкту.",
+ "chooseProjectDescription": "Введіть його шлях або виберіть зі списку.",
+ "noSearchMatchTitle": "Немає відповідних проєктів",
+ "useProject": "Використати проєкт",
+ "webhookEvents": "Увімкніть події push, issue, comment і merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Лише з мітками",
+ "selectLabels": "Додати мітку",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1918,20 +1765,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Стрічки",
+ "allScheduledTasks": "Усі заплановані завдання",
+ "subscribeHint": "Додайте посилання до застосунку календаря як підписку. Оновлення з'являються, коли застосунок оновлює стрічку.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Скопійовано",
+ "dialogDescription": "Завдання з датою початку або датою завершення з'являться в стрічці.",
+ "dialogTitle": "Нова стрічка календаря",
+ "emptyDescription": "Створіть стрічку, щоб бачити заплановані завдання в застосунку календаря.",
+ "emptyTitle": "Стрічок календаря поки немає",
+ "feedActions": "Дії зі стрічкою",
+ "labelsHint": "Залиште порожнім, щоб включити всі заплановані завдання.",
+ "newFeed": "Нова стрічка",
+ "revokeConfirm": "Відкликати стрічку",
+ "revokeConfirmDescription": "Застосунки календаря, що використовують це посилання, перестануть отримувати оновлення. Цю дію неможливо скасувати.",
+ "revokeConfirmTitle": "Відкликати цю стрічку?",
+ "revoking": "Відкликання…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1943,7 +1799,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1976,7 +1831,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1987,7 +1841,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Рахунками, способом оплати та скасуванням можна керувати в Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -2013,16 +1867,16 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Ваш тариф для {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_few": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_many": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_one": "You have {{count}} day left on your free trial. Choose a plan to continue without interruption.",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_few": "Залишилося {{count}} дні",
+ "badgeDaysLeft_many": "Залишилося {{count}} днів",
+ "badgeDaysLeft_one": "Залишився {{count}} день",
+ "badgeDaysLeft_other": "Залишилося {{count}} дня"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2043,15 +1897,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2068,10 +1919,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_few": "{{count}} paused links",
- "pausedCount_many": "{{count}} paused links",
- "pausedCount_one": "{{count}} paused link",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2090,16 +1937,31 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Що синхронізується",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Усі issues",
+ "allTasks": "Усі завдання",
+ "edit": "Редагувати",
+ "hidePaused": "Сховати",
+ "issuesLabelled": "Issues з міткою",
+ "joinAnd": "і",
+ "joinOr": "або",
+ "kaneoToProvider": "З Kaneo в {{provider}}",
+ "pausedSummary_few": "{{count}} завдання перестали синхронізуватися, бо більше не відповідають правилам синхронізації.",
+ "pausedSummary_many": "{{count}} завдань перестали синхронізуватися, бо більше не відповідають правилам синхронізації.",
+ "pausedSummary_one": "{{count}} завдання перестало синхронізуватися, бо більше не відповідає правилам синхронізації.",
+ "pausedSummary_other": "{{count}} завдання перестали синхронізуватися, бо більше не відповідають правилам синхронізації.",
+ "providerToKaneo": "З {{provider}} в Kaneo",
+ "reviewPaused": "Переглянути",
+ "tasksLabelled": "Завдання з міткою"
+ },
+ "advancedSettingsDescription": "Показує додаткові елементи керування, як-от правила синхронізації інтеґрацій. Лише в цьому браузері.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2136,23 +1998,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Усі робочі простори",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_few": "{{count}} members",
"count_many": "{{count}} members",
"count_one": "{{count}} member",
@@ -2177,9 +2031,9 @@
"searchCount_one": "{{count}} matching workspace",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Пошук за назвою або slug",
+ "subtitle": "Усі робочі простори цього екземпляра Kaneo, зокрема ті, до яких ви не належите.",
+ "title": "Робочі простори",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2189,11 +2043,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_few": "{{count}} workspaces",
- "workspaceCount_many": "{{count}} workspaces",
- "workspaceCount_one": "{{count}} workspace",
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2510,6 +2360,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Вимкніть, щоб призупинити без втрати налаштувань.",
+ "activeTitle": "Публікація в {{provider}}",
+ "channelHint": "Лише підпис для цього списку.",
+ "channelLabel": "Канал",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Від'єднати",
+ "disconnectDescription": "Kaneo припинить публікувати в {{provider}} і видалить збережені налаштування.",
+ "disconnecting": "Від'єднання…",
+ "disconnectTitle": "Від'єднати {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Хтось залишив коментар",
+ "taskCreated": "Створено завдання",
+ "taskDescriptionChanged": "Змінився опис",
+ "taskPriorityChanged": "Змінився пріоритет",
+ "taskStatusChanged": "Змінився статус",
+ "taskTitleChanged": "Змінилася назва"
+ },
+ "optional": "Необов'язково",
+ "postWhen": "Публікувати, коли",
+ "retry": "Повторити",
+ "saveChanges": "Зберегти зміни",
+ "savedUrlPlaceholder": "Збережено. Вставте нову URL-адресу, щоб замінити її.",
+ "webhookUrlLabel": "URL вебхука"
+ },
+ "codeHosting": {
+ "browse": "Огляд",
+ "changeToken": "Змінити токен",
+ "checking": "Перевірка доступу…",
+ "chooseProjectTitle": "Виберіть проєкт",
+ "chooseRepositoryTitle": "Виберіть репозиторій",
+ "connectProject": "Підключити проєкт",
+ "connectRepository": "Підключити репозиторій",
+ "copied": "Скопійовано",
+ "copyFailed": "Не вдалося скопіювати в буфер обміну.",
+ "copySecret": "Копіювати секрет",
+ "copyUrl": "Копіювати URL вебхука",
+ "disconnect": "Від'єднати",
+ "disconnectDescription": "Завдання перестануть синхронізуватися з {{target}}. Пізніше його можна підключити знову.",
+ "disconnecting": "Від'єднання…",
+ "disconnectTitle": "Від'єднати {{provider}}?",
+ "hideSecret": "Сховати секрет",
+ "importing": "Імпорт…",
+ "importIssues": "Імпортувати issues",
+ "importNeedsReconnect": "Перепідключіться, щоб увімкнути імпорт.",
+ "importTitle": "Імпорт відкритих issues",
+ "issuesSection": "Issues",
+ "lastImport": "Останній імпорт: створено {{imported}}, оновлено {{updated}}, пропущено {{skipped}}.",
+ "loadError": "Не вдалося завантажити цю інтеґрацію.",
+ "pausedHint": "Синхронізацію призупинено. Перепідключіться, щоб відновити її.",
+ "projectSection": "Проєкт",
+ "reconnect": "Перепідключити",
+ "repositoryPathInvalid": "Вкажіть репозиторій у форматі owner/name.",
+ "repositoryPathLabel": "Репозиторій",
+ "repositorySection": "Репозиторій",
+ "retry": "Повторити",
+ "saveToken": "Зберегти токен",
+ "showSecret": "Показати секрет",
+ "signInDescription": "Використайте токен, який може читати проєкт і його issues.",
+ "signInTitle": "Увійдіть у свій екземпляр",
+ "tokenStored": "Збережений токен",
+ "tokenTitle": "Токен доступу",
+ "webhookSecret": "Секрет",
+ "webhookSection": "Вебхук",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Перетягуйте, щоб змінити порядок їх відображення в завданні.",
+ "fieldsTitle": "Поля",
+ "newField": "Нове поле",
+ "pageTitle": "Користувацькі поля",
+ "subtitle": "Додаткові дані, які може зберігати кожне завдання в {{project}}, наприклад розмір або клієнт.",
+ "subtitleFallback": "Додаткові дані, які може зберігати кожне завдання в цьому проєкті, наприклад розмір або клієнт.",
+ "title": "Користувацькі поля"
+ },
+ "shared": {
+ "autosave": "Зміни зберігаються автоматично"
}
},
"navigation": {
diff --git a/i18n/vi-VN.json b/i18n/vi-VN.json
index d3347428c..4654364db 100644
--- a/i18n/vi-VN.json
+++ b/i18n/vi-VN.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "Không bao giờ"
- },
"modals": {
"createProject": {
"title": "Tạo dự án mới",
@@ -561,37 +558,32 @@
"advancedSettings": "Cài đặt nâng cao",
"account": "Tài khoản",
"developer": "Nhà phát triển",
- "information": "Thông tin",
+ "information": "Hồ sơ",
"notifications": "Thông báo",
"preferences": "Tùy chọn",
"apiKeys": "Khóa API",
"informationPage": {
- "pageTitle": "Thông tin cá nhân",
- "title": "Thông tin cá nhân",
- "subtitle": "Quản lý thông tin cá nhân và tài khoản của bạn.",
- "sectionTitle": "Thông tin tài khoản",
- "sectionSubtitle": "Quản lý hồ sơ và thông tin tài khoản của bạn.",
+ "pageTitle": "Hồ sơ",
+ "title": "Hồ sơ",
+ "subtitle": "Cách bạn hiển thị với đồng đội.",
+ "sectionTitle": "Thông tin chi tiết",
"profilePicture": "Ảnh đại diện",
- "fullName": "Họ và tên",
+ "fullName": "Tên",
"fullNamePlaceholder": "Nhập tên của bạn",
"email": "Email",
- "emailPlaceholder": "Nhập email của bạn",
- "updateSuccess": "Cập nhật hồ sơ thành công",
"updateError": "Không thể cập nhật hồ sơ",
"validation": {
"nameRequired": "Cần có tên",
- "nameShort": "Tên phải có ít nhất 2 ký tự",
- "invalidEmail": "Địa chỉ email không hợp lệ"
+ "nameShort": "Tên phải có ít nhất 2 ký tự"
},
"avatar": {
- "hint": "PNG, JPEG, or WebP. Cropped to a square and resized to 256x256.",
- "remove": "Remove",
+ "hint": "Ảnh vuông hiển thị đẹp nhất.",
+ "remove": "Gỡ bỏ",
"removeError": "Failed to remove profile picture",
"removeSuccess": "Profile picture removed",
"updateError": "Failed to update profile picture",
"updateSuccess": "Profile picture updated",
- "change": "Change avatar",
- "edit": "Change your profile picture"
+ "upload": "Tải lên"
},
"deleteAccount": {
"confirm": "Delete account",
@@ -600,39 +592,36 @@
"error": "Failed to delete account",
"modalDescription": "This cannot be undone. Type {{email}} to confirm.",
"modalTitle": "Delete your account?",
- "sectionSubtitle": "Permanent actions that affect your whole account.",
"sectionTitle": "Danger zone",
"success": "Your account has been deleted",
"title": "Delete account",
"sessionTooOld": "For security, sign out and sign back in before deleting your account."
- }
+ },
+ "emailHint": "Bạn đăng nhập bằng địa chỉ này."
},
"notificationsPage": {
"pageTitle": "Thông báo",
"title": "Thông báo",
- "subtitle": "Chọn cách Kaneo gửi thông báo tài khoản của bạn và các kênh sử dụng.",
+ "subtitle": "Những gì Kaneo thông báo cho bạn và nơi bạn nhận thông báo.",
"statusConnected": "Đã kết nối",
"statusPaused": "Đã tạm dừng",
"emailTitle": "Email",
- "emailDescription": "Dùng email tài khoản của bạn làm nơi nhận thông báo.",
- "accountEmailLabel": "Email tài khoản",
"accountEmailNoAddress": "Không có email tài khoản",
- "accountEmailHint": "Thông báo qua email luôn được gửi đến email của tài khoản đang đăng nhập.",
"saveChanges": "Lưu thay đổi",
"disconnect": "Ngắt kết nối",
"ntfyTitle": "ntfy",
- "ntfyDescription": "Đăng thông báo tài khoản lên một chủ đề ntfy.",
+ "ntfyDescription": "Đăng lên một chủ đề ntfy trên điện thoại hoặc máy tính của bạn.",
"serverUrl": "URL máy chủ",
"topic": "Chủ đề",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "Token bearer (không bắt buộc)",
+ "ntfyTokenPlaceholder": "Chỉ khi máy chủ của bạn yêu cầu",
"ntfyTokenHintConfigured": "Đã cấu hình token ({{masked}}). Nhập token mới để thay thế.",
- "ntfyTokenHintOptional": "Không bắt buộc. Cung cấp token nếu máy chủ ntfy của bạn yêu cầu xác thực.",
+ "ntfyTokenHintOptional": "Dùng nếu máy chủ ntfy của bạn yêu cầu xác thực.",
"connectNtfy": "Kết nối ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "Gửi thông báo tài khoản đến máy chủ Gotify của bạn.",
+ "gotifyDescription": "Gửi thông báo đến máy chủ Gotify của bạn.",
"gotifyTokenLabel": "Token ứng dụng",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Token ứng dụng Gotify",
@@ -640,52 +629,26 @@
"gotifyTokenHintRequired": "Bắt buộc. Dùng token ứng dụng từ máy chủ Gotify của bạn.",
"connectGotify": "Kết nối Gotify",
"webhookTitle": "Webhook tùy chỉnh",
- "webhookDescription": "Gửi thông báo tài khoản đến điểm cuối của riêng bạn dưới dạng JSON.",
+ "webhookDescription": "Gửi mỗi thông báo đến điểm cuối của riêng bạn dưới dạng JSON.",
"endpointUrl": "URL điểm cuối",
"signingSecret": "Khóa bí mật ký",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "Khóa bí mật dùng chung (không bắt buộc)",
"webhookSecretHintConfigured": "Đã cấu hình khóa bí mật ký ({{masked}}). Nhập khóa mới để thay thế.",
- "webhookSecretHintOptional": "Không bắt buộc. Kaneo sẽ ký nội dung yêu cầu khi có thiết lập khóa bí mật.",
+ "webhookSecretHintOptional": "Kaneo sẽ ký nội dung yêu cầu khi có khóa bí mật.",
"connectWebhook": "Kết nối webhook",
- "workspaceRulesTitle": "Quy tắc gửi thông báo theo không gian làm việc",
- "workspaceRulesDescription": "Tái sử dụng các kênh chung của bạn, sau đó quyết định không gian làm việc và dự án nào được phép gửi thông báo tài khoản.",
- "workspaceCardHint": "Chọn kênh mà không gian làm việc này có thể dùng để gửi thông báo tài khoản.",
- "workspaceEnabledLabel": "Bật thông báo cho {{workspaceName}}",
"eventPreferencesTitle": "Thông báo cho tôi về",
- "eventPreferencesDescription": "Chọn sự kiện công việc nào sẽ tạo thông báo trong ứng dụng và có thể được gửi đến các kênh đã kết nối.",
+ "eventPreferencesDescription": "Bình luận, lượt nhắc đến và thay đổi trạng thái của chính bạn sẽ không gửi thông báo cho bạn.",
"eventTaskAssignments": "Giao việc",
"eventComments": "Bình luận và nhắc đến",
- "eventCommentsHint": "Bao gồm bình luận mới trên công việc được giao cho bạn và các lượt @nhắc đến trực tiếp.",
- "eventStatusChanges": "Thay đổi trạng thái công việc",
+ "eventCommentsHint": "Bình luận mới trên công việc của bạn và khi có người @nhắc đến bạn.",
+ "eventStatusChanges": "Thay đổi trạng thái",
"eventDueDateReminders": "Nhắc nhở ngày đến hạn",
"reminderLeadTimeLabel": "Nhắc tôi trước ngày đến hạn",
- "reminderLeadTimeHint": "Từ 1 giờ đến 30 ngày trước. Thông báo quá hạn được gửi riêng.",
- "reminderLeadTimeUnitHours": "Giờ",
- "reminderLeadTimeUnitDays": "Ngày",
"reminderLeadTimeInvalid": "Nhập một số nguyên từ 1 đến {{max}}.",
"saveEventPreferences": "Lưu loại thông báo",
- "workspaceCardLabelEmail": "Email",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "Webhook tùy chỉnh",
- "emailChannelHintEnabled": "Gửi thông báo phù hợp của không gian làm việc qua email.",
- "emailChannelHintDisabled": "Hãy cấu hình và bật email ở cấp toàn cục trước.",
- "ntfyChannelHintEnabled": "Gửi thông báo phù hợp của không gian làm việc đến ntfy.",
- "ntfyChannelHintDisabled": "Hãy cấu hình và bật ntfy ở cấp toàn cục trước.",
- "gotifyChannelHintEnabled": "Gửi thông báo phù hợp của không gian làm việc đến Gotify.",
- "gotifyChannelHintDisabled": "Hãy cấu hình và bật Gotify ở cấp toàn cục trước.",
- "webhookChannelHintEnabled": "Gửi thông báo phù hợp của không gian làm việc đến webhook của bạn.",
- "webhookChannelHintDisabled": "Hãy cấu hình và bật webhook ở cấp toàn cục trước.",
- "projectScope": "Phạm vi dự án",
- "projectScopeDescription": "Mặc định bao gồm tất cả dự án. Thu hẹp phạm vi nếu không gian làm việc này chỉ nên gửi thông báo từ các dự án đã chọn.",
"allProjects": "Tất cả dự án",
- "allProjectsDescription": "Gửi thông báo từ mọi dự án trong không gian làm việc này.",
- "selectedProjects": "Dự án đã chọn",
- "selectedProjectsDescription": "Chỉ gửi thông báo từ các dự án đã chọn.",
"noProjectsInWorkspace": "Chưa có dự án nào khả dụng cho không gian làm việc này.",
- "createRule": "Tạo quy tắc",
- "removeRule": "Gỡ bỏ quy tắc",
"toastEmailSaved": "Đã lưu cài đặt thông báo email",
"toastEmailSaveFailed": "Không thể lưu cài đặt email",
"toastNtfySaved": "Đã lưu cài đặt ntfy",
@@ -708,137 +671,161 @@
"toastPreferencesSaveFailed": "Không thể lưu tùy chọn thông báo",
"toastRuleSavedGeneric": "Đã lưu quy tắc thông báo không gian làm việc",
"toastRuleRemovedGeneric": "Đã gỡ quy tắc thông báo không gian làm việc",
- "recipientHint": "Bình luận và thay đổi trạng thái thông báo cho bạn về các công việc được giao cho bạn. Lượt nhắc thông báo cho thành viên được chọn. Bạn không nhận thông báo về bình luận, lượt nhắc và thay đổi trạng thái do chính mình thực hiện."
+ "channelNotConnected": "Chưa kết nối",
+ "channelOff": "Tắt",
+ "channelsDescription": "Thông báo luôn hiển thị trong Kaneo. Kết nối một kênh để nhận thông báo ở nơi khác nữa.",
+ "channelsTitle": "Kênh",
+ "configure": "Cấu hình",
+ "configureChannel": "Cấu hình {{channel}}",
+ "configureWorkspace": "Cấu hình thông báo cho {{workspaceName}}",
+ "connect": "Kết nối",
+ "connectChannel": "Kết nối {{channel}}",
+ "disconnectDescription": "Thông báo sẽ ngừng gửi đến {{channel}} và các cài đặt đã lưu sẽ bị xóa.",
+ "disconnecting": "Đang ngắt kết nối...",
+ "disconnectTitle": "Ngắt kết nối {{channel}}?",
+ "done": "Xong",
+ "emailToggleLabel": "Gửi thông báo qua email",
+ "eventDueDateRemindersHint": "Trước khi một công việc của bạn đến hạn. Công việc quá hạn được thông báo riêng.",
+ "eventStatusChangesHint": "Khi một công việc của bạn chuyển sang cột khác.",
+ "eventTaskAssignmentsHint": "Khi có người giao một công việc cho bạn.",
+ "loadFailed": "Không thể tải cài đặt thông báo.",
+ "onlyInKaneo": "Chỉ trong Kaneo",
+ "optional": "Không bắt buộc",
+ "projectCount_other": "{{count}} dự án",
+ "reminderLeadTimeUnitDaysBefore_other": "ngày trước",
+ "reminderLeadTimeUnitHoursBefore_other": "giờ trước",
+ "reminderLeadTimeUnitLabel": "Đơn vị nhắc nhở",
+ "ruleActiveDescription": "Tắt để tạm dừng không gian làm việc này và giữ nguyên thiết lập.",
+ "ruleActiveLabel": "Đang gửi",
+ "ruleChannels": "Kênh",
+ "ruleDialogDescription": "Nơi thông báo từ không gian làm việc này có thể được gửi đến.",
+ "ruleDialogTitle": "Thông báo của {{workspaceName}}",
+ "ruleProjects": "Dự án",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "Lưu",
+ "sendingDescription": "Tắt để tạm dừng kênh này và giữ nguyên cài đặt.",
+ "sendingLabel": "Đang gửi",
+ "setUp": "Thiết lập",
+ "setUpWorkspace": "Thiết lập thông báo cho {{workspaceName}}",
+ "someProjects": "Chỉ một số",
+ "statusOn": "Bật",
+ "statusSending": "Đang gửi",
+ "stopping": "Đang dừng...",
+ "stopSending": "Ngừng gửi",
+ "stopSendingDescription": "Thông báo từ không gian làm việc này sẽ chỉ hiển thị trong Kaneo.",
+ "stopSendingTitle": "Ngừng gửi từ {{workspaceName}}?",
+ "workspacesDescription": "Chọn không gian làm việc và dự án nào có thể dùng các kênh của bạn.",
+ "workspacesTitle": "Không gian làm việc"
},
"preferencesPage": {
"title": "Tùy chọn",
- "subtitle": "Tùy chỉnh trải nghiệm Kaneo của bạn.",
- "appearanceTitle": "Giao diện",
- "appearanceSubtitle": "Cài đặt hiển thị và bố cục.",
+ "subtitle": "Cách Kaneo hiển thị và hoạt động với bạn.",
+ "appearanceTitle": "Chung",
"theme": "Chủ đề",
- "themeDescription": "Chọn bảng màu ưa thích của bạn",
"selectTheme": "Chọn một chủ đề",
"themeLight": "Sáng",
"themeDark": "Tối",
"themeSystem": "Theo hệ thống",
"language": "Ngôn ngữ",
- "languageDescription": "Chọn ngôn ngữ giao diện ưa thích của bạn",
"selectLanguage": "Chọn một ngôn ngữ",
"firstDayOfWeek": "Ngày đầu tuần",
- "firstDayOfWeekDescription": "Chọn ngày bắt đầu cho lịch và các khoảng thời gian theo tuần",
+ "firstDayOfWeekDescription": "Dùng cho lịch và bộ chọn ngày.",
"selectFirstDayOfWeek": "Chọn ngày đầu tuần",
"weekStartsOnSunday": "Chủ nhật",
"weekStartsOnMonday": "Thứ hai",
"weekStartsOnSaturday": "Thứ bảy",
"defaultView": "Chế độ xem mặc định",
- "defaultViewDescription": "Chọn chế độ xem công việc ưa thích của bạn",
+ "defaultViewDescription": "Chế độ xem khi mở dự án.",
"selectViewMode": "Chọn chế độ xem",
"board": "Bảng",
"list": "Danh sách",
"gantt": "Gantt",
- "sidebarDefault": "Thanh bên mặc định",
- "sidebarDefaultDescription": "Giữ thanh bên mở rộng khi khởi động",
- "displayOptions": "Tùy chọn hiển thị",
- "displayOptionsDescription": "Chọn thông tin cần hiển thị trong chế độ xem công việc",
+ "sidebarDefault": "Giữ thanh bên mở",
+ "sidebarDefaultDescription": "Bắt đầu với thanh bên được mở rộng.",
+ "displayOptions": "Chi tiết công việc",
+ "displayOptionsDescription": "Những gì hiển thị trên thẻ và hàng trong bảng và danh sách của bạn.",
"taskNumbers": "Số công việc",
- "taskNumbersDescription": "Hiển thị mã và số công việc",
"assignees": "Người được giao",
- "assigneesDescription": "Hiển thị người được giao công việc",
"dueDates": "Ngày đến hạn",
- "dueDatesDescription": "Hiển thị thời hạn công việc",
"labels": "Nhãn",
- "labelsDescription": "Hiển thị nhãn và thẻ của công việc",
"priority": "Mức ưu tiên",
- "priorityDescription": "Hiển thị chỉ báo mức ưu tiên",
"projectBackgrounds": "Project backgrounds",
- "projectBackgroundsDescription": "Show project background images on boards"
+ "projectBackgroundsDescription": "Hiển thị hình ảnh mà dự án đặt làm nền bảng.",
+ "advancedTitle": "Nâng cao"
},
"developerPage": {
- "pageTitle": "Cài đặt nhà phát triển",
- "title": "Cài đặt nhà phát triển",
- "subtitle": "Quản lý khóa API và tài nguyên dành cho nhà phát triển của bạn.",
- "apiKeysCardTitle": "Khóa API",
- "apiKeysCardDescription": "Tạo và quản lý khóa API để truy cập Kaneo bằng chương trình.",
- "createApiKey": "Tạo khóa API",
- "unnamedKey": "Khóa chưa đặt tên"
+ "pageTitle": "Khóa API",
+ "title": "Khóa API",
+ "subtitle": "Cho phép script, CLI và MCP client thay mặt bạn sử dụng Kaneo.",
+ "unnamedKey": "Chưa đặt tên",
+ "emptyDescription": "Tạo khóa để dùng CLI, MCP client hoặc script của riêng bạn.",
+ "emptyTitle": "Chưa có khóa API nào",
+ "keysNote": "Một khóa có thể làm mọi việc bạn có thể làm. Hãy xóa các khóa bạn không còn dùng.",
+ "keysTitle": "Khóa",
+ "loadError": "Không thể tải khóa API. Vui lòng thử lại.",
+ "newKey": "Khóa mới"
},
"apiKey": {
"createdModal": {
- "title": "Đã tạo khóa API",
- "description": "Khóa API \"{{keyName}}\" của bạn đã được tạo thành công.",
- "yourApiKey": "Khóa API của bạn",
+ "title": "Sao chép khóa của bạn",
+ "description": "Bạn sẽ không thấy lại khóa này sau khi đóng.",
"copy": "Sao chép",
"copied": "Đã sao chép",
- "toastCopied": "Đã sao chép khóa API vào clipboard",
- "alertTitle": "Thành công! Khóa API của bạn đã được tạo",
- "alertDescription": "Hãy sao chép khóa này ngay. Bạn sẽ không thể xem lại nó nữa.",
"done": "Xong",
- "copyToContinue": "Sao chép khóa để tiếp tục"
+ "copyError": "Không thể sao chép khóa. Hãy chọn và sao chép thủ công."
},
"table": {
- "loading": "Đang tải khóa API...",
- "empty": "Chưa có khóa API nào. Hãy tạo một khóa để bắt đầu.",
- "columnName": "Tên",
- "columnKey": "Khóa",
- "columnCreated": "Ngày tạo",
- "columnExpires": "Hết hạn",
- "columnActions": "Hành động",
- "unnamedKey": "Khóa chưa đặt tên",
- "expiredBadge": "Đã hết hạn {{label}}",
- "deleteConfirmTitle": "Xóa khóa API?",
- "deleteConfirmDescription": "Hành động này không thể hoàn tác. Thao tác này sẽ xóa vĩnh viễn {{name}}.",
- "deleteFallbackName": "khóa API này",
- "delete": "Xóa",
- "deleting": "Đang xóa...",
- "deleteAria": "Xóa {{name}}",
- "deleteAriaFallback": "Khóa API",
- "toastDeleted": "Xóa khóa API thành công",
+ "deleteConfirmTitle": "Xóa “{{name}}”?",
+ "deleteConfirmDescription": "Mọi thứ đang dùng khóa này sẽ ngừng hoạt động. Thao tác này không thể hoàn tác.",
+ "delete": "Xóa khóa",
+ "deleting": "Đang xóa…",
+ "toastDeleted": "Đã xóa khóa API",
"toastDeleteError": "Không thể xóa khóa API"
},
"createDialog": {
- "title": "Tạo khóa API",
- "description": "Tạo một khóa API mới để truy cập Kaneo API bằng chương trình.",
+ "title": "Khóa API mới",
+ "description": "Khóa này có thể làm mọi việc bạn có thể làm.",
"nameLabel": "Tên",
"namePlaceholder": "Khóa API của tôi",
- "nameDescription": "Tên mô tả cho khóa API này",
- "expirationLabel": "Thời hạn",
- "expirationPlaceholder": "Chọn thời hạn",
- "expirationDescription": "Chọn thời gian khóa API này có hiệu lực. Chọn Không bao giờ để tạo khóa không có ngày hết hạn tự động.",
+ "nameDescription": "Để bạn nhớ khóa được dùng ở đâu.",
+ "expirationLabel": "Hết hạn",
"expiration1d": "1 ngày",
"expiration7d": "7 ngày",
"expiration30d": "30 ngày",
"expiration90d": "90 ngày",
"expirationNever": "Không bao giờ",
- "create": "Tạo",
- "creating": "Đang tạo...",
+ "create": "Tạo khóa",
+ "creating": "Đang tạo…",
"failedCreate": "Không thể tạo khóa API",
"validation": {
- "nameRequired": "Cần có tên",
- "nameShort": "Tên phải có ít nhất 3 ký tự",
- "expirationRequired": "Cần có thời hạn"
+ "nameRequired": "Nhập tên",
+ "nameShort": "Dùng ít nhất 3 ký tự"
}
+ },
+ "row": {
+ "actions": "Thao tác cho {{name}}",
+ "created": "Tạo ngày {{date}}",
+ "expired": "Đã hết hạn ngày {{date}}",
+ "expiredBadge": "Đã hết hạn",
+ "expires": "Hết hạn ngày {{date}}",
+ "neverExpires": "Không bao giờ hết hạn"
}
},
"workspaceGeneral": {
"pageTitle": "Cài đặt chung",
- "title": "Cài đặt chung",
- "subtitle": "Quản lý tên và mô tả không gian làm việc của bạn.",
- "workspaceInfoTitle": "Thông tin không gian làm việc",
- "workspaceInfoSubtitle": "Cấu hình chi tiết và tùy chọn cho không gian làm việc của bạn.",
- "nameLabel": "Tên không gian làm việc",
- "nameHint": "Tên của không gian làm việc",
+ "title": "Chung",
+ "subtitle": "Tên của {{name}} và chủ sở hữu.",
+ "workspaceInfoTitle": "Không gian làm việc",
+ "nameLabel": "Tên",
"namePlaceholder": "Nhập tên không gian làm việc",
"descriptionLabel": "Mô tả",
- "descriptionHint": "Mô tả ngắn gọn về không gian làm việc của bạn",
- "descriptionPlaceholder": "Nhập mô tả không gian làm việc",
+ "descriptionPlaceholder": "Nhóm của bạn làm về gì?",
"dangerZone": "Vùng nguy hiểm",
- "dangerZoneSubtitle": "Các hành động không thể hoàn tác và mang tính phá hủy.",
"deleteWorkspace": "Xóa không gian làm việc",
- "deleteWorkspaceDescription": "Lên lịch xóa vĩnh viễn không gian làm việc",
+ "deleteWorkspaceDescription": "Xóa vĩnh viễn {{name}}, các dự án và công việc trong đó.",
"deleteModalTitle": "Xóa không gian làm việc?",
- "deleteModalDescription": "Thao tác này sẽ xóa vĩnh viễn không gian làm việc \"{{name}}\" và toàn bộ dữ liệu của nó. Hành động này không thể hoàn tác.",
+ "deleteModalDescription": "Thao tác này sẽ xóa vĩnh viễn {{name}} cùng toàn bộ dự án và công việc. Bạn không thể hoàn tác.",
"deleteModalConfirm": "Xóa không gian làm việc",
- "toastUpdated": "Cập nhật không gian làm việc thành công",
"toastUpdateError": "Không thể cập nhật không gian làm việc",
"toastDeleted": "Xóa không gian làm việc thành công",
"toastDeleteError": "Không thể xóa không gian làm việc",
@@ -850,17 +837,18 @@
"toastSuccess": "Đã chuyển quyền sở hữu",
"toastError": "Không thể chuyển quyền sở hữu",
"title": "Chuyển quyền sở hữu",
- "subtitle": "Bàn giao không gian làm việc này cho một thành viên khác. Bạn sẽ bị hạ xuống quản trị viên và mất các quyền chỉ dành cho chủ sở hữu.",
"pickerLabel": "Chủ sở hữu mới",
"noEligibleMembers": "Hãy mời ít nhất một thành viên khác trước khi bạn có thể chuyển quyền sở hữu.",
- "pickerHint": "Họ sẽ trở thành chủ sở hữu duy nhất của không gian làm việc này.",
+ "pickerHint": "Chủ sở hữu mới sẽ tiếp quản. Bạn vẫn là quản trị viên.",
"pickerPlaceholder": "Chọn một thành viên",
"button": "Chuyển",
"dialogTitle": "Chuyển quyền sở hữu?",
"dialogDescription": "{{name}} sẽ trở thành chủ sở hữu duy nhất của {{workspace}}. Bạn sẽ giữ quyền quản trị viên nhưng mất các quyền chỉ dành cho chủ sở hữu như xóa không gian làm việc hoặc chuyển quyền sở hữu lần nữa.",
"transferring": "Đang chuyển…",
"confirm": "Chuyển quyền sở hữu"
- }
+ },
+ "ownershipSubtitle": "Chỉ chủ sở hữu thấy phần này.",
+ "ownershipTitle": "Quyền sở hữu"
},
"workspaceRoles": {
"pageTitle": "Vai trò",
@@ -1070,22 +1058,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "Cài đặt nhãn",
+ "pageTitle": "Nhãn",
"title": "Nhãn",
- "subtitle": "Tạo, chỉnh sửa và xóa nhãn cấp không gian làm việc.",
- "cardDescription": "Quản lý các nhãn có thể gán cho công việc.",
+ "subtitle": "Nhãn được dùng chung cho mọi dự án trong không gian làm việc này.",
"createLabel": "Tạo nhãn",
"editLabel": "Chỉnh sửa nhãn",
- "deleteLabel": "Xóa",
+ "deleteLabel": "Xóa nhãn",
"saveLabel": "Lưu",
- "nameLabel": "Tên nhãn",
- "namePlaceholder": "Nhập tên nhãn",
+ "nameLabel": "Tên",
+ "namePlaceholder": "Tên nhãn",
"colorLabel": "Màu",
- "createDescription": "Tạo một nhãn mới có thể dùng cho các công việc trong không gian làm việc này.",
- "editDescription": "Cập nhật tên hoặc màu của nhãn này.",
- "deleteConfirmTitle": "Xóa nhãn này?",
- "deleteConfirmDescription": "Thao tác này sẽ xóa vĩnh viễn nhãn này khỏi tất cả công việc. Hành động này không thể hoàn tác.",
- "empty": "Chưa có nhãn nào. Hãy tạo nhãn đầu tiên để bắt đầu.",
+ "createDescription": "Các dự án trong không gian làm việc này có thể thêm nhãn vào công việc.",
+ "editDescription": "Thay đổi sẽ hiển thị trên mọi công việc có nhãn này.",
+ "deleteConfirmTitle": "Xóa “{{name}}”?",
+ "deleteConfirmDescription": "Nhãn sẽ bị gỡ khỏi mọi công việc đang dùng. Thao tác này không thể hoàn tác.",
"createSuccess": "Đã tạo nhãn",
"updateSuccess": "Đã cập nhật nhãn",
"deleteSuccess": "Đã xóa nhãn",
@@ -1093,36 +1079,43 @@
"updateError": "Không thể cập nhật nhãn",
"deleteError": "Không thể xóa nhãn",
"nameRequired": "Cần có tên nhãn",
- "deletionPending": "Deletion pending",
- "resumeDeletion": "Resume deletion"
+ "deletionPending": "Đang gỡ khỏi công việc…",
+ "resumeDeletion": "Resume deletion",
+ "editNamed": "Chỉnh sửa {{name}}",
+ "emptyDescription": "Thêm nhãn để sắp xếp và lọc công việc giữa các dự án.",
+ "emptyTitle": "Chưa có nhãn nào",
+ "loadError": "Không thể tải nhãn. Vui lòng thử lại.",
+ "newLabel": "Nhãn mới",
+ "preview": "Trên một công việc",
+ "previewPlaceholder": "Nhãn",
+ "resume": "Tiếp tục",
+ "rowActions": "Thao tác cho {{name}}",
+ "sectionDescription": "Đổi tên hoặc màu của nhãn sẽ cập nhật mọi công việc đang dùng nhãn đó.",
+ "sectionTitle": "Nhãn không gian làm việc",
+ "subtitleWithWorkspace": "Nhãn được dùng chung cho mọi dự án trong {{workspaceName}}."
},
"projectGeneral": {
"pageTitle": "Cài đặt dự án",
- "title": "Cài đặt chung",
- "subtitle": "Quản lý tên, mã, biểu tượng và mô tả dự án của bạn.",
- "projectInfoTitle": "Thông tin dự án",
- "projectInfoSubtitle": "Cấu hình chi tiết và tùy chọn cho dự án của bạn.",
+ "title": "Chung",
+ "subtitle": "Tên, mã và giao diện của {{name}}.",
+ "projectInfoTitle": "Dự án",
"iconLabel": "Biểu tượng",
- "iconHint": "Hiển thị trên thanh bên và các bề mặt của dự án.",
+ "iconHint": "Hiển thị trên thanh bên và danh sách dự án.",
"pickIconTitle": "Chọn biểu tượng",
"searchIconsPlaceholder": "Tìm biểu tượng...",
- "projectNameLabel": "Tên dự án",
- "projectNameHint": "Tên của dự án",
- "projectNamePlaceholder": "Nhập tên dự án",
+ "projectNameLabel": "Tên",
+ "projectNamePlaceholder": "Tên dự án",
"keyLabel": "Mã",
- "keyHint": "Dùng cho mã số phiếu (ví dụ: {{slug}}-123)",
+ "keyHint": "Đứng đầu mọi mã công việc, ví dụ {{slug}}-123.",
"keyPlaceholder": "PRO",
"descriptionLabel": "Mô tả",
- "descriptionHint": "Mô tả ngắn gọn về dự án của bạn",
- "descriptionPlaceholder": "Nhập mô tả dự án",
+ "descriptionPlaceholder": "Dự án này dùng để làm gì?",
"dangerZone": "Vùng nguy hiểm",
- "dangerZoneSubtitle": "Các hành động không thể hoàn tác và mang tính phá hủy.",
"deleteProject": "Xóa dự án",
- "deleteProjectDescription": "Lên lịch xóa vĩnh viễn dự án",
+ "deleteProjectDescription": "Xóa vĩnh viễn {{name}} và toàn bộ công việc của dự án.",
"deleteModalTitle": "Xóa dự án?",
- "deleteModalDescription": "Thao tác này sẽ xóa vĩnh viễn dự án \"{{name}}\" và toàn bộ dữ liệu của nó. Hành động này không thể hoàn tác.",
+ "deleteModalDescription": "Thao tác này sẽ xóa vĩnh viễn {{name}} và toàn bộ công việc của dự án. Bạn không thể hoàn tác.",
"deleteModalConfirm": "Xóa dự án",
- "toastUpdated": "Cập nhật dự án thành công",
"toastUpdateError": "Không thể cập nhật dự án",
"toastDeleted": "Xóa dự án thành công",
"toastDeleteError": "Không thể xóa dự án",
@@ -1132,40 +1125,42 @@
"keyMax": "Mã tối đa 8 ký tự",
"iconRequired": "Cần có biểu tượng"
},
- "importExportTasks": "Nhập/Xuất",
- "importExportTasksDescription": "Nhập và xuất công việc.",
- "backgroundHint": "Choose an image shown behind this project's board.",
+ "backgroundHint": "Hình ảnh phía sau bảng. Mỗi người có thể tắt hình này.",
+ "backgroundUnavailable": "Tính năng tải ảnh lên chưa được thiết lập trên phiên bản này.",
"backgroundLabel": "Board background",
"backgroundRemove": "Remove image",
"backgroundRemoveError": "Failed to remove project background",
"backgroundRemoveSuccess": "Project background removed",
- "backgroundReplace": "Replace image",
- "backgroundUpload": "Upload image",
+ "backgroundReplace": "Thay thế",
+ "backgroundUpload": "Tải lên",
"backgroundUploadError": "Failed to update project background",
"backgroundUploadSuccess": "Project background updated",
"moveModalConfirm": "Chuyển dự án",
- "moveModalDescription": "Thao tác này sẽ chuyển dự án \"{{name}}\" và tất cả công việc của nó sang \"{{workspace}}\". Những công việc được giao cho người không phải là thành viên của không gian làm việc đó sẽ bị hủy phân công, và các đăng ký thông báo cho dự án này sẽ bị xóa.",
- "moveModalTitle": "Chuyển dự án?",
- "moveProject": "Chuyển đến không gian làm việc",
+ "moveProject": "Chuyển sang không gian làm việc khác",
"moveProjectAction": "Chuyển",
- "moveProjectDescription": "Chuyển dự án này, cùng với tất cả công việc của nó, sang không gian làm việc khác.",
+ "moveProjectDescription": "Công việc, cột và nhãn sẽ được chuyển theo.",
"moveProjectPlaceholder": "Chọn không gian làm việc",
"toastMoved": "Đã chuyển dự án thành công",
"toastMovedWithUnassigned": "Đã chuyển dự án thành công. {{taskCount}} công việc đã bị hủy phân công.",
"toastMoveError": "Không thể chuyển dự án",
- "moveTargetsError": "Không thể kiểm tra những không gian làm việc mà bạn có thể chuyển dự án này đến. Hãy tải lại trang để thử lại."
+ "moveTargetsError": "Không thể kiểm tra những không gian làm việc mà bạn có thể chuyển dự án này đến. Hãy tải lại trang để thử lại.",
+ "moveDialogDescription": "Các công việc được giao cho người ngoài không gian làm việc mới sẽ bị bỏ giao, và các đăng ký nhận thông báo của dự án này sẽ bị xóa.",
+ "moveDialogTitle": "Chuyển sang không gian làm việc khác?",
+ "moveTargetLabel": "Không gian làm việc",
+ "moving": "Đang chuyển...",
+ "tasksTitle": "Công việc"
},
"projectIntegrations": {
- "pageTitle": "Tích hợp dự án",
- "title": "Tích hợp dự án",
- "subtitle": "Kết nối dự án của bạn với các công cụ và dịch vụ bên ngoài để tối ưu quy trình làm việc.",
+ "pageTitle": "Tích hợp",
+ "title": "Tích hợp",
+ "subtitle": "Kết nối dự án này với nền tảng lưu trữ mã và kênh trò chuyện của nhóm bạn.",
"githubSectionTitle": "Tích hợp GitHub",
"githubSectionSubtitle": "Đồng bộ công việc với GitHub issues và bật đồng bộ hai chiều.",
"giteaSectionTitle": "Tích hợp Gitea",
"giteaSectionSubtitle": "Đồng bộ công việc với phiên bản Gitea tự lưu trữ (issues, PR, webhook).",
"discordSectionTitle": "Tích hợp Discord",
"discordSectionSubtitle": "Gửi cập nhật công việc dự án vào kênh Discord bằng webhook.",
- "genericWebhookSectionTitle": "Webhook chung",
+ "genericWebhookSectionTitle": "Webhook",
"genericWebhookSectionSubtitle": "Gửi sự kiện công việc dự án đến bất kỳ điểm cuối HTTP nào dưới dạng JSON.",
"slackSectionTitle": "Tích hợp Slack",
"slackSectionSubtitle": "Gửi cập nhật công việc dự án vào kênh Slack bằng webhook đến.",
@@ -1173,10 +1168,10 @@
"telegramSectionSubtitle": "Gửi cập nhật công việc dự án vào cuộc trò chuyện hoặc chủ đề Telegram bằng bot.",
"mattermostSectionSubtitle": "Send project task updates into a Mattermost channel with an incoming webhook.",
"mattermostSectionTitle": "Mattermost Integration",
- "gitlabSectionSubtitle": "Synchronize tasks with GitLab.com or a self-managed instance (issues, merge requests, webhooks).",
+ "gitlabSectionSubtitle": "Đồng bộ công việc với GitLab.com hoặc máy chủ tự quản lý.",
"gitlabSectionTitle": "GitLab Integration",
"codeHostingTitle": "Lưu trữ mã nguồn",
- "chatTitle": "Trò chuyện & webhook",
+ "chatTitle": "Trò chuyện và webhook",
"statusConnected": "Đã kết nối",
"statusPaused": "Đã tạm dừng",
"connect": "Kết nối",
@@ -1186,69 +1181,59 @@
"projectVisibility": {
"pageTitle": "Chế độ hiển thị dự án",
"title": "Chế độ hiển thị",
- "subtitle": "Kiểm soát ai có thể xem và truy cập dự án của bạn.",
- "sectionTitle": "Chế độ hiển thị",
- "sectionSubtitle": "Bật/tắt truy cập công khai và chia sẻ URL công khai.",
- "publicAccess": "Truy cập công khai",
- "publicAccessHint": "Cho phép bất kỳ ai có URL xem dự án này",
+ "subtitle": "Chọn ai có thể xem {{project}} bên ngoài {{workspace}}.",
+ "sectionTitle": "Quyền truy cập",
+ "publicAccess": "Liên kết công khai",
+ "publicAccessHint": "Bất kỳ ai có liên kết đều có thể xem bảng và các công việc. Họ không thể thay đổi gì.",
"publicUrl": "URL công khai",
- "publicUrlHint": "Chia sẻ liên kết này nếu dự án ở chế độ công khai",
- "copy": "Sao chép",
- "copiedToast": "Đã sao chép",
+ "copy": "Sao chép liên kết",
"toastUpdated": "Đã cập nhật chế độ hiển thị",
- "toastUpdateError": "Không thể cập nhật chế độ hiển thị"
+ "toastUpdateError": "Không thể cập nhật chế độ hiển thị",
+ "always": "Luôn luôn",
+ "copied": "Đã sao chép",
+ "copyError": "Không thể sao chép liên kết",
+ "membersDescription": "Mọi người trong không gian làm việc, theo quyền mà vai trò của họ cho phép.",
+ "membersTitle": "Thành viên {{workspace}}",
+ "offNote": "Tắt liên kết công khai sẽ khiến liên kết ngừng hoạt động ngay lập tức.",
+ "on": "Bật",
+ "openPublicPage": "Mở trang công khai",
+ "thisWorkspace": "không gian làm việc này"
},
"projectWorkflow": {
"pageTitle": "Cài đặt quy trình làm việc",
"title": "Quy trình làm việc",
- "subtitle": "Cấu hình các cột trên bảng và quy tắc tự động hóa cho dự án này.",
+ "subtitle": "Các cột trên bảng và điều kiện để chuyển công việc giữa các cột.",
"columnsTitle": "Cột",
- "columnsDescription": "Quản lý các cột xuất hiện trên bảng của bạn. Kéo để sắp xếp lại. Bật \"Cột hoàn thành\" cho các giai đoạn thể hiện công việc đã hoàn tất.",
- "automationTitle": "Quy tắc tự động hóa",
- "automationDescription": "Ánh xạ sự kiện tích hợp với các cột. Khi một sự kiện xảy ra, công việc liên kết sẽ chuyển sang cột được chỉ định.",
- "customFieldsDescription": "Manage the custom fields for this project. Drag to reorder.",
- "customFieldsTitle": "Custom Fields"
+ "columnsDescription": "Kéo để sắp xếp lại. Công việc trong cột hoàn thành được tính là đã hoàn thành.",
+ "automationTitle": "Tự động hóa",
+ "automationDescription": "Di chuyển công việc được liên kết khi có sự kiện xảy ra trong kho lưu trữ đã kết nối."
},
"projectSwitcher": {
"selectProject": "Chọn dự án",
"noProjects": "Không có dự án"
},
"columnEditor": {
- "toastCreated": "Đã tạo cột",
"toastCreateError": "Không thể tạo cột",
- "toastRenamed": "Đã đổi tên cột",
"toastRenameError": "Không thể cập nhật cột",
- "toastFinalOn": "Đã đánh dấu cột là hoàn thành",
- "toastFinalOff": "Đã bỏ đánh dấu cột là hoàn thành",
"toastUpdateError": "Không thể cập nhật cột",
- "toastIconUpdated": "Đã cập nhật biểu tượng cột",
- "toastDeleted": "Đã xóa cột",
"toastDeleteError": "Không thể xóa cột",
- "loading": "Đang tải cột...",
"pickIconTitle": "Chọn biểu tượng cột",
"searchIconsPlaceholder": "Tìm biểu tượng...",
- "doneColumnTooltip": "Xem đây là cột hoàn thành",
- "doneColumn": "Cột hoàn thành",
"markDoneAria": "Đánh dấu {{name}} là cột hoàn thành",
- "on": "Bật",
- "off": "Tắt",
- "newColumnPlaceholder": "Tên cột mới...",
- "add": "Thêm",
+ "newColumnPlaceholder": "Tên cột",
"deleteAria": "Xóa cột {{name}}",
- "renameAria": "Đổi tên cột {{name}}"
+ "renameAria": "Đổi tên cột {{name}}",
+ "addColumn": "Thêm cột",
+ "columnHeader": "Cột",
+ "deleteConfirm": "Xóa cột",
+ "deleteDescription": "Không thể xóa cột vẫn còn công việc. Hãy chuyển các công việc đó đi trước.",
+ "deleteTitle": "Xóa “{{name}}”?",
+ "doneHeader": "Hoàn thành",
+ "dragAria": "Sắp xếp lại {{name}}",
+ "reorderError": "Không thể sắp xếp lại các cột"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Cần có chủ sở hữu kho lưu trữ",
- "ownerInvalid": "Định dạng chủ sở hữu kho lưu trữ không hợp lệ",
- "nameRequired": "Cần có tên kho lưu trữ",
- "nameInvalid": "Định dạng tên kho lưu trữ không hợp lệ"
- },
"toast": {
- "installedOk": "Ứng dụng GitHub đã được cài đặt đúng cách!",
- "installedMissingPerms": "Ứng dụng GitHub đã được cài đặt nhưng thiếu quyền cần thiết",
- "needsInstallOnRepo": "Cần cài đặt ứng dụng GitHub trên kho lưu trữ này",
- "repoNotFound": "Không tìm thấy kho lưu trữ hoặc không thể truy cập",
"verifyError": "Không thể xác minh cài đặt GitHub",
"installAppFirst": "Vui lòng cài đặt ứng dụng GitHub trên kho lưu trữ này trước",
"missingPermsDetail": "Ứng dụng GitHub thiếu các quyền cần thiết: {{list}}. Vui lòng cập nhật quyền của ứng dụng.",
@@ -1262,64 +1247,36 @@
"commentOnDisabled": "Đã tắt bình luận liên kết công việc trên issue mới",
"settingsUpdateError": "Không thể cập nhật tích hợp GitHub"
},
- "connectionStatus": "Trạng thái kết nối",
- "connectedActive": "Kho lưu trữ đã kết nối và đang hoạt động",
- "notConnectedHint": "Chưa kết nối kho lưu trữ nào",
- "badgeConnected": "Đã kết nối",
- "badgeNotConnected": "Chưa kết nối",
- "repository": "Kho lưu trữ",
- "repositoryHint": "Kho lưu trữ GitHub đã kết nối",
"commentTaskLinkTitle": "Bình luận liên kết Kaneo trên issue mới",
- "commentTaskLinkHint": "Khi bật, Kaneo sẽ đăng bình luận trên mỗi issue GitHub mới kèm liên kết đến công việc.",
- "appStatusTitle": "Trạng thái ứng dụng GitHub",
- "appStatusHint": "Trạng thái cài đặt và quyền",
- "statusProperlyConfigured": "Đã cấu hình đúng",
- "statusMissingPermissions": "Thiếu quyền",
- "statusNotInstalled": "Chưa cài đặt",
- "ownerLabel": "Chủ sở hữu kho lưu trữ",
- "ownerHint": "Tên người dùng hoặc tổ chức GitHub",
- "ownerPlaceholder": "ví dụ: octocat",
- "repoNameLabel": "Tên kho lưu trữ",
- "repoNameHint": "Tên của kho lưu trữ",
- "repoNamePlaceholder": "ví dụ: my-project",
- "actionsTitle": "Hành động",
- "actionsHint": "Quản lý kết nối kho lưu trữ của bạn",
- "browse": "Duyệt",
- "verify": "Xác minh",
- "update": "Cập nhật",
- "connect": "Kết nối",
- "disconnect": "Ngắt kết nối",
- "missingPermissionsLabel": "Quyền còn thiếu:",
+ "commentTaskLinkHint": "Để mọi người trên GitHub có thể chuyển nhanh đến công việc.",
"updatePermissions": "Cập nhật quyền",
"installGithubApp": "Cài đặt ứng dụng GitHub",
- "importSectionTitle": "Nhập issue từ GitHub",
- "importSectionHint": "Nhập các issue hiện có từ kho lưu trữ GitHub của bạn thành công việc",
- "importing": "Đang nhập...",
- "importIssues": "Nhập issue",
- "importDisabledHint": "Hoàn tất cấu hình kho lưu trữ ở trên để bật tính năng nhập",
+ "importSectionHint": "Nhập các issue đang mở của kho lưu trữ thành công việc.",
+ "importDisabledHint": "Kết nối lại kho lưu trữ để bật tính năng nhập.",
"accountVerificationHint": "Kết nối tài khoản GitHub để xác minh bạn có quyền quản trị kho lưu trữ này.",
"enableGithubSignInHint": "Yêu cầu quản trị viên hệ thống bật đăng nhập bằng GitHub.",
"reverifyHint": "Kết nối lại kho lưu trữ này để xác minh quyền truy cập và tiếp tục đồng bộ hóa.",
"resumeImport": "Resume import",
"importPaused": "This import has saved progress. You can resume it.",
- "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}"
+ "importSummary": "Created: {{imported}} · Updated: {{updated}} · Skipped: {{skipped}}",
+ "chooseRepositoryDescription": "Các issue và pull request từ kho này sẽ liên kết với công việc tại đây.",
+ "linkAccountDescription": "Xác minh rằng bạn có thể quản trị kho lưu trữ.",
+ "linkAccountTitle": "Liên kết tài khoản GitHub của bạn",
+ "linked": "Đã liên kết",
+ "linkGithub": "Liên kết GitHub",
+ "verifyMissingPermissions": "Kaneo GitHub App đang thiếu quyền: {{list}}.",
+ "verifyNotInstalled": "Kaneo GitHub App chưa được cài đặt trên kho lưu trữ này.",
+ "verifyReady": "Kaneo GitHub App đã được cài đặt với các quyền cần thiết.",
+ "workflowHint": "Di chuyển công việc khi pull request được mở hoặc gộp trong",
+ "workflowLink": "Quy trình làm việc"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Cần có URL gốc Gitea",
- "baseUrlInvalid": "Nhập một URL hợp lệ (ví dụ: https://gitea.example.com)",
- "ownerRequired": "Cần có chủ sở hữu kho lưu trữ",
- "ownerInvalid": "Định dạng chủ sở hữu kho lưu trữ không hợp lệ",
- "nameRequired": "Cần có tên kho lưu trữ",
- "nameInvalid": "Định dạng tên kho lưu trữ không hợp lệ"
+ "baseUrlInvalid": "Nhập một URL hợp lệ (ví dụ: https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Token Gitea có thể truy cập kho lưu trữ này",
- "verifyWarning": "Hãy kiểm tra quyền token hoặc quyền truy cập kho lưu trữ",
- "repoNotFound": "Không tìm thấy kho lưu trữ hoặc không thể truy cập",
"verifyError": "Không thể xác minh quyền truy cập Gitea",
- "tokenRequired": "Cần có personal access token",
- "tokenRequiredVerify": "Nhập token để xác minh",
"verifyFirst": "Xác minh quyền truy cập thất bại. Hãy kiểm tra URL, token và kho lưu trữ",
"updated": "Đã lưu tích hợp Gitea",
"updateError": "Không thể lưu tích hợp Gitea",
@@ -1329,56 +1286,22 @@
"importError": "Không thể nhập issue",
"commentOnEnabled": "Kaneo sẽ bình luận kèm liên kết công việc trên các issue mới",
"commentOnDisabled": "Đã tắt bình luận liên kết công việc trên issue mới",
- "settingsUpdateError": "Không thể cập nhật tích hợp Gitea",
- "secretCopied": "Đã sao chép",
- "unableToCopySecret": "Không thể sao chép khóa bí mật",
- "notGiteaInstance": "The URL does not point to a Gitea instance",
- "redirected": "Gitea URL redirected (usually to HTTPS). Use the final URL directly."
- },
- "webhookShow": "Hiện",
- "webhookHide": "Ẩn",
- "webhookCopy": "Sao chép",
- "connectionStatus": "Trạng thái kết nối",
- "connectedActive": "Kho lưu trữ đã kết nối và đang hoạt động",
- "notConnectedHint": "Chưa kết nối kho lưu trữ Gitea nào",
- "badgeConnected": "Đã kết nối",
- "badgeNotConnected": "Chưa kết nối",
- "repository": "Kho lưu trữ",
- "repositoryHint": "Kho lưu trữ Gitea đã liên kết",
+ "settingsUpdateError": "Không thể cập nhật tích hợp Gitea"
+ },
"commentTaskLinkTitle": "Bình luận liên kết Kaneo trên issue mới",
- "commentTaskLinkHint": "Khi bật, Kaneo sẽ đăng bình luận trên mỗi issue mới kèm liên kết đến công việc.",
- "webhookTitle": "Webhook",
- "webhookHint": "Trong kho lưu trữ Gitea của bạn, hãy thêm một webhook với URL và khóa bí mật này. Bật push, pull request, issues, issue comments và create (cho nhãn).",
- "webhookSecretLabel": "Khóa bí mật (phải khớp với khóa bí mật webhook trong Gitea)",
+ "commentTaskLinkHint": "Để mọi người trên Gitea có thể chuyển nhanh đến công việc.",
+ "webhookHint": "Thêm webhook này trong cài đặt kho lưu trữ để các thay đổi được gửi về Kaneo.",
"baseUrlLabel": "URL Gitea",
- "baseUrlHint": "URL gốc của phiên bản Gitea của bạn",
"tokenLabel": "Personal access token",
- "tokenHint": "Token có quyền truy cập repo và issues",
"tokenPlaceholder": "Dán token",
"tokenPlaceholderUpdate": "Dán token mới để thay thế",
- "currentToken": "đã lưu",
- "ownerLabel": "Chủ sở hữu",
- "ownerHint": "Tên người dùng hoặc tổ chức",
- "repoNameLabel": "Tên kho lưu trữ",
- "repoNameHint": "Chỉ tên kho lưu trữ (không có chủ sở hữu)",
- "actionsTitle": "Hành động",
- "actionsHint": "Xác minh quyền truy cập và kết nối",
- "browse": "Duyệt",
- "verify": "Xác minh",
- "update": "Cập nhật",
- "connect": "Kết nối",
- "disconnect": "Ngắt kết nối",
- "importSectionTitle": "Nhập issue từ Gitea",
- "importSectionHint": "Nhập các issue và pull request đang mở từ kho lưu trữ",
- "importing": "Đang nhập…",
- "importIssues": "Nhập issue",
- "importDisabledHint": "Hãy xác minh kho lưu trữ ở trên để bật tính năng nhập",
- "browseModalTitle": "Kho lưu trữ của bạn",
- "browseModalHint": "Các kho lưu trữ mà token của bạn có thể truy cập",
- "searchRepos": "Tìm kiếm…",
- "browseNeedsCredentials": "Nhập URL và token Gitea để duyệt",
- "loadingRepos": "Đang tải kho lưu trữ…",
- "retry": "Thử lại"
+ "importSectionHint": "Nhập các issue và pull request đang mở thành công việc.",
+ "importDisabledHint": "Tính năng nhập cần quyền truy cập đã xác minh. Hãy kiểm tra trạng thái token ở trên.",
+ "browseModalHint": "Các kho lưu trữ mà token của bạn có thể truy cập.",
+ "browseNeedsCredentials": "Nhập URL Gitea và token để duyệt.",
+ "browseEmpty": "Token này không thấy kho lưu trữ nào.",
+ "chooseRepositoryDescription": "Nhập owner/name hoặc chọn từ danh sách.",
+ "webhookEvents": "Bật các sự kiện push, pull request, issue, issue comment và create."
},
"slackIntegration": {
"validation": {
@@ -1393,30 +1316,10 @@
"removed": "Gỡ bỏ tích hợp Slack thành công",
"removeError": "Không thể gỡ bỏ tích hợp Slack"
},
- "connectionTitle": "Kết nối webhook Slack",
- "connectionHint": "Dán URL webhook đến của Slack và chọn sự kiện công việc nào sẽ được đăng.",
- "connected": "Đã kết nối",
- "paused": "Đã tạm dừng",
- "webhookLabel": "URL webhook đến",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "Tạo một Incoming Webhook trong Slack và dán URL được tạo vào đây.",
- "channelLabel": "Tên kênh",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Nhãn tùy chọn để bạn tham khảo. Slack kiểm soát kênh đích thực tế từ cấu hình webhook.",
- "eventsTitle": "Thông báo sự kiện",
- "eventsHint": "Chọn thay đổi dự án nào sẽ đăng lên Slack.",
- "events": {
- "taskCreated": "Công việc mới",
- "taskStatusChanged": "Thay đổi trạng thái",
- "taskPriorityChanged": "Thay đổi mức ưu tiên",
- "taskTitleChanged": "Thay đổi tiêu đề",
- "taskDescriptionChanged": "Thay đổi mô tả",
- "taskCommentCreated": "Bình luận mới"
- },
+ "webhookHint": "Tạo một incoming webhook trong Slack và dán vào đây.",
"connect": "Kết nối Slack",
- "saveChanges": "Lưu thay đổi",
- "update": "Cập nhật Slack",
- "disconnect": "Ngắt kết nối"
+ "update": "Cập nhật Slack"
},
"discordIntegration": {
"validation": {
@@ -1431,34 +1334,15 @@
"removed": "Gỡ bỏ tích hợp Discord thành công",
"removeError": "Không thể gỡ bỏ tích hợp Discord"
},
- "connectionTitle": "Kết nối webhook Discord",
- "connectionHint": "Dán URL webhook Discord và chọn sự kiện công việc nào sẽ được đăng.",
- "connected": "Đã kết nối",
- "paused": "Đã tạm dừng",
- "webhookLabel": "URL webhook",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "Tạo một webhook kênh Discord và dán URL được tạo vào đây.",
- "channelLabel": "Tên kênh",
- "channelPlaceholder": "#team-updates",
- "channelHint": "Nhãn tùy chọn để bạn tham khảo. Discord kiểm soát kênh đích thực tế từ cấu hình webhook.",
- "eventsTitle": "Thông báo sự kiện",
- "eventsHint": "Chọn thay đổi dự án nào sẽ đăng lên Discord.",
- "events": {
- "taskCreated": "Công việc mới",
- "taskStatusChanged": "Thay đổi trạng thái",
- "taskPriorityChanged": "Thay đổi mức ưu tiên",
- "taskTitleChanged": "Thay đổi tiêu đề",
- "taskDescriptionChanged": "Thay đổi mô tả",
- "taskCommentCreated": "Bình luận mới"
- },
+ "webhookHint": "Tạo một webhook kênh trong Discord và dán vào đây.",
"connect": "Kết nối Discord",
- "saveChanges": "Lưu thay đổi",
- "update": "Cập nhật Discord",
- "disconnect": "Ngắt kết nối"
+ "update": "Cập nhật Discord"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "Nhập một URL webhook hợp lệ"
+ "webhookInvalid": "Nhập một URL webhook hợp lệ",
+ "leadTimeRange": "Chọn thời gian từ 5 phút đến 720 giờ."
},
"toast": {
"saved": "Đã lưu tích hợp webhook chung thành công",
@@ -1469,25 +1353,20 @@
"removed": "Gỡ bỏ tích hợp webhook chung thành công",
"removeError": "Không thể gỡ bỏ tích hợp webhook chung"
},
- "connectionTitle": "Kết nối webhook gửi đi",
- "connectionHint": "Gửi sự kiện công việc đến điểm cuối của riêng bạn dưới dạng JSON. Tiêu đề X-Kaneo-Signature đã ký sẽ được thêm vào khi có cấu hình khóa bí mật.",
- "connected": "Đã kết nối",
- "paused": "Đã tạm dừng",
"webhookLabel": "URL điểm cuối",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo gửi yêu cầu POST với nội dung JSON cho mỗi sự kiện đã bật.",
"secretLabel": "Khóa bí mật ký",
- "secretPlaceholder": "Khóa bí mật dùng chung (không bắt buộc)",
- "secretHint": "Không bắt buộc. Nếu được cung cấp, Kaneo sẽ ký nội dung yêu cầu và gửi mã băm hex trong tiêu đề X-Kaneo-Signature.",
- "secretHintConfigured": "Đã cấu hình khóa bí mật ký ({{secret}}). Nhập khóa mới để thay thế.",
- "eventsTitle": "Thông báo sự kiện",
- "eventsHint": "Chọn thay đổi dự án nào sẽ kích hoạt webhook gửi đi.",
+ "secretPlaceholder": "Khóa bí mật dùng chung",
+ "secretHint": "Kaneo dùng khóa này để ký mỗi yêu cầu và gửi mã băm trong tiêu đề X-Kaneo-Signature.",
+ "secretHintConfigured": "Khóa bí mật hiện tại: {{secret}}. Dán khóa mới để thay thế.",
+ "eventsTitle": "Gửi khi",
"events": {
- "taskCreated": "Công việc mới",
- "taskStatusChanged": "Thay đổi trạng thái",
- "taskPriorityChanged": "Thay đổi mức ưu tiên",
- "taskTitleChanged": "Thay đổi tiêu đề",
- "taskDescriptionChanged": "Thay đổi mô tả",
+ "taskCreated": "Công việc được tạo",
+ "taskStatusChanged": "Trạng thái đã thay đổi",
+ "taskPriorityChanged": "Mức ưu tiên đã thay đổi",
+ "taskTitleChanged": "Tiêu đề đã thay đổi",
+ "taskDescriptionChanged": "Mô tả đã thay đổi",
"taskCommentCreated": "Bình luận mới",
"taskDeleted": "Xóa công việc",
"taskMoved": "Di chuyển công việc",
@@ -1496,16 +1375,19 @@
"taskUnassigned": "Hủy giao công việc",
"dueDateReminder": "Nhắc nhở ngày đến hạn"
},
- "reminderLeadTimeLabel": "Gửi webhook trước bao nhiêu giờ",
+ "reminderLeadTimeLabel": "Số giờ trước khi công việc đến hạn",
"connect": "Kết nối webhook",
- "saveChanges": "Lưu thay đổi",
- "disconnect": "Ngắt kết nối"
+ "activeTitle": "Đang gửi sự kiện",
+ "disconnectDescription": "Kaneo sẽ ngừng gửi sự kiện và xóa điểm cuối cùng khóa bí mật đã lưu.",
+ "disconnectTitle": "Ngắt kết nối webhook?",
+ "reminderLeadTimeAfter": "giờ trước khi công việc đến hạn",
+ "reminderLeadTimeBefore": "Gửi nhắc nhở"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "Nhập một token bot Telegram hợp lệ",
"chatIdRequired": "Cần có Chat ID",
- "threadIdInvalid": "Nhập một ID luồng chủ đề Telegram hợp lệ"
+ "threadIdInvalid": "Nhập ID chủ đề hợp lệ"
},
"toast": {
"saved": "Đã lưu tích hợp Telegram thành công",
@@ -1516,55 +1398,38 @@
"removed": "Gỡ bỏ tích hợp Telegram thành công",
"removeError": "Không thể gỡ bỏ tích hợp Telegram"
},
- "connectionTitle": "Kết nối bot Telegram",
- "connectionHint": "Dùng token bot Telegram và Chat ID để gửi cập nhật công việc dự án vào một cuộc trò chuyện hoặc chủ đề.",
- "connected": "Đã kết nối",
- "paused": "Đã tạm dừng",
"botTokenLabel": "Token bot",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "Tạo một bot với BotFather và dán token của nó vào đây.",
- "botTokenHintConfigured": "Đã cấu hình token bot ({{token}}). Nhập token mới để thay thế.",
+ "botTokenHintConfigured": "Token hiện tại: {{token}}",
"chatIdLabel": "Chat ID",
"chatIdPlaceholder": "-1001234567890 hoặc @team_updates",
- "chatIdHint": "Nhập Chat ID Telegram hoặc tên người dùng kênh nơi cập nhật sẽ được đăng.",
- "threadIdLabel": "ID luồng chủ đề",
- "threadIdPlaceholder": "ID chủ đề (không bắt buộc)",
- "threadIdHint": "Không bắt buộc. Dùng cho các chủ đề diễn đàn trong nhóm Telegram.",
- "chatLabelLabel": "Nhãn cuộc trò chuyện",
+ "threadIdLabel": "ID chủ đề",
+ "threadIdPlaceholder": "Dành cho chủ đề diễn đàn",
+ "chatLabelLabel": "Tên cuộc trò chuyện",
"chatLabelPlaceholder": "Cập nhật kỹ thuật",
- "chatLabelHint": "Nhãn tùy chọn để bạn tham khảo trong Kaneo.",
- "eventsTitle": "Thông báo sự kiện",
- "eventsHint": "Chọn thay đổi dự án nào sẽ đăng lên Telegram.",
- "events": {
- "taskCreated": "Công việc mới",
- "taskStatusChanged": "Thay đổi trạng thái",
- "taskPriorityChanged": "Thay đổi mức ưu tiên",
- "taskTitleChanged": "Thay đổi tiêu đề",
- "taskDescriptionChanged": "Thay đổi mô tả",
- "taskCommentCreated": "Bình luận mới"
- },
"connect": "Kết nối Telegram",
- "saveChanges": "Lưu thay đổi",
- "disconnect": "Ngắt kết nối"
+ "botTokenSavedPlaceholder": "Đã lưu. Dán token mới để thay thế.",
+ "loadError": "Không thể tải cài đặt Telegram."
},
"repositoryBrowser": {
- "title": "Chọn kho lưu trữ",
- "description": "Chọn một kho lưu trữ nơi ứng dụng GitHub của bạn được cài đặt để bật đồng bộ issue.",
- "searchPlaceholder": "Tìm kho lưu trữ...",
- "loadError": "Không thể tải kho lưu trữ",
+ "title": "Chọn một kho lưu trữ",
+ "description": "Các kho lưu trữ mà Kaneo GitHub App có thể thấy.",
+ "searchPlaceholder": "Tìm kho lưu trữ",
+ "loadError": "Không thể tải kho lưu trữ.",
"tryAgain": "Thử lại",
- "emptyTitle": "Không tìm thấy kho lưu trữ nào",
+ "emptyTitle": "Chưa có kho lưu trữ nào",
"emptyHint": "Cài đặt ứng dụng GitHub trên các kho lưu trữ của bạn để thấy chúng ở đây.",
"installGithubApp": "Cài đặt ứng dụng GitHub",
- "noSearchMatchTitle": "Không có kho lưu trữ khớp với tìm kiếm của bạn",
- "noSearchMatchHint": "Hãy thử điều chỉnh từ khóa tìm kiếm hoặc xóa tìm kiếm để xem tất cả kho lưu trữ.",
- "footerSummary": "{{repoCount}} kho lưu trữ trong {{installationCount}} lượt cài đặt",
- "manageInstallations": "Quản lý cài đặt",
- "updatedPrefix": "Đã cập nhật",
- "relativeJustNow": "vừa xong",
- "relativeMinutesAgo": "{{count}} phút trước",
- "relativeHoursAgo": "{{count}} giờ trước",
- "relativeDaysAgo": "{{count}} ngày trước"
+ "noSearchMatchTitle": "Không có kho lưu trữ phù hợp",
+ "noSearchMatchHint": "Thử tên khác hoặc xóa tìm kiếm.",
+ "emptyPageHint": "Không có trên trang này. Tải thêm để tiếp tục tìm.",
+ "loadMore": "Tải thêm",
+ "manageAccess": "Quản lý quyền truy cập ứng dụng",
+ "missingOne": "Thiếu kho lưu trữ?",
+ "searching": "Đang tìm…",
+ "updated": "Cập nhật {{time}}",
+ "useRepository": "Dùng kho lưu trữ này"
},
"tasksImportExport": {
"exportTasks": "Xuất công việc",
@@ -1583,27 +1448,26 @@
"importError": "Không thể nhập công việc",
"invalidFormat": "Định dạng file nhập không hợp lệ",
"noFileDropped": "Không có file nào được thả",
- "notJsonFile": "Vui lòng tải lên một file JSON"
+ "notJsonFile": "Vui lòng tải lên một file JSON",
+ "export": "Xuất",
+ "exportDescription": "Tải xuống mọi công việc trong dự án này dưới dạng file.",
+ "import": "Nhập",
+ "importDescription": "Thêm công việc từ một file bạn đã xuất trước đó."
},
"workflowEditor": {
- "loading": "Đang tải...",
- "createColumnsFirst": "Hãy tạo cột trước để cấu hình quy tắc tự động hóa.",
- "githubHeading": "GitHub",
- "githubHint": "Khi một sự kiện GitHub xảy ra, di chuyển công việc liên kết đến một cột.",
- "giteaHeading": "Gitea",
- "giteaHint": "Khi một sự kiện webhook Gitea xảy ra, di chuyển công việc liên kết đến một cột.",
- "selectColumnPlaceholder": "Chọn cột...",
- "toastUpdated": "Đã cập nhật quy tắc quy trình làm việc",
"toastError": "Không thể cập nhật quy tắc",
"events": {
- "branch_push": "Push nhánh",
- "pr_opened": "Mở PR",
- "pr_merged": "Gộp PR",
- "issue_opened": "Mở issue",
- "issue_closed": "Đóng issue"
- },
- "gitlabHeading": "GitLab",
- "gitlabHint": "When a GitLab webhook event occurs, move the linked task to a column."
+ "branch_push": "Đã push nhánh",
+ "pr_opened": "Đã mở pull request",
+ "pr_merged": "Đã gộp pull request",
+ "issue_opened": "Đã mở issue",
+ "issue_closed": "Đã đóng issue"
+ },
+ "connectMore": "Kết nối {{providers}} trong <link>Tích hợp</link> để tự động hóa cả chúng.",
+ "dontMove": "Không di chuyển",
+ "emptyDescription": "Tự động hóa cần một kho lưu trữ GitHub, Gitea hoặc GitLab đã kết nối.",
+ "emptyTitle": "Không có kho lưu trữ nào được kết nối",
+ "openIntegrations": "Mở tích hợp"
},
"externalLinks": {
"resources": "Tài nguyên",
@@ -1622,26 +1486,7 @@
"removeError": "Failed to remove the resource link."
},
"mattermostIntegration": {
- "channelHint": "Optional label for your reference. Mattermost controls the actual destination channel from the webhook setup.",
- "channelLabel": "Channel name",
- "channelPlaceholder": "#team-updates",
"connect": "Connect Mattermost",
- "connected": "Connected",
- "connectionHint": "Paste a Mattermost incoming webhook URL and choose which task events should be posted.",
- "connectionTitle": "Mattermost webhook connection",
- "disconnect": "Disconnect",
- "events": {
- "taskCommentCreated": "New comments",
- "taskCreated": "New tasks",
- "taskDescriptionChanged": "Description changes",
- "taskPriorityChanged": "Priority changes",
- "taskStatusChanged": "Status changes",
- "taskTitleChanged": "Title changes"
- },
- "eventsHint": "Choose which project changes should post to Mattermost.",
- "eventsTitle": "Event notifications",
- "paused": "Paused",
- "saveChanges": "Save changes",
"toast": {
"disabled": "Mattermost notifications paused",
"enabled": "Mattermost notifications enabled",
@@ -1655,58 +1500,90 @@
"validation": {
"webhookInvalid": "Enter a valid Mattermost webhook URL"
},
- "webhookHint": "Create an Incoming Webhook in Mattermost and paste the generated URL here.",
- "webhookLabel": "Incoming webhook URL",
+ "webhookHint": "Tạo một incoming webhook trong Mattermost và dán vào đây.",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/..."
},
"customFields": {
- "addButton": "Add",
"createError": "Failed to create custom field.",
"createSuccess": "Custom field created.",
"creating": "Creating...",
"defaultLabel": "Default",
"defaultValuePlaceholder": "Default value",
- "deleteButton": "Delete",
"deleteError": "Failed to delete custom field.",
"deleteSuccess": "Custom field deleted.",
"deleting": "Deleting...",
- "empty": "No custom fields configured yet.",
- "loading": "Loading custom fields...",
"namePlaceholder": "Field name",
"noOptionsPlaceholder": "No options",
- "optionsPlaceholder": "Options separated by commas",
"required": "Required",
- "typePlaceholder": "Select field type",
"types": {
- "boolean": "Boolean",
+ "boolean": "Hộp kiểm",
"date": "Date",
"dropdown": "Dropdown",
"number": "Number",
"text": "Text",
- "multiselect": "Multi-Select"
+ "multiselect": "Danh sách thả xuống, chọn nhiều"
},
"availableOptions": "Available options",
- "clearDefault": "Clear",
- "defaultValues": "{{count}} default(s)",
+ "clearDefault": "Xóa mặc định",
"moreOptions": "+{{hiddenCount}} more",
- "multiple": "Multiple",
- "options": "{{count}} option(s)",
"reorderError": "Failed to reorder fields",
- "selectPlaceholder": "Select option(s)"
+ "selectPlaceholder": "Select option(s)",
+ "actionsAria": "Thao tác cho {{name}}",
+ "addOption": "Thêm tùy chọn",
+ "allowSeveral": "Cho phép chọn nhiều",
+ "allowSeveralDescription": "Một công việc có thể chọn nhiều tùy chọn.",
+ "checked": "Đã chọn",
+ "createField": "Tạo trường",
+ "defaultDescription": "Công việc mới sẽ bắt đầu với giá trị này.",
+ "deleteConfirm": "Xóa trường",
+ "deleteDescription": "Trường và giá trị của trường trên mọi công việc sẽ bị xóa. Thao tác này không thể hoàn tác.",
+ "deleteTitle": "Xóa “{{name}}”?",
+ "dialogDescription": "Mọi công việc trong {{project}} sẽ có trường này.",
+ "dialogDescriptionFallback": "Mọi công việc trong dự án này sẽ có trường này.",
+ "dragAria": "Sắp xếp lại {{name}}",
+ "dragOptionAria": "Sắp xếp lại {{option}}",
+ "edit": "Chỉnh sửa",
+ "editTitle": "Chỉnh sửa trường",
+ "emptyDescription": "Theo dõi kích thước, khách hàng hoặc ngày ra mắt trên mọi công việc.",
+ "emptyTitle": "Chưa có trường tùy chỉnh nào",
+ "issues": {
+ "defaultRequired": "Trường bắt buộc cần có giá trị mặc định.",
+ "moreOptionsRequired": "Thêm ít nhất hai tùy chọn để cho phép chọn nhiều.",
+ "optionsRequired": "Thêm ít nhất một tùy chọn."
+ },
+ "nameLabel": "Tên",
+ "newTitle": "Trường mới",
+ "noDefault": "Không có mặc định",
+ "optionsLabel": "Tùy chọn",
+ "removeOptionAria": "Gỡ {{option}}",
+ "renameOptionAria": "Đổi tên {{option}}",
+ "requiredDescription": "Mọi công việc luôn có giá trị.",
+ "save": "Lưu",
+ "saving": "Đang lưu...",
+ "startsAs": "Mặc định là “{{value}}”",
+ "startsAt": "Mặc định là {{value}}",
+ "startsChecked": "Mặc định được chọn",
+ "startsOn": "Mặc định là {{date}}",
+ "startsUnchecked": "Mặc định không chọn",
+ "typeLabel": "Loại",
+ "typeLocked": "Không thể đổi loại sau khi đã tạo trường.",
+ "unchecked": "Chưa chọn",
+ "updateError": "Không thể lưu trường tùy chỉnh.",
+ "updateSuccess": "Đã lưu trường tùy chỉnh."
},
"administration": "Administration",
"adminUsers": {
"actions": {
- "deactivate": "Deactivate account",
- "edit": "Edit account",
+ "deactivate": "Vô hiệu hóa",
+ "edit": "Chỉnh sửa",
"open": "Actions for {{name}}",
- "reactivate": "Reactivate account"
+ "reactivate": "Kích hoạt lại"
},
"clearSearch": "Clear search",
"columns": {
"actions": "Actions",
"joined": "Joined",
- "role": "Global role",
+ "role": "Vai trò",
"status": "Status",
"user": "User"
},
@@ -1728,7 +1605,7 @@
},
"working": "Working…"
},
- "directoryTitle": "User directory",
+ "directoryTitle": "Tất cả người dùng",
"edit": {
"description": "Update this account's identity and instance-wide access.",
"email": "Email address",
@@ -1741,7 +1618,6 @@
},
"emptyDescription": "Try another name or email address.",
"emptyTitle": "No users found",
- "instanceBadge": "Instance",
"loadError": "Users could not be loaded.",
"next": "Next",
"pagination": "Page {{current}} of {{total}}",
@@ -1749,18 +1625,18 @@
"refreshing": "Refreshing users",
"retry": "Retry",
"roles": {
- "admin": "Instance admin",
+ "admin": "Quản trị viên",
"user": "User"
},
"searchCount_other": "{{count}} matching users",
"searchLabel": "Search users",
- "searchPlaceholder": "Search name or email…",
+ "searchPlaceholder": "Tìm theo tên hoặc email",
"status": {
"active": "Active",
"deactivated": "Deactivated"
},
- "subtitle": "Manage every account registered on this Kaneo instance.",
- "title": "User management",
+ "subtitle": "Tất cả những người có tài khoản trên phiên bản Kaneo này.",
+ "title": "Người dùng",
"toast": {
"actionError": "Failed to update user status",
"deactivated": "User deactivated",
@@ -1769,8 +1645,7 @@
"updated": "User updated",
"updateError": "Failed to update user"
},
- "userCount_other": "{{count}} registered users",
- "you": "(you)"
+ "you": "Bạn"
},
"security": "Security",
"securityPage": {
@@ -1785,11 +1660,10 @@
"title": "Password change isn't available"
},
"pageTitle": "Security",
- "sectionSubtitle": "Change the password you use to sign in.",
- "sectionTitle": "Password",
- "submit": "Update password",
- "submitting": "Updating...",
- "subtitle": "Manage your password and account security.",
+ "sectionTitle": "Đăng nhập",
+ "submit": "Đổi mật khẩu",
+ "submitting": "Đang đổi...",
+ "subtitle": "Cách bạn đăng nhập vào Kaneo.",
"title": "Security",
"updateError": "Failed to update password.",
"updateSuccess": "Password updated.",
@@ -1799,94 +1673,61 @@
"mismatch": "Passwords do not match.",
"tooShort": "New password must be at least 8 characters.",
"sameAsCurrent": "New password must be different from your current password."
- }
+ },
+ "changePassword": "Đổi mật khẩu",
+ "dialogDescription": "Ít nhất 8 ký tự, khác với mật khẩu hiện tại.",
+ "dialogTitle": "Đổi mật khẩu",
+ "passwordHint": "Dùng ít nhất 8 ký tự mà bạn không dùng ở nơi khác.",
+ "passwordTitle": "Mật khẩu"
},
"gitlabIntegration": {
- "actionsHint": "Verify access and connect",
- "actionsTitle": "Actions",
- "badgeConnected": "Connected",
- "badgeNotConnected": "Not connected",
- "baseUrlHint": "https://gitlab.com, or the root URL of your instance",
"baseUrlLabel": "GitLab URL",
- "browse": "Browse",
- "browseModalHint": "Projects your token is a member of",
- "browseModalTitle": "Your projects",
- "browseNeedsCredentials": "Enter GitLab URL and token to browse",
- "commentTaskLinkHint": "When enabled, Kaneo comments with a link to the task on each issue opened in GitLab.",
+ "browseModalHint": "Các dự án mà token của bạn là thành viên.",
+ "browseNeedsCredentials": "Nhập URL GitLab và token để duyệt.",
+ "commentTaskLinkHint": "Để mọi người trên GitLab có thể chuyển nhanh đến công việc.",
"commentTaskLinkTitle": "Comment a Kaneo link on issues opened in GitLab",
- "connect": "Connect",
- "connectedActive": "Project connected and active",
- "connectionStatus": "Connection status",
- "currentToken": "stored",
- "disconnect": "Disconnect",
- "importDisabledHint": "Verify the project above to enable importing",
- "importing": "Importing…",
- "importIssues": "Import issues",
- "importSectionHint": "Import open issues and merge requests from the project",
- "importSectionTitle": "Import GitLab issues",
- "loadingProjects": "Loading projects…",
- "notConnectedHint": "No GitLab project connected",
+ "importSectionHint": "Nhập các issue và merge request đang mở thành công việc.",
"openInGitlab": "Open {{project}} in GitLab",
- "project": "Project",
- "projectHint": "Linked GitLab project",
- "projectPathHint": "Full path including any groups, e.g. group/subgroup/project",
"projectPathLabel": "Project path",
- "retry": "Retry",
- "searchProjects": "Search…",
+ "searchProjects": "Tìm dự án",
"toast": {
"commentOnDisabled": "Task link comments on issues opened in GitLab are turned off",
"commentOnEnabled": "Kaneo will comment with a task link on issues opened in GitLab",
"importError": "Failed to import issues",
"issuesImported": "Issues imported successfully",
- "notGitlabInstance": "The URL does not point to a GitLab instance",
- "projectNotFound": "Project not found or not accessible",
- "redirected": "GitLab URL redirected (usually to HTTPS). Use the final URL directly.",
"removed": "GitLab integration removed",
"removeError": "Failed to remove GitLab integration",
- "secretCopied": "Copied",
"settingsUpdateError": "Failed to update GitLab integration",
- "tokenRequired": "Access token is required",
- "tokenRequiredVerify": "Enter a token to verify",
- "unableToCopySecret": "Unable to copy secret",
"updated": "GitLab integration saved",
"updateError": "Failed to save GitLab integration",
"verifyError": "Failed to verify GitLab access",
- "verifyFirst": "Verify access failed. Check URL, token, and project path",
- "verifyOk": "GitLab token can access this project",
- "verifyWarning": "Check token permissions or project access"
+ "verifyFirst": "Verify access failed. Check URL, token, and project path"
},
- "tokenHint": "Token with api scope and at least Developer on the project",
"tokenLabel": "Access token",
"tokenPlaceholder": "Paste token",
"tokenPlaceholderUpdate": "Paste new token to rotate",
"tokenTypeBearer": "OAuth2 token",
- "tokenTypeHint": "How the token is sent. Access tokens use PRIVATE-TOKEN; an OAuth2 token uses Authorization.",
"tokenTypeLabel": "Token type",
"tokenTypePrivate": "Personal, project or group access token",
- "update": "Update",
"validation": {
"baseUrlInvalid": "Enter a valid URL (e.g. https://gitlab.com)",
"baseUrlRequired": "GitLab base URL is required",
- "pathInvalid": "Enter the full path, e.g. group/project",
- "pathRequired": "Project path is required"
- },
- "verify": "Verify",
- "webhookCopy": "Copy",
- "webhookHide": "Hide",
- "webhookHint": "In your GitLab project, add a webhook with this URL and secret token. Enable push, issues, comments, and merge request events.",
- "webhookSecretLabel": "Secret token (must match the one set on the webhook in GitLab)",
- "webhookShow": "Show",
- "webhookTitle": "Webhook",
- "loadProjectsError": "Failed to load projects",
- "importPermissionHint": "Importing requires permission to create and update tasks."
+ "pathInvalid": "Enter the full path, e.g. group/project"
+ },
+ "webhookHint": "Thêm webhook này trong cài đặt dự án để các thay đổi được gửi về Kaneo.",
+ "loadProjectsError": "Không thể tải dự án.",
+ "importPermissionHint": "Importing requires permission to create and update tasks.",
+ "browseEmpty": "Token này không phải là thành viên của dự án nào.",
+ "chooseProjectDescription": "Nhập đường dẫn hoặc chọn từ danh sách.",
+ "noSearchMatchTitle": "Không có dự án phù hợp",
+ "useProject": "Dùng dự án này",
+ "webhookEvents": "Bật các sự kiện push, issue, comment và merge request."
},
"calendarFeeds": {
"title": "Calendar feeds",
"subtitle": "Subscribe to scheduled project tasks in your calendar app.",
- "createTitle": "Create a calendar feed",
- "filterHint": "Include tasks with a start or due date. Select labels to include only tasks matching at least one, or leave empty to include all scheduled project tasks.",
- "labels": "Labels",
- "selectLabels": "Search and select labels…",
+ "labels": "Chỉ bao gồm nhãn",
+ "selectLabels": "Thêm nhãn",
"noLabels": "No labels found.",
"timeZoneHint": "All-day dates use {{timeZone}}.",
"accessHint": "Anyone with a feed link can read the matching task titles, descriptions, and dates. Revoke a link to stop future access.",
@@ -1894,20 +1735,29 @@
"creating": "Creating…",
"created": "Calendar feed created.",
"createError": "Could not create the calendar feed.",
- "activeFeeds": "Active feeds",
- "allScheduledTasks": "All scheduled project tasks",
- "subscribeHint": "Copy a link and add it as a calendar subscription. Updates appear when your calendar app refreshes the feed.",
- "empty": "No calendar feeds yet.",
- "feedUrl": "Calendar feed URL",
+ "activeFeeds": "Nguồn cấp",
+ "allScheduledTasks": "Tất cả công việc đã lên lịch",
+ "subscribeHint": "Thêm liên kết vào ứng dụng lịch dưới dạng đăng ký. Cập nhật sẽ xuất hiện khi ứng dụng làm mới nguồn cấp.",
"copy": "Copy link",
- "copied": "Calendar feed link copied.",
"copyError": "Could not copy the link. Select the URL and copy it manually.",
"revoke": "Revoke",
"revoked": "Calendar feed revoked.",
"revokeError": "Could not revoke the calendar feed.",
"loadError": "Could not load calendar feeds or labels. Please try again.",
"deletedLabel": "Deleted label",
- "permissionRequired": "You need project-sharing permission to manage calendar feeds."
+ "permissionRequired": "You need project-sharing permission to manage calendar feeds.",
+ "copiedLabel": "Đã sao chép",
+ "dialogDescription": "Các công việc có ngày bắt đầu hoặc ngày đến hạn sẽ xuất hiện trong nguồn cấp.",
+ "dialogTitle": "Nguồn cấp lịch mới",
+ "emptyDescription": "Tạo nguồn cấp để xem các công việc đã lên lịch trong ứng dụng lịch của bạn.",
+ "emptyTitle": "Chưa có nguồn cấp lịch nào",
+ "feedActions": "Thao tác với nguồn cấp",
+ "labelsHint": "Để trống để bao gồm mọi công việc đã lên lịch.",
+ "newFeed": "Nguồn cấp mới",
+ "revokeConfirm": "Thu hồi nguồn cấp",
+ "revokeConfirmDescription": "Các ứng dụng lịch dùng liên kết này sẽ ngừng nhận cập nhật. Thao tác này không thể hoàn tác.",
+ "revokeConfirmTitle": "Thu hồi nguồn cấp này?",
+ "revoking": "Đang thu hồi…"
},
"invitationEmailFailed": "Invitation saved, but email delivery failed. Check SMTP settings and resend the invitation.",
"billing": {
@@ -1919,7 +1769,6 @@
"title": "Choose a plan"
},
"currentPlan": {
- "subtitle": "Your workspace's active plan and billing status.",
"title": "Current plan"
},
"disabled": "Billing isn't enabled on this instance. Self-hosted Kaneo includes every feature, free forever.",
@@ -1952,7 +1801,6 @@
"mostPopular": "Most popular",
"opening": "Opening...",
"pageTitle": "Billing",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "Personal",
@@ -1963,7 +1811,7 @@
"tagline": "For teams working together"
}
},
- "portalHint": "Update payment method, view invoices, or cancel anytime.",
+ "portalHint": "Hóa đơn, phương thức thanh toán và việc hủy gói được xử lý trong Creem.",
"price": {
"billedMonthly": "Billed monthly",
"billedYearly": "{{price}} / month, billed yearly",
@@ -1986,13 +1834,13 @@
"scheduled_cancel": "Cancels soon",
"trialing": "Trial"
},
- "subtitle": "Manage the Kaneo Cloud subscription for this workspace.",
+ "subtitle": "Gói của bạn cho {{workspace}}.",
"trial": {
"activeTitle": "Free trial",
- "daysLeft_other": "You have {{count}} days left on your free trial. Choose a plan to continue without interruption.",
"expiredDescription": "Subscribe to a plan below to keep creating and editing. Your data stays safe and exportable in the meantime.",
"expiredTitle": "Your trial has ended",
- "noDate": "Choose a plan below to continue after your trial."
+ "noDate": "Choose a plan below to continue after your trial.",
+ "badgeDaysLeft_other": "Còn {{count}} ngày"
},
"trialCard": {
"activeDescription": "Upgrade anytime to keep your workspace after the trial.",
@@ -2010,15 +1858,12 @@
"addLabel": "Add label",
"advancedHint": "Enable Advanced settings in Preferences to edit these rules.",
"all": "All tasks and issues",
- "allSummary": "All of: {{labels}}",
"any": "Any selected label",
- "anySummary": "Any of: {{labels}}",
"apply": "Apply sync rules",
"closed": "Closed",
"every": "All selected labels",
"excluded": "Outside the current rule",
"filtered": "Only matching labels",
- "filteredBadge": "Filtered by labels",
"impact": "{{matching}} of {{total}} tasks match. {{create}} tasks will be exported, {{pause}} links will pause, and {{review}} links need review to resume.",
"impactTitle": "What will change",
"incoming": "Repository → Kaneo",
@@ -2035,7 +1880,6 @@
"outgoing": "Kaneo → repository",
"outgoingHint": "Choose which Kaneo tasks can sync. Losing a matching label pauses both directions for an existing task.",
"paused": "Sync paused",
- "pausedCount_other": "{{count}} paused links",
"pausedHint": "Records and links are preserved. Tasks that match again need review before syncing resumes.",
"preserveHint": "Pausing keeps both records and their link. Resuming requires a comparison; historical comments are never replayed.",
"previewing": "Checking sync impact…",
@@ -2054,16 +1898,28 @@
"saveError": "Could not apply these rules. The integration or task scope may have changed. Refresh the preview and try again.",
"selectLabel": "Select at least one label to preview this rule.",
"sharedHint": "These rules apply to everyone using this project. Hiding advanced settings does not disable them.",
- "title": "Sync scope",
+ "title": "Nội dung đồng bộ",
"unavailableLabel": "Unavailable label",
"useKaneo": "Keep Kaneo values",
"useRepository": "Keep repository values",
"exportPending": "Export matching tasks",
"inactiveHint": "This integration is paused. No tasks will be exported until it is reactivated.",
"loadSavedRules": "Load saved rules",
- "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules."
- },
- "advancedSettingsDescription": "A personal display preference for this browser across all your workspaces.",
+ "rulesChanged": "The saved rules changed while you were editing. Your draft is preserved. Review the current rules above before applying it, or load the saved rules.",
+ "allIssues": "Tất cả issue",
+ "allTasks": "Tất cả công việc",
+ "edit": "Chỉnh sửa",
+ "hidePaused": "Ẩn",
+ "issuesLabelled": "Issue có nhãn",
+ "joinAnd": "và",
+ "joinOr": "hoặc",
+ "kaneoToProvider": "Kaneo sang {{provider}}",
+ "pausedSummary_other": "{{count}} công việc đã ngừng đồng bộ vì không còn khớp với quy tắc đồng bộ.",
+ "providerToKaneo": "{{provider}} sang Kaneo",
+ "reviewPaused": "Xem lại",
+ "tasksLabelled": "Công việc có nhãn"
+ },
+ "advancedSettingsDescription": "Hiển thị thêm các tùy chọn điều khiển, như quy tắc đồng bộ tích hợp. Chỉ áp dụng trên trình duyệt này.",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2100,23 +1956,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "Tất cả không gian làm việc",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
"editAccess": "Change project access for {{name}} ({{access}})",
@@ -2135,9 +1983,9 @@
"retry": "Retry",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "Tìm theo tên hoặc slug",
+ "subtitle": "Mọi không gian làm việc trên phiên bản Kaneo này, kể cả những nơi bạn không tham gia.",
+ "title": "Không gian làm việc",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2147,8 +1995,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2387,6 +2234,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "Tắt để tạm dừng mà không mất thiết lập.",
+ "activeTitle": "Đang đăng lên {{provider}}",
+ "channelHint": "Chỉ là tên hiển thị trong danh sách này.",
+ "channelLabel": "Kênh",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "Ngắt kết nối",
+ "disconnectDescription": "Kaneo sẽ ngừng đăng lên {{provider}} và xóa các cài đặt đã lưu.",
+ "disconnecting": "Đang ngắt kết nối…",
+ "disconnectTitle": "Ngắt kết nối {{provider}}?",
+ "events": {
+ "taskCommentCreated": "Có người bình luận",
+ "taskCreated": "Một công việc được tạo",
+ "taskDescriptionChanged": "Mô tả thay đổi",
+ "taskPriorityChanged": "Mức ưu tiên thay đổi",
+ "taskStatusChanged": "Trạng thái thay đổi",
+ "taskTitleChanged": "Tiêu đề thay đổi"
+ },
+ "optional": "Không bắt buộc",
+ "postWhen": "Đăng khi",
+ "retry": "Thử lại",
+ "saveChanges": "Lưu thay đổi",
+ "savedUrlPlaceholder": "Đã lưu. Dán URL mới để thay thế.",
+ "webhookUrlLabel": "URL webhook"
+ },
+ "codeHosting": {
+ "browse": "Duyệt",
+ "changeToken": "Đổi token",
+ "checking": "Đang kiểm tra quyền truy cập…",
+ "chooseProjectTitle": "Chọn một dự án",
+ "chooseRepositoryTitle": "Chọn một kho lưu trữ",
+ "connectProject": "Kết nối dự án",
+ "connectRepository": "Kết nối kho lưu trữ",
+ "copied": "Đã sao chép",
+ "copyFailed": "Không thể sao chép vào bộ nhớ tạm.",
+ "copySecret": "Sao chép khóa bí mật",
+ "copyUrl": "Sao chép URL webhook",
+ "disconnect": "Ngắt kết nối",
+ "disconnectDescription": "Công việc sẽ ngừng đồng bộ với {{target}}. Bạn có thể kết nối lại sau.",
+ "disconnecting": "Đang ngắt kết nối…",
+ "disconnectTitle": "Ngắt kết nối {{provider}}?",
+ "hideSecret": "Ẩn khóa bí mật",
+ "importing": "Đang nhập…",
+ "importIssues": "Nhập issue",
+ "importNeedsReconnect": "Kết nối lại để bật tính năng nhập.",
+ "importTitle": "Nhập các issue đang mở",
+ "issuesSection": "Issue",
+ "lastImport": "Lần nhập gần nhất: tạo {{imported}}, cập nhật {{updated}}, bỏ qua {{skipped}}.",
+ "loadError": "Không thể tải tích hợp này.",
+ "pausedHint": "Đồng bộ đang tạm dừng. Kết nối lại để tiếp tục.",
+ "projectSection": "Dự án",
+ "reconnect": "Kết nối lại",
+ "repositoryPathInvalid": "Nhập kho lưu trữ theo dạng owner/name.",
+ "repositoryPathLabel": "Kho lưu trữ",
+ "repositorySection": "Kho lưu trữ",
+ "retry": "Thử lại",
+ "saveToken": "Lưu token",
+ "showSecret": "Hiện khóa bí mật",
+ "signInDescription": "Dùng token có thể đọc dự án và các issue của dự án.",
+ "signInTitle": "Đăng nhập vào máy chủ của bạn",
+ "tokenStored": "Token đã lưu",
+ "tokenTitle": "Token truy cập",
+ "webhookSecret": "Khóa bí mật",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "Kéo để thay đổi thứ tự hiển thị trên công việc.",
+ "fieldsTitle": "Trường",
+ "newField": "Trường mới",
+ "pageTitle": "Trường tùy chỉnh",
+ "subtitle": "Thông tin bổ sung mà mọi công việc trong {{project}} có thể theo dõi, như kích thước hoặc khách hàng.",
+ "subtitleFallback": "Thông tin bổ sung mà mọi công việc trong dự án này có thể theo dõi, như kích thước hoặc khách hàng.",
+ "title": "Trường tùy chỉnh"
+ },
+ "shared": {
+ "autosave": "Thay đổi được lưu tự động"
}
},
"navigation": {
diff --git a/i18n/zh-CN.json b/i18n/zh-CN.json
index c62a4874d..0dece2a89 100644
--- a/i18n/zh-CN.json
+++ b/i18n/zh-CN.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "永不过期"
- },
"modals": {
"createProject": {
"title": "创建新项目",
@@ -561,41 +558,35 @@
"advancedSettings": "高级设置",
"account": "账户",
"developer": "开发者",
- "information": "信息",
+ "information": "个人资料",
"notifications": "通知",
"preferences": "偏好设置",
"apiKeys": "API 密钥",
"informationPage": {
- "pageTitle": "个人信息",
- "title": "个人信息",
- "subtitle": "管理你的个人资料和账户信息。",
- "sectionTitle": "账户信息",
- "sectionSubtitle": "管理你的个人资料和账户详情。",
+ "pageTitle": "个人资料",
+ "title": "个人资料",
+ "subtitle": "你在团队成员面前的展示方式。",
+ "sectionTitle": "详细信息",
"profilePicture": "头像",
"fullName": "姓名",
"fullNamePlaceholder": "输入你的姓名",
"email": "邮箱",
- "emailPlaceholder": "输入你的邮箱",
- "updateSuccess": "资料更新成功",
"updateError": "资料更新失败",
"validation": {
"nameRequired": "名称不能为空",
- "nameShort": "姓名至少需要 2 个字符",
- "invalidEmail": "邮箱地址无效"
+ "nameShort": "姓名至少需要 2 个字符"
},
"avatar": {
- "hint": "点击头像即可更换或移除,图片会裁成正方形并缩放到 256x256。",
- "remove": "移除头像",
+ "hint": "方形图片效果最佳。",
+ "remove": "移除",
"updateSuccess": "头像已更新",
"updateError": "更新头像失败",
"removeSuccess": "头像已移除",
"removeError": "移除头像失败",
- "edit": "更换头像",
- "change": "更换头像"
+ "upload": "上传"
},
"deleteAccount": {
"sectionTitle": "危险区域",
- "sectionSubtitle": "以下操作会永久影响你的整个账户。",
"title": "删除账户",
"description": "只有你一个人的工作区会随账户一起删除;其他工作区中,你的任务会保留并转为未指派,你发表的评论会被移除。",
"modalTitle": "删除你的账户?",
@@ -605,34 +596,32 @@
"success": "账户已删除",
"error": "删除账户失败",
"sessionTooOld": "为安全起见,请先退出并重新登录,之后才能删除账户。"
- }
+ },
+ "emailHint": "你使用此地址登录。"
},
"notificationsPage": {
"pageTitle": "通知",
"title": "通知",
- "subtitle": "选择 Kaneo 发送账户通知的方式和渠道。",
+ "subtitle": "Kaneo 会通知你哪些内容,以及通过哪些渠道通知你。",
"statusConnected": "已连接",
"statusPaused": "已暂停",
"emailTitle": "邮箱",
- "emailDescription": "使用你的账户邮箱作为通知接收地址。",
- "accountEmailLabel": "账户邮箱",
"accountEmailNoAddress": "无可用账户邮箱",
- "accountEmailHint": "邮件通知始终发送到当前登录账户的邮箱。",
"saveChanges": "保存更改",
"disconnect": "断开连接",
"ntfyTitle": "ntfy",
- "ntfyDescription": "将账户通知发布到 ntfy 主题。",
+ "ntfyDescription": "发布到你手机或桌面上的 ntfy 主题。",
"serverUrl": "服务器地址",
"topic": "主题",
"token": "令牌",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "可选的 Bearer 令牌",
+ "ntfyTokenPlaceholder": "仅在服务器需要时填写",
"ntfyTokenHintConfigured": "已配置令牌({{masked}}),输入新令牌以替换。",
- "ntfyTokenHintOptional": "可选。如果 ntfy 服务器需要身份验证,请提供令牌。",
+ "ntfyTokenHintOptional": "如果你的 ntfy 服务器需要身份验证,请填写。",
"connectNtfy": "连接 ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "将账户通知发送到你的 Gotify 服务器。",
+ "gotifyDescription": "将通知发送到你的 Gotify 服务器。",
"gotifyTokenLabel": "应用令牌",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify 应用令牌",
@@ -640,52 +629,26 @@
"gotifyTokenHintRequired": "必填。请使用你 Gotify 服务器中的应用令牌。",
"connectGotify": "连接 Gotify",
"webhookTitle": "自定义 Webhook",
- "webhookDescription": "将账户通知以 JSON 形式发送到你的端点。",
+ "webhookDescription": "以 JSON 格式将每条通知发送到你自己的端点。",
"endpointUrl": "端点 URL",
"signingSecret": "签名密钥",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "可选的共享密钥",
"webhookSecretHintConfigured": "已配置签名密钥({{masked}}),输入新密钥以替换。",
- "webhookSecretHintOptional": "可选。设置密钥后,Kaneo 会对请求体进行签名。",
+ "webhookSecretHintOptional": "设置密钥后,Kaneo 会对请求体进行签名。",
"connectWebhook": "连接 Webhook",
- "workspaceRulesTitle": "工作区通知规则",
- "workspaceRulesDescription": "复用你的全局渠道,然后决定哪些工作区和项目可以发送账户通知。",
- "workspaceCardHint": "选择该工作区可使用哪些渠道发送账户通知。",
- "workspaceEnabledLabel": "为 {{workspaceName}} 启用通知",
"eventPreferencesTitle": "通知我关于",
- "eventPreferencesDescription": "选择哪些任务事件会创建应用内通知并推送到已连接的渠道。",
- "eventTaskAssignments": "任务指派",
+ "eventPreferencesDescription": "你自己的评论、提及和状态变更不会通知你。",
+ "eventTaskAssignments": "指派",
"eventComments": "评论和提及",
- "eventCommentsHint": "包括你被指派任务的新评论和 @ 提及。",
- "eventStatusChanges": "任务状态变更",
+ "eventCommentsHint": "你的任务有新评论,或有人 @提及你时。",
+ "eventStatusChanges": "状态变更",
"eventDueDateReminders": "截止日期提醒",
"reminderLeadTimeLabel": "在截止日期前提醒我",
- "reminderLeadTimeHint": "提前 1 小时到 30 天之间。逾期通知会单独发送。",
- "reminderLeadTimeUnitHours": "小时",
- "reminderLeadTimeUnitDays": "天",
"reminderLeadTimeInvalid": "请输入 1 到 {{max}} 之间的整数。",
"saveEventPreferences": "保存通知类型",
- "workspaceCardLabelEmail": "邮箱",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "自定义 Webhook",
- "emailChannelHintEnabled": "通过邮件发送匹配的工作区通知。",
- "emailChannelHintDisabled": "请先在全局配置并启用邮件。",
- "ntfyChannelHintEnabled": "将匹配的工作区通知发送到 ntfy。",
- "ntfyChannelHintDisabled": "请先在全局配置并启用 ntfy。",
- "gotifyChannelHintEnabled": "将匹配的工作区通知发送到 Gotify。",
- "gotifyChannelHintDisabled": "请先在全局配置并启用 Gotify。",
- "webhookChannelHintEnabled": "将匹配的工作区通知发送到你的 Webhook。",
- "webhookChannelHintDisabled": "请先在全局配置并启用 Webhook。",
- "projectScope": "项目范围",
- "projectScopeDescription": "默认包含所有项目。如果该工作区只发送来自所选项目的通知,请缩小范围。",
"allProjects": "所有项目",
- "allProjectsDescription": "从该工作区的所有项目发送通知。",
- "selectedProjects": "已选项目",
- "selectedProjectsDescription": "仅从所选项目发送通知。",
"noProjectsInWorkspace": "该工作区暂无项目。",
- "createRule": "新建规则",
- "removeRule": "移除规则",
"toastEmailSaved": "邮件通知设置已保存",
"toastEmailSaveFailed": "保存邮件设置失败",
"toastNtfySaved": "ntfy 设置已保存",
@@ -708,137 +671,161 @@
"toastPreferencesSaveFailed": "保存通知偏好失败",
"toastRuleSavedGeneric": "工作区通知规则已保存",
"toastRuleRemovedGeneric": "工作区通知规则已移除",
- "recipientHint": "评论和状态变更会向你发送有关分配给你的任务的通知。提及会通知所选成员。你自己的评论、提及和状态变更不会向你发送通知。"
+ "channelNotConnected": "未连接",
+ "channelOff": "已关闭",
+ "channelsDescription": "通知始终会显示在 Kaneo 中。连接渠道后,也可以在其他地方收到通知。",
+ "channelsTitle": "渠道",
+ "configure": "配置",
+ "configureChannel": "配置 {{channel}}",
+ "configureWorkspace": "配置 {{workspaceName}} 的通知",
+ "connect": "连接",
+ "connectChannel": "连接 {{channel}}",
+ "disconnectDescription": "通知将不再发送到 {{channel}},其已保存的设置也会被移除。",
+ "disconnecting": "正在断开连接...",
+ "disconnectTitle": "断开与 {{channel}} 的连接?",
+ "done": "完成",
+ "emailToggleLabel": "通过邮件发送通知",
+ "eventDueDateRemindersHint": "在你的任务到期前提醒。逾期任务会另行通知。",
+ "eventStatusChangesHint": "你的某个任务移动到其他列时。",
+ "eventTaskAssignmentsHint": "有人将任务指派给你时。",
+ "loadFailed": "无法加载通知设置。",
+ "onlyInKaneo": "仅在 Kaneo 中",
+ "optional": "可选",
+ "projectCount_other": "{{count}} 个项目",
+ "reminderLeadTimeUnitDaysBefore_other": "天前",
+ "reminderLeadTimeUnitHoursBefore_other": "小时前",
+ "reminderLeadTimeUnitLabel": "提醒单位",
+ "ruleActiveDescription": "关闭后会暂停此工作区,但保留其设置。",
+ "ruleActiveLabel": "发送中",
+ "ruleChannels": "渠道",
+ "ruleDialogDescription": "此工作区的通知可以发送到哪里。",
+ "ruleDialogTitle": "{{workspaceName}} 通知",
+ "ruleProjects": "项目",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "保存",
+ "sendingDescription": "关闭后会暂停此渠道,但保留其设置。",
+ "sendingLabel": "发送中",
+ "setUp": "设置",
+ "setUpWorkspace": "设置 {{workspaceName}} 的通知",
+ "someProjects": "仅部分",
+ "statusOn": "已开启",
+ "statusSending": "发送中",
+ "stopping": "正在停止...",
+ "stopSending": "停止发送",
+ "stopSendingDescription": "此工作区的通知将只显示在 Kaneo 中。",
+ "stopSendingTitle": "停止从 {{workspaceName}} 发送通知?",
+ "workspacesDescription": "选择哪些工作区和项目可以使用你的渠道。",
+ "workspacesTitle": "工作区"
},
"preferencesPage": {
"title": "偏好设置",
- "subtitle": "自定义你的 Kaneo 体验。",
- "appearanceTitle": "外观",
- "appearanceSubtitle": "视觉设置和布局偏好。",
+ "subtitle": "自定义 Kaneo 的外观和使用方式。",
+ "appearanceTitle": "常规",
"theme": "主题",
- "themeDescription": "选择你偏好的颜色方案",
"selectTheme": "选择主题",
"themeLight": "浅色",
"themeDark": "深色",
"themeSystem": "跟随系统",
"language": "语言",
- "languageDescription": "选择你偏好的界面语言",
"selectLanguage": "选择语言",
"firstDayOfWeek": "每周起始日",
- "firstDayOfWeekDescription": "选择日历和周范围的起始日",
+ "firstDayOfWeekDescription": "用于日历和日期选择器。",
"selectFirstDayOfWeek": "选择起始日",
"weekStartsOnSunday": "周日",
"weekStartsOnMonday": "周一",
"weekStartsOnSaturday": "周六",
"defaultView": "默认视图",
- "defaultViewDescription": "选择你偏好的任务视图模式",
+ "defaultViewDescription": "打开项目时使用的视图。",
"selectViewMode": "选择视图模式",
"board": "看板",
"list": "列表",
"gantt": "甘特图",
- "sidebarDefault": "默认展开侧边栏",
- "sidebarDefaultDescription": "启动时保持侧边栏展开",
- "displayOptions": "显示选项",
- "displayOptionsDescription": "选择任务视图中显示的信息",
+ "sidebarDefault": "保持侧边栏展开",
+ "sidebarDefaultDescription": "启动时展开侧边栏。",
+ "displayOptions": "任务详情",
+ "displayOptionsDescription": "看板和列表中卡片和行上显示的内容。",
"taskNumbers": "任务编号",
- "taskNumbersDescription": "显示任务 ID 和编号",
"assignees": "负责人",
- "assigneesDescription": "显示任务的负责人",
"dueDates": "截止日期",
- "dueDatesDescription": "显示任务截止日期",
"labels": "标签",
- "labelsDescription": "显示任务的标签和标记",
"priority": "优先级",
- "priorityDescription": "显示优先级指示",
"projectBackgrounds": "项目背景",
- "projectBackgroundsDescription": "在看板上显示项目背景图片"
+ "projectBackgroundsDescription": "显示项目为看板设置的背景图片。",
+ "advancedTitle": "高级"
},
"developerPage": {
- "pageTitle": "开发者设置",
- "title": "开发者设置",
- "subtitle": "管理你的 API 密钥和开发者资源。",
- "apiKeysCardTitle": "API 密钥",
- "apiKeysCardDescription": "创建并管理用于以编程方式访问 Kaneo 的 API 密钥。",
- "createApiKey": "创建 API 密钥",
- "unnamedKey": "未命名密钥"
+ "pageTitle": "API 密钥",
+ "title": "API 密钥",
+ "subtitle": "让脚本、CLI 和 MCP 客户端以你的身份使用 Kaneo。",
+ "unnamedKey": "未命名",
+ "emptyDescription": "创建密钥后,即可在 CLI、MCP 客户端或你自己的脚本中使用。",
+ "emptyTitle": "还没有 API 密钥",
+ "keysNote": "密钥拥有和你相同的全部权限。请删除不再使用的密钥。",
+ "keysTitle": "密钥",
+ "loadError": "无法加载 API 密钥,请重试。",
+ "newKey": "新建密钥"
},
"apiKey": {
"createdModal": {
- "title": "API 密钥已创建",
- "description": "你的 API 密钥 \"{{keyName}}\" 已成功创建。",
- "yourApiKey": "你的 API 密钥",
+ "title": "复制你的密钥",
+ "description": "关闭后将无法再次查看。",
"copy": "复制",
"copied": "已复制",
- "toastCopied": "API 密钥已复制到剪贴板",
- "alertTitle": "成功!API 密钥已创建",
- "alertDescription": "请立即复制此密钥,关闭后将无法再次查看。",
"done": "已完成",
- "copyToContinue": "复制密钥以继续"
+ "copyError": "无法复制密钥,请选中后手动复制。"
},
"table": {
- "loading": "正在加载 API 密钥…",
- "empty": "暂无 API 密钥,先创建一个吧。",
- "columnName": "姓名",
- "columnKey": "标识",
- "columnCreated": "创建于",
- "columnExpires": "过期时间",
- "columnActions": "操作",
- "unnamedKey": "未命名密钥",
- "expiredBadge": "{{label}} 已过期",
- "deleteConfirmTitle": "删除 API 密钥?",
- "deleteConfirmDescription": "此操作不可撤销,将永久删除 {{name}}。",
- "deleteFallbackName": "此 API 密钥",
- "delete": "删除",
+ "deleteConfirmTitle": "删除“{{name}}”?",
+ "deleteConfirmDescription": "所有使用此密钥的地方都将无法正常工作,此操作无法撤销。",
+ "delete": "删除密钥",
"deleting": "正在删除…",
- "deleteAria": "删除 {{name}}",
- "deleteAriaFallback": "API 密钥",
"toastDeleted": "API 密钥已删除",
- "toastDeleteError": "删除 API 密钥失败"
+ "toastDeleteError": "无法删除 API 密钥"
},
"createDialog": {
- "title": "创建 API 密钥",
- "description": "创建新的 API 密钥以编程方式访问 Kaneo API。",
+ "title": "新建 API 密钥",
+ "description": "此密钥拥有和你相同的全部权限。",
"nameLabel": "姓名",
"namePlaceholder": "我的 API 密钥",
- "nameDescription": "此 API 密钥的描述性名称",
+ "nameDescription": "方便你记住它的用途。",
"expirationLabel": "有效期",
- "expirationPlaceholder": "选择有效期",
- "expirationDescription": "选择此 API 密钥的有效期。选择“永不过期”将创建一个不会自动过期的密钥。",
"expiration1d": "1 天",
"expiration7d": "7 天",
"expiration30d": "30 天",
"expiration90d": "90 天",
"expirationNever": "永不过期",
- "create": "创建",
- "creating": "创建中…",
- "failedCreate": "创建 API 密钥失败",
+ "create": "创建密钥",
+ "creating": "正在创建…",
+ "failedCreate": "无法创建 API 密钥",
"validation": {
- "nameRequired": "名称不能为空",
- "nameShort": "名称至少需要 3 个字符",
- "expirationRequired": "请选择有效期"
+ "nameRequired": "请输入名称",
+ "nameShort": "至少输入 3 个字符"
}
+ },
+ "row": {
+ "actions": "{{name}} 的操作",
+ "created": "创建于 {{date}}",
+ "expired": "已于 {{date}} 过期",
+ "expiredBadge": "已过期",
+ "expires": "{{date}} 到期",
+ "neverExpires": "永不过期"
}
},
"workspaceGeneral": {
"pageTitle": "常规设置",
- "title": "常规设置",
- "subtitle": "管理工作区名称和描述。",
- "workspaceInfoTitle": "工作区信息",
- "workspaceInfoSubtitle": "配置工作区详情和偏好。",
- "nameLabel": "工作区名称",
- "nameHint": "工作区名称",
+ "title": "常规",
+ "subtitle": "{{name}} 的名称和所有者。",
+ "workspaceInfoTitle": "工作区",
+ "nameLabel": "名称",
"namePlaceholder": "输入工作区名称",
"descriptionLabel": "描述",
- "descriptionHint": "工作区的简要描述",
- "descriptionPlaceholder": "输入工作区描述",
+ "descriptionPlaceholder": "你的团队在做什么?",
"dangerZone": "危险操作",
- "dangerZoneSubtitle": "不可逆的破坏性操作。",
"deleteWorkspace": "删除工作区",
- "deleteWorkspaceDescription": "将工作区安排为永久删除",
+ "deleteWorkspaceDescription": "永久删除 {{name}} 及其项目和任务。",
"deleteModalTitle": "删除工作区?",
- "deleteModalDescription": "这将永久删除工作区 \"{{name}}\" 及其所有数据,此操作不可撤销。",
+ "deleteModalDescription": "这将永久删除 {{name}} 及其所有项目和任务,且无法撤销。",
"deleteModalConfirm": "删除工作区",
- "toastUpdated": "工作区更新成功",
"toastUpdateError": "更新工作区失败",
"toastDeleted": "工作区已删除",
"toastDeleteError": "删除工作区失败",
@@ -850,17 +837,18 @@
"toastSuccess": "所有权已转移",
"toastError": "转移所有权失败",
"title": "转移所有权",
- "subtitle": "将此工作区移交给其他成员。你将降级为管理员,并失去所有者专属权限。",
"pickerLabel": "新所有者",
"noEligibleMembers": "请先邀请至少一名其他成员,才能转移所有权。",
- "pickerHint": "对方将成为此工作区的唯一所有者。",
+ "pickerHint": "新所有者将接管工作区,你将保留管理员身份。",
"pickerPlaceholder": "选择成员",
"button": "转移",
"dialogTitle": "转移所有权?",
"dialogDescription": "{{name}} 将成为 {{workspace}} 的唯一所有者。你将保留管理员权限,但会失去删除工作区或再次转移等所有者专属权限。",
"transferring": "正在转移…",
"confirm": "转移所有权"
- }
+ },
+ "ownershipSubtitle": "只有所有者能看到此部分。",
+ "ownershipTitle": "所有权"
},
"workspaceRoles": {
"pageTitle": "角色",
@@ -1070,22 +1058,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "标签设置",
+ "pageTitle": "标签",
"title": "标签",
- "subtitle": "创建、编辑和删除工作区级标签。",
- "cardDescription": "管理可以分配给任务的标签。",
+ "subtitle": "标签由此工作区中的所有项目共享。",
"createLabel": "创建标签",
"editLabel": "编辑标签",
- "deleteLabel": "删除",
+ "deleteLabel": "删除标签",
"saveLabel": "保存",
- "nameLabel": "标签名称",
- "namePlaceholder": "输入标签名称",
+ "nameLabel": "名称",
+ "namePlaceholder": "标签名称",
"colorLabel": "颜色",
- "createDescription": "创建一个可在此工作区所有任务中使用的新标签。",
- "editDescription": "更新此标签的名称或颜色。",
- "deleteConfirmTitle": "删除此标签?",
- "deleteConfirmDescription": "这将从所有任务中永久移除此标签,此操作不可撤销。",
- "empty": "暂无标签,先创建一个吧。",
+ "createDescription": "此工作区中的项目可以将它添加到任务上。",
+ "editDescription": "更改会显示在所有带有此标签的任务上。",
+ "deleteConfirmTitle": "删除“{{name}}”?",
+ "deleteConfirmDescription": "该标签将从所有使用它的任务中移除,此操作无法撤销。",
"createSuccess": "标签已创建",
"updateSuccess": "标签已更新",
"deleteSuccess": "标签已删除",
@@ -1093,36 +1079,43 @@
"updateError": "更新标签失败",
"deleteError": "删除标签失败",
"nameRequired": "标签名称不能为空",
- "deletionPending": "待删除",
- "resumeDeletion": "继续删除"
+ "deletionPending": "正在从任务中移除…",
+ "resumeDeletion": "继续删除",
+ "editNamed": "编辑 {{name}}",
+ "emptyDescription": "添加标签,在各个项目中对任务进行分类和筛选。",
+ "emptyTitle": "还没有标签",
+ "loadError": "无法加载标签,请重试。",
+ "newLabel": "新建标签",
+ "preview": "在任务上的效果",
+ "previewPlaceholder": "标签",
+ "resume": "继续",
+ "rowActions": "{{name}} 的操作",
+ "sectionDescription": "重命名标签或更改颜色,会同步更新所有使用该标签的任务。",
+ "sectionTitle": "工作区标签",
+ "subtitleWithWorkspace": "标签由 {{workspaceName}} 中的所有项目共享。"
},
"projectGeneral": {
"pageTitle": "项目设置",
- "title": "常规设置",
- "subtitle": "管理项目名称、标识、图标和描述。",
- "projectInfoTitle": "项目信息",
- "projectInfoSubtitle": "配置项目详情和偏好。",
+ "title": "常规",
+ "subtitle": "{{name}} 的名称、标识和外观。",
+ "projectInfoTitle": "项目",
"iconLabel": "图标",
- "iconHint": "显示在侧边栏和项目界面中。",
+ "iconHint": "显示在侧边栏和项目列表中。",
"pickIconTitle": "选择图标",
"searchIconsPlaceholder": "搜索图标…",
- "projectNameLabel": "项目名称",
- "projectNameHint": "项目名称",
- "projectNamePlaceholder": "输入项目名称",
+ "projectNameLabel": "名称",
+ "projectNamePlaceholder": "项目名称",
"keyLabel": "标识",
- "keyHint": "用于工单 ID(例如 {{slug}}-123)",
+ "keyHint": "每个任务 ID 的前缀,例如 {{slug}}-123。",
"keyPlaceholder": "PRO",
"descriptionLabel": "描述",
- "descriptionHint": "项目的简要描述",
- "descriptionPlaceholder": "输入项目描述",
+ "descriptionPlaceholder": "这个项目是做什么的?",
"dangerZone": "危险操作",
- "dangerZoneSubtitle": "不可逆的破坏性操作。",
"deleteProject": "删除项目",
- "deleteProjectDescription": "将项目安排为永久删除",
+ "deleteProjectDescription": "永久删除 {{name}} 及其所有任务。",
"deleteModalTitle": "删除项目?",
- "deleteModalDescription": "这将永久删除项目 \"{{name}}\" 及其所有数据,此操作不可撤销。",
+ "deleteModalDescription": "这将永久删除 {{name}} 及其所有任务,且无法撤销。",
"deleteModalConfirm": "删除项目",
- "toastUpdated": "项目更新成功",
"toastUpdateError": "更新项目失败",
"toastDeleted": "项目已删除",
"toastDeleteError": "删除项目失败",
@@ -1132,40 +1125,42 @@
"keyMax": "标识最多 8 个字符",
"iconRequired": "图标不能为空"
},
- "importExportTasks": "导入/导出",
- "importExportTasksDescription": "导入和导出任务。",
- "backgroundHint": "选择一张图片,作为该项目看板的背景。",
+ "backgroundHint": "显示在看板后面的图片。每个人都可以关闭。",
+ "backgroundUnavailable": "此实例未配置图片上传。",
"backgroundLabel": "看板背景",
"backgroundRemove": "移除图片",
"backgroundRemoveError": "移除项目背景失败",
"backgroundRemoveSuccess": "项目背景已移除",
- "backgroundReplace": "更换图片",
- "backgroundUpload": "上传图片",
+ "backgroundReplace": "替换",
+ "backgroundUpload": "上传",
"backgroundUploadError": "更新项目背景失败",
"backgroundUploadSuccess": "项目背景已更新",
"moveModalConfirm": "移动项目",
- "moveModalDescription": "这将把项目 \"{{name}}\" 及其所有任务移动到 \"{{workspace}}\"。分配给非该工作区成员的任务将被取消分配,此项目的通知订阅也会被清除。",
- "moveModalTitle": "移动项目?",
"moveProject": "移动到其他工作区",
"moveProjectAction": "移动",
- "moveProjectDescription": "将此项目及其所有任务移动到其他工作区。",
+ "moveProjectDescription": "任务、列和标签会一起移动。",
"moveProjectPlaceholder": "选择工作区",
"toastMoved": "项目移动成功",
"toastMovedWithUnassigned": "项目移动成功。已取消分配 {{taskCount}} 个任务。",
"toastMoveError": "移动项目失败",
- "moveTargetsError": "无法检查你可以将此项目移动到哪些工作区。请重新加载页面后重试。"
+ "moveTargetsError": "无法检查你可以将此项目移动到哪些工作区。请重新加载页面后重试。",
+ "moveDialogDescription": "分配给新工作区以外成员的任务将取消分配,此项目的通知订阅也会被清除。",
+ "moveDialogTitle": "移动到其他工作区?",
+ "moveTargetLabel": "工作区",
+ "moving": "正在移动...",
+ "tasksTitle": "任务"
},
"projectIntegrations": {
- "pageTitle": "项目集成",
- "title": "项目集成",
- "subtitle": "将项目与外部工具和服务连接,简化工作流。",
+ "pageTitle": "集成",
+ "title": "集成",
+ "subtitle": "将此项目连接到你的代码托管平台和团队聊天工具。",
"githubSectionTitle": "GitHub 集成",
"githubSectionSubtitle": "与 GitHub Issues 同步任务并启用双向同步。",
"giteaSectionTitle": "Gitea 集成",
"giteaSectionSubtitle": "与自托管的 Gitea 实例同步任务(Issues、PR、Webhook)。",
"discordSectionTitle": "Discord 集成",
"discordSectionSubtitle": "通过 Webhook 将项目任务更新发送到 Discord 频道。",
- "genericWebhookSectionTitle": "通用 Webhook",
+ "genericWebhookSectionTitle": "Webhook",
"genericWebhookSectionSubtitle": "将项目任务事件以 JSON 形式发送到任意 HTTP 端点。",
"slackSectionTitle": "Slack 集成",
"slackSectionSubtitle": "通过 Incoming Webhook 将项目任务更新发送到 Slack 频道。",
@@ -1173,7 +1168,7 @@
"mattermostSectionSubtitle": "借助 Incoming Webhook,把项目任务动态推送到 Mattermost 频道。",
"telegramSectionTitle": "Telegram 集成",
"telegramSectionSubtitle": "通过 Bot 将项目任务更新发送到 Telegram 聊天或话题。",
- "gitlabSectionSubtitle": "与 GitLab.com 或自建实例同步任务(Issue、合并请求、Webhook)。",
+ "gitlabSectionSubtitle": "与 GitLab.com 或自建实例同步任务。",
"gitlabSectionTitle": "GitLab 集成",
"codeHostingTitle": "代码托管",
"chatTitle": "聊天与 Webhook",
@@ -1186,69 +1181,59 @@
"projectVisibility": {
"pageTitle": "项目可见性",
"title": "可见性",
- "subtitle": "控制谁可以查看和访问你的项目。",
- "sectionTitle": "可见性",
- "sectionSubtitle": "切换公开访问并分享公开链接。",
- "publicAccess": "公开访问",
- "publicAccessHint": "允许拥有此链接的任何人查看此项目",
+ "subtitle": "选择 {{workspace}} 以外哪些人可以查看 {{project}}。",
+ "sectionTitle": "访问权限",
+ "publicAccess": "公开链接",
+ "publicAccessHint": "任何拥有链接的人都可以查看看板及其任务,但无法进行任何更改。",
"publicUrl": "公开链接",
- "publicUrlHint": "项目公开后分享此链接",
- "copy": "复制",
- "copiedToast": "已复制",
+ "copy": "复制链接",
"toastUpdated": "可见性已更新",
- "toastUpdateError": "更新可见性失败"
+ "toastUpdateError": "更新可见性失败",
+ "always": "始终",
+ "copied": "已复制",
+ "copyError": "无法复制链接",
+ "membersDescription": "工作区内的所有人,按其角色允许的范围访问。",
+ "membersTitle": "{{workspace}} 成员",
+ "offNote": "关闭公开链接后,链接会立即失效。",
+ "on": "已开启",
+ "openPublicPage": "打开公开页面",
+ "thisWorkspace": "此工作区"
},
"projectWorkflow": {
"pageTitle": "工作流设置",
"title": "工作流",
- "subtitle": "配置此项目的看板列和自动化规则。",
+ "subtitle": "看板上的列,以及在列之间移动任务的规则。",
"columnsTitle": "列",
- "columnsDescription": "管理看板上显示的列,可拖拽排序。打开“完成列”以表示已完成阶段。",
- "automationTitle": "自动化规则",
- "automationDescription": "将集成事件映射到列。当事件发生时,关联的任务会移动到指定的列。",
- "customFieldsDescription": "管理此项目的自定义字段。拖动 即可调整顺序。",
- "customFieldsTitle": "自定义字段"
+ "columnsDescription": "拖动以重新排序。完成列中的任务会计为已完成。",
+ "automationTitle": "自动化",
+ "automationDescription": "当已连接的仓库中发生事件时,移动关联的任务。"
},
"projectSwitcher": {
"selectProject": "选择项目",
"noProjects": "无项目"
},
"columnEditor": {
- "toastCreated": "列已创建",
"toastCreateError": "创建列失败",
- "toastRenamed": "列已重命名",
"toastRenameError": "更新列失败",
- "toastFinalOn": "列已标记为完成",
- "toastFinalOff": "列已取消完成标记",
"toastUpdateError": "更新列失败",
- "toastIconUpdated": "列图标已更新",
- "toastDeleted": "列已删除",
"toastDeleteError": "删除列失败",
- "loading": "正在加载列…",
"pickIconTitle": "选择列图标",
"searchIconsPlaceholder": "搜索图标…",
- "doneColumnTooltip": "将此列视为完成列",
- "doneColumn": "完成列",
"markDoneAria": "将 {{name}} 标记为完成列",
- "on": "开",
- "off": "关",
- "newColumnPlaceholder": "新列名称…",
- "add": "添加",
+ "newColumnPlaceholder": "列名称",
"deleteAria": "删除 {{name}} 列",
- "renameAria": "重命名 {{name}} 列"
+ "renameAria": "重命名 {{name}} 列",
+ "addColumn": "添加列",
+ "columnHeader": "列",
+ "deleteConfirm": "删除列",
+ "deleteDescription": "仍有任务的列无法删除。请先移走这些任务。",
+ "deleteTitle": "删除“{{name}}”?",
+ "doneHeader": "完成",
+ "dragAria": "重新排序 {{name}}",
+ "reorderError": "重新排序列失败"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "仓库所有者不能为空",
- "ownerInvalid": "仓库所有者格式无效",
- "nameRequired": "仓库名称不能为空",
- "nameInvalid": "仓库名称格式无效"
- },
"toast": {
- "installedOk": "GitHub App 已正确安装!",
- "installedMissingPerms": "GitHub App 已安装,但缺少必要权限",
- "needsInstallOnRepo": "此仓库需要安装 GitHub App",
- "repoNotFound": "未找到仓库或无法访问",
"verifyError": "验证 GitHub 安装失败",
"installAppFirst": "请先在此仓库上安装 GitHub App",
"missingPermsDetail": "GitHub App 缺少必要权限:{{list}}。请更新应用权限。",
@@ -1262,66 +1247,36 @@
"commentOnDisabled": "新 Issue 的任务链接评论已关闭",
"settingsUpdateError": "更新 GitHub 集成失败"
},
- "connectionStatus": "连接状态",
- "connectedActive": "仓库已连接并启用",
- "notConnectedHint": "未连接仓库",
- "badgeConnected": "已连接",
- "badgeNotConnected": "未连接",
- "repository": "仓库",
- "repositoryHint": "已连接的 GitHub 仓库",
"commentTaskLinkTitle": "在新 Issue 上评论 Kaneo 链接",
- "commentTaskLinkHint": "启用后,Kaneo 会在每个新 GitHub Issue 上发布包含任务链接的评论。",
- "appStatusTitle": "GitHub App 状态",
- "appStatusHint": "安装与权限状态",
- "statusProperlyConfigured": "配置正确",
- "statusMissingPermissions": "缺少权限",
- "statusNotInstalled": "未安装",
- "ownerLabel": "仓库所有者",
- "ownerHint": "GitHub 用户名或组织",
- "ownerPlaceholder": "例如:octocat",
- "repoNameLabel": "仓库名称",
- "repoNameHint": "仓库名称",
- "repoNamePlaceholder": "例如:my-project",
- "actionsTitle": "操作",
- "actionsHint": "管理仓库连接",
- "browse": "浏览",
- "verify": "验证",
- "update": "更新",
- "connect": "连接",
- "disconnect": "断开连接",
- "missingPermissionsLabel": "缺少权限:",
+ "commentTaskLinkHint": "方便 GitHub 上的人跳转到对应任务。",
"updatePermissions": "更新权限",
"installGithubApp": "安装 GitHub App",
- "importSectionTitle": "导入 GitHub Issues",
- "importSectionHint": "将 GitHub 仓库中已有的 Issue 导入为任务",
- "importing": "导入中…",
- "importIssues": "导入 Issues",
- "importDisabledHint": "完成上方仓库配置后即可启用导入",
+ "importSectionHint": "将仓库中未关闭的 Issue 导入为任务。",
+ "importDisabledHint": "重新连接仓库后即可导入。",
"accountVerificationHint": "连接你的 GitHub 账户,以验证你拥有此仓库的管理员权限。",
"enableGithubSignInHint": "请联系实例管理员启用 GitHub 登录。",
"reverifyHint": "重新连接此仓库,以验证访问权限并恢复同步。",
"resumeImport": "继续导入",
"importPaused": "本次导入已保存进度,可以继续导入。",
- "importSummary": "已创建:{{imported}} · 已更新:{{updated}} · 已跳过:{{skipped}}"
+ "importSummary": "已创建:{{imported}} · 已更新:{{updated}} · 已跳过:{{skipped}}",
+ "chooseRepositoryDescription": "该仓库的 Issue 和 PR 会关联到这里的任务。",
+ "linkAccountDescription": "用于证明你有权管理该仓库。",
+ "linkAccountTitle": "关联你的 GitHub 账号",
+ "linked": "已关联",
+ "linkGithub": "关联 GitHub",
+ "verifyMissingPermissions": "Kaneo GitHub App 缺少以下权限:{{list}}。",
+ "verifyNotInstalled": "Kaneo GitHub App 尚未安装到此仓库。",
+ "verifyReady": "Kaneo GitHub App 已安装,并具备所需权限。",
+ "workflowHint": "要在 PR 打开或合并时移动任务,请前往",
+ "workflowLink": "工作流"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "Gitea 基础 URL 不能为空",
- "baseUrlInvalid": "请输入有效的 URL(例如 https://gitea.example.com)",
- "ownerRequired": "仓库所有者不能为空",
- "ownerInvalid": "仓库所有者格式无效",
- "nameRequired": "仓库名称不能为空",
- "nameInvalid": "仓库名称格式无效"
+ "baseUrlInvalid": "请输入有效的 URL(例如 https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea 令牌可访问此仓库",
- "verifyWarning": "请检查令牌权限或仓库访问",
- "repoNotFound": "未找到仓库或无法访问",
- "redirected": "Gitea 地址发生重定向(通常转为 HTTPS),请直接使用重定向后的最终地址。",
- "notGiteaInstance": "该 URL 不指向 Gitea 实例",
"verifyError": "验证 Gitea 访问失败",
- "tokenRequired": "个人访问令牌不能为空",
- "tokenRequiredVerify": "输入令牌以验证",
"verifyFirst": "访问验证失败,请检查 URL、令牌和仓库",
"updated": "Gitea 集成已保存",
"updateError": "保存 Gitea 集成失败",
@@ -1331,54 +1286,22 @@
"importError": "导入 Issues 失败",
"commentOnEnabled": "Kaneo 将在新 Issue 上评论任务链接",
"commentOnDisabled": "新 Issue 的任务链接评论已关闭",
- "settingsUpdateError": "更新 Gitea 集成失败",
- "secretCopied": "已复制",
- "unableToCopySecret": "无法复制密钥"
- },
- "webhookShow": "显示",
- "webhookHide": "隐藏",
- "webhookCopy": "复制",
- "connectionStatus": "连接状态",
- "connectedActive": "仓库已连接并启用",
- "notConnectedHint": "未连接 Gitea 仓库",
- "badgeConnected": "已连接",
- "badgeNotConnected": "未连接",
- "repository": "仓库",
- "repositoryHint": "已关联的 Gitea 仓库",
+ "settingsUpdateError": "更新 Gitea 集成失败"
+ },
"commentTaskLinkTitle": "在新 Issue 上评论 Kaneo 链接",
- "commentTaskLinkHint": "启用后,Kaneo 会在每个新 Issue 上发布一条包含任务链接的评论。",
- "webhookTitle": "Webhook",
- "webhookHint": "在你的 Gitea 仓库中,添加使用此 URL 和密钥的 Webhook。启用 push、pull request、issues、issue comments 和 create(用于标签)。",
- "webhookSecretLabel": "密钥(必须与 Gitea 中的 Webhook 密钥一致)",
+ "commentTaskLinkHint": "方便 Gitea 上的人跳转到对应任务。",
+ "webhookHint": "在仓库设置中添加此 Webhook,以便将变更同步回 Kaneo。",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "你的 Gitea 实例的根 URL",
"tokenLabel": "个人访问令牌",
- "tokenHint": "具有 repo 和 issues 访问权限的令牌",
"tokenPlaceholder": "粘贴令牌",
"tokenPlaceholderUpdate": "粘贴新令牌以轮换",
- "currentToken": "已保存",
- "ownerLabel": "所有者",
- "ownerHint": "用户或组织名称",
- "repoNameLabel": "仓库名称",
- "repoNameHint": "仅仓库名称(不含所有者)",
- "actionsTitle": "操作",
- "actionsHint": "验证访问并连接",
- "browse": "浏览",
- "verify": "验证",
- "update": "更新",
- "connect": "连接",
- "disconnect": "断开连接",
- "importSectionTitle": "导入 Gitea Issues",
- "importSectionHint": "从该仓库导入打开的 Issues 和 PR",
- "importing": "导入中…",
- "importIssues": "导入 Issues",
- "importDisabledHint": "完成上方仓库验证后即可启用导入",
- "browseModalTitle": "你的仓库",
- "browseModalHint": "你的令牌可访问的仓库",
- "searchRepos": "搜索…",
- "browseNeedsCredentials": "输入 Gitea URL 和令牌以浏览",
- "loadingRepos": "正在加载仓库…",
- "retry": "重试"
+ "importSectionHint": "将未关闭的 Issue 和 PR 导入为任务。",
+ "importDisabledHint": "导入需要已验证的访问权限。请检查上方的令牌状态。",
+ "browseModalHint": "你的令牌可以访问的仓库。",
+ "browseNeedsCredentials": "输入 Gitea URL 和令牌即可浏览。",
+ "browseEmpty": "此令牌看不到任何仓库。",
+ "chooseRepositoryDescription": "输入 owner/name,或从列表中选择。",
+ "webhookEvents": "启用 push、pull request、issue、issue comment 和 create 事件。"
},
"slackIntegration": {
"validation": {
@@ -1393,30 +1316,10 @@
"removed": "Slack 集成已移除",
"removeError": "移除 Slack 集成失败"
},
- "connectionTitle": "Slack Webhook 连接",
- "connectionHint": "粘贴 Slack Incoming Webhook URL 并选择应发布的任务事件。",
- "connected": "已连接",
- "paused": "已暂停",
- "webhookLabel": "Incoming webhook URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "在 Slack 中创建 Incoming Webhook,然后粘贴生成的 URL。",
- "channelLabel": "频道名称",
- "channelPlaceholder": "#team-updates",
- "channelHint": "可选参考标签。实际的目标频道由 Slack 在 Webhook 设置中控制。",
- "eventsTitle": "事件通知",
- "eventsHint": "选择应发布到 Slack 的项目变更。",
- "events": {
- "taskCreated": "新任务",
- "taskStatusChanged": "状态变更",
- "taskPriorityChanged": "优先级变更",
- "taskTitleChanged": "标题变更",
- "taskDescriptionChanged": "描述变更",
- "taskCommentCreated": "新评论"
- },
+ "webhookHint": "在 Slack 中创建 Incoming Webhook,然后粘贴到这里。",
"connect": "连接 Slack",
- "saveChanges": "保存更改",
- "update": "更新 Slack",
- "disconnect": "断开连接"
+ "update": "更新 Slack"
},
"discordIntegration": {
"validation": {
@@ -1431,30 +1334,10 @@
"removed": "Discord 集成已移除",
"removeError": "移除 Discord 集成失败"
},
- "connectionTitle": "Discord Webhook 连接",
- "connectionHint": "粘贴 Discord Webhook URL 并选择应发布的任务事件。",
- "connected": "已连接",
- "paused": "已暂停",
- "webhookLabel": "Webhook URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "在 Discord 中创建频道 Webhook,然后粘贴生成的 URL。",
- "channelLabel": "频道名称",
- "channelPlaceholder": "#team-updates",
- "channelHint": "可选参考标签。实际的目标频道由 Discord 在 Webhook 设置中控制。",
- "eventsTitle": "事件通知",
- "eventsHint": "选择哪些项目变更会发布到 Discord。",
- "events": {
- "taskCreated": "新任务",
- "taskStatusChanged": "状态变更",
- "taskPriorityChanged": "优先级变更",
- "taskTitleChanged": "标题变更",
- "taskDescriptionChanged": "描述变更",
- "taskCommentCreated": "新评论"
- },
+ "webhookHint": "在 Discord 中创建频道 Webhook,然后粘贴到这里。",
"connect": "连接 Discord",
- "saveChanges": "保存更改",
- "update": "更新 Discord",
- "disconnect": "断开连接"
+ "update": "更新 Discord"
},
"mattermostIntegration": {
"validation": {
@@ -1469,34 +1352,15 @@
"removed": "Mattermost 集成已移除",
"removeError": "移除 Mattermost 集成失败"
},
- "connectionTitle": "Mattermost Webhook 连接",
- "connectionHint": "粘贴 Mattermost 的 Incoming Webhook URL,再勾选要推送哪些任务动态。",
- "connected": "已连接",
- "paused": "已暂停",
- "webhookLabel": "Incoming webhook URL",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/...",
- "webhookHint": "先在 Mattermost 中创建 Incoming Webhook,再把生成的 URL 粘贴到此处。",
- "channelLabel": "频道名称",
- "channelPlaceholder": "#team-updates",
- "channelHint": "仅作参考的备注名称,消息实际发到哪个频道由 Mattermost 侧的 Webhook 设置决定。",
- "eventsTitle": "事件通知",
- "eventsHint": "勾选要推送到 Mattermost 的项目事件。",
- "events": {
- "taskCreated": "新任务",
- "taskStatusChanged": "状态变更",
- "taskPriorityChanged": "优先级变更",
- "taskTitleChanged": "标题变更",
- "taskDescriptionChanged": "描述变更",
- "taskCommentCreated": "新评论"
- },
+ "webhookHint": "在 Mattermost 中创建 Incoming Webhook,然后粘贴到这里。",
"connect": "连接 Mattermost",
- "saveChanges": "保存更改",
- "update": "更新 Mattermost",
- "disconnect": "断开连接"
+ "update": "更新 Mattermost"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "请输入有效的 Webhook URL"
+ "webhookInvalid": "请输入有效的 Webhook URL",
+ "leadTimeRange": "请选择 5 分钟到 720 小时之间的时间。"
},
"toast": {
"saved": "通用 Webhook 集成保存成功",
@@ -1507,25 +1371,20 @@
"removed": "通用 Webhook 集成已移除",
"removeError": "移除通用 Webhook 集成失败"
},
- "connectionTitle": "出站 Webhook 连接",
- "connectionHint": "将任务事件以 JSON 形式发送到你的端点。配置密钥后会包含带签名的 X-Kaneo-Signature 头。",
- "connected": "已连接",
- "paused": "已暂停",
"webhookLabel": "端点 URL",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo 会为每个已启用的事件发送带 JSON 负载的 POST 请求。",
"secretLabel": "签名密钥",
- "secretPlaceholder": "可选的共享密钥",
- "secretHint": "可选。提供后,Kaneo 会对请求体进行签名,并通过 X-Kaneo-Signature 头发送十六进制摘要。",
- "secretHintConfigured": "已配置签名密钥({{secret}}),输入新密钥以替换。",
- "eventsTitle": "事件通知",
- "eventsHint": "选择哪些项目变更会触发出站 Webhook。",
+ "secretPlaceholder": "共享密钥",
+ "secretHint": "Kaneo 会用它为每个请求签名,并在 X-Kaneo-Signature 头中发送摘要。",
+ "secretHintConfigured": "当前密钥:{{secret}}。粘贴新的密钥即可替换。",
+ "eventsTitle": "发送时机",
"events": {
- "taskCreated": "新任务",
- "taskStatusChanged": "状态变更",
- "taskPriorityChanged": "优先级变更",
- "taskTitleChanged": "标题变更",
- "taskDescriptionChanged": "描述变更",
+ "taskCreated": "任务已创建",
+ "taskStatusChanged": "状态已变更",
+ "taskPriorityChanged": "优先级已变更",
+ "taskTitleChanged": "标题已变更",
+ "taskDescriptionChanged": "描述已变更",
"taskCommentCreated": "新评论",
"taskDeleted": "任务已删除",
"taskMoved": "任务已移动",
@@ -1534,16 +1393,19 @@
"taskUnassigned": "任务已取消指派",
"dueDateReminder": "截止日期提醒"
},
- "reminderLeadTimeLabel": "提前这么多小时发送 Webhook",
+ "reminderLeadTimeLabel": "任务截止前的小时数",
"connect": "连接 Webhook",
- "saveChanges": "保存更改",
- "disconnect": "断开连接"
+ "activeTitle": "正在发送事件",
+ "disconnectDescription": "Kaneo 将停止发送事件,并移除已保存的端点和密钥。",
+ "disconnectTitle": "断开 Webhook 连接?",
+ "reminderLeadTimeAfter": "小时发送提醒",
+ "reminderLeadTimeBefore": "在任务截止前"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "请输入有效的 Telegram Bot 令牌",
"chatIdRequired": "聊天 ID 不能为空",
- "threadIdInvalid": "请输入有效的 Telegram 话题 ID"
+ "threadIdInvalid": "请输入有效的话题 ID"
},
"toast": {
"saved": "Telegram 集成保存成功",
@@ -1554,55 +1416,38 @@
"removed": "Telegram 集成已移除",
"removeError": "移除 Telegram 集成失败"
},
- "connectionTitle": "Telegram Bot 连接",
- "connectionHint": "使用 Telegram Bot 令牌和聊天 ID 将项目任务更新发送到聊天或话题。",
- "connected": "已连接",
- "paused": "已暂停",
"botTokenLabel": "Bot 令牌",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "使用 BotFather 创建机器人,然后粘贴其令牌。",
- "botTokenHintConfigured": "已配置 Bot 令牌({{token}}),输入新令牌以替换。",
+ "botTokenHintConfigured": "当前令牌:{{token}}",
"chatIdLabel": "聊天 ID",
"chatIdPlaceholder": "-1001234567890 或 @team_updates",
- "chatIdHint": "输入要发布更新的 Telegram 聊天 ID 或频道用户名。",
"threadIdLabel": "话题 ID",
- "threadIdPlaceholder": "可选的话题 ID",
- "threadIdHint": "可选。用于 Telegram 群组内的论坛话题。",
- "chatLabelLabel": "聊天标签",
+ "threadIdPlaceholder": "用于论坛话题",
+ "chatLabelLabel": "聊天名称",
"chatLabelPlaceholder": "工程更新",
- "chatLabelHint": "在 Kaneo 中作为参考的可选标签。",
- "eventsTitle": "事件通知",
- "eventsHint": "选择应发布到 Telegram 的项目变更。",
- "events": {
- "taskCreated": "新任务",
- "taskStatusChanged": "状态变更",
- "taskPriorityChanged": "优先级变更",
- "taskTitleChanged": "标题变更",
- "taskDescriptionChanged": "描述变更",
- "taskCommentCreated": "新评论"
- },
"connect": "连接 Telegram",
- "saveChanges": "保存更改",
- "disconnect": "断开连接"
+ "botTokenSavedPlaceholder": "已保存。粘贴新的令牌即可替换。",
+ "loadError": "无法加载 Telegram 设置。"
},
"repositoryBrowser": {
"title": "选择仓库",
- "description": "选择已安装 GitHub App 的仓库以启用 Issue 同步。",
- "searchPlaceholder": "搜索仓库…",
- "loadError": "加载仓库失败",
+ "description": "Kaneo GitHub App 可以访问的仓库。",
+ "searchPlaceholder": "搜索仓库",
+ "loadError": "无法加载仓库。",
"tryAgain": "重试",
- "emptyTitle": "未找到仓库",
+ "emptyTitle": "还没有仓库",
"emptyHint": "在你的仓库上安装 GitHub App 后即可在此查看。",
"installGithubApp": "安装 GitHub App",
"noSearchMatchTitle": "没有匹配的仓库",
- "noSearchMatchHint": "请调整搜索条件或清空搜索以查看所有仓库。",
- "footerSummary": "{{installationCount}} 个安装中的 {{repoCount}} 个仓库",
- "manageInstallations": "管理安装",
- "updatedPrefix": "更新于",
- "relativeJustNow": "刚刚",
- "relativeMinutesAgo": "{{count}} 分钟前",
- "relativeHoursAgo": "{{count}} 小时前",
- "relativeDaysAgo": "{{count}} 天前"
+ "noSearchMatchHint": "换个名称试试,或清空搜索。",
+ "emptyPageHint": "本页没有。加载更多以继续查找。",
+ "loadMore": "加载更多",
+ "manageAccess": "管理应用访问权限",
+ "missingOne": "找不到?",
+ "searching": "正在搜索…",
+ "updated": "更新于 {{time}}",
+ "useRepository": "使用此仓库"
},
"tasksImportExport": {
"exportTasks": "导出任务",
@@ -1621,27 +1466,26 @@
"importError": "导入任务失败",
"invalidFormat": "导入文件格式无效",
"noFileDropped": "未拖入文件",
- "notJsonFile": "请上传 JSON 文件"
+ "notJsonFile": "请上传 JSON 文件",
+ "export": "导出",
+ "exportDescription": "将此项目中的所有任务下载为文件。",
+ "import": "导入",
+ "importDescription": "从之前导出的文件中添加任务。"
},
"workflowEditor": {
- "loading": "加载中…",
- "createColumnsFirst": "请先创建列以配置自动化规则。",
- "githubHeading": "GitHub",
- "githubHint": "当 GitHub 事件发生时,将关联任务移动到指定列。",
- "giteaHeading": "Gitea",
- "giteaHint": "当 Gitea Webhook 事件发生时,将关联任务移动到指定列。",
- "selectColumnPlaceholder": "选择列…",
- "toastUpdated": "工作流规则已更新",
"toastError": "更新规则失败",
"events": {
- "branch_push": "分支推送",
+ "branch_push": "分支已推送",
"pr_opened": "PR 已开启",
"pr_merged": "PR 已合并",
"issue_opened": "Issue 已开启",
"issue_closed": "Issue 已关闭"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "GitLab Webhook 事件发生时,把关联的任务移动到指定列。"
+ "connectMore": "在<link>集成</link>中连接 {{providers}},也可以为它们设置自动化。",
+ "dontMove": "不移动",
+ "emptyDescription": "自动化需要先连接 GitHub、Gitea 或 GitLab 仓库。",
+ "emptyTitle": "没有已连接的仓库",
+ "openIntegrations": "打开集成"
},
"externalLinks": {
"resources": "资源",
@@ -1660,53 +1504,86 @@
"removeError": "移除资源链接失败。"
},
"customFields": {
- "addButton": "添加",
"createError": "创建自定义字段失败。",
"createSuccess": "自定义字段已创建。",
"creating": "正在创建…",
"defaultLabel": "默认",
"defaultValuePlaceholder": "默认值",
- "deleteButton": "删除",
"deleteError": "删除自定义字段失败。",
"deleteSuccess": "自定义字段已删除。",
"deleting": "正在删除…",
- "empty": "还没有配置自定义字段。",
- "loading": "正在加载自定义字段…",
"namePlaceholder": "字段名称",
"noOptionsPlaceholder": "暂无选项",
- "optionsPlaceholder": "用英文逗号 (,) 分隔选项",
"required": "必填",
- "typePlaceholder": "选择字段类型",
"types": {
- "boolean": "布尔值",
+ "boolean": "复选框",
"date": "日期",
"dropdown": "下拉选择",
"number": "数字",
"text": "文本",
- "multiselect": "多选"
+ "multiselect": "下拉选择(多选)"
},
"availableOptions": "可选项",
- "clearDefault": "清除",
- "defaultValues": "{{count}} 个默认值",
+ "clearDefault": "清除默认值",
"moreOptions": "还有 {{hiddenCount}} 项",
- "multiple": "可多选",
- "options": "{{count}} 个选项",
"reorderError": "字段排序失败",
- "selectPlaceholder": "选择选项"
+ "selectPlaceholder": "选择选项",
+ "actionsAria": "{{name}} 的操作",
+ "addOption": "添加选项",
+ "allowSeveral": "允许多选",
+ "allowSeveralDescription": "任务可以选择多个选项。",
+ "checked": "已勾选",
+ "createField": "创建字段",
+ "defaultDescription": "新任务默认使用此值。",
+ "deleteConfirm": "删除字段",
+ "deleteDescription": "该字段及其在所有任务上的值都会被移除,此操作无法撤销。",
+ "deleteTitle": "删除“{{name}}”?",
+ "dialogDescription": "{{project}} 中的每个任务都会获得此字段。",
+ "dialogDescriptionFallback": "此项目中的每个任务都会获得此字段。",
+ "dragAria": "重新排序 {{name}}",
+ "dragOptionAria": "重新排序 {{option}}",
+ "edit": "编辑",
+ "editTitle": "编辑字段",
+ "emptyDescription": "在每个任务上记录规模、客户或上线日期等信息。",
+ "emptyTitle": "还没有自定义字段",
+ "issues": {
+ "defaultRequired": "必填字段需要设置默认值。",
+ "moreOptionsRequired": "要允许多选,请至少添加两个选项。",
+ "optionsRequired": "请至少添加一个选项。"
+ },
+ "nameLabel": "名称",
+ "newTitle": "新建字段",
+ "noDefault": "无默认值",
+ "optionsLabel": "选项",
+ "removeOptionAria": "移除 {{option}}",
+ "renameOptionAria": "重命名 {{option}}",
+ "requiredDescription": "每个任务始终都有值。",
+ "save": "保存",
+ "saving": "正在保存...",
+ "startsAs": "默认为“{{value}}”",
+ "startsAt": "默认为 {{value}}",
+ "startsChecked": "默认勾选",
+ "startsOn": "默认为 {{date}}",
+ "startsUnchecked": "默认不勾选",
+ "typeLabel": "类型",
+ "typeLocked": "字段创建后无法更改类型。",
+ "unchecked": "未勾选",
+ "updateError": "保存自定义字段失败。",
+ "updateSuccess": "自定义字段已保存。"
},
"administration": "管理后台",
"adminUsers": {
"actions": {
- "deactivate": "停用账号",
- "edit": "编辑账号",
+ "deactivate": "停用",
+ "edit": "编辑",
"open": "{{name}} 的操作",
- "reactivate": "恢复账号"
+ "reactivate": "恢复"
},
"clearSearch": "清除搜索",
"columns": {
"actions": "操作",
"joined": "加入时间",
- "role": "全局角色",
+ "role": "角色",
"status": "状态",
"user": "用户"
},
@@ -1728,7 +1605,7 @@
},
"working": "处理中…"
},
- "directoryTitle": "用户目录",
+ "directoryTitle": "所有用户",
"edit": {
"description": "修改该账号的身份信息和实例级访问权限。",
"email": "邮箱地址",
@@ -1741,7 +1618,6 @@
},
"emptyDescription": "换一个姓名或邮箱试试。",
"emptyTitle": "没有找到用户",
- "instanceBadge": "实例",
"loadError": "用户加载失败。",
"next": "下一页",
"pagination": "第 {{current}} 页,共 {{total}} 页",
@@ -1749,18 +1625,18 @@
"refreshing": "正在刷新用户",
"retry": "重试",
"roles": {
- "admin": "实例管理员",
+ "admin": "管理员",
"user": "用户"
},
"searchCount_other": "{{count}} 个匹配用户",
"searchLabel": "搜索用户",
- "searchPlaceholder": "搜索姓名或邮箱…",
+ "searchPlaceholder": "按姓名或邮箱搜索",
"status": {
"active": "正常",
"deactivated": "已停用"
},
- "subtitle": "管理这个 Kaneo 实例上注册的所有账号。",
- "title": "用户管理",
+ "subtitle": "在这个 Kaneo 实例上拥有账号的所有人。",
+ "title": "用户",
"toast": {
"actionError": "更新用户状态失败",
"deactivated": "用户已停用",
@@ -1769,8 +1645,7 @@
"updated": "用户已更新",
"updateError": "更新用户失败"
},
- "userCount_other": "{{count}} 个已注册用户",
- "you": "(你)"
+ "you": "你"
},
"security": "安全",
"securityPage": {
@@ -1785,11 +1660,10 @@
"title": "无法修改密码"
},
"pageTitle": "安全",
- "sectionSubtitle": "修改你登录时使用的密码。",
- "sectionTitle": "密码",
- "submit": "更新密码",
- "submitting": "正在更新…",
- "subtitle": "管理你的密码和账号安全。",
+ "sectionTitle": "登录",
+ "submit": "修改密码",
+ "submitting": "正在修改...",
+ "subtitle": "你登录 Kaneo 的方式。",
"title": "安全",
"updateError": "更新密码失败。",
"updateSuccess": "密码已更新。",
@@ -1799,94 +1673,61 @@
"mismatch": "两次输入的密码不一致。",
"tooShort": "新密码至少需要 8 个字符。",
"sameAsCurrent": "新密码不能与当前密码相同。"
- }
+ },
+ "changePassword": "修改密码",
+ "dialogDescription": "至少 8 个字符,且不能与当前密码相同。",
+ "dialogTitle": "修改密码",
+ "passwordHint": "请使用至少 8 个字符、且未在其他地方使用过的密码。",
+ "passwordTitle": "密码"
},
"gitlabIntegration": {
- "actionsHint": "验证访问并连接",
- "actionsTitle": "操作",
- "badgeConnected": "已连接",
- "badgeNotConnected": "未连接",
- "baseUrlHint": "https://gitlab.com,或你自建实例的根 URL",
"baseUrlLabel": "GitLab URL",
- "browse": "浏览",
- "browseModalHint": "你的令牌可访问的项目",
- "browseModalTitle": "你的项目",
- "browseNeedsCredentials": "输入 GitLab URL 和令牌以浏览",
- "commentTaskLinkHint": "启用后,Kaneo 会在每个新 Issue 上发布一条包含任务链接的评论。",
+ "browseModalHint": "你的令牌所属的项目。",
+ "browseNeedsCredentials": "输入 GitLab URL 和令牌即可浏览。",
+ "commentTaskLinkHint": "方便 GitLab 上的人跳转到对应任务。",
"commentTaskLinkTitle": "在新 Issue 上评论 Kaneo 链接",
- "connect": "连接",
- "connectedActive": "项目已连接并启用",
- "connectionStatus": "连接状态",
- "currentToken": "已保存",
- "disconnect": "断开连接",
- "importDisabledHint": "完成上方项目配置后即可启用导入",
- "importing": "导入中…",
- "importIssues": "导入 Issues",
- "importSectionHint": "从该项目导入打开的 Issues 和合并请求",
- "importSectionTitle": "导入 GitLab Issues",
- "loadingProjects": "正在加载项目…",
- "notConnectedHint": "未连接 GitLab 项目",
+ "importSectionHint": "将未关闭的 Issue 和合并请求导入为任务。",
"openInGitlab": "在 GitLab 中打开 {{project}}",
- "project": "项目",
- "projectHint": "已关联的 GitLab 项目",
- "projectPathHint": "包含所有分组的完整路径,例如 group/subgroup/project",
"projectPathLabel": "项目路径",
- "retry": "重试",
- "searchProjects": "搜索…",
+ "searchProjects": "搜索项目",
"toast": {
"commentOnDisabled": "新 Issue 的任务链接评论已关闭",
"commentOnEnabled": "Kaneo 将在新 Issue 上评论任务链接",
"importError": "导入 Issues 失败",
"issuesImported": "Issues 导入成功",
- "notGitlabInstance": "该 URL 不指向 GitLab 实例",
- "projectNotFound": "项目不存在或无权访问",
- "redirected": "GitLab 地址发生重定向(通常转为 HTTPS),请直接使用重定向后的最终地址。",
"removed": "GitLab 集成已移除",
"removeError": "移除 GitLab 集成失败",
- "secretCopied": "已复制",
"settingsUpdateError": "更新 GitLab 集成失败",
- "tokenRequired": "访问令牌不能为空",
- "tokenRequiredVerify": "输入令牌以验证",
- "unableToCopySecret": "无法复制密钥",
"updated": "GitLab 集成已保存",
"updateError": "保存 GitLab 集成失败",
"verifyError": "验证 GitLab 访问失败",
- "verifyFirst": "访问验证失败,请检查 URL、令牌和项目路径",
- "verifyOk": "GitLab 令牌可访问此项目",
- "verifyWarning": "请检查令牌权限或项目访问"
+ "verifyFirst": "访问验证失败,请检查 URL、令牌和项目路径"
},
- "tokenHint": "具有 api 权限、且在此项目中至少有 Developer 权限的令牌",
"tokenLabel": "访问令牌",
"tokenPlaceholder": "粘贴令牌",
"tokenPlaceholderUpdate": "粘贴新令牌以轮换",
"tokenTypeBearer": "OAuth2 令牌",
- "tokenTypeHint": "令牌的发送方式。访问令牌使用 PRIVATE-TOKEN 请求头,OAuth2 令牌使用 Authorization 请求头。",
"tokenTypeLabel": "令牌类型",
"tokenTypePrivate": "个人、项目或群组访问令牌",
- "update": "更新",
"validation": {
"baseUrlInvalid": "请输入有效的 URL(例如 https://gitlab.com)",
"baseUrlRequired": "GitLab 基础 URL 不能为空",
- "pathInvalid": "请输入完整路径,例如 group/project",
- "pathRequired": "项目路径不能为空"
- },
- "verify": "验证",
- "webhookCopy": "复制",
- "webhookHide": "隐藏",
- "webhookHint": "在你的 GitLab 项目中,添加使用此 URL 和密钥的 Webhook。启用 push、issues、comments 和 merge request 事件。",
- "webhookSecretLabel": "密钥(必须与 GitLab 中的 Webhook 密钥一致)",
- "webhookShow": "显示",
- "webhookTitle": "Webhook",
- "loadProjectsError": "项目加载失败",
- "importPermissionHint": "导入需要创建和更新任务的权限。"
+ "pathInvalid": "请输入完整路径,例如 group/project"
+ },
+ "webhookHint": "在项目设置中添加此 Webhook,以便将变更同步回 Kaneo。",
+ "loadProjectsError": "无法加载项目。",
+ "importPermissionHint": "导入需要创建和更新任务的权限。",
+ "browseEmpty": "此令牌不是任何项目的成员。",
+ "chooseProjectDescription": "输入路径,或从列表中选择。",
+ "noSearchMatchTitle": "没有匹配的项目",
+ "useProject": "使用此项目",
+ "webhookEvents": "启用 push、issue、comment 和 merge request 事件。"
},
"calendarFeeds": {
"title": "日历订阅",
"subtitle": "在你的日历应用里订阅项目已排期的任务。",
- "createTitle": "创建日历订阅",
- "filterHint": "包含有开始日期或截止日期的任务。选择标签可仅包含带有任一所选标签的任务;留空则包含所有已安排日期的项目任务。",
- "labels": "标签",
- "selectLabels": "搜索并选择标签…",
+ "labels": "仅包含以下标签",
+ "selectLabels": "添加标签",
"noLabels": "没有找到标签。",
"timeZoneHint": "全天日期使用 {{timeZone}}。",
"accessHint": "任何拿到订阅链接的人都能读取对应任务的标题、描述和日期。撤销链接即可停止后续访问。",
@@ -1894,20 +1735,29 @@
"creating": "正在创建…",
"created": "日历订阅已创建。",
"createError": "创建日历订阅失败。",
- "activeFeeds": "已启用的订阅",
- "allScheduledTasks": "所有已安排日期的项目任务",
- "subscribeHint": "复制链接,在日历应用里添加为订阅。日历应用刷新后,更新就会显示出来。",
- "empty": "还没有日历订阅。",
- "feedUrl": "日历订阅链接",
+ "activeFeeds": "订阅",
+ "allScheduledTasks": "所有已排期的任务",
+ "subscribeHint": "在日历应用中以订阅方式添加链接。日历应用刷新订阅后,更新就会显示。",
"copy": "复制链接",
- "copied": "日历订阅链接已复制。",
"copyError": "无法复制链接。请选中 URL 后手动复制。",
"revoke": "撤销",
"revoked": "日历订阅已撤销。",
"revokeError": "撤销日历订阅失败。",
"loadError": "无法加载日历订阅或标签,请重试。",
"deletedLabel": "已删除的标签",
- "permissionRequired": "管理日历订阅需要项目分享权限。"
+ "permissionRequired": "管理日历订阅需要项目分享权限。",
+ "copiedLabel": "已复制",
+ "dialogDescription": "有开始日期或截止日期的任务会显示在订阅中。",
+ "dialogTitle": "新建日历订阅",
+ "emptyDescription": "创建订阅后,即可在日历应用中查看已排期的任务。",
+ "emptyTitle": "还没有日历订阅",
+ "feedActions": "订阅操作",
+ "labelsHint": "留空则包含所有已排期的任务。",
+ "newFeed": "新建订阅",
+ "revokeConfirm": "撤销订阅",
+ "revokeConfirmDescription": "使用此链接的日历应用将不再收到更新,此操作无法撤销。",
+ "revokeConfirmTitle": "撤销此订阅?",
+ "revoking": "正在撤销…"
},
"invitationEmailFailed": "邀请已保存,但邮件发送失败。请检查 SMTP 设置并重新发送邀请。",
"billing": {
@@ -1919,7 +1769,6 @@
"title": "选择套餐"
},
"currentPlan": {
- "subtitle": "此工作区当前使用的套餐和账单状态。",
"title": "当前套餐"
},
"disabled": "当前实例未启用账单功能。自托管的 Kaneo 包含全部功能,永久免费。",
@@ -1952,7 +1801,6 @@
"mostPopular": "最受欢迎",
"opening": "正在打开…",
"pageTitle": "账单",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "个人版",
@@ -1963,7 +1811,7 @@
"tagline": "适合协作的团队"
}
},
- "portalHint": "随时更新支付方式、查看发票或取消订阅。",
+ "portalHint": "发票、支付方式和取消订阅均在 Creem 中处理。",
"price": {
"billedMonthly": "按月计费",
"billedYearly": "{{price}} / 月,按年计费",
@@ -1986,13 +1834,13 @@
"scheduled_cancel": "即将取消",
"trialing": "试用中"
},
- "subtitle": "管理此工作区的 Kaneo Cloud 订阅。",
+ "subtitle": "{{workspace}} 的套餐。",
"trial": {
"activeTitle": "免费试用",
- "daysLeft_other": "免费试用还剩 {{count}} 天。选一个套餐,就能继续使用。",
"expiredDescription": "订阅下方任意套餐就能继续创建和编辑。在此之前,你的数据都安全保存,随时可以导出。",
"expiredTitle": "试用已结束",
- "noDate": "选择下方套餐,试用结束后即可继续使用。"
+ "noDate": "选择下方套餐,试用结束后即可继续使用。",
+ "badgeDaysLeft_other": "剩余 {{count}} 天"
},
"trialCard": {
"activeDescription": "随时升级,试用结束后仍可保留你的工作区。",
@@ -2010,15 +1858,12 @@
"addLabel": "添加标签",
"advancedHint": "开启「偏好设置」里的高级设置后,才能编辑这些规则。",
"all": "全部任务和 Issue",
- "allSummary": "全部符合:{{labels}}",
"any": "任一标签",
- "anySummary": "任一符合:{{labels}}",
"apply": "应用同步规则",
"closed": "已关闭",
"every": "全部标签",
"excluded": "不符合当前规则",
"filtered": "按标签筛选",
- "filteredBadge": "已按标签筛选",
"impact": "匹配任务:{{matching}} / {{total}} · 新导出:{{create}} · 将暂停关联:{{pause}} · 待确认关联:{{review}}",
"impactTitle": "将会发生什么变化",
"incoming": "仓库 → Kaneo",
@@ -2035,7 +1880,6 @@
"outgoing": "Kaneo → 仓库",
"outgoingHint": "选择允许同步的 Kaneo 任务。已有任务一旦不再带匹配标签,两个方向的同步都会暂停。",
"paused": "同步已暂停",
- "pausedCount_other": "{{count}} 个已暂停的关联",
"pausedHint": "记录和关联都会保留。重新匹配上的任务需要确认一次,才会恢复同步。",
"preserveHint": "暂停只是停下同步:Kaneo 任务、仓库 Issue 以及两者的关联都会保留。恢复前需要对比一次;历史评论不会被重复同步。",
"previewing": "正在检查同步影响…",
@@ -2054,16 +1898,28 @@
"saveError": "这些规则未能应用。集成配置或任务范围可能已经变化,请刷新预览后重试。",
"selectLabel": "至少选择一个标签,才能预览这条规则。",
"sharedHint": "这些规则对该项目的所有成员都生效。关闭高级设置并不会让规则失效。",
- "title": "同步范围",
+ "title": "同步内容",
"unavailableLabel": "不可用的标签",
"useKaneo": "以 Kaneo 为准",
"useRepository": "以仓库为准",
"exportPending": "导出匹配的任务",
"inactiveHint": "该集成已暂停。重新启用之前,不会有任务被导出。",
"loadSavedRules": "载入已保存的规则",
- "rulesChanged": "你编辑期间,已保存的规则发生了变化。你的草稿已保留,可以先检查上面的当前规则再决定是否应用,也可以直接载入已保存的规则。"
- },
- "advancedSettingsDescription": "这是针对当前浏览器的一项个人显示偏好,在你所有的工作区中通用。",
+ "rulesChanged": "你编辑期间,已保存的规则发生了变化。你的草稿已保留,可以先检查上面的当前规则再决定是否应用,也可以直接载入已保存的规则。",
+ "allIssues": "所有 Issue",
+ "allTasks": "所有任务",
+ "edit": "编辑",
+ "hidePaused": "隐藏",
+ "issuesLabelled": "带有标签的 Issue:",
+ "joinAnd": "且",
+ "joinOr": "或",
+ "kaneoToProvider": "Kaneo → {{provider}}",
+ "pausedSummary_other": "有 {{count}} 个任务不再符合同步规则,已停止同步。",
+ "providerToKaneo": "{{provider}} → Kaneo",
+ "reviewPaused": "查看",
+ "tasksLabelled": "带有标签的任务:"
+ },
+ "advancedSettingsDescription": "显示更多控件,例如集成同步规则。仅对当前浏览器生效。",
"adminWorkspaces": {
"addMember": {
"adding": "Adding…",
@@ -2100,23 +1956,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "所有工作区",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
"editAccess": "Change project access for {{name}} ({{access}})",
@@ -2135,9 +1983,9 @@
"retry": "Retry",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "按名称或 slug 搜索",
+ "subtitle": "这个 Kaneo 实例上的所有工作区,包括你未加入的工作区。",
+ "title": "工作区",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2147,8 +1995,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2387,6 +2234,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "关闭后会暂停发布,但保留设置。",
+ "activeTitle": "正在发布到 {{provider}}",
+ "channelHint": "仅用于在此列表中显示。",
+ "channelLabel": "频道",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "断开连接",
+ "disconnectDescription": "Kaneo 将停止向 {{provider}} 发布消息,并移除已保存的设置。",
+ "disconnecting": "正在断开连接…",
+ "disconnectTitle": "断开与 {{provider}} 的连接?",
+ "events": {
+ "taskCommentCreated": "有人评论时",
+ "taskCreated": "创建任务时",
+ "taskDescriptionChanged": "描述变更时",
+ "taskPriorityChanged": "优先级变更时",
+ "taskStatusChanged": "状态变更时",
+ "taskTitleChanged": "标题变更时"
+ },
+ "optional": "可选",
+ "postWhen": "发布时机",
+ "retry": "重试",
+ "saveChanges": "保存更改",
+ "savedUrlPlaceholder": "已保存。粘贴新的 URL 即可替换。",
+ "webhookUrlLabel": "Webhook URL"
+ },
+ "codeHosting": {
+ "browse": "浏览",
+ "changeToken": "更换令牌",
+ "checking": "正在检查访问权限…",
+ "chooseProjectTitle": "选择项目",
+ "chooseRepositoryTitle": "选择仓库",
+ "connectProject": "连接项目",
+ "connectRepository": "连接仓库",
+ "copied": "已复制",
+ "copyFailed": "无法复制到剪贴板。",
+ "copySecret": "复制密钥",
+ "copyUrl": "复制 Webhook URL",
+ "disconnect": "断开连接",
+ "disconnectDescription": "任务将停止与 {{target}} 同步。你之后可以重新连接。",
+ "disconnecting": "正在断开连接…",
+ "disconnectTitle": "断开与 {{provider}} 的连接?",
+ "hideSecret": "隐藏密钥",
+ "importing": "正在导入…",
+ "importIssues": "导入 Issue",
+ "importNeedsReconnect": "重新连接后即可导入。",
+ "importTitle": "导入未关闭的 Issue",
+ "issuesSection": "Issue",
+ "lastImport": "上次导入:创建 {{imported}} 个,更新 {{updated}} 个,跳过 {{skipped}} 个。",
+ "loadError": "无法加载此集成。",
+ "pausedHint": "同步已暂停。重新连接即可恢复。",
+ "projectSection": "项目",
+ "reconnect": "重新连接",
+ "repositoryPathInvalid": "请按 owner/name 格式输入仓库。",
+ "repositoryPathLabel": "仓库",
+ "repositorySection": "仓库",
+ "retry": "重试",
+ "saveToken": "保存令牌",
+ "showSecret": "显示密钥",
+ "signInDescription": "请使用能读取该项目及其 Issue 的令牌。",
+ "signInTitle": "登录你的实例",
+ "tokenStored": "已保存的令牌",
+ "tokenTitle": "访问令牌",
+ "webhookSecret": "密钥",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "拖动以调整它们在任务中的显示顺序。",
+ "fieldsTitle": "字段",
+ "newField": "新建字段",
+ "pageTitle": "自定义字段",
+ "subtitle": "{{project}} 中每个任务都可以记录的额外信息,例如规模或客户。",
+ "subtitleFallback": "此项目中每个任务都可以记录的额外信息,例如规模或客户。",
+ "title": "自定义字段"
+ },
+ "shared": {
+ "autosave": "更改会自动保存"
}
},
"navigation": {
diff --git a/i18n/zh-TW.json b/i18n/zh-TW.json
index c0e5abf4b..7d61b0f66 100644
--- a/i18n/zh-TW.json
+++ b/i18n/zh-TW.json
@@ -81,9 +81,6 @@
}
}
},
- "formats": {
- "never": "永不過期"
- },
"modals": {
"createProject": {
"title": "建立新專案",
@@ -560,41 +557,35 @@
"settings": {
"account": "帳號",
"developer": "開發者",
- "information": "基本資料",
+ "information": "個人資料",
"notifications": "通知",
"preferences": "偏好設定",
"apiKeys": "API 金鑰",
"informationPage": {
- "pageTitle": "個人資訊",
- "title": "個人資訊",
- "subtitle": "管理你的個人資料與帳號資訊。",
- "sectionTitle": "帳號資訊",
- "sectionSubtitle": "管理你的個人檔案與帳號詳細資料。",
+ "pageTitle": "個人資料",
+ "title": "個人資料",
+ "subtitle": "你在隊友面前的呈現方式。",
+ "sectionTitle": "詳細資料",
"profilePicture": "大頭貼",
"fullName": "姓名",
"fullNamePlaceholder": "輸入你的姓名",
"email": "電子郵件",
- "emailPlaceholder": "輸入你的電子郵件",
- "updateSuccess": "個人資料已更新",
"updateError": "更新個人資料失敗",
"validation": {
"nameRequired": "請輸入姓名",
- "nameShort": "姓名至少需要 2 個字元",
- "invalidEmail": "電子郵件地址無效"
+ "nameShort": "姓名至少需要 2 個字元"
},
"avatar": {
- "hint": "點擊大頭貼即可更換或移除。圖片會裁切為正方形並縮放至 256x256。",
- "remove": "移除大頭貼",
+ "hint": "正方形圖片效果最佳。",
+ "remove": "移除",
"updateSuccess": "大頭貼已更新",
"updateError": "更新大頭貼失敗",
"removeSuccess": "大頭貼已移除",
"removeError": "移除大頭貼失敗",
- "edit": "更換你的大頭貼",
- "change": "更換大頭貼"
+ "upload": "上傳"
},
"deleteAccount": {
"sectionTitle": "危險區域",
- "sectionSubtitle": "以下操作會永久影響你的整個帳號。",
"title": "刪除帳號",
"description": "只有你一人所屬的工作區會隨帳號一併刪除。在其他工作區,你的任務會保留並變為未指派,你的留言則會被移除。",
"modalTitle": "要刪除你的帳號嗎?",
@@ -604,34 +595,32 @@
"success": "你的帳號已刪除",
"error": "刪除帳號失敗",
"sessionTooOld": "為了安全,請先登出再重新登入,才能刪除帳號。"
- }
+ },
+ "emailHint": "你使用此地址登入。"
},
"notificationsPage": {
"pageTitle": "通知",
"title": "通知",
- "subtitle": "選擇 Kaneo 傳送帳號通知的方式與管道。",
+ "subtitle": "Kaneo 會通知你哪些事,以及透過哪些管道通知你。",
"statusConnected": "已連線",
"statusPaused": "已暫停",
"emailTitle": "電子郵件",
- "emailDescription": "使用你的帳號電子郵件作為通知的接收地址。",
- "accountEmailLabel": "帳號電子郵件",
"accountEmailNoAddress": "沒有可用的帳號電子郵件",
- "accountEmailHint": "電子郵件一律會寄到目前登入帳號的電子郵件地址。",
"saveChanges": "儲存變更",
"disconnect": "中斷連線",
"ntfyTitle": "ntfy",
- "ntfyDescription": "將帳號通知發佈到 ntfy 主題。",
+ "ntfyDescription": "發佈到你手機或桌面上的 ntfy 主題。",
"serverUrl": "伺服器 URL",
"topic": "主題",
"token": "Token",
"ntfyServerPlaceholder": "https://ntfy.example.com",
"ntfyTopicPlaceholder": "team-alerts",
- "ntfyTokenPlaceholder": "選填的 Bearer Token",
+ "ntfyTokenPlaceholder": "僅在伺服器需要時填寫",
"ntfyTokenHintConfigured": "已設定 Token({{masked}})。輸入新的 Token 即可取代。",
- "ntfyTokenHintOptional": "選填。如果你的 ntfy 伺服器需要驗證,請提供 Token。",
+ "ntfyTokenHintOptional": "如果你的 ntfy 伺服器需要驗證,請填寫。",
"connectNtfy": "連接 ntfy",
"gotifyTitle": "Gotify",
- "gotifyDescription": "將帳號通知傳送到你的 Gotify 伺服器。",
+ "gotifyDescription": "將通知傳送到你的 Gotify 伺服器。",
"gotifyTokenLabel": "Token",
"gotifyServerPlaceholder": "https://gotify.example.com",
"gotifyTokenPlaceholder": "Gotify Token",
@@ -639,52 +628,26 @@
"gotifyTokenHintRequired": "必填。請使用 Gotify 伺服器上的 Token。",
"connectGotify": "連接 Gotify",
"webhookTitle": "自訂 Webhook",
- "webhookDescription": "將帳號通知以 JSON 格式傳送到你自己的端點。",
+ "webhookDescription": "以 JSON 格式將每則通知傳送到你自己的端點。",
"endpointUrl": "端點 URL",
"signingSecret": "簽章密鑰",
"webhookUrlPlaceholder": "https://example.com/webhooks/kaneo",
"webhookSecretPlaceholder": "共用密鑰(選填)",
"webhookSecretHintConfigured": "已設定簽章密鑰({{masked}})。輸入新的密鑰即可取代。",
- "webhookSecretHintOptional": "選填。設定密鑰後,Kaneo 會為請求內容簽章。",
+ "webhookSecretHintOptional": "設定密鑰後,Kaneo 會為請求內容簽章。",
"connectWebhook": "連接 Webhook",
- "workspaceRulesTitle": "工作區通知規則",
- "workspaceRulesDescription": "沿用你的全域管道,再決定哪些工作區與專案可以傳送帳號通知。",
- "workspaceCardHint": "選擇此工作區可使用哪些管道傳送帳號通知。",
- "workspaceEnabledLabel": "啟用 {{workspaceName}} 的通知",
"eventPreferencesTitle": "通知我以下事項",
- "eventPreferencesDescription": "選擇哪些任務事件會產生應用程式內通知,並傳送到你已連接的管道。",
- "eventTaskAssignments": "任務指派",
+ "eventPreferencesDescription": "你自己的留言、提及與狀態變更不會通知你。",
+ "eventTaskAssignments": "指派",
"eventComments": "留言與提及",
- "eventCommentsHint": "包含指派給你的任務的新留言,以及直接 @ 提及你。",
- "eventStatusChanges": "任務狀態變更",
+ "eventCommentsHint": "你的任務有新留言,或有人 @提及你時。",
+ "eventStatusChanges": "狀態變更",
"eventDueDateReminders": "截止日期提醒",
"reminderLeadTimeLabel": "在截止日期前提醒我",
- "reminderLeadTimeHint": "可設定為截止前 1 小時至 30 天。逾期通知會另外傳送。",
- "reminderLeadTimeUnitHours": "小時",
- "reminderLeadTimeUnitDays": "天",
"reminderLeadTimeInvalid": "請輸入 1 到 {{max}} 之間的整數。",
"saveEventPreferences": "儲存通知類型",
- "workspaceCardLabelEmail": "電子郵件",
- "workspaceCardLabelNtfy": "ntfy",
- "workspaceCardLabelGotify": "Gotify",
- "workspaceCardLabelWebhook": "自訂 Webhook",
- "emailChannelHintEnabled": "以電子郵件傳送符合條件的工作區通知。",
- "emailChannelHintDisabled": "請先在全域設定並啟用電子郵件。",
- "ntfyChannelHintEnabled": "將符合條件的工作區通知傳送到 ntfy。",
- "ntfyChannelHintDisabled": "請先在全域設定並啟用 ntfy。",
- "gotifyChannelHintEnabled": "將符合條件的工作區通知傳送到 Gotify。",
- "gotifyChannelHintDisabled": "請先在全域設定並啟用 Gotify。",
- "webhookChannelHintEnabled": "將符合條件的工作區通知傳送到你的 Webhook。",
- "webhookChannelHintDisabled": "請先在全域設定並啟用 Webhook。",
- "projectScope": "專案範圍",
- "projectScopeDescription": "預設包含所有專案。如果此工作區只應傳送所選專案的通知,請縮小範圍。",
"allProjects": "所有專案",
- "allProjectsDescription": "傳送此工作區中所有專案的通知。",
- "selectedProjects": "已選專案",
- "selectedProjectsDescription": "僅傳送所選專案的通知。",
"noProjectsInWorkspace": "此工作區目前沒有可用的專案。",
- "createRule": "建立規則",
- "removeRule": "移除規則",
"toastEmailSaved": "電子郵件通知設定已儲存",
"toastEmailSaveFailed": "儲存電子郵件設定失敗",
"toastNtfySaved": "ntfy 設定已儲存",
@@ -707,137 +670,161 @@
"toastPreferencesSaveFailed": "儲存通知偏好設定失敗",
"toastRuleSavedGeneric": "工作區通知規則已儲存",
"toastRuleRemovedGeneric": "工作區通知規則已移除",
- "recipientHint": "指派給你的任務有新留言或狀態變更時會通知你。提及則會通知被提及的成員。你自己的留言、提及與狀態變更不會通知你。"
+ "channelNotConnected": "未連接",
+ "channelOff": "關閉",
+ "channelsDescription": "通知一律會顯示在 Kaneo 中。連接管道後,也能在其他地方收到通知。",
+ "channelsTitle": "管道",
+ "configure": "設定",
+ "configureChannel": "設定 {{channel}}",
+ "configureWorkspace": "設定 {{workspaceName}} 的通知",
+ "connect": "連接",
+ "connectChannel": "連接 {{channel}}",
+ "disconnectDescription": "通知將不再傳送到 {{channel}},其已儲存的設定也會移除。",
+ "disconnecting": "正在中斷連線...",
+ "disconnectTitle": "要中斷與 {{channel}} 的連線嗎?",
+ "done": "完成",
+ "emailToggleLabel": "透過電子郵件傳送通知",
+ "eventDueDateRemindersHint": "在你的任務到期前提醒。逾期任務會另外通知。",
+ "eventStatusChangesHint": "你的任務移動到其他欄位時。",
+ "eventTaskAssignmentsHint": "有人將任務指派給你時。",
+ "loadFailed": "無法載入通知設定。",
+ "onlyInKaneo": "僅在 Kaneo 中",
+ "optional": "選填",
+ "projectCount_other": "{{count}} 個專案",
+ "reminderLeadTimeUnitDaysBefore_other": "天前",
+ "reminderLeadTimeUnitHoursBefore_other": "小時前",
+ "reminderLeadTimeUnitLabel": "提醒單位",
+ "ruleActiveDescription": "關閉即可暫停此工作區,並保留其設定。",
+ "ruleActiveLabel": "傳送中",
+ "ruleChannels": "管道",
+ "ruleDialogDescription": "此工作區的通知可以傳送到哪裡。",
+ "ruleDialogTitle": "{{workspaceName}} 通知",
+ "ruleProjects": "專案",
+ "ruleSummary": "{{channels}} · {{projects}}",
+ "save": "儲存",
+ "sendingDescription": "關閉即可暫停此管道,並保留其設定。",
+ "sendingLabel": "傳送中",
+ "setUp": "設定",
+ "setUpWorkspace": "開始設定 {{workspaceName}} 的通知",
+ "someProjects": "僅部分",
+ "statusOn": "開啟",
+ "statusSending": "傳送中",
+ "stopping": "停止中...",
+ "stopSending": "停止傳送",
+ "stopSendingDescription": "此工作區的通知將只會顯示在 Kaneo 中。",
+ "stopSendingTitle": "要停止從 {{workspaceName}} 傳送通知嗎?",
+ "workspacesDescription": "選擇哪些工作區與專案可以使用你的管道。",
+ "workspacesTitle": "工作區"
},
"preferencesPage": {
"title": "偏好設定",
- "subtitle": "自訂你的 Kaneo 使用體驗。",
- "appearanceTitle": "外觀",
- "appearanceSubtitle": "視覺設定與版面配置偏好。",
+ "subtitle": "自訂 Kaneo 的外觀與運作方式。",
+ "appearanceTitle": "一般",
"theme": "主題",
- "themeDescription": "選擇你偏好的色彩配置",
"selectTheme": "選擇主題",
"themeLight": "淺色",
"themeDark": "深色",
"themeSystem": "跟隨系統",
"language": "語言",
- "languageDescription": "選擇你偏好的介面語言",
"selectLanguage": "選擇語言",
"firstDayOfWeek": "每週起始日",
- "firstDayOfWeekDescription": "選擇行事曆與每週範圍從星期幾開始",
+ "firstDayOfWeekDescription": "用於行事曆與日期選擇器。",
"selectFirstDayOfWeek": "選擇起始日",
"weekStartsOnSunday": "星期日",
"weekStartsOnMonday": "星期一",
"weekStartsOnSaturday": "星期六",
"defaultView": "預設檢視",
- "defaultViewDescription": "選擇你偏好的任務檢視模式",
+ "defaultViewDescription": "開啟專案時使用的檢視。",
"selectViewMode": "選擇檢視模式",
"board": "看板",
"list": "清單",
"gantt": "甘特圖",
- "sidebarDefault": "預設展開側邊欄",
- "sidebarDefaultDescription": "啟動時保持側邊欄展開",
- "displayOptions": "顯示選項",
- "displayOptionsDescription": "選擇要在任務檢視中顯示哪些資訊",
+ "sidebarDefault": "保持側邊欄展開",
+ "sidebarDefaultDescription": "啟動時展開側邊欄。",
+ "displayOptions": "任務詳細資料",
+ "displayOptionsDescription": "看板與清單中的卡片和列要顯示哪些內容。",
"taskNumbers": "任務編號",
- "taskNumbersDescription": "顯示任務 ID 與編號",
"assignees": "負責人",
- "assigneesDescription": "顯示任務指派給誰",
"dueDates": "截止日期",
- "dueDatesDescription": "顯示任務截止日期",
"labels": "標籤",
- "labelsDescription": "顯示任務標籤",
"priority": "優先順序",
- "priorityDescription": "顯示優先順序指標",
"projectBackgrounds": "專案背景",
- "projectBackgroundsDescription": "在看板上顯示專案背景圖片"
+ "projectBackgroundsDescription": "顯示專案為看板設定的背景圖片。",
+ "advancedTitle": "進階"
},
"developerPage": {
- "pageTitle": "開發者設定",
- "title": "開發者設定",
- "subtitle": "管理你的 API 金鑰與開發者資源。",
- "apiKeysCardTitle": "API 金鑰",
- "apiKeysCardDescription": "建立並管理 API 金鑰,以程式化方式存取 Kaneo。",
- "createApiKey": "建立 API 金鑰",
- "unnamedKey": "未命名金鑰"
+ "pageTitle": "API 金鑰",
+ "title": "API 金鑰",
+ "subtitle": "讓指令碼、CLI 與 MCP 用戶端以你的身分使用 Kaneo。",
+ "unnamedKey": "未命名",
+ "emptyDescription": "建立金鑰,即可在 CLI、MCP 用戶端或你自己的指令碼中使用。",
+ "emptyTitle": "尚無 API 金鑰",
+ "keysNote": "金鑰能做你能做的任何事。請刪除不再使用的金鑰。",
+ "keysTitle": "金鑰",
+ "loadError": "無法載入 API 金鑰,請再試一次。",
+ "newKey": "新增金鑰"
},
"apiKey": {
"createdModal": {
- "title": "API 金鑰已建立",
- "description": "你的 API 金鑰「{{keyName}}」已成功建立。",
- "yourApiKey": "你的 API 金鑰",
+ "title": "複製你的金鑰",
+ "description": "關閉後就無法再次查看。",
"copy": "複製",
"copied": "已複製",
- "toastCopied": "API 金鑰已複製到剪貼簿",
- "alertTitle": "成功!你的 API 金鑰已建立",
- "alertDescription": "請立即複製此金鑰,之後將無法再次查看。",
"done": "完成",
- "copyToContinue": "複製金鑰以繼續"
+ "copyError": "無法複製金鑰。請選取後手動複製。"
},
"table": {
- "loading": "正在載入 API 金鑰…",
- "empty": "尚無 API 金鑰,建立一個開始使用吧。",
- "columnName": "名稱",
- "columnKey": "金鑰",
- "columnCreated": "建立時間",
- "columnExpires": "到期時間",
- "columnActions": "操作",
- "unnamedKey": "未命名金鑰",
- "expiredBadge": "{{label}} 已到期",
- "deleteConfirmTitle": "要刪除 API 金鑰嗎?",
- "deleteConfirmDescription": "此操作無法復原,將永久刪除 {{name}}。",
- "deleteFallbackName": "此 API 金鑰",
- "delete": "刪除",
- "deleting": "正在刪除…",
- "deleteAria": "刪除 {{name}}",
- "deleteAriaFallback": "API 金鑰",
- "toastDeleted": "API 金鑰已刪除",
- "toastDeleteError": "刪除 API 金鑰失敗"
+ "deleteConfirmTitle": "要刪除「{{name}}」嗎?",
+ "deleteConfirmDescription": "所有使用此金鑰的項目都將停止運作,且無法復原。",
+ "delete": "刪除金鑰",
+ "deleting": "刪除中…",
+ "toastDeleted": "已刪除 API 金鑰",
+ "toastDeleteError": "無法刪除 API 金鑰"
},
"createDialog": {
- "title": "建立 API 金鑰",
- "description": "建立新的 API 金鑰,以程式化方式存取 Kaneo API。",
+ "title": "新增 API 金鑰",
+ "description": "此金鑰能做你能做的任何事。",
"nameLabel": "名稱",
"namePlaceholder": "我的 API 金鑰",
- "nameDescription": "此 API 金鑰的說明性名稱",
- "expirationLabel": "有效期限",
- "expirationPlaceholder": "選擇有效期限",
- "expirationDescription": "選擇此 API 金鑰的有效期限。選擇「永不到期」會建立不會自動到期的金鑰。",
+ "nameDescription": "方便你記得它用在哪裡。",
+ "expirationLabel": "到期",
"expiration1d": "1 天",
"expiration7d": "7 天",
"expiration30d": "30 天",
"expiration90d": "90 天",
"expirationNever": "永不到期",
- "create": "建立",
+ "create": "建立金鑰",
"creating": "建立中…",
- "failedCreate": "建立 API 金鑰失敗",
+ "failedCreate": "無法建立 API 金鑰",
"validation": {
"nameRequired": "請輸入名稱",
- "nameShort": "名稱至少需要 3 個字元",
- "expirationRequired": "請選擇有效期限"
+ "nameShort": "請至少輸入 3 個字元"
}
+ },
+ "row": {
+ "actions": "{{name}} 的操作",
+ "created": "建立於 {{date}}",
+ "expired": "已於 {{date}} 到期",
+ "expiredBadge": "已到期",
+ "expires": "{{date}} 到期",
+ "neverExpires": "永不到期"
}
},
"workspaceGeneral": {
"pageTitle": "一般設定",
- "title": "一般設定",
- "subtitle": "管理工作區的名稱與說明。",
- "workspaceInfoTitle": "工作區資訊",
- "workspaceInfoSubtitle": "設定工作區的詳細資料與偏好。",
- "nameLabel": "工作區名稱",
- "nameHint": "你的工作區名稱",
+ "title": "一般",
+ "subtitle": "{{name}} 的名稱與擁有者。",
+ "workspaceInfoTitle": "工作區",
+ "nameLabel": "名稱",
"namePlaceholder": "輸入工作區名稱",
"descriptionLabel": "說明",
- "descriptionHint": "工作區的簡短說明",
- "descriptionPlaceholder": "輸入工作區說明",
+ "descriptionPlaceholder": "你的團隊負責哪些工作?",
"dangerZone": "危險區域",
- "dangerZoneSubtitle": "無法復原的破壞性操作。",
"deleteWorkspace": "刪除工作區",
- "deleteWorkspaceDescription": "安排永久刪除此工作區",
+ "deleteWorkspaceDescription": "永久刪除 {{name}} 及其專案與任務。",
"deleteModalTitle": "要刪除工作區嗎?",
- "deleteModalDescription": "這會永久刪除工作區「{{name}}」及其所有資料,且無法復原。",
+ "deleteModalDescription": "這會永久刪除 {{name}} 及其所有專案與任務,且無法復原。",
"deleteModalConfirm": "刪除工作區",
- "toastUpdated": "工作區已更新",
"toastUpdateError": "更新工作區失敗",
"toastDeleted": "工作區已刪除",
"toastDeleteError": "刪除工作區失敗",
@@ -849,17 +836,18 @@
"toastSuccess": "擁有權已轉移",
"toastError": "轉移擁有權失敗",
"title": "轉移擁有權",
- "subtitle": "將此工作區移交給其他成員。你會降為管理員,並失去擁有者專屬的權限。",
"pickerLabel": "新擁有者",
"noEligibleMembers": "請先邀請至少一位其他成員,才能轉移擁有權。",
- "pickerHint": "對方將成為此工作區唯一的擁有者。",
+ "pickerHint": "新的擁有者會接手,你會保留管理員身分。",
"pickerPlaceholder": "選擇成員",
"button": "轉移",
"dialogTitle": "要轉移擁有權嗎?",
"dialogDescription": "{{name}} 將成為 {{workspace}} 唯一的擁有者。你會保留管理員權限,但將失去刪除工作區或再次轉移等擁有者專屬權限。",
"transferring": "轉移中…",
"confirm": "轉移擁有權"
- }
+ },
+ "ownershipSubtitle": "只有擁有者看得到此區塊。",
+ "ownershipTitle": "擁有權"
},
"workspaceRoles": {
"pageTitle": "角色",
@@ -1069,22 +1057,20 @@
}
},
"workspaceLabels": {
- "pageTitle": "標籤設定",
+ "pageTitle": "標籤",
"title": "標籤",
- "subtitle": "建立、編輯與刪除工作區層級的標籤。",
- "cardDescription": "管理可指派給任務的標籤。",
+ "subtitle": "標籤由此工作區的所有專案共用。",
"createLabel": "建立標籤",
"editLabel": "編輯標籤",
- "deleteLabel": "刪除",
+ "deleteLabel": "刪除標籤",
"saveLabel": "儲存",
- "nameLabel": "標籤名稱",
- "namePlaceholder": "輸入標籤名稱",
+ "nameLabel": "名稱",
+ "namePlaceholder": "標籤名稱",
"colorLabel": "顏色",
- "createDescription": "建立可用於此工作區所有任務的新標籤。",
- "editDescription": "更新此標籤的名稱或顏色。",
- "deleteConfirmTitle": "要刪除這個標籤嗎?",
- "deleteConfirmDescription": "這會從所有任務中永久移除此標籤,且無法復原。",
- "empty": "尚無標籤,建立第一個標籤開始使用吧。",
+ "createDescription": "此工作區的專案可以將它加到任務上。",
+ "editDescription": "變更會顯示在所有帶有此標籤的任務上。",
+ "deleteConfirmTitle": "要刪除「{{name}}」嗎?",
+ "deleteConfirmDescription": "此標籤會從所有使用它的任務中移除,且無法復原。",
"createSuccess": "標籤已建立",
"updateSuccess": "標籤已更新",
"deleteSuccess": "標籤已刪除",
@@ -1092,36 +1078,43 @@
"updateError": "更新標籤失敗",
"deleteError": "刪除標籤失敗",
"nameRequired": "請輸入標籤名稱",
- "deletionPending": "等待刪除",
- "resumeDeletion": "繼續刪除"
+ "deletionPending": "正在從任務中移除…",
+ "resumeDeletion": "繼續刪除",
+ "editNamed": "編輯 {{name}}",
+ "emptyDescription": "新增標籤,跨專案分類與篩選任務。",
+ "emptyTitle": "尚無標籤",
+ "loadError": "無法載入標籤,請再試一次。",
+ "newLabel": "新增標籤",
+ "preview": "在任務上的樣子",
+ "previewPlaceholder": "標籤",
+ "resume": "繼續",
+ "rowActions": "{{name}} 的操作",
+ "sectionDescription": "重新命名標籤或變更顏色,會更新所有使用該標籤的任務。",
+ "sectionTitle": "工作區標籤",
+ "subtitleWithWorkspace": "標籤由 {{workspaceName}} 的所有專案共用。"
},
"projectGeneral": {
"pageTitle": "專案設定",
- "title": "一般設定",
- "subtitle": "管理專案名稱、代號、圖示與說明。",
- "projectInfoTitle": "專案資訊",
- "projectInfoSubtitle": "設定專案的詳細資料與偏好。",
+ "title": "一般",
+ "subtitle": "{{name}} 的名稱、代號與外觀。",
+ "projectInfoTitle": "專案",
"iconLabel": "圖示",
- "iconHint": "顯示於側邊欄與專案介面。",
+ "iconHint": "顯示於側邊欄與專案清單。",
"pickIconTitle": "選擇圖示",
"searchIconsPlaceholder": "搜尋圖示…",
- "projectNameLabel": "專案名稱",
- "projectNameHint": "你的專案名稱",
- "projectNamePlaceholder": "輸入專案名稱",
+ "projectNameLabel": "名稱",
+ "projectNamePlaceholder": "專案名稱",
"keyLabel": "代號",
- "keyHint": "用於任務 ID(例如 {{slug}}-123)",
+ "keyHint": "每個任務 ID 的開頭,例如 {{slug}}-123。",
"keyPlaceholder": "PRO",
"descriptionLabel": "說明",
- "descriptionHint": "專案的簡短說明",
- "descriptionPlaceholder": "輸入專案說明",
+ "descriptionPlaceholder": "這個專案的用途是什麼?",
"dangerZone": "危險區域",
- "dangerZoneSubtitle": "無法復原的破壞性操作。",
"deleteProject": "刪除專案",
- "deleteProjectDescription": "安排永久刪除此專案",
+ "deleteProjectDescription": "永久刪除 {{name}} 及其所有任務。",
"deleteModalTitle": "要刪除專案嗎?",
- "deleteModalDescription": "這會永久刪除專案「{{name}}」及其所有資料,且無法復原。",
+ "deleteModalDescription": "這會永久刪除 {{name}} 及其所有任務,且無法復原。",
"deleteModalConfirm": "刪除專案",
- "toastUpdated": "專案已更新",
"toastUpdateError": "更新專案失敗",
"toastDeleted": "專案已刪除",
"toastDeleteError": "刪除專案失敗",
@@ -1131,40 +1124,42 @@
"keyMax": "代號最多 8 個字元",
"iconRequired": "請選擇圖示"
},
- "importExportTasks": "匯入/匯出",
- "importExportTasksDescription": "匯入與匯出任務。",
- "backgroundHint": "選擇要顯示在此專案看板後方的圖片。",
+ "backgroundHint": "顯示在看板後方的圖片。每個人都可以自行關閉。",
+ "backgroundUnavailable": "此執行個體尚未設定圖片上傳。",
"backgroundLabel": "看板背景",
"backgroundRemove": "移除圖片",
"backgroundRemoveError": "移除專案背景失敗",
"backgroundRemoveSuccess": "專案背景已移除",
- "backgroundReplace": "更換圖片",
- "backgroundUpload": "上傳圖片",
+ "backgroundReplace": "更換",
+ "backgroundUpload": "上傳",
"backgroundUploadError": "更新專案背景失敗",
"backgroundUploadSuccess": "專案背景已更新",
"moveModalConfirm": "移動專案",
- "moveModalDescription": "這會將專案「{{name}}」及其所有任務移動到「{{workspace}}」。指派給非該工作區成員的任務將變為未指派,此專案的通知訂閱也會被清除。",
- "moveModalTitle": "要移動專案嗎?",
"moveProject": "移動到其他工作區",
"moveProjectAction": "移動",
- "moveProjectDescription": "將此專案及其所有任務移動到其他工作區。",
+ "moveProjectDescription": "任務、欄位與標籤會一併移動。",
"moveProjectPlaceholder": "選擇工作區",
"toastMoved": "專案已移動",
"toastMovedWithUnassigned": "專案已移動。有 {{taskCount}} 個任務已變為未指派。",
"toastMoveError": "移動專案失敗",
- "moveTargetsError": "無法確認你可以將此專案移動到哪些工作區。請重新載入後再試一次。"
+ "moveTargetsError": "無法確認你可以將此專案移動到哪些工作區。請重新載入後再試一次。",
+ "moveDialogDescription": "指派給新工作區以外成員的任務將會取消指派,此專案的通知訂閱也會清除。",
+ "moveDialogTitle": "要移動到其他工作區嗎?",
+ "moveTargetLabel": "工作區",
+ "moving": "移動中...",
+ "tasksTitle": "任務"
},
"projectIntegrations": {
- "pageTitle": "專案整合",
- "title": "專案整合",
- "subtitle": "將專案與外部工具和服務連接,簡化你的工作流程。",
+ "pageTitle": "整合",
+ "title": "整合",
+ "subtitle": "將此專案連接到你的程式碼代管平台與團隊聊天工具。",
"githubSectionTitle": "GitHub 整合",
"githubSectionSubtitle": "與 GitHub Issues 同步任務,並啟用雙向同步。",
"giteaSectionTitle": "Gitea 整合",
"giteaSectionSubtitle": "與自行託管的 Gitea 執行個體同步任務(Issues、PR、Webhook)。",
"discordSectionTitle": "Discord 整合",
"discordSectionSubtitle": "透過 Webhook 將專案任務更新傳送到 Discord 頻道。",
- "genericWebhookSectionTitle": "通用 Webhook",
+ "genericWebhookSectionTitle": "Webhook",
"genericWebhookSectionSubtitle": "將專案任務事件以 JSON 格式傳送到任意 HTTP 端點。",
"slackSectionTitle": "Slack 整合",
"slackSectionSubtitle": "透過 Incoming Webhook 將專案任務更新傳送到 Slack 頻道。",
@@ -1172,7 +1167,7 @@
"mattermostSectionSubtitle": "透過 Incoming Webhook 將專案任務更新傳送到 Mattermost 頻道。",
"telegramSectionTitle": "Telegram 整合",
"telegramSectionSubtitle": "透過 Bot 將專案任務更新傳送到 Telegram 聊天室或主題。",
- "gitlabSectionSubtitle": "與 GitLab.com 或自行管理的執行個體同步任務(Issues、Merge Request、Webhook)。",
+ "gitlabSectionSubtitle": "與 GitLab.com 或自行管理的執行個體同步任務。",
"gitlabSectionTitle": "GitLab 整合",
"codeHostingTitle": "程式碼託管",
"chatTitle": "聊天與 Webhook",
@@ -1185,69 +1180,59 @@
"projectVisibility": {
"pageTitle": "專案可見度",
"title": "可見度",
- "subtitle": "控制誰可以檢視與存取你的專案。",
- "sectionTitle": "可見度",
- "sectionSubtitle": "切換公開存取,並分享公開連結。",
- "publicAccess": "公開存取",
- "publicAccessHint": "允許任何擁有連結的人檢視此專案",
+ "subtitle": "選擇 {{workspace}} 以外有哪些人可以檢視 {{project}}。",
+ "sectionTitle": "存取權",
+ "publicAccess": "公開連結",
+ "publicAccessHint": "任何擁有連結的人都能檢視看板及其任務,但無法進行任何變更。",
"publicUrl": "公開連結",
- "publicUrlHint": "專案公開後,可分享此連結",
- "copy": "複製",
- "copiedToast": "已複製",
+ "copy": "複製連結",
"toastUpdated": "可見度已更新",
- "toastUpdateError": "更新可見度失敗"
+ "toastUpdateError": "更新可見度失敗",
+ "always": "始終",
+ "copied": "已複製",
+ "copyError": "無法複製連結",
+ "membersDescription": "工作區中的所有人,依其角色允許的範圍存取。",
+ "membersTitle": "{{workspace}} 成員",
+ "offNote": "關閉公開連結後,連結會立即失效。",
+ "on": "開啟",
+ "openPublicPage": "開啟公開頁面",
+ "thisWorkspace": "此工作區"
},
"projectWorkflow": {
"pageTitle": "工作流程設定",
"title": "工作流程",
- "subtitle": "設定此專案的看板欄位與自動化規則。",
+ "subtitle": "看板上的欄位,以及在欄位之間移動任務的規則。",
"columnsTitle": "欄位",
- "columnsDescription": "管理看板上顯示的欄位,可拖曳調整順序。請為代表已完成工作的階段開啟「完成欄」。",
- "automationTitle": "自動化規則",
- "automationDescription": "將整合事件對應到欄位。事件發生時,關聯的任務會移動到指定的欄位。",
- "customFieldsDescription": "管理此專案的自訂欄位。拖曳 可調整順序。",
- "customFieldsTitle": "自訂欄位"
+ "columnsDescription": "拖曳以調整順序。完成欄中的任務會視為已完成。",
+ "automationTitle": "自動化",
+ "automationDescription": "已連接的 Repo 發生事件時,移動已連結的任務。"
},
"projectSwitcher": {
"selectProject": "選擇專案",
"noProjects": "沒有專案"
},
"columnEditor": {
- "toastCreated": "欄位已建立",
"toastCreateError": "建立欄位失敗",
- "toastRenamed": "欄位已重新命名",
"toastRenameError": "更新欄位失敗",
- "toastFinalOn": "已將欄位設為完成欄",
- "toastFinalOff": "已取消欄位的完成欄設定",
"toastUpdateError": "更新欄位失敗",
- "toastIconUpdated": "欄位圖示已更新",
- "toastDeleted": "欄位已刪除",
"toastDeleteError": "刪除欄位失敗",
- "loading": "正在載入欄位…",
"pickIconTitle": "選擇欄位圖示",
"searchIconsPlaceholder": "搜尋圖示…",
- "doneColumnTooltip": "將此欄視為完成欄",
- "doneColumn": "完成欄",
"markDoneAria": "將 {{name}} 標記為完成欄",
- "on": "開",
- "off": "關",
- "newColumnPlaceholder": "新欄位名稱…",
- "add": "新增",
+ "newColumnPlaceholder": "欄位名稱",
"deleteAria": "刪除 {{name}} 欄",
- "renameAria": "重新命名 {{name}} 欄"
+ "renameAria": "重新命名 {{name}} 欄",
+ "addColumn": "新增欄位",
+ "columnHeader": "欄位",
+ "deleteConfirm": "刪除欄位",
+ "deleteDescription": "仍有任務的欄位無法刪除。請先移動這些任務。",
+ "deleteTitle": "要刪除「{{name}}」嗎?",
+ "doneHeader": "完成",
+ "dragAria": "重新排序 {{name}}",
+ "reorderError": "無法重新排序欄位"
},
"githubIntegration": {
- "validation": {
- "ownerRequired": "Repo 擁有者為必填",
- "ownerInvalid": "Repo 擁有者格式無效",
- "nameRequired": "Repo 名稱為必填",
- "nameInvalid": "Repo 名稱格式無效"
- },
"toast": {
- "installedOk": "GitHub App 已正確安裝!",
- "installedMissingPerms": "GitHub App 已安裝,但缺少必要權限",
- "needsInstallOnRepo": "此 Repo 需要安裝 GitHub App",
- "repoNotFound": "找不到 Repo 或無法存取",
"verifyError": "無法驗證 GitHub 安裝狀態",
"installAppFirst": "請先在此 Repo 安裝 GitHub App",
"missingPermsDetail": "GitHub App 缺少必要權限:{{list}}。請更新應用程式權限。",
@@ -1261,66 +1246,36 @@
"commentOnDisabled": "已關閉在新 Issue 下留言任務連結",
"settingsUpdateError": "無法更新 GitHub 整合"
},
- "connectionStatus": "連線狀態",
- "connectedActive": "Repo 已連線並啟用中",
- "notConnectedHint": "尚未連線 Repo",
- "badgeConnected": "已連線",
- "badgeNotConnected": "未連線",
- "repository": "Repo",
- "repositoryHint": "已連線的 GitHub Repo",
"commentTaskLinkTitle": "在新 Issue 下留言 Kaneo 連結",
- "commentTaskLinkHint": "啟用後,Kaneo 會在每個新的 GitHub Issue 下留言,並附上任務連結。",
- "appStatusTitle": "GitHub App 狀態",
- "appStatusHint": "安裝與權限狀態",
- "statusProperlyConfigured": "設定正確",
- "statusMissingPermissions": "缺少權限",
- "statusNotInstalled": "未安裝",
- "ownerLabel": "Repo 擁有者",
- "ownerHint": "GitHub 使用者名稱或組織",
- "ownerPlaceholder": "例如:octocat",
- "repoNameLabel": "Repo 名稱",
- "repoNameHint": "Repo 名稱",
- "repoNamePlaceholder": "例如:my-project",
- "actionsTitle": "操作",
- "actionsHint": "管理 Repo 連線",
- "browse": "瀏覽",
- "verify": "驗證",
- "update": "更新",
- "connect": "連線",
- "disconnect": "中斷連線",
- "missingPermissionsLabel": "缺少權限:",
+ "commentTaskLinkHint": "方便 GitHub 上的人直接前往任務。",
"updatePermissions": "更新權限",
"installGithubApp": "安裝 GitHub App",
- "importSectionTitle": "匯入 GitHub Issue",
- "importSectionHint": "將 GitHub Repo 中現有的 Issue 匯入為任務",
- "importing": "匯入中...",
- "importIssues": "匯入 Issue",
- "importDisabledHint": "請先完成上方的 Repo 設定才能匯入",
+ "importSectionHint": "將 Repo 中未關閉的 Issue 匯入為任務。",
+ "importDisabledHint": "重新連接 Repo 即可匯入。",
"accountVerificationHint": "連結你的 GitHub 帳號,以驗證你是此 Repo 的管理員。",
"enableGithubSignInHint": "請聯絡執行個體管理員啟用 GitHub 登入。",
"reverifyHint": "請重新連線此 Repo 以驗證存取權限並繼續同步。",
"resumeImport": "繼續匯入",
"importPaused": "此匯入已儲存進度,可以繼續。",
- "importSummary": "已建立:{{imported}} · 已更新:{{updated}} · 已略過:{{skipped}}"
+ "importSummary": "已建立:{{imported}} · 已更新:{{updated}} · 已略過:{{skipped}}",
+ "chooseRepositoryDescription": "此 Repo 的 Issue 與 Pull Request 會連結到這裡的任務。",
+ "linkAccountDescription": "用來證明你可以管理此 Repo。",
+ "linkAccountTitle": "連結你的 GitHub 帳號",
+ "linked": "已連結",
+ "linkGithub": "連結 GitHub",
+ "verifyMissingPermissions": "Kaneo GitHub App 缺少以下權限:{{list}}。",
+ "verifyNotInstalled": "Kaneo GitHub App 尚未安裝在此 Repo。",
+ "verifyReady": "Kaneo GitHub App 已安裝,且具備所需權限。",
+ "workflowHint": "若要在 Pull Request 開啟或合併時移動任務,請前往",
+ "workflowLink": "工作流程"
},
"giteaIntegration": {
"validation": {
"baseUrlRequired": "必須提供 Gitea 基礎 URL",
- "baseUrlInvalid": "請輸入有效的 URL(例如 https://gitea.example.com)",
- "ownerRequired": "Repo 擁有者為必填",
- "ownerInvalid": "Repo 擁有者格式無效",
- "nameRequired": "Repo 名稱為必填",
- "nameInvalid": "Repo 名稱格式無效"
+ "baseUrlInvalid": "請輸入有效的 URL(例如 https://gitea.example.com)"
},
"toast": {
- "verifyOk": "Gitea Token 可存取此 Repo",
- "verifyWarning": "請檢查 Token 權限或 Repo 存取權",
- "repoNotFound": "找不到 Repo 或無法存取",
- "redirected": "Gitea URL 已被重新導向(通常是改為 HTTPS),請直接使用最終的 URL。",
- "notGiteaInstance": "此 URL 並非指向 Gitea 執行個體",
"verifyError": "無法驗證 Gitea 存取權",
- "tokenRequired": "必須提供個人存取 Token",
- "tokenRequiredVerify": "請輸入要驗證的 Token",
"verifyFirst": "存取驗證失敗,請檢查 URL、Token 與 Repo",
"updated": "Gitea 整合已儲存",
"updateError": "無法儲存 Gitea 整合",
@@ -1330,54 +1285,22 @@
"importError": "無法匯入 Issue",
"commentOnEnabled": "Kaneo 會在新的 Issue 下留言並附上任務連結",
"commentOnDisabled": "已關閉在新 Issue 下留言任務連結",
- "settingsUpdateError": "無法更新 Gitea 整合",
- "secretCopied": "已複製",
- "unableToCopySecret": "無法複製密鑰"
- },
- "webhookShow": "顯示",
- "webhookHide": "隱藏",
- "webhookCopy": "複製",
- "connectionStatus": "連線狀態",
- "connectedActive": "Repo 已連線並啟用中",
- "notConnectedHint": "尚未連線 Gitea Repo",
- "badgeConnected": "已連線",
- "badgeNotConnected": "未連線",
- "repository": "Repo",
- "repositoryHint": "已連結的 Gitea Repo",
+ "settingsUpdateError": "無法更新 Gitea 整合"
+ },
"commentTaskLinkTitle": "在新 Issue 下留言 Kaneo 連結",
- "commentTaskLinkHint": "啟用後,Kaneo 會在每個新 Issue 下留言,並附上任務連結。",
- "webhookTitle": "Webhook",
- "webhookHint": "請在 Gitea Repo 中新增 Webhook,並填入此 URL 與密鑰。啟用 push、pull request、issues、issue comments 與 create(用於標籤)事件。",
- "webhookSecretLabel": "密鑰(須與 Gitea 中的 Webhook 密鑰一致)",
+ "commentTaskLinkHint": "方便 Gitea 上的人直接前往任務。",
+ "webhookHint": "請在 Repo 設定中新增此 Webhook,讓變更同步回 Kaneo。",
"baseUrlLabel": "Gitea URL",
- "baseUrlHint": "你的 Gitea 執行個體的根 URL",
"tokenLabel": "個人存取 Token",
- "tokenHint": "具備 Repo 與 Issue 存取權的 Token",
"tokenPlaceholder": "貼上 Token",
"tokenPlaceholderUpdate": "貼上新 Token 以輪替",
- "currentToken": "已儲存",
- "ownerLabel": "擁有者",
- "ownerHint": "使用者或組織名稱",
- "repoNameLabel": "Repo 名稱",
- "repoNameHint": "僅填 Repo 名稱(不含擁有者)",
- "actionsTitle": "操作",
- "actionsHint": "驗證存取權並連線",
- "browse": "瀏覽",
- "verify": "驗證",
- "update": "更新",
- "connect": "連線",
- "disconnect": "中斷連線",
- "importSectionTitle": "匯入 Gitea Issue",
- "importSectionHint": "匯入 Repo 中未關閉的 Issue 與 Pull Request",
- "importing": "匯入中…",
- "importIssues": "匯入 Issue",
- "importDisabledHint": "請先驗證上方的 Repo 才能匯入",
- "browseModalTitle": "你的 Repo",
- "browseModalHint": "你的 Token 可存取的 Repo",
- "searchRepos": "搜尋…",
- "browseNeedsCredentials": "請輸入 Gitea URL 與 Token 以瀏覽",
- "loadingRepos": "正在載入 Repo…",
- "retry": "重試"
+ "importSectionHint": "將未關閉的 Issue 與 Pull Request 匯入為任務。",
+ "importDisabledHint": "匯入需要已驗證的存取權。請檢查上方的 Token 狀態。",
+ "browseModalHint": "你的 Token 可存取的 Repo。",
+ "browseNeedsCredentials": "請輸入 Gitea URL 與 Token 以瀏覽。",
+ "browseEmpty": "此 Token 看不到任何 Repo。",
+ "chooseRepositoryDescription": "輸入 owner/name,或從清單中選擇。",
+ "webhookEvents": "啟用 push、pull request、issue、issue comment 與 create 事件。"
},
"slackIntegration": {
"validation": {
@@ -1392,30 +1315,10 @@
"removed": "Slack 整合已移除",
"removeError": "無法移除 Slack 整合"
},
- "connectionTitle": "Slack Webhook 連線",
- "connectionHint": "貼上 Slack Incoming Webhook URL,並選擇要發佈的任務事件。",
- "connected": "已連線",
- "paused": "已暫停",
- "webhookLabel": "Incoming Webhook URL",
"webhookPlaceholder": "https://hooks.slack.com/services/...",
- "webhookHint": "請在 Slack 建立 Incoming Webhook,並將產生的 URL 貼到這裡。",
- "channelLabel": "頻道名稱",
- "channelPlaceholder": "#team-updates",
- "channelHint": "選填,僅供你參考。實際發佈的頻道由 Slack 的 Webhook 設定決定。",
- "eventsTitle": "事件通知",
- "eventsHint": "選擇哪些專案變更要發佈到 Slack。",
- "events": {
- "taskCreated": "新任務",
- "taskStatusChanged": "狀態變更",
- "taskPriorityChanged": "優先順序變更",
- "taskTitleChanged": "標題變更",
- "taskDescriptionChanged": "說明變更",
- "taskCommentCreated": "新留言"
- },
+ "webhookHint": "請在 Slack 建立 Incoming Webhook,並貼到這裡。",
"connect": "連線 Slack",
- "saveChanges": "儲存變更",
- "update": "更新 Slack",
- "disconnect": "中斷連線"
+ "update": "更新 Slack"
},
"discordIntegration": {
"validation": {
@@ -1430,30 +1333,10 @@
"removed": "Discord 整合已移除",
"removeError": "無法移除 Discord 整合"
},
- "connectionTitle": "Discord Webhook 連線",
- "connectionHint": "貼上 Discord Webhook URL,並選擇要發佈的任務事件。",
- "connected": "已連線",
- "paused": "已暫停",
- "webhookLabel": "Webhook URL",
"webhookPlaceholder": "https://discord.com/api/webhooks/...",
- "webhookHint": "請建立 Discord 頻道 Webhook,並將產生的 URL 貼到這裡。",
- "channelLabel": "頻道名稱",
- "channelPlaceholder": "#team-updates",
- "channelHint": "選填,僅供你參考。實際發佈的頻道由 Discord 的 Webhook 設定決定。",
- "eventsTitle": "事件通知",
- "eventsHint": "選擇哪些專案變更要發佈到 Discord。",
- "events": {
- "taskCreated": "新任務",
- "taskStatusChanged": "狀態變更",
- "taskPriorityChanged": "優先順序變更",
- "taskTitleChanged": "標題變更",
- "taskDescriptionChanged": "說明變更",
- "taskCommentCreated": "新留言"
- },
+ "webhookHint": "請在 Discord 建立頻道 Webhook,並貼到這裡。",
"connect": "連線 Discord",
- "saveChanges": "儲存變更",
- "update": "更新 Discord",
- "disconnect": "中斷連線"
+ "update": "更新 Discord"
},
"mattermostIntegration": {
"validation": {
@@ -1468,34 +1351,15 @@
"removed": "Mattermost 整合已移除",
"removeError": "無法移除 Mattermost 整合"
},
- "connectionTitle": "Mattermost Webhook 連線",
- "connectionHint": "貼上 Mattermost Incoming Webhook URL,並選擇要發佈的任務事件。",
- "connected": "已連線",
- "paused": "已暫停",
- "webhookLabel": "Incoming Webhook URL",
"webhookPlaceholder": "https://your-mattermost-server.com/hooks/...",
- "webhookHint": "請在 Mattermost 建立 Incoming Webhook,並將產生的 URL 貼到這裡。",
- "channelLabel": "頻道名稱",
- "channelPlaceholder": "#team-updates",
- "channelHint": "選填,僅供你參考。實際發佈的頻道由 Mattermost 的 Webhook 設定決定。",
- "eventsTitle": "事件通知",
- "eventsHint": "選擇哪些專案變更要發佈到 Mattermost。",
- "events": {
- "taskCreated": "新任務",
- "taskStatusChanged": "狀態變更",
- "taskPriorityChanged": "優先順序變更",
- "taskTitleChanged": "標題變更",
- "taskDescriptionChanged": "說明變更",
- "taskCommentCreated": "新留言"
- },
+ "webhookHint": "請在 Mattermost 建立 Incoming Webhook,並貼到這裡。",
"connect": "連線 Mattermost",
- "saveChanges": "儲存變更",
- "update": "更新 Mattermost",
- "disconnect": "中斷連線"
+ "update": "更新 Mattermost"
},
"genericWebhookIntegration": {
"validation": {
- "webhookInvalid": "請輸入有效的 Webhook URL"
+ "webhookInvalid": "請輸入有效的 Webhook URL",
+ "leadTimeRange": "請選擇 5 分鐘到 720 小時之間的時間。"
},
"toast": {
"saved": "通用 Webhook 整合已儲存",
@@ -1506,25 +1370,20 @@
"removed": "通用 Webhook 整合已移除",
"removeError": "無法移除通用 Webhook 整合"
},
- "connectionTitle": "Outgoing Webhook 連線",
- "connectionHint": "以 JSON 格式將任務事件傳送到你自己的端點。設定密鑰後,會附上簽章的 X-Kaneo-Signature 標頭。",
- "connected": "已連線",
- "paused": "已暫停",
"webhookLabel": "端點 URL",
"webhookPlaceholder": "https://example.com/webhooks/kaneo",
"webhookHint": "Kaneo 會針對每個已啟用的事件傳送帶有 JSON 負載的 POST 請求。",
"secretLabel": "簽署密鑰",
- "secretPlaceholder": "選填的共用密鑰",
- "secretHint": "選填。提供後,Kaneo 會為請求本文簽章,並將十六進位摘要放在 X-Kaneo-Signature 標頭中傳送。",
- "secretHintConfigured": "已設定簽署密鑰({{secret}})。輸入新的密鑰即可取代。",
- "eventsTitle": "事件通知",
- "eventsHint": "選擇哪些專案變更要觸發 Outgoing Webhook。",
+ "secretPlaceholder": "共用密鑰",
+ "secretHint": "Kaneo 會用它為每個請求簽章,並在 X-Kaneo-Signature 標頭中傳送摘要。",
+ "secretHintConfigured": "目前的密鑰:{{secret}}。貼上新的密鑰即可取代。",
+ "eventsTitle": "傳送時機",
"events": {
- "taskCreated": "新任務",
- "taskStatusChanged": "狀態變更",
- "taskPriorityChanged": "優先順序變更",
- "taskTitleChanged": "標題變更",
- "taskDescriptionChanged": "說明變更",
+ "taskCreated": "任務已建立",
+ "taskStatusChanged": "狀態已變更",
+ "taskPriorityChanged": "優先順序已變更",
+ "taskTitleChanged": "標題已變更",
+ "taskDescriptionChanged": "說明已變更",
"taskCommentCreated": "新留言",
"taskDeleted": "任務已刪除",
"taskMoved": "任務已移動",
@@ -1533,16 +1392,19 @@
"taskUnassigned": "任務已取消指派",
"dueDateReminder": "截止日期提醒"
},
- "reminderLeadTimeLabel": "在截止前幾小時傳送 Webhook",
+ "reminderLeadTimeLabel": "任務截止前的小時數",
"connect": "連線 Webhook",
- "saveChanges": "儲存變更",
- "disconnect": "中斷連線"
+ "activeTitle": "正在傳送事件",
+ "disconnectDescription": "Kaneo 將停止傳送事件,並移除已儲存的端點與密鑰。",
+ "disconnectTitle": "要中斷 Webhook 連線嗎?",
+ "reminderLeadTimeAfter": "小時傳送提醒",
+ "reminderLeadTimeBefore": "在任務截止前"
},
"telegramIntegration": {
"validation": {
"botTokenInvalid": "請輸入有效的 Telegram 機器人 Token",
"chatIdRequired": "必須提供聊天 ID",
- "threadIdInvalid": "請輸入有效的 Telegram 主題討論串 ID"
+ "threadIdInvalid": "請輸入有效的主題 ID"
},
"toast": {
"saved": "Telegram 整合已儲存",
@@ -1553,55 +1415,38 @@
"removed": "Telegram 整合已移除",
"removeError": "無法移除 Telegram 整合"
},
- "connectionTitle": "Telegram 機器人連線",
- "connectionHint": "使用 Telegram 機器人 Token 與聊天 ID,將專案任務更新傳送到聊天室或主題。",
- "connected": "已連線",
- "paused": "已暫停",
"botTokenLabel": "機器人 Token",
"botTokenPlaceholder": "123456789:AAExampleBotToken",
"botTokenHint": "請透過 BotFather 建立機器人,並將其 Token 貼到這裡。",
- "botTokenHintConfigured": "已設定機器人 Token({{token}})。輸入新的 Token 即可取代。",
+ "botTokenHintConfigured": "目前的 Token:{{token}}",
"chatIdLabel": "聊天 ID",
"chatIdPlaceholder": "-1001234567890 或 @team_updates",
- "chatIdHint": "請輸入要發佈更新的 Telegram 聊天 ID 或頻道使用者名稱。",
- "threadIdLabel": "主題討論串 ID",
- "threadIdPlaceholder": "選填的主題 ID",
- "threadIdHint": "選填。用於 Telegram 群組中的論壇主題。",
- "chatLabelLabel": "聊天標籤",
+ "threadIdLabel": "主題 ID",
+ "threadIdPlaceholder": "用於論壇主題",
+ "chatLabelLabel": "聊天名稱",
"chatLabelPlaceholder": "工程團隊動態",
- "chatLabelHint": "選填,僅供你在 Kaneo 內參考。",
- "eventsTitle": "事件通知",
- "eventsHint": "選擇哪些專案變更要發佈到 Telegram。",
- "events": {
- "taskCreated": "新任務",
- "taskStatusChanged": "狀態變更",
- "taskPriorityChanged": "優先順序變更",
- "taskTitleChanged": "標題變更",
- "taskDescriptionChanged": "說明變更",
- "taskCommentCreated": "新留言"
- },
"connect": "連線 Telegram",
- "saveChanges": "儲存變更",
- "disconnect": "中斷連線"
+ "botTokenSavedPlaceholder": "已儲存。貼上新的 Token 即可取代。",
+ "loadError": "無法載入 Telegram 設定。"
},
"repositoryBrowser": {
"title": "選擇 Repo",
- "description": "選擇已安裝 GitHub App 的 Repo,以啟用 Issue 同步。",
- "searchPlaceholder": "搜尋 Repo...",
- "loadError": "無法載入 Repo",
- "tryAgain": "再試一次",
- "emptyTitle": "找不到 Repo",
+ "description": "Kaneo GitHub App 可存取的 Repo。",
+ "searchPlaceholder": "搜尋 Repo",
+ "loadError": "無法載入 Repo。",
+ "tryAgain": "重試",
+ "emptyTitle": "尚無 Repo",
"emptyHint": "請在你的 Repo 上安裝 GitHub App,即可在這裡看到它們。",
"installGithubApp": "安裝 GitHub App",
- "noSearchMatchTitle": "沒有符合搜尋條件的 Repo",
- "noSearchMatchHint": "請調整搜尋關鍵字,或清除搜尋以查看所有 Repo。",
- "footerSummary": "共 {{installationCount}} 個安裝中的 {{repoCount}} 個 Repo",
- "manageInstallations": "管理安裝",
- "updatedPrefix": "更新於",
- "relativeJustNow": "剛剛",
- "relativeMinutesAgo": "{{count}} 分鐘前",
- "relativeHoursAgo": "{{count}} 小時前",
- "relativeDaysAgo": "{{count}} 天前"
+ "noSearchMatchTitle": "沒有符合的 Repo",
+ "noSearchMatchHint": "試試其他名稱,或清除搜尋。",
+ "emptyPageHint": "此頁沒有。載入更多以繼續尋找。",
+ "loadMore": "載入更多",
+ "manageAccess": "管理 App 存取權",
+ "missingOne": "找不到嗎?",
+ "searching": "正在搜尋…",
+ "updated": "更新於 {{time}}",
+ "useRepository": "使用此 Repo"
},
"tasksImportExport": {
"exportTasks": "匯出任務",
@@ -1620,27 +1465,26 @@
"importError": "無法匯入任務",
"invalidFormat": "匯入檔案格式無效",
"noFileDropped": "未放入任何檔案",
- "notJsonFile": "請上傳 JSON 檔案"
+ "notJsonFile": "請上傳 JSON 檔案",
+ "export": "匯出",
+ "exportDescription": "將此專案中的所有任務下載為檔案。",
+ "import": "匯入",
+ "importDescription": "從先前匯出的檔案新增任務。"
},
"workflowEditor": {
- "loading": "載入中...",
- "createColumnsFirst": "請先建立欄位,才能設定自動化規則。",
- "githubHeading": "GitHub",
- "githubHint": "發生 GitHub 事件時,將連結的任務移到指定欄位。",
- "giteaHeading": "Gitea",
- "giteaHint": "發生 Gitea Webhook 事件時,將連結的任務移到指定欄位。",
- "selectColumnPlaceholder": "選擇欄位...",
- "toastUpdated": "工作流程規則已更新",
"toastError": "無法更新規則",
"events": {
- "branch_push": "分支推送",
+ "branch_push": "分支已推送",
"pr_opened": "PR 已開啟",
"pr_merged": "PR 已合併",
"issue_opened": "Issue 已開啟",
"issue_closed": "Issue 已關閉"
},
- "gitlabHeading": "GitLab",
- "gitlabHint": "發生 GitLab Webhook 事件時,將連結的任務移到指定欄位。"
+ "connectMore": "在<link>整合</link>中連接 {{providers}},也能為它們設定自動化。",
+ "dontMove": "不移動",
+ "emptyDescription": "自動化需要已連接的 GitHub、Gitea 或 GitLab Repo。",
+ "emptyTitle": "沒有已連接的 Repo",
+ "openIntegrations": "開啟整合"
},
"externalLinks": {
"resources": "資源",
@@ -1659,53 +1503,86 @@
"removeError": "無法移除資源連結。"
},
"customFields": {
- "addButton": "新增",
"createError": "無法建立自訂欄位。",
"createSuccess": "已建立自訂欄位。",
"creating": "建立中...",
"defaultLabel": "預設",
"defaultValuePlaceholder": "預設值",
- "deleteButton": "刪除",
"deleteError": "無法刪除自訂欄位。",
"deleteSuccess": "已刪除自訂欄位。",
"deleting": "刪除中...",
- "empty": "尚未設定任何自訂欄位。",
- "loading": "正在載入自訂欄位...",
"namePlaceholder": "欄位名稱",
"noOptionsPlaceholder": "無選項",
- "optionsPlaceholder": "選項以逗號分隔",
"required": "必填",
- "typePlaceholder": "選擇欄位類型",
"types": {
- "boolean": "布林值",
+ "boolean": "核取方塊",
"date": "日期",
"dropdown": "下拉選單",
"number": "數字",
"text": "文字",
- "multiselect": "多選"
+ "multiselect": "下拉選單(可複選)"
},
"availableOptions": "可用選項",
- "clearDefault": "清除",
- "defaultValues": "{{count}} 個預設值",
+ "clearDefault": "清除預設值",
"moreOptions": "+{{hiddenCount}} 個",
- "multiple": "多個",
- "options": "{{count}} 個選項",
"reorderError": "無法重新排序欄位",
- "selectPlaceholder": "選擇選項"
+ "selectPlaceholder": "選擇選項",
+ "actionsAria": "{{name}} 的操作",
+ "addOption": "新增選項",
+ "allowSeveral": "允許複選",
+ "allowSeveralDescription": "任務可以選擇多個選項。",
+ "checked": "已勾選",
+ "createField": "建立自訂欄位",
+ "defaultDescription": "新任務會預設使用此值。",
+ "deleteConfirm": "刪除自訂欄位",
+ "deleteDescription": "此欄位及其在所有任務上的值都會移除,且無法復原。",
+ "deleteTitle": "要刪除「{{name}}」嗎?",
+ "dialogDescription": "{{project}} 中的每個任務都會加上此欄位。",
+ "dialogDescriptionFallback": "此專案中的每個任務都會加上此欄位。",
+ "dragAria": "重新排序 {{name}}",
+ "dragOptionAria": "重新排序 {{option}}",
+ "edit": "編輯",
+ "editTitle": "編輯自訂欄位",
+ "emptyDescription": "在每個任務上記錄規模、客戶或上線日期等資訊。",
+ "emptyTitle": "尚無自訂欄位",
+ "issues": {
+ "defaultRequired": "必填欄位需要預設值。",
+ "moreOptionsRequired": "若要允許複選,請至少新增兩個選項。",
+ "optionsRequired": "請至少新增一個選項。"
+ },
+ "nameLabel": "名稱",
+ "newTitle": "新增自訂欄位",
+ "noDefault": "無預設值",
+ "optionsLabel": "選項",
+ "removeOptionAria": "移除 {{option}}",
+ "renameOptionAria": "重新命名 {{option}}",
+ "requiredDescription": "每個任務一律會有值。",
+ "save": "儲存",
+ "saving": "儲存中...",
+ "startsAs": "預設為「{{value}}」",
+ "startsAt": "預設為 {{value}}",
+ "startsChecked": "預設為勾選",
+ "startsOn": "預設為 {{date}}",
+ "startsUnchecked": "預設為未勾選",
+ "typeLabel": "類型",
+ "typeLocked": "欄位建立後就無法變更類型。",
+ "unchecked": "未勾選",
+ "updateError": "無法儲存自訂欄位。",
+ "updateSuccess": "已儲存自訂欄位。"
},
"administration": "管理",
"adminUsers": {
"actions": {
- "deactivate": "停用帳號",
- "edit": "編輯帳號",
+ "deactivate": "停用",
+ "edit": "編輯",
"open": "{{name}} 的操作",
- "reactivate": "重新啟用帳號"
+ "reactivate": "重新啟用"
},
"clearSearch": "清除搜尋",
"columns": {
"actions": "操作",
"joined": "加入時間",
- "role": "全域角色",
+ "role": "角色",
"status": "狀態",
"user": "使用者"
},
@@ -1727,7 +1604,7 @@
},
"working": "處理中…"
},
- "directoryTitle": "使用者名錄",
+ "directoryTitle": "所有使用者",
"edit": {
"description": "更新此帳號的身分與整個執行個體的存取權限。",
"email": "電子郵件地址",
@@ -1740,7 +1617,6 @@
},
"emptyDescription": "試試其他姓名或電子郵件地址。",
"emptyTitle": "找不到使用者",
- "instanceBadge": "執行個體",
"loadError": "無法載入使用者。",
"next": "下一頁",
"pagination": "第 {{current}} 頁,共 {{total}} 頁",
@@ -1748,18 +1624,18 @@
"refreshing": "正在重新整理使用者",
"retry": "重試",
"roles": {
- "admin": "執行個體管理員",
+ "admin": "管理員",
"user": "使用者"
},
"searchCount_other": "{{count}} 位符合的使用者",
"searchLabel": "搜尋使用者",
- "searchPlaceholder": "搜尋姓名或電子郵件…",
+ "searchPlaceholder": "依姓名或電子郵件搜尋",
"status": {
"active": "使用中",
"deactivated": "已停用"
},
- "subtitle": "管理在此 Kaneo 執行個體註冊的所有帳號。",
- "title": "使用者管理",
+ "subtitle": "在此 Kaneo 執行個體上擁有帳號的所有人。",
+ "title": "使用者",
"toast": {
"actionError": "更新使用者狀態失敗",
"deactivated": "使用者已停用",
@@ -1768,8 +1644,7 @@
"updated": "使用者已更新",
"updateError": "更新使用者失敗"
},
- "userCount_other": "{{count}} 位已註冊使用者",
- "you": "(你)"
+ "you": "你"
},
"security": "安全性",
"securityPage": {
@@ -1784,11 +1659,10 @@
"title": "無法變更密碼"
},
"pageTitle": "安全性",
- "sectionSubtitle": "變更你用來登入的密碼。",
- "sectionTitle": "密碼",
- "submit": "更新密碼",
- "submitting": "更新中...",
- "subtitle": "管理你的密碼與帳號安全。",
+ "sectionTitle": "登入",
+ "submit": "變更密碼",
+ "submitting": "變更中...",
+ "subtitle": "你登入 Kaneo 的方式。",
"title": "安全性",
"updateError": "無法更新密碼。",
"updateSuccess": "密碼已更新。",
@@ -1798,94 +1672,61 @@
"mismatch": "兩次輸入的密碼不一致。",
"tooShort": "新密碼至少需要 8 個字元。",
"sameAsCurrent": "新密碼必須與目前的密碼不同。"
- }
+ },
+ "changePassword": "變更密碼",
+ "dialogDescription": "至少 8 個字元,且不可與目前的密碼相同。",
+ "dialogTitle": "變更密碼",
+ "passwordHint": "請使用至少 8 個字元,且未在其他地方使用過的密碼。",
+ "passwordTitle": "密碼"
},
"gitlabIntegration": {
- "actionsHint": "驗證存取權並連線",
- "actionsTitle": "操作",
- "badgeConnected": "已連線",
- "badgeNotConnected": "未連線",
- "baseUrlHint": "https://gitlab.com,或你的執行個體的根 URL",
"baseUrlLabel": "GitLab URL",
- "browse": "瀏覽",
- "browseModalHint": "你的 Token 具有成員身分的專案",
- "browseModalTitle": "你的專案",
- "browseNeedsCredentials": "請輸入 GitLab URL 與 Token 以瀏覽",
- "commentTaskLinkHint": "啟用後,Kaneo 會在 GitLab 中建立的每個 Issue 下留言,並附上任務連結。",
+ "browseModalHint": "你的 Token 具有成員身分的專案。",
+ "browseNeedsCredentials": "請輸入 GitLab URL 與 Token 以瀏覽。",
+ "commentTaskLinkHint": "方便 GitLab 上的人直接前往任務。",
"commentTaskLinkTitle": "在 GitLab 建立的 Issue 下留言 Kaneo 連結",
- "connect": "連線",
- "connectedActive": "專案已連線並啟用中",
- "connectionStatus": "連線狀態",
- "currentToken": "已儲存",
- "disconnect": "中斷連線",
- "importDisabledHint": "請先驗證上方的專案才能匯入",
- "importing": "匯入中…",
- "importIssues": "匯入 Issue",
- "importSectionHint": "匯入專案中未關閉的 Issue 與 Merge Request",
- "importSectionTitle": "匯入 GitLab Issue",
- "loadingProjects": "正在載入專案…",
- "notConnectedHint": "尚未連線 GitLab 專案",
+ "importSectionHint": "將未關閉的 Issue 與 Merge Request 匯入為任務。",
"openInGitlab": "在 GitLab 中開啟 {{project}}",
- "project": "專案",
- "projectHint": "已連結的 GitLab 專案",
- "projectPathHint": "完整路徑(含所有群組),例如 group/subgroup/project",
"projectPathLabel": "專案路徑",
- "retry": "重試",
- "searchProjects": "搜尋…",
+ "searchProjects": "搜尋專案",
"toast": {
"commentOnDisabled": "已關閉在 GitLab 建立的 Issue 下留言任務連結",
"commentOnEnabled": "Kaneo 會在 GitLab 中建立的 Issue 下留言並附上任務連結",
"importError": "無法匯入 Issue",
"issuesImported": "已匯入 Issue",
- "notGitlabInstance": "此 URL 並非指向 GitLab 執行個體",
- "projectNotFound": "找不到專案或無法存取",
- "redirected": "GitLab URL 已被重新導向(通常是改為 HTTPS),請直接使用最終的 URL。",
"removed": "GitLab 整合已移除",
"removeError": "無法移除 GitLab 整合",
- "secretCopied": "已複製",
"settingsUpdateError": "無法更新 GitLab 整合",
- "tokenRequired": "必須提供存取 Token",
- "tokenRequiredVerify": "請輸入要驗證的 Token",
- "unableToCopySecret": "無法複製密鑰",
"updated": "GitLab 整合已儲存",
"updateError": "無法儲存 GitLab 整合",
"verifyError": "無法驗證 GitLab 存取權",
- "verifyFirst": "存取驗證失敗,請檢查 URL、Token 與專案路徑",
- "verifyOk": "GitLab Token 可存取此專案",
- "verifyWarning": "請檢查 Token 權限或專案存取權"
+ "verifyFirst": "存取驗證失敗,請檢查 URL、Token 與專案路徑"
},
- "tokenHint": "具備 api 範圍,且在專案中至少為 Developer 的 Token",
"tokenLabel": "存取 Token",
"tokenPlaceholder": "貼上 Token",
"tokenPlaceholderUpdate": "貼上新 Token 以輪替",
"tokenTypeBearer": "OAuth2 Token",
- "tokenTypeHint": "Token 的傳送方式。存取 Token 使用 PRIVATE-TOKEN;OAuth2 Token 使用 Authorization。",
"tokenTypeLabel": "Token 類型",
"tokenTypePrivate": "個人、專案或群組存取 Token",
- "update": "更新",
"validation": {
"baseUrlInvalid": "請輸入有效的 URL(例如 https://gitlab.com)",
"baseUrlRequired": "必須提供 GitLab 基礎 URL",
- "pathInvalid": "請輸入完整路徑,例如 group/project",
- "pathRequired": "專案路徑為必填"
- },
- "verify": "驗證",
- "webhookCopy": "複製",
- "webhookHide": "隱藏",
- "webhookHint": "請在 GitLab 專案中新增 Webhook,並填入此 URL 與Secret Token。啟用 push、issues、comments 與 merge request 事件。",
- "webhookSecretLabel": "Secret Token(須與 GitLab 中 Webhook 設定的一致)",
- "webhookShow": "顯示",
- "webhookTitle": "Webhook",
- "loadProjectsError": "無法載入專案",
- "importPermissionHint": "匯入需要建立與更新任務的權限。"
+ "pathInvalid": "請輸入完整路徑,例如 group/project"
+ },
+ "webhookHint": "請在專案設定中新增此 Webhook,讓變更同步回 Kaneo。",
+ "loadProjectsError": "無法載入專案。",
+ "importPermissionHint": "匯入需要建立與更新任務的權限。",
+ "browseEmpty": "此 Token 不是任何專案的成員。",
+ "chooseProjectDescription": "輸入路徑,或從清單中選擇。",
+ "noSearchMatchTitle": "沒有符合的專案",
+ "useProject": "使用此專案",
+ "webhookEvents": "啟用 push、issue、comment 與 merge request 事件。"
},
"calendarFeeds": {
"title": "行事曆訂閱源",
"subtitle": "在行事曆應用程式中訂閱已排程的專案任務。",
- "createTitle": "建立行事曆訂閱源",
- "filterHint": "包含設有開始或截止日期的任務。選擇標籤可僅包含帶有任一所選標籤的任務;留空則包含所有已安排日期的專案任務。",
- "labels": "標籤",
- "selectLabels": "搜尋並選擇標籤…",
+ "labels": "僅包含這些標籤",
+ "selectLabels": "新增標籤",
"noLabels": "找不到標籤。",
"timeZoneHint": "全天日期使用 {{timeZone}}。",
"accessHint": "任何取得訂閱源連結的人都能讀取符合條件的任務標題、說明與日期。撤銷連結即可停止後續存取。",
@@ -1893,20 +1734,29 @@
"creating": "建立中…",
"created": "已建立行事曆訂閱源。",
"createError": "無法建立行事曆訂閱源。",
- "activeFeeds": "使用中的訂閱源",
- "allScheduledTasks": "所有已安排日期的專案任務",
- "subscribeHint": "複製連結並加入行事曆訂閱。行事曆應用程式重新整理訂閱源後就會顯示更新。",
- "empty": "尚無行事曆訂閱源。",
- "feedUrl": "行事曆訂閱源 URL",
+ "activeFeeds": "訂閱源",
+ "allScheduledTasks": "所有已排程的任務",
+ "subscribeHint": "將連結以訂閱方式加入你的行事曆應用程式。應用程式重新整理訂閱源後就會顯示更新。",
"copy": "複製連結",
- "copied": "已複製行事曆訂閱源連結。",
"copyError": "無法複製連結。請選取 URL 後手動複製。",
"revoke": "撤銷",
"revoked": "已撤銷行事曆訂閱源。",
"revokeError": "無法撤銷行事曆訂閱源。",
"loadError": "無法載入行事曆訂閱源或標籤,請再試一次。",
"deletedLabel": "已刪除的標籤",
- "permissionRequired": "你需要專案分享權限才能管理行事曆訂閱源。"
+ "permissionRequired": "你需要專案分享權限才能管理行事曆訂閱源。",
+ "copiedLabel": "已複製",
+ "dialogDescription": "有開始日期或截止日期的任務會顯示在訂閱源中。",
+ "dialogTitle": "新增行事曆訂閱源",
+ "emptyDescription": "建立訂閱源,即可在行事曆應用程式中查看已排程的任務。",
+ "emptyTitle": "尚無行事曆訂閱源",
+ "feedActions": "訂閱源操作",
+ "labelsHint": "留空即包含所有已排程的任務。",
+ "newFeed": "新增訂閱源",
+ "revokeConfirm": "撤銷訂閱源",
+ "revokeConfirmDescription": "使用此連結的行事曆應用程式將不再收到更新,且無法復原。",
+ "revokeConfirmTitle": "要撤銷此訂閱源嗎?",
+ "revoking": "撤銷中…"
},
"invitationEmailFailed": "邀請已儲存,但電子郵件寄送失敗。請檢查 SMTP 設定後重新寄送邀請。",
"billing": {
@@ -1918,7 +1768,6 @@
"title": "選擇方案"
},
"currentPlan": {
- "subtitle": "你的工作區目前的方案與帳單狀態。",
"title": "目前方案"
},
"disabled": "此執行個體未啟用帳單功能。自架版 Kaneo 內含所有功能,永久免費。",
@@ -1951,7 +1800,6 @@
"mostPopular": "最受歡迎",
"opening": "開啟中...",
"pageTitle": "帳單",
- "planName": "Kaneo Cloud {{plan}}",
"plans": {
"personal": {
"name": "個人版",
@@ -1962,7 +1810,7 @@
"tagline": "適合團隊協作"
}
},
- "portalHint": "更新付款方式、檢視發票,或隨時取消。",
+ "portalHint": "發票、付款方式與取消訂閱皆在 Creem 處理。",
"price": {
"billedMonthly": "按月計費",
"billedYearly": "{{price}} / 月,按年計費",
@@ -1985,13 +1833,13 @@
"scheduled_cancel": "即將取消",
"trialing": "試用中"
},
- "subtitle": "管理此工作區的 Kaneo Cloud 訂閱。",
+ "subtitle": "{{workspace}} 的方案。",
"trial": {
"activeTitle": "免費試用",
- "daysLeft_other": "你的免費試用還剩 {{count}} 天。請選擇方案以不中斷地繼續使用。",
"expiredDescription": "請在下方訂閱方案,以繼續建立與編輯。你的資料會安全保存,期間也可以匯出。",
"expiredTitle": "你的試用已結束",
- "noDate": "請在下方選擇方案,以便在試用結束後繼續使用。"
+ "noDate": "請在下方選擇方案,以便在試用結束後繼續使用。",
+ "badgeDaysLeft_other": "剩餘 {{count}} 天"
},
"trialCard": {
"activeDescription": "隨時升級,試用結束後即可保留你的工作區。",
@@ -2006,10 +1854,9 @@
"openFailed": "無法開啟此工作區的帳單"
},
"advancedSettings": "進階設定",
- "advancedSettingsDescription": "此顯示偏好設定僅套用於目前的瀏覽器,適用於你的所有工作區。",
+ "advancedSettingsDescription": "顯示更多控制項,例如整合同步規則。僅套用於此瀏覽器。",
"syncRules": {
- "title": "同步範圍",
- "filteredBadge": "依標籤篩選",
+ "title": "同步內容",
"sharedHint": "這些規則適用於此專案的所有使用者。隱藏進階設定不會停用規則。",
"outgoing": "Kaneo → repo",
"incoming": "repo → Kaneo",
@@ -2025,8 +1872,6 @@
"removeLabel": "移除 {{name}}",
"noLabels": "請先建立工作區標籤,再設定任務篩選條件。",
"selectLabel": "請至少選擇一個標籤,以預覽此規則。",
- "anySummary": "符合任一標籤:{{labels}}",
- "allSummary": "符合所有標籤:{{labels}}",
"unavailableLabel": "無法使用的標籤",
"impactTitle": "將有哪些變更",
"impact": "符合條件的任務:{{matching}} / {{total}} · 新增匯出:{{create}} · 將暫停的連結:{{pause}} · 待確認的連結:{{review}}",
@@ -2044,7 +1889,6 @@
"loadError": "無法載入同步規則。",
"advancedHint": "請在偏好設定中啟用「進階設定」,以編輯這些規則。",
"paused": "同步已暫停",
- "pausedCount_other": "{{count}} 個連結已暫停",
"pausedHint": "資料與連結都已保留。任務再次符合條件後,仍需確認才能恢復同步。",
"reviewRequired": "符合規則 · 待確認",
"excluded": "不符合目前規則",
@@ -2062,7 +1906,19 @@
"useRepository": "保留 repo 的內容",
"useKaneo": "保留 Kaneo 的內容",
"exportPending": "匯出符合條件的任務",
- "inactiveHint": "此整合已暫停。重新啟用前,不會匯出任何任務。"
+ "inactiveHint": "此整合已暫停。重新啟用前,不會匯出任何任務。",
+ "allIssues": "所有 Issue",
+ "allTasks": "所有任務",
+ "edit": "編輯",
+ "hidePaused": "隱藏",
+ "issuesLabelled": "標有標籤的 Issue:",
+ "joinAnd": "且",
+ "joinOr": "或",
+ "kaneoToProvider": "Kaneo → {{provider}}",
+ "pausedSummary_other": "有 {{count}} 個任務不再符合同步規則,已停止同步。",
+ "providerToKaneo": "{{provider}} → Kaneo",
+ "reviewPaused": "檢視",
+ "tasksLabelled": "標有標籤的任務:"
},
"adminWorkspaces": {
"addMember": {
@@ -2100,23 +1956,15 @@
},
"working": "Working…"
},
- "directoryTitle": "Workspace directory",
+ "directoryTitle": "所有工作區",
"emptyDescription": "Try another name or slug.",
"emptyTitle": "No workspaces found",
- "instanceBadge": "Instance",
"loadError": "Workspaces could not be loaded.",
"manage": "Manage",
"manageLabel": "Manage {{name}}",
"members": {
"actions": "Actions for {{name}}",
"add": "Add member",
- "columns": {
- "actions": "Actions",
- "joined": "Joined",
- "member": "Member",
- "projects": "Projects",
- "role": "Role"
- },
"count_other": "{{count}} members",
"description": "Change roles, project access, and ownership, even if you aren't a member of this workspace.",
"editAccess": "Change project access for {{name}} ({{access}})",
@@ -2135,9 +1983,9 @@
"retry": "Retry",
"searchCount_other": "{{count}} matching workspaces",
"searchLabel": "Search workspaces",
- "searchPlaceholder": "Search name or slug…",
- "subtitle": "Manage every workspace on this Kaneo instance, including ones you don't belong to.",
- "title": "Workspace management",
+ "searchPlaceholder": "依名稱或 slug 搜尋",
+ "subtitle": "此 Kaneo 執行個體上的所有工作區,包括你未加入的工作區。",
+ "title": "工作區",
"toast": {
"added": "Member added",
"addError": "Failed to add member",
@@ -2147,8 +1995,7 @@
"roleError": "Failed to update role",
"roleUpdated": "Role updated",
"transferError": "Failed to transfer ownership"
- },
- "workspaceCount_other": "{{count}} workspaces"
+ }
},
"workspaceImport": {
"back": {
@@ -2387,6 +2234,84 @@
"urlLabel": "Jira site URL",
"urlPlaceholder": "https://your-site.atlassian.net"
}
+ },
+ "chatIntegrations": {
+ "activeDescription": "關閉即可暫停發佈,設定會保留。",
+ "activeTitle": "正在發佈到 {{provider}}",
+ "channelHint": "僅用於在此清單中顯示。",
+ "channelLabel": "頻道",
+ "channelPlaceholder": "#team-updates",
+ "disconnect": "中斷連線",
+ "disconnectDescription": "Kaneo 將停止發佈到 {{provider}},並移除已儲存的設定。",
+ "disconnecting": "正在中斷連線…",
+ "disconnectTitle": "要中斷與 {{provider}} 的連線嗎?",
+ "events": {
+ "taskCommentCreated": "有人留言時",
+ "taskCreated": "建立任務時",
+ "taskDescriptionChanged": "說明變更時",
+ "taskPriorityChanged": "優先順序變更時",
+ "taskStatusChanged": "狀態變更時",
+ "taskTitleChanged": "標題變更時"
+ },
+ "optional": "選填",
+ "postWhen": "發佈時機",
+ "retry": "重試",
+ "saveChanges": "儲存變更",
+ "savedUrlPlaceholder": "已儲存。貼上新的 URL 即可取代。",
+ "webhookUrlLabel": "Webhook URL"
+ },
+ "codeHosting": {
+ "browse": "瀏覽",
+ "changeToken": "變更 Token",
+ "checking": "正在檢查存取權…",
+ "chooseProjectTitle": "選擇專案",
+ "chooseRepositoryTitle": "選擇 Repo",
+ "connectProject": "連接專案",
+ "connectRepository": "連接 Repo",
+ "copied": "已複製",
+ "copyFailed": "無法複製到剪貼簿。",
+ "copySecret": "複製密鑰",
+ "copyUrl": "複製 Webhook URL",
+ "disconnect": "中斷連線",
+ "disconnectDescription": "任務將停止與 {{target}} 同步。你之後可以再次連接。",
+ "disconnecting": "正在中斷連線…",
+ "disconnectTitle": "要中斷與 {{provider}} 的連線嗎?",
+ "hideSecret": "隱藏密鑰",
+ "importing": "正在匯入…",
+ "importIssues": "匯入 Issue",
+ "importNeedsReconnect": "重新連線後即可匯入。",
+ "importTitle": "匯入未關閉的 Issue",
+ "issuesSection": "Issue",
+ "lastImport": "上次匯入:建立 {{imported}} 個、更新 {{updated}} 個、略過 {{skipped}} 個。",
+ "loadError": "無法載入此整合。",
+ "pausedHint": "同步已暫停。重新連線即可繼續。",
+ "projectSection": "專案",
+ "reconnect": "重新連線",
+ "repositoryPathInvalid": "請以 owner/name 格式輸入 Repo。",
+ "repositoryPathLabel": "Repo",
+ "repositorySection": "Repo",
+ "retry": "重試",
+ "saveToken": "儲存 Token",
+ "showSecret": "顯示密鑰",
+ "signInDescription": "請使用可讀取該專案及其 Issue 的 Token。",
+ "signInTitle": "登入你的執行個體",
+ "tokenStored": "已儲存的 Token",
+ "tokenTitle": "存取 Token",
+ "webhookSecret": "密鑰",
+ "webhookSection": "Webhook",
+ "webhookUrl": "URL"
+ },
+ "projectCustomFields": {
+ "fieldsDescription": "拖曳以調整它們在任務中的顯示順序。",
+ "fieldsTitle": "欄位",
+ "newField": "新增自訂欄位",
+ "pageTitle": "自訂欄位",
+ "subtitle": "{{project}} 中每個任務都能記錄的額外資訊,例如規模或客戶。",
+ "subtitleFallback": "此專案中每個任務都能記錄的額外資訊,例如規模或客戶。",
+ "title": "自訂欄位"
+ },
+ "shared": {
+ "autosave": "變更會自動儲存"
}
},
"navigation": {