dojo / i18n

:rocket: Dojo 2 - internationalization library.
http://dojo.io
Other
6 stars 19 forks source link

Hotfix: missing CLDR data on locale switch. #60

Closed mwistrand closed 7 years ago

mwistrand commented 7 years ago

Type: bug

Fixes a bug that results in an error being thrown when the locale is switched and message formatting is required. This particular bug is caused by the fact that Globalize.js requires that at least an empty object for a locale has been registered with Cldr.js (h/t @rorticus for the fix).

Related Issue: #59

Please review this checklist before submitting your PR:

codecov-io commented 7 years ago

Codecov Report

Merging #60 into master will increase coverage by <.01%. The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #60      +/-   ##
==========================================
+ Coverage   98.84%   98.84%   +<.01%     
==========================================
  Files          10       10              
  Lines         346      347       +1     
  Branches       46       46              
==========================================
+ Hits          342      343       +1     
  Partials        4        4
Impacted Files Coverage Δ
src/i18n.ts 97.41% <100%> (+0.02%) :white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 670c129...3ec0b0a. Read the comment docs.