-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix form french translation #372
base: migrate-cioos-form
Are you sure you want to change the base?
Conversation
Migrate cioos form
Visit the preview URL for this PR (updated for commit dc2d326): https://cioos-metadata-form-dev-258dc--pr372-370-fix-french-ui-zt9suly7.web.app (expires Wed, 19 Feb 2025 22:12:00 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: c9b6275cb4b6311b719349f5e25e457b5691d09c |
@@ -121,7 +121,7 @@ class Platforms extends FormClassTemplate { | |||
<Typography variant="h5"> | |||
<I18n> | |||
<En>Platforms</En> | |||
<Fr>Platforms</Fr> | |||
<Fr>Plateforme</Fr> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ça semble être au pluriel
src/components/Pages/Submissions.jsx
Outdated
@@ -203,7 +203,7 @@ class Submissions extends FormClassTemplate { | |||
obligatoires, vous pouvez soumettre vos métadonnées pour | |||
validation en cliquant sur l’icône « soumettre pour | |||
validation ». Vos métadonnées seront publiées lorsqu’elles | |||
auront été validées et approuvées par un professionel du{" "} | |||
auront été validées et approuvées par un professionel de l'{" "} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ce titre est plus large et pas juste l'OGSL et devrait s'appliquer au moins aux régions:
SIOOC du Pacific, SIOOC de l'Atlantique, Amundsen Science ...
Je me demande si on utilise pas: auront été validées et approuvées par un professionel de {" " }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quelques commentaires par rapport aux corrections
@@ -44,7 +44,7 @@ import { En, Fr, I18n } from "./I18n"; | |||
|
|||
import { UserContext } from "../providers/UserProvider"; | |||
|
|||
const drawerWidth = 240; | |||
const drawerWidth = 275; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est pour la barre de navigation ça?
src/components/NavDrawer.jsx
Outdated
@@ -175,6 +175,7 @@ export default function MiniDrawer({ children }) { | |||
signIn: <I18n en="Sign in" fr="Se Connecter" />, | |||
logout: <I18n en="Logout" fr="Déconnexion" />, | |||
sharedWithMe: <I18n en="Shared with me" fr="Partagé avec moi" />, | |||
envconnection: <I18n en="Connected to development database" fr="Connecté à la base de données <br /> de développement" />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour suivre la convention des noms de variables en haut il serait bien d'utiliser
envConnection
src/components/NavDrawer.jsx
Outdated
@@ -466,7 +467,7 @@ export default function MiniDrawer({ children }) { | |||
)} | |||
</List> | |||
<Divider /> | |||
{usingDevDatabase && <h5>Connected to development database</h5>} | |||
{usingDevDatabase && <h5>{translations.envconnection}</h5>} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
voir commentaire plus haut
src/regions.js
Outdated
}, | ||
titleFrPossessive: "de l'Observatoire Global du Saint-Laurent (OGSL)", | ||
titleFrPossessive: " de l'Observatoire global du Saint-Laurent (OGSL)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pas sur que l'espace au début est voulu
@kutoso @ABiehlerOGSL et @rodriguezcme! Vous pouvez voir les changements sur le site suivante: |
Migrate CIOOS Metadata
fix/firebase_to_xml dependancies
Fix api for metadata form share
…form into 370-fix-french-ui
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bturcotte Quelques commentaires par rapport aux corrections.
Les rôles publisher/editor sont pas mal mélangeant. Je pense que le mieux est de rester transparent et laissé l'utilisateur décider de la signification de chacun des termes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pas sur que l'espace devrait être là
@@ -142,7 +142,7 @@ const LeftList = ({ | |||
title={ | |||
<I18n | |||
en="Duplicate entry" | |||
fr="Duplicate entrée" | |||
fr="Dupliquer" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double
peut-être plus puisque de toutes les autres corrections appliques le mot double
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ou plutôt Entrée en double commes les autres corrections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -84,7 +84,7 @@ export const roleCodes = { | |||
}, | |||
}, | |||
editor: { | |||
title: { en: "Editor", fr: "Éditeur" }, | |||
title: { en: "Editor", fr: "Réviseur" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je suis pas sûr de comprendre pourquoi Editor est pas traduit par Éditeur
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
je pense que par souscis de clarté je rajouterais le mot anglais à côté
editor: Éditeur (en:editor)
publisher: Éditeur (en:publisher)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Justement puisque Editor était traduit par "Éditeur" deux fois alors que c'est deux rôles différents, ont est partie des définitions qui apparaissent en survolant les terme avec :
- editor (Party who reviewed or modified the ressource to improve the content) => Réviseur (au lieu de
Editeur) - publisher (Party who published the ressource) => Éditeur
@@ -143,7 +143,7 @@ export const roleCodes = { | |||
}, | |||
}, | |||
publisher: { | |||
title: { en: "Publisher", fr: "Editeur" }, | |||
title: { en: "Publisher", fr: "Éditeur" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
voir commentaire plus haut
Fix some of the French translation.