8000 Fix incrorrect build of `2t-to-1` by Pustur · Pull Request #7 · wooorm/iso-639-2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Fix incrorrect build of 2t-to-1 #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2022
Merged

Fix incrorrect build of 2t-to-1 #7

merged 1 commit into from
Jul 23, 2022

Conversation

Pustur
Copy link
Contributor
@Pustur Pustur commented Jul 23, 2022

Hi @wooorm, thanks for the library,

I noticed that some languages were missing, but then I realized that the issue was just some wrong keys in a file, more specifically terminologic keys were actually the bibliographic ones in the file 2t-to-1.js.

I fixed and sorted them.

@wooorm
Copy link
Owner
wooorm commented Jul 23, 2022

The file is automatically generated from build.js. The problem exists here:

if (d.iso6392T) tTo1[d.iso6392B] = d.iso6391
. Can you change that B there, and run npm test to build everything?

terminologic code keys were actually bibliographic codes
@Pustur
Copy link
Contributor Author
Pustur commented Jul 23, 2022

Oh sorry, I completely missed that there's a build file. I fixed the part you suggested and ran the build + tests.

Should be good now.

@wooorm wooorm changed the title Fix iso6392TTo1 keys to be the terminologic ones Fix incrorrect build of 2t-to-1 Jul 23, 2022
@wooorm wooorm merged commit 2883d85 into wooorm:main Jul 23, 2022
@wooorm
Copy link
Owner
wooorm commented Jul 23, 2022

Thank you! Released in 3.0.2!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0