From 8e39036fce4ad46920ab9a21c4cd7505018e322a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Urban=20Vidovic=CC=8C?= Date: Wed, 10 Apr 2024 13:14:27 +0200 Subject: [PATCH] chore: localize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Urban Vidovič --- .../src/components/CampaignsDisplay/RequirementDisplay.tsx | 2 +- packages/dapp/src/components/DashboardDisplay/utils.tsx | 1 - packages/dapp/src/messages/en.json | 3 ++- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dapp/src/components/CampaignsDisplay/RequirementDisplay.tsx b/packages/dapp/src/components/CampaignsDisplay/RequirementDisplay.tsx index 3e3fe3cb1..857e7484d 100644 --- a/packages/dapp/src/components/CampaignsDisplay/RequirementDisplay.tsx +++ b/packages/dapp/src/components/CampaignsDisplay/RequirementDisplay.tsx @@ -86,7 +86,7 @@ export const RequirementDisplay = ({ if (isError(queryCredentialsResult)) { useToastStore.setState({ open: true, - title: 'You do not meet the requirements', + title: t('requirements-not-met'), type: 'error', loading: false, link: null, diff --git a/packages/dapp/src/components/DashboardDisplay/utils.tsx b/packages/dapp/src/components/DashboardDisplay/utils.tsx index 2268d78fe..04018bf25 100644 --- a/packages/dapp/src/components/DashboardDisplay/utils.tsx +++ b/packages/dapp/src/components/DashboardDisplay/utils.tsx @@ -129,7 +129,6 @@ export const filterColumnsType = ( const availableTypes = types .filter((type) => type.selected) .map((type) => type.type); - console.log('🚀 ~ availableTypes: ', availableTypes); const filteredList = credentialList.filter((credential) => { const { type } = credential.data; diff --git a/packages/dapp/src/messages/en.json b/packages/dapp/src/messages/en.json index 4bcede723..384131fc3 100644 --- a/packages/dapp/src/messages/en.json +++ b/packages/dapp/src/messages/en.json @@ -203,7 +203,8 @@ "rewards": "Rewards" }, "RequirementDisplay": { - "verify": "Verify" + "verify": "Verify", + "requirements-not-met": "You do not meet the requirements" }, "RewardDisplay": {}, "CredentialCard": {