Files
angular.js/i18n
George Kalpakas ba4d903586 chore(i18n): fix UCD extraction for Node 10.x
Previously (e.g. Node.js 8.x), the 3rd argument to `fs.writeFile()`
(i.e. the callback) could be undefined. On Node.js 10.x, this throws an
error.

This commit fixes it by switching to `fs.writeFileSync()` which seems to
have been the original intention (based on the sorrounding code).
2018-11-12 13:15:51 +02:00
..

i18n directory overview:

  • closure/ - closure files we use for ruleset generation
  • src/ - source files
  • spec/ - spec files for stuff in src directory
  • generate.sh - runs src scripts on closure dir and stores output in locale dir
  • update-closure.sh - downloads the latest version of closure files from public git repo

The closure files (maintained by Shanjian Li (shanjian)) change very rarely, so we don't need to regenerate locale files very often.