mastodon/config
Claire a5e446a4a0
Change locales file generation to use JSON sources (#2028)
* Change locales file generation to use JSON sources

Instead of inheriting in JS files, set locale inheritance in the
theme's YML file, and inherit in the generated locale file, rather
than the source file.

* Convert glitch-soc JS translation files to JSON

Obtained running the following:

```sh
sed -i -z "s/import inherited from '.*';\s*\nconst messages = //" *.js
sed -i "s/\s*\/\/.*//" *.js
sed -i -z "s/;\s*export default .*/\n/" *.js
for i in *.js; do
  json5 $i | json_pp > ${i}on;
done
```

* Change `yarn manage:translations` to exclude any translation already defined upstream

* Run yarn manage:translations
2022-12-21 22:13:14 +01:00
..
environments Merge branch 'main' into glitch-soc/merge-upstream 2022-11-17 12:01:37 +01:00
initializers Merge branch 'main' into glitch-soc/merge-upstream 2022-12-15 20:25:25 +01:00
locales New Crowdin updates (#22354) 2022-12-20 23:02:47 +09:00
locales-glitch Change i18n-tasks config to consider glitch-soc translation files (#2027) 2022-12-21 22:13:04 +01:00
webpack Change locales file generation to use JSON sources (#2028) 2022-12-21 22:13:14 +01:00
application.rb Add Western Frisian support (#18602) 2022-12-15 19:03:44 +01:00
boot.rb
brakeman.ignore
database.yml Change postgres connection timeout (#21790) 2022-12-07 00:39:36 +01:00
deploy.rb Change master branch to main branch (#20290) 2022-11-10 04:02:05 +01:00
environment.rb
i18n-tasks.yml Change i18n-tasks config to consider glitch-soc translation files (#2027) 2022-12-21 22:13:04 +01:00
navigation.rb Merge branch 'main' into glitch-soc/merge-upstream 2022-11-17 12:01:37 +01:00
pghero.yml
puma.rb
roles.yml
routes.rb Support for import/export of instance-level domain blocks/allows for 4.x w/ additional fixes (#20597) 2022-11-17 11:05:09 +01:00
secrets.yml
settings.yml Merge branch 'main' into glitch-soc/merge-upstream 2022-10-28 19:23:58 +02:00
sidekiq.yml Add environment variable to configure sidekiq concurrency (#19589) 2022-12-15 16:38:37 +01:00
storage.yml
webpacker.yml