-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
BugSomething isn't workingSomething isn't working
Description
Most appropriate sections of the p5.js website?
Examples
What is your operating system?
None
Web browser and version
No response
Actual Behavior
Cannot translate the “Listing Data with Arrays” in the JumpTo sidebar on the example page.
(This occurred when I was translating the Japanese version.)
Expected Behavior
It is translated correctly.
This name is generated from the folder name “08_Listing_Data_with_Arrays”.
Based on the other folder names in content/examples/en/, it may be correct to change the “with” in this folder name to “With”.
Then "Listing Data With Arrays"("W" is Upper Case.) will match the word defined in ui/en.yaml :-)
Steps to reproduce
This does not occur in the current source code.
However, it will occur in the future when you translate src/content/ui/es.yaml etc. in sync with en.yaml.
Would you like to work on the issue?
It is difficult for me to change folder names from lower case to upper case.
limzykenneth
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
limzykenneth commentedon Jan 31, 2025
Would changing the capitalization of the YAML file work in this case? Changing the filename can be tricky because Mac by default don't track file path capitalization and can confuse git when trying to do so.
rthakur2712 commentedon Apr 17, 2025
Hi @limzykenneth !! This 2-step rename will be tracked by git.
rthakur2712 commentedon Apr 17, 2025
Hi @ksen0 !! Thank you for your response, but I couldn't find a way to change except from the changing the capitalization of the file name.