Skip to content

Commit d1d6967

Browse files
authored
Merge pull request #401 from snehaljha-sf/mvp_backport
Mvp backport (Labels and cta)
2 parents cefa878 + c6e7960 commit d1d6967

File tree

5 files changed

+100
-198
lines changed

5 files changed

+100
-198
lines changed

messages/assess.json

Lines changed: 54 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,41 @@
77
"omnistudio:migration:assess -u [email protected] --only=fc",
88
"omnistudio:migration:assess -u [email protected] -r apex"
99
],
10-
"commandDescription": "Assess migration of omnistudio components from custom objects to standard objects",
11-
"namespaceFlagDescription": "The namespaced of the package",
12-
"apiVersionFlagDescription": "The Salesforce API version to use",
13-
"errorNoOrgResults": "No results found for the org '%s'.",
14-
"onlyFlagDescription": "Migrate a single element: os | ip | fc | dm ",
15-
"invalidOnlyFlag": "Invalid flag, valid options are: os | ip | fc | dm",
16-
"couldNotDeactivateOmniProcesses": "Could not deactivate current OmniProcesses",
17-
"couldNotTruncate": "Could not truncate %s",
18-
"couldNotTruncateOmnniProcess": "Could not truncate OmniProcess. Please make sure your OS/IP is not referenced in an OmniScrirpt or Flex Card.",
19-
"invalidNameTypeSubtypeOrLanguage": "Not a valid Name, Type, SubType or Language",
20-
"invalidOrRepeatingOmniscriptElementNames": "Invalid or Repeating Element Names for Same Omniscript",
21-
"invalidDataRaptorName": "Invalid name, can not have special characters",
22-
"duplicatedCardName": "Duplicated Flexcard name",
23-
"duplicatedDrName": "Duplicated Data Mapper name",
24-
"duplicatedOSName": "Duplicated Omniscript name",
10+
"commandDescription": "Assess the migration of Omnistudio components from Omnistudio managed package runtime to Omnistudio standard runtime.",
11+
"errorNoOrgResults": "No records found in the org '%s' to migrate.",
12+
"onlyFlagDescription": "Migrate a single component: os | ip | fc | dm",
13+
"invalidOnlyFlag": "Invalid entry. Enter one of these options: os | ip | fc | dm",
14+
"couldNotTruncate": "We couldn't clear all %s records.",
15+
"couldNotTruncateOmnniProcess": "We couldn't clear all records of your %s because the %s is referenced in an Omniscript or a Flexcard.",
16+
"duplicatedCardName": "Flexcard with duplicate name found in this org. Modify your Flexcard and try again.",
17+
"duplicatedDrName": "Data Mapper with duplicate name found in this org. Rename your Data Mapper and try again.",
18+
"duplicatedOSName": "Omniscript with duplicate name, type, subtype, or language found in this org. Modify your Omniscript and try again.",
2519
"duplicatedName": "Duplicated name",
26-
"errorWhileActivatingOs": "Could not activate Omniscript / Integration Procedure: ",
27-
"errorWhileActivatingCard": "Could not activate Card: ",
28-
"errorWhileUploadingCard": "An error ocurred while uploading Card: ",
29-
"errorWhileCreatingElements": "An error ocurred while saving Omniscript elements: ",
20+
"errorWhileActivatingOs": "We couldn't activate your Omniscript / Integration Procedure:",
21+
"errorWhileActivatingCard": "We couldn't activate your Flexcard:",
22+
"errorWhileUploadingCard": "We couldn't deploy your Flexcard to your org. Review these errors:",
23+
"errorWhileCreatingElements": "We couldn't save elements in your Omniscript. Review these errors:",
3024
"allVersionsDescription": "Migrate all versions of a component",
3125
"changeMessage": " %s will be changed from %s to %s",
32-
"angularOSWarning": " Angular Omniscript will not be migrated, please convert this to LWC based Omniscript",
33-
"apexLwcGA": "Please select the type of component to assess: 'apex' for Apex classes, 'lwc' for Lightning Web Components, or 'apex,lwc' if you want to include both types.",
34-
"apexLwc": "Please select the type of component to assess: 'apex' for Apex classes.",
35-
"invalidNamespace": "The namespace you have passed is not valid namespace, the valid namespace of your org is ",
36-
"noPackageInstalled": "No package installed on given org.",
37-
"alreadyStandardModel": "The org is already on standard data model.",
38-
"invalidRelatedObjectsOptionGA": "Invalid option provided for -r: %s. Valid options are apex, lwc.",
39-
"invalidRelatedObjectsOption": "Invalid option provided for -r: %s. Valid option is apex.",
40-
"formulaSyntaxError": "There was some problem while updating the formula syntax, please check the all the formula's syntax once : %s",
41-
"errorDuringFlexCardAssessment": "Error during Flexcards assessment",
42-
"errorDuringOmniScriptAssessment": "Error during Omniscript assessment",
43-
"processingFlexCard": "Processing Flexcards: %s",
44-
"processingDataRaptor": "Processing Data Mappers: %s",
45-
"processingOmniScript": "Processing Omniscripts: %s",
26+
"angularOSWarning": "We couldn't migrate Angular Omniscripts. Convert all Angular Omniscripts to LWC Omniscripts, and try again.",
27+
"apexLwc": "Select the component type that you want to assess: 'apex' for Apex classes.",
28+
"invalidNamespace": "Invalid namespace entered. The correct namespace of your org is ",
29+
"noPackageInstalled": "No managed package found in your org.",
30+
"alreadyStandardModel": "Your org is already on the Omnistudio standard runtime.",
31+
"invalidRelatedObjectsOption": "Invalid entry for -r: %s. Enter apex.",
32+
"formulaSyntaxError": "We couldn't update the syntax of this formula. Verify the syntax and try again: %s",
33+
"errorDuringFlexCardAssessment": "We've encountered errors during the Flexcard assessment: %s",
34+
"errorDuringOmniScriptAssessment": "We've encountered errors during the Omniscript assessment: %s",
35+
"processingFlexCard": "Processing Flexcard: %s",
36+
"processingDataRaptor": "Processing Data Mapper: %s",
37+
"processingOmniScript": "Processing Omniscript: %s",
4638
"foundDataRaptorsToAssess": "Found %s Data Mappers to assess",
4739
"foundOmniScriptsToAssess": "Found %s %s to assess",
48-
"startingDataRaptorAssessment": "Starting Data Mappers assessment",
49-
"startingOmniScriptAssessment": "Starting %s assessment",
50-
"allVersionsInfo": "allVersions : %s",
51-
"assessmentInitialization": "Assessment Initialization: Using namespace: %s",
52-
"apiVersionInfo": "API Version: %s",
40+
"startingDataRaptorAssessment": "Starting Data Mapper assessment",
41+
"startingOmniScriptAssessment": "Starting Omniscript assessment",
42+
"allVersionsInfo": "All versions: %s",
43+
"assessmentInitialization": "Assessment process started. Using namespace: %s",
44+
"apiVersionInfo": "API version: %s",
5345
"assessmentTargets": "Assessment targets: %s",
5446
"relatedObjectsInfo": "Related objects: %s",
5547
"allVersionsFlagInfo": "All versions: %s",
@@ -66,36 +58,35 @@
6658
"foundFlexCardsToAssess": "Found %s Flexcards to assess",
6759
"startingApexAssessment": "Starting Apex assessment in project path: %s",
6860
"processingApexFilesForAssessment": "Processing Apex files for assessment",
69-
"successfullyProcessedApexFilesForAssessment": "Successfully processed %s Apex files for assessment",
70-
"apexAssessmentResults": "Apex assessment results: %s",
61+
"successfullyProcessedApexFilesForAssessment": "Successfully processed %s Apex files for assessment.",
62+
"apexAssessmentResults": "Apex class assessment results: %s",
7163
"foundApexFilesInDirectory": "Found %s Apex files in directory: %s",
7264
"skippingNonApexFile": "Skipping non-Apex file: %s",
7365
"processingApexFile": "Processing Apex file: %s",
74-
"skippingApexFileFewChanges": "Skipping Apex file: %s as it has less than 3 changes",
66+
"skippingApexFileFewChanges": "Skipping the %s Apex file as it has no changes.",
7567
"successfullyProcessedApexFile": "Successfully processed Apex file: %s",
76-
"fileNoOmnistudioCalls": "File %s does not have any omnistudio calls or remote calls. No changes will be applied.",
77-
"fileAlreadyImplementsCallable": "file %s already implements callable no changes will be applied",
78-
"inApexDrNameWillBeUpdated": "In Apex %s DR name %s will be updated to %s",
68+
"fileNoOmnistudioCalls": "The %s file doesn't have any Omnistudio calls or remote calls. No changes will be applied.",
69+
"fileAlreadyImplementsCallable": "The %s file already implements the Callable interface. No changes will be applied.",
70+
"inApexDrNameWillBeUpdated": "In the %s Apex file, the Data Mapper name, %s, will be updated to %s.",
7971
"startingLwcAssessment": "Starting LWC assessment in project path: %s",
8072
"processingLwcsForAssessment": "Processing LWCs for assessment",
81-
"successfullyProcessedLwcsForAssessment": "Successfully processed %s LWCs for assessment",
73+
"successfullyProcessedLwcsForAssessment": "Successfully processed %s LWCs for assessment.",
8274
"lwcAssessmentResults": "LWC assessment results: %s",
83-
"errorReadingFiles": "Error in reading files",
84-
"errorProcessingFiles": "Error in processing files",
75+
"errorReadingFiles": "Error reading files",
76+
"errorProcessingFiles": "Error processing files",
8577
"startingProcessRelatedObjects": "Starting processRelatedObjects for %s in project path: %s",
8678
"errorProcessingApexFile": "Error processing Apex file: %s",
87-
"fileUpdatedToAllowRemoteCalls": "File will be updated to allow remote calls",
88-
"fileUpdatedToAllowCalls": "File will be updated to allow calls",
89-
"fileImplementsVlocityOpenInterface": "File %s implements VlocityOpenInterface no changes will be applied",
90-
"methodCallBundleNameUpdated": "Method call bundle name will be updated in %s for class %s method %s",
91-
"cardNameChangeMessage": "Card name will be changed from %s to %s to follow API naming standards",
92-
"authordNameChangeMessage": "Author name will be changed from %s to %s to follow API naming standards",
93-
"omniScriptNameChangeMessage": "Omniscript reference name %s will be changed to %s during migration.",
79+
"fileUpdatedToAllowRemoteCalls": "File updated to allow remote calls.",
80+
"fileUpdatedToAllowCalls": "File updated to allow calls.",
81+
"methodCallBundleNameUpdated": "Method call bundle name will be updated in %s for the %s class and %s method.",
82+
"cardNameChangeMessage": "The Flexcard name will be changed from %s to %s to adhere to the API naming standards.",
83+
"authordNameChangeMessage": "The Flexcard author name will be changed from %s to %s to adhere to the naming rules: %s",
84+
"omniScriptNameChangeMessage": "The Omniscript reference name %s will be changed to %s during migration.",
9485
"dataRaptorNameChangeMessage": "Data Mapper reference %s will be changed to %s during migration.",
9586
"integrationProcedureNameChangeMessage": "Integration Procedure reference %s will be changed to %s during migration.",
9687
"integrationProcedureManualUpdateMessage": "Integration Procedure reference %s may need manual updates after migration.",
9788
"duplicateCardNameMessage": "Potential duplicate: Another card has the same name %s after name cleaning. This may cause conflicts during migration",
98-
"existingApexPrompt": "Do you have a sfdc project that already contains the APEX classes retrieved from your org? [y/n]",
89+
"existingApexPrompt": "Do you have a sfdc project that already contains the related objects retrieved from your org? [y/n]",
9990
"enterExistingProjectPath": "Enter the path to the project folder that contains the retrieved APEX classes:",
10091
"invalidProjectFolderPath": "Provided project folder does not exist. Please provide a valid project folder path",
10192
"requestTimedOut": "Request timed out",
@@ -105,22 +96,20 @@
10596
"operationCancelled": "Operation cancelled.",
10697
"invalidYesNoResponse": "Invalid response. Please answer y or n.",
10798
"notSfdxProjectFolderPath": "Provided folder is not a valid Salesforce DX project. Please select a folder containing sfdx-project.json",
108-
"failedToGetValidProjectPath": "Failed to get valid project path",
10999
"errorRunningAssess": "Assessment process failed reason : %s",
110100
"enableVerboseOutput": "Enable verbose output",
111-
"apexFileChangesIdentifiedNotApplied": "Changes identified for Apex class %s but not applied (assessment mode)",
112-
"apexFileHasMultipleInterfaces": "File %s has multiple interfaces including Callable, standardizing to System.Callable only",
113-
"apexFileImplementsVlocityOpenInterface2": "File %s implements VlocityOpenInterface2, replacing with System.Callable",
114-
"apexFileImplementsVlocityOpenInterface": "File %s implements VlocityOpenInterface, replacing with System.Callable",
101+
"apexFileChangesIdentifiedNotApplied": "Changes were identified but not applied for the %s Apex class when the assessment mode was running.",
102+
"apexFileHasMultipleInterfaces": "The %s file has multiple interfaces, including Callable interfaces. Standardizing the file to use only the System.Callable interface.",
103+
"apexFileImplementsVlocityOpenInterface2": "The %s file implements VlocityOpenInterface2. Replacing it with the System.Callable interface.",
104+
"apexFileImplementsVlocityOpenInterface": "The %s file implements VlocityOpenInterface. Changes will be applied.",
115105
"errorParsingHtmlTemplate": "Error while parsing template",
116-
"errorParsingData": "Error while parsing data for template",
106+
"errorParsingData": "We've encountered an error while parsing data for the template. Try again later.",
117107
"errorGeneratingHTML": "Error while generating HTML from template for %s with properties %s",
118-
"unexpectedError": "Unexpected Assessment error",
119-
"errorEvaluatingExpression": "Error evaluating expression: %s, %s",
108+
"unexpectedError": "We've encountered an unexpected error while running the assessment.",
109+
"errorEvaluatingExpression": "Error evaluating expression: %s %s",
120110
"invalidTypeAssessErrorMessage": "We couldn't assess your Omnistudio components in the %s namespace. Select the correct namespace and try again",
121111
"assessmentSuccessfulMessage": "Migration assessment for org %s is complete and reports are ready for review in the folder %s",
122-
"inApexIpNameWillBeUpdated": "In Apex %s IP name %s will be updated to %s",
123-
"inApexVariableAssignmentWillBeUpdated": "In Apex %s variable assignment %s = '%s' will be updated to %s",
112+
"inApexIpNameWillBeUpdated": "In the %s Apex file, the Integration Procedure name, %s, will be updated to %s.",
124113
"varDeclarationUpdated": "Variable initialization will be updated for target name",
125114
"ipNameUpdateFailed": "IP reference %s can’t be updated",
126115
"dmNameUpdateFailed": "DM reference %s can’t be updated"

0 commit comments

Comments
 (0)