start alts for images

This commit is contained in:
caseymm 2021-10-19 12:23:23 -07:00
parent 4c29cb5dcc
commit dbd5005cee
2 changed files with 23 additions and 4 deletions

View file

@ -64,6 +64,13 @@ const colorIndex = countryNames.map(key => CountryUsage[key]['log count']);
const minColor = 'rgba(46, 142, 184, .05)';
const maxColor = 'rgba(46, 142, 184, 1)';
// const imgAlt = (phrase) => {
// // let html = <FormattedMessage id={phrase} />;
// let html = formatMessage({id: phrase})
// console.log(html);
// return html;
// }
// Create the div given a list of supporter names,
// this will contain two columns of names either of equal size
// or with the left column containing 1 more item than the right
@ -298,6 +305,7 @@ class AnnualReport extends React.Component {
<img
className={classNames({rotated: this.state.dropdownVisible})}
src="/images/annual-report/dropdown-arrow.svg"
alt={this.props.intl.formatMessage({id: 'annualReport.2020.altDropdownArrow'})}
/>
</Button>
</div>
@ -1193,7 +1201,7 @@ class AnnualReport extends React.Component {
thumbnail="/images/annual-report/2020/adaptation/Create-along video.svg"
thumbnailWidth="1000"
videoHeight="320"
videoId="IGDCZGfj_cQ"
videoId="uzfapi7t03"
videoWidth="568"
/>
</MediaQuery>
@ -1208,7 +1216,7 @@ class AnnualReport extends React.Component {
thumbnail="/images/annual-report/2020/adaptation/Create-along video.svg"
thumbnailWidth="800"
videoHeight="320"
videoId="IGDCZGfj_cQ"
videoId="uzfapi7t03"
videoWidth="568"
/>
</MediaQuery>
@ -1220,7 +1228,7 @@ class AnnualReport extends React.Component {
thumbnail="/images/annual-report/2020/adaptation/Create-along video.svg"
thumbnailWidth="500"
videoHeight="216"
videoId="IGDCZGfj_cQ"
videoId="uzfapi7t03"
videoWidth="380"
/>
</MediaQuery>

View file

@ -301,5 +301,16 @@
"annualReport.2020.donateTitle": "Support Us",
"annualReport.2020.donateMessage": "Your support enables us to make Scratch free for everyone, keeps our servers running, and most importantly, we are able to provide kids around the world an opportunity to imagine, create and share. Thank you!",
"annualReport.2020.donateButton": "Donate"
"annualReport.2020.donateButton": "Donate",
"annualReport.2020.altDropdownArrow": "Arrow indicating dropdown menu.",
"annualReport.2020.altMastheadIllustration": "Three people interacting with physical scratch components.",
"annualReport.2020.altWave": "An emoji hand waving.",
"annualReport.2020.altMitchHeadshot": "Founder Mitch Resnick",
"annualReport.2020.altBlocks": "Two scratch blocks stacked on top of one another.",
"annualReport.2020.altBanana": "A banana with a wire plugged into it.",
"annualReport.2020.altProjectsIllustration": "Three children, one standing, one sitting in a wheelchair, and one sitting on the ground paint and cut art projects.",
"annualReport.2020.altPassionIllustration": "Three children, one standing, one kneeling, and one sitting on the ground paint, play music on a piano, and stargaze using a telescope.",
"annualReport.2020.altPeersIllustration": "Four childeren sit around a campfire playing games and high fiving.",
"annualReport.2020.altPlayIllustration": "Three children, one standing, one kneeling, and one sitting crosslegged stack rocks, play with toy boats, and fold origami."
}