Skip to content

Commit f213b76

Browse files
committed
fix: copilot reviews
1 parent 3ccda5b commit f213b76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

public/locales/en/shared.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"base": "{{displayName}} is not a valid date.",
7171
"empty": "The date is empty.",
7272
"adDigits": "The AD year must be numeric.",
73-
"adRange": "The AD year cant be higher than 9999.",
73+
"adRange": "The AD year can't be higher than 9999.",
7474
"bracketNotNumeric": "The year in brackets must be numeric.",
7575
"bracketNegative": "The year in brackets cannot be negative.",
7676
"bracketRange": "The year in brackets is out of range.",

src/sections/shared/form/DatasetMetadataForm/MetadataFieldsHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ export class MetadataFieldsHelper {
672672
* @returns the invalid value or null if it can't be extracted
673673
* @example
674674
* getValidationFailedFieldError("Validation Failed: Point of Contact E-mail test@test.c is not a valid email address. (Invalid value:edu.harvard.iq.dataverse.DatasetFieldValueValue[ id=null ]).java.util.stream.ReferencePipeline$3@561b5200")
675-
* // returns "Point of Contact E-mail test@test.c is not a valid email address."
675+
* // returns "Point of Contact E-mail test@test.c is not a valid email address."
676676
*/
677677

678678
public static getValidationFailedFieldError(errorMessage: string): string | null {

0 commit comments

Comments
 (0)