From 55893ec3e2a228132ead59d45178c48ffa5f9d0e Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Wed, 11 Oct 2023 16:54:39 -0400 Subject: [PATCH] fix: some typos in translation files --- src/js/components/Beacon/VariantsForm.tsx | 10 +++++----- src/public/locales/en/default_translation_en.json | 8 ++++---- src/public/locales/fr/default_translation_fr.json | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/js/components/Beacon/VariantsForm.tsx b/src/js/components/Beacon/VariantsForm.tsx index f588cce1..e6ce590b 100644 --- a/src/js/components/Beacon/VariantsForm.tsx +++ b/src/js/components/Beacon/VariantsForm.tsx @@ -34,20 +34,20 @@ const VariantsForm = ({ beaconAssemblyIds }: VariantsFormProps) => { const formFields = { referenceName: { name: 'Chromosome', - rules: [{ pattern: CHROMOSOME_REGEX, message: td('Enter a chromosome name, eg: "17" or "X"') }], + rules: [{ pattern: CHROMOSOME_REGEX, message: td('Enter a chromosome name, e.g.: "17" or "X"') }], placeholder: '1-22, X, Y, M', initialValue: '', }, start: { name: 'Variant start', - rules: [{ pattern: DIGITS_REGEX, message: td('enter a postion number, eg "100"') }], - placeholder: `${td('eg')} 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 postion number, eg "200"') }], - placeholder: `${td('eg')} 200`, + rules: [{ pattern: DIGITS_REGEX, message: td('enter a position number, e.g. "200"') }], + placeholder: `${td('e.g.')} 200`, initialValue: '', }, referenceBases: { diff --git a/src/public/locales/en/default_translation_en.json b/src/public/locales/en/default_translation_en.json index 849a1a71..290d1032 100644 --- a/src/public/locales/en/default_translation_en.json +++ b/src/public/locales/en/default_translation_en.json @@ -65,11 +65,11 @@ "value required": "value required", "maximum of": "maximum of", "filters permitted": "filters permitted", - "Enter a chromosome name, eg: \"17\" or \"X\"": "Enter a chromosome name, eg: \"17\" or \"X\"", - "enter a postion number, eg \"100\"": "enter a postion number, eg \"100\"", - "enter a postion number, eg \"200\"": "enter a postion number, eg \"200\"", + "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", - "eg": "eg", + "e.g.": "e.g.", "or": "or", "Ingestion History Is Empty": "Ingestion History Is Empty", "Latest Data Ingestion": "Latest Data Ingestion" diff --git a/src/public/locales/fr/default_translation_fr.json b/src/public/locales/fr/default_translation_fr.json index ebe0c518..9a55adc7 100644 --- a/src/public/locales/fr/default_translation_fr.json +++ b/src/public/locales/fr/default_translation_fr.json @@ -65,11 +65,11 @@ "value required": "valeur requise", "maximum of": "maximum de", "filters permitted": "filtres autorisés", - "Enter a chromosome name, eg: \"17\" or \"X\"": "Entrer un nom de chromosome, par exemple : \"17\" ou \"X\"", - "enter a postion number, eg \"100\"": "entrer un numéro de position, par exemple \"100\"", - "enter a postion number, eg \"200\"": "entrer un numéro de position, par exemple \"200\"", + "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", - "eg": "par exemple", + "e.g.": "par exemple", "or": "ou", "Ingestion History Is Empty": "L'historique d'ingestion est vide", "Latest Data Ingestion": "Dernière ingestion de données"