From 3eb183eeb88fcda3888e2c17f8e018cdda4c6309 Mon Sep 17 00:00:00 2001 From: Gordon Krieger Date: Mon, 11 Dec 2023 09:19:32 -0500 Subject: [PATCH] fix inconsistent caps in beacon form helptext --- src/js/components/Beacon/VariantsForm.tsx | 8 ++++---- src/public/locales/en/default_translation_en.json | 6 +++--- src/public/locales/fr/default_translation_fr.json | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/js/components/Beacon/VariantsForm.tsx b/src/js/components/Beacon/VariantsForm.tsx index e6ce590b..784c156d 100644 --- a/src/js/components/Beacon/VariantsForm.tsx +++ b/src/js/components/Beacon/VariantsForm.tsx @@ -40,25 +40,25 @@ const VariantsForm = ({ beaconAssemblyIds }: VariantsFormProps) => { }, start: { name: 'Variant start', - rules: [{ pattern: DIGITS_REGEX, message: td('enter a position number, e.g. "100"') }], + rules: [{ pattern: DIGITS_REGEX, message: td('Enter a position number, e.g. "100"') }], placeholder: `${td('e.g.')} 100`, initialValue: '', }, end: { name: 'Variant end', - rules: [{ pattern: DIGITS_REGEX, message: td('enter a position number, e.g. "200"') }], + rules: [{ pattern: DIGITS_REGEX, message: td('Enter a position number, e.g. "200"') }], placeholder: `${td('e.g.')} 200`, initialValue: '', }, referenceBases: { name: 'Reference base(s)', - rules: [{ pattern: NUCLEOTIDES_REGEX, message: td('enter any combination of A, C, G, T, or N') }], + rules: [{ pattern: NUCLEOTIDES_REGEX, message: td('Enter any combination of A, C, G, T, or N') }], placeholder: `A, C, G, T ${td('or')} N`, initialValue: '', }, alternateBases: { name: 'Alternate base(s)', - rules: [{ pattern: NUCLEOTIDES_REGEX, message: td('enter any combination of A, C, G, T, or N') }], + rules: [{ pattern: NUCLEOTIDES_REGEX, message: td('Enter any combination of A, C, G, T, or N') }], placeholder: `A, C, G, T ${td('or')} N`, initialValue: '', }, diff --git a/src/public/locales/en/default_translation_en.json b/src/public/locales/en/default_translation_en.json index 5c716652..ce7fcdde 100644 --- a/src/public/locales/en/default_translation_en.json +++ b/src/public/locales/en/default_translation_en.json @@ -70,9 +70,9 @@ "maximum of": "maximum of", "filters permitted": "filters permitted", "Enter a chromosome name, e.g.: \"17\" or \"X\"": "Enter a chromosome name, e.g.: \"17\" or \"X\"", - "enter a position number, e.g. \"100\"": "enter a position number, e.g. \"100\"", - "enter a position number, e.g. \"200\"": "enter a position number, e.g. \"200\"", - "enter any combination of A, C, G, T, or N": "enter any combination of A, C, G, T, or N", + "Enter a position number, e.g. \"100\"": "Enter a position number, e.g. \"100\"", + "Enter a position number, e.g. \"200\"": "Enter a position number, e.g. \"200\"", + "Enter any combination of A, C, G, T, or N": "Enter any combination of A, C, G, T, or N", "e.g.": "e.g.", "or": "or", "Ingestion History Is Empty": "Ingestion History Is Empty", diff --git a/src/public/locales/fr/default_translation_fr.json b/src/public/locales/fr/default_translation_fr.json index 7f3d20b4..b2525969 100644 --- a/src/public/locales/fr/default_translation_fr.json +++ b/src/public/locales/fr/default_translation_fr.json @@ -70,9 +70,9 @@ "maximum of": "maximum de", "filters permitted": "filtres autorisés", "Enter a chromosome name, e.g.: \"17\" or \"X\"": "Entrer un nom de chromosome, par exemple : \"17\" ou \"X\"", - "enter a position number, e.g. \"100\"": "entrer un numéro de position, par exemple \"100\"", - "enter a position number, e.g. \"200\"": "entrer un numéro de position, par exemple \"200\"", - "enter any combination of A, C, G, T, or N": "entrer une combinaison quelconque de A, C, G, T, ou N", + "Enter a position number, e.g. \"100\"": "Entrer un numéro de position, par exemple \"100\"", + "Enter a position number, e.g. \"200\"": "Entrer un numéro de position, par exemple \"200\"", + "Enter any combination of A, C, G, T, or N": "Entrer une combinaison quelconque de A, C, G, T, ou N", "e.g.": "par exemple", "or": "ou", "Ingestion History Is Empty": "L'historique d'ingestion est vide",