1
0
Fork 0
forked from fedi/mastodon
mastodon/app
Koala Yeung cf0b753209 Streamline javascript translation by improving translationRunner (#2808)
* package.json: Add "build:*" targets

* Improve react-intl-translations-manager workflow.
  * Added "build:production" to build production bundle.
  * Added "build:development" to build development bundle.

* Fix json translation files

* Run `yarn manage:translations` to fix translation files.
* Fix `pl.json` for syntax error.

* translationRunner: auto detect existing languages

* Auto detect existing rfc5646 language tag in *.json filenames
  in `app/javascript/mastodon/locale` folder. No need to manually
  define every new language in the languages array here.

* translationRunner: add more functionality

* Allow script user to specify language code to check.
* Added available language check.
* Added --force flag to force creation of unexists language.
* Added --help flag and help messages.

* gitignore: ignore npm-debug.log

* Fix webpack error if NODE_ENV is not defined

Default to use 'development' in config/webpack/configuration.js
2017-05-06 04:05:38 +02:00
..
assets/stylesheets Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
controllers Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
helpers More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
javascript Streamline javascript translation by improving translationRunner (#2808) 2017-05-06 04:05:38 +02:00
lib use Twitter::Extractor for creating links (#2502) 2017-05-05 19:48:22 +02:00
mailers Misc spec coverage improvements (#2821) 2017-05-05 14:56:00 -04:00
models Stream entry specs and refactor to use delegate (#2827) 2017-05-06 04:00:21 +02:00
presenters Bump version, improve how version is stored for better commit history (#2526) 2017-04-27 15:22:19 +02:00
services Move account header and avatar methods to a concern (#2825) 2017-05-05 21:37:02 +02:00
validators Stricter whitelist rules (#2213) 2017-04-26 01:22:51 +02:00
views Optimize follower_accounts and following_accounts (#2820) 2017-05-06 04:03:07 +02:00
workers More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00