Skip to content

Commit

Permalink
fix: update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 committed Dec 18, 2024
1 parent d7e18f5 commit eee12b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
file: ./Dockerfile
context: .
push: true
tags: ghcr.io/${{ github.repository }}/celluloid:staging
tags: ghcr.io/${{ github.repository }}/celluloid:${{github.ref_name}}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
Expand Down
5 changes: 3 additions & 2 deletions apps/frontend/src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"home.newProject": "Create project",
"home.publicProjects": "Explore",
"home.searchProject": "Type anything…",
"home.title": "What is Especateur ?",
"home.title": "What is Celluloid ?",
"home.tutoriel.description": "Go to <0>Peertube</0>\nChoose a video or upload a new one\nCopy the link to share the video\nCreate your project in Celluloid, copy the video link and go!\nWant to work with others? Share the project code with your partners",
"home.tutoriel.link": "The tutorial is here: <0>https://celluloid-media.huma-num.fr/w/7r2FxoQdYjun6tYWJfHUCa</0>",
"home.tutoriel.prefix": "To discover the application, you can consult the ",
Expand Down Expand Up @@ -263,5 +263,6 @@
"chapters.form.button.add": " Add Chapter",
"chapters.form.button.reset": "Reset Chapters",
"chapters.form.title.placeholder": "Chapter title",
"chapters.form.description.placeholder": "Chapter description"
"chapters.form.description.placeholder": "Chapter description",
"project.sharedHelper": "A project code will be generated to allow collaborators to annotate your project."
}
5 changes: 3 additions & 2 deletions apps/frontend/src/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"home.newProject": "Créer un projet",
"home.publicProjects": "Explorer",
"home.searchProject": "Rechercher un projet…",
"home.title": "Qu’est-ce que Espectateur ?",
"home.title": "Qu’est-ce que Celluloid ?",
"home.tutoriel.description": "Rendez-vous sur une instance <0>Peertube</0>. \nChoisissez une vidéo ou déposez-en une nouvelle dans l’instance.\nCopiez le lien de partage de la vidéo.\nCréez votre projet dans Celluloid en collant le lien de la vidéo et lancez-vous !\nVous voulez travailler à plusieurs ? Partagez le code du projet avec vos partenaires...",
"home.tutoriel.link": "Le tutoriel est ici : <0>https://celluloid-media.huma-num.fr/w/7r2FxoQdYjun6tYWJfHUCa</0>",
"home.tutoriel.prefix": "Vous voulez en savoir plus ou vous rencontrez des difficultés ?",
Expand Down Expand Up @@ -263,5 +263,6 @@
"chapters.form.button.add": " Ajouter un chapitre",
"chapters.form.button.reset": "Réinitialiser les chapitres",
"chapters.form.title.placeholder": "Titre du chapitre",
"chapters.form.description.placeholder": "Description du chapitre"
"chapters.form.description.placeholder": "Description du chapitre",
"project.sharedHelper": "Un code projet sera généré pour permettre aux collaborateurs d'annoter votre projet."
}
5 changes: 1 addition & 4 deletions apps/frontend/src/pages/create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,6 @@ const CreateProjectForm: React.FC<{ data: PeerTubeVideoDataResult }> = ({
</Grid>
</Grid>



<Grid container direction="row">
<Grid item xs={2}>
<Typography
Expand Down Expand Up @@ -474,12 +472,11 @@ const CreateProjectForm: React.FC<{ data: PeerTubeVideoDataResult }> = ({
paddingTop: 1,
}}
>
<Trans i18nKey="project.sharedHelper" />
{t("project.sharedHelper")}
</Typography>
</Grid>
</Grid>


<Box display={"flex"} justifyContent={"flex-end"} flex={1} mt={2}>
<LoadingButton
variant="contained"
Expand Down

0 comments on commit eee12b7

Please sign in to comment.