Skip to content

Commit fdfa16b

Browse files
authored
Merge pull request #572 from hknokh/master
fix: Updated resources
2 parents b7fc0b0 + 7121d68 commit fdfa16b

3 files changed

Lines changed: 45 additions & 45 deletions

File tree

messages/resources.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"personAccountSupportWarning": "The Plugin has detected that only the org % has the Person Account support enabled. For the proper handling of Person Accounts, you must enable PA suport for the both source and target orgs.",
8585

8686
"retrievingOrgMatadata": "Getting and analysing object metadata ...",
87-
"retrievingObjectMetadata": "Retrieving metadata of the %s (%s) ...",
87+
"retrievingObjectMetadata": "Fetching metadata of the %s (%s) ...",
8888
"noExternalKey": "Object %s has no mandatory external Id field definition.",
8989
"missingObjectInSource": "The object %s is missing in the Source.",
9090
"missingObjectInTarget": "The object %s is missing in the Target.",
@@ -166,13 +166,13 @@
166166
"mappingQuery": "{%s} Mapping query string ... Target object: %s. Target query string: %s.",
167167
"mappingSourceRecords": "{%s} Outbound mapping of records to %s ...",
168168
"mappingTargetRecords": "{%s} Inbound mapping of records from %s ...",
169-
"retrievingData": "Retrieving the data (%s) ...",
169+
"retrievingData": "Fetching the data (%s) ...",
170170
"retrievingDataCompleted": "Data retrieval (%s) has been completed.",
171-
"queryingAll": "{%s} Retrieving the %s data from %s (%s: all records) ...",
172-
"queryingIn": "{%s} Retrieving the %s data from %s (%s: filtered records) ...",
173-
"queryingIn2": "{%s} Retrieving the %s data (filtered records) ...",
174-
"retrievingBinaryData": "{%s} Retrieving the binary data. Please wait for a while ...",
175-
"queryingSelfReferenceRecords": "{%s} Retrieving self-referencing records from %s ...",
171+
"queryingAll": "{%s} Fetching the %s data from %s (%s: all records) ...",
172+
"queryingIn": "{%s} Fetching the %s data from %s (%s: filtered records) ...",
173+
"queryingIn2": "{%s} Fetching the %s data (filtered records) ...",
174+
"retrievingBinaryData": "{%s} Fetching the binary data. Please wait for a while ...",
175+
"queryingSelfReferenceRecords": "{%s} Fetching self-referencing records from %s ...",
176176
"queryingFinished": "{%s} Data retrieval (%s) has been completed. Got %s new records.",
177177
"amuntOfRetrievedRecords": "{%s} The total amount of the retrieved records: %s.",
178178
"queryString": "{%s} Query string: %s.",

src/addons/messages/sfdmuRunAddonMessages.ts

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -10,50 +10,50 @@
1010
export enum SFDMU_RUN_ADDON_MESSAGES {
1111

1212
// Gneral -------------------------
13-
General_CheckingArgs = "Checking the args ...",
14-
General_EventNotSupported = "The event %s is not supported by the %s. Only %s event(s) supported. The Add-On execution has been aborted.",
15-
General_ArgumentsCannotBeParsed = "Error during parsing the Add-On arguments provided with the Script. The Add-On execution has been aborted.",
16-
General_AddOnRuntimeError = "Error occured during executing the Add-On module %s. Check the module source code (if it's a Custom Add-On Module) and the args passed.",
17-
General_MissingRequiredArguments = 'Missing required arguments: %s. Can not start the Add-on.',
13+
General_CheckingArgs = "Checking the args ..",
14+
General_EventNotSupported = "The event %s is not supported by the %s. Only %s event(s) supported. The Add-On execution has been aborted",
15+
General_ArgumentsCannotBeParsed = "Error during parsing the Add-On arguments provided with the Script. The Add-On execution has been aborted",
16+
General_AddOnRuntimeError = "Error occured during executing the Add-On module %s. Check the module source code (if it's a Custom Add-On Module) and the args passed",
17+
General_MissingRequiredArguments = 'Missing required arguments: %s. Can not start the Add-on',
1818

1919

2020
// ExportFiles Addon -------------------------
21-
ExportFiles_Preparing = 'Preparing ...',
22-
ExportFiles_Analysing = 'Analysing ...',
23-
ExportFiles_RetrievedRecords = 'Retrieved %s records.',
24-
ExportFiles_RecordsToBeProcessed = 'There are %s records to process.',
25-
ExportFiles_ProcessedRecords = 'Total %s records have been processed, %s records failed.',
26-
ExportFiles_TotalDataVolume = 'The total volume of the data to process: %s items of total %sMb.',
27-
ExportFiles_DataWillBeProcessedInChunksOfSize = 'The processed data was splitted into %s chunks with max size of %sMb each chunk.',
28-
ExportFiles_ProcessingChunk = "Processing chunk #%s of %s items.",
21+
ExportFiles_Initializing = 'Initializing ..',
22+
ExportFiles_Comparing = 'Comparing records ..',
23+
ExportFiles_RetrievedRecords = 'Fetched %s records',
24+
ExportFiles_RecordsToBeProcessed = 'There are %s records to process',
25+
ExportFiles_ProcessedRecords = 'Total %s records have been processed, %s records failed',
26+
ExportFiles_TotalDataVolume = 'The total volume of the data to process: %s items of total %sMb',
27+
ExportFiles_DataWillBeProcessedInChunksOfSize = 'The processed data was splitted into %s chunks with max size of %sMb each chunk',
28+
ExportFiles_ProcessingChunk = "Processing chunk #%s of %s items",
2929

30-
ExportFiles_TargetIsFileWarning = 'Cannot process Files on CSV sources or targets. Set a salesforce org as the Source and the Target.',
31-
ExportFiles_CouldNotFindObjectToProcessWarning = 'Could not find object data to process.',
32-
ExportFiles_ReadonlyOperationWarning = 'Cannot process Files on Readonly objects. Define another operation.',
30+
ExportFiles_TargetIsFileWarning = 'Cannot process Files on CSV sources or targets. Set a salesforce org as the Source and the Target',
31+
ExportFiles_CouldNotFindObjectToProcessWarning = 'Could not find object data to process',
32+
ExportFiles_ReadonlyOperationWarning = 'Cannot process Files on Readonly objects. Define another operation',
3333

34-
ExportFiles_ReadTargetContentDocumentLinks = 'Retrieving target ContentDocumentLink records ...',
35-
ExportFiles_ReadSourceFeedAttachments = 'Retrieving source FeedAttachment records ...',
36-
ExportFiles_ReadTargetFeedAttachments = 'Retrieving target FeedAttachment records ...',
37-
ExportFiles_DeleteTargetContentDocuments = 'Deleting target ContentDocument records ...',
34+
ExportFiles_ReadTargetContentDocumentLinks = 'Fetching target ContentDocumentLink records ..',
35+
ExportFiles_ReadSourceFeedAttachments = 'Fetching source FeedAttachment records ..',
36+
ExportFiles_ReadTargetFeedAttachments = 'Fetching target FeedAttachment records ..',
37+
ExportFiles_DeleteTargetContentDocuments = 'Deleting target ContentDocument records ..',
3838
ExportFiles_NoSourceRecords = 'There are no linked source records found to process.',
39-
ExportFiles_ReadTargetContentVersions = 'Retrieving target ContentVersion records ...',
40-
ExportFiles_ReadSourceContentDocumentLinks = 'Retrieving source ContentDocumentLink records ...',
41-
ExportFiles_ReadSourceContentVersions = 'Retrieving source ContentVersion records ...',
42-
ExportFiles_ExportingContentVersions = 'Transferring ContentVersion binary data ...',
43-
ExportFiles_ExportingContentDocumentLinks = 'Creating target ContentDocumentLink records ...',
44-
ExportFiles_ExportingFeedAttachments = 'Create target FeedAttachment records ...',
45-
ExportFiles_NothingToProcess = "There is no data to export.",
46-
ExportFiles_NothingToUpdate = "The target Files were deleted. There is no data to Update. Define another operation.",
39+
ExportFiles_ReadTargetContentVersions = 'Fetching target ContentVersion records ..',
40+
ExportFiles_ReadSourceContentDocumentLinks = 'Fetching source ContentDocumentLink records ..',
41+
ExportFiles_ReadSourceContentVersions = 'Fetching source ContentVersion records ..',
42+
ExportFiles_ExportingContentVersions = 'Transferring ContentVersion binary data ..',
43+
ExportFiles_ExportingContentDocumentLinks = 'Creating target ContentDocumentLink records ..',
44+
ExportFiles_ExportingFeedAttachments = 'Create target FeedAttachment records ..',
45+
ExportFiles_NothingToProceed = "There are no records to proceed",
46+
ExportFiles_NothingToUpdate = "The target Files were deleted. There is no data to Update. Define another operation",
4747

4848

4949
// RecordsTransform Addon ----------------------
50-
RecordsTransform_SourceTaskNotFound = "[WARN] [Field %s]: The task associated with the sobject %s has not been found. The field will be skipped.",
51-
RecordsTransform_SourceFieldNotFound = "[WARN] [Field %s]: This field was not found in the source records of the sobject %s. The field will be skipped.",
52-
RecordsTransform_TargetFieldNotFound = "[WARN] [Field %s]: This field was not found in the target records of the sobject %s. The field will be skipped.",
50+
RecordsTransform_SourceTaskNotFound = "[WARN] [Field %s]: The task associated with the sobject %s has not been found. The field will be skipped",
51+
RecordsTransform_SourceFieldNotFound = "[WARN] [Field %s]: This field was not found in the source records of the sobject %s. The field will be skipped",
52+
RecordsTransform_TargetFieldNotFound = "[WARN] [Field %s]: This field was not found in the target records of the sobject %s. The field will be skipped",
5353

5454

55-
RecordsTransform_CreatingMappingScheme = "Creating the transformation map ...",
56-
RecordsTransform_Tranforming = "Transforming records ...",
55+
RecordsTransform_CreatingMappingScheme = "Creating the transformation map ..",
56+
RecordsTransform_Tranforming = "Transforming records ..",
5757
RecordsTransform_TotallyTranformed = "Totally transformed %s records",
5858
RecordsTransform_AppliedValueMapping = "Applying the Values Mapping",
5959

@@ -64,7 +64,7 @@ export enum SFDMU_RUN_ADDON_MESSAGES {
6464
FilterOperationError = "Error in the target RecordsFilter module %s: %s",
6565

6666
// Badword filter ***
67-
BadwordFilter_badwordsDetectStart= "Filtering results on badwords from file %s on %s...",
67+
BadwordFilter_badwordsDetectStart= "Filtering results on badwords from file %s on %s..",
6868
BadwordFilter_badwordsDetectFileError= "Badwords file not found at location %s",
6969
BadwordFilter_badwordsDetectFileEmptyList= "Badwords file %s must contain a property \"badwords\" with at least one word",
7070
BadwordFilter_badwordsDetectRegex= "Full badwords detection regular expression %s",

src/addons/modules/sfdmu-run/ExportFiles/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default class ExportFiles extends SfdmuRunAddonModule {
111111
// -----------------------------------------------------------------
112112
this.runtime.logAddonExecutionStarted(this);
113113

114-
this.runtime.logFormattedInfo(this, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_Preparing);
114+
this.runtime.logFormattedInfo(this, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_Initializing);
115115

116116
if (this.runtime.getOrgInfo(false).isFile || this.runtime.getOrgInfo(true).isFile) {
117117
// File target -> error
@@ -232,7 +232,7 @@ export default class ExportFiles extends SfdmuRunAddonModule {
232232
// ----------------Finishing ----------------------------
233233
// -------------------------------------------------------
234234
if (exportedFiles.length == 0 && versionsToProcess.length == 0) {
235-
this.runtime.logFormattedInfo(this, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_NothingToProcess);
235+
this.runtime.logFormattedInfo(this, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_NothingToProceed);
236236
}
237237

238238
this.runtime.logAddonExecutionFinished(this);
@@ -313,7 +313,7 @@ export default class ExportFiles extends SfdmuRunAddonModule {
313313
// ---------- Compare versions to detect changes -------------------
314314
// -----------which files need to download and upload---------------
315315
// -----------------------------------------------------------------
316-
_self.runtime.logFormattedInfo(_self, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_Analysing);
316+
_self.runtime.logFormattedInfo(_self, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_Comparing);
317317

318318
await __compareContentVersionsAsync();
319319

@@ -390,7 +390,7 @@ export default class ExportFiles extends SfdmuRunAddonModule {
390390
// ---------- Compare versions to detect changes -------------------
391391
// -----------which files need to download and upload---------------
392392
// -----------------------------------------------------------------
393-
_self.runtime.logFormattedInfo(_self, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_Analysing);
393+
_self.runtime.logFormattedInfo(_self, SFDMU_RUN_ADDON_MESSAGES.ExportFiles_Comparing);
394394

395395
await __compareContentVersionsAsync('RecordId');
396396

0 commit comments

Comments
 (0)