Skip to content

Commit

Permalink
i18n: footer translation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Dec 6, 2024
1 parent 5b82fe0 commit df6d813
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/js/components/SiteFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,27 @@ const SiteFooter = () => {
<Space size={8} direction="vertical" align="center">
<div>
<Title level={5} type="secondary" style={{ marginBottom: '0' }}>
{t('Powered by')}
{t('footer.powered_by')}
</Title>
<Link href="https://bento-platform.github.io" target="_blank">
<img style={{ height: '36px' }} src={bentoLogo} alt="Bento" />
</Link>
</div>
<div>
<Text type="secondary">
Copyright &copy; 2019-2024 the{' '}
{t('footer.copyright')} 2019-2024{' '}
<Link href="https://computationalgenomics.ca" target="_blank">
Canadian Centre for Computational Genomics
{t('footer.c3g')}
</Link>
.
</Text>
<br />
<Text type="secondary">
Bento is licensed under the{' '}
{t('footer.licensed_under') + ' '}
<Link href="https://github.com/bento-platform/bento_public/blob/main/LICENSE" target="_blank">
LGPLv3
</Link>
. The source code is available on{' '}
. {t('footer.source_available') + ' '}
<Link href="https://github.com/bento-platform" target="_blank">
Github
</Link>
Expand All @@ -43,7 +43,7 @@ const SiteFooter = () => {
</div>
<div>
<Link href="/public/terms.html" target="_blank">
{t('Terms of Use')}
{t('footer.terms_of_use')}
</Link>
</div>
</Space>
Expand Down
10 changes: 8 additions & 2 deletions src/public/locales/en/default_translation_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
"Remove this chart": "Remove this chart",
"Width": "Width",
"Insufficient data available.": "Insufficient data available.",
"Powered by": "Powered by",
"Terms of Use": "Terms of Use",
"No Data": "No Data",
"Counts": "Counts",
"Search by genomic variants, clinical metadata or both.": "Search by genomic variants, clinical metadata or both.",
Expand Down Expand Up @@ -134,5 +132,13 @@
"Coordinates are one-based.",
"Leave this form blank to search by metadata only."
]
},
"footer": {
"powered_by": "Powered by",
"copyright": "Copyright ©",
"c3g": "the Canadian Centre for Computational Genomics",
"licensed_under": "Bento is licensed under the",
"source_available": "The source code is available on",
"terms_of_use": "Terms of Use"
}
}
10 changes: 8 additions & 2 deletions src/public/locales/fr/default_translation_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
"Remove this chart": "Supprimer ce tableau",
"Width": "Largeur",
"Insufficient data available.": "Pas suffisamment de données.",
"Powered by": "Propulsé par",
"Terms of Use": "Conditions d'utilisation (en anglais)",
"No Data": "Pas de données",
"Counts": "Totaux",
"Search by genomic variants, clinical metadata or both.": "Recherche par variant génomique, métadonnées cliniques ou les deux.",
Expand Down Expand Up @@ -134,5 +132,13 @@
"Les coordonnées sont en base un.",
"Laissez ce formulaire vide pour effectuer une recherche sur les métadonnées seulement."
]
},
"footer": {
"powered_by": "Propulsé par",
"copyright": "©",
"c3g": "le Centre canadien de génomique computationnelle",
"licensed_under": "Bento est sous licence",
"source_available": "Le code source est disponible sur",
"terms_of_use": "Conditions d'utilisation (en anglais)"
}
}

0 comments on commit df6d813

Please sign in to comment.