mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Merge pull request #1773 from tdonohue/fix_gendered_lang
Remove/replace gendered language in code comments
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -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<boolean | UrlTree> {
|
||||
return observableCombineLatest(this.getFeatureIDs(route, state), this.getObjectUrl(route, state), this.getEPersonUuid(route, state)).pipe(
|
||||
|
@@ -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
|
||||
*/
|
||||
getFilesEndpoint(processId: string): Observable<string> {
|
||||
|
@@ -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
|
||||
*/
|
||||
|
@@ -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;
|
||||
|
@@ -16,7 +16,7 @@ export class HealthStatusComponent {
|
||||
@Input() status: HealthStatus;
|
||||
|
||||
/**
|
||||
* He
|
||||
* Health Status
|
||||
*/
|
||||
HealthStatus = HealthStatus;
|
||||
|
||||
|
@@ -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() {
|
||||
|
@@ -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 {
|
||||
|
||||
|
@@ -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,
|
||||
|
||||
|
@@ -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 {
|
||||
/**
|
||||
|
Reference in New Issue
Block a user