From aaab68b5363ad78ace04f37cc52c6a0fdeee634b Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Tue, 10 Dec 2024 15:27:41 -0700 Subject: [PATCH] Remove extra `.` in strings for `openInEditor` command --- .../positronPreview/browser/components/htmlActionBars.tsx | 2 +- .../positronPreview/browser/components/urlActionBars.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/positronPreview/browser/components/htmlActionBars.tsx b/src/vs/workbench/contrib/positronPreview/browser/components/htmlActionBars.tsx index 6ff07875391..91e01116295 100644 --- a/src/vs/workbench/contrib/positronPreview/browser/components/htmlActionBars.tsx +++ b/src/vs/workbench/contrib/positronPreview/browser/components/htmlActionBars.tsx @@ -19,7 +19,7 @@ import { DisposableStore } from 'vs/base/common/lifecycle'; const reload = localize('positron.preview.html.reload', "Reload the content"); const clear = localize('positron.preview.html.clear', "Clear the content"); const openInBrowser = localize('positron.preview.html.openInBrowser', "Open the content in the default browser"); -const openInEditor = localize('positron.preview.html.openInEditor', "Open the content in an editor tab."); +const openInEditor = localize('positron.preview.html.openInEditor', "Open the content in an editor tab"); /** * HtmlActionBarsProps interface. diff --git a/src/vs/workbench/contrib/positronPreview/browser/components/urlActionBars.tsx b/src/vs/workbench/contrib/positronPreview/browser/components/urlActionBars.tsx index 2b846365be1..97ce931a510 100644 --- a/src/vs/workbench/contrib/positronPreview/browser/components/urlActionBars.tsx +++ b/src/vs/workbench/contrib/positronPreview/browser/components/urlActionBars.tsx @@ -36,7 +36,7 @@ const reload = localize('positron.preview.reload', "Reload the current URL"); const clear = localize('positron.preview.clear', "Clear the current URL"); const openInBrowser = localize('positron.preview.openInBrowser', "Open the current URL in the default browser"); const currentUrl = localize('positron.preview.currentUrl', "The current URL"); -const openInEditor = localize('positron.preview.html.openInEditor', "Open the content in an editor tab."); +const openInEditor = localize('positron.preview.html.openInEditor', "Open the content in an editor tab"); /** * UrlActionBars component.