From ff7a7a220dc9b46687c938ef53e99dd96f4802b9 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sun, 8 Oct 2023 16:19:46 +0200 Subject: [PATCH] fix: change icon and name of last saved sidebar entry Signed-off-by: Yannick Bungers Signed-off-by: Tilman Vatteroth --- frontend/locales/en.json | 2 +- .../note-info-line/note-info-line-updated-at.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/locales/en.json b/frontend/locales/en.json index 66e58938d..a924f3737 100644 --- a/frontend/locales/en.json +++ b/frontend/locales/en.json @@ -356,7 +356,7 @@ "noteInfo": { "title": "Note info", "created": "Note created", - "lastUpdated": "Last updated", + "lastUpdated": "Last saved at", "lastUpdatedBy": "Last updated by", "contributors": "Count of contributors", "wordCount": "Count of words" diff --git a/frontend/src/components/editor-page/sidebar/specific-sidebar-entries/note-info-sidebar-menu/note-info-line/note-info-line-updated-at.tsx b/frontend/src/components/editor-page/sidebar/specific-sidebar-entries/note-info-sidebar-menu/note-info-line/note-info-line-updated-at.tsx index e5c22254a..85251a40a 100644 --- a/frontend/src/components/editor-page/sidebar/specific-sidebar-entries/note-info-sidebar-menu/note-info-line/note-info-line-updated-at.tsx +++ b/frontend/src/components/editor-page/sidebar/specific-sidebar-entries/note-info-sidebar-menu/note-info-line/note-info-line-updated-at.tsx @@ -8,7 +8,7 @@ import { TimeFromNow } from '../../../../../common/time-from-now' import { SidebarMenuInfoEntry } from '../../../sidebar-menu-info-entry/sidebar-menu-info-entry' import { DateTime } from 'luxon' import React, { useMemo } from 'react' -import { Pencil as IconPencil } from 'react-bootstrap-icons' +import { Save as IconSave } from 'react-bootstrap-icons' import { useTranslation } from 'react-i18next' /** @@ -23,7 +23,7 @@ export const NoteInfoLineUpdatedAt: React.FC = () => { ) return !noteUpdateDateTime ? null : ( - + )