Make lint happy
This commit is contained in:
parent
bc59da96c5
commit
d3f3f30c6a
|
@ -55,8 +55,10 @@ def supported_variants_of_locale(locale) do
|
||||||
cond do
|
cond do
|
||||||
variant?(locale) ->
|
variant?(locale) ->
|
||||||
[locale]
|
[locale]
|
||||||
|
|
||||||
supports_locale?(locale) ->
|
supports_locale?(locale) ->
|
||||||
[locale]
|
[locale]
|
||||||
|
|
||||||
true ->
|
true ->
|
||||||
Gettext.known_locales(Pleroma.Web.Gettext)
|
Gettext.known_locales(Pleroma.Web.Gettext)
|
||||||
|> Enum.filter(fn l -> String.starts_with?(l, locale <> "_") end)
|
|> Enum.filter(fn l -> String.starts_with?(l, locale <> "_") end)
|
||||||
|
|
Loading…
Reference in New Issue