Skip to content

Commit

Permalink
Merge pull request #133 from bento-platform/fixes/helptext-caps
Browse files Browse the repository at this point in the history
fix inconsistent capitals in beacon helpext
  • Loading branch information
gsfk authored Dec 11, 2023
2 parents 3b51f7d + 3eb183e commit 8d66ddc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/js/components/Beacon/VariantsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: '',
},
Expand Down
6 changes: 3 additions & 3 deletions src/public/locales/en/default_translation_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/public/locales/fr/default_translation_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8d66ddc

Please sign in to comment.