From 2fccc09b3f0ff0d4ed9af9026f27f69b48d5dbb5 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 12 Oct 2022 11:18:19 +0200 Subject: [PATCH] feat: translate the timeline fixed elements --- src/components/Timeline.vue | 10 +++++----- src/locales/en.json | 6 ++++++ src/locales/fr.json | 6 ++++++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index c816fb2..cf03f7c 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -21,7 +21,7 @@
- Created {{ proj.name }} {{ elapsed(proj.started_at) }} + {{ $t('project.created') }} {{ proj.name }} {{ elapsed(proj.started_at) }}
@@ -43,7 +43,7 @@
- Hosted at {{ proj.source.name }} ({{ proj.commits }} commits) + {{ $t('project.sources') }} {{ proj.source.name }} ({{ proj.commits }} commits)
@@ -52,7 +52,7 @@
- Documentation at {{ proj.doc.name }} + {{ $t('project.doc') }} {{ proj.doc.name }}
@@ -61,10 +61,10 @@
diff --git a/src/locales/en.json b/src/locales/en.json index 262871f..14fbf26 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -82,5 +82,11 @@ "time.month": "{n} month", "time.months": "{n} months", "time.year": "{n} year", "time.years": "{n} years", + "project.created": "Created", + "project.sources": "Hosted at", + "project.doc": "Documentation at", + "project.end": "Project stopped in", + "project.still": "Project still active", + "end": "" } \ No newline at end of file diff --git a/src/locales/fr.json b/src/locales/fr.json index d9107cb..c8803d1 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -44,5 +44,11 @@ "time.month": "{n} mois", "time.months": "{n} mois", "time.year": "{n} an", "time.years": "{n} ans", + "project.created": "Création de", + "project.sources": "Sources:", + "project.doc": "Documentation:", + "project.end": "Projet terminé en", + "project.still": "Projet toujours actif", + "end": "" } \ No newline at end of file