Skip to content

Commit 029f40b

Browse files
committed
updated another round of feedback
1 parent c55712e commit 029f40b

File tree

5 files changed

+29
-17
lines changed

5 files changed

+29
-17
lines changed

i18n/react-intl/en.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
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",
7474
"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.",
75-
"windowsIntelAssetTooltip": "Tested on Windows 10. Untested on Windows 11 but should work.",
76-
"macOsIntelAssetTooltip": "Compatible with macOS 10.15.7 (Catalina), 11 (Big Sur), and 12 (Monterey)",
77-
"macOsSiliconAssetTooltip": "Compatible with <a href='https://support.apple.com/en-us/HT211814'>M1 and M2 processors</a>. Tested on macOS 12 (Monterey)",
78-
"linuxIntelAssetTooltip": "Tested on Ubuntu 22.04.",
79-
"raspberryPi32AssetTooltip": "This is the only 32-bit platform that is supported with Processing 4.",
80-
"raspberryPi64AssetTooltip": "Not a ton of people are 64-bit with their RPi devices yet, but releases are happening.",
75+
"windowsIntelAssetTooltip": "Compatible with Windows 10 and 11. For best compatibility, we recommend Windows 10.",
76+
"macOsIntelAssetTooltip": "Compatible with macOS 10.15.7 (Catalina) through macOS 13 (Ventura). macOS 12 (Monterey) recommended.",
77+
"macOsSiliconAssetTooltip": "Compatible with M1 and later processors. Where possible, we recommend macOS 12 (Monterey).",
78+
"linuxIntelAssetTooltip": "Tested and supported on Ubuntu 22.04, but will work with most major distributions.",
79+
"raspberryPi32AssetTooltip": "Latest version of Raspberry Pi OS is recommended.",
80+
"raspberryPi64AssetTooltip": "Latest version of Raspberry Pi OS is recommended. The 64-bit release Raspberry Pi OS is newer, so if you have issues, try the 32-bit version.",
8181
"publishedOn": "Published on",
8282
"macOsIntelWarning": "Got an M1 or M2 CPU? Download the <a href='{0}'>Apple Silicon</a> version instead.",
8383
"otherVersions": "Need another version?",

i18n/react-intl/es.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
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",
7474
"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.",
75-
"windowsIntelAssetTooltip": "Testeado en Windows 10. No testeado en Windows 11, pero debería funcionar.",
76-
"macOsIntelAssetTooltip": "Compatible con macOS 10.15.7 (Catalina), 11 (Big Sur), y 12 (Monterey)",
77-
"macOsSiliconAssetTooltip": "Compatible con <a href='https://support.apple.com/en-us/HT211814'>procesadores M1 and M2</a>. Testeado en macOS 12 (Monterey)",
78-
"linuxIntelAssetTooltip": "Testeado en Ubuntu 22.04.",
79-
"raspberryPi32AssetTooltip": "Esta es la única plataforma de 32-bit compatible con Processing 4.",
80-
"raspberryPi64AssetTooltip": "Aún no muchas personas usan 64-bit con sus dispositivos RPi, pero hay avances en progreso.",
75+
"windowsIntelAssetTooltip": "Compatible con Windows 10 y 11. Para mejor compatibilidad, recomendamos Windows 10.",
76+
"macOsIntelAssetTooltip": "Compatible desde macOS 10.15.7 (Catalina) hasta macOS 13 (Ventura). Recomendamos macOS 12 (Monterey).",
77+
"macOsSiliconAssetTooltip": "Compatible con M1 y procesadores siguientes. Cuando sea posible, recomendamos macOS 12 (Monterey).",
78+
"linuxIntelAssetTooltip": "Testeado y con soporte en Ubuntu 22.04, pero funcionará con la mayoría de distribuciones.",
79+
"raspberryPi32AssetTooltip": "Se recomienda la últimva versión de Raspberry Pi OS.",
80+
"raspberryPi64AssetTooltip": "Se recomienda la últimva versión de Raspberry Pi OS. El lanzamiento Raspberry Pi OS 64-bit es más reciente, así que de tener problemas, intenta con la versión 32-bit.",
8181
"publishedOn": "Publicado en",
8282
"macOsIntelWarning": "¿Usas macOS con CPU M1 o M2? Descarga entonces la versión <a href='{0}'>Apple Silicon</a>.",
8383
"otherVersions": "¿Necesitas otra versión?",

src/components/character/Donate.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
width: var(--col1);
66
float: right;
77
text-align: center;
8-
z-index: 1;
8+
z-index: 10;
99
padding: var(--vertical-margin-small) 4px;
1010

1111
transition: top 0.2s ease;

src/styles/templates/download.module.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ a.mainDownloadButton {
2525
background-color: var(--processing-blue);
2626
color: white;
2727
border-radius: 40px;
28-
margin-bottom: var(--vertical-margin-xsmall);
28+
margin-bottom: var(--vertical-margin-small);
2929
padding: var(--gutter) var(--margin);
3030

3131
display: flex;
@@ -49,6 +49,7 @@ a.mainDownloadButton {
4949
font-family: var(--font);
5050
font-size: var(--text-reduced);
5151
line-height: 1.2;
52+
padding-top: 0.15em;
5253
text-align: center;
5354
}
5455
}
@@ -149,7 +150,7 @@ a.mainDownloadButton {
149150
color: white;
150151
border-radius: 40px;
151152
width: 100%;
152-
padding: var(--gutter-half) 0;
153+
padding: calc(var(--gutter-half)+ 0.15em) 0 var(--gutter-half) 0;
153154

154155
display: flex;
155156
flex-direction: column;
@@ -253,8 +254,9 @@ a.mainDownloadButton {
253254
display: block;
254255
background-color: var(--processing-blue);
255256
color: white;
256-
padding: var(--gutter-double) var(--gutter-half);
257+
padding: var(--gutter-double) var(--gutter);
257258
border-radius: 5px;
259+
border: #f2f6ff 1px solid;
258260
text-align: center;
259261
}
260262
}

src/templates/download.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ const MainDownloadSection = memo(({ release, onAfterDownload }) => {
145145
onClick={onAfterDownload}>
146146
<span>
147147
{intl.formatMessage({ id: 'download' })} Processing{' '}
148-
{release.version}{' '}
148+
{release.version} {intl.formatMessage({ id: 'for' })}{' '}
149+
{detectedAsset.os}
149150
</span>
150151
</a>
151152

@@ -197,6 +198,15 @@ const InfoTooltip = ({ asset, date, className, zIndex, translateX }) => {
197198

198199
useEffect(() => {
199200
if (open) {
201+
const dropdownRect = tooltipRef.current.getBoundingClientRect();
202+
const dropdownRightX = dropdownRect.x + dropdownRect.width;
203+
if (dropdownRightX > window.innerWidth) {
204+
console.log('hey');
205+
tooltipRef.current.style.left = 'auto';
206+
tooltipRef.current.style.right = '0';
207+
tooltipRef.current.style.transform = 'none';
208+
}
209+
200210
const outsideInteraction = (e) => {
201211
if (tooltipRef.current == null) return;
202212
if (tooltipRef.current.contains(e.target)) return;

0 commit comments

Comments
 (0)