Skip to content

Commit

Permalink
Merge pull request #118 from bento-platform/fix/translations
Browse files Browse the repository at this point in the history
fix: some typos in translation files
  • Loading branch information
davidlougheed authored Oct 16, 2023
2 parents 6c40494 + 55893ec commit b0068d0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions src/js/components/Beacon/VariantsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
8 changes: 4 additions & 4 deletions src/public/locales/en/default_translation_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions src/public/locales/fr/default_translation_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b0068d0

Please sign in to comment.