Skip to content

Commit 24279ee

Browse files
Merge branch 'develop' into feat/auto-detect-language
2 parents 04da737 + 1b09307 commit 24279ee

17 files changed

+94
-37
lines changed

client/modules/IDE/components/KeyboardShortcutModal.jsx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ function KeyboardShortcutModal() {
7676
<span>{t('KeyboardShortcuts.CodeEditing.CreateNewFile')}</span>
7777
</li>
7878
</ul>
79-
<h3 className="keyboard-shortcuts__title">General</h3>
79+
<h3 className="keyboard-shortcuts__title">
80+
{t('KeyboardShortcuts.General')}
81+
</h3>
8082
<ul className="keyboard-shortcuts__list">
8183
<li className="keyboard-shortcut-item">
8284
<span className="keyboard-shortcut__command">{metaKeyName} + S</span>
@@ -86,29 +88,33 @@ function KeyboardShortcutModal() {
8688
<span className="keyboard-shortcut__command">
8789
{metaKeyName} + Enter
8890
</span>
89-
<span>{t('KeyboardShortcuts.General.StartSketch')}</span>
91+
<span>{t('KeyboardShortcuts.GeneralSelection.StartSketch')}</span>
9092
</li>
9193
<li className="keyboard-shortcut-item">
9294
<span className="keyboard-shortcut__command">
9395
{metaKeyName} + Shift + Enter
9496
</span>
95-
<span>{t('KeyboardShortcuts.General.StopSketch')}</span>
97+
<span>{t('KeyboardShortcuts.GeneralSelection.StopSketch')}</span>
9698
</li>
9799
<li className="keyboard-shortcut-item">
98100
<span className="keyboard-shortcut__command">
99101
{metaKeyName} + Shift + 1
100102
</span>
101-
<span>{t('KeyboardShortcuts.General.TurnOnAccessibleOutput')}</span>
103+
<span>
104+
{t('KeyboardShortcuts.GeneralSelection.TurnOnAccessibleOutput')}
105+
</span>
102106
</li>
103107
<li className="keyboard-shortcut-item">
104108
<span className="keyboard-shortcut__command">
105109
{metaKeyName} + Shift + 2
106110
</span>
107-
<span>{t('KeyboardShortcuts.General.TurnOffAccessibleOutput')}</span>
111+
<span>
112+
{t('KeyboardShortcuts.GeneralSelection.TurnOffAccessibleOutput')}
113+
</span>
108114
</li>
109115
<li className="keyboard-shortcut-item">
110116
<span className="keyboard-shortcut__command">Shift + Right</span>
111-
<span>Go to Reference for Selected Item in Hinter</span>
117+
<span>{t('KeyboardShortcuts.GeneralSelection.Reference')}</span>
112118
</li>
113119
</ul>
114120
</div>

translations/locales/be/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
"CodeEditing": "কোড এডিটিং",
204204
"ColorPicker": "ইনলাইন রঙ নির্বাচক দেখান"
205205
},
206-
"General": {
206+
"GeneralSelection": {
207207
"StartSketch": "স্কেচ শুরু",
208208
"StopSketch": "স্কেচ বন্ধ",
209209
"TurnOnAccessibleOutput": "ব্যবহারযোগ্য আউটপুট চালু করুন",

translations/locales/de/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
"FindPreviousTextMatch": "Vorherigen Text-Treffer finden",
194194
"CodeEditing": "Code editieren"
195195
},
196-
"General": {
196+
"GeneralSelection": {
197197
"StartSketch": "Sketch starten",
198198
"StopSketch": "Sketch stoppen",
199199
"TurnOnAccessibleOutput": "Barrierefreie Ausgabe einschalten",

translations/locales/en-US/translations.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,13 @@
251251
"ColorPicker": "Show Inline Color Picker",
252252
"CreateNewFile": "Create New File"
253253
},
254-
"General": {
254+
"General": "General",
255+
"GeneralSelection": {
255256
"StartSketch": "Start Sketch",
256257
"StopSketch": "Stop Sketch",
257258
"TurnOnAccessibleOutput": "Turn On Accessible Output",
258-
"TurnOffAccessibleOutput": "Turn Off Accessible Output"
259+
"TurnOffAccessibleOutput": "Turn Off Accessible Output",
260+
"Reference": "Go to Reference for Selected Item in Hinter"
259261
}
260262
},
261263
"Sidebar": {

translations/locales/es-419/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"FindPreviousTextMatch": "Encontrar la ocurrencia previa de texto",
201201
"CodeEditing": "Editando Código"
202202
},
203-
"General": {
203+
"GeneralSelection": {
204204
"StartSketch": "Iniciar bosquejo",
205205
"StopSketch": "Detener bosquejo",
206206
"TurnOnAccessibleOutput": "Activar salida accesible",

translations/locales/fr-CA/translations.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
"Settings": "Paramètres",
140140
"GeneralSettings": "Paramètres généraux",
141141
"Accessibility": "Accessibilité",
142+
"LibraryManagement": "Gestion de bibliothèque",
142143
"Theme": "Thème",
143144
"LightTheme": "Clair",
144145
"LightThemeARIA": "Thème clair activé",
@@ -176,6 +177,12 @@
176177
"TextOutputARIA": "sortie texte activée",
177178
"TableText": "Tableau de texte",
178179
"TableOutputARIA": "sortie tableau de texte activée",
180+
"LibraryVersion": "Version de p5.js",
181+
"LibraryVersionInfo": "Une [nouvelle version 2.0](https://github.com/processing/p5.js/releases/) de p5.js est disponible ! Elle deviendra la version par défaut en août 2026, alors profitez de ce temps pour la tester et signaler les bogues. Intéressé à migrer vos esquisses de 1.x vers 2.0 ? Consultez les [ressources de compatibilité et de transition.](https://github.com/processing/p5.js-compatibility)",
182+
"SoundAddon": "p5.sound.js Add-on Bibliothèque",
183+
"PreloadAddon": "p5.js 1.x Compatibility Add-on Bibliothèque — Préchargement",
184+
"ShapesAddon": "p5.js 1.x Compatibility Add-on Bibliothèque — Formes",
185+
"DataAddon": "p5.js 1.x Compatibility Add-on Bibliothèque — Structures de données",
179186
"Sound": "Son",
180187
"SoundOutputARIA": "sortie son activée"
181188
},
@@ -196,7 +203,7 @@
196203
"FindPreviousTextMatch": "Correspondance texte précédente",
197204
"CodeEditing": "Édition de code"
198205
},
199-
"General": {
206+
"GeneralSelection": {
200207
"StartSketch": "Exécuter le croquis",
201208
"StopSketch": "Arrêter le croquis",
202209
"TurnOnAccessibleOutput": "Activer la sortie accessible",

translations/locales/hi/translations.json

Lines changed: 47 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,13 @@
9292
"About": {
9393
"Title": "के बारे में",
9494
"TitleHelmet": "p5.js वेब एडिटर | के बारे में",
95+
"Headline": "p5.js एडिटर के साथ p5.js स्केच बनाएं, शेयर करें और रीमिक्स करें।",
96+
"IntroDescription1": "p5.js एक मुफ्त, ओपन-सोर्स जावास्क्रिप्ट लाइब्रेरी है जिससे कोडिंग सीखने और कला बनाने में मदद मिलती है। p5.js एडिटर का उपयोग करके, आप बिना कुछ भी डाउनलोड या कॉन्फ़िगर किए p5.js स्केच बना सकते हैं, शेयर कर सकते हैं और रीमिक्स कर सकते हैं।",
97+
"IntroDescription2": "हमारा मानना है कि सॉफ़्टवेयर और इसे सीखने के उपकरण यथासंभव खुले और समावेशी होने चाहिए। आप प्रोसेसिंग फाउंडेशन को दान करके इस कार्य का समर्थन कर सकते हैं, जो संगठन p5.js का समर्थन करता है। आपका दान p5.js के लिए सॉफ़्टवेयर विकास, कोड उदाहरण और ट्यूटोरियल जैसे शिक्षा संसाधन, फेलोशिप और सामुदायिक कार्यक्रमों का समर्थन करता है।",
9598
"Contribute": "योगदान",
9699
"NewP5": "p5.js पर नये?",
97100
"Report": "बग रिपोर्ट",
98101
"Learn": "सीखें",
99-
"Twitter": "ट्विटर",
100-
"Home": "होम",
101-
"Instagram": "इंस्टाग्राम",
102-
"Discord": "डिस्कॉर्ड",
103102
"WebEditor": "वेब संपादक",
104103
"Resources": "साधन",
105104
"Libraries": "लाइब्रेरीज़",
@@ -111,7 +110,29 @@
111110
"Discord": "डिस्कॉर्ड",
112111
"PrivacyPolicy": "गोपनीयता नीति",
113112
"TermsOfUse": "उपयोग की शर्तें",
114-
"CodeOfConduct": "आचार संहिता"
113+
"CodeOfConduct": "आचार संहिता",
114+
"DiscordCTA": "डिस्कॉर्ड से जुड़ें",
115+
"ForumCTA": "समूह से जुड़ें",
116+
"Socials": "सोशल मीडिया",
117+
"Email": "ईमेल",
118+
"Youtube": "यूट्यूब",
119+
"Github": "गिटहब",
120+
"Reference": "रेफरेंस",
121+
"Donate": "दान करें",
122+
"GetInvolved": "शामिल हों",
123+
"X": "एक्स",
124+
"LinkDescriptions": {
125+
"Home": "p5.js और हमारे समुदाय के बारे में अधिक जानें।",
126+
"Examples": "संक्षिप्त उदाहरणों के साथ p5.js की संभावनाओं का पता लगाएं।",
127+
"CodeOfConduct": "हमारी सामुदायिक स्थिति और आचार संहिता पढ़ें।",
128+
"Libraries": "समुदाय द्वारा बनाई गई लाइब्रेरीज़ के साथ p5.js की संभावनाओं का विस्तार करें।",
129+
"Reference": "p5.js कोड के हर हिस्से के लिए आसान व्याख्याएं खोजें।",
130+
"Donate": "प्रोसेसिंग फाउंडेशन को दान देकर इस काम का समर्थन करें।",
131+
"Contribute": "गिटहब पर ओपन-सोर्स p5.js एडिटर में योगदान दें।",
132+
"Report": "p5.js एडिटर के साथ टूटे या गलत व्यवहार की रिपोर्ट करें।",
133+
"Forum": "समुदाय द्वारा बनाई गई लाइब्रेरीज़ के साथ p5.js की संभावनाओं का विस्तार करें।",
134+
"Discord": "समुदाय द्वारा बनाई गई लाइब्रेरीज़ के साथ p5.js की संभावनाओं का विस्तार करें।"
135+
}
115136
},
116137
"Toast": {
117138
"OpenedNewSketch": "नया स्केच खोला",
@@ -135,7 +156,10 @@
135156
"StopSketchARIA": "स्केच बंद करे",
136157
"EditSketchARIA": "स्केच का नाम संपादित करें",
137158
"NewSketchNameARIA": "नया स्केच नाम",
138-
"By": " द्वारा "
159+
"By": " द्वारा ",
160+
"CustomLibraryVersion": "कस्टम p5.js संस्करण",
161+
"VersionPickerARIA": "संस्करण चयनकर्ता",
162+
"NewVersionPickerARIA": "संस्करण चयनकर्ता"
139163
},
140164
"Console": {
141165
"Title": "कंसोल",
@@ -150,6 +174,7 @@
150174
"Settings": "सेटिंग्स",
151175
"GeneralSettings": "सामान्य सेटिंग्स",
152176
"Accessibility": "ऐक्सेसबिलिटी",
177+
"LibraryManagement": "लाइब्रेरी प्रबंधन",
153178
"Theme": "थीम",
154179
"LightTheme": "लाइट",
155180
"LightThemeARIA": "लाइट थीम चालू",
@@ -191,7 +216,13 @@
191216
"PlainText": "प्लेन-टेक्स्ट",
192217
"TextOutputARIA": "टेक्स्ट आउटपुट चालू",
193218
"TableText": "टेबल-टेक्स्ट",
194-
"TableOutputARIA": "टेबल आउटपुट चालू"
219+
"TableOutputARIA": "टेबल आउटपुट चालू",
220+
"LibraryVersion": "p5.js संस्करण",
221+
"LibraryVersionInfo": "p5.js का एक [नया 2.0 संस्करण](https://github.com/processing/p5.js/releases/) उपलब्ध है! यह अगस्त 2026 में डिफ़ॉल्ट बन जाएगा, इसलिए इस समय का उपयोग इसे आज़माने और बग्स की रिपोर्ट करने के लिए करें। क्या आप 1.x से 2.0 में स्केच को स्थानांतरित करने में रुचि रखते हैं? [संगतता और स्थानांतरण संसाधनों](https://github.com/processing/p5.js-compatibility) को देखें।",
222+
"SoundAddon": "p5.sound.js Add-on लाइब्रेरी",
223+
"PreloadAddon": "p5.js 1.x Compatibility Add-on लाइब्रेरी — प्रीलोड",
224+
"ShapesAddon": "p5.js 1.x Compatibility Add-on लाइब्रेरी — आकार",
225+
"DataAddon": "p5.js 1.x Compatibility Add-on लाइब्रेरी — डेटा संरचनाएँ"
195226
},
196227
"KeyboardShortcuts": {
197228
"Title": " कीबोर्ड शॉर्टकट",
@@ -209,14 +240,17 @@
209240
"FindNextTextMatch": "अगला शब्द मिलान खोजें",
210241
"FindPreviousTextMatch": "पिछला शब्द मिलान खोजें",
211242
"CodeEditing": "कोड संपादन",
212-
"ColorPicker": "इनलाइन कलर पिकर दिखाएँ"
243+
"ColorPicker": "इनलाइन कलर पिकर दिखाएँ",
244+
"CreateNewFile": "नया फ़ाइल बनाएँ"
213245

214246
},
215-
"General": {
247+
"General": "सामान्य",
248+
"GeneralSelection": {
216249
"StartSketch": "स्केच शुरू करें",
217250
"StopSketch": "स्केच रोकें",
218-
"TurnOnAccessibleOutput": "Accessibile आउटपुट चालू करें",
219-
"TurnOffAccessibleOutput": "Accessibile आउटपुट बंद करें"
251+
"TurnOnAccessibleOutput": "सुलभ आउटपुट चालू करें",
252+
"TurnOffAccessibleOutput": "सुलभ आउटपुट बंद करें",
253+
"Reference": "हिंटर में चुने गए आइटम के लिए रेफरेंस जाएँ"
220254
}
221255
},
222256
"Sidebar": {
@@ -630,6 +664,7 @@
630664
"PrivacyPolicy": "गोपनीयता नीति",
631665
"TermsOfUse": "उपयोग की शर्तें",
632666
"CodeOfConduct": "आचार संहिता"
633-
}
667+
},
668+
"Contact": "संपर्क"
634669
}
635670

translations/locales/it/translations.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
"Settings": "Impostazioni",
139139
"GeneralSettings": "Impostazioni generali",
140140
"Accessibility": "Accessibilità",
141+
"LibraryManagement": "Gestione della libreria",
141142
"Theme": "Tema",
142143
"LightTheme": "Chiaro",
143144
"LightThemeARIA": "Tema chiaro attivo",
@@ -153,9 +154,9 @@
153154
"FontSize": "Dimensione carattere",
154155
"SetFontSize": "imposta dimensione carattere",
155156
"Autosave": "Auto-salvataggio",
156-
"On": "On",
157+
"On": "Acceso",
157158
"AutosaveOnARIA": "auto-salvataggio attivo",
158-
"Off": "Off",
159+
"Off": "Spento",
159160
"AutosaveOffARIA": "auto-salvataggio disabilitato",
160161
"AutocloseBracketsQuotes": "Auto-chiusura parentesi e virgolette",
161162
"AutocloseBracketsQuotesOnARIA": "Auto-chiusura parentesi e virgolette attivo",
@@ -176,7 +177,13 @@
176177
"PlainText": "Testo normale",
177178
"TextOutputARIA": "output di testo attivo",
178179
"TableText": "Testo in tabella",
179-
"TableOutputARIA": "Testo in tabella attivo"
180+
"TableOutputARIA": "Testo in tabella attivo",
181+
"LibraryVersion": "Versione di p5.js",
182+
"LibraryVersionInfo": "È disponibile una [nuova versione 2.0](https://github.com/processing/p5.js/releases/) di p5.js! Diventerà la versione predefinita ad agosto 2026, quindi approfitta di questo tempo per provarla e segnalare eventuali bug. Interessato a migrare gli schizzi da 1.x a 2.0? Consulta le [risorse di compatibilità e transizione.](https://github.com/processing/p5.js-compatibility)",
183+
"SoundAddon": "p5.sound.js Add-on",
184+
"PreloadAddon": "p5.js 1.x Compatibility Add-on Library — Precaricamento",
185+
"ShapesAddon": "p5.js 1.x Compatibility Add-on Library — Forme",
186+
"DataAddon": "p5.js 1.x Compatibility Add-on Library — Strutture di dati"
180187
},
181188
"KeyboardShortcuts": {
182189
"Title": " Scorciatoie tastiera",
@@ -196,7 +203,7 @@
196203
"CodeEditing": "Modifica del codice",
197204
"ColorPicker": "Mostra selettore colore in linea"
198205
},
199-
"General": {
206+
"GeneralSelection": {
200207
"StartSketch": "Avvia Sketch",
201208
"StopSketch": "Ferma Sketch",
202209
"TurnOnAccessibleOutput": "Attiva Output accessibile",

translations/locales/ja/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
"FindPreviousTextMatch": "前の一致するテキストを検索",
194194
"CodeEditing": "コード編集"
195195
},
196-
"General": {
196+
"GeneralSelection": {
197197
"StartSketch": "スケッチを実行",
198198
"StopSketch": "スケッチを停止",
199199
"TurnOnAccessibleOutput": "アクセシビリティ出力を有効にする",

translations/locales/ko/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"FindPreviousTextMatch": "이전 텍스트 일치 항목 찾기",
182182
"CodeEditing": "코드 편집"
183183
},
184-
"General": {
184+
"GeneralSelection": {
185185
"StartSketch": "스케치 시작",
186186
"StopSketch": "스케치 중지",
187187
"TurnOnAccessibleOutput": "접근 가능한 출력 활성화",

translations/locales/pt-BR/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
"FindPreviousTextMatch": "Procurar ocorrência de texto anterior",
194194
"CodeEditing": "Code Editing"
195195
},
196-
"General": {
196+
"GeneralSelection": {
197197
"StartSketch": "Começar Esboço",
198198
"StopSketch": "Parar Esboço",
199199
"TurnOnAccessibleOutput": "Ativar Saída Acessível",

translations/locales/sv/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
"FindPreviousTextMatch": "Sök föregående textmatchning",
194194
"CodeEditing": "kodredigering"
195195
},
196-
"General": {
196+
"GeneralSelection": {
197197
"StartSketch": "Kör sketch",
198198
"StopSketch": "Stoppa sketch",
199199
"TurnOnAccessibleOutput": "Sätt på tillgänglig output",

translations/locales/tr/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
"CodeEditing": "Kod Düzenleme",
197197
"ColorPicker": "Satır İçi Renk Seçiciyi Göster"
198198
},
199-
"General": {
199+
"GeneralSelection": {
200200
"StartSketch": "Eskizi Başlat",
201201
"StopSketch": "Eskizi Durdur",
202202
"TurnOnAccessibleOutput": "Erişilebilir Çıktıyı Aç",

translations/locales/uk-UA/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
"FindPreviousTextMatch": "Знайти попередній збіг тексту",
196196
"CodeEditing": "Редагування коду"
197197
},
198-
"General": {
198+
"GeneralSelection": {
199199
"StartSketch": "Запустити",
200200
"StopSketch": "Зупинити",
201201
"TurnOnAccessibleOutput": "Увімкнути доступне виведення",

translations/locales/ur/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"CodeEditing": "کوڈ ایڈیٹنگ",
195195
"ColorPicker": "ان لائن رنگ چنندہ دکھائیں۔"
196196
},
197-
"General": {
197+
"GeneralSelection": {
198198
"StartSketch": "خاکہ شروع کریں۔",
199199
"StopSketch": "خاکہ بند کریں",
200200
"TurnOnAccessibleOutput": "قابل رسائی آؤٹ پٹ کو آن کریں۔",

translations/locales/zh-CN/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
"FindPreviousTextMatch": "查找上一个符合的文字",
197197
"CodeEditing": "代码编辑"
198198
},
199-
"General": {
199+
"GeneralSelection": {
200200
"StartSketch": "运行项目",
201201
"StopSketch": "停止运行",
202202
"TurnOnAccessibleOutput": "打开无障碍输出",

translations/locales/zh-TW/translations.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
"FindPreviousTextMatch": "尋找上一個相符的文字",
197197
"CodeEditing": "編輯程式碼"
198198
},
199-
"General": {
199+
"GeneralSelection": {
200200
"StartSketch": "執行草稿",
201201
"StopSketch": "停止草稿",
202202
"TurnOnAccessibleOutput": "啟用輔助輸出",

0 commit comments

Comments
 (0)