From 4aa170ae56d53dcbb364b613d36d59b4cc227a22 Mon Sep 17 00:00:00 2001 From: Frederic Barthelemy Date: Wed, 9 Sep 2026 16:27:11 -0700 Subject: [PATCH] fix(editor): register the open-preview banner string verify:localization-extraction failed because the rich-markdown fallback banner's "Open preview" button called translate() with a key never added to en.json. --- src/renderer/src/i18n/locales/en.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/i18n/locales/en.json b/src/renderer/src/i18n/locales/en.json index c4b71668b53..47eb56b7c6a 100644 --- a/src/renderer/src/i18n/locales/en.json +++ b/src/renderer/src/i18n/locales/en.json @@ -117,7 +117,8 @@ "editor": { "richMarkdown": { "tooLarge": "File is larger than the {{limit}} rich editing limit. Showing source mode instead.", - "openAnyway": "Open anyway" + "openAnyway": "Open anyway", + "openPreview": "Open preview" }, "fileLoad": { "hostUnresolved": "The host couldn't find this file's workspace. It may have been removed, or the host may not know about it yet. Retry, or close this tab from the tab strip."