diff --git a/front/src/components/Write/Versions.jsx b/front/src/components/Write/Versions.jsx
index f321c315a..cb3ac1496 100644
--- a/front/src/components/Write/Versions.jsx
+++ b/front/src/components/Write/Versions.jsx
@@ -84,8 +84,8 @@ function Version ({ articleId, compareTo, readOnly, selectedVersion, v }) {
{!renaming &&
{v.owner && (
- by {v.owner.displayName || v.owner.username}
-
+ {t('article.by.text', {owner: v.owner.displayName || v.owner.username})}
+
)}
diff --git a/front/src/components/Write/WorkingVersion.jsx b/front/src/components/Write/WorkingVersion.jsx
index d2d8912fa..d488e0fdb 100644
--- a/front/src/components/Write/WorkingVersion.jsx
+++ b/front/src/components/Write/WorkingVersion.jsx
@@ -128,7 +128,7 @@ export default function WorkingVersion ({ articleInfos, live, selectedVersion, m
- - by {articleOwnerAndContributors.join(', ')}
+ - {t('workingVersion.by.text')} {articleOwnerAndContributors.join(', ')}
-
diff --git a/front/src/locales/en/translation.json b/front/src/locales/en/translation.json
index 9c19d844b..2e5458887 100644
--- a/front/src/locales/en/translation.json
+++ b/front/src/locales/en/translation.json
@@ -35,7 +35,7 @@
"article.versions.title": "Versions",
"article.workspaces.title": "Workspaces",
"article.tags.title": "Tags",
- "article.by.text": "by",
+ "article.by.text": "by {{owner}}",
"article.deleteModal.title": "Delete an article",
"article.deleteModal.confirmMessage": "Are you sure you want to delete this article?",
"article.deleteModal.contributorsRemovalNote": "If you delete this article, contributors won't have access to this article anymore.",
@@ -89,5 +89,6 @@
"workspace.createForm.descriptionField": "Description",
"workspace.createForm.colorField": "Color",
"workspace.createForm.buttonTitle": "Create a new workspace",
- "workspace.createForm.buttonText": "Create"
+ "workspace.createForm.buttonText": "Create",
+ "workingVersion.by.text": "by"
}
diff --git a/front/src/locales/fr/translation.json b/front/src/locales/fr/translation.json
index aa5b5bef7..7b6221d53 100644
--- a/front/src/locales/fr/translation.json
+++ b/front/src/locales/fr/translation.json
@@ -35,7 +35,7 @@
"article.versions.title": "Versions",
"article.workspaces.title": "Espaces de travail",
"article.tags.title": "Étiquettes",
- "article.by.text": "par",
+ "article.by.text": "par {{owner}}",
"article.deleteModal.title": "Supprimer un article",
"article.deleteModal.confirmMessage": "Êtes-vous sûr de vouloir supprimer cet article ?",
"article.deleteModal.contributorsRemovalNote": "Si vous supprimez cet article, les contributeurs ne pourront plus accéder à celui-ci.",
@@ -87,5 +87,6 @@
"workspace.createForm.descriptionField": "Description",
"workspace.createForm.colorField": "Couleur",
"workspace.createForm.buttonTitle": "Créer un nouvel espace de travail",
- "workspace.createForm.buttonText": "Créer"
+ "workspace.createForm.buttonText": "Créer",
+ "workingVersion.by.text": "par"
}