mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-03-28 22:30:46 -04: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