Skip to content

Commit daa6d88

Browse files
committed
Translate image alt descriptions
1 parent 4bad12c commit daa6d88

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/intl/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,15 @@
9797
"page-home-title": "Ethereum is a global, open-source platform for decentralized applications.",
9898
"page-home-sections-individuals-title": "About Ethereum",
9999
"page-home-sections-individuals-desc": "Get to know Ethereum, Ether, wallets, tokens and more so you can start using Ethereum applications.",
100+
"page-home-sections-individuals-image-alt": "Illustration of a doge dog sitting at a computer",
100101
"page-home-sections-individuals-link-text": "Get started with Ethereum",
101102
"page-home-sections-developers-title": "Developers",
102103
"page-home-sections-developers-desc": "Learn about the technology behind Ethereum and its applications so you can start building with it.",
104+
"page-home-sections-developers-image-alt": "Illustration of a hand constructing an Ethereum glyph made of lego bricks",
103105
"page-home-sections-developers-link-text": "Start building",
104106
"page-home-sections-enterprise-title": "Enterprise",
105107
"page-home-sections-enterprise-desc": "See how Ethereum can open up new business models, reduce your costs and future-proof your business.",
108+
"page-home-sections-enterprise-image-alt": "Illustration of a group working on an Ethereum project around a laptop",
106109
"page-home-sections-enterprise-link-text": "Ethereum for Enterprise",
107110
"page-individuals": "Individuals",
108111
"page-individuals-aria-label": "Individual's Menu",

src/pages/index.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ const HomePage = ({ data }) => {
263263
{
264264
img: {
265265
src: data.individuals,
266-
alt: "Illustration of a doge dog sitting at a computer",
266+
alt: "page-home-sections-individuals-image-alt",
267267
},
268268
title: "page-home-sections-individuals-title",
269269
desc: "page-home-sections-individuals-desc",
@@ -275,8 +275,7 @@ const HomePage = ({ data }) => {
275275
{
276276
img: {
277277
src: data.developers,
278-
alt:
279-
"Illustration of a hand constructing an Ethereum glyph made of lego bricks",
278+
alt: "page-home-sections-developers-image-alt",
280279
},
281280
title: "page-home-sections-developers-title",
282281
desc: "page-home-sections-developers-desc",
@@ -288,8 +287,7 @@ const HomePage = ({ data }) => {
288287
{
289288
img: {
290289
src: data.enterprise,
291-
alt:
292-
"Illustration of a group working on an Ethereum project around a laptop",
290+
alt: "page-home-sections-enterprise-image-alt",
293291
},
294292
title: "page-home-sections-enterprise-title",
295293
desc: "page-home-sections-enterprise-desc",

0 commit comments

Comments
 (0)