From ef828a303d97bb62fb52daec3760024aba30aad8 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 27 Aug 2022 10:24:40 -0600 Subject: [PATCH] Translate the sidebar --- web/public/locales/en/translation.json | 7 +++++-- web/src/Sidebar.jsx | 12 ++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/web/public/locales/en/translation.json b/web/public/locales/en/translation.json index 82539218d..e4bcab4e8 100644 --- a/web/public/locales/en/translation.json +++ b/web/public/locales/en/translation.json @@ -1,6 +1,9 @@ { "birdseye": "Birdseye", "cameras": "Cameras", - "text": "Thank you for visiting our website.", - "language": "Language" + "debug": "Debug", + "documentation": "Documentation", + "events": "Events", + "github": "GitHub", + "style_guide": "Style Guide" } \ No newline at end of file diff --git a/web/src/Sidebar.jsx b/web/src/Sidebar.jsx index e805844ee..994bc19b8 100644 --- a/web/src/Sidebar.jsx +++ b/web/src/Sidebar.jsx @@ -44,19 +44,19 @@ export default function Sidebar() { ) : null } - {birdseye?.enabled ? : null} - - + {birdseye?.enabled ? : null} + +
{ENV !== 'production' ? ( - + ) : null} - - + + ); }