From c1f52c219d162bbf36ba05008dff73d6b65a8d45 Mon Sep 17 00:00:00 2001 From: Eunjae Lee Date: Fri, 30 Jan 2026 11:11:19 +0100 Subject: [PATCH] fix: align feature opt-in toggle labels with enable/disable wording (#27425) --- .../modules/feature-opt-in/hooks/useOrganizationFeatureOptIn.ts | 2 +- apps/web/modules/feature-opt-in/hooks/useTeamFeatureOptIn.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/modules/feature-opt-in/hooks/useOrganizationFeatureOptIn.ts b/apps/web/modules/feature-opt-in/hooks/useOrganizationFeatureOptIn.ts index fd7a916c11..86222e59b3 100644 --- a/apps/web/modules/feature-opt-in/hooks/useOrganizationFeatureOptIn.ts +++ b/apps/web/modules/feature-opt-in/hooks/useOrganizationFeatureOptIn.ts @@ -86,7 +86,7 @@ export function useOrganizationFeatureOptIn(): UseFeatureOptInResult { setAutoOptIn, isStateMutationPending: setStateMutation.isPending, isAutoOptInMutationPending: setAutoOptInMutation.isPending, - toggleLabels: { enabled: t("allow"), disabled: t("block"), inherit: t("let_users_decide") }, + toggleLabels: { enabled: t("enable"), disabled: t("disable"), inherit: t("let_users_decide") }, autoOptInDescription: t("auto_opt_in_experimental_description_org"), getBlockedWarning: getOrgBlockedWarning, isBlockedByHigherLevel: isOrgBlockedByHigherLevel, diff --git a/apps/web/modules/feature-opt-in/hooks/useTeamFeatureOptIn.ts b/apps/web/modules/feature-opt-in/hooks/useTeamFeatureOptIn.ts index 548fc89c33..146eff4aaf 100644 --- a/apps/web/modules/feature-opt-in/hooks/useTeamFeatureOptIn.ts +++ b/apps/web/modules/feature-opt-in/hooks/useTeamFeatureOptIn.ts @@ -120,7 +120,7 @@ export function useTeamFeatureOptIn(teamId: number): UseFeatureOptInResult { setAutoOptIn, isStateMutationPending: setStateMutation.isPending, isAutoOptInMutationPending: setAutoOptInMutation.isPending, - toggleLabels: { enabled: t("allow"), disabled: t("block"), inherit: t("let_users_decide") }, + toggleLabels: { enabled: t("enable"), disabled: t("disable"), inherit: t("let_users_decide") }, autoOptInDescription: t("auto_opt_in_experimental_description_team"), getBlockedWarning, isBlockedByHigherLevel,