From 81b359e6ab7c3dcd05fc24e1d138f7fd9a7740bc Mon Sep 17 00:00:00 2001 From: Fernando Florenzano Hernandez Date: Tue, 7 Feb 2023 09:16:28 -0300 Subject: [PATCH 1/2] fix: download page meta title --- i18n/react-intl/en.json | 5 +++-- i18n/react-intl/es.json | 5 +++-- src/templates/download.js | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/i18n/react-intl/en.json b/i18n/react-intl/en.json index ac7be5c7..bf0d10e6 100644 --- a/i18n/react-intl/en.json +++ b/i18n/react-intl/en.json @@ -1,6 +1,6 @@ { "home": "Home", - "downloadTitle": "Create with code, everywhere", + "download": "Download", "documentation": "Documentation", "reference": "Reference", "references": "References", @@ -71,6 +71,8 @@ "peopleIntro": "Processing is a community effort led by a small group of volunteers.", "booksIntro": "Processing books cover topics from programming basics to visualization. Browse this page to find the right books for you.", "readMore": "Read more", + "downloadTitle": "Create with code, everywhere", + "downloadTitleMeta": "Download Processing", "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.", "windowsIntelAssetTooltip": "Compatible with Windows 10 and 11. For best compatibility, we recommend Windows 10.", "macOsIntelAssetTooltip": "Compatible with macOS 10.15.7 (Catalina) through macOS 13 (Ventura). macOS 12 (Monterey) recommended.", @@ -130,7 +132,6 @@ "letUsKnow": " let us know", "syntax": "Syntax", "parameters": "Parameters", - "download": "Download", "return": "Return", "inUse": "In use", "notFound": "NOT FOUND", diff --git a/i18n/react-intl/es.json b/i18n/react-intl/es.json index 4c2c55cb..1d3d6756 100644 --- a/i18n/react-intl/es.json +++ b/i18n/react-intl/es.json @@ -1,6 +1,6 @@ { "home": "Inicio", - "downloadTitle": "Crea con código, en cualquier lugar", + "download": "Descargar", "documentation": "Documentación", "reference": "Referencia", "references": "Referencias", @@ -71,6 +71,8 @@ "peopleIntro": "Processing es un esfuerzo comunitario lidereado por un pequeño grupo de voluntarios.", "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.", "readMore": "Leer más", + "downloadTitle": "Crea con código, en cualquier lugar", + "downloadTitleMeta": "Descarga Processing", "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.", "windowsIntelAssetTooltip": "Compatible con Windows 10 y 11. Para mejor compatibilidad, recomendamos Windows 10.", "macOsIntelAssetTooltip": "Compatible desde macOS 10.15.7 (Catalina) hasta macOS 13 (Ventura). Recomendamos macOS 12 (Monterey).", @@ -130,7 +132,6 @@ "letUsKnow": " háznoslo saber", "syntax": "Sintaxis", "parameters": "Parámetros", - "download": "Descargar", "return": "Regresa", "inUse": "En uso", "notFound": "NOT FOUND", diff --git a/src/templates/download.js b/src/templates/download.js index 9ac4c724..695d5763 100644 --- a/src/templates/download.js +++ b/src/templates/download.js @@ -44,7 +44,7 @@ const Download = ({ data }) => { return ( From 6cfc7b0fa0a2c8fcd489ab33b96181ee1b9c9e8a Mon Sep 17 00:00:00 2001 From: Fernando Florenzano Hernandez Date: Tue, 7 Feb 2023 09:17:56 -0300 Subject: [PATCH 2/2] chore: remove unnecessary console log --- src/templates/download.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/templates/download.js b/src/templates/download.js index 695d5763..bb3b6025 100644 --- a/src/templates/download.js +++ b/src/templates/download.js @@ -201,7 +201,6 @@ const InfoTooltip = ({ asset, date, className, zIndex, translateX }) => { const dropdownRect = tooltipRef.current.getBoundingClientRect(); const dropdownRightX = dropdownRect.x + dropdownRect.width; if (dropdownRightX > window.innerWidth) { - console.log('hey'); tooltipRef.current.style.left = 'auto'; tooltipRef.current.style.right = '0'; tooltipRef.current.style.transform = 'none';