glitchier-soc/app/javascript/flavours/glitch
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
..
actions [Glitch] Fix being unable to react with the keycap number sign emoji (#2004) 2022-12-17 11:34:39 +01:00
components [Glitch] Change dropdown menu to contain “Copy link to post” even for non-public posts 2022-12-15 20:47:58 +01:00
containers [Glitch] Fix wasteful request to /api/v1/custom_emojis when not logged in 2022-12-15 20:46:21 +01:00
features Reuse upstream's “Posts and replies” as column heading (#2023) 2022-12-20 12:37:14 +01:00
images Use upstream's settings for CW auto-expand and column swiping (#1770) 2022-05-15 17:30:40 +02:00
locales Change locales file generation to use JSON sources (#2028) 2022-12-21 22:13:14 +01:00
middleware [Glitch] Fix 404 and 410 API errors being silently discarded in WebUI 2020-04-02 20:39:44 +02:00
packs [Glitch] Render current day formats in the client timezone 2022-12-15 20:57:17 +01:00
reducers [Glitch] Add follow request banner on account header 2022-12-15 21:11:32 +01:00
selectors [Glitch] Change public accounts pages to mount the web UI 2022-10-28 19:24:02 +02:00
store [Glitch] Code style improvements in JavaScript 2020-03-08 20:43:53 +01:00
styles [Glitch] Add follow request banner on account header 2022-12-15 21:11:32 +01:00
utils [Glitch] Add ability to view previous edits of a status in admin UI 2022-10-28 19:24:02 +02:00
api.js [Glitch] Replace CancelToken to AbortSignal 2022-10-28 19:24:02 +02:00
base_polyfills.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
blurhash.js [Glitch] Fix not being able to open audio modal in web UI 2021-05-07 22:47:09 +02:00
compare_id.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
extra_polyfills.js [Glitch] Replace CancelToken to AbortSignal 2022-10-28 19:24:02 +02:00
initial_state.js [Glitch] Change “Translate” button to only show up when a translation backend is configured 2022-11-30 13:53:38 +01:00
is_mobile.js [Glitch] Hide list panel from nav bar in mobile layout 2022-10-28 19:24:02 +02:00
load_keyboard_extensions.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
load_polyfills.js [Glitch] Replace CancelToken to AbortSignal 2022-10-28 19:24:02 +02:00
main.js [Glitch] Delay workbox import 2022-11-12 13:55:02 +01:00
names.yml initial translation of Glitch-specific texts into Czech (#1997) 2022-12-08 10:38:52 +01:00
performance.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
permissions.js [Glitch] Add customizable user roles 2022-07-05 11:35:32 +02:00
ready.js Move flavours/glitch/utils/ready to flavours/glitch/ready 2022-10-11 11:31:11 +02:00
scroll.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
settings.js [Glitch] Add dismissable hints to various timelines in web UI 2022-10-28 19:24:02 +02:00
stream.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
theme.yml Change locales file generation to use JSON sources (#2028) 2022-12-21 22:13:14 +01:00
uuid.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00