Skip to content

Commit 8574784

Browse files
authored
Merge pull request #13562 from ethereum/translatathonUpdates
[HotFix] Translatathon updates
2 parents 57a7d5a + 57cc596 commit 8574784

File tree

12 files changed

+200
-94
lines changed

12 files changed

+200
-94
lines changed

public/content/contributing/translation-program/translatathon/details/index.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,14 @@ All translations will also be subject to a thorough review before being added to
7171
</ul>
7272
</ExpandableCard>
7373

74-
<ExpandableCard title="Which languages can I translate into?">
75-
You can translate into any language! It is recommended to only translate into your native language to ensure sufficient quality, but in short, all language available in Crowdin are in scope for the Translatathon.
76-
77-
If you want to translate into a language that isn't available in Crowdin, reach out to us and we will add any language per request.
74+
<ExpandableCard title="Can I compete as part of a team?">
75+
<p>No. This year, the Translatathon will only have one main individual track and there will be no team competition.</p>
76+
<p>You can still team up with your friends and translate together, however everyone will be competing in the Translatathon as an individual and only the number of your individual translated words will count towards your final score.</p>
77+
</ExpandableCard>
7878

79+
<ExpandableCard title="Which languages can I translate into?">
80+
<p>You can translate into any language! It is recommended to only translate into your native language to ensure sufficient quality, but in short, all language available in Crowdin are in scope for the Translatathon.</p>
81+
<p>If you want to translate into a language that isn't available in Crowdin, reach out to us and we will add any language per request.</p>
7982
</ExpandableCard>
8083

8184
<ApplyNow />

public/content/contributing/translation-program/translatathon/index.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,17 @@ For more details, [see the full Terms & conditions](/contributing/translation-pr
7979

8080
<StepByStepInstructions />
8181

82+
## Prizes
83+
84+
<TranslatathonPrizes />
85+
8286
## Stay up to date
8387

84-
<!-- TODO: Uncomment when the hubs page is ready -->
85-
<!-- <TranslationHubCallout>
88+
<TranslationHubCallout>
8689
<h3 style={{margin:0}}>Translataton hubs</h3>
8790

88-
THis year we bring IRL community hugs to join local communities and help translate.
89-
90-
this hubs are located all over the world, find out if there is one close to you and join the community
91-
</TranslationHubCallout> -->
91+
This year we bring IRL community hugs to join local communities and help translate. These hubs are located all over the world, find out if there is one close to you and join the community!
92+
</TranslationHubCallout>
9293

9394
<TranslatathonCalendar />
9495

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: 2024 ethereum.org Translatathon
3+
lang: en
4+
template: translatathon
5+
---
6+
7+
![](./local-communities.png)
8+
9+
## Overview
10+
11+
The Translatathon brings together people from different expertise and cultures to collaborate on one goal: making Ethereum knowledge accessible in as many languages as possible. This year, with the support of local communities, we are bringing Translatathon Hubs to several cities worldwide, where people can get together, meet fellow Ethereum enthusiasts, and participate in the Translatathon.
12+
13+
<TwoColumnContent>
14+
<WhyWeDoItColumn>
15+
<h3>Why do we do it</h3>
16+
Translating is often a lonely task, but it doesn't have to be. By gathering participants in one place, they can enjoy the solitude of crafting the perfect translation while still taking breaks to socialize, have a coffee, and share the most challenging or funny terms they've encountered while translating.
17+
</WhyWeDoItColumn>
18+
<HowDoesItWorkColumn>
19+
<h3>How does it work</h3>
20+
Check the list of Translatathon Hubs to see if there's one happening in your city! Remember, the Translatathon is an online competition, so you can always participate from the comfort of your couch.
21+
</HowDoesItWorkColumn>
22+
</TwoColumnContent>
23+
24+
## List of Translatathon Hubs
25+
26+
<LocalCommunitiesList />
27+
28+
<ApplyNow />
-4.19 KB
Binary file not shown.

src/components/Translatathon/LocalCommunitiesList.tsx

Lines changed: 39 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,57 @@
11
import { Box, Flex, Text } from "@chakra-ui/react"
22

33
import { ButtonLink } from "@/components/Buttons"
4-
import { Image } from "@/components/Image"
54

6-
import KipuLogo from "@/public/images/translatathon/kipu-logo.png"
5+
import Emoji from "../Emoji"
76

87
const localCommunitiesData = [
98
{
10-
organizer: "ETH Kypo",
11-
description:
12-
"ETH Kipu is an organization dedicated to supporting the Ethereum ecosystem in Latin America.",
13-
logo: KipuLogo,
14-
lumaLink: "https://example.com",
15-
location: "🇦🇷 Buenos Aires, Argentina",
9+
emojiString: "🇷🇴",
10+
lumaLink: "https://lu.ma/b7m1nyid",
11+
location: "Bucharest, Romania",
12+
eventName: "Ethereum Translatathon Bucharest 🌐🐬",
1613
},
1714
{
18-
organizer: "ETH Kypo",
19-
description:
20-
"ETH Kipu is an organization dedicated to supporting the Ethereum ecosystem in Latin America.",
21-
logo: KipuLogo,
22-
lumaLink: "https://example.com",
23-
location: "🇦🇷 Buenos Aires, Argentina",
15+
emojiString: "🇪🇹",
16+
lumaLink: "https://lu.ma/zi092c8v",
17+
location: "Addis Ababa, Ethiopia",
18+
eventName: "Eth Translatathon",
2419
},
2520
{
26-
organizer: "ETH Kypo",
27-
description:
28-
"ETH Kipu is an organization dedicated to supporting the Ethereum ecosystem in Latin America.",
29-
logo: KipuLogo,
30-
lumaLink: "https://example.com",
31-
location: "🇦🇷 Buenos Aires, Argentina",
21+
emojiString: "🇷🇸",
22+
lumaLink: "https://lu.ma/ehd86ohx",
23+
location: "Belgrade, Serbia",
24+
eventName: "Ethereum Translatathon — ETH Belgrade",
3225
},
3326
{
34-
organizer: "ETH Kypo",
35-
description:
36-
"ETH Kipu is an organization dedicated to supporting the Ethereum ecosystem in Latin America.",
37-
logo: KipuLogo,
38-
lumaLink: "https://example.com",
39-
location: "🇦🇷 Buenos Aires, Argentina",
27+
emojiString: "🇹🇼",
28+
lumaLink: "https://lu.ma/2i9fi2zi",
29+
location: "Taipei, Taiwan",
30+
eventName: "2024 ethereum.org Translatathon Hub - Taiwan",
4031
},
4132
{
42-
organizer: "ETH Kypo",
43-
description:
44-
"ETH Kipu is an organization dedicated to supporting the Ethereum ecosystem in Latin America.",
45-
logo: KipuLogo,
46-
lumaLink: "https://example.com",
47-
location: "🇦🇷 Buenos Aires, Argentina",
33+
emojiString: "🇿🇲",
34+
lumaLink: "https://lu.ma/4xyfdlz7",
35+
location: "Lusaka, Zambia",
36+
eventName: "Ethereum Translatathon - Hosted by ETHZambezi",
4837
},
4938
{
50-
organizer: "ETH Kypo",
51-
description:
52-
"ETH Kipu is an organization dedicated to supporting the Ethereum ecosystem in Latin America.",
53-
logo: KipuLogo,
54-
lumaLink: "https://example.com",
55-
location: "🇦🇷 Buenos Aires, Argentina",
39+
emojiString: "🇳🇬",
40+
lumaLink: "https://lu.ma/w00aw06a",
41+
location: "Kaduna, Nigeria",
42+
eventName: "Ethereum Hausa Translatathon",
5643
},
5744
{
58-
organizer: "ETH Kypo",
59-
description:
60-
"ETH Kipu is an organization dedicated to supporting the Ethereum ecosystem in Latin America.",
61-
logo: KipuLogo,
62-
lumaLink: "https://example.com",
63-
location: "🇦🇷 Buenos Aires, Argentina",
45+
emojiString: "🇳🇬",
46+
lumaLink: "https://lu.ma/1vj9u4rj",
47+
location: "Lagos, Nigeria",
48+
eventName: "Ethereum Yorùbá Translatathon",
49+
},
50+
{
51+
emojiString: "🇧🇷",
52+
lumaLink: "https://lu.ma/lkiakqtu",
53+
location: "Rio de Janeiro, Brazil",
54+
eventName: "Ethereum Translathon 📜🔍 hosted by EthSamba & BambaLabs",
6455
},
6556
]
6657

@@ -74,6 +65,7 @@ export const LocalCommunitiesList = () => {
7465
direction={{ base: "column-reverse", md: "row" }}
7566
p={6}
7667
gap={8}
68+
justifyContent={"space-between"}
7769
>
7870
<Flex direction="column" gap={6}>
7971
<Flex
@@ -86,32 +78,22 @@ export const LocalCommunitiesList = () => {
8678
<Text fontWeight="bold">{community.location}</Text>
8779
</Flex>
8880
<Box>
89-
<Text size="sm" color="body.medium">
90-
Organizer:
91-
</Text>
9281
<Text size="lg" fontWeight="bold">
93-
{community.organizer}
82+
{community.eventName}
9483
</Text>
9584
</Box>
96-
<Text>{community.description}</Text>
9785
<Flex>
9886
<ButtonLink
9987
href={community.lumaLink}
10088
variant="outline"
10189
color="body.base"
10290
>
103-
Luma link
91+
Register here
10492
</ButtonLink>
10593
</Flex>
10694
</Flex>
10795
<Flex minW="90">
108-
<Image
109-
src={community.logo}
110-
alt={community.organizer}
111-
width="90"
112-
height="130"
113-
style={{ objectFit: "contain" }}
114-
/>
96+
<Emoji fontSize={90} text={community.emojiString} />
11597
</Flex>
11698
</Flex>
11799
))}

src/components/Translatathon/TranslatathonCalendar.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,8 @@ export const TranslatathonCalendar = () => {
9494
</Text>
9595
{events.map((event, index) => (
9696
<Flex gap={6} mb={4} key={index}>
97-
<Text key={index}>
98-
{getLocaleTimestamp(locale! as Lang, event.date)}
99-
</Text>
100-
<InlineLink key={index} href={event.calendarLink}>
101-
{event.title}
102-
</InlineLink>
97+
<Text>{getLocaleTimestamp(locale! as Lang, event.date)}</Text>
98+
<InlineLink href={event.calendarLink}>{event.title}</InlineLink>
10399
</Flex>
104100
))}
105101
</Flex>
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
import Emoji from "@/components/Emoji"
2+
3+
const TranslatathonPrizes = () => {
4+
return (
5+
<div className="flex w-full flex-col gap-8 rounded-lg">
6+
<div className="m-0 py-4 sm:m-auto">
7+
<div className="flex flex-row gap-4">
8+
<div className="flex h-32 w-32 items-center justify-center rounded-lg p-1 shadow-md">
9+
<div className="h-16 w-16 items-center justify-center">
10+
<Emoji text="🥇" fontSize={64} />
11+
</div>
12+
</div>
13+
<div className="flex flex-col items-center justify-center">
14+
<p className="text-2xl font-bold">1st place</p>
15+
<p className="text-4xl font-bold">$5000</p>
16+
</div>
17+
</div>
18+
</div>
19+
<div className="flex flex-col gap-4 sm:flex-row">
20+
<div className="justify-left flex flex-1 items-center gap-4 py-4 sm:justify-center">
21+
<div className="flex h-24 w-24 items-center justify-center rounded-lg p-1 shadow-md">
22+
<div className="h-11 w-11">
23+
<Emoji
24+
text="🥈"
25+
fontSize={44}
26+
alignContent="center"
27+
justifyItems="center"
28+
/>
29+
</div>
30+
</div>
31+
<div className="flex flex-col items-center justify-center">
32+
<p className="text-lg font-bold">2nd place</p>
33+
<p className="text-3xl font-bold">$3000</p>
34+
</div>
35+
</div>
36+
<div className="justify-left flex flex-1 items-center gap-4 sm:justify-center">
37+
<div className="flex h-24 w-24 items-center justify-center rounded-lg p-1 shadow-md">
38+
<div className="h-11 w-11">
39+
<Emoji text="🥉" fontSize={44} />
40+
</div>
41+
</div>
42+
<div className="flex flex-col items-center justify-center">
43+
<p className="text-lg font-bold">3rd place</p>
44+
<p className="text-3xl font-bold">$1500</p>
45+
</div>
46+
</div>
47+
</div>
48+
<div className="flex flex-col gap-4 sm:flex-row">
49+
<div className="justify-left flex flex-1 items-center gap-4 sm:justify-center">
50+
<div className="flex h-16 w-16 items-center justify-center rounded-lg p-1 shadow-md">
51+
<div className="h-9 w-9">
52+
<Emoji text="🌟" fontSize={36} />
53+
</div>
54+
</div>
55+
<div className="flex flex-col items-center justify-center">
56+
<p className="text-md font-bold">4th & 5th</p>
57+
<p className="text-2xl font-bold">$500</p>
58+
</div>
59+
</div>
60+
<div className="justify-left flex flex-1 items-center gap-4 sm:justify-center">
61+
<div className="flex h-16 w-16 items-center justify-center rounded-lg p-1 shadow-md">
62+
<div className="h-9 w-9">
63+
<Emoji text=":scroll:" fontSize={36} />
64+
</div>
65+
</div>
66+
<div className="flex flex-col items-center justify-center">
67+
<p className="text-md font-bold">6th to 10th</p>
68+
<p className="text-2xl font-bold">$200</p>
69+
</div>
70+
</div>
71+
</div>
72+
<div className="flex flex-col gap-3 text-center">
73+
<div className="flex flex-col">
74+
<p className="text-body-base text-lg">
75+
Top translator in each language: $100{" "}
76+
</p>
77+
<p className="text-body-base text-lg">+ Participation prizes</p>
78+
</div>
79+
<div className="flex flex-col text-sm text-body-medium">
80+
{/* TODO: Add this disclaimer link later */}
81+
{/* <p>see prizes disclaimer here</p> */}
82+
</div>
83+
</div>
84+
</div>
85+
)
86+
}
87+
88+
export default TranslatathonPrizes

src/components/Translatathon/TranslationHubCallout.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Flex } from "@chakra-ui/react"
1+
import { Center, Flex } from "@chakra-ui/react"
22

33
import { ButtonLink } from "@/components/Buttons"
44
import { Image } from "@/components/Image"
@@ -13,23 +13,24 @@ export const TranslationHubCallout = ({ children }) => {
1313
bg="background.highlight"
1414
direction={{ base: "column", lg: "row" }}
1515
p={8}
16+
gap={8}
1617
>
1718
<Flex w="full" direction="column">
1819
{children}
1920
<Flex>
20-
<ButtonLink href="/contributing/translation-program/translatathon/local-communities">
21+
<ButtonLink href="/contributing/translation-program/translatathon/translatathon-hubs">
2122
Find out more on hubs
2223
</ButtonLink>
2324
</Flex>
2425
</Flex>
25-
<Flex w="full">
26+
<Center w="full">
2627
<Image
2728
src={WalkingImage}
2829
alt=""
2930
maxW={265}
3031
style={{ objectFit: "contain" }}
3132
/>
32-
</Flex>
33+
</Center>
3334
</Flex>
3435
)
3536
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"/content/contributing/translation-program/translatathon/local-communities/local-communities.png": {
3+
"hash": "d0fbc65b",
4+
"base64": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAGCAYAAADKfB7nAAAACXBIWXMAABYlAAAWJQFJUiTwAAABjklEQVR4nAXB3UtTcRzA4a8SBJqsjA0hs8iQBl6VF2sKGhRnk8lwYxNT8w3DQ6RuF7Fe2BmupBpsMaIWEWOoTKwIUZQuUrCEQRiYkAzSm/wHggg65wefnkdEWqyjDk05bBeVdtqt1tPP1e/SpvrwLKfm0wX168t3RbmkjEhSaZ1xJVWaGg0batI7ouqPuUwRcVF7NkidvZVER4gHE68ZePiDsdE8RmaDN6kN7t8pEVzeo8lrINKO77KOq8HLueNuRI60YTsT4EqzjxlPP8XxKGtbZZZWdzjc2+fr4mdWVg7ZfvKY6VieXDLN2tgAbc4w7vNdiNg6qW4cwnEqRI29m76OW+Tjc7x4+pa/JuyYoI9k2c4U2X1U4O71KAGnh8oTfpyNvUhFQx8nL+i0eDJc0rIkb88xO1ngZfEbnw5gvQxD+k9yxiLvh28yOz5FarqIzxtH6gaRmmb9X4UjYLVeTZj+nqzSevJW8MaCOXPvnRk1tsyuwY+m351QRneEzVgE69UEu6mYFbo2ZYk9/Oc/G7fcN6c24E8AAAAASUVORK5CYII="
5+
}
6+
}

0 commit comments

Comments
 (0)