From cb90c5426b20aeb8507fcf1b2133e97d4b57ca7d Mon Sep 17 00:00:00 2001 From: Caroline Desprat Date: Fri, 26 Jul 2024 16:56:57 +0000 Subject: [PATCH] feat: add i18n --- .../DocumentUserActions.vue | 85 +++++++++++++++---- src/lang/en.json | 7 ++ .../DocumentUserActions.stories.js | 7 +- 3 files changed, 83 insertions(+), 16 deletions(-) diff --git a/src/components/Document/DocumentUserActions/DocumentUserActions.vue b/src/components/Document/DocumentUserActions/DocumentUserActions.vue index f86a46a28f..df581e4d84 100644 --- a/src/components/Document/DocumentUserActions/DocumentUserActions.vue +++ b/src/components/Document/DocumentUserActions/DocumentUserActions.vue @@ -1,28 +1,22 @@ diff --git a/src/lang/en.json b/src/lang/en.json index 9c23fe9b0c..d8514aaa6c 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -178,6 +178,13 @@ "previous": "Previous", "next": "Next" }, + "documentUserActions": { + "tags":"Tags", + "comments":"Comments", + "recommended":"Recommended by", + "folders":"Folders", + "notes":"Notes" + }, "documentMetadataActions": { "copy": "Copy this metadata value", "search": "Search this metadata value", diff --git a/src/stories/components/Document/DocumentUserActions/DocumentUserActions.stories.js b/src/stories/components/Document/DocumentUserActions/DocumentUserActions.stories.js index 93328df081..4fbe070302 100644 --- a/src/stories/components/Document/DocumentUserActions/DocumentUserActions.stories.js +++ b/src/stories/components/Document/DocumentUserActions/DocumentUserActions.stories.js @@ -21,6 +21,11 @@ export const Complete = { showComments: true, showRecommended: true, showFolders: true, - showNotes: true + showNotes: true, + tags: '3', + comments: '4', + recommended: '0', + folders: '5', + notes: '3' } }