diff --git a/apps/nextjs/src/app/[locale]/manage/tools/docker/docker-reconciliation.tsx b/apps/nextjs/src/app/[locale]/manage/tools/docker/docker-reconciliation.tsx index 17382d889..88f6cb3e0 100644 --- a/apps/nextjs/src/app/[locale]/manage/tools/docker/docker-reconciliation.tsx +++ b/apps/nextjs/src/app/[locale]/manage/tools/docker/docker-reconciliation.tsx @@ -54,6 +54,7 @@ type ServiceHealth = RouterOutputs["docker"]["getServiceHealth"]["services"][num export const DockerReconciliation = ({ defaultServerOrigin }: { defaultServerOrigin: string }) => { const t = useScopedI18n("docker.reconciliation"); + const tGlobal = useI18n(); const utils = clientApi.useUtils(); const panelId = useId(); const [isOpen, setIsOpen] = useLocalStorage({ @@ -97,7 +98,7 @@ export const DockerReconciliation = ({ defaultServerOrigin }: { defaultServerOri {t("loadError.message")} @@ -113,7 +114,7 @@ export const DockerReconciliation = ({ defaultServerOrigin }: { defaultServerOri ["newRecognized", "newApp", "moved"].includes(state) && !dismissedCandidateKeys.includes(candidateKey), ).length; const isRefreshing = refreshInventory.isPending || reconciliation.isFetching || health.isFetching; - const toggleLabel = isOpen ? t("action.hide") : t("action.review"); + const toggleLabel = isOpen ? tGlobal("common.action.hide") : t("action.review"); return ( @@ -183,7 +184,7 @@ export const DockerReconciliation = ({ defaultServerOrigin }: { defaultServerOri leftSection={} onClick={() => refreshInventory.mutate()} > - {t("action.refresh")} + {tGlobal("docker.action.refresh.label")} @@ -293,7 +294,7 @@ const DockerReconciliationCandidate = ({ }) } > - {t("action.createApp")} + {tGlobal("integration.field.createApp.label")} )} {target.kind === "setupIntegration" && ( diff --git a/packages/translation/src/lang/en.json b/packages/translation/src/lang/en.json index 3514deb9e..03d7a3415 100644 --- a/packages/translation/src/lang/en.json +++ b/packages/translation/src/lang/en.json @@ -7123,13 +7123,9 @@ }, "action": { "review": "Review", - "hide": "Hide", - "refresh": "Refresh", - "retry": "Try again", "dismiss": "Dismiss", "restoreDismissed": "Restore dismissed ({count})", "setupIntegration": "Set up integration", - "createApp": "Create app", "reviewIntegration": "Review integration", "viewRepresentation": "View setup" },