Skip to content
Open
18 changes: 9 additions & 9 deletions client/modules/IDE/components/Preferences/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function Preferences() {
return (
<section className="preferences">
<Helmet>
<title>p5.js Web Editor | Preferences</title>
<title>{t('Preferences.TitleHelmet')}</title>
</Helmet>
<Tabs selectedIndex={tabIndex} onSelect={changeTab}>
<TabList>
Expand Down Expand Up @@ -584,7 +584,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5Sound(true));
}}
aria-label={`${t('Preferences.SoundAddon')} ${t(
'Preferences.AddonOn'
'Preferences.AddonOnARIA'
)}`}
name="soundaddon"
id="soundaddon-on"
Expand All @@ -601,7 +601,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5Sound(false));
}}
aria-label={`${t('Preferences.SoundAddon')} ${t(
'Preferences.AddonOff'
'Preferences.AddonOffARIA'
)}`}
name="soundaddon"
id="soundaddon-off"
Expand Down Expand Up @@ -641,7 +641,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5PreloadAddon(true))
}
aria-label={`${t('Preferences.PreloadAddon')} ${t(
'Preferences.AddonOn'
'Preferences.AddonOnARIA'
)}`}
name="preloadaddon"
id="preloadaddon-on"
Expand All @@ -661,7 +661,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5PreloadAddon(false))
}
aria-label={`${t('Preferences.PreloadAddon')} ${t(
'Preferences.AddonOff'
'Preferences.AddonOffARIA'
)}`}
name="preloadaddon"
id="preloadaddon-off"
Expand All @@ -688,7 +688,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5ShapesAddon(true))
}
aria-label={`${t('Preferences.ShapesAddon')} ${t(
'Preferences.AddonOn'
'Preferences.AddonOnARIA'
)}`}
name="shapesaddon"
id="shapesaddon-on"
Expand All @@ -708,7 +708,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5ShapesAddon(false))
}
aria-label={`${t('Preferences.ShapesAddon')} ${t(
'Preferences.AddonOff'
'Preferences.AddonOffARIA'
)}`}
name="shapesaddon"
id="shapesaddon-off"
Expand All @@ -735,7 +735,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5DataAddon(true))
}
aria-label={`${t('Preferences.DataAddon')} ${t(
'Preferences.AddonOn'
'Preferences.AddonOnARIA'
)}`}
name="dataaddon"
id="dataaddon-on"
Expand All @@ -752,7 +752,7 @@ export default function Preferences() {
updateHTML(versionInfo.setP5DataAddon(false))
}
aria-label={`${t('Preferences.DataAddon')} ${t(
'Preferences.AddonOff'
'Preferences.AddonOffARIA'
)}`}
name="dataaddon"
id="dataaddon-off"
Expand Down
4 changes: 3 additions & 1 deletion translations/locales/de/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"Title": "Hilfe",
"KeyboardShortcuts": "Tastenkürzel",
"Reference": "Referenz",
"About": "Über"
"ReportBug": "Fehler melden",
"ChatOnDiscord": "Auf Discord chatten",
"PostOnTheForum": "Im Forum posten"
Copy link

Copilot AI Dec 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The German translation only updates the Nav.Help section but doesn't include any Preferences updates that are being added to other locales (hi, es-419, zh-CN, it, ja) in this PR. Missing keys include: TitleHelmet, LibraryManagement, LibraryVersion, LibraryVersionInfo, SoundAddon, PreloadAddon, ShapesAddon, DataAddon, AddonOnARIA, AddonOffARIA, CustomVersionTitle, CustomVersionInfo, CustomVersionReset, SoundReference, CopyToClipboardSuccess, and CopyToClipboardFailure. Consider adding these for consistency.

Copilot uses AI. Check for mistakes.
},
"Lang": "Sprache",
"BackEditor": "Zurück zum Editor",
Expand Down
1 change: 1 addition & 0 deletions translations/locales/en-US/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
"OpenARIA": "Open console"
},
"Preferences": {
"TitleHelmet": "p5.js Web Editor | Preferences",
"Settings": "Settings",
"GeneralSettings": "General Settings",
"Accessibility": "Accessibility",
Expand Down
15 changes: 13 additions & 2 deletions translations/locales/es-419/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
"Title": "Ayuda",
"KeyboardShortcuts": "Atajos",
"Reference": "Referencia",
"About": "Acerca de"
"ReportBug": "Reportar un error",
"ChatOnDiscord": "Chat en Discord",
"PostOnTheForum": "Publicar en el foro"
},
"Lang": "Lenguaje",
"BackEditor": "Regresa al editor",
Expand Down Expand Up @@ -184,7 +186,16 @@
"SoundAddon": "p5.sound.js Add-on Biblioteca",
"PreloadAddon": "p5.js 1.x Compatibility Add-on Biblioteca — Precarga",
"ShapesAddon": "p5.js 1.x Compatibility Add-on Biblioteca — formas",
"DataAddon": "p5.js 1.x Compatibility Add-on Biblioteca — Estructuras de datos"
"DataAddon": "p5.js 1.x Compatibility Add-on Biblioteca — Estructuras de datos",
"AddonOnARIA": "activado",
"AddonOffARIA": "desactivado",
"TitleHelmet": "Editor Web p5.js | Preferencias",
"CustomVersionTitle": "¿Gestionando tus propias bibliotecas? ¡Genial!",
"CustomVersionInfo": "La versión de p5.js se está gestionando actualmente en el código de index.html. Esto significa que no se puede ajustar desde esta pestaña.",
"CustomVersionReset": "Si deseas utilizar las bibliotecas predeterminadas, puedes reemplazar las etiquetas de script en index.html por las siguientes:",
"SoundReference": "Ver la referencia de p5.sound compatible con p5.js {{version}}",
"CopyToClipboardSuccess": "¡Copiado al portapapeles!",
"CopyToClipboardFailure": "No pudimos copiar el texto, intenta seleccionarlo y copiarlo manualmente."
},
"KeyboardShortcuts": {
"Title": " Atajos de teclado",
Expand Down
4 changes: 3 additions & 1 deletion translations/locales/fr-CA/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"Title": "Aide",
"KeyboardShortcuts": "Raccourcis clavier",
"Reference": "Référence",
"About": "À propos"
"ReportBug": "Signaler un bogue",
"ChatOnDiscord": "Discuter sur Discord",
"PostOnTheForum": "Publier sur le forum"
Copy link

Copilot AI Dec 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The French-Canadian translation only updates the Nav.Help section but doesn't include any Preferences updates that are being added to other locales (hi, es-419, zh-CN, it, ja) in this PR. Missing keys include: TitleHelmet, AddonOnARIA, AddonOffARIA, CustomVersionTitle, CustomVersionInfo, CustomVersionReset, SoundReference, CopyToClipboardSuccess, and CopyToClipboardFailure. Consider adding these for consistency.

Copilot uses AI. Check for mistakes.
},
"Lang": "Langue",
"BackEditor": "Retour à l'éditeur",
Expand Down
Loading