From 3d71ad1d8b66efc56ad96db999e8498dd817836e Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 28 Jan 2023 00:51:32 -0800 Subject: [PATCH] Add localizations --- components/Header/index.tsx | 39 +++++++++++++++++-------------- components/PartyDetails/index.tsx | 2 +- components/Tooltip/index.scss | 3 +++ public/locales/en/common.json | 5 ++++ public/locales/ja/common.json | 5 ++++ 5 files changed, 36 insertions(+), 18 deletions(-) diff --git a/components/Header/index.tsx b/components/Header/index.tsx index 8fec3c27..6e5e42a2 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -33,6 +33,7 @@ import RemixIcon from '~public/icons/Remix.svg' import SaveIcon from '~public/icons/Save.svg' import './index.scss' +import Tooltip from '~components/Tooltip' const Header = () => { // Localization @@ -226,28 +227,32 @@ const Header = () => { const saveButton = () => { return ( -