Skip to content

Commit af07292

Browse files
authored
Merge pull request #3693 from cassiano/adding-new-contact-translation-and-merging-about-localization-keys
Adding new `About.Contact` (missing) translation and merging `About` localization keys, for `en-US` and `pt-BR` locales
2 parents aa775de + 6139175 commit af07292

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

client/modules/About/pages/About.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const About = () => {
9595
))}
9696

9797
<Contact>
98-
<h2>{t('Contact')}</h2>
98+
<h2>{t('About.Contact')}</h2>
9999
<div>
100100
<ContactTitle>{t('About.Email')}</ContactTitle>
101101
<ContactHandles>

client/modules/IDE/components/Header/MobileNav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ const MoreMenu = () => {
455455
<MobileMenuItem href="https://p5js.org/reference/">
456456
{t('Nav.Help.Reference')}
457457
</MobileMenuItem>
458-
<MobileMenuItem href="/about">{t('Nav.Help.About')}</MobileMenuItem>
458+
<MobileMenuItem href="/about">{t('About.Title')}</MobileMenuItem>
459459
</ParentMenuContext.Provider>
460460
</ul>
461461
</div>

client/modules/IDE/components/Header/Nav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ const ProjectMenu = () => {
287287
{t('Nav.Help.Reference')}
288288
</MenubarItem>
289289
<MenubarItem id="help-about" href="/about">
290-
{t('Nav.Help.About')}
290+
{t('About.Title')}
291291
</MenubarItem>
292292
<MenubarItem
293293
id="help-report-bug"

translations/locales/en-US/translations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"Title": "Help",
2828
"KeyboardShortcuts": "Keyboard Shortcuts",
2929
"Reference": "Reference",
30-
"About": "About",
3130
"ReportBug": "Report a Bug",
3231
"ChatOnDiscord": "Chat On Discord",
3332
"PostOnTheForum": "Post on the Forum"
@@ -135,7 +134,8 @@
135134
"Report": "Report broken or incorrect behavior with the p5.js Editor.",
136135
"Forum": "Ask questions, share sketches, and get help from the p5.js community.",
137136
"Discord": "Chat with the p5.js community and get quick help."
138-
}
137+
},
138+
"Contact": "Contact Us"
139139
},
140140
"Toast": {
141141
"OpenedNewSketch": "Opened new sketch.",

translations/locales/pt-BR/translations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"Title": "Ajuda",
2828
"KeyboardShortcuts": "Atalhos de Teclado",
2929
"Reference": "Referência",
30-
"About": "Sobre",
3130
"ReportBug": "Reportar um Erro",
3231
"ChatOnDiscord": "Conversar no Discord",
3332
"PostOnTheForum": "Postar no Fórum"
@@ -127,7 +126,8 @@
127126
"Report": "Reporte um erro ou comportamento incorreto com o Editor p5.js.",
128127
"Forum": "Expanda as possibilidades do p5.js com bibliotecas criadas pela comunidade.",
129128
"Discord": "Expanda as possibilidades do p5.js com bibliotecas criadas pela comunidade."
130-
}
129+
},
130+
"Contact": "Entre em Contato"
131131
},
132132
"Toast": {
133133
"OpenedNewSketch": "Novo esboço aberto.",

0 commit comments

Comments
 (0)