Bug: Missing translation in MobileNav Language Select Overlay
Maintainer thường phản hồi trong vòng 3 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
p5.js version
No response
What is your operating system?
Windows
Web browser and version
Version 145.0.7632.111
Actual Behavior
In the mobile view of the editor, when opening the 3-dot "More" menu and selecting "Language", the resulting Overlay modal has a hardcoded English string: "Select Language" for its title. Because this is hardcoded, it ignores the user's currently active language setting and will always display in English. This was explicitly marked with a // TODO: add translations by the original developer in MobileNav.jsx (line 385).
Expected Behavior
The overlay title should use the t() translation hook for localization so the popup title translates properly when the editor language is changed to Spanish, Hindi, etc.
Steps to reproduce
Steps:
- Open the p5.js Web Editor on a mobile viewport (or shrink the browser window).
- Open account settings and change the language to anything other than English.
- Click the 3-dot "More" menu (⋮) in the top right.
- Click "Language".
- Observe that the overlay title says "Select Language" in English instead of the translated string.
Snippet:
// client/modules/IDE/components/Header/MobileNav.jsx (line 385)
<Overlay
// TODO: add translations
title="Select Language"
ariaLabel="Select Language"
closeOverlay={() => setIsLanguageModalVisible(false)}
>
**I would like to work on this issue and submit a PR fixing it!**
- Ngôn ngữ chính
- JavaScript
- Star
- 1.7k
- Fork
- 1.7k
- Merge trung bình
- 6 ngày
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của processing/p5.js-web-editor
-
Unable to rename sound filesĐang mởAwaiting Maintainer Approval Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
processing/p5.js-web-editor#4392 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Renaming a folder doubles the folder name in file paths (console errors show /lib/lib/helper.js)Đang mởAwaiting Maintainer Approval Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
processing/p5.js-web-editor#4365 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
p5 logo is broken on verification emailsCó thể đã có người làm @sourabh65mehta đã nhận 14 ngày trước. Đang mởBug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
processing/p5.js-web-editor#4364 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
`PATCH /editor/project/visibility` returns 200 with `null` and doesn't update when `projectId` is a slugCó thể làm lại được @Prbhtsgh đã nhận 21 ngày trước và không có pull request nào đang mở. Đang mởAwaiting Maintainer Approval Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
processing/p5.js-web-editor#4348 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Fix: example.js stores defaultHTML function reference instead of calling it, causing examples to display raw JavaScript source in previewCó thể làm lại được @syedbarkath980 đã nhận 25 ngày trước và không có pull request nào đang mở. Đang mởAwaiting Maintainer Approval Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
processing/p5.js-web-editor#4344 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của processing/p5.js-web-editor
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wazuh/wazuh-documentation#10584 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 94/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
InukaAsith/TwinDesk#84 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Graphify-Labs/graphify#4860 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
CommandCodeAI/command-code#1088 ·
Maintainer thường phản hồi trong vòng 2 ngày