From ab41e22a4d2e33635d26362ee86badb38d7742f3 Mon Sep 17 00:00:00 2001 From: Maruf Rasully <100434800+marufrasully@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:46:12 +0100 Subject: [PATCH] fix: correct text --- examples/README.md | 2 +- packages/vscode-ui5-language-assistant/README.md | 2 +- packages/vscode-ui5-language-assistant/src/extension.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/README.md b/examples/README.md index 70039a4da..0ee7d4313 100644 --- a/examples/README.md +++ b/examples/README.md @@ -4,4 +4,4 @@ This folder contains a collection of examples ## sap-ui5-web-server -A local web server to host SAP UI5 SDK +A local web server to host SAPUI5 SDK diff --git a/packages/vscode-ui5-language-assistant/README.md b/packages/vscode-ui5-language-assistant/README.md index d779bcf56..89ca30150 100644 --- a/packages/vscode-ui5-language-assistant/README.md +++ b/packages/vscode-ui5-language-assistant/README.md @@ -210,7 +210,7 @@ When working with CAP projects, make sure you have @sap/cds module installed. Fo ### Enabling offline work -You can set up a local web server to host one or more supported versions of SAP UI5 SDK and register it in the user/workspace setting `"UI5LanguageAssistant.SAPUI5WebServer"`. This overrides the public CDN of SAP UI5 SDK in the extension and enables offline work with the apps having the matching hosted `"minUI5Version"` in `manifest.json`. +You can set up a local web server to host one or more supported versions of SAPUI5 SDK and register it in the user/workspace setting `"UI5LanguageAssistant.SAPUI5WebServer"`. This overrides the public CDN of SAPUI5 SDK in the extension and enables offline work with the apps having the matching hosted `"minUI5Version"` in `manifest.json`. When configuring local web server, make sure it responds to the exact UI5 version defined in manifest.json e.g `/1.111.0` **Note**: Once online, UI5 Language Assistant also caches required resources for offline usage and performance optimization. diff --git a/packages/vscode-ui5-language-assistant/src/extension.ts b/packages/vscode-ui5-language-assistant/src/extension.ts index 87cc0a11f..c2200752e 100644 --- a/packages/vscode-ui5-language-assistant/src/extension.ts +++ b/packages/vscode-ui5-language-assistant/src/extension.ts @@ -212,7 +212,7 @@ async function updateCurrentModel(model: UI5Model | undefined): Promise { if (response) { version = `${version} (local)`; tooltipText = - "Alternative (local) SAP UI5 web server is defined in user or workspace settings. Using SAP UI5 version fetched from the local server"; + "Alternative (local) SAPUI5 web server is defined in user or workspace settings. Using SAPUI5 version fetched from the local server"; } } statusBarItem.tooltip = tooltipText; @@ -234,7 +234,7 @@ function handleContextError(error: Error & { code?: string }) { showedOnce = true; if (error.code) { window.showErrorMessage( - "[SAP UI5 SDK](https://tools.hana.ondemand.com/#sapui5) is not accessible. Connect to the internet or setup local web server for offline work." + "[SAPUI5 SDK](https://tools.hana.ondemand.com/#sapui5) is not accessible. Connect to the internet or setup local web server for offline work." ); } else { window.showErrorMessage(