-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Spelling Fixes #28071
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
Thank you for your contribution @ArieHein! We will review the pull request and get back to you soon. |
There was a problem hiding this 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
// 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. |
There was a problem hiding this comment.
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.
// 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> |
There was a problem hiding this comment.
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.
<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. |
There was a problem hiding this comment.
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'.
/// 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.
/azp run azure-powershell - security-tools |
Azure Pipelines successfully started running 1 pipeline(s). |
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
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.