From 35614d147397d25b01b3174026a71f4ce6490a91 Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Wed, 17 Aug 2022 14:12:33 -0500 Subject: [PATCH] Replace gendered language with generic equivalent --- README.md | 2 +- .../some-feature-authorization.guard.ts | 2 +- src/app/core/data/processes/process-data.service.ts | 2 +- src/app/core/end-user-agreement/end-user-agreement.service.ts | 2 +- src/app/core/shared/metadata.models.ts | 4 ++-- .../health-panel/health-status/health-status.component.ts | 2 +- .../info/end-user-agreement/end-user-agreement.component.ts | 2 +- .../profile-page-researcher-form.component.ts | 2 +- src/app/shared/cookies/klaro-configuration.ts | 2 +- .../item/item-metadata-list-element.component.ts | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index cef95a45fa..837cb48004 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ If needing to update default configurations values for production, update local - Update `environment.production.ts` file in `src/environment/` for a `production` environment; -The environment object is provided for use as import in code and is extended with he runtime configuration on bootstrap of the application. +The environment object is provided for use as import in code and is extended with the runtime configuration on bootstrap of the application. > Take caution moving runtime configs into the buildtime configuration. They will be overwritten by what is defined in the runtime config on bootstrap. diff --git a/src/app/core/data/feature-authorization/feature-authorization-guard/some-feature-authorization.guard.ts b/src/app/core/data/feature-authorization/feature-authorization-guard/some-feature-authorization.guard.ts index 18c7f8fb43..b909640ea6 100644 --- a/src/app/core/data/feature-authorization/feature-authorization-guard/some-feature-authorization.guard.ts +++ b/src/app/core/data/feature-authorization/feature-authorization-guard/some-feature-authorization.guard.ts @@ -19,7 +19,7 @@ export abstract class SomeFeatureAuthorizationGuard implements CanActivate { /** * True when user has authorization rights for the feature and object provided - * Redirect the user to the unauthorized page when he/she's not authorized for the given feature + * Redirect the user to the unauthorized page when they are not authorized for the given feature */ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable { return observableCombineLatest(this.getFeatureIDs(route, state), this.getObjectUrl(route, state), this.getEPersonUuid(route, state)).pipe( diff --git a/src/app/core/data/processes/process-data.service.ts b/src/app/core/data/processes/process-data.service.ts index 81b4cbd503..cb00ac529e 100644 --- a/src/app/core/data/processes/process-data.service.ts +++ b/src/app/core/data/processes/process-data.service.ts @@ -38,7 +38,7 @@ export class ProcessDataService extends DataService { } /** - * Get the endpoint for a process his files + * Get the endpoint for the files of the process * @param processId The ID of the process */ getFilesEndpoint(processId: string): Observable { diff --git a/src/app/core/end-user-agreement/end-user-agreement.service.ts b/src/app/core/end-user-agreement/end-user-agreement.service.ts index 8a18488660..3841abb5d4 100644 --- a/src/app/core/end-user-agreement/end-user-agreement.service.ts +++ b/src/app/core/end-user-agreement/end-user-agreement.service.ts @@ -55,7 +55,7 @@ export class EndUserAgreementService { /** * Set the current user's accepted agreement status - * When a user is authenticated, set his/her metadata to the provided value + * When a user is authenticated, set their metadata to the provided value * When no user is authenticated, set the cookie to the provided value * @param accepted */ diff --git a/src/app/core/shared/metadata.models.ts b/src/app/core/shared/metadata.models.ts index 52f1805e8c..e74e1f9927 100644 --- a/src/app/core/shared/metadata.models.ts +++ b/src/app/core/shared/metadata.models.ts @@ -39,7 +39,7 @@ export class MetadataValue implements MetadataValueInterface { value: string; /** - * The place of this MetadataValue within his list of metadata + * The place of this MetadataValue within its list of metadata * This is used to render metadata in a specific custom order */ @autoserialize @@ -105,7 +105,7 @@ export class MetadatumViewModel { value: string; /** - * The place of this MetadataValue within his list of metadata + * The place of this MetadataValue within its list of metadata * This is used to render metadata in a specific custom order */ place: number; diff --git a/src/app/health-page/health-panel/health-status/health-status.component.ts b/src/app/health-page/health-panel/health-status/health-status.component.ts index 19f83713fc..172baeee71 100644 --- a/src/app/health-page/health-panel/health-status/health-status.component.ts +++ b/src/app/health-page/health-panel/health-status/health-status.component.ts @@ -16,7 +16,7 @@ export class HealthStatusComponent { @Input() status: HealthStatus; /** - * He + * Health Status */ HealthStatus = HealthStatus; diff --git a/src/app/info/end-user-agreement/end-user-agreement.component.ts b/src/app/info/end-user-agreement/end-user-agreement.component.ts index a3350319ba..bcb5e0ce9d 100644 --- a/src/app/info/end-user-agreement/end-user-agreement.component.ts +++ b/src/app/info/end-user-agreement/end-user-agreement.component.ts @@ -76,7 +76,7 @@ export class EndUserAgreementComponent implements OnInit { /** * Cancel the agreement - * If the user is logged in, this will log him/her out + * If the user is logged in, this will log them out * If the user is not logged in, they will be redirected to the homepage */ cancel() { diff --git a/src/app/profile-page/profile-page-researcher-form/profile-page-researcher-form.component.ts b/src/app/profile-page/profile-page-researcher-form/profile-page-researcher-form.component.ts index f7662e0522..2d61660a17 100644 --- a/src/app/profile-page/profile-page-researcher-form/profile-page-researcher-form.component.ts +++ b/src/app/profile-page/profile-page-researcher-form/profile-page-researcher-form.component.ts @@ -24,7 +24,7 @@ import { ConfirmationModalComponent } from '../../shared/confirmation-modal/conf templateUrl: './profile-page-researcher-form.component.html', }) /** - * Component for a user to create/delete or change his researcher profile. + * Component for a user to create/delete or change their researcher profile. */ export class ProfilePageResearcherFormComponent implements OnInit { diff --git a/src/app/shared/cookies/klaro-configuration.ts b/src/app/shared/cookies/klaro-configuration.ts index 1c87e46309..659583ad87 100644 --- a/src/app/shared/cookies/klaro-configuration.ts +++ b/src/app/shared/cookies/klaro-configuration.ts @@ -24,7 +24,7 @@ export const klaroConfiguration: any = { /* Setting 'hideLearnMore' to 'true' will hide the "learn more / customize" link in the consent notice. We strongly advise against using this under most - circumstances, as it keeps the user from customizing his/her consent choices. + circumstances, as it keeps the user from customizing their consent choices. */ hideLearnMore: false, diff --git a/src/app/shared/object-list/metadata-representation-list-element/item/item-metadata-list-element.component.ts b/src/app/shared/object-list/metadata-representation-list-element/item/item-metadata-list-element.component.ts index 3be16bcb5e..d0bbdf1ded 100644 --- a/src/app/shared/object-list/metadata-representation-list-element/item/item-metadata-list-element.component.ts +++ b/src/app/shared/object-list/metadata-representation-list-element/item/item-metadata-list-element.component.ts @@ -12,7 +12,7 @@ import { metadataRepresentationComponent } from '../../../metadata-representatio /** * A component for displaying MetadataRepresentation objects in the form of items * It will send the MetadataRepresentation object along with ElementViewMode.SetElement to the ItemTypeSwitcherComponent, - * which will in his turn decide how to render the item as metadata. + * which will in its turn decide how to render the item as metadata. */ export class ItemMetadataListElementComponent extends MetadataRepresentationListElementComponent { /**