Merge pull request #1773 from tdonohue/fix_gendered_lang

Remove/replace gendered language in code comments
This commit is contained in:
Tim Donohue
2022-08-17 14:55:18 -05:00
committed by GitHub
10 changed files with 11 additions and 11 deletions

View File

@@ -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; - 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. > Take caution moving runtime configs into the buildtime configuration. They will be overwritten by what is defined in the runtime config on bootstrap.

View File

@@ -19,7 +19,7 @@ export abstract class SomeFeatureAuthorizationGuard implements CanActivate {
/** /**
* True when user has authorization rights for the feature and object provided * 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<boolean | UrlTree> { canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> {
return observableCombineLatest(this.getFeatureIDs(route, state), this.getObjectUrl(route, state), this.getEPersonUuid(route, state)).pipe( return observableCombineLatest(this.getFeatureIDs(route, state), this.getObjectUrl(route, state), this.getEPersonUuid(route, state)).pipe(

View File

@@ -38,7 +38,7 @@ export class ProcessDataService extends DataService<Process> {
} }
/** /**
* Get the endpoint for a process his files * Get the endpoint for the files of the process
* @param processId The ID of the process * @param processId The ID of the process
*/ */
getFilesEndpoint(processId: string): Observable<string> { getFilesEndpoint(processId: string): Observable<string> {

View File

@@ -55,7 +55,7 @@ export class EndUserAgreementService {
/** /**
* Set the current user's accepted agreement status * 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 * When no user is authenticated, set the cookie to the provided value
* @param accepted * @param accepted
*/ */

View File

@@ -39,7 +39,7 @@ export class MetadataValue implements MetadataValueInterface {
value: string; 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 * This is used to render metadata in a specific custom order
*/ */
@autoserialize @autoserialize
@@ -105,7 +105,7 @@ export class MetadatumViewModel {
value: string; 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 * This is used to render metadata in a specific custom order
*/ */
place: number; place: number;

View File

@@ -16,7 +16,7 @@ export class HealthStatusComponent {
@Input() status: HealthStatus; @Input() status: HealthStatus;
/** /**
* He * Health Status
*/ */
HealthStatus = HealthStatus; HealthStatus = HealthStatus;

View File

@@ -76,7 +76,7 @@ export class EndUserAgreementComponent implements OnInit {
/** /**
* Cancel the agreement * 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 * If the user is not logged in, they will be redirected to the homepage
*/ */
cancel() { cancel() {

View File

@@ -24,7 +24,7 @@ import { ConfirmationModalComponent } from '../../shared/confirmation-modal/conf
templateUrl: './profile-page-researcher-form.component.html', 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 { export class ProfilePageResearcherFormComponent implements OnInit {

View File

@@ -24,7 +24,7 @@ export const klaroConfiguration: any = {
/* /*
Setting 'hideLearnMore' to 'true' will hide the "learn more / customize" link in Setting 'hideLearnMore' to 'true' will hide the "learn more / customize" link in
the consent notice. We strongly advise against using this under most 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, hideLearnMore: false,

View File

@@ -12,7 +12,7 @@ import { metadataRepresentationComponent } from '../../../metadata-representatio
/** /**
* A component for displaying MetadataRepresentation objects in the form of items * A component for displaying MetadataRepresentation objects in the form of items
* It will send the MetadataRepresentation object along with ElementViewMode.SetElement to the ItemTypeSwitcherComponent, * 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 { export class ItemMetadataListElementComponent extends MetadataRepresentationListElementComponent {
/** /**