Skip to content

Commiting a change to en.yml throws duplicated mapping key error #1396

@calebfoss

Description

@calebfoss

Most appropriate sections of the p5.js website?

Other (specify if possible)

What is your operating system?

Windows

Web browser and version

No response

Actual Behavior

When committing a change (seemingly any change) to src/data/en.yml, grunt i18n throws:

Fatal error: duplicated mapping key at line 586, column 5:
       line 883: '  p5.utils'

It looks like that's referring to i18n-tracking.yml, and I do see two different entries for line 883:
' p5.utils' and ' With these skills you will be able to create some basic shaders, but shader programming can go incredibly deep,'

I'm not familiar with i18n, so any guidance on what's going on here would be much appreciated!

Expected Behavior

grunt i18n runs without errors

Steps to reproduce

@katlich112358 ran into this issue when editing en.yml line 313

support-17-alt: ''

to

support-17-alt: 'text'

But I tried removing that change and making other changes and ran into the same issue.

Would you like to work on the issue?

Yes

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions