Skip to content

Commit c2b16ce

Browse files
[Fix] Split Note Copy Into Two Translates (#3)
1 parent b9bebc7 commit c2b16ce

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

public/i18n/en.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,15 @@
6868
"sponsorBody": "All money and support raised from sponsorships are invested in improving the bimonthly events and the quality of the presented content. No member of the staff benefits economically from the support; all tasks performed by the team are carried out on a non-profit basis. All income is invested entirely for the benefit of the community.",
6969
"offer": "What do we offer in return?",
7070
"offerRights": "Sponsors have the right to:",
71-
"socialMentions": "Mentions on social networks.",
72-
"communityPagePosts": "Posts from the community page.",
73-
"sharePosts": "Sharing a certain number of publications on our social networks.",
74-
"promoteContent": "5-minute slot each session to promote vacancies, events, etc.",
75-
"eventPresence": "Presence at the beginning and end of the event, as well as on all flyers related to the monthly session.",
76-
"benefitsNote": "Over time, we have noticed that the benefits from sponsorship are even more effective when individuals (employees) from the companies also get involved as part of WDT, as their message reaches more organically.",
77-
"closingNote": "To conclude, we would like to express that it would give us great pleasure to have your support in continuing to grow our community. 💙",
71+
"socialMentions": "Mentions on social media and posts from our community page.",
72+
"sharePosts": "Space to share posts on our social networks.",
73+
"promoteContent": "5 minutes in each session to promote job openings, events, etc.",
74+
"eventPresence": "Prominent presence at the beginning and end of each event, as well as on all flyers for the monthly session.",
75+
"note": "Note:",
76+
"benefitsNote": "We have noticed that sponsorship benefits are more effective when employees of the companies also get involved in WDT, as their message reaches more organically.",
77+
"closingNote": "Thank you in advance for your support in continuing to grow our community. 💙",
7878
"communityHeader": "“We are a community”",
79-
"note": "NOTE:",
8079
"adrianaReyes": " - Adriana Reyes.",
8180
"gallery": "Gallery"
8281
}
83-
}
82+
}

public/i18n/es.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
"sharePosts": "Espacio para compartir publicaciones en nuestras redes sociales.",
8282
"promoteContent": "5 minutos en cada sesión para promover vacantes, eventos, etc.",
8383
"eventPresence": "Presencia destacada al inicio y final de cada evento, así como en todos los flyers de la sesión mensual.",
84-
"benefitsNote": "Nota: Hemos notado que los beneficios del patrocinio son más efectivos cuando empleados de las empresas también se involucran en WDT, ya que su mensaje llega de manera más orgánica.",
84+
"note": "Nota:",
85+
"benefitsNote": "Hemos notado que los beneficios del patrocinio son más efectivos cuando empleados de las empresas también se involucran en WDT, ya que su mensaje llega de manera más orgánica.",
8586
"closingNote": "Agradecemos de antemano su apoyo para seguir creciendo nuestra comunidad. 💙",
8687
"communityHeader": "“Somos comunidad”",
87-
"note": "NOTA:",
8888
"adrianaReyes": " - Adriana Reyes.",
8989
"gallery": "Galeria"
9090
}

src/About.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ import Footer from './Footer';
3333

3434
function About() {
3535
const { t } = useTranslation()
36-
const benefitsNote = t("aboutUs.benefitsNote");
37-
const noteText = benefitsNote.split(":")[0] + ":";
38-
const restOfText = benefitsNote.split(":").slice(1).join(":").trim();
3936

4037
return (
4138
<>
@@ -101,7 +98,7 @@ function About() {
10198
</List>
10299

103100
<Typography sx={{ mb: 2 }}>
104-
<strong>{noteText}</strong> {restOfText}
101+
<strong>{t("aboutUs.note")}</strong> {t("aboutUs.benefitsNote")}
105102
</Typography>
106103

107104
<Typography>{t("aboutUs.closingNote")}</Typography>

0 commit comments

Comments
 (0)