Skip to content

Commit

Permalink
fix: correct text
Browse files Browse the repository at this point in the history
  • Loading branch information
marufrasully committed Nov 26, 2024
1 parent cb055b0 commit ab41e22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion packages/vscode-ui5-language-assistant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<your.local.web.server>/1.111.0`

**Note**: Once online, UI5 Language Assistant also caches required resources for offline usage and performance optimization.
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode-ui5-language-assistant/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ async function updateCurrentModel(model: UI5Model | undefined): Promise<void> {
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;
Expand All @@ -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(
Expand Down

0 comments on commit ab41e22

Please sign in to comment.