Skip to content

Commit 42cb023

Browse files
committed
fix: translation texts
1 parent 838d1e9 commit 42cb023

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/adp-tooling/src/translations/adp-tooling.i18n.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"missingIconOrTitleOrSubtitle": "At least one of the Title, Subtitle, or Icon fields must have a value.",
7171
"fileDoesNotExist": "This file does not exist.",
7272
"annotationFileAlreadyExists": "There is already an annotation file with the same name. Please choose another file or rename the file and select it again.",
73-
"errorDuplicatedValueOData": "An OData annotation or service with the same name was already added to the project. Rename and try again.",
73+
"errorDuplicatedValueOData": "An Data Source and SAPUI5 model with the same name was already added to the project. Rename and try again.",
7474
"errorDuplicatedValueSapui5Model": "An SAPUI5 model with the same name was already added to the project. Rename and try again.",
7575
"errorDuplicateValueComponentId": "A component usage with the same name was already added to the project. Rename and try again.",
7676
"errorDuplicateValueLibrary": "A library with the same name was already added to the project. Rename and try again.",

packages/adp-tooling/test/unit/prompts/add-new-model/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ describe('getPrompts', () => {
156156

157157
expect(typeof validation).toBe('function');
158158
expect(validation?.('customer.testName')).toBe(
159-
'An OData annotation or service with the same name was already added to the project. Rename and try again.'
159+
'An Data Source and SAPUI5 model with the same name was already added to the project. Rename and try again.'
160160
);
161161
});
162162

packages/generator-adp/src/translations/generator-adp.i18n.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"deployConfigDescr": "Configure deployment settings.",
1414
"addComponentUsagesName": "Add SAPUI5 Component Usages",
1515
"addComponentUsagesDescr": "Select SAPUI5 component usages.",
16-
"addNewModelName": "Add Datasource and SAPUI5 Model",
17-
"addNewModelDescr": "Select a Datasource and SAPUI5 model.",
16+
"addNewModelName": "Add Data Source and SAPUI5 Model",
17+
"addNewModelDescr": "Select a Data Source and SAPUI5 model.",
1818
"addLocalAnnotationFileName": "Add Local Annotation File",
1919
"addLocalAnnotationFileDescr": "Select an OData service and annotation XML file.",
2020
"replaceODataServiceName": "Replace OData Service",

packages/generator-adp/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export enum GeneratorTypes {
22
ADD_ANNOTATIONS_TO_DATA = 'Add Local Annotation File',
33
ADD_COMPONENT_USAGES = 'Add SAPUI5 Component Usages',
4-
ADD_NEW_MODEL = 'Add Datasource and SAPUI5 Model',
4+
ADD_NEW_MODEL = 'Add Data Source and SAPUI5 Model',
55
CHANGE_DATA_SOURCE = 'Replace OData Service'
66
}
77

0 commit comments

Comments
 (0)