neomatrixcode / Faker.jl

generator of fake data for julia
https://faker.vercel.app/
MIT License
52 stars 11 forks source link

Switch language to zh-CN error #15

Closed huaxk closed 5 years ago

huaxk commented 5 years ago

Faker.language("zh-CN") ERROR: KeyError: key "university" not found Stacktrace: [1] getindex(::Dict{Any,Any}, ::String) at .\dict.jl:478 [2] language(::String) at C:\Users\hxk\.julia\packages\Faker\eecXX\src\Faker.jl:16 [3] top-level scope at none:0 university key already in zh-CN.yml file, why?

neomatrixcode commented 5 years ago

Hi, thank you very much for notifying this error. It is already resolved in the last commit, in the next days the version 0.2.2 will be released with this bug resolved, meanwhile you can use :

Pkg> add Faker#master

to work with this last commit

https://github.com/codeneomatrix/Faker.jl/commit/a9ddddafeec07eed80ebecfc2a51225c2047d9fd

huaxk commented 5 years ago

Thanks for your quick response!