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

[FEATURE] Ajout de titre aux pages de junior (PIX-12570). #8974

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions junior/app/pods/assessment/results/template.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{page-title (t "pages.missions.end-page.title")}}
<div class="mission-page">
<RobotDialog @class="happy">
<Bubble @message={{t "pages.missions.end-page.congratulations"}} @color="success" />
Expand Down
2 changes: 1 addition & 1 deletion junior/app/pods/components/challenge/template.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{page-title "Challenge"}}
{{page-title (t "pages.challenge.title")}}
<div class="container">
<RobotDialog @class={{this.robotMood}}>
<Bubble @message={{@challenge.instruction}} />
Expand Down
6 changes: 3 additions & 3 deletions junior/app/pods/identified/missions/list/template.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{page-title "Home"}}
{{page-title (t "pages.missions.list.title")}}
<div>
<RobotDialog>
<Bubble @message={{t "pages.missions.start-page.instruction" prenom=this.model.organizationLearner.firstName}} />
<Bubble @message={{t "pages.missions.list.instruction" prenom=this.model.organizationLearner.firstName}} />
<Bubble
@message={{t
"pages.missions.start-page.back-to-students"
"pages.missions.list.back-to-students"
prenom=this.model.organizationLearner.firstName
backUrl=this.schoolUrl
}}
Expand Down
1 change: 1 addition & 0 deletions junior/app/pods/identified/missions/mission/template.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{page-title (t "pages.missions.start-page.title")}}
<div class="mission-page">
<RobotDialog>
<Bubble @message={{t "pages.missions.start-page.welcome"}} />
Expand Down
12 changes: 9 additions & 3 deletions junior/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"pages": {
"pix-junior": "Pix Junior",
"challenge": {
"title": "Mission",
"actions": {
"skip": "Je passe",
"check": "Je vérifie",
Expand Down Expand Up @@ -30,18 +31,23 @@
"backHome": "Retour à l'accueil"
},
"missions": {
"list": {
"title": "Mes Missions",
"instruction": "Bonjour <strong>{prenom}</strong>, choisis ta mission parmi celles qui te sont proposées ci-dessous !",
"back-to-students": "Si tu n'es pas <strong>{prenom}</strong>, <a href=\"{backUrl}\" class=\"internal-link\">clique ici pour retourner à la liste des élèves </a>"
},
"start-page": {
"title": "Début de mission",
"back-to-missions": "Voir toutes les missions",
"cards": {
"finished": "Terminé"
},
"instruction": "Bonjour <strong>{prenom}</strong>, choisis ta mission parmi celles qui te sont proposées ci-dessous !",
"back-to-students": "Si tu n'es pas <strong>{prenom}</strong>, <a href=\"{backUrl}\" class=\"internal-link\">clique ici pour retourner à la liste des élèves </a>",
"purpose-title": "Objectif de la mission :",
"start-mission": "C'est partix !",
"welcome": "Prépare-toi à résoudre des épreuves et relever des défis."
},
"end-page": {
"title": "Fin de mission",
"congratulations": "Bravo ! <br> Tu as terminé ta mission !",
"back-to-missions": "Voir d'autres missions",
"details-list": "Tu as pu travailler :"
Expand All @@ -57,7 +63,7 @@
"page-title": "Liste des classes",
"welcome": "Bienvenue sur la page de l'école : <strong>{schoolName}</strong><br>Maintenant, choisis ta classe."
},
"student-list":{
"student-list": {
"back-to-divisions": "Si ce n'est pas ta classe, <a href=\"{backUrl}\" class=\"internal-link\">clique ici pour retourner à la liste des classes</a>",
"find-name": "Voici les élèves de la classe : <strong>{division}</strong><br>Clique sur ton prénom dans la liste.",
"page-title": "Liste des élèves"
Expand Down