Skip to content

Commit 85dd5f6

Browse files
authored
Merge pull request #433 from processing/fix-download-meta-title
Fix download meta title
2 parents 2560c35 + 6cfc7b0 commit 85dd5f6

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

i18n/react-intl/en.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"home": "Home",
3-
"downloadTitle": "Create with code, everywhere",
3+
"download": "Download",
44
"documentation": "Documentation",
55
"reference": "Reference",
66
"references": "References",
@@ -71,6 +71,8 @@
7171
"peopleIntro": "Processing is a community effort led by a small group of volunteers.",
7272
"booksIntro": "Processing books cover topics from programming basics to visualization. Browse this page to find the right books for you.",
7373
"readMore": "Read more",
74+
"downloadTitle": "Create with code, everywhere",
75+
"downloadTitleMeta": "Download Processing",
7476
"downloadIntro": "Processing is open source and is available for macOS, Windows, and Linux. Projects created with Processing are also cross-platform, and can be used on macOS, Windows, Android, Raspberry Pi, and many other Linux platforms.",
7577
"windowsIntelAssetTooltip": "Compatible with Windows 10 and 11. For best compatibility, we recommend Windows 10.",
7678
"macOsIntelAssetTooltip": "Compatible with macOS 10.15.7 (Catalina) through macOS 13 (Ventura). macOS 12 (Monterey) recommended.",
@@ -130,7 +132,6 @@
130132
"letUsKnow": " let us know",
131133
"syntax": "Syntax",
132134
"parameters": "Parameters",
133-
"download": "Download",
134135
"return": "Return",
135136
"inUse": "In use",
136137
"notFound": "NOT FOUND",

i18n/react-intl/es.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"home": "Inicio",
3-
"downloadTitle": "Crea con código, en cualquier lugar",
3+
"download": "Descargar",
44
"documentation": "Documentación",
55
"reference": "Referencia",
66
"references": "Referencias",
@@ -71,6 +71,8 @@
7171
"peopleIntro": "Processing es un esfuerzo comunitario lidereado por un pequeño grupo de voluntarios.",
7272
"booksIntro": "Los libros sobre Processing cubren temas desde los principios básicos de programación a la visualización. Navega esta pagina para encontrar un libro adecuado para ti.",
7373
"readMore": "Leer más",
74+
"downloadTitle": "Crea con código, en cualquier lugar",
75+
"downloadTitleMeta": "Descarga Processing",
7476
"downloadIntro": "Processing es código abierto y está disponible para macOS, Windows, y Linux. Proyectos creados con Processing también multiplataforma, y pueden ser ejecutados en macOS, Windows, Android, Raspberry Pi, y muchas plataformas Linux.",
7577
"windowsIntelAssetTooltip": "Compatible con Windows 10 y 11. Para mejor compatibilidad, recomendamos Windows 10.",
7678
"macOsIntelAssetTooltip": "Compatible desde macOS 10.15.7 (Catalina) hasta macOS 13 (Ventura). Recomendamos macOS 12 (Monterey).",
@@ -130,7 +132,6 @@
130132
"letUsKnow": " háznoslo saber",
131133
"syntax": "Sintaxis",
132134
"parameters": "Parámetros",
133-
"download": "Descargar",
134135
"return": "Regresa",
135136
"inUse": "En uso",
136137
"notFound": "NOT FOUND",

src/templates/download.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const Download = ({ data }) => {
4444
return (
4545
<Layout>
4646
<HeadMatter
47-
title={intl.formatMessage({ id: 'downloadTitle' })}
47+
title={intl.formatMessage({ id: 'downloadTitleMeta' })}
4848
description={intl.formatMessage({ id: 'downloadIntro' })}
4949
/>
5050

@@ -201,7 +201,6 @@ const InfoTooltip = ({ asset, date, className, zIndex, translateX }) => {
201201
const dropdownRect = tooltipRef.current.getBoundingClientRect();
202202
const dropdownRightX = dropdownRect.x + dropdownRect.width;
203203
if (dropdownRightX > window.innerWidth) {
204-
console.log('hey');
205204
tooltipRef.current.style.left = 'auto';
206205
tooltipRef.current.style.right = '0';
207206
tooltipRef.current.style.transform = 'none';

0 commit comments

Comments
 (0)