diff --git a/front/src/components/Write/Versions.jsx b/front/src/components/Write/Versions.jsx
index f2a54e3eb..0d9092053 100644
--- a/front/src/components/Write/Versions.jsx
+++ b/front/src/components/Write/Versions.jsx
@@ -84,7 +84,7 @@ function Version ({ articleId, compareTo, readOnly, selectedVersion, v }) {
{!renaming &&
{v.owner && (
- by {v.owner.displayName || v.owner.username}
+ {t('version.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 a58c160ad..917d29eea 100644
--- a/front/src/components/Write/WorkingVersion.jsx
+++ b/front/src/components/Write/WorkingVersion.jsx
@@ -133,7 +133,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 f812173c5..cd86048ed 100644
--- a/front/src/locales/en/translation.json
+++ b/front/src/locales/en/translation.json
@@ -70,6 +70,7 @@
"article.sendCopy.errorNotification": "Unable to send a copy of the article: {{errMessage}}",
"version.editingSessionEnded.text": "Editing session ended",
"version.collaborativeSessionEnded.text": "Collaborative session ended",
+ "version.by.text": "by {{owner}}",
"collaborativeSessionAction.launchCollaborativeSessionButton.title": "Collaborative editing",
"soloSessionAction.launchSoloSessionButton.title": "Edit article",
"modal.cancelButton.text": "Cancel",
@@ -177,5 +178,6 @@
"workingVersion.stateUiProps.savedText": "Last saved",
"workingVersion.stateUiProps.savingText": "Saving",
"workingVersion.stateUiProps.saveErrorText": "Error",
- "workingVersion.spanWorkingCopy.text": "working copy"
+ "workingVersion.spanWorkingCopy.text": "working copy",
+ "workingVersion.by.text": "by"
}
diff --git a/front/src/locales/fr/translation.json b/front/src/locales/fr/translation.json
index 2338cbf7d..5a5f08a65 100644
--- a/front/src/locales/fr/translation.json
+++ b/front/src/locales/fr/translation.json
@@ -70,6 +70,7 @@
"article.sendCopy.errorNotification": "Impossible d'envoyer une copie de l'article: {{errMessage}}",
"version.editingSessionEnded.text": "Session d'édition terminée",
"version.collaborativeSessionEnded.text": "Session collaborative terminée",
+ "version.by.text": "par {{owner}}",
"collaborativeSessionAction.launchCollaborativeSessionButton.title": "Édition collaborative",
"soloSessionAction.launchSoloSessionButton.title": "Modifier l'article",
"modal.cancelButton.text": "Annuler",
@@ -175,5 +176,6 @@
"workingVersion.stateUiProps.savedText": "Dernière sauvegarde",
"workingVersion.stateUiProps.savingText": "En cours de sauvegarde",
"workingVersion.stateUiProps.saveErrorText": "Erreur",
- "workingVersion.spanWorkingCopy.text": "version de travail"
+ "workingVersion.spanWorkingCopy.text": "version de travail",
+ "workingVersion.by.text": "par"
}