Skip to content

Commit

Permalink
Fix labels
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatkashyap committed Oct 31, 2023
1 parent 75b569d commit 9a302ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 3 additions & 5 deletions docs/src/modules/components/DiamondSponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function DiamondSponsors() {
/>
</StyledAnchor>
<Link
aria-label={t('diamondSponsors')}
aria-label={`${t('becomeADiamondSponsor')}${t('diamondSponsorVacancies')}`}
rel="noopener noreferrer"
href="/material-ui/discover-more/backers/#diamond"
sx={(theme) => ({
Expand Down Expand Up @@ -157,12 +157,10 @@ export default function DiamondSponsors() {
})}
>
<Typography variant="caption" fontWeight="semiBold" textAlign="center">
{/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
{'Become a diamond sponsor!'}
{t('becomeADiamondSponsor')}
</Typography>
<Typography variant="caption" fontWeight="regular" color="text.secondary">
{/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
{'One spot left'}
{t('diamondSponsorVacancies')}
</Typography>
</Link>
</Stack>
Expand Down
4 changes: 3 additions & 1 deletion docs/translations/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@
"demoStylingSelectSystem": "MUI System",
"demoStylingSelectTailwind": "Tailwind CSS",
"demoStylingSelectCSS": "Plain CSS",
"diamondSponsors": "Become a diamond sponsor! One spot left",
"diamondSponsors": "Diamond Sponsors",
"becomeADiamondSponsor": "Become a Diamond Sponsor",
"diamondSponsorVacancies": "One spot left!",
"editorHint": "Press <kbd>Enter</kbd> to start editing",
"editPage": "Edit this page",
"emojiLove": "Love",
Expand Down

0 comments on commit 9a302ea

Please sign in to comment.