Skip to content

Spelling Fixes #28071

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025
Merged

Spelling Fixes #28071

merged 1 commit into from
Jul 1, 2025

Conversation

ArieHein
Copy link
Contributor

Description

This does spelling fixes in codebase files that are either:

in comments.
in displayable strings.
There are NO other changes to programmatic aspects or code behavior.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@Copilot Copilot AI review requested due to automatic review settings June 30, 2025 19:34
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

Thank you for your contribution @ArieHein! We will review the pull request and get back to you soon.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses various spelling mistakes in comments, documentation strings, and displayable resource values across the codebase without altering any functional behavior.

  • Corrected typos in code comments and XML documentation.
  • Fixed misspellings in resource strings and test script comments.
  • Updated displayable strings and log messages for clarity.

Reviewed Changes

Copilot reviewed 29 out of 31 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/RecoveryServices/RecoveryServices.SiteRecovery/Vault/SetAzureRmRecoveryServicesAsrVaultContext.cs Fixed “interanally” → “internally” in comment
src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs Corrected “Qeury” → “Query” in XML doc
src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionContainerMapping/UpdateAzureRmRecoveryServicesAsrProtectionContainerMapping.cs Fixed “updatd” → “updated” in summary comment
src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterUnplannedFailoverJob.cs Fixed “clster” → “cluster” in summary comment
src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterTestFailoverJob.cs Fixed “clster” → “cluster” and “clustrer” → “cluster” in summary comments
src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.resx Fixed “Protectectable”→“Protectable” and “netwok”→“network”; corrected “Scenerio”→“Scenario”
src/RecoveryServices/RecoveryServices.SiteRecovery/Policy/UpdateAzureRmRecoveryServicesAsrPolicy.cs Fixed “Paremeters” → “Parameters” and “paremeters” → “parameters” in comments
src/RecoveryServices/RecoveryServices.SiteRecovery/NetworkInterfaceCard/NewAzureRmAsrVmNicConfig.cs Fixed “entiry” → “entry” in comment
src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSVCenter.cs Fixed “resoure” → “resource” in summary comment
src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs Fixed “credentails” → “credentials” and “recieved” → “received” in summaries
src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSFabricDetails.cs Fixed “throught” → “through” and “expoxed” → “exposed” in comments
src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSConstants.cs Fixed “ResourceMananger” → “ResourceManager” and “Heatlth”→“Health” in comments
src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrReplicationProtectedItemsClient.cs Fixed “Conatiner” → “Container” in param docs
src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionClustersClient.cs Fixed “Conatiner” → “Container” in param docs
src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs Fixed “genertion” → “generation” in param docs
src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2E/AsrE2ETests.ps1 Fixed “conatiner” → “container” in comments
src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2A/AsrE2ATests.ps1 Fixed “conatiner” → “container” in comments
src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/B2A/AsrB2ATests.ps1 Fixed “conatiner” → “container” in comments
src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.ps1 Fixed “Conatiner” → “Container” in comments
src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.cs Fixed “re-recorded in next revsion” → “revision” in Fact attributes
src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 Fixed “Bakcup” → “Backup” and “dsiable” → “disable” in comments
src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/AzureFiles/ItemTests.ps1 Fixed “dependancy” → “dependency” in comments
src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/VaultAPIs.cs Fixed “resouce” → “resource” in param docs
src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RestoreDiskAPIs.cs Fixed “validtion” → “validation” in comment
src/RecoveryServices/RecoveryServices.Backup.Providers/PsBackupProviderManager.cs Fixed “intialization” → “initialization” in class summary
src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs Fixed “scedule” → “schedule” in comments
src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureWorkloadPsBackupProvider.cs Fixed “Rehyrate” → “Rehydrate” in log message
src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureFilesPsBackupProvider.cs Fixed “dicovery” → “discovery” in comment
src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs Fixed “greator” → “greater” and “readness” → “readiness” in comments
Files not reviewed (1)
  • src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.Designer.cs: Language not supported

Comment on lines +79 to 80
// code internally handled the cloud exception thrown earlier.But still there are changes of other exception.
// suggesting alternate way to user to unblock if this command is failing.
Copy link
Preview

Copilot AI Jun 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The phrase 'changes of other exception' is unclear; consider 'chances of other exceptions' for grammatical accuracy.

Suggested change
// code internally handled the cloud exception thrown earlier.But still there are changes of other exception.
// suggesting alternate way to user to unblock if this command is failing.
// code internally handled the cloud exception thrown earlier. But still, there are chances of other exceptions.
// suggesting an alternate way to the user to unblock if this command is failing.

Copilot uses AI. Check for mistakes.

@@ -371,7 +371,7 @@ Please provide a storage account with the same location as that of the vault.</v
<value>Protection Cluster "{0}" is not associated with Protection Container "{1}"</value>
</data>
<data name="ProtectableItemNotFound" xml:space="preserve">
<value>Protectectable Item"{0}" is not associated with Protection Container "{1}"</value>
<value>Protectable Item"{0}" is not associated with Protection Container "{1}"</value>
Copy link
Preview

Copilot AI Jun 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a space between 'Item' and '"{0}"' so it reads 'Protectable Item "{0}"...' for correct formatting.

Suggested change
<value>Protectable Item"{0}" is not associated with Protection Container "{1}"</value>
<value>Protectable Item "{0}" is not associated with Protection Container "{1}"</value>

Copilot uses AI. Check for mistakes.

@@ -2357,12 +2357,12 @@ public ASRAzureToAzureSpecificRPIDetails(A2AReplicationDetails details)


/// <summary>
/// Gets or sets the only constant ID throught out the enable disable cycle.
/// Gets or sets the only constant ID through out the enable disable cycle.
Copy link
Preview

Copilot AI Jun 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combine 'through out' into the single word 'throughout'.

Suggested change
/// Gets or sets the only constant ID through out the enable disable cycle.
/// Gets or sets the only constant ID throughout the enable disable cycle.

Copilot uses AI. Check for mistakes.

@YanaXu
Copy link
Contributor

YanaXu commented Jul 1, 2025

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@YanaXu YanaXu enabled auto-merge (squash) July 1, 2025 02:11
@YanaXu YanaXu merged commit b43e4f0 into Azure:main Jul 1, 2025
13 checks passed
@ArieHein ArieHein deleted the wave-26 branch July 1, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants