diff --git a/public/local-data/websiteInterfaces.json b/public/local-data/websiteInterfaces.json index fdaddd4..71d9b1b 100644 --- a/public/local-data/websiteInterfaces.json +++ b/public/local-data/websiteInterfaces.json @@ -172,9 +172,9 @@ "anchor_link_copied": "Copied! 👍", "folders": "Folders", "empty_folder_message": "This folder is empty", - "switch_to_grid_view": null, - "switch_to_folder_view": null, - "content_is_not_available": null + "switch_to_grid_view": "Switch to grid view", + "switch_to_folder_view": "Switch to folder view", + "content_is_not_available": "This content is not available" } }, { diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx index 8e97679..4718840 100644 --- a/src/components/AppLayout.tsx +++ b/src/components/AppLayout.tsx @@ -22,6 +22,7 @@ import { OpenGraph, TITLE_PREFIX, TITLE_SEPARATOR } from "helpers/openGraph"; import { useIs1ColumnLayout, useIsScreenAtLeast } from "hooks/useContainerQuery"; import { useOnResize } from "hooks/useOnResize"; import { Ids } from "types/ids"; +import { sendAnalytics } from "helpers/analytics"; /* * ╭─────────────╮ @@ -324,7 +325,7 @@ export const AppLayout = ({ className="mt-8" onClick={() => { disgardSafariWarning(); - umami("[Safari] Disgard warning"); + sendAnalytics("Safari", "Disgard warning"); }} /> @@ -333,7 +334,7 @@ export const AppLayout = ({ state={configPanelOpen} onClose={() => { setConfigPanelOpen(false); - umami("[Settings] Close settings"); + sendAnalytics("Settings", "Close settings"); }}>