1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 14:58:21 +09:00
mastodon/config
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
..
environments More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00
initializers Fixes unknown mime type (#2822) 2017-05-05 21:32:14 +02:00
locales Update Locale zh-HK (#2818) 2017-05-05 18:48:54 +02:00
webpack Streamline javascript translation by improving translationRunner (#2808) 2017-05-06 04:05:38 +02:00
application.rb Replace sprockets/browserify with Webpack (#2617) 2017-05-03 02:04:16 +02:00
boot.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
database.yml Added support parallel_tests (#2740) 2017-05-03 12:20:38 +02:00
deploy.rb capistrano: link robots.txt (#1576) 2017-04-19 14:28:23 +02:00
environment.rb Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
i18n-tasks.yml Localize 'throttled' (#2755) 2017-05-03 23:36:19 +02:00
navigation.rb Replace best_in_place editor on admin settings page (#2789) 2017-05-04 18:12:44 +02:00
puma.rb Do not set port for puma if it is bound to unix socket (#2289) 2017-04-22 01:22:20 +02:00
routes.rb Replace best_in_place editor on admin settings page (#2789) 2017-05-04 18:12:44 +02:00
secrets.yml Upgrade to Rails 5.0.0.1 2016-08-17 17:58:00 +02:00
settings.yml Add gif auto-play/pause preference 2017-04-17 12:14:03 +02:00
sidekiq.yml More robust PuSH subscription refreshes (#2799) 2017-05-05 02:23:01 +02:00