diff --git a/packages/constants/src/project.ts b/packages/constants/src/project.ts index a4d68295f43..93a29a6c4b2 100644 --- a/packages/constants/src/project.ts +++ b/packages/constants/src/project.ts @@ -1,8 +1,5 @@ // icons -import { - TProjectAppliedDisplayFilterKeys, - TProjectOrderByOptions, -} from "@plane/types"; +import { TProjectAppliedDisplayFilterKeys, TProjectOrderByOptions } from "@plane/types"; export type TNetworkChoiceIconKey = "Lock" | "Globe2"; @@ -55,11 +52,11 @@ export const GROUP_CHOICES = { }; export const PROJECT_AUTOMATION_MONTHS = [ - { i18n_label: "common.months_count", value: 1 }, - { i18n_label: "common.months_count", value: 3 }, - { i18n_label: "common.months_count", value: 6 }, - { i18n_label: "common.months_count", value: 9 }, - { i18n_label: "common.months_count", value: 12 }, + { i18n_label: "workspace_projects.common.months_count", value: 1 }, + { i18n_label: "workspace_projects.common.months_count", value: 3 }, + { i18n_label: "workspace_projects.common.months_count", value: 6 }, + { i18n_label: "workspace_projects.common.months_count", value: 9 }, + { i18n_label: "workspace_projects.common.months_count", value: 12 }, ]; export const PROJECT_UNSPLASH_COVERS = [ diff --git a/web/core/components/automation/auto-archive-automation.tsx b/web/core/components/automation/auto-archive-automation.tsx index 018f69fd46f..6190c9326e8 100644 --- a/web/core/components/automation/auto-archive-automation.tsx +++ b/web/core/components/automation/auto-archive-automation.tsx @@ -97,7 +97,7 @@ export const AutoArchiveAutomation: React.FC = observer((props) => { <> {PROJECT_AUTOMATION_MONTHS.map((month) => ( - {t(month.i18n_label, { month: month.value })} + {t(month.i18n_label, { months: month.value })} ))} @@ -106,7 +106,7 @@ export const AutoArchiveAutomation: React.FC = observer((props) => { className="flex w-full select-none items-center rounded px-1 py-1.5 text-sm text-custom-text-200 hover:bg-custom-background-80" onClick={() => setmonthModal(true)} > - {t("customize_time_range")} + {t("common.customize_time_range")} diff --git a/web/core/components/automation/auto-close-automation.tsx b/web/core/components/automation/auto-close-automation.tsx index da674644d00..833e3bfde12 100644 --- a/web/core/components/automation/auto-close-automation.tsx +++ b/web/core/components/automation/auto-close-automation.tsx @@ -124,7 +124,7 @@ export const AutoCloseAutomation: React.FC = observer((props) => { <> {PROJECT_AUTOMATION_MONTHS.map((month) => ( - {t(month.i18n_label, { month: month.value })} + {t(month.i18n_label, { months: month.value })} ))}