chinwagsocial/app/javascript/mastodon
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
..
actions When streaming API is disconnected, poll home/notifications (#2776) 2017-05-04 23:41:34 +02:00
components Show boosted user's avatar (#2518) 2017-05-03 11:43:37 +02:00
containers When streaming API is disconnected, poll home/notifications (#2776) 2017-05-04 23:41:34 +02:00
features Fixes propTypes warning introduced by #2774 (#2824) 2017-05-05 21:31:20 +02:00
locales Streamline javascript translation by improving translationRunner (#2808) 2017-05-06 04:05:38 +02:00
middleware Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
reducers ui: check spoiler_text against regex filter (#1635) (#2665) 2017-05-04 23:48:48 +02:00
selectors Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
store Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
.gitkeep Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
api.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
emoji.js Show emoji shortname by a tooltip (#2784) 2017-05-04 15:50:09 +02:00
is_mobile.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
link_header.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
rtl.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
stream.js Use ws protocol in streaming API base URL (#2606) 2017-05-04 15:55:13 +02:00
uuid.js Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00