Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dataset page] Information block #19

Merged
merged 9 commits into from
Feb 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(i18n): add translations
cmoinier committed Feb 22, 2024
commit 453efc74933e35ce8583ffa094d944081bc92810
58 changes: 34 additions & 24 deletions apps/datahub/src/assets/i18n/en_MEL.json
Original file line number Diff line number Diff line change
@@ -3,34 +3,44 @@
"mel.common.footer.contact": "Contact us",
"mel.common.footer.follow": "Follow us !",
"mel.common.footer.legal": "Legal mentions",
"mel.common.footer.logo.financeUE": "",
"mel.common.footer.logo.franceRelance": "",
"mel.common.footer.logo.financeUE": "Financed by the European Union",
"mel.common.footer.logo.franceRelance": "France Relance",
"mel.common.footer.newletter.signup": "Sign up to the newsletter",
"mel.common.footer.news": "Last news",
"mel.common.footer.newsletter.inform": "Subscribe to the newsletter and stay informed of MEL's last news !",
"mel.common.footer.plan": "Sitemap",
"mel.common.footer.recruitment": "Recruitment",
"mel.common.footer.social": "Social medias",
"mel.common.header.title": "",
"mel.datahub.home.title": "",
"mel.datahub.search.title": "",
"mel.dataset.abstract": "",
"mel.dataset.api": "",
"mel.dataset.download": "",
"mel.dataset.favorite": "",
"mel.dataset.informations": "",
"mel.dataset.less": "",
"mel.dataset.more": "",
"mel.record.metadata.api": "",
"mel.record.metadata.api.form.closeButton": "",
"mel.record.metadata.api.form.title": "",
"mel.record.metadata.localisation": "",
"mel.record.metadata.preview": "",
"mel.record.metadata.producteur": "",
"mel.record.metadata.quality": "",
"mel.record.metadata.quality.details": "",
"mel.record.metadata.related": "",
"mel.record.tab.chart": "",
"mel.record.tab.data": "",
"mel.record.tab.map": ""
"mel.common.header.title": "Data platform",
"mel.datahub.home.title": "Métropole Européenne de Lille",
"mel.datahub.search.title": "dataset catalog",
"mel.dataset.abstract": "Abstract",
"mel.dataset.api": "API",
"mel.dataset.categories": "Categories :",
"mel.dataset.download": "Download",
"mel.dataset.favorite": "Favorites",
"mel.dataset.informations": "Information",
"mel.dataset.less": "Less",
"mel.dataset.licenses": "License(s) :",
"mel.dataset.logo.email": "Email",
"mel.dataset.logo.facebook": "Facebook",
"mel.dataset.logo.linkedin": "Linkedin",
"mel.dataset.logo.twitter": "Twitter",
"mel.dataset.more": "More",
"mel.dataset.owner": "Producer :",
"mel.dataset.share": "Share this content :",
"mel.dataset.territories": "Territories :",
"mel.dataset.updatedOn": "Updated on",
"mel.record.metadata.api": "API",
"mel.record.metadata.api.form.closeButton": "Close",
"mel.record.metadata.api.form.title": "Generate a custom URL",
"mel.record.metadata.localisation": "Location",
"mel.record.metadata.preview": "Preview",
"mel.record.metadata.producteur": "Producer",
"mel.record.metadata.quality": "Metadata quality",
"mel.record.metadata.quality.details": "Details",
"mel.record.metadata.related": "Similar records",
"mel.record.tab.chart": "Analysis",
"mel.record.tab.data": "Table",
"mel.record.tab.map": "Map"
}
10 changes: 10 additions & 0 deletions apps/datahub/src/assets/i18n/fr_MEL.json
Original file line number Diff line number Diff line change
@@ -16,11 +16,21 @@
"mel.datahub.search.title": "Catalogue de jeux de données",
"mel.dataset.abstract": "Description",
"mel.dataset.api": "API",
"mel.dataset.categories": "Catégories :",
"mel.dataset.download": "Télécharger",
"mel.dataset.favorite": "Favoris",
"mel.dataset.informations": "Informations",
"mel.dataset.less": "Reduire",
"mel.dataset.licenses": "Licence(s) :",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the "(s)" needed? I did not see it in the design.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, if we have plural, we could also use translateParams, to display either singular or plural. Not sure if all licenses should be listed here, or just the first.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure either, and they can be pretty long strings. I'm going to ask Christophe about it.

"mel.dataset.logo.email": "Email",
"mel.dataset.logo.facebook": "Facebook",
"mel.dataset.logo.linkedin": "Linkedin",
"mel.dataset.logo.twitter": "Twitter",
"mel.dataset.more": "En savoir plus",
"mel.dataset.owner": "Producteur :",
"mel.dataset.share": "Partager ce contenu :",
"mel.dataset.territories": "Territoires :",
"mel.dataset.updatedOn": "Mise à jour le",
"mel.record.metadata.api": "API",
"mel.record.metadata.api.form.closeButton": "Fermer",
"mel.record.metadata.api.form.title": "Générer une URL personnalisée",