about summary refs log tree commit diff
path: root/app/javascript/mastodon/locales/whitelist_pl.json
diff options
context:
space:
mode:
authorKoala Yeung <koalay@gmail.com>2017-05-06 10:05:38 +0800
committerEugen Rochko <eugen@zeonfederated.com>2017-05-06 04:05:38 +0200
commitcf0b7532097e7a59d59ea71a89ba39f8a4ab62ad (patch)
treefc968082bb8db90136e4d5c8be0777bf44f40b3f /app/javascript/mastodon/locales/whitelist_pl.json
parentddc34feb5875fd247fc7331b7710406d6de4a143 (diff)
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
Diffstat (limited to 'app/javascript/mastodon/locales/whitelist_pl.json')
-rw-r--r--app/javascript/mastodon/locales/whitelist_pl.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/mastodon/locales/whitelist_pl.json b/app/javascript/mastodon/locales/whitelist_pl.json
new file mode 100644
index 000000000..32960f8ce
--- /dev/null
+++ b/app/javascript/mastodon/locales/whitelist_pl.json
@@ -0,0 +1,2 @@
+[
+]
\ No newline at end of file