diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index 092f30221..04e0eff76 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -2029,6 +2029,10 @@ "edit-note-title": "Click to edit note title", "edit-column-title": "Click to edit column title" }, + "presentation_view": { + "edit-slide": "Edit this slide", + "start-presentation": "Start presentation" + }, "command_palette": { "tree-action-name": "Tree: {{name}}", "export_note_title": "Export Note", diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx index ad321dba6..af05d6d4d 100644 --- a/apps/client/src/widgets/collections/presentation/index.tsx +++ b/apps/client/src/widgets/collections/presentation/index.tsx @@ -11,6 +11,7 @@ import "./index.css"; import { RefObject } from "preact"; import { openInCurrentNoteContext } from "../../../components/note_context"; import { useTriliumEvent } from "../../react/hooks"; +import { t } from "../../../services/i18n"; const stylesheets = [ slideBaseStylesheet, @@ -55,7 +56,7 @@ function ButtonOverlay({ containerRef, apiRef }: { containerRef: RefObject { const currentSlide = apiRef.current?.getCurrentSlide(); const noteId = getNoteIdFromSlide(currentSlide); @@ -68,7 +69,7 @@ function ButtonOverlay({ containerRef, apiRef }: { containerRef: RefObject containerRef.current?.requestFullscreen()} />