Skip to content

Commit

Permalink
Updated cds-odata-annotation-converter UI texts
Browse files Browse the repository at this point in the history
Updated packages/cds-odata-annotation-converter/src/i18n/i18n.json
  • Loading branch information
lfindlaysap authored Feb 26, 2025
1 parent 1d4ba46 commit 4373718
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 28 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-planets-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sap-ux/cds-odata-annotation-converter': minor
---

Updated UI texts.
12 changes: 6 additions & 6 deletions packages/cds-odata-annotation-converter/src/i18n/i18n.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"Property_is_not_allowed_here": "Property is not allowed here '{{name}}'",
"The_attribute_value_must_be_a_string_literal": "The attribute value must be a string literal",
"Wrong_element_0_Did_you_mean_1": "Wrong element '{{currentValue}}'. Did you mean '{{proposedValue}}'?",
"Mandatory_property_not_provided_0": "Mandatory property not provided: {{property}}",
"Path_escaping_brackets_should_be_used": "Path escaping brackets ![] should be used",
"Wrong_path_separator_0_Did_you_mean_1": "Wrong path separator '{{currentValue}}'. Did you mean '{{proposedValue}}'?"
"Property_is_not_allowed_here": "The `{{name}}` property is not allowed here.",
"The_attribute_value_must_be_a_string_literal": "The attribute value must be a string literal.",
"Wrong_element_0_Did_you_mean_1": "`{{currentValue}}` is incorrect. Did you mean `{{proposedValue}}`?",
"Mandatory_property_not_provided_0": "The mandatory `{{property}}` property was not provided.",
"Path_escaping_brackets_should_be_used": "Path escaping brackets `![]` must be used.",
"Wrong_path_separator_0_Did_you_mean_1": "`{{currentValue}}` is the wrong path separator. Did you mean `{{proposedValue}}`?"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
"range": "[(37,24)..(37,28)]",
"severity": 1,
"message": "The attribute value must be a string literal"
"message": "The attribute value must be a string literal."
}
]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"message": "Wrong element '$edmJS'. Did you mean '$edmJson'?",
"message": "`$edmJS` is incorrect. Did you mean `$edmJson`?",
"range": "[(14,8)..(14,16)]",
"severity": 1,
"data": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"range": "[(52,39)..(52,40)]",
"message": "Wrong path separator '/'. Did you mean '.'?",
"message": "`/` is the wrong path separator. Did you mean `.`?",
"severity": 2,
"data": {
"caseCheck": {
Expand All @@ -14,7 +14,7 @@
},
{
"rule": "no-odata-path-separator",
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets `![]` must be used.",
"range": "[(61,32)..(61,61)]",
"severity": 2,
"data": {
Expand All @@ -24,7 +24,7 @@
},
{
"rule": "no-odata-path-separator",
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets `![]` must be used.",
"range": "[(65,32)..(65,86)]",
"severity": 2,
"data": {
Expand All @@ -34,7 +34,7 @@
},
{
"rule": "no-odata-path-separator",
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets `![]` must be used.",
"range": "[(69,34)..(69,89)]",
"severity": 2,
"data": {
Expand All @@ -44,7 +44,7 @@
},
{
"rule": "no-odata-path-separator",
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets `![]` must be used.",
"range": "[(73,32)..(73,92)]",
"severity": 2,
"data": {
Expand All @@ -54,7 +54,7 @@
},
{
"rule": "no-odata-path-separator",
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets `![]` must be used.",
"range": "[(81,16)..(81,48)]",
"severity": 2,
"data": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"message": "Wrong element '$Value'. Did you mean '$value'?",
"message": "`$Value` is incorrect. Did you mean `$value`?",
"range": "[(4,12)..(4,18)]",
"severity": 1,
"data": {
Expand All @@ -14,21 +14,21 @@
},
{
"range": "[(10,19)..(13,9)]",
"message": "Mandatory property not provided: $value",
"message": "The mandatory `$value` property was not provided.",
"severity": 1
},
{
"message": "Property is not allowed here '$alue'",
"message": "The `$alue` property is not allowed here.",
"range": "[(12,12)..(12,17)]",
"severity": 2
},
{
"range": "[(15,15)..(15,25)]",
"message": "Mandatory property not provided: $value",
"message": "The mandatory `$value` property was not provided.",
"severity": 1
},
{
"message": "Property is not allowed here 'val'",
"message": "The `val` property is not allowed here.",
"range": "[(15,17)..(15,20)]",
"severity": 2
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Array [
"proposedValue": "@UI.DataPoint#E/Value]",
"value": "@UI.DataPoint#E/Value",
},
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets \`![]\` must be used.",
"range": Object {
"end": Object {
"character": 45,
Expand Down Expand Up @@ -59,7 +59,7 @@ Array [
"proposedValue": "@UI.DataPoint#B/Value]",
"value": "@UI.DataPoint#B/Value",
},
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets \`![]\` must be used.",
"range": Object {
"end": Object {
"character": 45,
Expand Down Expand Up @@ -92,7 +92,7 @@ Array [
"proposedValue": "![@UI.DataPoint#C/Value]",
"value": "@UI.DataPoint#C/Value",
},
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets \`![]\` must be used.",
"range": Object {
"end": Object {
"character": 45,
Expand Down Expand Up @@ -125,7 +125,7 @@ Array [
"proposedValue": "![@UI.DataPoint#D/Value/]",
"value": "@UI.DataPoint#D/Value/",
},
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets \`![]\` must be used.",
"range": Object {
"end": Object {
"character": 43,
Expand Down Expand Up @@ -158,7 +158,7 @@ Array [
"proposedValue": "![@UI.DataPoint/Value]",
"value": "@UI.DataPoint/Value",
},
"message": "Path escaping brackets ![] should be used",
"message": "Path escaping brackets \`![]\` must be used.",
"range": Object {
"end": Object {
"character": 40,
Expand Down Expand Up @@ -204,7 +204,7 @@ Array [
"value": "/",
},
},
"message": "Wrong path separator '/'. Did you mean '.'?",
"message": "\`/\` is the wrong path separator. Did you mean \`.\`?",
"range": Object {
"end": Object {
"character": 21,
Expand Down Expand Up @@ -238,7 +238,7 @@ Array [
"value": "/",
},
},
"message": "Wrong path separator '/'. Did you mean '.'?",
"message": "\`/\` is the wrong path separator. Did you mean \`.\`?",
"range": Object {
"end": Object {
"character": 13,
Expand Down Expand Up @@ -273,7 +273,7 @@ Array [
"value": "/",
},
},
"message": "Wrong path separator '/'. Did you mean '.'?",
"message": "\`/\` is the wrong path separator. Did you mean \`.\`?",
"range": Object {
"end": Object {
"character": 13,
Expand All @@ -295,7 +295,7 @@ Array [
"value": "/",
},
},
"message": "Wrong path separator '/'. Did you mean '.'?",
"message": "\`/\` is the wrong path separator. Did you mean \`.\`?",
"range": Object {
"end": Object {
"character": 21,
Expand Down

0 comments on commit 4373718

Please sign in to comment.