Make lint happy
authorTusooa Zhu <tusooa@kazv.moe>
Thu, 3 Mar 2022 03:56:19 +0000 (22:56 -0500)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Wed, 29 Jun 2022 19:47:10 +0000 (20:47 +0100)
lib/pleroma/web/gettext.ex

index cfd92f991e29a196ffbac153d8cb579281ebe2e7..694ad8ad67e9e7043114c6a2e8a0b2b25e3ed0ff 100644 (file)
@@ -55,8 +55,10 @@ defmodule Pleroma.Web.Gettext do
     cond do
       variant?(locale) ->
         [locale]
+
       supports_locale?(locale) ->
         [locale]
+
       true ->
         Gettext.known_locales(Pleroma.Web.Gettext)
         |> Enum.filter(fn l -> String.starts_with?(l, locale <> "_") end)