From 5796d93b0d9404f2eed164ebaf17a809413c473b Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Tue, 25 Jul 2023 21:49:29 -0400 Subject: [PATCH 1/2] #611: Fix typo in the `frontMatter.global.disabledNotifications` setting --- CHANGELOG.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36536706..43fccfe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ - [#593](https://github.com/estruyf/vscode-front-matter/issues/593): Add support for date formatting in the preview path - [#599](https://github.com/estruyf/vscode-front-matter/issues/599): Add a placeholder when the base panel view is empty - [#602](https://github.com/estruyf/vscode-front-matter/issues/602): Find content outside the Front Matter workspace folder +- [#611](https://github.com/estruyf/vscode-front-matter/issues/611): Fix typo in the `frontMatter.global.disabledNotifications` setting ### ⚡️ Optimizations diff --git a/package.json b/package.json index f8951353..465e3cdd 100644 --- a/package.json +++ b/package.json @@ -906,7 +906,7 @@ "markdownDescription": "Specifies the notifications you want to see. By default, all notifications types will be shown. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.global.notifications)", "scope": "Templates" }, - "frontMatter.global.disabledNotificaitons": { + "frontMatter.global.disabledNotifications": { "type": "array", "default": [], "markdownDescription": "This is an array with the notifications types that can be disabled for Front Matter CMS. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.global.disablednotifications)", From 4a477e65894e2f06e9493f6b5b1a3aefdff9b80f Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Tue, 25 Jul 2023 21:52:08 -0400 Subject: [PATCH 2/2] Fix typo --- package.json | 2 +- package.nls.json | 2 +- scripts/settings-export.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index bfd9ff87..9d976663 100644 --- a/package.json +++ b/package.json @@ -927,7 +927,7 @@ "frontMatter.global.disabledNotifications": { "type": "array", "default": [], - "markdownDescription": "%setting.frontMatter.global.disabledNotificaitons.markdownDescription%", + "markdownDescription": "%setting.frontMatter.global.disabledNotifications.markdownDescription%", "enum": [ "requiredFieldValidation" ] diff --git a/package.nls.json b/package.nls.json index f7a9bba9..c8b3c505 100644 --- a/package.nls.json +++ b/package.nls.json @@ -146,7 +146,7 @@ "setting.frontMatter.global.modes.items.properties.id.description": "The ID of your mode.", "setting.frontMatter.global.modes.items.properties.features.description": "The features you want to use for your mode.", "setting.frontMatter.global.notifications.markdownDescription": "Specifies the notifications you want to see. By default, all notifications types will be shown. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.global.notifications)", - "setting.frontMatter.global.disabledNotificaitons.markdownDescription": "This is an array with the notifications types that can be disabled for Front Matter CMS. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.global.disablednotifications)", + "setting.frontMatter.global.disabledNotifications.markdownDescription": "This is an array with the notifications types that can be disabled for Front Matter CMS. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.global.disablednotifications)", "setting.frontMatter.media.defaultSorting.markdownDescription": "Specify the default sorting option for the media dashboard. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.media.defaultsorting)", "setting.frontMatter.media.supportedMimeTypes.markdownDescription": "Specify the mime types to support for the media files. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.media.supportedMimeTypes)", "setting.frontMatter.panel.freeform.markdownDescription": "Specifies if you want to allow yourself from entering unknown tags/categories in the tag picker (when enabled, you will have the option to store them afterwards). Default: true. [Check in the docs](https://frontmatter.codes/docs/settings/overview#frontmatter.panel.freeform)", diff --git a/scripts/settings-export.js b/scripts/settings-export.js index 047b8f06..9555fb33 100644 --- a/scripts/settings-export.js +++ b/scripts/settings-export.js @@ -16,7 +16,7 @@ for (const key of Object.keys(packageJson.contributes.configuration.properties)) // frontMatter.content.draftField - object // frontMatter.content.supportedFileTypes - array // frontMatter.global.notifications - array -// frontMatter.global.disabledNotificaitons - array +// frontMatter.global.disabledNotifications - array // frontMatter.media.supportedMimeTypes - array // frontMatter.taxonomy.commaSeparatedFields - array