fix: replace by_team_admins with by_team_admin in dynamic i18n keys (#27270)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: ali@cal.com <ali@cal.com>
This commit is contained in:
devin-ai-integration[bot]andali@cal.com authored and GitHub committed 2026-01-27 05:59:02 +00:00
1 parent 46d54b36ce
commit c96e40b3d6
3 files changed
+6 -6

No files matched your search

@@ -116,7 +116,7 @@ export const EventAppsTab = ({
title={
<ServerTrans
t={t}
i18nKey={`${lockedText}_${isManagedEventType ? "for_members" : "by_team_admins"}`}
i18nKey={`${lockedText}_${isManagedEventType ? "for_members" : "by_team_admin"}`}
/>
}
actions={<div className="flex h-full items-center">{appsDisableProps.LockedIcon}</div>}
@@ -124,7 +124,7 @@ export const EventAppsTab = ({
<ServerTrans
t={t}
i18nKey={`apps_${lockedText}_${
isManagedEventType ? "for_members" : "by_team_admins"
isManagedEventType ? "for_members" : "by_team_admin"
}_description`}
/>
}
@@ -128,7 +128,7 @@ export const EventWebhooksTab = ({ eventType }: Pick<EventTypeSetupProps, "event
title={
<ServerTrans
t={t}
i18nKey={`${lockedText}_${isManagedEventType ? "for_members" : "by_team_admins"}`}
i18nKey={`${lockedText}_${isManagedEventType ? "for_members" : "by_team_admin"}`}
/>
}
actions={
@@ -138,7 +138,7 @@ export const EventWebhooksTab = ({ eventType }: Pick<EventTypeSetupProps, "event
<ServerTrans
t={t}
i18nKey={`webhooks_${lockedText}_${
isManagedEventType ? "for_members" : "by_team_admins"
isManagedEventType ? "for_members" : "by_team_admin"
}_description`}
/>
}
@@ -253,7 +253,7 @@ function EventWorkflowsTab(props: Props) {
title={
<ServerTrans
t={t}
i18nKey={`${lockedText}_${isManagedEventType ? "for_members" : "by_team_admins"}`}
i18nKey={`${lockedText}_${isManagedEventType ? "for_members" : "by_team_admin"}`}
/>
}
actions={<div className="flex h-full items-center">{workflowsDisableProps.LockedIcon}</div>}
@@ -261,7 +261,7 @@ function EventWorkflowsTab(props: Props) {
<ServerTrans
t={t}
i18nKey={`workflows_${lockedText}_${
isManagedEventType ? "for_members" : "by_team_admins"
isManagedEventType ? "for_members" : "by_team_admin"
}_description`}
/>
}