This avoids the importing the heavy Gettext backend in some places and makes it clearer what’s actually used in the project and what’s used by the Gettext library. With the to-be-pulled-in Gettext API change this split will be even more helpful for code clarity. As a bonus documentation is improved and the unused locale_or_default function removed. |
||
|---|---|---|
| .. | ||
| controllers | ||
| views | ||
| mastodon_api.ex | ||
| websocket_handler.ex | ||