mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-11 09:22:14 -05:00
If the input text is blank after preparation (only mention, or only URL, or empty as in a media post), then use nil as language, since it's OK to show to everyone. Otherwise, always fall back to the server's default locale