From 6f05a592b0d28544ef16aba9240d5aa8c1517f90 Mon Sep 17 00:00:00 2001 From: Rahat Ali Date: Wed, 10 Jan 2024 17:42:35 +0500 Subject: [PATCH] fix: text fixes (#7) * fix: text fixes * fix: Fixes for tests --- src/components/Footer.jsx | 2 +- src/components/Footer.messages.js | 2 +- src/components/__snapshots__/Footer.test.jsx.snap | 6 +++--- src/i18n/messages/ar.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 53558d068..a8cb9e705 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -64,7 +64,7 @@ class SiteFooter extends React.Component {

- {intl.formatMessage(messages['footer.copyright.text'], { platformName: config.SITE_NAME })} + {intl.formatMessage(messages['footer.copyright.text'])}

diff --git a/src/components/Footer.messages.js b/src/components/Footer.messages.js index cfa978c96..c88f21337 100644 --- a/src/components/Footer.messages.js +++ b/src/components/Footer.messages.js @@ -153,7 +153,7 @@ const messages = defineMessages({ }, 'footer.copyright.text': { id: 'footer.copyright.text', - defaultMessage: 'All rights reserved. {platformName} © 2023', + defaultMessage: 'All rights reserved. SDAIA © 2023', description: 'copyright text for the footer component', }, }); diff --git a/src/components/__snapshots__/Footer.test.jsx.snap b/src/components/__snapshots__/Footer.test.jsx.snap index 2a5836107..5d84347ae 100644 --- a/src/components/__snapshots__/Footer.test.jsx.snap +++ b/src/components/__snapshots__/Footer.test.jsx.snap @@ -30,7 +30,7 @@ exports[`