Javascript intl8n flavour support

This commit is contained in:
kibigo!
2017-12-07 19:07:47 -08:00
parent 8394430081
commit b28cd6769c
42 changed files with 308 additions and 72 deletions

View File

@ -20,6 +20,12 @@ pack:
settings:
share: packs/share.js
# (OPTIONAL) The directory which contains localization files for
# the flavour, relative to this directory. The contents of this
# directory must be `.js` or `.json` files whose names correspond to
# language tags and whose default exports are a messages object.
locales: locales
# (OPTIONAL) The directory which contains the pack files.
# Defaults to the theme directory (`app/javascript/themes/[theme]`),
# which should be sufficient for like 99% of use-cases lol.