ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.61k stars 2.39k forks source link

feat: Export mergeLocale tool method #6448

Closed cbbfcd closed 9 months ago

cbbfcd commented 9 months ago

If you want to add internationalized languages, you need to be consistent with ant-mobile's current behavior.

// add ar
const arLang = mergeLocale(base, { // our ar lang config } );
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (abef05c) 92.10% compared to head (be2bf6d) 92.10%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6448 +/- ## ======================================= Coverage 92.10% 92.10% ======================================= Files 316 316 Lines 6861 6862 +1 Branches 1719 1719 ======================================= + Hits 6319 6320 +1 Misses 504 504 Partials 38 38 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 9 months ago

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6448.surge.sh