Skip to content

Commit

Permalink
fix: warning text correction (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
vadson71 committed May 8, 2024
1 parent 32f0151 commit 286a57d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .changeset/nice-news-talk.md
@@ -0,0 +1,7 @@
---
"@ui5-language-assistant/fe": patch
"vscode-ui5-language-assistant": patch
"@ui5-language-assistant/vscode-ui5-language-assistant-bas-ext": patch
---

Warning text correction
2 changes: 1 addition & 1 deletion packages/fe/src/i18n/i18n.json
Expand Up @@ -24,7 +24,7 @@
"UNKNOWN_PATH": "Unknown path: \"{{value}}\"",
"INVALID_PROPERTY_PATH_MULTIPLE_1_TO_MANY": "Invalid property path value. Multiple 1:many association segments not allowed",

"ENTITY_SET_OR_CONTEXT_PATH_IS_MISSING_IN_MANIFEST": "Path cannot be identified: use absolute path or define contextPath",
"ENTITY_SET_OR_CONTEXT_PATH_IS_MISSING_IN_MANIFEST": "The path cannot be identified. Use an absolute path or define the contextPath",
"EMPTY_CONTEXT_PATH_IN_MANIFEST": "ContextPath in manifest is empty. Attribute value completion and diagnostics are disabled",
"RELATIVE_CONTEXT_PATH_IN_MANIFEST": "ContextPath in manifest \"{{value}}\" must be absolute. Attribute value completion and diagnostics are disabled",
"UNKNOWN_CONTEXT_PATH_IN_MANIFEST": "Unknown contextPath in manifest \"{{value}}\". Attribute value completion and diagnostics are disabled",
Expand Down
Expand Up @@ -76,7 +76,7 @@ describe("missing entitySet validation", () => {
}
);
expect(result.map((item) => issueToSnapshot(item))).toStrictEqual([
"kind: MissingEntitySet; text: Path cannot be identified: use absolute path or define contextPath; severity:warn; offset:344-354",
"kind: MissingEntitySet; text: The path cannot be identified. Use an absolute path or define the contextPath; severity:warn; offset:344-354",
]);
});

Expand All @@ -87,7 +87,7 @@ describe("missing entitySet validation", () => {
(c) => ({ ...c, manifestDetails: undefined } as any)
);
expect(result.map((item) => issueToSnapshot(item))).toStrictEqual([
"kind: MissingEntitySet; text: Path cannot be identified: use absolute path or define contextPath; severity:warn; offset:344-349",
"kind: MissingEntitySet; text: The path cannot be identified. Use an absolute path or define the contextPath; severity:warn; offset:344-349",
]);
});

Expand All @@ -103,7 +103,7 @@ describe("missing entitySet validation", () => {
}
);
expect(result.map((item) => issueToSnapshot(item))).toStrictEqual([
"kind: MissingEntitySet; text: Path cannot be identified: use absolute path or define contextPath; severity:warn; offset:344-349",
"kind: MissingEntitySet; text: The path cannot be identified. Use an absolute path or define the contextPath; severity:warn; offset:344-349",
]);
});
});
Expand Down

0 comments on commit 286a57d

Please sign in to comment.