From 666c4209eaee45dca4a89c5d48854f1562edcc7d Mon Sep 17 00:00:00 2001 From: Jason Rose Date: Wed, 26 Jun 2024 08:21:00 -0700 Subject: [PATCH] Fixes NO_CHANGES localization key (#7008) Old: `action.discard-changes.disabled.no-changes` New: `action.discard-changes.disabled.no-changes` This is to match what is in https://github.com/sanity-io/locales/ --- .../src/structure/documentActions/DiscardChangesAction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sanity/src/structure/documentActions/DiscardChangesAction.tsx b/packages/sanity/src/structure/documentActions/DiscardChangesAction.tsx index 4a90b64c7a3..0bb4131558a 100644 --- a/packages/sanity/src/structure/documentActions/DiscardChangesAction.tsx +++ b/packages/sanity/src/structure/documentActions/DiscardChangesAction.tsx @@ -15,7 +15,7 @@ import { import {structureLocaleNamespace} from '../i18n' const DISABLED_REASON_KEY = { - NO_CHANGES: 'action.discard-changes.disabled.no-changes', + NO_CHANGES: 'action.discard-changes.disabled.no-change', NOT_PUBLISHED: 'action.discard-changes.disabled.not-published', NOT_READY: 'action.discard-changes.disabled.not-ready', } as const