fnando / i18n-js

It's a small library to provide the I18n translations on the Javascript. It comes with Rails support.
MIT License
3.77k stars 520 forks source link

feat: avoid rewriting exported JSON localizaton files if identical #694

Closed oleksii-leonov closed 1 year ago

oleksii-leonov commented 1 year ago
PR Checklist ### PR Structure - [x] This PR has reasonably narrow scope (if not, break it down into smaller PRs). - [x] This PR avoids mixing refactoring changes with feature changes (split into two PRs otherwise). - [x] This PR's title starts is concise and descriptive. ### Thoroughness - [x] This PR adds tests for the most critical parts of the new functionality or fixes. - [x] I've updated any docs, `.md` files, etc… affected by this change.

What

Fixes #693.

Running i18n export should not rewrite exported JSON localization files if the content hasn't changed. In v3, it was fixed in #473.

Why

Fixes #693.

Known limitations

N/A