Skip to content

Commit

Permalink
fix: text fixes (#7)
Browse files Browse the repository at this point in the history
* fix: text fixes

* fix: Fixes for tests
  • Loading branch information
arbirali authored Jan 10, 2024
1 parent e701572 commit 6f05a59
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class SiteFooter extends React.Component {
<div className="flex-grow-1" />
<div>
<p className="copyright m-0">
{intl.formatMessage(messages['footer.copyright.text'], { platformName: config.SITE_NAME })}
{intl.formatMessage(messages['footer.copyright.text'])}
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Footer.messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
});
Expand Down
6 changes: 3 additions & 3 deletions src/components/__snapshots__/Footer.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports[`<Footer /> renders correctly renders with a language selector 1`] = `
<p
className="copyright m-0"
>
All rights reserved. © 2023
All rights reserved. SDAIA © 2023
</p>
</div>
</div>
Expand Down Expand Up @@ -112,7 +112,7 @@ exports[`<Footer /> renders correctly renders without a language selector 1`] =
<p
className="copyright m-0"
>
All rights reserved. © 2023
All rights reserved. SDAIA © 2023
</p>
</div>
</div>
Expand Down Expand Up @@ -156,7 +156,7 @@ exports[`<Footer /> renders correctly renders without a language selector in es
<p
className="copyright m-0"
>
All rights reserved. © 2023
All rights reserved. SDAIA © 2023
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
"footer.logo.altText": "مدعوم من Open edX",
"footer.logo.ariaLabel": "إيدكس الرئيسية",
"footer.ariaLabel": "تذييل الصفحة",
"footer.copyright.text": "2023 © {platformName} جميع الحقوق محفوظة لأ"
"footer.copyright.text": " جميع الحقوق محفوظة لأكاديمية سدايا © 2023"
}

0 comments on commit 6f05a59

Please sign in to comment.