From 159110a807f9ac7e23a5a7efd77b2e83d7a1c3c1 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 4 Mar 2022 19:11:17 -0800 Subject: [PATCH] Add translations for SummonGrid --- components/ExtraSummons/index.tsx | 5 ++++- components/SummonGrid/index.tsx | 9 ++++++--- public/locales/en/common.json | 6 ++++++ public/locales/ja/common.json | 6 ++++++ 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/components/ExtraSummons/index.tsx b/components/ExtraSummons/index.tsx index def4cc27..54e888e3 100644 --- a/components/ExtraSummons/index.tsx +++ b/components/ExtraSummons/index.tsx @@ -1,4 +1,5 @@ import React from 'react' +import { useTranslation } from 'next-i18next' import SummonUnit from '~components/SummonUnit' import './index.scss' @@ -16,9 +17,11 @@ interface Props { const ExtraSummons = (props: Props) => { const numSummons: number = 2 + const { t } = useTranslation('common') + return (
- Sub Aura Summons + {t('summons.subaura')}