diff --git a/src/js/components/Beacon/VariantsForm.tsx b/src/js/components/Beacon/VariantsForm.tsx index d16fb461..aa6ffddc 100644 --- a/src/js/components/Beacon/VariantsForm.tsx +++ b/src/js/components/Beacon/VariantsForm.tsx @@ -41,25 +41,25 @@ const VariantsForm = ({ beaconAssemblyIds }: VariantsFormProps) => { start: { name: 'Variant start', rules: [{ pattern: DIGITS_REGEX, message: td('enter a postion number, eg "100"') }], - placeholder: 'eg 100', + placeholder: `${td('eg')} 100`, initialValue: '', }, end: { name: 'Variant end', rules: [{ pattern: DIGITS_REGEX, message: td('enter a postion number, eg "200"') }], - placeholder: 'eg 200', + placeholder: `${td('eg')} 200`, initialValue: '', }, referenceBases: { name: 'Reference base(s)', rules: [{ pattern: NUCLEOTIDES_REGEX, message: td('enter any combination of A, C, G, T, or N') }], - placeholder: 'A, C, G, 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') }], - placeholder: 'A, C, G, T or N', + placeholder: `A, C, G, T ${td('or')} N`, initialValue: '', }, assemblyId: { name: 'Assembly ID', rules: [{}], placeholder: '', initialValue: '' }, diff --git a/src/public/locales/en/default_translation_en.json b/src/public/locales/en/default_translation_en.json index b734d846..7ac1c882 100644 --- a/src/public/locales/en/default_translation_en.json +++ b/src/public/locales/en/default_translation_en.json @@ -67,5 +67,7 @@ "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 any combination of A, C, G, T, or N": "enter any combination of A, C, G, T, or N" + "enter any combination of A, C, G, T, or N": "enter any combination of A, C, G, T, or N", + "eg": "eg", + "or": "or" } \ No newline at end of file diff --git a/src/public/locales/fr/default_translation_fr.json b/src/public/locales/fr/default_translation_fr.json index c1797e69..b6c091ab 100644 --- a/src/public/locales/fr/default_translation_fr.json +++ b/src/public/locales/fr/default_translation_fr.json @@ -67,5 +67,7 @@ "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 any combination of A, C, G, T, or N": "entrer une combinaison quelconque de A, C, G, T, ou N" + "enter any combination of A, C, G, T, or N": "entrer une combinaison quelconque de A, C, G, T, ou N", + "eg": "par exemple", + "or": "ou" } \ No newline at end of file