diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2017-12-10 15:41:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 15:41:22 -0500 |
commit | 26c9b9fa276fd629789fd06f65a5d698b182f67a (patch) | |
tree | 8480daa3428db3a2443ba45949a4182481e5ec16 /app/javascript/flavours/glitch/theme.yml | |
parent | 282f48ddd1868fcd8fa2887bbaf13036c949c22d (diff) | |
parent | 64b839b76907e87c57d71762a81a9a8660f1df83 (diff) |
Merge pull request #246 from glitch-soc/theme-intl8n
Internationalization for flavours and skins
Diffstat (limited to 'app/javascript/flavours/glitch/theme.yml')
-rw-r--r-- | app/javascript/flavours/glitch/theme.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/theme.yml b/app/javascript/flavours/glitch/theme.yml index fe09fa105..9437e2c04 100644 --- a/app/javascript/flavours/glitch/theme.yml +++ b/app/javascript/flavours/glitch/theme.yml @@ -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. |